grain ~master (2021-05-15T05:53:16Z)
Dub
Repo
UntypedVariable.gradSlice
grain
autograd
UntypedVariable
struct
UntypedVariable
auto
gradSlice
(
V
)
(
)
if
(
isVariable
!
V
&&
isHost
!
V
)
Meta
Source
See Implementation
grain
autograd
UntypedVariable
constructors
this
functions
dataSlice
get
gradSlice
gradTo
to
toString
variables
data
dim
elem
grad
requiresGrad
shape
strides