golem ~master (2021-09-25T16:54:00Z)
Dub
Repo
Linear.weights
golem
nn
Linear
Undocumented in source.
class
Linear
(T, size_t InputDim, size_t OutputDim, UseGradient useGradient = UseGradient.yes)
Tensor
!(
T
, [
InputDim
,
OutputDim
],
useGradient
)
weights
;
Meta
Source
See Implementation
golem
nn
Linear
aliases
parameters
constructors
this
functions
opCall
resetGrads
variables
bias
weights