Home
last modified time | relevance | path

Searched refs:src_quantization (Results 1 – 2 of 2) sorted by relevance

/external/tensorflow/tensorflow/lite/
Dmodel.cc303 const QuantizationParameters* src_quantization, in ParseQuantization() argument
306 if (!src_quantization || !src_quantization->scale() || in ParseQuantization()
307 src_quantization->scale()->size() == 0) { in ParseQuantization()
310 if (!src_quantization->zero_point()) { in ParseQuantization()
317 if (src_quantization->scale()->size() != in ParseQuantization()
318 src_quantization->zero_point()->size()) { in ParseQuantization()
322 src_quantization->zero_point()->size(), in ParseQuantization()
323 src_quantization->scale()->size()); in ParseQuantization()
331 const size_t num_scales = src_quantization->scale()->size(); in ParseQuantization()
335 affine_quantization->scale->data[i] = src_quantization->scale()->Get(i); in ParseQuantization()
[all …]
Dmodel.h207 TfLiteStatus ParseQuantization(const QuantizationParameters* src_quantization,