def plan_valid
import bendtorch-core@0.1.0.0/src/tensor/axis_PROOF.bend as AxisPROOFimport 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
30def plan_valid(-shape: Shape.Shape, -axes: List<&2, U32>, plan: Layout.Plan<shape, axes>) -> {True{} == Layout.bijective(shape, axes) : Bool}:
31 Layout.Permutation{output, valid, ordered, count} = plan
32 valid