def written_length_pair

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

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

113def written_length_pair(-shape: Shape.Shape, pair: Core.Tensor<shape> & Result<&2, &2, Core.Error, Unit>) -> Nat:
114  (tensor, result) = pair
115  Core.logical_length(shape, tensor)

Uses (9)

Used by (3)