grain ~master (2021-05-15T05:53:16Z)
Dub
Repo
Variable.backward
grain
autograd
Variable
computes gradients of creator variables w.r.t. this variable
void
backward
(UntypedVariable* grad, size_t pos)
void
backward
()
struct
Variable
(T, size_t dim, alias Storage = HostStorage, SliceKind kind = Contiguous)
static if
(
dim == 0
)
void
backward
(
)
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
computes gradients of creator variables w.r.t. this variable