Home
last modified time | relevance | path

Searched refs:quantize (Results 1 – 21 of 21) sorted by relevance

/packages/modules/NeuralNetworks/runtime/test/specs/V1_3/
Dwhile_sum_of_powers_quant8.mod.py35 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),
Dwhile_sum_of_powers_quant8_signed.mod.py35 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),
Dtanh_quant8_signed.mod.py24 def quantize(x): function
32 output_values = [quantize(math.tanh(dequantize(x))) for x in input_values]
Dsub_quant8_signed.mod.py23 def quantize(x, scale, offset): function
32 return quantize(a_dequantized - b_dequantized, output_scale, output_offset)
/packages/modules/NeuralNetworks/runtime/test/generated/spec_V1_2/
Dquantize.example.cpp7 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 …]
/packages/modules/NeuralNetworks/common/cpu_operations/
DQuantize.cpp31 namespace quantize { namespace
104 NN_REGISTER_OPERATION_DEFAULT_VALIDATION(QUANTIZE, quantize::prepare, quantize::execute,
/packages/modules/NeuralNetworks/common/types/operations/src/
DQuantize.cpp22 namespace quantize { namespace
46 NN_DEFINE_VALIDATION_FUNCTION(QUANTIZE, quantize::validate);
/packages/modules/NeuralNetworks/runtime/test/specs/V1_2/
Dsub_quantized_different_scales.mod.py22 def quantize(x, scale, offset): function
31 return quantize(a_dequantized - b_dequantized, output_scale, output_offset)
Dtanh_v1_2.mod.py38 def quantize(x): function
46 output_values = [quantize(math.tanh(dequantize(x))) for x in input_values]
/packages/modules/NeuralNetworks/common/
DOperationsExecutionUtils.cpp42 auto quantize = [scale, zero_point](float f) { in CalculateActivationRangeImpl() local
47 *act_min = std::max(qmin, quantize(0.0)); in CalculateActivationRangeImpl()
50 *act_min = std::max(qmin, quantize(0.0)); in CalculateActivationRangeImpl()
51 *act_max = std::min(qmax, quantize(6.0)); in CalculateActivationRangeImpl()
53 *act_min = std::max(qmin, quantize(-1.0)); in CalculateActivationRangeImpl()
54 *act_max = std::min(qmax, quantize(1.0)); in CalculateActivationRangeImpl()
/packages/modules/NeuralNetworks/common/types/operations/include/
DQuantize.h22 namespace android::nn::quantize {
/packages/modules/Bluetooth/system/embdrv/lc3/src/
Dspec.c208 LC3_HOT static void quantize(enum lc3_dt dt, enum lc3_srate sr, in quantize() function
797 quantize(dt, sr, g_int, x, xq, &side->nq); in lc3_spec_analyze()
809 quantize(dt, sr, g_adj, x, xq, &side->nq); in lc3_spec_analyze()
Dsns.c423 LC3_HOT static void quantize(const float *scf, int lfcb_idx, int hfcb_idx, in quantize() function
744 quantize(scf, data->lfcb, data->hfcb, in lc3_sns_analyze()
/packages/modules/Bluetooth/system/embdrv/lc3/test/
Dspec.py121 def quantize(self, g_int, x): member in SpectrumAnalysis
276 (xg, xq, lastnz) = self.quantize(g_int, x)
287 (xg, xq, lastnz) = self.quantize(g_adj, xg)
606 (xg, xq, nq) = analysis.quantize(g_int, x)
Dsns_py.c84 quantize(scf, lfcb_idx, hfcb_idx, in quantize_py()
Dspec_py.c91 quantize(dt, sr, g_int, x, __xq, &nq); in quantize_py()
Dencoder.py72 (xq, lastnz, x) = self.spec.quantize(bw, nbytes,
Dsns.py168 def quantize(self, scf): member in SnsAnalysis
300 scf_q = self.quantize(scf)
/packages/modules/Bluetooth/system/build/secondary/third_party/aac/
DBUILD.gn104 "libAACenc/src/quantize.cpp",
/packages/inputmethods/LatinIME/dictionaries/
Den_US_wordlist.combined.gz1dictionary=main:en_us,locale=en_US,description=English (US),date ...
Den_wordlist.combined.gz1dictionary=main:en,locale=en,description=English,date=1414726273, ...