ONE - On-device Neural Engine
Loading...
Searching...
No Matches
loco::EltwiseSub Class Referencefinal

Elementwise Sub lhs and rhs. More...

#include <Nodes.h>

Collaboration diagram for loco::EltwiseSub:

Public Member Functions

 EltwiseSub ()=default
 
Nodelhs (void) const
 
void lhs (Node *node)
 
Noderhs (void) const
 
void rhs (Node *node)
 
- Public Member Functions inherited from loco::CanonicalNodeDef< CanonicalOpcode::EltwiseSub, FixedArity< 2 >::Mixin >
virtual ~CanonicalNodeDef ()=default
 
uint32_t opnum (void) const final
 
CanonicalOpcode opcode (void) const final
 
- Public Member Functions inherited from loco::CanonicalNode
virtual ~CanonicalNode ()=default
 
const Dialectdialect (void) const final
 Return "Dialect" identifier that this node belongs to.
 
template<typename T >
accept (CanonicalNodeVisitorBase< T > *) const
 
template<typename T >
accept (CanonicalNodeMutableVisitorBase< 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
 
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

Elementwise Sub lhs and rhs.

Definition at line 921 of file Nodes.h.

Constructor & Destructor Documentation

◆ EltwiseSub()

loco::EltwiseSub::EltwiseSub ( )
default

Member Function Documentation

◆ lhs() [1/2]

void loco::EltwiseSub::lhs ( Node node)
inline

Definition at line 928 of file Nodes.h.

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

◆ lhs() [2/2]

Node * loco::EltwiseSub::lhs ( void  ) const
inline

Definition at line 927 of file Nodes.h.

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

◆ rhs() [1/2]

void loco::EltwiseSub::rhs ( Node node)
inline

Definition at line 931 of file Nodes.h.

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

◆ rhs() [2/2]

Node * loco::EltwiseSub::rhs ( void  ) const
inline

Definition at line 930 of file Nodes.h.

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

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