def written_count_pair

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

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

138def written_count_pair(+shape: Shape.Shape, pair: Core.Tensor<shape> & Result<&2, &2, Core.Error, Unit>) -> Maybe<&2, U32>:
139  (tensor, result) = pair
140  count_pair(Core.count(Core.pack(shape, tensor)))

Uses (12)

Used by (2)