def pick
import bendtorch-core@0.1.0.0/src/tensor/elementwise_parallel_proof.bend as ElementwiseParallelProofimport Base
import bendtorch-core@0.1.0.0/src/tensor/elementwise.bend as Elementwise
31# The value a cell gets from the two observed input cells.
32def pick(operation: Elementwise.Operation, left: Maybe<&2, F32>, right: Maybe<&2, F32>) -> Maybe<&2, F32>:
33 match left:
34 case None{}:
35 None{}
36 case Some{value}:
37 Elementwise.expected_right(operation, value, right)