Skip to content

Commit 0f71aac

Browse files
committed
remove mention of at-layer macro for now
1 parent fbfc25f commit 0f71aac

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

docs/src/models/layers.md

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ The `Dense` exemplifies several features:
1212

1313
* The bias vector is always intialised [`Flux.zeros32`](@ref). The keyword `bias=false` will turn this off, i.e. keeping the bias permanently zero.
1414

15-
* It is annotated with [`@layer`](@ref Flux.@layer), which means that [`params`](@ref Flux.params) will see the contents, and [gpu](@ref Flux.gpu) will move their arrays to the GPU.
15+
* It is annotated with [`@functor`](@ref Functors.@functor), which means that [`params`](@ref Flux.params) will see the contents, and [gpu](@ref Flux.gpu) will move their arrays to the GPU.
1616

1717
By contrast, `Chain` itself contains no parameters, but connects other layers together.
1818
The section on [dataflow layers](@ref man-dataflow-layers) introduces others like this,
@@ -84,8 +84,6 @@ Flux.EmbeddingBag
8484

8585
The basic `Chain(F, G, H)` applies the layers it contains in sequence, equivalent to `H ∘ G ∘ F`. Flux has some other layers which contain layers, but connect them up in a more complicated way: `SkipConnection` allows ResNet's residual connection.
8686

87-
These are all defined with [`@layer`](@ref)` :exand TypeName`, which tells the pretty-printing code that they contain other layers.
88-
8987
```@docs
9088
Chain
9189
Flux.activations

0 commit comments

Comments
 (0)