Searched refs:array (Results 1 – 3 of 3) sorted by relevance
63 array = minval + (maxval - minval) * np.random.rand(*dims)64 array = np.round(array, decimals=decimals)65 tensor = tf.convert_to_tensor(array, dtype=datatype)
213 tensors["output_multiplier"] = np.array(per_channel_multiplier)214 tensors["output_shift"] = np.array(per_channel_shift)
235 normal = np.array(w)366 def generate_c_array(self, name, array, datatype="int8_t", const="const ", pack=False) -> None: argument369 if type(array) is list:370 w = array371 size = len(array)372 elif type(array) is np.ndarray:373 w = array377 w = array.numpy()379 size = tf.size(array)