def retained_read
import bendtorch-core@0.1.0.0/src/tensor/lifecycle.bend as Lifecycleimport Base
import bendtorch-core@0.1.0.0/src/storage/main.bend as Storage
14def retained_read(result: Storage.Storage & Result<&2, &2, Storage.Error, F32>) -> Nat:
15 (storage, value) = result
16 logical_length(storage)
Uses (8)
Used by (15)
- bendtorch-core@0.1.0.0/src/tensor/core:read_result
- bendtorch-core@0.1.0.0/src/tensor/lifecycle:get_length
- bendtorch-core@0.1.0.0/src/tensor/construction_contract_PROOF:attach_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
- …