grain ~master (2021-05-15T05:53:16Z)
Dub
Repo
Variable.defined
grain
autograd
Variable
check data is not null
struct
Variable
(T, size_t dim, alias Storage = HostStorage, SliceKind kind = Contiguous)
@
property
bool
defined
(
)
Meta
Source
See Implementation
grain
autograd
Variable
constructors
this
functions
backward
detach
dup
gradSliced
gradVariable
opBinary
opBinaryRight
sliced
toString
manifest constants
isHost
properties
defined
ptr
variables
bprop
data
grad
offset
requiresGrad
shape
strides
check data is not null