def plan_length

bendtorch-core@0.1.0.0 · src/tensor/slice.bend:158

import bendtorch-core@0.1.0.0/src/tensor/slice.bend as Slice
import Base

158def plan_length(+plan: Plan) -> Nat:
159  Plan{outer, extent, inner, start, step, length} = plan
160  length

Uses (2)

Used by (4)