|
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 | |
| scale_file | |
Data Fields inherited from QErrorComputer.QErrorComputer | |
| qerror_map | |
Protected Attributes | |
| _fq_dir | |
| _fp32_dir | |
Protected Attributes inherited from QErrorComputer.QErrorComputer | |
| _fp32_dir | |
| _fq_dir | |
| _num_processed_data | |
| _num_data | |
| _tid_to_tname | |
Definition at line 210 of file QErrorComputer.py.
| QErrorComputer.SRMSEComputer.__init__ | ( | self, | |
| fp32_dir, | |||
| fq_dir | |||
| ) |
Reimplemented from QErrorComputer.QErrorComputer.
Definition at line 211 of file QErrorComputer.py.
References QErrorComputer.SRMSEComputer.__init__().
Referenced by QErrorComputer.SRMSEComputer.__init__().
| QErrorComputer.SRMSEComputer.advance_on | ( | self, | |
| fp32_dir, | |||
| fq_dir | |||
| ) |
Definition at line 217 of file QErrorComputer.py.
References QErrorComputer.SRMSEComputer.scale_file.
| QErrorComputer.SRMSEComputer.get_final_result | ( | self | ) |
Definition at line 237 of file QErrorComputer.py.
References QErrorComputer.QErrorComputer._num_processed_data, QErrorComputer.QErrorComputer.qerror_map, and QErrorComputer.SRMSEComputer.scale_file.
| QErrorComputer.SRMSEComputer.run | ( | self | ) |
Return qerror map (dict: tensor_name(string) -> qerror(float)).
Reimplemented from QErrorComputer.QErrorComputer.
Definition at line 252 of file QErrorComputer.py.
|
protected |
Definition at line 253 of file QErrorComputer.py.
|
protected |
Definition at line 220 of file QErrorComputer.py.
| QErrorComputer.SRMSEComputer.scale_file |
Definition at line 214 of file QErrorComputer.py.
Referenced by QErrorComputer.SRMSEComputer.advance_on(), and QErrorComputer.SRMSEComputer.get_final_result().