OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:model_content
(Results
1 - 13
of
13
) sorted by null
/external/tensorflow/tensorflow/lite/python/optimize/
calibrator.py
37
def __init__(self,
model_content
):
41
model_content
: Content of a TF-Lite Flatbuffer file.
46
if not
model_content
:
47
raise ValueError("`
model_content
` must be specified.")
50
.CreateWrapperCPPFromBuffer(
model_content
))
/external/tensorflow/tensorflow/lite/python/
interpreter.py
54
def __init__(self, model_path=None,
model_content
=None):
59
model_content
: Content of model.
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
))
79
raise ValueError('`model_path` or `
model_content
` must be specified.')
81
raise ValueError('Can\'t both provide `model_path` and `
model_content
`')
lite_flex_test.py
48
interpreter = Interpreter(
model_content
=tflite_model)
lite_test.py
100
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
...]
interpreter_test.py
66
interpreter = interpreter_wrapper.Interpreter(
model_content
=data)
135
interpreter_wrapper.Interpreter(
model_content
=six.b('garbage'))
convert_test.py
109
interpreter = Interpreter(
model_content
=tflite_model)
146
interpreter = Interpreter(
model_content
=tflite_model)
lite_v2_test.py
42
interpreter = Interpreter(
model_content
=tflite_model)
/external/tensorflow/tensorflow/lite/tools/
verifier_test.cc
207
std::string
model_content
(reinterpret_cast<char*>(builder.GetBufferPointer()),
209
for (size_t i = 0; i <
model_content
.size(); i++) {
210
model_content
[i] = (
model_content
[i] + 137) % 255;
211
EXPECT_FALSE(Verify(
model_content
.data(),
model_content
.size(),
/external/tensorflow/tensorflow/lite/testing/model_coverage/
model_coverage_lib.py
101
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/lite/experimental/examples/lstm/
bidirectional_sequence_lstm_test.py
174
interpreter = tf.lite.Interpreter(
model_content
=tflite)
unidirectional_sequence_lstm_test.py
159
interpreter = tf.lite.Interpreter(
model_content
=tflite)
unidirectional_sequence_rnn_test.py
171
interpreter = tf.lite.Interpreter(
model_content
=tflite)
bidirectional_sequence_rnn_test.py
198
interpreter = tf.lite.Interpreter(
model_content
=tflite)
Completed in 412 milliseconds