def single_below
import bendtorch-core@0.1.0.0/src/autograd/reduce.bend as Reduceimport Base
import bendtorch-core@0.1.0.0/src/shape/core.bend as Shape
96# `single_rows` of the rows below the first one.
97def single_below(+rows: List<&2, Shape.Row>, +extents: List<&2, Nat>) -> Bool:
98 match rows extents:
99 case Shape.Row{stride, left, right} <> +rest +extent <> +others:
100 single_rows(rest, others)
101 case _ _:
102 False{}
Uses (5)
Used by (8)
- bendtorch-core@0.1.0.0/src/autograd/reduce:fiber_of
- bendtorch-core@0.1.0.0/src/autograd/reduce_parallel_proof:single_ok
- bendtorch-core@0.1.0.0/src/autograd/reduce:fiber_fast
- bendtorch-core@0.1.0.0/src/autograd/reduce_parallel_proof:SingleOk
- bendtorch-core@0.1.0.0/src/autograd/reduce_parallel_proof:run_of
- …