def clone_second_count_pair

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

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

303def clone_second_count_pair(+shape: Shape.Shape, pair: Core.Tensor<shape> & Core.Tensor<shape>) -> Maybe<&2, U32>:
304  (first, second) = pair
305  count_pair(Core.count(Core.pack(shape, second)))

Uses (9)

Used by (2)