Searched refs:input_scale (Results 1 – 23 of 23) sorted by relevance
/cmsis-nn-latest/Tests/UnitTest/TestCases/Common/Softmax/ |
D | softmax_int8_to_int16_template.json | 23 input_scale
|
/cmsis-nn-latest/Tests/UnitTest/TestCases/Common/ |
D | fc_weights_template_null_bias.json | 23 input_scale
|
D | fc_weights_template_null_bias_unpacked.json | 23 input_scale
|
D | fc_weights_template.json | 23 input_scale
|
D | fc_weights_template_unpacked.json | 23 input_scale
|
D | svdf_s8_weights_template.json | 22 input_scale
|
D | svdf_template.json | 22 input_scale
|
D | conv2d_s4_weights_template.json | 25 input_scale
|
D | dw_s4_weights_template.json | 24 input_scale
|
/cmsis-nn-latest/Tests/UnitTest/RefactoredTestGen/JsonTemplates/ |
D | fully_connected_null_bias.json | 23 input_scale
|
D | fully_connected.json | 23 input_scale
|
D | lstm_s16.json | 24 input_scale
|
D | lstm_s16_tm.json | 24 input_scale
|
/cmsis-nn-latest/Tests/UnitTest/ |
D | softmax_settings.py | 38 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 <…
|
D | svdf_settings.py | 41 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…
|
D | conv_settings.py | 155 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,
|
D | lstm_settings.py | 254 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…
|
D | fully_connected_settings.py | 52 input_scale=0.1, 102 "input_scale": input_scale, 131 input_product_scale = self.input_scale * weights_scale
|
D | model_extractor.py | 211 input_scale = input_tensor['quantization'][0] 244 self.input_scale, self.output_scale = input_scale, output_scale
|
D | test_settings.py | 498 (self.input_scale, self.input_zero_point) = input_details[0]['quantization']
|
D | generate_test_data.py | 2351 input_scale=0.034,
|
/cmsis-nn-latest/Tests/UnitTest/RefactoredTestGen/Lib/ |
D | op_fully_connected.py | 97 def quantize_multiplier(input_scale, weights_scale, output_scale): argument 103 input_product_scale = input_scale * weights_scale
|
D | op_lstm.py | 108 def calc_scale(name, input_scale, tensor_index): argument 112 effective_scales[name] = input_scale * scales[name + "_scale"] / pow(2, -12)
|