ONE - On-device Neural Engine
Loading...
Searching...
No Matches
luci::CircleNodeImpl< Code > Struct Template Reference

#include <CircleNodeDecl.h>

Collaboration diagram for luci::CircleNodeImpl< Code >:

Public Member Functions

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
 
virtual uint32_t arity (void) const =0
 Return the number of arguments.
 
virtual Nodearg (uint32_t N) const =0
 Access N-th argument node.
 
virtual void drop (void)=0
 Drop all the reference of arguments.
 
- 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.
 

Detailed Description

template<CircleOpcode Code>
struct luci::CircleNodeImpl< Code >

Definition at line 78 of file CircleNodeDecl.h.

Constructor & Destructor Documentation

◆ ~CircleNodeImpl()

template<CircleOpcode Code>
virtual luci::CircleNodeImpl< Code >::~CircleNodeImpl ( )
virtualdefault

Member Function Documentation

◆ opcode()

template<CircleOpcode Code>
CircleOpcode luci::CircleNodeImpl< Code >::opcode ( void  ) const
inlinefinalvirtual

Implements luci::CircleNode.

Definition at line 83 of file CircleNodeDecl.h.

83{ return Code; }

◆ opnum()

template<CircleOpcode Code>
uint32_t luci::CircleNodeImpl< Code >::opnum ( void  ) const
inlinefinalvirtual

Implements loco::Node.

Definition at line 82 of file CircleNodeDecl.h.

82{ return static_cast<uint32_t>(Code); }

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