|
ONE - On-device Neural Engine
|
Class to Remove Quantize-Dequantize sequence. More...
#include <RemoveQuantDequantSeqPass.h>

Public Member Functions | |
| const char * | name (void) const final |
| bool | run (loco::Graph *g) final |
Public Member Functions inherited from logo::Pass | |
| virtual | ~Pass ()=default |
Class to Remove Quantize-Dequantize sequence.
Definition at line 28 of file RemoveQuantDequantSeqPass.h.
Reimplemented from logo::Pass.
Definition at line 30 of file RemoveQuantDequantSeqPass.h.
|
finalvirtual |
BEFORE
[CircleNode]
|
[CircleQuantize]
|
[CircleDequantize] | [CircleNode]
AFTER
[CircleNode] [CircleQuantize] | | [CircleNode] [CircleDequantize]
CircleQuant-CircleDequant sequance will be removed from the output graph
Implements logo::Pass.
Definition at line 62 of file RemoveQuantDequantSeqPass.cpp.
References loco::active_nodes(), luci::must_cast(), and loco::output_nodes().