def out_leaf

bendtorch-core@0.1.0.0 · src/tensor/contracts/binary_proofs.bend:34

import bendtorch-core@0.1.0.0/src/tensor/contracts/binary_proofs.bend as BinaryProofs
import Base
import bendtorch-core@0.1.0.0/src/shape/core.bend as Shape
import bendtorch-core@0.1.0.0/src/storage/LAWS.bend as StorageLaws
import bendtorch-core@0.1.0.0/src/tensor/elementwise.bend as Elementwise

34def out_leaf(+operation: Elementwise.Operation, +plan: Shape.BroadcastPlan, +left: Shape.Shape, +left_fill: F32, +left_ops: List<&2, StorageLaws.Op>, +right: Shape.Shape, +right_fill: F32, +right_ops: List<&2, StorageLaws.Op>, +position: Nat, inside: Bool) -> F32:
35  match inside:
36    case False{}:
37      0.0
38    case True{}:
39      cell(operation, plan, left, left_fill, left_ops, right, right_fill, right_ops, position)

Uses (9)

Used by (7)