ONE - On-device Neural Engine
Loading...
Searching...
No Matches
nest::expr::AddNode Class Referencefinal

#include <AddNode.h>

Collaboration diagram for nest::expr::AddNode:

Public Member Functions

 AddNode (const std::shared_ptr< expr::Node > &lhs, const std::shared_ptr< expr::Node > &rhs)
 
const AddNodeasAdd (void) const override
 
const std::shared_ptr< expr::Node > & lhs (void) const
 
const std::shared_ptr< expr::Node > & rhs (void) const
 
- Public Member Functions inherited from nest::expr::Node
virtual ~Node ()=default
 
template<typename T >
accept (Visitor< T > *v)
 
template<typename T >
accept (Visitor< T > &v)
 

Detailed Description

Definition at line 29 of file AddNode.h.

Constructor & Destructor Documentation

◆ AddNode()

nest::expr::AddNode::AddNode ( const std::shared_ptr< expr::Node > &  lhs,
const std::shared_ptr< expr::Node > &  rhs 
)
inline

Definition at line 32 of file AddNode.h.

33 : _lhs{lhs}, _rhs{rhs}
34 {
35 // DO NOTHING
36 }
const std::shared_ptr< expr::Node > & rhs(void) const
Definition AddNode.h:43
const std::shared_ptr< expr::Node > & lhs(void) const
Definition AddNode.h:42

Member Function Documentation

◆ asAdd()

const AddNode * nest::expr::AddNode::asAdd ( void  ) const
inlineoverride

Definition at line 39 of file AddNode.h.

39{ return this; }

◆ lhs()

const std::shared_ptr< expr::Node > & nest::expr::AddNode::lhs ( void  ) const
inline

Definition at line 42 of file AddNode.h.

42{ return _lhs; }

◆ rhs()

const std::shared_ptr< expr::Node > & nest::expr::AddNode::rhs ( void  ) const
inline

Definition at line 43 of file AddNode.h.

43{ return _rhs; }

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