Add batch_converter parameter and multiprocessing support to {class}~anndata.experimental.pytorch.AnnLoader.
- Added
batch_converterparameter for batch-level post-processing of data batches - Added {func}
~anndata.experimental.pytorch.batch_dict_converterhelper function for converting batches to tensor dictionaries - Fixed multiprocessing support (
num_workers > 0) by implementing pickling forAnnCollectionViewobjects - Batch converters now work seamlessly with both single-threaded and multi-threaded data loading
{user}ronamit