[Version] : 0.0.7
[Issue type] : new feature
Add quantization type to tensor info for quantization tensor.
Change-Id: I65f06daa99af4740cf3ac62884077286c5aa6e38
Signed-off-by: Inki Dae <inki.dae@samsung.com>
Name: inference-engine-tflite
Summary: Tensorflow-Lite based implementation of inference-engine-interface
-Version: 0.0.6
+Version: 0.0.7
Release: 0
Group: Multimedia/Libraries
License: Apache-2.0
tensor_info.scale = quant_parms->scale->data[0];
tensor_info.zero_point = quant_parms->zero_point->data[0];
- LOGD("scale of %s : %f", tensor->name, tensor_info.scale);
- LOGD("zero_point of %s : %d", tensor->name, tensor_info.zero_point);
+ if (tensor->quantization.type == kTfLiteAffineQuantization)
+ tensor_info.quantization_type = INFERENCE_TENSOR_QUANTIZATION_AFFINE;
}
}