def count_pair

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

import bendtorch-core@0.1.0.0/src/tensor/observation.bend as Observation
import Base
import bendtorch-core@0.1.0.0/src/tensor/core.bend as Core

11def count_pair(pair: Core.Dynamic & U32) -> Maybe<&2, U32>:
12  (dynamic, count) = pair
13  Some{count}

Uses (5)

Used by (8)