torch_adata._tools._idx¶
Module Contents¶
Functions¶
|
Create a an index, sampling from range(len(dataset)). |
Attributes¶
- torch_adata._tools._idx.__module_name__ = _idx.py¶
- torch_adata._tools._idx.__doc__ = Utility module to generate an index within the bounds of len(dataset)¶
- torch_adata._tools._idx.__author__¶
- torch_adata._tools._idx.__email__¶
- torch_adata._tools._idx.idx(dataset, size: int = None, replace: bool = False) numpy.ndarray¶
Create a an index, sampling from range(len(dataset)).
dataset
- size
type: int
- replace
type: bool
- idx
type: numpy.ndarray