def transformed_as
bendtorch-core@0.1.0.0 · src/tensor/slice_PROOF.bend:540
import bendtorch-core@0.1.0.0/src/tensor/slice_PROOF.bend as SlicePROOF
import Base
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/slice.bend as Slice
import bendtorch-core@0.1.0.0/src/tensor/slice_LAWS.bend as Laws
540def transformed_as(result: Result<&2, &1, Transforms.Error, Core.Dynamic>) ->
541 {Slice.transformed(result) == Laws.reshape_as_slice(result) : Result<&2, &1, Slice.Error, Core.Dynamic>}:
542 match result:
543 case Fail{Transforms.LayoutError{error}}:
544 {==}
545 case Fail{Transforms.TensorError{error}}:
546 {==}
547 case Done{output}:
548 {==}