Home
last modified time | relevance | path

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

/cmsis-nn-latest/Tests/UnitTest/RefactoredTestGen/JsonTemplates/
Dlstm_s16.json314 cell_scale
Dlstm_s16_tm.json314 cell_scale
/cmsis-nn-latest/Tests/UnitTest/
Dlstm_settings.py256 cell_scale = cell_state['quantization_parameters']['scales'][0]
264 tmp = math.log(cell_scale) * (1 / math.log(2))
267 self.calc_scales(input_scale, output_state_scale, cell_scale)
311 def calc_scales(self, input_scale, output_state_scale, cell_scale): argument
320 self.effective_forget_scale = pow(2, -15) / cell_scale * cell_scale
321 self.effective_input_scale = pow(2, -15) / cell_scale * pow(2, -15)