Home
last modified time | relevance | path

Searched refs:TFLiteConverter (Results 1 – 25 of 57) sorted by relevance

123

/external/tensorflow/tensorflow/lite/python/
Dlite_test.py88 lite.TFLiteConverter(
95 lite.TFLiteConverter(None, [], None, output_arrays=['output']).convert()
100 converter = lite.TFLiteConverter(
115 converter = lite.TFLiteConverter(None, ['input_tensor'], ['output_tensor'])
134 converter = lite.TFLiteConverter(frozen_graph_def, [in_tensor],
161 converter = lite.TFLiteConverter(frozen_graph_def, None, None,
199 converter = lite.TFLiteConverter(frozen_graph_def, None, None,
218 converter = lite.TFLiteConverter(frozen_graph_def, None, None,
235 converter = lite.TFLiteConverter.from_session(sess, [in_tensor],
266 converter = lite.TFLiteConverter.from_session(sess, [in_tensor],
[all …]
Danalyzer_test.py83 converter = tf.lite.TFLiteConverter.from_concrete_functions(
101 converter = tf.lite.TFLiteConverter.from_concrete_functions(
138 converter = tf.lite.TFLiteConverter.from_concrete_functions(
177 converter = tf.lite.TFLiteConverter.from_saved_model(tmp_dir)
199 converter = tf.lite.TFLiteConverter.from_concrete_functions(
217 converter = tf.lite.TFLiteConverter.from_concrete_functions(
Dmetrics_nonportable_test.py144 converter = lite.TFLiteConverter(frozen_graph_def, None, None,
165 converter = lite.TFLiteConverter(frozen_graph_def, None, None,
430 converter = tf.lite.TFLiteConverter.from_keras_model(model)
520 converter = tf.lite.TFLiteConverter.from_concrete_functions(
547 converter = tf.lite.TFLiteConverter.from_saved_model(tmp_dir)
573 converter = tf.lite.TFLiteConverter.from_keras_model(model)
Dlite_flex_test.py57 converter = lite.TFLiteConverter.from_session(sess, [in_tensor],
84 converter = lite.TFLiteConverter.from_session(sess, [in_tensor],
99 converter = lite.TFLiteConverter.from_session(sess, [in_tensor],
308 converter = tf.lite.TFLiteConverter.from_saved_model(save_dir)
Dtflite_convert.py134 converter_fn = lite.TFLiteConverter.from_frozen_graph
137 converter_fn = lite.TFLiteConverter.from_saved_model
142 converter_fn = lite.TFLiteConverter.from_keras_model_file
Dutil_test.py83 converter = tf.lite.TFLiteConverter.from_keras_model(model)
273 converter = tf.lite.TFLiteConverter.from_keras_model(model)
276 converter = tf.lite.TFLiteConverter.from_saved_model(saved_model_dir)
/external/tensorflow/tensorflow/lite/g3doc/r1/convert/
Dpython_api.md5 [`tf.compat.v1.lite.TFLiteConverter`](https://www.tensorflow.org/api_docs/python/tf/compat/v1/lite/
9 * `tf.compat.v1.lite.TFLiteConverter.from_saved_model()`: Converts a
11 * `tf.compat.v1.lite.TFLiteConverter.from_keras_model_file()`: Converts a
13 * `tf.compat.v1.lite.TFLiteConverter.from_session()`: Converts a GraphDef from
15 * `tf.compat.v1.lite.TFLiteConverter.from_frozen_graph()`: Converts a Frozen
37 converter = tf.compat.v1.lite.TFLiteConverter.from_saved_model(saved_model_dir)
55 converter = tf.compat.v1.lite.TFLiteConverter.from_keras_model_file('keras_model.h5')
90 converter = tf.compat.v1.lite.TFLiteConverter.from_keras_model_file(keras_file)
115 converter = tf.compat.v1.lite.TFLiteConverter.from_session(sess, [img], [out])
137 converter = tf.compat.v1.lite.TFLiteConverter.from_frozen_graph(
[all …]
/external/tensorflow/tensorflow/lite/g3doc/examples/convert/
Dconvert_models.md39 API, run `print(help(tf.lite.TFLiteConverter))`.*
42 [`tf.lite.TFLiteConverter`](https://www.tensorflow.org/api_docs/python/tf/lite/TFLiteConverter).
49 * `tf.lite.TFLiteConverter.from_saved_model()` (**recommended**): Converts
51 * `tf.lite.TFLiteConverter.from_keras_model()`: Converts a
53 * `tf.lite.TFLiteConverter.from_concrete_functions()`: Converts
68 converter = tf.lite.TFLiteConverter.from_saved_model(saved_model_dir) # path to the SavedModel dire…
96 converter = tf.lite.TFLiteConverter.from_keras_model(model)
125 converter = tf.lite.TFLiteConverter.from_concrete_functions([concrete_func],
/external/tensorflow/tensorflow/lite/tools/optimize/debugging/python/
Ddebugger.py31 TFLiteConverter = Any # importing tf.lite creates circular dependency variable
137 converter: Optional[TFLiteConverter] = None) -> None: argument
277 converter: TFLiteConverter, argument
307 self, converter: TFLiteConverter) -> TFLiteConverter: argument
314 self, converter: TFLiteConverter) -> TFLiteConverter: argument
/external/tensorflow/tensorflow/lite/examples/experimental_new_converter/
Dstack_trace_example.py52 converter = tf.lite.TFLiteConverter.from_saved_model(saved_model_path)
66 converter = tf.lite.TFLiteConverter.from_concrete_functions([func], model)
/external/tensorflow/tensorflow/tools/api/golden/v1/
Dtensorflow.lite.-t-f-lite-converter.pbtxt1 path: "tensorflow.lite.TFLiteConverter"
3 is_instance: "<class \'tensorflow.lite.python.lite.TFLiteConverter\'>"
Dtensorflow.lite.pbtxt24 name: "TFLiteConverter"
/external/tflite-support/tensorflow_lite_support/custom_ops/python/
Dsentencepiece_tokenizer_test.py124 converter = tf.lite.TFLiteConverter.from_keras_model(model)
167 converter = tf.lite.TFLiteConverter.from_keras_model(model)
205 converter = tf.lite.TFLiteConverter.from_keras_model(model)
Dragged_tensor_to_tensor_test.py37 converter = tf.lite.TFLiteConverter.from_concrete_functions(
/external/tensorflow/tensorflow/lite/python/metrics/
Dmetrics_nonportable_test.py144 converter = lite.TFLiteConverter(frozen_graph_def, None, None,
165 converter = lite.TFLiteConverter(frozen_graph_def, None, None,
432 converter = tf.lite.TFLiteConverter.from_keras_model(model)
521 converter = tf.lite.TFLiteConverter.from_concrete_functions(
548 converter = tf.lite.TFLiteConverter.from_saved_model(tmp_dir)
574 converter = tf.lite.TFLiteConverter.from_keras_model(model)
/external/tensorflow/tensorflow/lite/g3doc/guide/
Dmodel_analyzer.ipynb121 "fb_model = tf.lite.TFLiteConverter.from_keras_model(model).convert()\n",
146 "fb_model = tf.lite.TFLiteConverter.from_keras_model(model).convert()\n",
191 "converter = tf.lite.TFLiteConverter.from_concrete_functions(\n",
230 "fb_model = tf.lite.TFLiteConverter.from_keras_model(model).convert()\n",
Dsignatures.ipynb226 "# Convert the saved model using TFLiteConverter\n",
227 "converter = tf.lite.TFLiteConverter.from_saved_model(SAVED_MODEL_PATH)\n",
267 "# Convert the keras model using TFLiteConverter.\n",
269 "converter = tf.lite.TFLiteConverter.from_keras_model(keras_model)\n",
300 "# Convert the concrete functions using TFLiteConverter\n",
301 "converter = tf.lite.TFLiteConverter.from_concrete_functions(\n",
/external/tensorflow/tensorflow/lite/g3doc/performance/
Dpost_training_quantization.md37 converter = tf.lite.TFLiteConverter.from_saved_model(saved_model_dir)
133 converter = tf.lite.TFLiteConverter.from_saved_model(saved_model_dir)
160 converter = tf.lite.TFLiteConverter.from_saved_model(saved_model_dir)
180 converter = tf.lite.TFLiteConverter.from_saved_model(saved_model_dir)
214 converter = tf.lite.TFLiteConverter.from_saved_model(saved_model_dir)
226 converter = tf.lite.TFLiteConverter.from_saved_model(saved_model_dir)
/external/tensorflow/tensorflow/tools/api/golden/v2/
Dtensorflow.lite.pbtxt20 name: "TFLiteConverter"
Dtensorflow.lite.-t-f-lite-converter.pbtxt1 path: "tensorflow.lite.TFLiteConverter"
/external/tensorflow/tensorflow/compiler/mlir/lite/tests/debuginfo/
Dconcrete_function_error.py40 converter = tf.lite.TFLiteConverter.from_concrete_functions([func], model)
Dsaved_model_error.py49 converter = tf.lite.TFLiteConverter.from_saved_model(saved_model_path)
/external/tensorflow/tensorflow/lite/experimental/acceleration/mini_benchmark/metrics/
Dmobilenet.py53 converter = tf.lite.TFLiteConverter.from_session(sess, [
Dblazeface_metrics.py109 converter = tf.lite.TFLiteConverter.from_session(sess, [
/external/tensorflow/tensorflow/lite/python/authoring/
Dauthoring_test.py170 converter = tf.lite.TFLiteConverter.from_concrete_functions(
192 converter = tf.lite.TFLiteConverter.from_concrete_functions(

123