ONE - On-device Neural Engine
Loading...
Searching...
No Matches
luci::CircleSVDF Class Referencefinal

SVDF in Circle. More...

#include <CircleSVDF.h>

Collaboration diagram for luci::CircleSVDF:

Public Member Functions

 CircleSVDF ()=default
 
loco::Nodeinput (void) const
 
void input (loco::Node *node)
 
loco::Nodeweight_feature (void) const
 
void weight_feature (loco::Node *node)
 
loco::Nodeweight_time (void) const
 
void weight_time (loco::Node *node)
 
loco::Nodebias (void) const
 
void bias (loco::Node *node)
 
loco::Nodeinput_activation_state (void) const
 
void input_activation_state (loco::Node *node)
 
bool asymmetric_quantize_inputs () const
 
void asymmetric_quantize_inputs (bool asymmetric_quantize_inputs)
 
int32_t svdf_rank () const
 
void svdf_rank (int32_t svdf_rank)
 
- Public Member Functions inherited from luci::FixedArityNode< 5, CircleNodeImpl< CircleOpcode::SVDF > >
 FixedArityNode ()
 
virtual ~FixedArityNode ()=default
 
uint32_t arity (void) const final
 
loco::Nodearg (uint32_t n) const final
 
void drop (void) final
 
- Public Member Functions inherited from luci::CircleNodeImpl< CircleOpcode::SVDF >
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::Dialectdialect (void) const final
 Return "Dialect" identifier that this node belongs to.
 
template<typename T >
accept (CircleNodeVisitorBase< T > *) const
 
template<typename T >
accept (CircleNodeMutableVisitorBase< T > *)
 
NodeName name (void) const
 
void name (const NodeName &name)
 
CircleQuantParamquantparam (void) const
 
void quantparam (std::unique_ptr< CircleQuantParam > &&quantparam)
 
SparsityParamsparsityparam (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 ()
 
Graphgraph (void)
 
const Graphgraph (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.
 
- Public Member Functions inherited from luci::CircleNodeMixin< CircleNodeTrait::FusedActFunc >
 CircleNodeMixin ()=default
 
FusedActFunc fusedActivationFunction () const
 
void fusedActivationFunction (FusedActFunc fused_act_fun)
 

Additional Inherited Members

- Protected Member Functions inherited from luci::FixedArityNode< 5, CircleNodeImpl< CircleOpcode::SVDF > >
loco::Useat (uint32_t n) const
 

Detailed Description

SVDF in Circle.

Definition at line 31 of file CircleSVDF.h.

Constructor & Destructor Documentation

◆ CircleSVDF()

luci::CircleSVDF::CircleSVDF ( )
default

Member Function Documentation

◆ asymmetric_quantize_inputs() [1/2]

bool luci::CircleSVDF::asymmetric_quantize_inputs ( ) const
inline

Definition at line 54 of file CircleSVDF.h.

54{ return _asymmetric_quantize_inputs; }

Referenced by asymmetric_quantize_inputs(), luci::CloneNodeLet< CN::STUV >::visit(), and luci::BuiltinOptionsExtractor::visit().

◆ asymmetric_quantize_inputs() [2/2]

void luci::CircleSVDF::asymmetric_quantize_inputs ( bool  asymmetric_quantize_inputs)
inline

Definition at line 55 of file CircleSVDF.h.

56 {
57 _asymmetric_quantize_inputs = asymmetric_quantize_inputs;
58 }
bool asymmetric_quantize_inputs() const
Definition CircleSVDF.h:54

References asymmetric_quantize_inputs().

◆ bias() [1/2]

void luci::CircleSVDF::bias ( loco::Node node)
inline

Definition at line 48 of file CircleSVDF.h.

48{ at(3)->node(node); }
Node * node(void) const
Definition Use.h:58

References luci::FixedArityNode< 5, CircleNodeImpl< CircleOpcode::SVDF > >::at(), and loco::Use::node().

◆ bias() [2/2]

loco::Node * luci::CircleSVDF::bias ( void  ) const
inline

Definition at line 47 of file CircleSVDF.h.

47{ return at(3)->node(); }

References luci::FixedArityNode< 5, CircleNodeImpl< CircleOpcode::SVDF > >::at(), and loco::Use::node().

◆ input() [1/2]

void luci::CircleSVDF::input ( loco::Node node)
inline

◆ input() [2/2]

loco::Node * luci::CircleSVDF::input ( void  ) const
inline

Definition at line 38 of file CircleSVDF.h.

38{ return at(0)->node(); }

References luci::FixedArityNode< 5, CircleNodeImpl< CircleOpcode::SVDF > >::at(), and loco::Use::node().

◆ input_activation_state() [1/2]

void luci::CircleSVDF::input_activation_state ( loco::Node node)
inline

◆ input_activation_state() [2/2]

loco::Node * luci::CircleSVDF::input_activation_state ( void  ) const
inline

Definition at line 50 of file CircleSVDF.h.

50{ return at(4)->node(); }

References luci::FixedArityNode< 5, CircleNodeImpl< CircleOpcode::SVDF > >::at(), and loco::Use::node().

◆ svdf_rank() [1/2]

int32_t luci::CircleSVDF::svdf_rank ( ) const
inline

Definition at line 60 of file CircleSVDF.h.

60{ return _rank; }

Referenced by luci::CloneNodeLet< CN::STUV >::visit(), and luci::BuiltinOptionsExtractor::visit().

◆ svdf_rank() [2/2]

void luci::CircleSVDF::svdf_rank ( int32_t  svdf_rank)
inline

Definition at line 61 of file CircleSVDF.h.

61{ _rank = svdf_rank; }
int32_t svdf_rank() const
Definition CircleSVDF.h:60

References svdf_rank().

Referenced by svdf_rank().

◆ weight_feature() [1/2]

void luci::CircleSVDF::weight_feature ( loco::Node node)
inline

◆ weight_feature() [2/2]

loco::Node * luci::CircleSVDF::weight_feature ( void  ) const
inline

Definition at line 41 of file CircleSVDF.h.

41{ return at(1)->node(); }

References luci::FixedArityNode< 5, CircleNodeImpl< CircleOpcode::SVDF > >::at(), and loco::Use::node().

◆ weight_time() [1/2]

void luci::CircleSVDF::weight_time ( loco::Node node)
inline

◆ weight_time() [2/2]

loco::Node * luci::CircleSVDF::weight_time ( void  ) const
inline

Definition at line 44 of file CircleSVDF.h.

44{ return at(2)->node(); }

References luci::FixedArityNode< 5, CircleNodeImpl< CircleOpcode::SVDF > >::at(), and loco::Use::node().


The documentation for this class was generated from the following file: