flatten
function
defined in module
MLUtils
flatten(x::AbstractArray)
Reshape arbitrarly-shaped input into a matrix-shaped output, preserving the size of the last dimension.
See also
unsqueeze
.
julia> rand(3,4,5) |> flatten |> size
(12, 5)
There is
1
method for MLUtils.flatten
:
The following pages link back here: