ONE - On-device Neural Engine
|
Variables | |
parser = argparse.ArgumentParser() | |
type | |
str | |
required | |
int | |
args = parser.parse_args() | |
model = args.model | |
num_data = args.num_data | |
output_path = args.output | |
interpreter = tf.lite.Interpreter(model) | |
input_details = interpreter.get_input_details() | |
h5_file = h5.File(output_path, 'w') | |
group = h5_file.create_group("value") | |
sample = group.create_group(str(i)) | |
input_detail = input_details[j] | |
input_data | |
data | |
gen_h5_random_inputs.args = parser.parse_args() |
Definition at line 18 of file gen_h5_random_inputs.py.
gen_h5_random_inputs.data |
Definition at line 51 of file gen_h5_random_inputs.py.
gen_h5_random_inputs.group = h5_file.create_group("value") |
Definition at line 32 of file gen_h5_random_inputs.py.
gen_h5_random_inputs.h5_file = h5.File(output_path, 'w') |
Definition at line 31 of file gen_h5_random_inputs.py.
gen_h5_random_inputs.input_data |
Definition at line 45 of file gen_h5_random_inputs.py.
gen_h5_random_inputs.input_detail = input_details[j] |
Definition at line 41 of file gen_h5_random_inputs.py.
gen_h5_random_inputs.input_details = interpreter.get_input_details() |
Definition at line 28 of file gen_h5_random_inputs.py.
gen_h5_random_inputs.int |
Definition at line 16 of file gen_h5_random_inputs.py.
gen_h5_random_inputs.interpreter = tf.lite.Interpreter(model) |
Definition at line 27 of file gen_h5_random_inputs.py.
gen_h5_random_inputs.model = args.model |
Definition at line 20 of file gen_h5_random_inputs.py.
gen_h5_random_inputs.num_data = args.num_data |
Definition at line 22 of file gen_h5_random_inputs.py.
gen_h5_random_inputs.output_path = args.output |
Definition at line 24 of file gen_h5_random_inputs.py.
gen_h5_random_inputs.parser = argparse.ArgumentParser() |
Definition at line 14 of file gen_h5_random_inputs.py.
gen_h5_random_inputs.required |
Definition at line 15 of file gen_h5_random_inputs.py.
gen_h5_random_inputs.sample = group.create_group(str(i)) |
Definition at line 37 of file gen_h5_random_inputs.py.
gen_h5_random_inputs.str |
Definition at line 15 of file gen_h5_random_inputs.py.
gen_h5_random_inputs.type |
Definition at line 15 of file gen_h5_random_inputs.py.