Home
last modified time | relevance | path

Searched refs:input_scale (Results 1 – 23 of 23) sorted by relevance

/cmsis-nn-latest/Tests/UnitTest/TestCases/Common/Softmax/
Dsoftmax_int8_to_int16_template.json23 input_scale
/cmsis-nn-latest/Tests/UnitTest/TestCases/Common/
Dfc_weights_template_null_bias.json23 input_scale
Dfc_weights_template_null_bias_unpacked.json23 input_scale
Dfc_weights_template.json23 input_scale
Dfc_weights_template_unpacked.json23 input_scale
Dsvdf_s8_weights_template.json22 input_scale
Dsvdf_template.json22 input_scale
Dconv2d_s4_weights_template.json25 input_scale
Ddw_s4_weights_template.json24 input_scale
/cmsis-nn-latest/Tests/UnitTest/RefactoredTestGen/JsonTemplates/
Dfully_connected_null_bias.json23 input_scale
Dfully_connected.json23 input_scale
Dlstm_s16.json24 input_scale
Dlstm_s16_tm.json24 input_scale
/cmsis-nn-latest/Tests/UnitTest/
Dsoftmax_settings.py38 input_scale=0.003922, argument
68 self.input_scale = input_scale
73 "input_scale": input_scale,
79 input_scale_beta_rescale = self.input_scale / (10.0 / 65535.0)
82 …input_real_multiplier = min(self.input_scale * (1 << (31 - self.softmax_input_integer_bits)), (1 <…
Dsvdf_settings.py41 input_scale=0.1, argument
104 "input_scale": input_scale,
118 …def calc_multipliers_and_shifts(self, input_scale, weights_1_scale, weights_2_scale, state_scale, … argument
119 effective_scale_1 = weights_1_scale * input_scale / state_scale
211 (input_scale, self.input_zero_point) = self.get_scale_and_zp(input_layer)
218 …self.calc_multipliers_and_shifts(input_scale, weights_1_scale, weights_2_scale, state_scale, outpu…
Dconv_settings.py155 effective_output_scale = self.input_scale * self.scaling_factors[i] / self.output_scale
163 def generate_int4_scale(self, scale, shift, input_scale): argument
166 self.input_scale = input_scale
236 input_scale = 0.046774
246 output_scale, output_zp = self.generate_int4_scale(4684910.0, -2, input_scale)
283 "input_scale": input_scale,
Dlstm_settings.py254 input_scale = input_data_for_index['quantization_parameters']['scales'][0]
267 self.calc_scales(input_scale, output_state_scale, cell_scale)
311 def calc_scales(self, input_scale, output_state_scale, cell_scale): argument
324 …self.i2i_effective_scale = input_scale * self.lstm_scales[self.input_to_input_w_index + time_major…
326 …self.i2f_effective_scale = input_scale * self.lstm_scales[self.input_to_forget_w_index + time_majo…
328 …self.i2c_effective_scale = input_scale * self.lstm_scales[self.input_to_cell_w_index + time_major_…
330 …self.i2o_effective_scale = input_scale * self.lstm_scales[self.input_to_output_w_index + time_majo…
Dfully_connected_settings.py52 input_scale=0.1,
102 "input_scale": input_scale,
131 input_product_scale = self.input_scale * weights_scale
Dmodel_extractor.py211 input_scale = input_tensor['quantization'][0]
244 self.input_scale, self.output_scale = input_scale, output_scale
Dtest_settings.py498 (self.input_scale, self.input_zero_point) = input_details[0]['quantization']
Dgenerate_test_data.py2351 input_scale=0.034,
/cmsis-nn-latest/Tests/UnitTest/RefactoredTestGen/Lib/
Dop_fully_connected.py97 def quantize_multiplier(input_scale, weights_scale, output_scale): argument
103 input_product_scale = input_scale * weights_scale
Dop_lstm.py108 def calc_scale(name, input_scale, tensor_index): argument
112 effective_scales[name] = input_scale * scales[name + "_scale"] / pow(2, -12)