1 #include "caffe2/operators/experimental/c10/schemas/filler.h" 2 #include <ATen/core/dispatch/OpSchemaRegistration.h> 3 #include "caffe2/core/operator_c10wrapper.h" 4 #include "caffe2/utils/cast.h" 8 using c10::ivalue::IntList;
17 "_c10_experimental::ConstantFill",
19 (std::vector<c10::Argument>{
27 (std::vector<c10::Argument>{})));
31 "_c10_experimental::ConstantFill",
33 (std::vector<c10::Argument>{
41 (std::vector<c10::Argument>{})));
45 "_c10_experimental::ConstantFill",
47 (std::vector<c10::Argument>{
55 (std::vector<c10::Argument>{})));
59 "_c10_experimental::ConstantFill",
61 (std::vector<c10::Argument>{
69 (std::vector<c10::Argument>{})));
73 "_c10_experimental::ConstantFill",
75 (std::vector<c10::Argument>{
83 (std::vector<c10::Argument>{})));
88 REGISTER_C10_OPERATOR_FOR_CAFFE2_DISPATCH_CPU(
90 C10ConstantFill_DontUseThisOpYet)
91 REGISTER_C10_OPERATOR_FOR_CAFFE2_DISPATCH_CPU(
93 C10UniformFill_DontUseThisOpYet)
95 REGISTER_C10_OPERATOR_FOR_CAFFE2_DISPATCH_CPU(
97 C10GivenTensorFill_DontUseThisOpYet)
98 REGISTER_C10_OPERATOR_FOR_CAFFE2_DISPATCH_CPU(
99 ops::GivenTensorIntFill(),
100 C10GivenTensorIntFill_DontUseThisOpYet)
101 REGISTER_C10_OPERATOR_FOR_CAFFE2_DISPATCH_CPU(
102 ops::GivenTensorInt64Fill(),
103 C10GivenTensorInt64Fill_DontUseThisOpYet)
This is a minimal Tensor class for use in c10 code.
The CPU Context, representing the bare minimum of what a Context class in Caffe2 should implement...
A global dictionary that holds information about what Caffe2 modules have been loaded in the current ...