53 if (_builder_map.find(op) == _builder_map.end())
56 return _builder_map.at(op).get();
69 _builder_map[tflite::BuiltinOperator_CONV_2D] = make_unique<Conv2DGraphBuilder>();
70 _builder_map[tflite::BuiltinOperator_DEPTHWISE_CONV_2D] =
71 make_unique<DepthwiseConv2DGraphBuilder>();
72 _builder_map[tflite::BuiltinOperator_AVERAGE_POOL_2D] = make_unique<AvgPool2DGraphBuilder>();
73 _builder_map[tflite::BuiltinOperator_MAX_POOL_2D] = make_unique<MaxPool2DGraphBuilder>();
74 _builder_map[tflite::BuiltinOperator_CONCATENATION] = make_unique<ConcatenationGraphBuilder>();
75 _builder_map[tflite::BuiltinOperator_RELU] = make_unique<ReLUGraphBuilder>();
76 _builder_map[tflite::BuiltinOperator_RELU6] = make_unique<ReLU6GraphBuilder>();
77 _builder_map[tflite::BuiltinOperator_RESHAPE] = make_unique<ReshapeGraphBuilder>();
78 _builder_map[tflite::BuiltinOperator_SUB] = make_unique<SubGraphBuilder>();
79 _builder_map[tflite::BuiltinOperator_DIV] = make_unique<DivGraphBuilder>();
83 std::map<tflite::BuiltinOperator, std::unique_ptr<GraphBuilder>> _builder_map;