Remove links to OneHot{Vector,Matrix}

Since they aren't documented, we only get a 404 link.
This commit is contained in:
janEbert 2020-04-04 23:06:56 +02:00
parent 73d631f5cd
commit 8d2d15aa70
1 changed files with 2 additions and 2 deletions

View File

@ -45,7 +45,7 @@ cudaconvert(x::OneHotMatrix{<:CuArray}) = OneHotMatrix(x.height, cudaconvert(x.d
""" """
onehot(l, labels[, unk]) onehot(l, labels[, unk])
Create a [`OneHotVector`](@ref) with its `l`-th element `true` based on the Create a `OneHotVector` with its `l`-th element `true` based on the
possible set of `labels`. possible set of `labels`.
If `unk` is given, return `onehot(unk, labels)` if the input label `l` is not found If `unk` is given, return `onehot(unk, labels)` if the input label `l` is not found
in `labels`; otherwise it will error. in `labels`; otherwise it will error.
@ -80,7 +80,7 @@ end
""" """
onehotbatch(ls, labels[, unk...]) onehotbatch(ls, labels[, unk...])
Create a [`OneHotMatrix`](@ref) with a batch of labels based on the Create a `OneHotMatrix` with a batch of labels based on the
possible set of `labels`. possible set of `labels`.
If `unk` is given, return [`onehot(unk, labels)`](@ref) if one of the input If `unk` is given, return [`onehot(unk, labels)`](@ref) if one of the input
labels `ls` is not found in `labels`; otherwise it will error. labels `ls` is not found in `labels`; otherwise it will error.