unstack

function defined in module MLUtils


			unstack(xs; dims)

Unroll the given xs into an array of arrays along the given dimension dims.

See also stack , unbatch, and chunk.

Examples


			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]
Methods

There are 2 methods for MLUtils.unstack:

deprecated.jl:70