def halves
import bendtorch-core@0.1.0.0/src/autograd/reduce.bend as Reduceimport Base
196# Each half of a fork gets its own clone of the contribution array.
197def halves(pair: Array<F32> & Array<F32>) -> (Array<F32> & Unit) & (Array<F32> & Unit):
198 (first, second) = pair
199 ((first, Unit{}), (second, Unit{}))