Documentation
GitHub
Example
Dlang.org
Variable.backward
grain
autograd
Variable
computes gradients of creator variables w.r.t. this variable
void
backward
(
UntypedVariable
*
grad
,
size_t
pos
=
0
)
void
backward
()
struct
Variable
(T, size_t dim, alias Storage = HostStorage, SliceKind kind = Contiguous)
void
backward
(
)
Meta
Source
See Implementation
grain
autograd
Variable
constructors
this
functions
backward
detach
dup
gradSliced
gradVariable
opBinary
opBinaryRight
sliced
toString
properties
defined
ptr
computes gradients of creator variables w.r.t. this variable