def reordered_construct_complete
bendtorch-core@0.1.0.0 · src/tensor/permutation_mapping.bend:183
import bendtorch-core@0.1.0.0/src/tensor/permutation_mapping.bend as PermutationMapping
import 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
import bendtorch-core@0.1.0.0/src/shape/LAWS.bend as ShapeLaws
import bendtorch-core@0.1.0.0/src/tensor/axis_spec.bend as Axis
183def reordered_construct_complete(+input: Shape.Shape, +axes: List<&2, U32>, +valid: {True{} == Layout.bijective(input, axes) : Bool}) ->
184 {ShapeLaws.built(Axis.order(U32, Shape.dimensions(input), Shape.naturals(axes)),
185 Shape.construct(Axis.order(U32, Shape.dimensions(input), Shape.naturals(axes)))) ==
186 Some{Axis.order(U32, Shape.dimensions(input), Shape.naturals(axes))} : Maybe<&2, List<&2, U32>>}:
187 ShapeLaws.construction_complete(Axis.order(U32, Shape.dimensions(input), Shape.naturals(axes)),
188 reordered_rank_bound(input, axes, valid), reordered_capacity_bound(input, axes, valid))