type ConvertedCertificate

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

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

605type ConvertedCertificate<-operation: Operation, -plan: Shape.BroadcastPlan, -cursor: Nat, -index: U32,
606  -decision: Shape.BoolCase<Nat.is_eq(U32.to_nat(index), cursor)>, -original: State<Shape.output_shape(plan)>> is Type:
607  ConvertedCertificate{result: NaturalStep<Shape.output_shape(plan), cursor>,
608    exact: {result == natural_step_decided(operation, plan, cursor, index, original, decision) : NaturalStep<Shape.output_shape(plan), cursor>},
609    -meaning: NaturalMeaning(operation, plan, cursor, original, result)}

Uses (12)

Used by (3)