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

#include <MulNode.h>

Collaboration diagram for nest::expr::MulNode:

Public Member Functions

 MulNode (const std::shared_ptr< expr::Node > &lhs, const std::shared_ptr< expr::Node > &rhs)
 
const MulNodeasMul (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 MulNode.h.

Constructor & Destructor Documentation

◆ MulNode()

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

Definition at line 32 of file MulNode.h.

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

Member Function Documentation

◆ asMul()

const MulNode * nest::expr::MulNode::asMul ( void  ) const
inlineoverride

Definition at line 39 of file MulNode.h.

39{ return this; }

◆ lhs()

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

Definition at line 42 of file MulNode.h.

42{ return _lhs; }

◆ rhs()

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

Definition at line 43 of file MulNode.h.

43{ return _rhs; }

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