Documentation
GitHub
Example
Dlang.org
variable
grain
autograd
a helper function to create variable object from slice
auto
variable
(
Sl
sl
,
bool
requiresGrad
=
false
)
auto
variable
(
Sl
)
(
Sl
sl
,
bool
requiresGrad
= false
)
if
(
isSlice
!
Sl
)
auto
variable
(
T
x
)
auto
variable
(
A
a
,
bool
requiresGrad
=
false
)
Meta
Source
See Implementation
grain
autograd
aliases
ElementType
HostStorage
functions
gradSlice
iterVariables
length
refIterVariables
to
uninit
uninitVariable
variable
zero_
zeros
structs
BackProp
UntypedVariable
Variable
variables
DimensionCount
isHost
isVariable
a helper function to create variable object from slice