From def19b058e37d94846085a6937d8bc6ac7f3131f Mon Sep 17 00:00:00 2001 From: Yao Lu Date: Tue, 21 Apr 2020 10:56:38 +0800 Subject: [PATCH] simplify docstrings --- src/optimise/optimisers.jl | 6 ------ 1 file changed, 6 deletions(-) diff --git a/src/optimise/optimisers.jl b/src/optimise/optimisers.jl index 3731e8e3..15330e2a 100644 --- a/src/optimise/optimisers.jl +++ b/src/optimise/optimisers.jl @@ -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