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

Class TensorFlowImportFlags

tensorflow/lite/toco/import_tensorflow.h:26–35  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

24namespace toco {
25
26struct TensorFlowImportFlags {
27 // If true, control dependencies will be dropped immediately
28 // during the import of the TensorFlow GraphDef.
29 bool drop_control_dependency = false;
30
31 // Do not recognize any op and import all ops as
32 // `TensorFlowUnsupportedOperator`. This is used to populated with the
33 // `force_select_tf_ops` flag.
34 bool import_all_ops_as_unsupported = false;
35};
36
37// Converts TOCO model from TensorFlow GraphDef with given flags.
38std::unique_ptr<Model> ImportTensorFlowGraphDef(

Callers 3

ImportNodeFunction · 0.85
ImportFlexNodeFunction · 0.85
TESTFunction · 0.85

Calls

no outgoing calls

Tested by 3

ImportNodeFunction · 0.68
ImportFlexNodeFunction · 0.68
TESTFunction · 0.68