Home
last modified time | relevance | path

Searched refs:decimals (Results 1 – 8 of 8) sorted by relevance

/cmsis-nn-latest/Tests/UnitTest/RefactoredTestGen/Lib/
Dop_utils.py62 def generate_tf_tensor(dims, minval, maxval, decimals=0, datatype=tf.float32): argument
64 array = np.round(array, decimals=decimals)
Dop_lstm.py67 … input_weights = Lib.op_utils.generate_tf_tensor(shapes["all_input_weights"], -1, 1, decimals=8)
70 … hidden_weights = Lib.op_utils.generate_tf_tensor(shapes["all_hidden_weights"], -1, 1, decimals=8)
73 biases = Lib.op_utils.generate_tf_tensor(shapes["all_bias"], -1, 1, decimals=8) * 0
Dop_conv.py89 shapes["weight_shape"], params["weights_min"], params["weights_max"], decimals=8)
Dtest.py103 …input_tensor = Lib.op_utils.generate_tf_tensor(shapes["input"], minval, maxval, decimals=0, dataty…
/cmsis-nn-latest/Tests/UnitTest/
Dadd_mul_settings.py80 decimals=self.decimal_input)
84 decimals=self.decimal_input)
Dlstm_settings.py119 decimals=8,
129 decimals=8,
140 decimals=8,
Dtest_settings.py249 … def get_randomized_data(self, dims, npfile, regenerate, decimals=0, minrange=None, maxrange=None): argument
257 if decimals == 0:
262 data = np.around(data.numpy(), decimals)
Dconv_settings.py233 decimals=1,
330 decimals=1,