Documentation
GitHub
Example
Dlang.org
Variable.gradVariable
grain
autograd
Variable
get gradient as variable
struct
Variable
(T, size_t dim, alias Storage = HostStorage, SliceKind kind = Contiguous)
auto
gradVariable
(
bool
requiresGrad
= false
)
Meta
Source
See Implementation
grain
autograd
Variable
constructors
this
functions
backward
detach
dup
gradSliced
gradVariable
opBinary
opBinaryRight
sliced
toString
properties
defined
ptr
get gradient as variable