Home
last modified time | relevance | path

Searched refs:model_content (Results 1 – 25 of 29) sorted by relevance

12

/external/tensorflow/tensorflow/lite/python/optimize/
Dcalibrator.py34 def add_intermediate_tensors(model_content): argument
36 return _calibration_wrapper.AddIntermediateTensors(model_content)
45 def __init__(self, model_content): argument
54 if not model_content:
58 _calibration_wrapper.CalibrationWrapper(model_content))
/external/tensorflow/tensorflow/lite/python/
Dinterpreter.py251 model_content=None, argument
272 if model_path and not model_content:
285 elif model_content and not model_path:
295 self._model_content = model_content
298 model_content, custom_op_registerers_by_name,
300 elif not model_content and not model_path:
801 model_content=None, argument
823 model_content=model_content,
Dlite_test.py165 interpreter = Interpreter(model_content=tflite_model)
239 interpreter = Interpreter(model_content=tflite_model)
273 interpreter = Interpreter(model_content=tflite_model)
303 interpreter = Interpreter(model_content=tflite_model)
379 interpreter = Interpreter(model_content=quantized_tflite_model)
407 interpreter = Interpreter(model_content=tflite_model)
440 interpreter = Interpreter(model_content=tflite_model)
491 interpreter = Interpreter(model_content=tflite_model)
547 interpreter = Interpreter(model_content=tflite_model)
591 interpreter = Interpreter(model_content=tflite_model)
[all …]
Dlite_flex_test.py66 interpreter = Interpreter(model_content=tflite_model)
98 interpreter = Interpreter(model_content=tflite_model)
133 interpreter = Interpreter(model_content=tflite_model)
215 interpreter = Interpreter(model_content=tflite_model)
Dlite_v2_test_util.py50 interpreter = Interpreter(model_content=tflite_model)
84 interpreter = Interpreter(model_content=tflite_model)
Dlite_v2_test.py186 interpreter = Interpreter(model_content=quantized_tflite_model)
268 interpreter = Interpreter(model_content=quantized_tflite_model)
327 interpreter = Interpreter(model_content=quantized_tflite_model)
395 interpreter = Interpreter(model_content=quantized_tflite_model)
566 interpreter = Interpreter(model_content=quantized_tflite_model)
660 interpreter = Interpreter(model_content=quantized_tflite_model)
699 interpreter = Interpreter(model_content=tflite_content)
778 interpreter = Interpreter(model_content=tflite_model)
880 model_content=tflite_model,
988 interpreter = Interpreter(model_content=tflite_model)
[all …]
Dinterpreter_test.py155 interpreter = interpreter_wrapper.Interpreter(model_content=data)
293 interpreter_wrapper.Interpreter(model_content=six.b('garbage'))
311 interpreter_wrapper.Interpreter(model_path=None, model_content=None)
Dconvert_test.py79 interpreter = Interpreter(model_content=tflite_model)
118 interpreter = Interpreter(model_content=tflite_model)
Dutil_test.py123 interpreter = tf.lite.Interpreter(model_content=tflite_model)
360 interpreter = tf.lite.Interpreter(model_content=model)
/external/tflite-support/tensorflow_lite_support/custom_ops/kernel/
Dwhitespace_tokenizer_test.py74 model_content=model,
100 model_content=model,
126 model_content=model,
149 interpreter = interpreter_wrapper.Interpreter(model_content=model)
Dngrams_test.py119 model_content=model, custom_op_registerers=['AddNgramsCustomOp'])
139 model_content=model, custom_op_registerers=['AddNgramsCustomOp'])
158 model_content=model, custom_op_registerers=['AddNgramsCustomOp'])
189 model_content=model, custom_op_registerers=['AddNgramsCustomOp'])
219 model_content=model, custom_op_registerers=['AddNgramsCustomOp'])
243 interpreter = interpreter_wrapper.Interpreter(model_content=model)
/external/tflite-support/tensorflow_lite_support/custom_ops/python/
Dsentencepiece_tokenizer_test.py130 model_content=tflite_model,
173 model_content=tflite_model,
211 model_content=tflite_model,
Dragged_tensor_to_tensor_test.py42 model_content=tflite_model,
/external/tensorflow/tensorflow/lite/tools/
Dverifier_test.cc265 std::string model_content(reinterpret_cast<char*>(builder.GetBufferPointer()), in TEST()
267 for (size_t i = 0; i < model_content.size(); i++) { in TEST()
268 model_content[i] = (model_content[i] + 137) % 255; in TEST()
269 EXPECT_FALSE(Verify(model_content.data(), model_content.size(), in TEST()
/external/tensorflow/tensorflow/python/kernel_tests/signal/
Dtest_util.py86 the_interpreter = interpreter.Interpreter(model_content=tflite_model)
/external/tensorflow/tensorflow/lite/testing/op_tests/
Dhardswish.py37 interpreter = tf.lite.Interpreter(model_content=tflite_model_binary)
/external/tensorflow/tensorflow/tools/api/golden/v2/
Dtensorflow.lite.-interpreter.pbtxt7 …argspec: "args=[\'self\', \'model_path\', \'model_content\', \'experimental_delegates\', \'num_thr…
/external/tensorflow/tensorflow/tools/api/golden/v1/
Dtensorflow.lite.-interpreter.pbtxt7 …argspec: "args=[\'self\', \'model_path\', \'model_content\', \'experimental_delegates\', \'num_thr…
/external/tensorflow/tensorflow/lite/experimental/examples/lstm/
Dunidirectional_sequence_rnn_test.py221 interpreter = tf.lite.Interpreter(model_content=tflite)
Dbidirectional_sequence_lstm_test.py241 interpreter = tf.lite.Interpreter(model_content=tflite)
Dunidirectional_sequence_lstm_test.py226 interpreter = tf.lite.Interpreter(model_content=tflite)
Dbidirectional_sequence_rnn_test.py269 interpreter = tf.lite.Interpreter(model_content=tflite)
/external/tensorflow/tensorflow/lite/examples/experimental_new_converter/
Dkeras_lstm.ipynb188 "interpreter = tf.lite.Interpreter(model_content=tflite_model)\n",
DKeras_LSTM_fusion_Codelab.ipynb205 "interpreter = tf.lite.Interpreter(model_content=tflite_model)\n",
/external/tensorflow/tensorflow/lite/testing/
Dzip_test_utils.py388 interpreter = tf.lite.Interpreter(model_content=tflite_model_binary)

12