Home
last modified time | relevance | path

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

/external/tensorflow/tensorflow/lite/python/
Dlite_test.py54 lite.TFLiteConverter(
60 lite.TFLiteConverter(None, [], None, output_arrays=['output'])
65 converter = lite.TFLiteConverter(
80 converter = lite.TFLiteConverter(None, ['input_tensor'], ['output_tensor'])
94 converter = lite.TFLiteConverter.from_session(sess, [in_tensor],
123 converter = lite.TFLiteConverter.from_session(sess, [in_tensor],
156 converter = lite.TFLiteConverter.from_session(
201 converter = lite.TFLiteConverter.from_session(
220 converter = lite.TFLiteConverter.from_session(sess, [in_tensor_final],
249 converter = lite.TFLiteConverter.from_session(sess, [in_tensor],
[all …]
Dlite.py314 class TFLiteConverter(object): class
828 return TFLiteConverter.from_session(sess, input_tensors, output_tensors)
839 return TFLiteConverter.from_frozen_graph(graph_def_file, input_arrays,
853 return TFLiteConverter.from_saved_model(saved_model_dir, input_arrays,
866 return TFLiteConverter.from_keras_model_file(model_file, input_arrays,
Dtflite_convert.py96 converter_fn = lite.TFLiteConverter.from_frozen_graph
99 converter_fn = lite.TFLiteConverter.from_saved_model
104 converter_fn = lite.TFLiteConverter.from_keras_model_file
Dlite_flex_test.py40 converter = lite.TFLiteConverter.from_session(sess, [in_tensor],
/external/tensorflow/tensorflow/lite/g3doc/convert/
Dpython_api.md23 `tf.lite.TFLiteConverter`. The API for calling the Python interpreter is
26 `TFLiteConverter` provides class methods based on the original format of the
27 model. `TFLiteConverter.from_session()` is available for GraphDefs.
28 `TFLiteConverter.from_saved_model()` is available for SavedModels.
29 `TFLiteConverter.from_keras_model_file()` is available for `tf.Keras` files.
54 converter = tf.lite.TFLiteConverter.from_session(sess, [img], [out])
77 converter = tf.lite.TFLiteConverter.from_frozen_graph(
91 converter = tf.lite.TFLiteConverter.from_saved_model(saved_model_dir)
97 `TFLiteConverter.from_saved_model()` are `input_arrays`, `input_shapes`,
99 available by running `help(tf.lite.TFLiteConverter)`.
[all …]
Dquantization.md16 converter = tf.lite.TFLiteConverter.from_saved_model(saved_model_dir)
31 converter = tf.lite.TFLiteConverter.from_saved_model(saved_model_dir)
/external/tensorflow/tensorflow/lite/g3doc/r2/convert/
Dpython_api.md12 [`tf.lite.TFLiteConverter.from_concrete_function()`](https://www.tensorflow.org/versions/r2.0/api_d…
40 converter = tf.lite.TFLiteConverter.from_concrete_function(concrete_func)
76 converter = tf.lite.TFLiteConverter.from_concrete_function(concrete_func)
103 converter = tf.lite.TFLiteConverter.from_concrete_function(concrete_func)
132 converter = tf.lite.TFLiteConverter.from_concrete_function(concrete_func)
153 ## Summary of changes in `TFLiteConverter` between 1.X and 2.0 <a name="differences"></a>
155 The following section summarizes the changes in `TFLiteConverter` from 1.X to
161 `TFLiteConverter` in 2.0 supports SavedModels and Keras model files generated in
170 have been removed from `TFLiteConverter` in TensorFlow 2.0:
/external/tensorflow/tensorflow/lite/testing/model_coverage/
Dmodel_coverage_lib.py280 converter = _lite.TFLiteConverter.from_frozen_graph(
289 converter = _lite.TFLiteConverter.from_frozen_graph(filename, input_arrays,
340 converter = _lite.TFLiteConverter.from_frozen_graph(
371 converter = _lite.TFLiteConverter.from_saved_model(
435 converter = _lite.TFLiteConverter.from_keras_model_file(
/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/tensorflow/tensorflow/lite/g3doc/guide/
Dfaq.md14 [TFLiteConverter.from_saved_model](../convert/python_api.md#exporting_a_savedmodel_)
17 [TFLiteConverter.from_frozen_graph](../convert/python_api.md#exporting_a_graphdef_from_file_)
19 [TFLiteConverter.from_keras_model_file](../convert/python_api.md#exporting_a_tfkeras_file_)
21 [TFLiteConverter.from_session](../convert/python_api.md#exporting_a_graphdef_from_tfsession_)
Dops_select.md54 [`TFLiteConverter`](./convert/python_api.md) Python API.
59 converter = tf.lite.TFLiteConverter.from_saved_model(saved_model_dir)
/external/tensorflow/tensorflow/tools/api/golden/v2/
Dtensorflow.lite.-t-f-lite-converter.pbtxt1 path: "tensorflow.lite.TFLiteConverter"
Dtensorflow.lite.pbtxt24 name: "TFLiteConverter"
/external/tensorflow/tensorflow/lite/tutorials/
Dpost_training_quant.ipynb238 … "Using the python `TFLiteConverter`, the saved model can be converted into a TFLite model.\n",
240 "First load the model using the `TFLiteConverter`:"
255 "converter = tf.lite.TFLiteConverter.from_saved_model(saved_model_dir)\n",
651 "converter = tf.lite.TFLiteConverter.from_frozen_graph(\n",
/external/tensorflow/tensorflow/lite/experimental/examples/lstm/g3doc/
DREADME.md62 converter = tf.lite.TFLiteConverter(ophinted_graph, [INPUTS], [OUTPUTS])
96 converter = tf.lite.TFLiteConverter(converted_graph, [x], [output_class])
298 converter = tf.lite.TFLiteConverter(converted_graph, [x], [output_class])
/external/tensorflow/tensorflow/lite/experimental/examples/lstm/
Dunidirectional_sequence_rnn_test.py169 converter = tf.lite.TFLiteConverter(curr, [tflite_input], [outputs])
Dunidirectional_sequence_lstm_test.py157 converter = tf.lite.TFLiteConverter(curr, [tflite_input], [outputs])
Dbidirectional_sequence_lstm_test.py171 converter = tf.lite.TFLiteConverter(curr, [tflite_input], [outputs])
Dbidirectional_sequence_rnn_test.py195 converter = tf.lite.TFLiteConverter(curr, [tflite_input], [outputs])
/external/tensorflow/tensorflow/lite/g3doc/performance/
Dpost_training_quantization.md10 converter = tf.lite.TFLiteConverter.from_saved_model(saved_model_dir)