Skip to content

Latest commit

 

History

History
8 lines (6 loc) · 550 Bytes

File metadata and controls

8 lines (6 loc) · 550 Bytes

Add batch_converter parameter and multiprocessing support to {class}~anndata.experimental.pytorch.AnnLoader.

  • Added batch_converter parameter for batch-level post-processing of data batches
  • Added {func}~anndata.experimental.pytorch.batch_dict_converter helper function for converting batches to tensor dictionaries
  • Fixed multiprocessing support (num_workers > 0) by implementing pickling for AnnCollectionView objects
  • Batch converters now work seamlessly with both single-threaded and multi-threaded data loading

{user}ronamit