Home
last modified time | relevance | path

Searched refs:input_multiplier (Results 1 – 3 of 3) sorted by relevance

/cmsis-nn-3.6.0-3.5.0/Source/ActivationFunctions/
Darm_nn_activation_s16.c72 int32_t input_multiplier = ((int32_t)3) << left_shift; in arm_nn_activation_s16() local
76 int32_t input_data = ((*input) * input_multiplier); in arm_nn_activation_s16()
/cmsis-nn-3.6.0-3.5.0/Tests/UnitTest/
Dmodel_extractor.py41 self.diff_min, self.input_multiplier, self.input_left_shift = 0, 0, 0
108 f.write("#define {}_MULT {}\n".format(prefix, self.input_multiplier))
Dgenerate_test_data.py1064 … (self.input_multiplier, self.input_left_shift) = self.quantize_scale(input_scale_beta_rescale)
1067 … (self.input_multiplier, self.input_left_shift) = self.quantize_scale(input_real_multiplier)
1084 f.write("#define {}_INPUT_MULT {}\n".format(prefix, self.input_multiplier))