Searched refs:_calibrator (Results 1 – 3 of 3) sorted by relevance
57 self._calibrator = (61 if not self._calibrator:97 self._calibrator.Prepare([list(s.shape) for s in sample])99 self._calibrator.Prepare()100 self._calibrator.FeedTensor(sample)101 return self._calibrator.QuantizeModel(138 self._calibrator.Prepare([list(s.shape) for s in sample])140 self._calibrator.Prepare()141 self._calibrator.FeedTensor(sample)142 return self._calibrator.QuantizeModel([all …]
26 from tensorflow.lite.python.optimize import calibrator as _calibrator unknown44 quantizer = _calibrator.Calibrator(float_model)67 quantizer = _calibrator.Calibrator(float_model)85 quantizer = _calibrator.Calibrator(float_model)101 quantizer = _calibrator.Calibrator(model_with_string_input)123 quantizer = _calibrator.Calibrator(float_model)140 _calibrator.Calibrator(float_model)147 quantizer = _calibrator.Calibrator(float_model)161 quantizer = _calibrator.Calibrator(float_model)177 quantizer = _calibrator.Calibrator(float_model)[all …]
56 from tensorflow.lite.python.optimize import calibrator as _calibrator unknown481 result = _calibrator.add_intermediate_tensors(result)482 calibrate_quantize = _calibrator.Calibrator(result)