Tenncor
Public Member Functions | Protected Member Functions | Private Attributes | List of all members
dbg::CustomFunctorNode< T > Struct Template Referencefinal

CustomFunctor's node wrapper. More...

#include <custom_functor.hpp>

Inheritance diagram for dbg::CustomFunctorNode< T >:
Inheritance graph
[legend]
Collaboration diagram for dbg::CustomFunctorNode< T >:
Collaboration graph
[legend]

Public Member Functions

 CustomFunctorNode (std::shared_ptr< CustomFunctor< T >> f)
 
CustomFunctorNode< T > * clone (void) const
 Return deep copy of this instance (with a copied functor) More...
 
T * data (void) override
 Implementation of iNode<T> More...
 
void update (void) override
 Implementation of iNode<T> More...
 
teq::TensptrT get_tensor (void) const override
 Implementation of iNode<T> More...
 
- Public Member Functions inherited from eteq::iNode< T >
virtual ~iNode (void)=default
 
iNode< T > * clone (void) const
 Return deep copy of node where internal typed tensor is copied. More...
 
teq::Shape shape (void)
 Return shape of internal tensor. More...
 
std::string to_string (void) const
 Return string representation of internal tensor. More...
 

Protected Member Functions

eteq::iNode< T > * clone_impl (void) const override
 

Private Attributes

std::shared_ptr< CustomFunctor< T > > func_
 

Detailed Description

template<typename T>
struct dbg::CustomFunctorNode< T >

CustomFunctor's node wrapper.

Constructor & Destructor Documentation

◆ CustomFunctorNode()

template<typename T >
dbg::CustomFunctorNode< T >::CustomFunctorNode ( std::shared_ptr< CustomFunctor< T >>  f)
inline

Member Function Documentation

◆ clone()

template<typename T >
CustomFunctorNode<T>* dbg::CustomFunctorNode< T >::clone ( void  ) const
inline

Return deep copy of this instance (with a copied functor)

◆ clone_impl()

template<typename T >
eteq::iNode<T>* dbg::CustomFunctorNode< T >::clone_impl ( void  ) const
inlineoverrideprotectedvirtual

Implements eteq::iNode< T >.

◆ data()

template<typename T >
T* dbg::CustomFunctorNode< T >::data ( void  )
inlineoverridevirtual

Implementation of iNode<T>

Implements eteq::iNode< T >.

◆ get_tensor()

template<typename T >
teq::TensptrT dbg::CustomFunctorNode< T >::get_tensor ( void  ) const
inlineoverridevirtual

Implementation of iNode<T>

Implements eteq::iNode< T >.

◆ update()

template<typename T >
void dbg::CustomFunctorNode< T >::update ( void  )
inlineoverridevirtual

Implementation of iNode<T>

Implements eteq::iNode< T >.

Member Data Documentation

◆ func_

template<typename T >
std::shared_ptr<CustomFunctor<T> > dbg::CustomFunctorNode< T >::func_
private

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