Tenncor
|
Functor that runs a custom functor instead of Eigen operators. More...
#include <custom_functor.hpp>
Public Member Functions | |
CustomFunctor (const CustomFunctor< T > &other)=default | |
CustomFunctor (CustomFunctor< T > &&other)=default | |
CustomFunctor< T > & | operator= (const CustomFunctor< T > &other)=delete |
CustomFunctor< T > & | operator= (CustomFunctor< T > &&other)=delete |
const teq::Shape & | shape (void) const override |
Implementation of iTensor. More... | |
std::string | to_string (void) const override |
Implementation of iTensor. More... | |
teq::Opcode | get_opcode (void) const override |
Implementation of iFunctor. More... | |
const teq::ArgsT & | get_children (void) const override |
Implementation of iFunctor. More... | |
void | update_child (teq::FuncArg arg, size_t index) override |
Implementation of iFunctor. More... | |
void | update (void) override |
Implementation of iOperableFunc. More... | |
void * | data (void) override |
Implementation of iData. More... | |
const void * | data (void) const override |
Implementation of iData. More... | |
size_t | type_code (void) const override |
Implementation of iData. More... | |
std::string | type_label (void) const override |
Implementation of iData. More... | |
size_t | nbytes (void) const override |
Implementation of iData. More... | |
![]() | |
virtual | ~iOperableFunc (void)=default |
![]() | |
virtual | ~iFunctor (void)=default |
void | accept (iTraveler &visiter) override |
Implementation of iTensor. More... | |
![]() | |
virtual | ~iTensor (void)=default |
![]() | |
virtual | ~iData (void)=default |
Static Public Member Functions | |
static CustomFunctor< T > * | get (CustomOpF< T > op, eteq::ArgsT< T > args) |
Return a CustomFunctor with input function and meta arguments. More... | |
Private Member Functions | |
CustomFunctor (CustomOpF< T > op, teq::Shape shape, teq::ArgsT args) | |
Private Attributes | |
eteq::TensorT< T > | out_ |
CustomOpF< T > | op_ |
teq::Shape | shape_ |
Shape info built at construction time according to arguments. More... | |
teq::ArgsT | args_ |
Tensor arguments (and children) More... | |
Functor that runs a custom functor instead of Eigen operators.
|
default |
|
default |
|
inlineprivate |
|
inlineoverridevirtual |
Implementation of iData.
Implements teq::iData.
|
inlineoverridevirtual |
Implementation of iData.
Implements teq::iData.
|
static |
Return a CustomFunctor with input function and meta arguments.
|
inlineoverridevirtual |
Implementation of iFunctor.
Implements teq::iFunctor.
|
inlineoverridevirtual |
Implementation of iFunctor.
Implements teq::iFunctor.
|
inlineoverridevirtual |
Implementation of iData.
Implements teq::iData.
|
delete |
|
delete |
|
inlineoverridevirtual |
Implementation of iTensor.
Implements teq::iTensor.
|
inlineoverridevirtual |
Implementation of iTensor.
Implements teq::iTensor.
|
inlineoverridevirtual |
Implementation of iData.
Implements teq::iData.
|
inlineoverridevirtual |
Implementation of iData.
Implements teq::iData.
|
inlineoverridevirtual |
Implementation of iOperableFunc.
Implements teq::iOperableFunc.
|
inlineoverridevirtual |
Implementation of iFunctor.
Implements teq::iFunctor.
|
private |
Tensor arguments (and children)
|
private |
|
private |
|
private |
Shape info built at construction time according to arguments.