def prefix_route

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

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

765def prefix_route(-input: Shape.Shape, -axes: List<&2, U32>, -plan: Layout.Plan<input, axes>, -original: Core.Tensor<input>,
766  -source: Core.Tensor<input>, -target: Core.Tensor<Layout.output(input, axes, plan)>, -cursor: Nat,
767  prefix: Transforms.Prefix<input, axes, plan, original, source, target, cursor>) -> PrefixRoutes<Layout.output(input, axes, plan), target, cursor>:
768  Transforms.Prefix{kept, words, checked, written} = prefix
769  PrefixRoutes{checked}

Uses (9)

Used by (0)

No other definition uses this definition.