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

ONEHOT in Circle. More...

#include <CircleOneHot.h>

Collaboration diagram for luci::CircleOneHot:

Public Member Functions

loco::Nodeindices (void) const
 
void indices (loco::Node *node)
 
loco::Nodedepth (void) const
 
void depth (loco::Node *node)
 
loco::Nodeon_value (void) const
 
void on_value (loco::Node *node)
 
loco::Nodeoff_value (void) const
 
void off_value (loco::Node *node)
 
int32_t axis (void) const
 
void axis (int32_t axis)
 
- Public Member Functions inherited from luci::FixedArityNode< 4, CircleNodeImpl< CircleOpcode::ONE_HOT > >
 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::ONE_HOT >
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< 4, CircleNodeImpl< CircleOpcode::ONE_HOT > >
loco::Useat (uint32_t n) const
 

Detailed Description

ONEHOT in Circle.

Definition at line 31 of file CircleOneHot.h.

Member Function Documentation

◆ axis() [1/2]

void luci::CircleOneHot::axis ( int32_t  axis)
inline

Definition at line 48 of file CircleOneHot.h.

48{ _axis = axis; }
int32_t axis(void) const

References axis().

Referenced by axis().

◆ axis() [2/2]

int32_t luci::CircleOneHot::axis ( void  ) const
inline

Definition at line 47 of file CircleOneHot.h.

47{ return _axis; }

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

◆ depth() [1/2]

void luci::CircleOneHot::depth ( loco::Node node)
inline

◆ depth() [2/2]

loco::Node * luci::CircleOneHot::depth ( void  ) const
inline

◆ indices() [1/2]

void luci::CircleOneHot::indices ( loco::Node node)
inline

◆ indices() [2/2]

loco::Node * luci::CircleOneHot::indices ( void  ) const
inline

◆ off_value() [1/2]

void luci::CircleOneHot::off_value ( loco::Node node)
inline

◆ off_value() [2/2]

loco::Node * luci::CircleOneHot::off_value ( void  ) const
inline

◆ on_value() [1/2]

void luci::CircleOneHot::on_value ( loco::Node node)
inline

◆ on_value() [2/2]

loco::Node * luci::CircleOneHot::on_value ( void  ) const
inline

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