Caffe2 - C++ API
A deep learning, cross platform ML framework
perplexity_op.h
1 #ifndef CAFFE2_OPERATORS_PERPLEXITY_OP_H_
2 #define CAFFE2_OPERATORS_PERPLEXITY_OP_H_
3 
4 #include "caffe2/core/context.h"
5 #include "caffe2/core/operator.h"
6 
7 namespace caffe2 {
8 
9 template <typename T, class Context>
10 class PerplexityOp final : public Operator<Context> {
11  public:
12  USE_SIMPLE_CTOR_DTOR(PerplexityOp);
13  USE_OPERATOR_CONTEXT_FUNCTIONS;
14  bool RunOnDevice() override;
15 };
16 
17 } // namespace caffe2
18 
19 #endif // CAFFE2_OPERATORS_PERPLEXITY_OP_H_
A global dictionary that holds information about what Caffe2 modules have been loaded in the current ...
Definition: blob.h:13