Caffe2 - C++ API
A deep learning, cross platform ML framework
ngram_ops.cc
1 
17 #include "caffe2/operators/ngram_ops.h"
18 
19 #include "caffe2/core/operator.h"
20 #include "caffe2/core/tensor.h"
21 
22 namespace caffe2 {
23 
24 REGISTER_CPU_OPERATOR(
25  NGramFromCategorical,
26  NGramFromCategoricalOp<float, int64_t, CPUContext>);
27 NO_GRADIENT(NGramFromCategorical);
28 OPERATOR_SCHEMA(NGramFromCategorical).NumInputs(1).NumOutputs(1);
29 } // namespace caffe2
Copyright (c) 2016-present, Facebook, Inc.