ONE - On-device Neural Engine
|
FAKE_QUANT in Circle. More...
#include <CircleFakeQuant.h>
Public Member Functions | |
loco::Node * | inputs (void) const |
void | inputs (loco::Node *node) |
float | min (void) const |
void | min (float min) |
float | max (void) const |
void | max (float max) |
int32_t | num_bits (void) const |
void | num_bits (int32_t num_bits) |
bool | narrow_range (void) const |
void | narrow_range (bool narrow_range) |
Public Member Functions inherited from luci::FixedArityNode< 1, CircleNodeImpl< CircleOpcode::FAKE_QUANT > > | |
FixedArityNode () | |
virtual | ~FixedArityNode ()=default |
uint32_t | arity (void) const final |
loco::Node * | arg (uint32_t n) const final |
void | drop (void) final |
Public Member Functions inherited from luci::CircleNodeImpl< CircleOpcode::FAKE_QUANT > | |
virtual | ~CircleNodeImpl ()=default |
uint32_t | opnum (void) const final |
CircleOpcode | opcode (void) const final |
Public Member Functions inherited from luci::CircleNode | |
virtual | ~CircleNode ()=default |
const loco::Dialect * | dialect (void) const final |
Return "Dialect" identifier that this node belongs to. | |
template<typename T > | |
T | accept (CircleNodeVisitorBase< T > *) const |
template<typename T > | |
T | accept (CircleNodeMutableVisitorBase< T > *) |
NodeName | name (void) const |
void | name (const NodeName &name) |
CircleQuantParam * | quantparam (void) const |
void | quantparam (std::unique_ptr< CircleQuantParam > &&quantparam) |
SparsityParam * | sparsityparam (void) const |
void | sparsityparam (std::unique_ptr< SparsityParam > &&sparsityparam) |
ShapeStatus | shape_status (void) const |
void | shape_status (ShapeStatus ss) |
int32_t | op_version (void) const |
void | op_version (int32_t op_version) |
Public Member Functions inherited from loco::Node | |
Node ()=default | |
Node (const Node &)=delete | |
Node (Node &&)=delete | |
virtual | ~Node () |
Graph * | graph (void) |
const Graph * | graph (void) const |
Public Member Functions inherited from loco::AnnotatedItem< NodeAnnotation > | |
AnnotatedItem ()=default | |
virtual | ~AnnotatedItem ()=default |
const T * | annot (void) const |
Retrieve a stored annotation of type T. | |
void | annot (std::unique_ptr< T > &&p) |
Attach or remove a new annotation of type T. | |
Additional Inherited Members | |
Protected Member Functions inherited from luci::FixedArityNode< 1, CircleNodeImpl< CircleOpcode::FAKE_QUANT > > | |
loco::Use * | at (uint32_t n) const |
FAKE_QUANT in Circle.
Definition at line 32 of file CircleFakeQuant.h.
|
inline |
Definition at line 36 of file CircleFakeQuant.h.
References luci::FixedArityNode< 1, CircleNodeImpl< CircleOpcode::FAKE_QUANT > >::at(), and loco::Use::node().
Referenced by validate_onnx2circle.OnnxRunner::feed_random_inputs(), and package.infer.session::set_inputs().
|
inline |
Definition at line 35 of file CircleFakeQuant.h.
References luci::FixedArityNode< 1, CircleNodeImpl< CircleOpcode::FAKE_QUANT > >::at(), and loco::Use::node().
Referenced by validate_onnx2circle.OnnxRunner::feed_random_inputs(), and package.infer.session::set_inputs().
|
inline |
Definition at line 43 of file CircleFakeQuant.h.
References max().
Referenced by max().
|
inline |
Definition at line 42 of file CircleFakeQuant.h.
Referenced by luci::CloneNodeLet< CN::DEF >::visit(), and luci::BuiltinOptionsExtractor::visit().
|
inline |
Definition at line 40 of file CircleFakeQuant.h.
References min().
Referenced by min().
|
inline |
Definition at line 39 of file CircleFakeQuant.h.
Referenced by luci::CloneNodeLet< CN::DEF >::visit(), and luci::BuiltinOptionsExtractor::visit().
|
inline |
Definition at line 49 of file CircleFakeQuant.h.
References narrow_range().
Referenced by narrow_range().
|
inline |
Definition at line 48 of file CircleFakeQuant.h.
Referenced by luci::CloneNodeLet< CN::DEF >::visit(), and luci::BuiltinOptionsExtractor::visit().
|
inline |
Definition at line 46 of file CircleFakeQuant.h.
References num_bits().
Referenced by num_bits().
|
inline |
Definition at line 45 of file CircleFakeQuant.h.
Referenced by luci::CloneNodeLet< CN::DEF >::visit(), and luci::BuiltinOptionsExtractor::visit().