ONE - On-device Neural Engine
|
Pass to re-quantize graph (ex: int8 -> uint8) More...
#include <RequantizePass.h>
Public Member Functions | |
RequantizePass (loco::DataType input_dtype, loco::DataType output_dtype) | |
virtual const char * | name (void) const |
bool | run (loco::Graph *graph) |
Run the pass. | |
Public Member Functions inherited from logo::Pass | |
virtual | ~Pass ()=default |
Pass to re-quantize graph (ex: int8 -> uint8)
Definition at line 32 of file RequantizePass.h.
|
inline |
Definition at line 35 of file RequantizePass.h.
|
inlinevirtual |
Reimplemented from logo::Pass.
Definition at line 40 of file RequantizePass.h.
|
virtual |
Run the pass.
Implements logo::Pass.
Definition at line 126 of file RequantizePass.cpp.
References loco::active_nodes(), INFO, LOGGER, loco::output_nodes(), and WARN.
Referenced by package.infer.session::inference().