Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Model ¶
type Model struct { nn.Module W *nn.Param B *nn.Param Mean *nn.Buffer StdDev *nn.Buffer Momentum *nn.Buffer }
Model contains the serializable parameters.
func NewWithMomentum ¶
NewWithMomentum returns a new model with supplied size and momentum.
Click to show internal directories.
Click to hide internal directories.