ONE - On-device Neural Engine
|
Functions | |
dtype_from_file (file_path) | |
luci_eval_verifier_ref.dtype_from_file | ( | file_path | ) |
Definition at line 25 of file luci_eval_verifier_ref.py.
luci_eval_verifier_ref.args = parser.parse_args() |
Definition at line 49 of file luci_eval_verifier_ref.py.
luci_eval_verifier_ref.atol |
Definition at line 122 of file luci_eval_verifier_ref.py.
luci_eval_verifier_ref.atolf32 = 1e-5 |
Definition at line 57 of file luci_eval_verifier_ref.py.
luci_eval_verifier_ref.atolint = 0 |
Definition at line 60 of file luci_eval_verifier_ref.py.
luci_eval_verifier_ref.check |
Definition at line 103 of file luci_eval_verifier_ref.py.
int luci_eval_verifier_ref.check_input = 0 |
Definition at line 73 of file luci_eval_verifier_ref.py.
int luci_eval_verifier_ref.check_output = 0 |
Definition at line 86 of file luci_eval_verifier_ref.py.
str luci_eval_verifier_ref.circle_model = args.work_path + ".circle" |
Definition at line 53 of file luci_eval_verifier_ref.py.
str luci_eval_verifier_ref.circle_model_ref = args.model_ref + ".circle" |
Definition at line 52 of file luci_eval_verifier_ref.py.
luci_eval_verifier_ref.driver = args.driver |
Definition at line 51 of file luci_eval_verifier_ref.py.
str luci_eval_verifier_ref.input_file_path = circle_model_ref + ".input" + str(check_input) |
Definition at line 75 of file luci_eval_verifier_ref.py.
luci_eval_verifier_ref.luci_output_data = np.reshape(output_data, output_shape) |
Definition at line 115 of file luci_eval_verifier_ref.py.
luci_eval_verifier_ref.luci_output_data_ref = np.reshape(output_data_ref, output_shape) |
Definition at line 112 of file luci_eval_verifier_ref.py.
int luci_eval_verifier_ref.num_inputs = check_input |
Definition at line 77 of file luci_eval_verifier_ref.py.
int luci_eval_verifier_ref.num_outputs = check_output |
Definition at line 90 of file luci_eval_verifier_ref.py.
luci_eval_verifier_ref.output_data = np.fromfile(circle_model + ".output" + str(idx), output_dtype) |
Definition at line 114 of file luci_eval_verifier_ref.py.
luci_eval_verifier_ref.output_data_ref = np.fromfile(circle_model_ref + ".output" + str(idx), output_dtype) |
Definition at line 111 of file luci_eval_verifier_ref.py.
luci_eval_verifier_ref.output_dtype = dtype_from_file(circle_model_ref + ".output" + str(idx) + ".dtype") |
Definition at line 107 of file luci_eval_verifier_ref.py.
str luci_eval_verifier_ref.output_file_path = circle_model_ref + ".output" + str(check_output) |
Definition at line 88 of file luci_eval_verifier_ref.py.
list luci_eval_verifier_ref.output_shape = [int(i) for i in shape_file.read().split(',')] |
Definition at line 109 of file luci_eval_verifier_ref.py.
luci_eval_verifier_ref.parser = argparse.ArgumentParser() |
Definition at line 43 of file luci_eval_verifier_ref.py.
luci_eval_verifier_ref.required |
Definition at line 44 of file luci_eval_verifier_ref.py.
luci_eval_verifier_ref.rtol |
Definition at line 121 of file luci_eval_verifier_ref.py.
luci_eval_verifier_ref.rtolf32 = 1e-5 |
Definition at line 56 of file luci_eval_verifier_ref.py.
luci_eval_verifier_ref.rtolint = 0 |
Definition at line 59 of file luci_eval_verifier_ref.py.
luci_eval_verifier_ref.shape_file = open(circle_model_ref + ".output" + str(idx) + ".shape", 'r') |
Definition at line 108 of file luci_eval_verifier_ref.py.
luci_eval_verifier_ref.str |
Definition at line 44 of file luci_eval_verifier_ref.py.
luci_eval_verifier_ref.type |
Definition at line 44 of file luci_eval_verifier_ref.py.