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
jsd_op.h
1
#ifndef CAFFE2_OPERATORS_JSD_OP_H_
2
#define CAFFE2_OPERATORS_JSD_OP_H_
3
4
#include "caffe2/core/context.h"
5
#include "caffe2/core/logging.h"
6
#include "caffe2/core/operator.h"
7
#include "caffe2/utils/math.h"
8
9
namespace
caffe2
{
10
11
template
<
typename
T,
class
Context>
12
class
BernoulliJSDOp
final :
public
Operator
<Context> {
13
public
:
14
USE_SIMPLE_CTOR_DTOR(
BernoulliJSDOp
);
15
USE_OPERATOR_CONTEXT_FUNCTIONS;
16
bool
RunOnDevice()
override
;
17
};
18
19
template
<
typename
T,
class
Context>
20
class
BernoulliJSDGradientOp
final :
public
Operator
<Context> {
21
public
:
22
USE_SIMPLE_CTOR_DTOR(
BernoulliJSDGradientOp
);
23
USE_OPERATOR_CONTEXT_FUNCTIONS;
24
bool
RunOnDevice()
override
;
25
};
26
27
}
// namespace caffe2
28
29
#endif // CAFFE2_OPERATORS_JSD_OP_H_
caffe2::BernoulliJSDGradientOp
Definition:
jsd_op.h:20
caffe2::BernoulliJSDOp
Definition:
jsd_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:18 for Caffe2 - C++ API by
1.8.11