4 #include "caffe2/core/common.h" 5 #include "caffe2/core/transform.h" 6 #include "caffe2/proto/caffe2_pb.h" 7 #include "caffe2/utils/proto_utils.h" 31 SetPatternMatchType(SORTED_WRT_EXECUTION_ORDER);
37 const std::vector<int>& subgraph,
41 const std::vector<int>& subgraph)
override;
46 bool IsWhitelisted(
string op_type) {
47 return whitelisted_ops_.count(op_type);
49 std::set<string> whitelisted_ops_ = {
"LearningRate",
"FC"};
A global dictionary that holds information about what Caffe2 modules have been loaded in the current ...