Skip to content

Commit 82723fa

Browse files
authored
Remove extra type parameter
1 parent ba63964 commit 82723fa

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/encodings/onehot.jl

+1-1
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ function checkblock(block::OneHotTensorMulti{N}, a::AbstractArray{T, M}) where {
3434
return N + 1 == M && last(size(a)) == length(block.classes)
3535
end
3636

37-
function mockblock(block::OneHotTensorMulti{0}) where {N}
37+
function mockblock(block::OneHotTensorMulti{0})
3838
labelblock = LabelMulti(block.classes)
3939
return encode(OneHot(), Validation(), labelblock, mockblock(labelblock))
4040
end

0 commit comments

Comments
 (0)