def axis_plan_succeeded
import bendtorch-core@0.1.0.0/src/tensor/axis_LAWS.bend as AxisLAWSimport Base
import bendtorch-core@0.1.0.0/src/shape/core.bend as Shape
import bendtorch-core@0.1.0.0/src/tensor/layout.bend as Layout
7def axis_plan_succeeded(-shape: Shape.Shape, -axes: List<&2, U32>, result: Result<&2, &2, Layout.Error, Layout.Plan<shape, axes>>) -> Bool:
8 match result:
9 case Fail{error}:
10 False{}
11 case Done{plan}:
12 True{}