law signed_permute_dynamic_wraps

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

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/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/elementwise_totality.bend as Totality
import bendtorch-core@0.1.0.0/src/tensor/signed.bend as Signed

101law signed_permute_dynamic_wraps:
102  for input: Core.Dynamic
103  for +axes: List<&2, Signed.Position>
104  {Signed.permute_dynamic(input, axes) == Transforms.permute_dynamic(input, Signed.wrap_all(Shape.rank(Totality.dynamic_shape(input)), axes)) :
105    Core.Dynamic & Result<&2, &1, Transforms.Error, Core.Dynamic>}

Uses (11)

Used by (0)

No other definition uses this definition.