def prefix_source

bendtorch-core@0.1.0.0 · src/tensor/transform_PROOF.bend:746

import bendtorch-core@0.1.0.0/src/tensor/transform_PROOF.bend as TransformPROOF
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

746def prefix_source(-input: Shape.Shape, -axes: List<&2, U32>, -plan: Layout.Plan<input, axes>, -original: Core.Tensor<input>,
747  -source: Core.Tensor<input>, -target: Core.Tensor<Layout.output(input, axes, plan)>, -cursor: Nat,
748  prefix: Transforms.Prefix<input, axes, plan, original, source, target, cursor>) -> PrefixSource<input, original, source>:
749  Transforms.Prefix{kept, words, checked, written} = prefix
750  PrefixSource{kept}

Uses (9)

Used by (0)

No other definition uses this definition.