BNNS.GradientClipping.byValue(bounds:)
A constant that indicates that the operation clips gradients to a specified range.
Declaration
case byValue(bounds: ClosedRange<Float>)Parameters
- bounds:
The minimum and maximum clipping values.
A constant that indicates that the operation clips gradients to a specified range.
case byValue(bounds: ClosedRange<Float>)The minimum and maximum clipping values.