/external/tensorflow/tensorflow/lite/python/optimize/ |
D | calibrator.py | 34 def add_intermediate_tensors(model_content): argument 36 return _calibration_wrapper.AddIntermediateTensors(model_content) 46 model_content, argument 61 if not model_content: 70 model_content, custom_op_registerers_by_name, 72 self._model_content = model_content 101 self._interpreter = Interpreter(model_content=self._model_content) 108 self._interpreter = Interpreter(model_content=self._model_content)
|
/external/tensorflow/tensorflow/lite/tools/ |
D | verifier_internal_test.cc | 175 std::string model_content(reinterpret_cast<char*>(builder.GetBufferPointer()), in TEST() 177 for (size_t i = 0; i < model_content.size(); i++) { in TEST() 178 model_content[i] = (model_content[i] + 137) % 255; in TEST() 180 model_content.data(), model_content.size())) in TEST()
|
D | verifier_test.cc | 277 std::string model_content(reinterpret_cast<char*>(builder.GetBufferPointer()), in TEST() 279 for (size_t i = 0; i < model_content.size(); i++) { in TEST() 280 model_content[i] = (model_content[i] + 137) % 255; in TEST() 281 EXPECT_FALSE(Verify(model_content.data(), model_content.size(), in TEST()
|
/external/tensorflow/tensorflow/lite/python/ |
D | analyzer.py | 65 model_content=None, argument 87 if not model_path and not model_content: 95 tflite_model = model_content
|
D | lite_test.py | 167 interpreter = Interpreter(model_content=tflite_model) 241 interpreter = Interpreter(model_content=tflite_model) 275 interpreter = Interpreter(model_content=tflite_model) 305 interpreter = Interpreter(model_content=tflite_model) 381 interpreter = Interpreter(model_content=quantized_tflite_model) 423 interpreter = Interpreter(model_content=quantized_tflite_model) 445 interpreter = Interpreter(model_content=tflite_model) 478 interpreter = Interpreter(model_content=tflite_model) 525 interpreter = Interpreter(model_content=tflite_model) 581 interpreter = Interpreter(model_content=tflite_model) [all …]
|
D | analyzer_test.py | 88 analyzer.ModelAnalyzer.analyze(model_content=fb_model) 107 model_content=fb_model, experimental_use_mlir=True) 144 model_content=fb_model, gpu_compatibility=True) 181 analyzer.ModelAnalyzer.analyze(model_content=fb_model) 204 analyzer.ModelAnalyzer.analyze(model_content=fb_model) 222 analyzer.ModelAnalyzer.analyze(model_content=fb_model)
|
D | lite_flex_test.py | 65 interpreter = Interpreter(model_content=tflite_model) 112 interpreter = Interpreter(model_content=tflite_model) 148 interpreter = Interpreter(model_content=tflite_model) 191 interpreter = Interpreter(model_content=tflite_model) 273 interpreter = Interpreter(model_content=tflite_model) 318 interpreter = Interpreter(model_content=tflite_model) 354 interpreter = Interpreter(model_content=tflite_model) 382 interpreter = Interpreter(model_content=tflite_model) 428 interpreter = Interpreter(model_content=tflite_model)
|
D | interpreter.py | 398 model_content=None, argument 447 if model_path and not model_content: 460 elif model_content and not model_path: 470 self._model_content = model_content 473 model_content, op_resolver_id, custom_op_registerers_by_name, 475 elif not model_content and not model_path:
|
D | lite_v2_test.py | 156 interpreter = tf.lite.Interpreter(model_content=tflite_model) 219 interpreter = Interpreter(model_content=tflite_model) 321 interpreter = Interpreter(model_content=quantized_tflite_model) 381 model_content=quantized_model, 404 model_content=quantized_model, 468 interpreter = Interpreter(model_content=quantized_tflite_model) 529 interpreter = Interpreter(model_content=quantized_tflite_model) 553 interpreter = Interpreter(model_content=tflite_model) 586 interpreter = Interpreter(model_content=tflite_model) 603 interpreter = Interpreter(model_content=tflite_model) [all …]
|
D | interpreter_test.py | 176 interpreter = interpreter_wrapper.Interpreter(model_content=data) 322 interpreter_wrapper.Interpreter(model_content=b'garbage') 340 interpreter_wrapper.Interpreter(model_path=None, model_content=None) 368 interpreter = tf.lite.Interpreter(model_content=model)
|
D | lite_v2_test_util.py | 51 interpreter = Interpreter(model_content=tflite_model) 85 interpreter = Interpreter(model_content=tflite_model)
|
D | util_test.py | 85 interpreter = tf.lite.Interpreter(model_content=tflite_model) 339 interpreter = tf.lite.Interpreter(model_content=model) 413 interpreter = tf.lite.Interpreter(model_content=modified_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/tensorflow/tensorflow/lite/g3doc/guide/ |
D | model_analyzer.ipynb | 86 " model_content=None,\n", 123 "tf.lite.experimental.Analyzer.analyze(model_content=fb_model)\n" 148 "tf.lite.experimental.Analyzer.analyze(model_content=fb_model)" 199 "tf.lite.experimental.Analyzer.analyze(model_content=fb_model, gpu_compatibility=True)" 232 "tf.lite.experimental.Analyzer.analyze(model_content=fb_model, gpu_compatibility=True)"
|
D | signatures.ipynb | 235 "interpreter = tf.lite.Interpreter(model_content=tflite_model)\n", 273 "interpreter = tf.lite.Interpreter(model_content=tflite_model)\n", 311 "interpreter = tf.lite.Interpreter(model_content=tflite_model)\n", 430 "interpreter = tf.lite.Interpreter(model_content=tflite_model)\n",
|
/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/tools/api/golden/v1/ |
D | tensorflow.lite.experimental.-analyzer.pbtxt | 10 …argspec: "args=[\'model_path\', \'model_content\', \'gpu_compatibility\'], varargs=None, keywords=…
|
D | tensorflow.lite.-interpreter.pbtxt | 7 …argspec: "args=[\'self\', \'model_path\', \'model_content\', \'experimental_delegates\', \'num_thr…
|
/external/tensorflow/tensorflow/tools/api/golden/v2/ |
D | tensorflow.lite.experimental.-analyzer.pbtxt | 10 …argspec: "args=[\'model_path\', \'model_content\', \'gpu_compatibility\'], varargs=None, keywords=…
|
/external/tensorflow/tensorflow/python/kernel_tests/signal/ |
D | test_util.py | 82 the_interpreter = interpreter.Interpreter(model_content=tflite_model)
|
/external/tensorflow/tensorflow/lite/testing/op_tests/ |
D | gelu.py | 31 interpreter = tf.lite.Interpreter(model_content=tflite_model_binary)
|
D | hardswish.py | 33 interpreter = tf.lite.Interpreter(model_content=tflite_model_binary)
|
D | dynamic_update_slice.py | 32 interpreter = tf.lite.Interpreter(model_content=tflite_model_binary)
|