law permutation_dimensions

bendtorch-core@0.1.0.0 · src/tensor/transform_LAWS.bend:18

import bendtorch-core@0.1.0.0/src/tensor/transform_LAWS.bend as TransformLAWS
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

18law permutation_dimensions:
19  for +input: Shape.Shape
20  for +axes: List<&2, U32>
21  for +plan: Layout.Plan<input, axes>
22  {Some{Shape.dimensions(Layout.output(input, axes, plan))} == Layout.reorder(Shape.dimensions(input), axes) : Maybe<&2, List<&2, U32>>}

Uses (8)

Used by (0)

No other definition uses this definition.