torchsig.utils.file_handlers.hdf5.HDF5Reader¶
- class torchsig.utils.file_handlers.hdf5.HDF5Reader(root)[source]¶
Bases:
FileReaderHandles reading Signal data from HDF5 files.
Methods
Reads a single sample and its corresponding targets from the HDF5 file.
Closes the HDF5 file handle.
- __init__(root) None[source]¶
Initializes the HDF5Reader.
- Parameters:
root (str) – The root directory containing the HDF5 file.