def built_array
import bendtorch-core@0.1.0.0/src/tensor/slice.bend as Sliceimport Base
302def built_array(kind: Pass, +depth: Nat, +plan: Plan, +count: Nat, a: Array<F32>) -> Array<F32>:
303 match kind:
304 case Forward{}:
305 build(depth, splits(depth), plan, count, 0n, a)
306 case Backward{}:
307 scatter_build(depth, splits(depth), plan, count, 0n, a)