ONE - On-device Neural Engine
|
Quantize non-const activation using recorded min/max values. More...
#include <QuantizeActivation.h>
Public Member Functions | |
QuantizeActivation (loco::DataType output) | |
void | visit (luci::CircleNode *node) |
Default fallback. | |
Public Member Functions inherited from luci::CircleNodeMutableVisitor< void > | |
virtual | ~CircleNodeMutableVisitor ()=default |
Public Member Functions inherited from luci::CircleNodeMutableVisitorBase< T > | |
virtual | ~CircleNodeMutableVisitorBase ()=default |
Data Fields | |
loco::DataType | output_type |
Quantize non-const activation using recorded min/max values.
Definition at line 28 of file QuantizeActivation.h.
|
inline |
Definition at line 30 of file QuantizeActivation.h.
|
virtual |
Default fallback.
Reimplemented from luci::CircleNodeMutableVisitor< void >.
Definition at line 42 of file QuantizeActivation.cpp.
References luci::compute_asym_scale_zp(), luci::compute_sym_scale(), INFO, luci::is_fp32(), LOGGER, luci::CircleNode::name(), luci::CircleNode::opcode(), output_type, luci::CircleNode::quantparam(), luci::CircleQuantParam::scale, and luci::CircleQuantParam::zerop.
loco::DataType luci::QuantizeActivation::output_type |
Definition at line 32 of file QuantizeActivation.h.
Referenced by visit().