From 8d2d15aa70f617c16c4a70efe1eb6550d0bd3c88 Mon Sep 17 00:00:00 2001 From: janEbert Date: Sat, 4 Apr 2020 23:06:56 +0200 Subject: [PATCH] Remove links to OneHot{Vector,Matrix} Since they aren't documented, we only get a 404 link. --- src/onehot.jl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/onehot.jl b/src/onehot.jl index 551e1f37..4b7e5e36 100644 --- a/src/onehot.jl +++ b/src/onehot.jl @@ -45,7 +45,7 @@ cudaconvert(x::OneHotMatrix{<:CuArray}) = OneHotMatrix(x.height, cudaconvert(x.d """ 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`. If `unk` is given, return `onehot(unk, labels)` if the input label `l` is not found in `labels`; otherwise it will error. @@ -80,7 +80,7 @@ end """ 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`. 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.