Home
last modified time | relevance | path

Searched refs:QuantizationParams (Results 1 – 25 of 28) sorted by relevance

12

/external/tensorflow/tensorflow/lite/toco/graph_transformations/
Dquantization_util.cc79 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()
Dquantization_util.h45 QuantizationParams* quantization_params);
51 const QuantizationParams& quantization_params);
Dquantize.cc227 QuantizationParams* quantization_params) { in ChooseQuantizationForOperatorInput()
311 const QuantizationParams& quantization_params) { in IsExactlyRepresentable()
331 QuantizationParams* quantization_params) { in ChooseHardcodedQuantizationForOperatorOutput()
390 QuantizationParams* quantization_params) { in ChooseQuantizationForOperatorOutput()
464 const QuantizationParams& quantization_params, in FixMinMaxPostQuantization()
576 QuantizationParams quantization_params; in Run()
669 QuantizationParams quantization_params; in Run()
Dresolve_constant_fake_quant.cc115 QuantizationParams qparams; in Run()
/external/tensorflow/tensorflow/lite/kernels/internal/
Dquantization_util.h31 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()
Dquantization_util_test.cc163 QuantizationParams qp = ChooseQuantizationParams<uint8>(-10.0, 30.0); in TEST()
169 QuantizationParams qp = ChooseQuantizationParams<uint8>(0.0, 30.0); in TEST()
187 QuantizationParams qp = ChooseQuantizationParams<uint8>(0.0, 0.0); in TEST()
193 QuantizationParams qp = ChooseQuantizationParams<uint8>(-10.0, 0.0); in TEST()
Dtypes.h132 struct QuantizationParams { struct
137 inline bool operator==(const QuantizationParams& qp1, argument
138 const QuantizationParams& qp2) {
/external/tensorflow/tensorflow/lite/java/src/main/java/org/tensorflow/lite/
DTensor.java61 public static class QuantizationParams { class in Tensor
73 public QuantizationParams(final float scale, final int zeroPoint) { in QuantizationParams() method in Tensor.QuantizationParams
166 public QuantizationParams quantizationParams() { in quantizationParams()
501 private final QuantizationParams quantizationParamsCopy;
509 new QuantizationParams( in Tensor()
/external/gemmlowp/doc/
Dquantization_example.cc64 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/experimental/examples/unity/TensorFlowLitePlugin/Assets/TensorFlowLite/SDK/Scripts/
DInterpreter.cs46 public QuantizationParams quantizationParams { get; internal set; }
186 public struct QuantizationParams { struct in TensorFlowLite.Interpreter
272 …private static extern unsafe QuantizationParams TfLiteTensorQuantizationParams(TfLiteTensor tensor… in TfLiteTensorQuantizationParams()
/external/tensorflow/tensorflow/lite/micro/kernels/
Dquantize.h24 tflite::QuantizationParams quantization_params;
Dquantization_util_test.cc205 tflite::QuantizationParams qp = in TF_LITE_MICRO_TEST()
213 tflite::QuantizationParams qp = in TF_LITE_MICRO_TEST()
221 tflite::QuantizationParams qp = in TF_LITE_MICRO_TEST()
229 tflite::QuantizationParams qp = in TF_LITE_MICRO_TEST()
/external/tensorflow/tensorflow/lite/delegates/gpu/common/
Dmodel.h44 struct QuantizationParams { struct
54 absl::optional<QuantizationParams> quant_params; argument
Dquantization_util.cc70 tflite::QuantizationParams op_params; in QuantizeOutput()
Dmodel_builder_helper.h58 QuantizationParams* quant_params);
Dmodel_builder_helper.cc163 QuantizationParams* quant_params) { in PopulateQuantParams()
/external/tensorflow/tensorflow/lite/kernels/internal/reference/
Dquantize.h31 inline void AffineQuantize(const tflite::QuantizationParams& op_params, in AffineQuantize()
/external/tensorflow/tensorflow/lite/toco/
Dmodel.h36 using tflite::QuantizationParams;
2258 QuantizationParams& GetOrCreateQuantizationParams() {
2261 std::unique_ptr<QuantizationParams>(new QuantizationParams);
2265 QuantizationParams& GetQuantizationParams() const {
2353 std::unique_ptr<QuantizationParams> quantization_params;
/external/tensorflow/tensorflow/lite/kernels/
Dquantize.cc48 static inline void AffineQuantize(const tflite::QuantizationParams& op_params, in AffineQuantize()
165 tflite::QuantizationParams op_params; in Eval()
Dtest_util.h644 QuantizationParams<uint8_t>(t.min, t.max);
647 QuantizationParams<int8_t>(t.min, t.max);
650 QuantizationParams<int32_t>(t.min, t.max);
653 QuantizationParams<int16_t>(t.min, t.max);
696 std::pair<float, int32_t> QuantizationParams(float f_min, float f_max) { in QuantizationParams() function
/external/tensorflow/tensorflow/lite/java/src/test/java/org/tensorflow/lite/
DTensorTest.java34 import org.tensorflow.lite.Tensor.QuantizationParams;
514 QuantizationParams quantizationParams = tensor.quantizationParams(); in testQuantizationParameters_floatModel()
527 QuantizationParams quantizationParams = tensor.quantizationParams(); in testQuantizationParameters_quantizedModel()
/external/tensorflow/tensorflow/lite/delegates/gpu/common/transformations/
Dadd_quant_adjustments_test.cc37 void AddQuantParams(absl::optional<QuantizationParams>* params, float min, in AddQuantParams()
/external/tensorflow/tensorflow/lite/micro/kernels/ceva/
Dtypes.h300 struct QuantizationParams {
305 inline bool operator==(const QuantizationParams& qp1,
306 const QuantizationParams& qp2) {
/external/tensorflow/tensorflow/lite/toco/tflite/
Dimport.cc93 QuantizationParams& q = array.GetOrCreateQuantizationParams(); in ImportTensors()
/external/tensorflow/tensorflow/lite/c/
Dc_api_test.cc105 TEST(CApiSimple, QuantizationParams) { in TEST() argument

12