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

Variables

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

Variable Documentation

◆ args

q_implant_qparam_test.args = parser.parse_args()

Definition at line 31 of file q_implant_qparam_test.py.

◆ driver

q_implant_qparam_test.driver = args.driver

Definition at line 35 of file q_implant_qparam_test.py.

◆ dump

q_implant_qparam_test.dump = args.dump

Definition at line 36 of file q_implant_qparam_test.py.

◆ h5_path

str q_implant_qparam_test.h5_path = output_dir + f'/{module._name_}/output.h5'

Definition at line 44 of file q_implant_qparam_test.py.

◆ input_circle

str q_implant_qparam_test.input_circle = input_dir + '.circle'

Definition at line 41 of file q_implant_qparam_test.py.

◆ input_dir

q_implant_qparam_test.input_dir = args.input_dir

Definition at line 33 of file q_implant_qparam_test.py.

◆ model

q_implant_qparam_test.model = args.model

Definition at line 37 of file q_implant_qparam_test.py.

◆ module

q_implant_qparam_test.module = importlib.import_module('qparam.' + model)

Definition at line 39 of file q_implant_qparam_test.py.

◆ output_circle

str q_implant_qparam_test.output_circle = output_dir + f'/{module._name_}/output.circle'

Definition at line 42 of file q_implant_qparam_test.py.

◆ output_dir

q_implant_qparam_test.output_dir = args.output_dir

Definition at line 34 of file q_implant_qparam_test.py.

◆ parser

q_implant_qparam_test.parser = argparse.ArgumentParser()

Definition at line 25 of file q_implant_qparam_test.py.

◆ process

q_implant_qparam_test.process = subprocess.run([driver, input_circle, qparam_dir, output_circle], check=True)

Definition at line 69 of file q_implant_qparam_test.py.

◆ qparam_dir

str q_implant_qparam_test.qparam_dir = output_dir + f'/{module._name_}/qparam.json'

Definition at line 43 of file q_implant_qparam_test.py.

◆ required

q_implant_qparam_test.required

Definition at line 26 of file q_implant_qparam_test.py.

◆ str

q_implant_qparam_test.str

Definition at line 26 of file q_implant_qparam_test.py.

◆ test_runner

q_implant_qparam_test.test_runner = TestRunner(output_dir)

Definition at line 58 of file q_implant_qparam_test.py.

◆ type

q_implant_qparam_test.type

Definition at line 26 of file q_implant_qparam_test.py.