law signed_axis_limit

bendtorch-core@0.1.0.0 · src/tensor/signed_LAWS.bend:88

import bendtorch-core@0.1.0.0/src/tensor/signed_LAWS.bend as SignedLAWS
import Base
import bendtorch-core@0.1.0.0/src/shape/core.bend as Shape
import bendtorch-core@0.1.0.0/src/tensor/transpose_spec.bend as Transpose
import bendtorch-core@0.1.0.0/src/tensor/signed.bend as Signed

88# Transpose wraps among the rank, and among 1 for a rank-0 input.
89law signed_axis_limit:
90  for +input: Shape.Shape
91  {Signed.axis_limit(input) == U32.from_nat(Transpose.axis_limit(Shape.rank_dimensions(Shape.dimensions(input)))) : U32}

Uses (7)

Used by (0)

No other definition uses this definition.