/frameworks/ml/nn/runtime/test/specs/V1_3/ |
D | while_sum_of_powers_quant8_signed.mod.py | 35 def quantize(data, scale, offset): function 88 zero = Parameter("zero", DataType10, quantize([0, 0], 1.0, 12)) 104 sum_init = Parameter("sum_init", DataType10, quantize([1, 1], 1.0, 12)) 109 x: quantize(x_data, 0.5, 12), 111 sum: quantize(sum_data, 1.0, 12),
|
D | while_sum_of_powers_quant8.mod.py | 35 def quantize(data, scale, offset): function 88 zero = Parameter("zero", DataType10, quantize([0, 0], 1.0, 128)) 104 sum_init = Parameter("sum_init", DataType10, quantize([1, 1], 1.0, 128)) 109 x: quantize(x_data, 0.5, 128), 111 sum: quantize(sum_data, 1.0, 128),
|
D | tanh_quant8_signed.mod.py | 24 def quantize(x): function 32 output_values = [quantize(math.tanh(dequantize(x))) for x in input_values]
|
D | sub_quant8_signed.mod.py | 23 def quantize(x, scale, offset): function 32 return quantize(a_dequantized - b_dequantized, output_scale, output_offset)
|
/frameworks/ml/nn/common/operations/ |
D | Quantize.cpp | 30 namespace quantize { namespace 131 NN_REGISTER_OPERATION(QUANTIZE, "QUANTIZE", quantize::validate, quantize::prepare, 132 quantize::execute, .allowZeroSizedInput = true);
|
/frameworks/ml/nn/runtime/test/generated/spec_V1_2/ |
D | quantize.example.cpp | 7 namespace generated_tests::quantize { namespace 54 namespace generated_tests::quantize { namespace 135 namespace generated_tests::quantize { namespace 182 namespace generated_tests::quantize { namespace 263 namespace generated_tests::quantize { namespace 310 namespace generated_tests::quantize { namespace 391 namespace generated_tests::quantize { namespace 438 namespace generated_tests::quantize { namespace 519 namespace generated_tests::quantize { namespace 566 namespace generated_tests::quantize { namespace [all …]
|
/frameworks/ml/nn/runtime/test/specs/V1_2/ |
D | sub_quantized_different_scales.mod.py | 22 def quantize(x, scale, offset): function 31 return quantize(a_dequantized - b_dequantized, output_scale, output_offset)
|
D | tanh_v1_2.mod.py | 38 def quantize(x): function 46 output_values = [quantize(math.tanh(dequantize(x))) for x in input_values]
|
/frameworks/rs/tests/java_api/Refocus/src/com/android/rs/test/ |
D | DepthTransform.java | 29 public int quantize(float depth); in quantize() method
|
D | BlurStack.java | 151 depthTransform.quantize(focusDepth3D * (1 - depthOfField))); in createFromDepthTransform() 153 depthTransform.quantize(focusDepth3D * (1 + depthOfField))); in createFromDepthTransform()
|
D | DepthImage.java | 141 int value = transform.quantize(floatPixels[i]) & 0xFF; in createFromPFM()
|
/frameworks/base/core/java/com/android/internal/graphics/palette/ |
D | Quantizer.java | 25 void quantize(final int[] pixels, final int maxColors, final Palette.Filter[] filters); in quantize() method
|
D | VariationalKMeansQuantizer.java | 76 public void quantize(int[] pixels, int maxColors, Palette.Filter[] filters) { in quantize() method in VariationalKMeansQuantizer
|
D | ColorCutQuantizer.java | 91 public void quantize(final int[] pixels, final int maxColors, final Palette.Filter[] filters) { in quantize() method in ColorCutQuantizer
|
D | Palette.java | 838 mQuantizer.quantize(getPixelsFromBitmap(bitmap), in generate()
|
/frameworks/rs/tests/java_api/Refocus/src/com/android/rs/test/image/ |
D | RangeLinearDepthTransform.java | 39 public int quantize(float value) { in quantize() method in RangeLinearDepthTransform
|
D | RangeInverseDepthTransform.java | 38 public int quantize(float value) { in quantize() method in RangeInverseDepthTransform
|
/frameworks/ml/nn/common/ |
D | OperationsUtils.cpp | 55 auto quantize = [scale, zero_point](float f) { in CalculateActivationRangeImpl() local 60 *act_min = std::max(qmin, quantize(0.0)); in CalculateActivationRangeImpl() 63 *act_min = std::max(qmin, quantize(0.0)); in CalculateActivationRangeImpl() 64 *act_max = std::min(qmax, quantize(6.0)); in CalculateActivationRangeImpl() 66 *act_min = std::max(qmin, quantize(-1.0)); in CalculateActivationRangeImpl() 67 *act_max = std::min(qmax, quantize(1.0)); in CalculateActivationRangeImpl()
|