Home
last modified time | relevance | path

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

/cmsis-nn-latest/Tests/UnitTest/RefactoredTestGen/Lib/
Dtest_plan.py22 def generate(args): argument
25 test_plan = args.test_plan.read_text()
29 if args.list:
38 for s in args.test_suites:
44 … test_names = [test["name"] for test in test_suite_params["tests"] if test["name"] in args.tests]
45 if (len(test_names) > 0) or (args.tests == []):
47 Lib.test_suite.generate(test_suite_params, args)
Dtest_suite.py21 def generate(params, args): argument
38 if (test_params["name"] in args.tests) or (args.tests == []):
44 test = Lib.test.generate(test_params, args, fpaths)
Dop_utils.py36 def get_shapes(args): argument
Dtest.py49 def generate(params, args, fpaths): argument
85 …ert_json_to_tflite(json_template_fpath, json_output_fpath, data.tensors, replacements, args.schema)
/cmsis-nn-latest/Tests/UnitTest/RefactoredTestGen/
Dgenerate_test_data.py60 args = parser.parse_args()
62 Lib.test_plan.generate(args)
/cmsis-nn-latest/Tests/UnitTest/
Dunittest_targets.py63 args = parser.parse_args()
64 return args
129 def test_target(target, args, main_test): argument
131 compiler = args.compiler
137 dir_name = OUTPUT + args.testdir + '_' + unittestframework + '_' + target_name + '_' + compiler
199 def test_target_with_unity(target, args, main_test): argument
216 …serial_thread = threading.Thread(target=read_serial_port, args=(ser, inputQueue, lambda: stop_thre…
219 test_target(target, args, main_test)
311 def test_targets(args): argument
321 if not args.download_and_generate:
[all …]
Dmodel_extractor.py313 args = parser.parse_args() variable
315 schema_file = args.schema_file
316 tflite_model = args.tflite_model
318 if args.model_name:
319 dataset = args.model_name
Dgenerate_test_data.py3221 args = parse_args()
3223 testdataset = args.dataset
3224 test_type = args.testtype
3225 schema_file = args.schema_file
3227 regenerate_input = args.regenerate_input
3228 regenerate_weights = args.regenerate_weights
3229 regenerate_biases = args.regenerate_biases
3231 if args.regenerate_all:
3240 args.interpreter)
3242 if args.run_all_testsets: