Home
last modified time | relevance | path

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

/cmsis-nn-latest/Tests/UnitTest/
Dtest_settings.py211 header = ','.join(map(str, data.shape))
212 np.savetxt(file, data.reshape(-1, data.shape[-1]), header=header, delimiter=',')
216 shape = list(map(int, next(f)[1:].split(',')))
217 data = np.genfromtxt(f, delimiter=',').reshape(shape)
222 shape = w.shape
228 fw.shape = shape
233 shape = w.shape
245 np_float_array.shape = shape
434 def get_calib_data_func(self, n_inputs, shape): argument
440 representative_testsets.append(np.ones(shape, dtype=np.float32))
Dlstm_settings.py145 input_layer = keras.layers.Input(shape=(self.time_steps, self.number_inputs),
161 shape = (self.time_steps, self.batches, self.number_inputs)
164 shape = (self.batches, self.time_steps, self.number_inputs)
174 interpreter = self.convert_and_interpret(model, tf.int8, input_data, dataset_shape=shape)
216 if (input_data.numpy().shape != actual_input_data.shape) or \
Dadd_mul_settings.py94 input1 = keras.layers.Input(shape=input_shape[1:])
95 input2 = keras.layers.Input(shape=input_shape[1:])
/cmsis-nn-latest/Tests/UnitTest/RefactoredTestGen/Lib/
Dtest.py77 shape=shapes["representational_dataset"])
151 def convert_keras_to_tflite(output_fpath, keras_model, quantize, dtype, bias_dtype, shape): argument
163 data = np.random.rand(*shape)
256 data_shape = data.shape
Dop_lstm.py48 input_layer = keras.layers.Input(shape=(params["time_steps"], params["input_size"]),
/cmsis-nn-latest/Documentation/Doxygen/
Dnn.dxy.in2539 # around nodes set 'shape=plain' or 'shape=plaintext' <a
2541 # The default value is: shape=box,height=0.2,width=0.4.
2544 DOT_NODE_ATTR = "shape=box,height=0.2,width=0.4"