def clone_second_length_pair

bendtorch-core@0.1.0.0 · src/tensor/observation.bend:259

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

259def clone_second_length_pair(-shape: Shape.Shape, pair: Core.Tensor<shape> & Core.Tensor<shape>) -> Nat:
260  (first, second) = pair
261  Core.logical_length(shape, second)

Uses (6)

Used by (3)