def PrefixMapping

bendtorch-core@0.1.0.0 · src/tensor/elementwise.bend:553

import bendtorch-core@0.1.0.0/src/tensor/elementwise.bend as Elementwise
import Base
import bendtorch-core@0.1.0.0/src/shape/core.bend as Shape
import bendtorch-core@0.1.0.0/src/tensor/core.bend as Core

553def PrefixMapping(+operation: Operation, +plan: Shape.BroadcastPlan,
554  -left: Core.Dynamic, -right: Core.Dynamic, +next: Nat, -output: Core.Dynamic) -> Type:
555  @+index: U32 -> @earlier: Shape.LT(U32.to_nat(index), next) ->
556    {Core.observe_dynamic(output, index) == expected(operation, plan, left, right, index) : Maybe<&2, F32>}

Uses (11)

Used by (2)