Home
last modified time | relevance | path

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

/external/tensorflow/tensorflow/lite/python/
Dlite_test.py640 graph_def_file = os.path.join(self.get_temp_dir(), 'model.pb')
641 write_graph(sess.graph_def, '', graph_def_file, False)
645 converter = lite.TFLiteConverter.from_frozen_graph(graph_def_file,
675 graph_def_file = os.path.join(self.get_temp_dir(), 'model.pb')
676 write_graph(sess.graph_def, '', graph_def_file, False)
681 graph_def_file, ['Placeholder'], ['add'],
703 graph_def_file = os.path.join(self.get_temp_dir(), 'model.pb')
704 write_graph(sess.graph_def, '', graph_def_file, False)
709 lite.TFLiteConverter.from_frozen_graph(graph_def_file, ['Placeholder'],
721 graph_def_file = os.path.join(self.get_temp_dir(), 'model.pbtxt')
[all …]
Dlite.py474 graph_def_file, argument
504 if not _file_io.file_exists(graph_def_file):
505 raise IOError("File '{0}' does not exist.".format(graph_def_file))
506 with _file_io.FileIO(graph_def_file, "rb") as f:
525 "Unable to parse input file '{}'.".format(graph_def_file))
834 graph_def_file, argument
839 return TFLiteConverter.from_frozen_graph(graph_def_file, input_arrays,
Dtflite_convert.py95 if flags.graph_def_file:
97 converter_kwargs["graph_def_file"] = flags.graph_def_file
231 if flags.graph_def_file and (not flags.input_arrays or
/external/tensorflow/tensorflow/lite/testing/model_coverage/
Dmodel_coverage_lib_test.py42 graph_def_file = os.path.join(self.get_temp_dir(), 'model.pb')
43 write_graph(sess.graph_def, '', graph_def_file, False)
44 return graph_def_file
/external/tensorflow/tensorflow/lite/g3doc/convert/
Dcmdline_examples.md49 --graph_def_file=/tmp/mobilenet_v1_0.50_128/frozen_graph.pb \
110 --graph_def_file=/tmp/some_quantized_graph.pb \
135 --graph_def_file=/tmp/mobilenet_v1_0.50_128/frozen_graph.pb \
157 --graph_def_file=/tmp/inception_v1_2016_08_28_frozen.pb \
177 --graph_def_file=/tmp/inception_v1_2016_08_28_frozen.pb \
198 --graph_def_file=/tmp/inception_v1_2016_08_28_frozen.pb \
243 --graph_def_file=/tmp/mobilenet_v1_0.50_128/frozen_graph.pb \
279 --graph_def_file=/tmp/mobilenet_v1_0.50_128/frozen_graph.pb \
Dcmdline_reference.md13 `--graph_def_file`, `--saved_model_dir` or `--keras_model_file` is required.
16 * `--graph_def_file`. Type: string. Specifies the full path of the input
Dpython_api.md73 graph_def_file = "/path/to/Downloads/mobilenet_v1_1.0_224/frozen_graph.pb"
78 graph_def_file, input_arrays, output_arrays)
/external/tensorflow/tensorflow/tools/api/golden/v1/
Dtensorflow.lite.-toco-converter.pbtxt10 …argspec: "args=[\'cls\', \'graph_def_file\', \'input_arrays\', \'output_arrays\', \'input_shapes\'…
Dtensorflow.lite.-t-f-lite-converter.pbtxt15 …argspec: "args=[\'cls\', \'graph_def_file\', \'input_arrays\', \'output_arrays\', \'input_shapes\'…
/external/tensorflow/tensorflow/lite/tutorials/
Dpost_training_quant.ipynb648 "graph_def_file = pathlib.Path(archive_path).parent/\"resnet_v2_101_299_frozen.pb\"\n",
652 … " str(graph_def_file), input_arrays, output_arrays, input_shapes={\"input\":[1,299,299,3]})\n",
654 "resnet_tflite_file = graph_def_file.parent/\"resnet_v2_101_quantized.tflite\"\n",
/external/tensorflow/tensorflow/lite/g3doc/guide/
Dops_select.md73 --graph_def_file=/tmp/foo.pb \
85 --graph_def_file=/tmp/foo.pb \
Dget_started.md141 --graph_def_file=/tmp/mobilenet_v1_0.50_128/frozen_graph.pb \