Searched refs:decimals (Results 1 – 8 of 8) sorted by relevance
/cmsis-nn-latest/Tests/UnitTest/RefactoredTestGen/Lib/ |
D | op_utils.py | 62 def generate_tf_tensor(dims, minval, maxval, decimals=0, datatype=tf.float32): argument 64 array = np.round(array, decimals=decimals)
|
D | op_lstm.py | 67 … 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
|
D | op_conv.py | 89 shapes["weight_shape"], params["weights_min"], params["weights_max"], decimals=8)
|
D | test.py | 103 …input_tensor = Lib.op_utils.generate_tf_tensor(shapes["input"], minval, maxval, decimals=0, dataty…
|
/cmsis-nn-latest/Tests/UnitTest/ |
D | add_mul_settings.py | 80 decimals=self.decimal_input) 84 decimals=self.decimal_input)
|
D | lstm_settings.py | 119 decimals=8, 129 decimals=8, 140 decimals=8,
|
D | test_settings.py | 249 … 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)
|
D | conv_settings.py | 233 decimals=1, 330 decimals=1,
|