Tenncor
|
Functor of the graph mapping to operators specified by opcode argument. More...
#include <functor.hpp>
Public Member Functions | |
Functor & | operator= (const Functor &other)=delete |
Functor & | operator= (Functor &&other)=delete |
const Shape & | shape (void) const override |
Implementation of iTensor. More... | |
std::string | to_string (void) const override |
Implementation of iTensor. More... | |
Opcode | get_opcode (void) const override |
Implementation of iFunctor. More... | |
const ArgsT & | get_children (void) const override |
Implementation of iFunctor. More... | |
void | update_child (FuncArg arg, size_t index) override |
Implementation of iFunctor. More... | |
![]() | |
virtual | ~iFunctor (void)=default |
void | accept (iTraveler &visiter) override |
Implementation of iTensor. More... | |
![]() | |
virtual | ~iTensor (void)=default |
Static Public Member Functions | |
static Functor * | get (Opcode opcode, ArgsT args) |
Return a Functor with with input tensor and meta arguments. More... | |
static Functor * | get (const Functor &other) |
static Functor * | get (Functor &&other) |
Private Member Functions | |
Functor (Opcode opcode, Shape shape, ArgsT args) | |
Functor (const Functor &other)=default | |
Functor (Functor &&other)=default | |
Private Attributes | |
Opcode | opcode_ |
Operation encoding. More... | |
Shape | shape_ |
Shape info built at construction time according to arguments. More... | |
ArgsT | args_ |
Tensor arguments (and children) More... | |
Functor of the graph mapping to operators specified by opcode argument.
|
privatedefault |
|
privatedefault |
Return a Functor with with input tensor and meta arguments.
|
inlineoverridevirtual |
Implementation of iFunctor.
Implements teq::iFunctor.
|
inlineoverridevirtual |
Implementation of iFunctor.
Implements teq::iFunctor.
|
inlineoverridevirtual |
Implementation of iTensor.
Implements teq::iTensor.
|
inlineoverridevirtual |
Implementation of iTensor.
Implements teq::iTensor.
|
inlineoverridevirtual |
Implementation of iFunctor.
Implements teq::iFunctor.
|
private |
Tensor arguments (and children)
|
private |
Operation encoding.