unstack
function defined in module MLUtils
function
MLUtils
unstack(xs; dims)
Unroll the given xs into an array of arrays along the given dimension dims.
xs
dims
See also stack , unbatch, and chunk.
stack
unbatch
chunk
julia> unstack([1 3 5 7; 2 4 6 8], dims=2) 4-element Vector{Vector{Int64}}: [1, 2] [3, 4] [5, 6] [7, 8]
There are 2 methods for MLUtils.unstack:
MLUtils.unstack
The following pages link back here:
MLUtils.jl , deprecations.jl , utils.jl