Home
last modified time | relevance | path

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

/external/tensorflow/tensorflow/lite/python/
Dtflite_convert_test.py126 graph_def_file = self._getFilepath('model.pb')
127 write_graph(sess.graph_def, '', graph_def_file, False)
131 '--output_arrays={2}'.format(graph_def_file, 'Placeholder',
134 os.remove(graph_def_file)
147 graph_def_file = self._getFilepath('model.pb')
148 write_graph(sess.graph_def, '', graph_def_file, False)
154 graph_def_file, 'Placeholder', 'add'))
156 os.remove(graph_def_file)
165 graph_def_file = self._getFilepath('model.pb')
166 write_graph(sess.graph_def, '', graph_def_file, False)
[all …]
Dlite_test.py1632 graph_def_file = os.path.join(self.get_temp_dir(), 'model.pb')
1633 write_graph(sess.graph_def, '', graph_def_file, False)
1637 converter = lite.TFLiteConverter.from_frozen_graph(graph_def_file,
1669 graph_def_file = os.path.join(self.get_temp_dir(), 'model.pb')
1670 write_graph(sess.graph_def, '', graph_def_file, False)
1675 graph_def_file, ['Placeholder'], ['add'],
1697 graph_def_file = os.path.join(self.get_temp_dir(), 'model.pb')
1698 write_graph(sess.graph_def, '', graph_def_file, False)
1704 graph_def_file, ['Placeholder'], ['add'],
1718 graph_def_file = os.path.join(self.get_temp_dir(), 'model.pb')
[all …]
Dtflite_convert.py108 if flags.graph_def_file:
110 converter_kwargs["graph_def_file"] = flags.graph_def_file
304 if flags.graph_def_file and (not flags.input_arrays or
Dlite.py1843 graph_def_file, argument
1873 if not _file_io.file_exists(graph_def_file):
1874 raise IOError("File '{0}' does not exist.".format(graph_def_file))
1875 with _file_io.FileIO(graph_def_file, "rb") as f:
1894 "Unable to parse input file '{}'.".format(graph_def_file))
2044 graph_def_file, argument
2049 return TFLiteConverter.from_frozen_graph(graph_def_file, input_arrays,
/external/tensorflow/tensorflow/lite/g3doc/r1/convert/
Dcmdline_examples.md76 --graph_def_file=/tmp/mobilenet_v1_0.50_128/frozen_graph.pb \
98 --graph_def_file=/tmp/some_mobilenetv1_quantized_frozen_graph.pb \
126 --graph_def_file=/tmp/mobilenet_v1_0.50_128/frozen_graph.pb \
151 --graph_def_file=/tmp/foo.pb \
163 --graph_def_file=/tmp/foo.pb \
180 --graph_def_file=/tmp/inception_v1_2016_08_28_frozen.pb \
195 --graph_def_file=/tmp/inception_v1_2016_08_28_frozen.pb \
214 --graph_def_file=/tmp/inception_v1_2016_08_28_frozen.pb \
246 --graph_def_file=/tmp/mobilenet_v1_0.50_128/frozen_graph.pb \
313 --graph_def_file=/tmp/mobilenet_v1_0.50_128/frozen_graph.pb \
Dpython_api.md138 graph_def_file='/path/to/mobilenet_v1_1.0_224/frozen_graph.pb',
201 graph_def_file='/path/to/mobilenet_v1_1.0_224/frozen_graph.pb',
Dcmdline_reference.md10 `--saved_model_dir`, `--keras_model_file` or `--graph_def_file` is required.
17 * `--graph_def_file`. Type: string. Specifies the full path of the input
/external/tensorflow/tensorflow/lite/testing/model_coverage/
Dmodel_coverage_lib_test.py44 graph_def_file = os.path.join(self.get_temp_dir(), 'model.pb')
45 write_graph(sess.graph_def, '', graph_def_file, False)
46 return graph_def_file
/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.pbtxt18 …argspec: "args=[\'cls\', \'graph_def_file\', \'input_arrays\', \'output_arrays\', \'input_shapes\'…
/external/tensorflow/tensorflow/lite/testing/
Dtflite_model_test.bzl133 " --graph_def_file=$(location %s)" +
/external/tensorflow/tensorflow/lite/
Dbuild_def.bzl202 ("--graph_def_file=$(location %s)" % src),