Home
last modified time | relevance | path

Searched refs:node_parser (Results 1 – 12 of 12) sorted by relevance

/third_party/mindspore/mindspore/lite/test/ut/tools/converter/registry/parser/
Dnode_parser_test.h52 …arser(const std::string &name, const NodeParserTestPtr node_parser) { parsers_[name] = node_parser in RegNodeParser() argument
62 RegisterNodeParserTest(const std::string &name, NodeParserTestPtr node_parser) { in RegisterNodeParserTest() argument
63 NodeParserTestRegistry::GetInstance()->RegNodeParser(name, node_parser); in RegisterNodeParserTest()
67 #define REGISTER_NODE_PARSER_TEST(name, node_parser) \ argument
68 static RegisterNodeParserTest g_##name##_node_parser(name, node_parser);
Dmodel_parser_test.cc99 auto node_parser = NodeParserTestRegistry::GetInstance()->GetNodeParser(type); in BuildGraphNodes() local
100 if (node_parser == nullptr) { in BuildGraphNodes()
104 auto primc = node_parser->Parse(); in BuildGraphNodes()
/third_party/mindspore/mindspore/lite/include/registry/
Dnode_parser_registry.h34 const converter::NodeParserPtr &node_parser);
53 #define REG_NODE_PARSER(fmk_type, node_type, node_parser) \ argument
54 …registry::NodeParserRegistry g_##fmk_type##node_type##ParserReg(fmk_type, #node_type, node_parser);
/third_party/mindspore/mindspore/lite/tools/converter/registry/
Dnode_parser_registry.cc29 const converter::NodeParserPtr &node_parser) { in NodeParserRegistry() argument
31 node_parser_room[fmk_type][node_type] = node_parser; in NodeParserRegistry()
/third_party/boost/boost/spirit/home/classic/tree/
Dcommon.hpp951 struct node_parser struct
952 : public unary<T, parser<node_parser<T, NodeParserT> > >
954 typedef node_parser<T, NodeParserT> self_t; argument
958 node_parser(T const& a) in node_parser() function
959 : unary<T, parser<node_parser<T, NodeParserT> > >(a) {} in node_parser()
986 typedef node_parser<T, NodeParserT> type;
990 static node_parser<T, NodeParserT>
993 return node_parser<T, NodeParserT>(s.derived()); in generate()
997 node_parser<T, NodeParserT>
1000 return node_parser<T, NodeParserT>(s.derived()); in operator []()
Dcommon_fwd.hpp61 struct node_parser;
Dtypeof.hpp36 BOOST_TYPEOF_REGISTER_TEMPLATE(BOOST_SPIRIT_CLASSIC_NS::node_parser,2)
/third_party/mindspore/mindspore/lite/tools/converter/parser/caffe/
Dcaffe_model_parser.cc202 auto node_parser = registry::NodeParserRegistry::GetNodeParser(kFmkTypeCaffe, layer.type()); in ConvertLayers() local
203 if (node_parser != nullptr) { in ConvertLayers()
204 primitive_c = node_parser->Parse(layer, weight); in ConvertLayers()
/third_party/mindspore/mindspore/lite/tools/converter/parser/tflite/
Dtflite_model_parser.cc245 auto node_parser = registry::NodeParserRegistry::GetNodeParser(kFmkTypeTflite, op_type); in ConvertOps() local
246 if (node_parser != nullptr) { in ConvertOps()
247 primitive_c = node_parser->Parse(op, tflite_subgraph, tflite_model_); in ConvertOps()
/third_party/mindspore/mindspore/lite/tools/converter/parser/tf/
Dtf_model_parser.cc950 auto node_parser = registry::NodeParserRegistry::GetNodeParser(kFmkTypeTf, op_type); in ConvertOps() local
953 if (node_parser != nullptr) { in ConvertOps()
954 primitive_c = node_parser->Parse(node_def, tf_node_map, &input_names, &output_size); in ConvertOps()
/third_party/mindspore/mindspore/lite/tools/converter/parser/onnx/
Donnx_model_parser.cc675 … auto node_parser = registry::NodeParserRegistry::GetNodeParser(kFmkTypeOnnx, onnx_node.op_type()); in ConvertNodes() local
676 if (node_parser != nullptr) { in ConvertNodes()
677 primitive_c = node_parser->Parse(onnx_graph, onnx_node); in ConvertNodes()
/third_party/boost/tools/quickbook/src/
Dbb2html.cpp46 typedef void (*node_parser)(html_gen&, xml_element*); typedef
47 typedef boost::unordered_map<quickbook::string_view, node_parser>