Caffe2 - C++ API
A deep learning, cross platform ML framework
free_op.cc
1 #include "caffe2/operators/free_op.h"
2 
3 namespace caffe2 {
4 REGISTER_CPU_OPERATOR(Free, FreeOp<CPUContext>);
5 SHOULD_NOT_DO_GRADIENT(Free);
6 
7 OPERATOR_SCHEMA(Free)
8  .NumInputs(1, INT_MAX)
9  .NumOutputs(1, INT_MAX)
10  .SameNumberOfOutput()
11  .EnforceOneToOneInplace()
12  .SetDoc(R"DOC(
13 Frees the content of the blobs. The input and output blobs should be
14 one-to-one inplace.)DOC");
15 } // namespace caffe2
A global dictionary that holds information about what Caffe2 modules have been loaded in the current ...
Definition: blob.h:13