We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6c1c4e7 commit 2839a2fCopy full SHA for 2839a2f
src/onehot.jl
@@ -146,8 +146,8 @@ end
146
"""
147
onehotbatch(xs, labels, [default])
148
149
-Returns a `OneHotMatrix` where `k`th column of the matrix is [`onehot(ls[k], labels)`](@ref onehot),
150
-for vector `xs`. This is a sparse matrix, which stores just `Vector{UInt32}` containing the indices.
+Returns a `OneHotMatrix` where `k`th column of the matrix is [`onehot(xs[k], labels)`](@ref onehot).
+This is a sparse matrix, which stores just a `Vector{UInt32}` containing the indices.
151
152
If one of the inputs in `xs` is not found in `labels`, that column is `onehot(default, labels)`
153
if `default` is given, else an error.
0 commit comments