def length_owner_value_pair
import bendtorch-core@0.1.0.0/src/tensor/observation.bend as Observationimport 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
363def length_owner_value_pair(-shape: Shape.Shape, +other: U32, pair: Core.Tensor<shape> & Nat) -> Maybe<&2, F32>:
364 (tensor, n) = pair
365 Core.read_value(shape, Core.read_flat(shape, tensor, other))