From 1b6dd344dba3bf8a70418a9f151b3277fe05fcb3 Mon Sep 17 00:00:00 2001 From: Michael Abbott <32575566+mcabbott@users.noreply.github.com> Date: Mon, 28 Nov 2022 11:16:22 -0500 Subject: [PATCH] remove duplicate functor docstring (it's in Functors section) --- docs/src/models/basics.md | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/docs/src/models/basics.md b/docs/src/models/basics.md index e82c25185e..7699c2e15c 100644 --- a/docs/src/models/basics.md +++ b/docs/src/models/basics.md @@ -213,7 +213,7 @@ m(5) # => 26 ## Layer Helpers -There is still one problem with this `Affine` layer, that Flux does not know to look inside it. This means that [`Flux.train!`](@ref) won't see its parameters, nor will [`gpu`](@ref) be able to move them to your GPU. These features are enabled by the `@functor` macro: +There is still one problem with this `Affine` layer, that Flux does not know to look inside it. This means that [`Flux.train!`](@ref) won't see its parameters, nor will [`gpu`](@ref) be able to move them to your GPU. These features are enabled by the [`@functor`](@ref Functors.@functor) macro: ``` Flux.@functor Affine @@ -232,6 +232,5 @@ Affine(3 => 1, bias=false, init=ones) |> gpu ``` ```@docs -Functors.@functor Flux.create_bias ```