def split_next

bendtorch-core@0.1.0.0 · src/autograd/reduce_fiber_proof.bend:64

import bendtorch-core@0.1.0.0/src/autograd/reduce_fiber_proof.bend as ReduceFiberProof
import Base
import bendtorch-core@0.1.0.0/src/shape/core.bend as Shape

64def split_next(+t: Nat, +size: Nat, previous: Split<t, size>) -> Split<1n+t, size>:
65  Split{+q, +r, below, sum} = previous
66  split_step(t, size, q, r, below, sum, Shape.bool_case(Nat.is_lt(1n+r, size)))

Uses (5)

Used by (1)