def copy_succeeded

bendtorch-core@0.1.0.0 · src/tensor/transform_totality.bend:47

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

47def copy_succeeded(-input: Shape.Shape, -axes: List<&2, U32>, -plan: Layout.Plan<input, axes>,
48  pair: Core.Tensor<input> & Result<&2, &1, Transforms.Error, Core.Tensor<Layout.output(input, axes, plan)>>) -> Bool:
49  (source, result) = pair
50  Result.is_done(&2, &1, Transforms.Error, Core.Tensor<Layout.output(input, axes, plan)>, result)

Uses (12)

Used by (14)