From 50c5a4790250ba7d1ce08f3afddcd0e48e63dd82 Mon Sep 17 00:00:00 2001 From: Carlo Lucibello Date: Wed, 10 Mar 2021 00:31:33 +0100 Subject: [PATCH] redo docstring --- src/utils.jl | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/utils.jl b/src/utils.jl index dcf93a4702..e80d712f86 100644 --- a/src/utils.jl +++ b/src/utils.jl @@ -710,9 +710,9 @@ Return an iterator over non-leaf objects that can be reached from `m` through recursion on the children given by [`functor`](@ref). -It can be used to apply a regularization -over certain specific modules or subsets of -the parameters (e.g. the weights but not the biases). +Useful for applying a function (e.g. a regularizer) +over specific modules or subsets of the parameters +(e.g. the weights but not the biases). # Examples