def plan
import bendtorch-core@0.1.0.0/src/tensor/slice.bend as Sliceimport Base
import bendtorch-core@0.1.0.0/src/shape/core.bend as Shape
197# The plan of input[..., start:stop:step, ...] at axis `dim`, or its refusal.
198def plan(+input: Shape.Shape, +dim: U32, +start: U32, +stop: U32, +step: U32) -> Result<&2, &2, Error, Planned>:
199 checked(Shape.dimensions(input), dim, start, stop, step, refusal(Shape.dimensions(input), dim, step))