Open findmyway opened 2 years ago
julia> x = rand(2,3,4); julia> batch(x) |> size (24,)
It seems batch flatten the array here. I think it would make more sense to keep the array as it is here?
batch(x::AbstractArray{<:Number}) = x
Or at least keep the original size?
I think this should error, unless x is a vector
It seems batch flatten the array here. I think it would make more sense to keep the array as it is here?
Or at least keep the original size?