HomeSort by relevance Sort by last modified time
    Searched refs:tflite_model (Results 1 - 13 of 13) sorted by null

  /external/tensorflow/tensorflow/lite/testing/
tflite_diff_util.cc 31 tflite_stream, options.tensorflow_model, options.tflite_model,
37 tflite_driver.LoadModel(options.tflite_model);
tflite_diff_flags.h 30 string tflite_model; member in struct:tflite::testing::__anon46237
42 tensorflow::Flag("tflite_model", &values.tflite_model,
68 } else if (values.tensorflow_model.empty() || values.tflite_model.empty() ||
79 values.tflite_model,
tflite_diff_util.h 30 string tflite_model; member in struct:tflite::testing::DiffOptions
  /external/tensorflow/tensorflow/lite/python/
lite_test.py 96 tflite_model = converter.convert()
97 self.assertTrue(tflite_model)
100 interpreter = Interpreter(model_content=tflite_model)
125 tflite_model = converter.convert()
126 self.assertTrue(tflite_model)
129 interpreter = Interpreter(model_content=tflite_model)
163 tflite_model = converter.convert()
164 self.assertTrue(tflite_model)
167 interpreter = Interpreter(model_content=tflite_model)
222 tflite_model = converter.convert(
    [all...]
lite_flex_test.py 43 tflite_model = converter.convert()
44 self.assertTrue(tflite_model)
48 interpreter = Interpreter(model_content=tflite_model)
lite_v2_test.py 40 def _evaluateTFLiteModel(self, tflite_model, input_data):
42 interpreter = Interpreter(model_content=tflite_model)
75 tflite_model = converter.convert()
79 actual_value = self._evaluateTFLiteModel(tflite_model, [input_data])
93 tflite_model = converter.convert()
97 actual_value = self._evaluateTFLiteModel(tflite_model, [input_data])
116 tflite_model = converter.convert()
120 actual_value = self._evaluateTFLiteModel(tflite_model, [input_data])
141 tflite_model = converter.convert()
145 actual_value = self._evaluateTFLiteModel(tflite_model, [input_data]
    [all...]
convert_test.py 48 tflite_model = convert.toco_convert(sess.graph_def, [in_tensor],
50 self.assertTrue(tflite_model)
76 tflite_model = convert.toco_convert(
80 self.assertTrue(tflite_model)
103 tflite_model = convert.toco_convert_graph_def(
106 self.assertTrue(tflite_model)
109 interpreter = Interpreter(model_content=tflite_model)
137 tflite_model = convert.toco_convert_graph_def(
143 self.assertTrue(tflite_model)
146 interpreter = Interpreter(model_content=tflite_model)
    [all...]
  /external/tensorflow/tensorflow/lite/testing/kernel_test/
util.h 32 string tflite_model; member in struct:tflite::testing::kernel_test::TestOptions
48 tensorflow::Flag("tflite_model", &options.tflite_model,
72 TF_LITE_ENSURE_STATUS(input_generator.LoadModel(options.tflite_model));
80 runner->LoadModel(options.tflite_model);
util_test.cc 32 options.tflite_model = "tensorflow/lite/testdata/add.bin";
  /external/tensorflow/tensorflow/lite/testing/model_coverage/
model_coverage_lib.py 91 def _generate_random_input_data(tflite_model, seed=None):
95 tflite_model: Serialized TensorFlow Lite model.
101 interpreter = _lite.Interpreter(model_content=tflite_model)
114 def _evaluate_tflite_model(tflite_model, input_data):
118 tflite_model: Serialized TensorFlow Lite model.
124 interpreter = _lite.Interpreter(model_content=tflite_model)
207 def compare_models(tflite_model, tf_eval_func, input_data=None, tolerance=5):
213 tflite_model: Serialized TensorFlow Lite model.
220 input_data = _generate_random_input_data(tflite_model)
222 tflite_results = _evaluate_tflite_model(tflite_model, input_data
    [all...]
  /external/tensorflow/tensorflow/lite/tools/optimize/calibration/
calibrator.cc 263 auto tflite_model = model.GetModel(); local
264 auto subgraphs = tflite_model->subgraphs();
265 auto tensor_buffers = tflite_model->buffers();
281 auto operator_codes = tflite_model->operator_codes();
  /external/tensorflow/tensorflow/lite/python/optimize/
calibration_wrapper.cc 162 auto tflite_model = CreateMutableModel(*model_->GetModel()); local
163 reader_->AddCalibrationToModel(tflite_model.get());
165 auto status = tflite::optimize::QuantizeModel(&builder, tflite_model.get(),
  /external/libtextclassifier/actions/
actions-suggestions.cc 252 model_->tflite_model_spec()->tflite_model());
    [all...]

Completed in 508 milliseconds