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

ADD_N in Circle. More...

#include <CircleAddN.h>

Collaboration diagram for luci::CircleAddN:

Public Member Functions

 CircleAddN (uint32_t arity)
 
Nodeinputs (uint32_t index) const
 
void inputs (uint32_t index, Node *node)
 
- Public Member Functions inherited from luci::VariadicArityNode< CircleNodeImpl< CircleOpcode::ADD_N > >
 VariadicArityNode (uint32_t arity)
 
virtual ~VariadicArityNode ()=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::ADD_N >
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.
 

Additional Inherited Members

- Protected Member Functions inherited from luci::VariadicArityNode< CircleNodeImpl< CircleOpcode::ADD_N > >
loco::Useat (uint32_t n) const
 

Detailed Description

ADD_N in Circle.

Definition at line 31 of file CircleAddN.h.

Constructor & Destructor Documentation

◆ CircleAddN()

luci::CircleAddN::CircleAddN ( uint32_t  arity)
inline

Definition at line 34 of file CircleAddN.h.

34 : VariadicArityNode<CircleNodeImpl<CircleOpcode::ADD_N>>(arity)
35 {
36 assert(arity >= 1);
37 }
uint32_t arity(void) const final
Return the number of arguments.

References luci::VariadicArityNode< CircleNodeImpl< CircleOpcode::ADD_N > >::arity().

Member Function Documentation

◆ inputs() [1/2]

Node * luci::CircleAddN::inputs ( uint32_t  index) const
inline

◆ inputs() [2/2]

void luci::CircleAddN::inputs ( uint32_t  index,
Node node 
)
inline

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