grain ~master (2021-05-15T05:53:16Z)
Dub
Repo
DimensionCount
grain
autograd
a function to get the number of dimensions of variable
enum
size_t
DimensionCount
(
V
:
Variable
!(
Elem
,
dim
,
Storage
),
Elem
,
size_t
dim
,
alias
Storage
)
;
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
a function to get the number of dimensions of variable