Skip to content

Commit

Permalink
Update spacing
Browse files Browse the repository at this point in the history
  • Loading branch information
abhro committed Dec 14, 2024
1 parent fd9a27d commit 3abfa56
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/trainables.jl
Original file line number Diff line number Diff line change
Expand Up @@ -32,10 +32,10 @@ julia> trainables(x)
1-element Vector{AbstractArray}:
[1.0, 2.0, 3.0]
julia> x = MyLayer((a=[1.0,2.0], b=[3.0]), [4.0,5.0,6.0]);
julia> x = MyLayer((a=[1.0,2.0], b=[3.0]), [4.0,5.0,6.0]);
julia> trainables(x) # collects nested parameters
2-element Vector{AbstractArray}:
julia> trainables(x) # collects nested parameters
2-element Vector{AbstractArray}:
[1.0, 2.0]
[3.0]
```
Expand Down

0 comments on commit 3abfa56

Please sign in to comment.