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 | |
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 135 of file QErrorComputer.py.
QErrorComputer.MSEComputer.__init__ | ( | self, | |
fp32_dir, | |||
fq_dir | |||
) |
Reimplemented from QErrorComputer.QErrorComputer.
Definition at line 136 of file QErrorComputer.py.
References QErrorComputer.MSEComputer.__init__().
Referenced by QErrorComputer.MSEComputer.__init__().
QErrorComputer.MSEComputer.advance_on | ( | self, | |
fp32_dir, | |||
fq_dir | |||
) |
Definition at line 142 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.MSEComputer.get_final_result | ( | self | ) |
Definition at line 160 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.MSEComputer.run | ( | self | ) |
Return qerror map (dict: tensor_name(string) -> qerror(float)).
Reimplemented from QErrorComputer.QErrorComputer.
Definition at line 167 of file QErrorComputer.py.
|
protected |
Definition at line 168 of file QErrorComputer.py.
|
protected |
Definition at line 168 of file QErrorComputer.py.
QErrorComputer.MSEComputer.qerror_max |
Definition at line 139 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.MSEComputer.qerror_min |
Definition at line 138 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().