torchoutil.extras.hdf.dataset module¶
- class HDFDataset(
- hdf_fpath: str | Path,
- transform: Callable[[T], U] | None = None,
- keep_padding: Iterable[str] = (),
- return_added_columns: bool = False,
- open_hdf: bool = True,
- cast: Literal['to_torch_or_builtin', 'to_torch_or_numpy', 'to_builtin', 'to_numpy_src', 'to_torch_src', 'none'] = 'none',
- file_kwds: Dict[str, Any] | None = None,
Bases:
Generic[T,U],DatasetSlicer[U]- property attrs: HDFDatasetAttributes¶
- get_attrs() HDFDatasetAttributes[source]¶