Home
last modified time | relevance | path

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

/cmsis-nn-latest/Tests/UnitTest/
Dtest_settings.py249 … def get_randomized_data(self, dims, npfile, regenerate, decimals=0, minrange=None, maxrange=None): argument
254 if not os.path.exists(npfile) or regenerate:
255 regendir = os.path.dirname(npfile)
265 print("Saving data to {}".format(npfile))
266 self.save_multiple_dim_array_in_txt(npfile, data.numpy())
268 print("Loading data from {}".format(npfile))
269 data = tf.convert_to_tensor(self.load_multiple_dim_array_from_txt(npfile))