def clone_first_length_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
255def clone_first_length_pair(-shape: Shape.Shape, pair: Core.Tensor<shape> & Core.Tensor<shape>) -> Nat:
256 (first, second) = pair
257 Core.logical_length(shape, first)