Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Model ¶
type Model struct { nn.BaseModel W nn.Param `spago:"type:weights"` B nn.Param `spago:"type:biases"` Mean nn.Param `spago:"type:undefined"` StdDev nn.Param `spago:"type:undefined"` Momentum nn.Param `spago:"type:undefined"` }
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.