def clone_written_second_pair
bendtorch-core@0.1.0.0 · src/tensor/observation.bend:339
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
339def clone_written_second_pair(-shape: Shape.Shape, +index: U32, +value: F32, +other: U32,
340 pair: Core.Tensor<shape> & Core.Tensor<shape>) -> Maybe<&2, F32>:
341 (first, second) = pair
342 untouched(shape, other, Core.write_flat(shape, first, index, value), second)