Caffe2 - C++ API
A deep learning, cross platform ML framework
Related Pages
Modules
Data Structures
Files
C++ API
Python API
GitHub
File List
Globals
caffe2
operators
conditional_op.h
1
2
#ifndef CONDITIONAL_OP_H
3
#define CONDITIONAL_OP_H
4
5
#include "caffe2/core/context.h"
6
#include "caffe2/core/operator.h"
7
#include "caffe2/core/tensor.h"
8
9
namespace
caffe2
{
10
11
template
<
class
Context>
12
class
ConditionalOp
final :
public
Operator
<Context> {
13
public
:
14
USE_OPERATOR_CONTEXT_FUNCTIONS;
15
template
<
class
... Args>
16
explicit
ConditionalOp
(Args&&... args)
17
:
Operator<Context>
(std::forward<Args>(args)...) {}
18
19
bool
RunOnDevice()
override
;
20
};
21
22
}
// caffe2
23
24
#endif
caffe2::ConditionalOp
Definition:
conditional_op.h:12
caffe2
A global dictionary that holds information about what Caffe2 modules have been loaded in the current ...
Definition:
blob.h:13
caffe2::Operator
Definition:
operator.h:677
Generated on Thu Mar 21 2019 13:06:17 for Caffe2 - C++ API by
1.8.11