Skip to content

Commit 9c1ce24

Browse files
authored
Merge pull request #132 from bicycle1885/patch-1
fix typo
2 parents 6cab236 + 74c50b8 commit 9c1ce24

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/src/index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -178,7 +178,7 @@ Functors.@functor Layer
178178
# Both array fields will be, for example, moved to the GPU:
179179
Functors.children(Layer(3)) # (alpha = [...], beta = [...], length)
180180

181-
Optimisers.trainable(x::Layer) = (; alpha = x.alpha) # must be a subset of chidlren
181+
Optimisers.trainable(x::Layer) = (; alpha = x.alpha) # must be a subset of children
182182

183183
# Only the first field will be optimised:
184184
st = Optimisers.setup(DecayDescent(0.1), Layer(3))

0 commit comments

Comments
 (0)