Home
last modified time | relevance | path

Searched refs:BaseOperator (Results 1 – 8 of 8) sorted by relevance

/external/tensorflow/tensorflow/contrib/lite/toco/tflite/
Doperator.h26 class BaseOperator; variable
29 std::map<string, std::unique_ptr<BaseOperator>> BuildOperatorByNameMap();
33 std::map<OperatorType, std::unique_ptr<BaseOperator>> BuildOperatorByTypeMap();
60 class BaseOperator {
63 BaseOperator(const string& name, OperatorType type) in BaseOperator() function
65 virtual ~BaseOperator() = default;
Dsimple_operator.h32 class SimpleOperator : public BaseOperator {
34 using BaseOperator::BaseOperator;
Dcustom_operator.h33 class CustomOperator : public BaseOperator {
36 using BaseOperator::BaseOperator;
Dbuiltin_operator.h33 class BuiltinOperator : public BaseOperator {
39 : BaseOperator(::tflite::EnumNameBuiltinOperator(op), type) {} in BuiltinOperator()
Doperator.cc660 class TensorFlowUnsupported : public BaseOperator {
662 using BaseOperator::BaseOperator;
768 std::vector<std::unique_ptr<BaseOperator>> BuildOperatorList() { in BuildOperatorList()
769 std::vector<std::unique_ptr<BaseOperator>> ops; in BuildOperatorList()
867 std::map<OperatorType, std::unique_ptr<BaseOperator>> BuildOperatorByTypeMap() { in BuildOperatorByTypeMap()
868 std::map<OperatorType, std::unique_ptr<BaseOperator>> result; in BuildOperatorByTypeMap()
870 std::vector<std::unique_ptr<BaseOperator>> ops = BuildOperatorList(); in BuildOperatorByTypeMap()
878 std::map<string, std::unique_ptr<BaseOperator>> BuildOperatorByNameMap() { in BuildOperatorByNameMap()
879 std::map<string, std::unique_ptr<BaseOperator>> result; in BuildOperatorByNameMap()
881 std::vector<std::unique_ptr<BaseOperator>> ops = BuildOperatorList(); in BuildOperatorByNameMap()
Doperator_test.cc33 const BaseOperator& GetOperator(const string& name, OperatorType type) { in GetOperator()
34 using OpsByName = std::map<string, std::unique_ptr<BaseOperator>>; in GetOperator()
35 using OpsByType = std::map<OperatorType, std::unique_ptr<BaseOperator>>; in GetOperator()
42 BaseOperator* op1 = by_name->at(name).get(); in GetOperator()
47 BaseOperator* op2 = by_type->at(type).get(); in GetOperator()
59 std::unique_ptr<T> SerializeAndDeserialize(const BaseOperator& op, in SerializeAndDeserialize()
Dexport.cc170 const std::map<OperatorType, std::unique_ptr<BaseOperator>>& ops_by_type, in ExportOperatorCodes()
230 const std::map<OperatorType, std::unique_ptr<BaseOperator>>& ops_by_type, in ExportOperators()
Dimport.cc97 const std::map<string, std::unique_ptr<BaseOperator>>& ops_by_name, in ImportOperators()