Home
last modified time | relevance | path

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

/external/tensorflow/tensorflow/lite/python/
Dinterpreter.py54 def __init__(self, model_path=None, model_content=None): argument
64 if model_path and not model_content:
70 elif model_content and not model_path:
74 self._model_content = model_content
77 model_content))
Dlite_test.py100 interpreter = Interpreter(model_content=tflite_model)
129 interpreter = Interpreter(model_content=tflite_model)
167 interpreter = Interpreter(model_content=tflite_model)
226 interpreter = Interpreter(model_content=tflite_model)
269 interpreter = Interpreter(model_content=tflite_model)
322 interpreter = Interpreter(model_content=tflite_model)
355 interpreter = Interpreter(model_content=tflite_model)
402 interpreter = Interpreter(model_content=tflite_model)
436 interpreter = Interpreter(model_content=tflite_model)
468 interpreter = Interpreter(model_content=tflite_model)
[all …]
Dlite_flex_test.py48 interpreter = Interpreter(model_content=tflite_model)
Dinterpreter_test.py66 interpreter = interpreter_wrapper.Interpreter(model_content=data)
135 interpreter_wrapper.Interpreter(model_content=six.b('garbage'))
Dconvert_test.py109 interpreter = Interpreter(model_content=tflite_model)
146 interpreter = Interpreter(model_content=tflite_model)
Dlite_v2_test.py42 interpreter = Interpreter(model_content=tflite_model)
/external/tensorflow/tensorflow/lite/python/optimize/
Dcalibrator.py37 def __init__(self, model_content): argument
46 if not model_content:
50 .CreateWrapperCPPFromBuffer(model_content))
/external/tensorflow/tensorflow/lite/tools/
Dverifier_test.cc207 std::string model_content(reinterpret_cast<char*>(builder.GetBufferPointer()), in TEST()
209 for (size_t i = 0; i < model_content.size(); i++) { in TEST()
210 model_content[i] = (model_content[i] + 137) % 255; in TEST()
211 EXPECT_FALSE(Verify(model_content.data(), model_content.size(), in TEST()
/external/tensorflow/tensorflow/lite/testing/model_coverage/
Dmodel_coverage_lib.py101 interpreter = _lite.Interpreter(model_content=tflite_model)
124 interpreter = _lite.Interpreter(model_content=tflite_model)
284 interpreter_float = _lite.Interpreter(model_content=tflite_model_float)
294 interpreter_quant = _lite.Interpreter(model_content=tflite_model_quant)
/external/tensorflow/tensorflow/tools/api/golden/v2/
Dtensorflow.lite.-interpreter.pbtxt7 …argspec: "args=[\'self\', \'model_path\', \'model_content\'], varargs=None, keywords=None, default…
/external/tensorflow/tensorflow/tools/api/golden/v1/
Dtensorflow.lite.-interpreter.pbtxt7 …argspec: "args=[\'self\', \'model_path\', \'model_content\'], varargs=None, keywords=None, default…
/external/tensorflow/tensorflow/lite/g3doc/r2/convert/
Dpython_api.md111 file, use `model_path` instead of `model_content`.
136 interpreter = tf.lite.Interpreter(model_content=tflite_model)
/external/tensorflow/tensorflow/lite/experimental/examples/lstm/
Dunidirectional_sequence_rnn_test.py171 interpreter = tf.lite.Interpreter(model_content=tflite)
Dunidirectional_sequence_lstm_test.py159 interpreter = tf.lite.Interpreter(model_content=tflite)
Dbidirectional_sequence_lstm_test.py174 interpreter = tf.lite.Interpreter(model_content=tflite)
Dbidirectional_sequence_rnn_test.py198 interpreter = tf.lite.Interpreter(model_content=tflite)
/external/tensorflow/tensorflow/lite/g3doc/convert/
Dpython_api.md233 interpreter = tf.lite.Interpreter(model_content=tflite_model)