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

Method from_frozen_graph

tensorflow/lite/python/lite.py:1054–1061  ·  view source on GitHub ↗

Creates a TocoConverter class from a file containing a frozen graph.

(cls,
                        graph_def_file,
                        input_arrays,
                        output_arrays,
                        input_shapes=None)

Source from the content-addressed store, hash-verified

1052 @_deprecation.deprecated(
1053 None, "Use `lite.TFLiteConverter.from_frozen_graph` instead.")
1054 def from_frozen_graph(cls,
1055 graph_def_file,
1056 input_arrays,
1057 output_arrays,
1058 input_shapes=None):
1059 """Creates a TocoConverter class from a file containing a frozen graph."""
1060 return TFLiteConverter.from_frozen_graph(graph_def_file, input_arrays,
1061 output_arrays, input_shapes)
1062
1063 @classmethod
1064 @_deprecation.deprecated(

Callers 14

testFloatMethod · 0.45
testFreezeGraphMethod · 0.45
testPbtxtMethod · 0.45
testGraphDebugInfoMethod · 0.45
testTFLiteGraphDefMethod · 0.45
toco_convertFunction · 0.45

Calls

no outgoing calls

Tested by 13

testFloatMethod · 0.36
testFreezeGraphMethod · 0.36
testPbtxtMethod · 0.36
testGraphDebugInfoMethod · 0.36
testTFLiteGraphDefMethod · 0.36
test_frozen_graph_quantFunction · 0.36