Skip to content

Commit

Permalink
Fix doctests
Browse files Browse the repository at this point in the history
  • Loading branch information
Saransh-cpp committed Jul 28, 2022
1 parent c5a8033 commit d660eda
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/layers/basic.jl
Original file line number Diff line number Diff line change
Expand Up @@ -663,7 +663,7 @@ Embedding(1000 => 4) # 4_000 parameters
julia> vocab_idxs = [1, 722, 53, 220, 3];
julia> x = Flux.onehotbatch(vocab_idxs, 1:vocab_size); summary(x)
"1000×5 OneHotMatrix(::Vector{Int64}) with eltype Bool"
"1000×5 OneHotMatrix(::Vector{UInt32}) with eltype Bool"
julia> model(x) |> summary
"4×5 Matrix{Float32}"
Expand Down

0 comments on commit d660eda

Please sign in to comment.