ONE - On-device Neural Engine
Loading...
Searching...
No Matches
locoex::TFLRelu Class Referencefinal

#include <TFLNodes.h>

Collaboration diagram for locoex::TFLRelu:

Public Member Functions

 TFLRelu ()=default
 
loco::Nodefeatures (void) const
 
void features (loco::Node *node)
 
- Public Member Functions inherited from locoex::FixedArityNode< 1, TFLNodeImpl< TFLOpcode::RELU > >
 FixedArityNode ()
 
virtual ~FixedArityNode ()=default
 
unsigned arity (void) const final
 
loco::Nodearg (uint32_t n) const final
 
void drop (void) final
 
- Public Member Functions inherited from locoex::TFLNodeImpl< TFLOpcode::RELU >
virtual ~TFLNodeImpl ()=default
 
uint32_t opnum (void) const final
 
TFLOpcode opcode (void) const final
 
- Public Member Functions inherited from locoex::TFLNode
virtual ~TFLNode ()=default
 
const loco::Dialectdialect (void) const final
 Return "Dialect" identifier that this node belongs to.
 
template<typename T >
accept (TFLNodeVisitorBase< T > *) const
 
template<typename T >
accept (TFLNodeMutableVisitorBase< T > *)
 
- 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 locoex::FixedArityNode< 1, TFLNodeImpl< TFLOpcode::RELU > >
loco::Useat (unsigned n) const
 

Detailed Description

Definition at line 384 of file TFLNodes.h.

Constructor & Destructor Documentation

◆ TFLRelu()

locoex::TFLRelu::TFLRelu ( )
default

Member Function Documentation

◆ features() [1/2]

void locoex::TFLRelu::features ( loco::Node node)
inline

Definition at line 391 of file TFLNodes.h.

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

References locoex::FixedArityNode< 1, TFLNodeImpl< TFLOpcode::RELU > >::at(), and loco::Use::node().

◆ features() [2/2]

loco::Node * locoex::TFLRelu::features ( void  ) const
inline

Definition at line 390 of file TFLNodes.h.

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

References locoex::FixedArityNode< 1, TFLNodeImpl< TFLOpcode::RELU > >::at(), and loco::Use::node().


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