Expand description
Memory optimization utilities for large factor graphs.
This module provides memory-efficient representations and operations for probabilistic graphical models, including:
- Memory pooling for factor allocation
- Sparse factor representation for factors with many zeros
- Lazy evaluation for factor operations
- Memory-mapped factors for very large models
Structs§
- Block
Sparse Factor - Block-sparse factor for factors with block structure.
- Compressed
Factor - Compressed factor using quantization.
- Factor
Pool - Memory pool for factor value arrays.
- Lazy
Factor - Lazy factor that defers computation until needed.
- Memory
Estimate - Memory usage estimate.
- Pool
Stats - Statistics for memory pool usage.
- Sparse
Factor - Sparse factor representation using coordinate format.
- Streaming
Factor Graph - Memory-efficient factor graph for very large models.
Functions§
- estimate_
memory_ usage - Estimate memory usage for a factor graph.