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
data_couple.h
1
#ifndef CAFFE2_OPERATORS_NO_OP_OPTIMIZER_OP_H_
2
#define CAFFE2_OPERATORS_NO_OP_OPTIMIZER_OP_H_
3
4
#include "caffe2/core/context.h"
5
#include "caffe2/core/operator.h"
6
7
namespace
caffe2
{
8
9
template
<
class
Context>
10
class
DataCoupleOp
:
public
Operator
<Context> {
11
public
:
12
USE_SIMPLE_CTOR_DTOR(
DataCoupleOp
)
13
14
bool
RunOnDevice()
override
{
15
// Actually does nothing...
16
return
true
;
17
}
18
};
19
20
}
// namespace caffe2
21
22
#endif // CAFFE2_OPERATORS_NO_OP_OPTIMIZER_OP_H_
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
caffe2::DataCoupleOp
Definition:
data_couple.h:10
Generated on Thu Mar 21 2019 13:06:17 for Caffe2 - C++ API by
1.8.11