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 dcaf0b9 commit d5f18dbCopy full SHA for d5f18db
src/array.jl
@@ -8,7 +8,7 @@ stored as a compact `N == M-1`-dimensional array of indices.
8
Typically constructed by [`onehot`](@ref) and [`onehotbatch`](@ref).
9
Parameter `I` is the type of the underlying storage, and `T` its eltype.
10
"""
11
-struct OneHotArray{T<:Integer, N, var"N+1", I<:Union{T, AbstractArray{T, N}}} <: AbstractArray{Bool, var"N+1"}
+struct OneHotArray{T, N, var"N+1", I<:Union{T, AbstractArray{T, N}}} <: AbstractArray{Bool, var"N+1"}
12
indices::I
13
nlabels::Int
14
end
0 commit comments