grain ~master (2021-05-15T05:53:16Z)
Dub
Repo
UntypedVariable.dataSlice
grain
autograd
UntypedVariable
struct
UntypedVariable
auto
dataSlice
(
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