law axis_permutation_rejects

bendtorch-core@0.1.0.0 · src/tensor/axis_LAWS.bend:50

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

50law axis_permutation_rejects:
51  for +shape: Shape.Shape
52  for +axes: List<&2, U32>
53  for rejected: {False{} == Layout.bijective(shape, axes) : Bool}
54  {axis_plan_succeeded(shape, axes, Layout.permutation(shape, axes)) == False{} : Bool}

Uses (8)

Used by (0)

No other definition uses this definition.