Skip to content

Commit 142918e

Browse files
Update src/layers/recurrent.jl
Co-authored-by: Brian Chen <ToucheSir@users.noreply.github.com>
1 parent e7ad7f8 commit 142918e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/layers/recurrent.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -183,7 +183,7 @@ Assuming you have a `Recur` layer `rnn`, this is roughly equivalent to:
183183
```jldoctest; filter = r"[+-]?([0-9]*[.])?[0-9]+"
184184
julia> r = RNN(1 => 1);
185185
186-
julia> a = Vector{Float32}([1])
186+
julia> a = ones(Float32, 1)
187187
1-element Vector{Float32}:
188188
1.0
189189

0 commit comments

Comments
 (0)