/external/tensorflow/tensorflow/lite/python/optimize/ |
D | calibrator.py | 34 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/ |
D | interpreter.py | 251 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,
|
D | lite_test.py | 165 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 …]
|
D | lite_flex_test.py | 66 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)
|
D | lite_v2_test_util.py | 50 interpreter = Interpreter(model_content=tflite_model) 84 interpreter = Interpreter(model_content=tflite_model)
|
D | lite_v2_test.py | 186 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 …]
|
D | interpreter_test.py | 155 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)
|
D | convert_test.py | 79 interpreter = Interpreter(model_content=tflite_model) 118 interpreter = Interpreter(model_content=tflite_model)
|
D | util_test.py | 123 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/ |
D | whitespace_tokenizer_test.py | 74 model_content=model, 100 model_content=model, 126 model_content=model, 149 interpreter = interpreter_wrapper.Interpreter(model_content=model)
|
D | ngrams_test.py | 119 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/ |
D | sentencepiece_tokenizer_test.py | 130 model_content=tflite_model, 173 model_content=tflite_model, 211 model_content=tflite_model,
|
D | ragged_tensor_to_tensor_test.py | 42 model_content=tflite_model,
|
/external/tensorflow/tensorflow/lite/tools/ |
D | verifier_test.cc | 265 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/ |
D | test_util.py | 86 the_interpreter = interpreter.Interpreter(model_content=tflite_model)
|
/external/tensorflow/tensorflow/lite/testing/op_tests/ |
D | hardswish.py | 37 interpreter = tf.lite.Interpreter(model_content=tflite_model_binary)
|
/external/tensorflow/tensorflow/tools/api/golden/v2/ |
D | tensorflow.lite.-interpreter.pbtxt | 7 …argspec: "args=[\'self\', \'model_path\', \'model_content\', \'experimental_delegates\', \'num_thr…
|
/external/tensorflow/tensorflow/tools/api/golden/v1/ |
D | tensorflow.lite.-interpreter.pbtxt | 7 …argspec: "args=[\'self\', \'model_path\', \'model_content\', \'experimental_delegates\', \'num_thr…
|
/external/tensorflow/tensorflow/lite/experimental/examples/lstm/ |
D | unidirectional_sequence_rnn_test.py | 221 interpreter = tf.lite.Interpreter(model_content=tflite)
|
D | bidirectional_sequence_lstm_test.py | 241 interpreter = tf.lite.Interpreter(model_content=tflite)
|
D | unidirectional_sequence_lstm_test.py | 226 interpreter = tf.lite.Interpreter(model_content=tflite)
|
D | bidirectional_sequence_rnn_test.py | 269 interpreter = tf.lite.Interpreter(model_content=tflite)
|
/external/tensorflow/tensorflow/lite/examples/experimental_new_converter/ |
D | keras_lstm.ipynb | 188 "interpreter = tf.lite.Interpreter(model_content=tflite_model)\n",
|
D | Keras_LSTM_fusion_Codelab.ipynb | 205 "interpreter = tf.lite.Interpreter(model_content=tflite_model)\n",
|
/external/tensorflow/tensorflow/lite/testing/ |
D | zip_test_utils.py | 388 interpreter = tf.lite.Interpreter(model_content=tflite_model_binary)
|