Home
last modified time | relevance | path

Searched refs:quant_params (Results 1 – 6 of 6) sorted by relevance

/external/tensorflow/tensorflow/lite/tools/optimize/calibration/
Dcalibration_reader.cc44 auto quant_params = absl::make_unique<tflite::QuantizationParametersT>(); in AddCalibrationToModel() local
45 quant_params->min.push_back(min); in AddCalibrationToModel()
46 quant_params->max.push_back(max); in AddCalibrationToModel()
48 std::move(quant_params); in AddCalibrationToModel()
/external/tensorflow/tensorflow/lite/tools/optimize/
Dsubgraph_quantizer.cc295 auto quant_params = absl::make_unique<QuantizationParametersT>(); in PropagateMinMaxForAvgAndMaxPool() local
299 quant_params->min.push_back(min); in PropagateMinMaxForAvgAndMaxPool()
300 quant_params->max.push_back(max); in PropagateMinMaxForAvgAndMaxPool()
301 quant_params->scale.push_back(input_tensor->quantization->scale[0]); in PropagateMinMaxForAvgAndMaxPool()
302 quant_params->zero_point.push_back(input_tensor->quantization->zero_point[0]); in PropagateMinMaxForAvgAndMaxPool()
305 output_tensor->quantization = std::move(quant_params); in PropagateMinMaxForAvgAndMaxPool()
/external/v4l2_codec2/vda/
Dvp9_compressed_header_parser.cc68 if (fhdr->quant_params.IsLossless()) { in ReadTxMode()
Dvp9_parser.h236 Vp9QuantizationParams quant_params; member
Dvp9_uncompressed_header_parser.cc1077 ReadQuantizationParams(&fhdr->quant_params); in Parse()
Dvp9_parser.cc582 const Vp9QuantizationParams& quant = curr_frame_header_.quant_params; in SetupSegmentationDequant()