Caffe2 - C++ API
A deep learning, cross platform ML framework
ngram_ops.cc
1 #include "caffe2/operators/ngram_ops.h"
2 
3 #include "caffe2/core/operator.h"
4 #include "caffe2/core/tensor.h"
5 
6 namespace caffe2 {
7 
8 REGISTER_CPU_OPERATOR(
9  NGramFromCategorical,
10  NGramFromCategoricalOp<float, int64_t, CPUContext>);
11 NO_GRADIENT(NGramFromCategorical);
12 OPERATOR_SCHEMA(NGramFromCategorical).NumInputs(1).NumOutputs(1);
13 } // namespace caffe2
A global dictionary that holds information about what Caffe2 modules have been loaded in the current ...
Definition: blob.h:13