MCPcopy Create free account
hub / github.com/DeepRec-AI/DeepRec / ImportTensorFlowNode

Function ImportTensorFlowNode

tensorflow/lite/toco/import_tensorflow.cc:2628–2639  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2626}
2627
2628tensorflow::Status ImportTensorFlowNode(
2629 const tensorflow::NodeDef& node,
2630 const TensorFlowImportFlags& tf_import_flags, const ModelFlags& model_flags,
2631 Model* model, const ConverterMapType& converter_map) {
2632 auto converter = converter_map.find(node.op());
2633 if (converter == converter_map.end()) {
2634 return ConvertUnsupportedOperator(node, tf_import_flags, model_flags,
2635 model);
2636 } else {
2637 return converter->second(node, tf_import_flags, model_flags, model);
2638 }
2639}
2640} // namespace internal
2641
2642std::unique_ptr<Model> ImportTensorFlowGraphDef(

Callers 4

ImportTensorFlowGraphDefFunction · 0.85
ImportNodeFunction · 0.85
ImportFlexNodeFunction · 0.85
TESTFunction · 0.85

Calls 5

secondMethod · 0.80
findMethod · 0.45
opMethod · 0.45
endMethod · 0.45

Tested by 3

ImportNodeFunction · 0.68
ImportFlexNodeFunction · 0.68
TESTFunction · 0.68