|
TVM
0.9.4
|
#include <tvm/scheme/internal/CompiledAssignmentWrapper.h>
Public Member Functions | |
| CompiledAssignmentWrapper () | |
| CompiledAssignmentWrapper (const CompiledAssignmentWrapper &) | |
| CompiledAssignmentWrapper (CompiledAssignmentWrapper &&)=default | |
| ~CompiledAssignmentWrapper ()=default | |
| CompiledAssignmentWrapper & | operator= (const CompiledAssignmentWrapper &) |
| CompiledAssignmentWrapper & | operator= (CompiledAssignmentWrapper &&)=default |
| void | run () |
| void | from (double) |
| void | from (const Eigen::Ref< const MatrixType > &from) |
| void | to (const Eigen::Ref< MatrixType > &) |
| template<AssignType A, WeightMult W, MatrixMult M, Source F, typename... Args> | |
| CompiledAssignmentWrapper< MatrixType > | make (Args &&... args) |
Static Public Member Functions | |
| template<AssignType A, WeightMult W, MatrixMult M, Source F = EXTERNAL, typename... Args> | |
| static CompiledAssignmentWrapper | make (Args &&... args) |
This class wraps a CompiledAssignment so as to hide the template machinery. The three member functions of CompiledAssignment are exposed: run, from, to.
|
inline |
|
inline |
|
default |
|
default |
|
inline |
Change the source (for assignment built with Source != CONSTANT)
| std::runtime_error | if used for Source == CONSTANT |
|
inline |
Change the source (for assignment built with Source == CONSTANT)
| std::runtime_error | if used for Source != CONSTANT |
|
static |
Create an assignment and its wrapper.
| args | to [, from] [, weight] [, multiplier] where
|
|
inline |
|
default |
|
inline |
|
inline |
Run the assignment
|
inline |
Change the destination of the assignment