Searched refs:weights_2_scale (Results 1 – 1 of 1) sorted by relevance
/cmsis-nn-3.6.0-3.5.0/Tests/UnitTest/ |
D | generate_test_data.py | 1242 …def calc_multipliers_and_shifts(self, input_scale, weights_1_scale, weights_2_scale, state_scale, … argument 1244 effective_scale_2 = state_scale * weights_2_scale / output_scale 1327 (weights_2_scale, zero_point) = self.get_scale_and_zp(weights_2_layer) 1332 …self.calc_multipliers_and_shifts(input_scale, weights_1_scale, weights_2_scale, state_scale, outpu…
|