Searched refs:QuantizationParams (Results 1 – 13 of 13) sorted by relevance
/external/tensorflow/tensorflow/lite/toco/graph_transformations/ |
D | quantization_util.cc | 79 const Array& array, QuantizationParams* quantization_params) { in ChooseQuantizationParamsForArrayAndQuantizedDataType() 86 QuantizationParams* quantization_params) { in ChooseQuantizationParamsForArrayAndQuantizedDataType() 133 const Array& array, const QuantizationParams& quantization_params) { in QuantizeBuffer() 168 const QuantizationParams& quantization_params) { in QuantizeArray() 188 const QuantizationParams& quantization_params) { in QuantizeArray() 221 QuantizationParams quantization_params; in IsArrayQuantizedRangeSubset()
|
D | quantization_util.h | 45 QuantizationParams* quantization_params); 51 const QuantizationParams& quantization_params);
|
D | quantize.cc | 186 QuantizationParams* quantization_params) { in ChooseQuantizationForOperatorInput() 263 const QuantizationParams& quantization_params) { in IsExactlyRepresentable() 283 QuantizationParams* quantization_params) { in ChooseHardcodedQuantizationForOperatorOutput() 342 QuantizationParams* quantization_params) { in ChooseQuantizationForOperatorOutput() 415 const QuantizationParams& quantization_params, in FixMinMaxPostQuantization() 527 QuantizationParams quantization_params; in Run() 624 QuantizationParams quantization_params; in Run()
|
D | resolve_constant_fake_quant.cc | 115 QuantizationParams qparams; in Run()
|
/external/tensorflow/tensorflow/lite/kernels/internal/ |
D | quantization_util.h | 31 QuantizationParams ChooseQuantizationParams(double rmin, double rmax, in ChooseQuantizationParams() 45 QuantizationParams quantization_params; in ChooseQuantizationParams() 95 QuantizationParams quantization_params; in ChooseQuantizationParams() 102 QuantizationParams ChooseQuantizationParams(double rmin, double rmax) { in ChooseQuantizationParams()
|
D | quantization_util_test.cc | 160 QuantizationParams qp = ChooseQuantizationParams<uint8>(-10.0, 30.0); in TEST() 166 QuantizationParams qp = ChooseQuantizationParams<uint8>(0.0, 30.0); in TEST() 184 QuantizationParams qp = ChooseQuantizationParams<uint8>(0.0, 0.0); in TEST() 190 QuantizationParams qp = ChooseQuantizationParams<uint8>(-10.0, 0.0); in TEST()
|
D | types.h | 105 struct QuantizationParams { struct 110 inline bool operator==(const QuantizationParams& qp1, argument 111 const QuantizationParams& qp2) {
|
/external/gemmlowp/doc/ |
D | quantization_example.cc | 64 struct QuantizationParams { struct 71 QuantizationParams ChooseQuantizationParams(float min, float max) { in ChooseQuantizationParams() argument 108 QuantizationParams result; in ChooseQuantizationParams() 133 void Quantize(const QuantizationParams& qparams, const std::vector<float>& src, in Quantize() 144 void Dequantize(const QuantizationParams& qparams, in Dequantize()
|
/external/tensorflow/tensorflow/lite/kernels/ |
D | test_util.h | 348 std::pair<float, int32_t> QuantizationParams(float f_min, float f_max) { in QuantizationParams() function 395 QuantizationParams<uint8_t>(t.min, t.max); 398 QuantizationParams<int8_t>(t.min, t.max); 401 QuantizationParams<int32_t>(t.min, t.max); 404 QuantizationParams<int16_t>(t.min, t.max);
|
/external/tensorflow/tensorflow/lite/toco/ |
D | model.h | 35 using tflite::QuantizationParams; 2126 QuantizationParams& GetOrCreateQuantizationParams() { 2129 std::unique_ptr<QuantizationParams>(new QuantizationParams); 2133 QuantizationParams& GetQuantizationParams() const { 2221 std::unique_ptr<QuantizationParams> quantization_params;
|
/external/tensorflow/tensorflow/lite/experimental/c/ |
D | c_api_test.cc | 98 TEST(CApiSimple, QuantizationParams) { in TEST() argument
|
/external/tensorflow/tensorflow/lite/toco/tflite/ |
D | import.cc | 92 QuantizationParams& q = array.GetOrCreateQuantizationParams(); in ImportTensors()
|
/external/tensorflow/tensorflow/contrib/lite/kernels/internal/ |
D | types.h | 111 struct QuantizationParams { struct
|