BNNS.GradientClipping.byNorm(threshold:)
A constant that indicates that the operation clips gradients to a specified Euclidean norm.
Declaration
case byNorm(threshold: Float)Parameters
- threshold:
The maximum Euclidean norm.
A constant that indicates that the operation clips gradients to a specified Euclidean norm.
case byNorm(threshold: Float)The maximum Euclidean norm.