ONE - On-device Neural Engine
Loading...
Searching...
No Matches
q_implant_qparam_test.py File Reference

Go to the source code of this file.

Namespaces

namespace  q_implant_qparam_test
 

Variables

 q_implant_qparam_test.parser = argparse.ArgumentParser()
 
 q_implant_qparam_test.type
 
 q_implant_qparam_test.str
 
 q_implant_qparam_test.required
 
 q_implant_qparam_test.args = parser.parse_args()
 
 q_implant_qparam_test.input_dir = args.input_dir
 
 q_implant_qparam_test.output_dir = args.output_dir
 
 q_implant_qparam_test.driver = args.driver
 
 q_implant_qparam_test.dump = args.dump
 
 q_implant_qparam_test.model = args.model
 
 q_implant_qparam_test.module = importlib.import_module('qparam.' + model)
 
str q_implant_qparam_test.input_circle = input_dir + '.circle'
 
str q_implant_qparam_test.output_circle = output_dir + f'/{module._name_}/output.circle'
 
str q_implant_qparam_test.qparam_dir = output_dir + f'/{module._name_}/qparam.json'
 
str q_implant_qparam_test.h5_path = output_dir + f'/{module._name_}/output.h5'
 
 q_implant_qparam_test.test_runner = TestRunner(output_dir)
 
 q_implant_qparam_test.process = subprocess.run([driver, input_circle, qparam_dir, output_circle], check=True)