UntypedVariable

type-erased variable used in BackProp object

Constructors

this
this(Variable!(T, dim, Storage) v)

Members

Functions

dataSlice
auto dataSlice()
get
auto get()

variant.get

gradSlice
auto gradSlice()
gradTo
auto gradTo()

untyped grad to typed

to
auto to()

untyped to typed

toString
string toString()

Variables

data
Variant data;
Undocumented in source.
dim
size_t dim;
Undocumented in source.
elem
TypeInfo elem;
grad
Variant grad;
Undocumented in source.
requiresGrad
bool requiresGrad;
Undocumented in source.
shape
uint[] shape;
Undocumented in source.
strides
int[] strides;
Undocumented in source.

Meta