type IndicesDone

bendtorch-core@0.1.0.0 · src/tensor/elementwise_PROOF.bend:608

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

608type IndicesDone<-plan: Shape.BroadcastPlan, -result: Result<&2, &1, Core.Error, U32 & U32>> is Data:
609  IndicesDone{-left: U32, -right: U32,
610    -exact: {Done{(left, right)} == result : Result<&2, &1, Core.Error, U32 & U32>},
611    -left_bound: {Nat.is_lt(U32.to_nat(left), Shape.logical_numel(Shape.dimensions(Shape.left_shape(plan)))) == True{} : Bool},
612    -right_bound: {Nat.is_lt(U32.to_nat(right), Shape.logical_numel(Shape.dimensions(Shape.right_shape(plan)))) == True{} : Bool}}

Uses (13)

Used by (4)