simplify docstrings

This commit is contained in:
Yao Lu 2020-04-21 10:56:38 +08:00
parent cc1dcd5590
commit def19b058e
1 changed files with 0 additions and 6 deletions

View File

@ -538,9 +538,6 @@ end
ClipValue(thresh)
Clip gradients when their absolute value exceeds `thresh`.
# Parameters
- Clipping threshold (`thresh`)
"""
mutable struct ClipValue{T}
thresh::T
@ -552,9 +549,6 @@ apply!(o::ClipValue, x, Δ) = clamp!(Δ, -o.thresh, o.thresh)
ClipNorm(thresh)
Clip gradients when their L2 norm exceeds `thresh`.
# Parameters
- Clipping threshold (`thresh`)
"""
mutable struct ClipNorm{T}
thresh::T