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

SUB in TensorFlow Lite. More...

#include <TFLNodes.h>

Collaboration diagram for locoex::TFLSub:

Public Member Functions

 TFLSub ()=default
 
loco::Nodex (void) const
 
void x (loco::Node *node)
 
loco::Nodey (void) const
 
void y (loco::Node *node)
 
- Public Member Functions inherited from locoex::FixedArityNode< 2, TFLNodeImpl< TFLOpcode::SUB > >
 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::SUB >
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.
 
- Public Member Functions inherited from locoex::TFLNodeMixin< TFLNodeTrait::FusedActFunc >
 TFLNodeMixin ()=default
 
FusedActFunc fusedActivationFunction () const
 
void fusedActivationFunction (FusedActFunc fused_act_fun)
 

Additional Inherited Members

- Protected Member Functions inherited from locoex::FixedArityNode< 2, TFLNodeImpl< TFLOpcode::SUB > >
loco::Useat (unsigned n) const
 

Detailed Description

SUB in TensorFlow Lite.

Definition at line 486 of file TFLNodes.h.

Constructor & Destructor Documentation

◆ TFLSub()

locoex::TFLSub::TFLSub ( )
default

Member Function Documentation

◆ x() [1/2]

void locoex::TFLSub::x ( loco::Node node)
inline

Definition at line 494 of file TFLNodes.h.

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

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

◆ x() [2/2]

loco::Node * locoex::TFLSub::x ( void  ) const
inline

Definition at line 493 of file TFLNodes.h.

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

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

◆ y() [1/2]

void locoex::TFLSub::y ( loco::Node node)
inline

Definition at line 497 of file TFLNodes.h.

497{ at(1)->node(node); }

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

◆ y() [2/2]

loco::Node * locoex::TFLSub::y ( void  ) const
inline

Definition at line 496 of file TFLNodes.h.

496{ return at(1)->node(); }

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


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