Home
last modified time | relevance | path

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

/cmsis-nn-latest/Tests/UnitTest/RefactoredTestGen/Lib/
Dop_utils.py63 array = minval + (maxval - minval) * np.random.rand(*dims)
64 array = np.round(array, decimals=decimals)
65 tensor = tf.convert_to_tensor(array, dtype=datatype)
Dop_conv.py213 tensors["output_multiplier"] = np.array(per_channel_multiplier)
214 tensors["output_shift"] = np.array(per_channel_shift)
/cmsis-nn-latest/Tests/UnitTest/
Dtest_settings.py235 normal = np.array(w)
366 def generate_c_array(self, name, array, datatype="int8_t", const="const ", pack=False) -> None: argument
369 if type(array) is list:
370 w = array
371 size = len(array)
372 elif type(array) is np.ndarray:
373 w = array
377 w = array.numpy()
379 size = tf.size(array)