def clone_written_first_pair
bendtorch-core@0.1.0.0 · src/tensor/observation.bend:321
import bendtorch-core@0.1.0.0/src/tensor/observation.bend as Observation
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
321def clone_written_first_pair(-shape: Shape.Shape, +index: U32, +value: F32, +other: U32,
322 pair: Core.Tensor<shape> & Core.Tensor<shape>) -> Maybe<&2, F32>:
323 (first, second) = pair
324 written_value_pair(shape, other, Core.write_flat(shape, first, index, value))