law signed_transpose_wraps
import bendtorch-core@0.1.0.0/src/tensor/signed_LAWS.bend as SignedLAWSimport Base
import bendtorch-core@0.1.0.0/src/shape/core.bend as Shape
import bendtorch-core@0.1.0.0/src/tensor/core.bend as Core
import bendtorch-core@0.1.0.0/src/tensor/transforms.bend as Transforms
import bendtorch-core@0.1.0.0/src/tensor/signed.bend as Signed
107law signed_transpose_wraps:
108 for +input: Shape.Shape
109 for source: Core.Tensor<input>
110 for +a: Signed.Position
111 for +b: Signed.Position
112 {Signed.transpose_copy(input, source, a, b) ==
113 Transforms.transpose_copy(input, source, Signed.wrap(Signed.axis_limit(input), a), Signed.wrap(Signed.axis_limit(input), b)) :
114 Core.Tensor<input> & Result<&2, &1, Transforms.Error, Core.Dynamic>}
Uses (11)
Used by (0)
No other definition uses this definition.