Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ClipNorm ¶
ClipNorm is a GradClipper which clips the values of a matrix according to the NormType. See ClipNorm.Clip.
type ClipValue ¶
ClipValue is a GradClipper which clips the values of a matrix between -Value and +Value.
type GradClipper ¶
type GradClipper interface { // Clip clips the values of the matrix in place. Clip(gs []mat.Matrix) }
GradClipper is implemented by any value that has the Clip method.
Click to show internal directories.
Click to hide internal directories.