Home
last modified time | relevance | path

Searched refs:minval (Results 1 – 5 of 5) sorted by relevance

/cmsis-nn-latest/Tests/UnitTest/RefactoredTestGen/Lib/
Dop_lstm.py143 minval = 0.0001
145 scales["input_scale"] = np.round(np.random.rand(1) * (maxval - minval) + minval, 6)[0]
146 scales["cell_scale"] = np.round(np.random.rand(1) * (maxval - minval) + maxval, 6)[0]
147 scales["output_scale"] = np.round(np.random.rand(1) * (maxval - minval) + minval, 6)[0]
158 scales[name + "_scale"] = np.round(np.random.rand(1) * (maxval - minval) + minval, 6)[0]
171 minval = Lib.op_utils.get_dtype_min(params["weights_data_type"])
173 …tensors["input_gate_hidden_weights"] = np.random.randint(minval, maxval, size=shapes["hidden_weigh…
174 …tensors["forget_gate_hidden_weights"] = np.random.randint(minval, maxval, size=shapes["hidden_weig…
175 …tensors["cell_gate_hidden_weights"] = np.random.randint(minval, maxval, size=shapes["hidden_weight…
176 …tensors["output_gate_hidden_weights"] = np.random.randint(minval, maxval, size=shapes["hidden_weig…
[all …]
Dop_utils.py62 def generate_tf_tensor(dims, minval, maxval, decimals=0, datatype=tf.float32): argument
63 array = minval + (maxval - minval) * np.random.rand(*dims)
Dop_fully_connected.py80 minval = -7
82 weights = np.random.randint(minval, maxval, size=shapes["weight_shape"])
93 tensors["input_bias"] = np.random.randint(minval, maxval, size=shapes["bias_shape"])
Dtest.py99minval = Lib.op_utils.get_dtype_min(params["input_data_type"]) if "input_min" not in params else p…
103 …input_tensor = Lib.op_utils.generate_tf_tensor(shapes["input"], minval, maxval, decimals=0, dataty…
/cmsis-nn-latest/Tests/UnitTest/
Dtest_settings.py258 …data = tf.Variable(tf.random.uniform(dims, minval=minrange, maxval=maxrange, dtype=tf.dtypes.int64…
261 …data = tf.Variable(tf.random.uniform(dims, minval=minrange, maxval=maxrange, dtype=tf.dtypes.float…