type PermuteFailure
bendtorch-core@0.1.0.0 · src/tensor/transform_totality.bend:31
import bendtorch-core@0.1.0.0/src/tensor/transform_totality.bend as TransformTotality
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
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
31type PermuteFailure<-input: Shape.Shape, -axes: List<&2, U32>, -original: Core.Tensor<input>, -error: Layout.Error> is Data:
32 PermuteFailure{-exact: {Transforms.permute_copy(input, original, axes) == (original, Fail{Transforms.LayoutError{error}}) :
33 Core.Tensor<input> & Result<&2, &1, Transforms.Error, Core.Dynamic>}}