ONE - On-device Neural Engine
|
Public Member Functions | |
__init__ (self, fp32_dir, fq_dir) | |
advance_on (self, fp32_dir, fq_dir) | |
get_final_result (self) | |
run (self) | |
Public Member Functions inherited from QErrorComputer.QErrorComputer | |
collect_data_path (self, fp32_dir, fq_dir) | |
Data Fields | |
total_error | |
qerror_min | |
qerror_max | |
Data Fields inherited from QErrorComputer.QErrorComputer | |
qerror_map | |
Protected Attributes | |
_fp32_dir | |
_fq_dir | |
Protected Attributes inherited from QErrorComputer.QErrorComputer | |
_fp32_dir | |
_fq_dir | |
_num_processed_data | |
_num_data | |
_tid_to_tname | |
Definition at line 172 of file QErrorComputer.py.
QErrorComputer.TAEComputer.__init__ | ( | self, | |
fp32_dir, | |||
fq_dir | |||
) |
Reimplemented from QErrorComputer.QErrorComputer.
Definition at line 173 of file QErrorComputer.py.
References QErrorComputer.TAEComputer.__init__().
Referenced by QErrorComputer.TAEComputer.__init__().
QErrorComputer.TAEComputer.advance_on | ( | self, | |
fp32_dir, | |||
fq_dir | |||
) |
Definition at line 179 of file QErrorComputer.py.
References QErrorComputer.QErrorComputer.collect_data_path(), QErrorComputer.QErrorComputer.qerror_map, QErrorComputer.MSEComputer.qerror_max, QErrorComputer.TAEComputer.qerror_max, QErrorComputer.MSEComputer.qerror_min, and QErrorComputer.TAEComputer.qerror_min.
QErrorComputer.TAEComputer.get_final_result | ( | self | ) |
Definition at line 197 of file QErrorComputer.py.
References QErrorComputer.QErrorComputer._num_processed_data, QErrorComputer.QErrorComputer.qerror_map, QErrorComputer.MSEComputer.qerror_max, QErrorComputer.TAEComputer.qerror_max, QErrorComputer.MSEComputer.qerror_min, and QErrorComputer.TAEComputer.qerror_min.
QErrorComputer.TAEComputer.run | ( | self | ) |
Return qerror map (dict: tensor_name(string) -> qerror(float)).
Reimplemented from QErrorComputer.QErrorComputer.
Definition at line 203 of file QErrorComputer.py.
|
protected |
Definition at line 204 of file QErrorComputer.py.
|
protected |
Definition at line 204 of file QErrorComputer.py.
QErrorComputer.TAEComputer.qerror_max |
Definition at line 177 of file QErrorComputer.py.
Referenced by QErrorComputer.MSEComputer.advance_on(), QErrorComputer.TAEComputer.advance_on(), QErrorComputer.MSEComputer.get_final_result(), and QErrorComputer.TAEComputer.get_final_result().
QErrorComputer.TAEComputer.qerror_min |
Definition at line 176 of file QErrorComputer.py.
Referenced by QErrorComputer.MSEComputer.advance_on(), QErrorComputer.TAEComputer.advance_on(), QErrorComputer.MSEComputer.get_final_result(), and QErrorComputer.TAEComputer.get_final_result().
QErrorComputer.TAEComputer.total_error |
Definition at line 175 of file QErrorComputer.py.