/cmsis-nn-latest/Tests/UnitTest/RefactoredTestGen/Lib/ |
D | op_utils.py | 70 def get_dtype(name, params): argument 71 if "bias" in name: 73 elif "weight" in name or "kernel" in name: 75 elif "multiplier" in name or "shift" in name: 77 elif "input" in name or "output" in name:
|
D | test.py | 93 for name, scale in data.effective_scales.items(): 95 params[name + "_multiplier"] = mult 96 params[name + "_shift"] = shift 129 for name, tensor in data.tensors.items(): 130 dtype = Lib.op_utils.get_dtype(name, params) 131 fpaths[name] = fpaths["data_folder"] / f"{name}.h" 132 if name == "output" and "out_activation_min" in params and "out_activation_max" in params: 134 … write_c_array(tensor, fpaths[name], dtype, params["name"], name, fpaths["test_data"], header) 136 if name in data.aliases: 137 … append_alias_to_c_array_file(fpaths[name], dtype, params["name"], name, data.aliases[name]) [all …]
|
D | op_lstm.py | 50 name='input') 65 model = keras.Model(input_layer, lstm_layer, name="LSTM") 108 def calc_scale(name, input_scale, tensor_index): argument 110 tensors[name + "_weights"] = interpreter.get_tensor(detail["index"]).flatten() 111 scales[name + "_scale"] = detail['quantization_parameters']['scales'][0] 112 effective_scales[name] = input_scale * scales[name + "_scale"] / pow(2, -12) 157 def create_scales(name, input_scale1): argument 158 scales[name + "_scale"] = np.round(np.random.rand(1) * (maxval - minval) + minval, 6)[0] 159 effective_scales[name] = input_scale1 * scales[name + "_scale"] / pow(2, -12)
|
/cmsis-nn-latest/Tests/UnitTest/Corstone-300/ |
D | retarget.c | 90 __attribute__((weak)) FILEHANDLE _sys_open(const char *name, int openmode) in _sys_open() argument 94 if (name == NULL) in _sys_open() 99 if (name[0] == ':') in _sys_open() 101 if (strcmp(name, ":STDIN") == 0) in _sys_open() 105 if (strcmp(name, ":STDOUT") == 0) in _sys_open() 109 if (strcmp(name, ":STDERR") == 0) in _sys_open()
|
/cmsis-nn-latest/Documentation/Doxygen/style_template/ |
D | darkmode_toggle.js | 127 static createCookie(name, value, days) { argument 135 document.cookie = name + "=" + value + expires + "; path=/"; 138 static readCookie(name) { argument 139 var nameEQ = name + "="; 149 static eraseCookie(name) { argument 150 DarkModeToggle.createCookie(name, "", -1);
|
D | extra_stylesheet.css | 90 --memdef-param-name-color: #602020; 267 --memdef-param-name-color: #D28757; 1110 color: var(--memdef-param-name-color);
|
/cmsis-nn-latest/Tests/UnitTest/ |
D | README.md | 125 …of test data sets, i.e. it need a test set data name as input. It will then generate files with th… 181 …ses/<cmsis-nn function name>` - For each function under test there is a folder with the same name … 182 - `TestCases/<cmsis-nn function name>/Unity` - This folder contains a Unity file that calls the act… 183 - `TestCases/<cmsis-nn function name>/Unity/TestRunner` - This folder will contain the autogenerate…
|
D | lstm_settings.py | 147 name='input') 157 model = keras.Model(input_layer, lstm_layer, name="LSTM") 167 print("Updating weights", model.layers[1 + time_major_offset].weights[0].name) 169 print("Updating hidden weights", model.layers[1 + time_major_offset].weights[1].name) 171 print("Updating bias", model.layers[1 + time_major_offset].weights[2].name)
|
D | test_settings.py | 366 def generate_c_array(self, name, array, datatype="int8_t", const="const ", pack=False) -> None: argument 384 filename, filepath = self.get_data_file_name_info(name) 392 … f.write(const + datatype + " " + self.testdataset + '_' + name + "[%d] =\n{\n" % size) 398 f.write(const + datatype + " *" + self.testdataset + '_' + name + " = NULL;\n")
|
/cmsis-nn-latest/Documentation/Doxygen/ |
D | nn.dxy.in | 56 # project for which the documentation is generated. This name is used in the 154 # following values are used ($name is automatically replaced with the name of 155 # the entity):The $name class, The $name widget, The $name file, is, provides, 158 ABBREVIATE_BRIEF = "The $name class" \ 159 "The $name widget" \ 160 "The $name file" \ 186 # before files name in the file list and in the header files. If set to NO the 187 # shortest path that makes the file name unique will be used 206 # header file to include in order to use a class. If left blank only the name of 288 # name=value [all …]
|
/cmsis-nn-latest/ |
D | LICENSE | 45 separable from, or merely link (or bind by name) to the interfaces of, 185 file or class name and description of purpose be included on the 189 Copyright {yyyy} {name of copyright owner}
|
D | README.md | 53 …r file is followed in most places. In those cases, the file name must match the function name. Con…
|