grain ~master (2021-05-15T05:53:16Z)
Dub
Repo
iterVariables
grain
autograd
kind of std.algorithm.each for iterating variables inside a chain
void
iterVariables
(C* chain, string prefix)
void
iterVariables
(
alias
proc
C
)
(
C
*
chain
,
string
prefix
= ""
)
void
refIterVariables
(C chain, string prefix)
Meta
Source
See Implementation
grain
autograd
aliases
DeviceStorage
ElementType
HostStorage
isDevice
functions
gradSlice
iterVariables
length
refIterVariables
to
uninit
uninitVariable
variable
zero_
zeros
structs
BackProp
UntypedVariable
Variable
variables
DimensionCount
isHost
isVariable
kind of std.algorithm.each for iterating variables inside a chain