def checked_update_route
bendtorch-core@0.1.0.0 · src/tensor/transform_PROOF.bend:478
import bendtorch-core@0.1.0.0/src/tensor/transform_PROOF.bend as TransformPROOF
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
478def checked_update_route(-shape: Shape.Shape, -original: Core.Tensor<shape>, -output: Core.Tensor<shape>, -index: U32,
479 -value: F32, -unit: Unit, meaning: Core.CheckedUpdateMeaning(shape, original, index, value, (output, Done{unit}))) ->
480 Core.ObservationChecked(Core.Packed{shape, output}, index):
481 (checked, rest) = meaning
482 checked