nexuml.data.export.numpy_mmap¶
nexuml.data.export.numpy_mmap
¶
NumPy memory-mapped export backend.
NumpyMmapBackend
¶
Bases: ExportBackend
Memory-mapped NumPy backend for large-scale datasets.
Pre-allocates a single .npy file per feature key with shape
(num_samples, *feature_shape) for efficient sequential writes and
memory-mapped reads. Requires all samples to have uniform feature shapes.