Skip to content

Commit 79aed4d

Browse files
committed
render black digits on a whiteboard
1 parent 6f4aa5a commit 79aed4d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/MNIST/utils.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,5 +28,5 @@ function convert2image(array::AbstractArray{T}) where {T<:Number}
2828
else
2929
img = _colorview(Gray, array)
3030
end
31-
img
31+
return one(eltype(img)) .- img
3232
end

0 commit comments

Comments
 (0)