def transformed
bendtorch-core@0.1.0.0 · src/tensor/slice.bend:390
import bendtorch-core@0.1.0.0/src/tensor/slice.bend as Slice
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
390def transformed(result: Result<&2, &1, Transforms.Error, Core.Dynamic>) -> Result<&2, &1, Error, Core.Dynamic>:
391 match result:
392 case Fail{Transforms.LayoutError{error}}:
393 Fail{LayoutError{error}}
394 case Fail{Transforms.TensorError{error}}:
395 Fail{TensorError{error}}
396 case Done{output}:
397 Done{output}