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

CircleNode used for Input of the Graph. More...

#include <CircleInput.h>

Collaboration diagram for luci::CircleInput:

Public Member Functions

void index (const loco::GraphInputIndex &index)
 
loco::GraphInputIndex index (void) const
 
bool indexed (void) const
 
- Public Member Functions inherited from luci::FixedArityNode< 0, CircleNodeImpl< CircleOpcode::CIRCLEINPUT > >
 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::CIRCLEINPUT >
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::FixedArityNode< 0, CircleNodeImpl< CircleOpcode::CIRCLEINPUT > >
loco::Useat (uint32_t n) const
 

Detailed Description

CircleNode used for Input of the Graph.

Note
This will not be exported as a specific op

Definition at line 35 of file CircleInput.h.

Member Function Documentation

◆ index() [1/2]

◆ index() [2/2]

loco::GraphInputIndex luci::CircleInput::index ( void  ) const

Definition at line 31 of file CircleInput.cpp.

32{
33 assert(_index >= std::numeric_limits<loco::GraphInputIndex>::min());
34 assert(_index <= std::numeric_limits<loco::GraphInputIndex>::max());
35 return static_cast<loco::GraphInputIndex>(_index);
36}
uint32_t GraphInputIndex

Referenced by index().

◆ indexed()

bool luci::CircleInput::indexed ( void  ) const
inline

Definition at line 41 of file CircleInput.h.

41{ return _index != -1; }

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