|
ONE - On-device Neural Engine
|
Class to remove redundant dequantize operations. More...
#include <RemoveRedundantDequantizePass.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 redundant dequantize operations.
Definition at line 28 of file RemoveRedundantDequantizePass.h.
Reimplemented from logo::Pass.
Definition at line 30 of file RemoveRedundantDequantizePass.h.
|
finalvirtual |
Dequantize Op does the below things on the ifm.
BEFORE
[CircleNode (A)]
|
[CircleNode (B)] (fp32)
|
[CircleDequantize] | [CircleNode]
AFTER
[CircleNode (A)]
|
[CircleNode (B)] (fp32)
|
[CircleNode]
Implements logo::Pass.
Definition at line 65 of file RemoveRedundantDequantizePass.cpp.
References loco::active_nodes(), luci::must_cast(), and loco::output_nodes().