From 6825fd5e367b09cc6f8fc168854edb69f1a81a29 Mon Sep 17 00:00:00 2001 From: Michael Abbott <32575566+mcabbott@users.noreply.github.com> Date: Thu, 10 Nov 2022 11:52:04 -0500 Subject: [PATCH] oops --- src/deprecations.jl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/deprecations.jl b/src/deprecations.jl index b686e68f99..6c5846c8c1 100644 --- a/src/deprecations.jl +++ b/src/deprecations.jl @@ -103,7 +103,7 @@ train!(loss, ps::Params, data, opt) = error( train!(loss, ps::Params, data, opt::Optimisers.AbstractRule) = error( """can't mix implict Params with explict rule from Optimisers.jl - To use `Flux.params(m)` in `train!`, the 4th argument must be from the old `Flux.Optimise` sub-mo$ + To use `Flux.params(m)` in `train!`, the 4th argument must be from the old `Flux.Optimise` sub-module. But better to use the new explicit style, in which `m` itself is the 2nd argument. """)