sfaira.data.StoresDao.checkout

StoresDao.checkout(idx: Optional[Dict[str, Optional[numpy.ndarray]]] = None, intercalated: bool = True, **kwargs) sfaira.data.store.carts.multi.CartMulti

Carts per store.

See also DistributedStore*.checkout().

Parameters
  • idx

  • intercalated – Whether to do sequential or intercalated emission.

  • kwargs – See parameters of DistributedStore*.generator().

Returns

Generator function which yields batch_size at every invocation. The generator returns a tuple of (.X, .obs).