Home
last modified time | relevance | path

Searched refs:_calibrator (Results 1 – 3 of 3) sorted by relevance

/external/tensorflow/tensorflow/lite/python/optimize/
Dcalibrator.py68 self._calibrator = (
75 if not self._calibrator:
126 self._calibrator.Prepare([list(s.shape) for s in input_array],
129 self._calibrator.Prepare([list(s.shape) for s in input_array])
132 self._calibrator.Prepare(signature_key)
134 self._calibrator.Prepare()
136 self._calibrator.FeedTensor(input_array, signature_key)
138 self._calibrator.FeedTensor(input_array)
176 return self._calibrator.QuantizeModel(
212 return self._calibrator.QuantizeModel(
[all …]
Dcalibrator_test.py20 from tensorflow.lite.python.optimize import calibrator as _calibrator unknown
38 quantizer = _calibrator.Calibrator(float_model)
61 quantizer = _calibrator.Calibrator(float_model)
79 quantizer = _calibrator.Calibrator(float_model)
95 quantizer = _calibrator.Calibrator(model_with_string_input)
117 quantizer = _calibrator.Calibrator(float_model)
134 _calibrator.Calibrator(float_model)
141 quantizer = _calibrator.Calibrator(float_model)
155 quantizer = _calibrator.Calibrator(float_model)
176 quantizer = _calibrator.Calibrator(float_model)
[all …]
/external/tensorflow/tensorflow/lite/python/
Dlite.py54 from tensorflow.lite.python.optimize import calibrator as _calibrator unknown
608 result = _calibrator.add_intermediate_tensors(result)
609 calibrate_quantize = _calibrator.Calibrator(result,