Tenncor
|
Interface of traversible and differentiable nodes with shape information. More...
#include <itensor.hpp>
Public Member Functions | |
virtual | ~iTensor (void)=default |
virtual void | accept (iTraveler &visiter)=0 |
Obtain concrete information on either leaf or functor implementations. More... | |
virtual const Shape & | shape (void) const =0 |
Return the shape held by this tensor. More... | |
virtual std::string | to_string (void) const =0 |
Return the string representation of the tensor. More... | |
Interface of traversible and differentiable nodes with shape information.
|
virtualdefault |
|
pure virtual |
Obtain concrete information on either leaf or functor implementations.
Implemented in teq::iFunctor, and teq::iLeaf.
|
pure virtual |
Return the shape held by this tensor.
Implemented in teq::Functor, dbg::CustomFunctor< T >, eteq::Functor< T >, and eteq::iLeaf< T >.
|
pure virtual |
Return the string representation of the tensor.
Implemented in eteq::Variable< T >, teq::Functor, dbg::CustomFunctor< T >, eteq::Functor< T >, and eteq::Constant< T >.