def after_length_pair
import bendtorch-core@0.1.0.0/src/tensor/observation.bend as Observationimport 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
49def after_length_pair(-shape: Shape.Shape,
50 pair: Core.Tensor<shape> & Result<&2, &2, Core.Error, F32>) -> Nat:
51 (tensor, result) = pair
52 Core.logical_length(shape, tensor)
Uses (9)
Used by (5)
- bendtorch-core@0.1.0.0/src/tensor/observation:after_length
- bendtorch-core@0.1.0.0/src/tensor/construction_contract_PROOF:attached_length
- bendtorch-core@0.1.0.0/src/tensor/construction_contract_PROOF:length_projection
- bendtorch-core@0.1.0.0/src/tensor/read_contract:read_length_done
- bendtorch-core@0.1.0.0/src/tensor/read_contract:read_length_projection