Tenncor
|
Constant's node wrapper. More...
#include <constant.hpp>
Public Member Functions | |
ConstantNode (std::shared_ptr< Constant< T >> cst) | |
ConstantNode< T > * | clone (void) const |
Return deep copy of this instance (with a copied constant) 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... | |
![]() | |
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 | |
iNode< T > * | clone_impl (void) const override |
Private Attributes | |
std::shared_ptr< Constant< T > > | cst_ |
Constant's node wrapper.
|
inline |
|
inline |
Return deep copy of this instance (with a copied constant)
|
inlineoverrideprotectedvirtual |
Implements eteq::iNode< T >.
|
inlineoverridevirtual |
Implementation of iNode<T>
Implements eteq::iNode< T >.
|
inlineoverridevirtual |
Implementation of iNode<T>
Implements eteq::iNode< T >.
|
inlineoverridevirtual |
Implementation of iNode<T>
Implements eteq::iNode< T >.
|
private |