InputConfig¶
- class torch_ecg.components.InputConfig(*args: CFG | dict, input_type: str, n_channels: int, n_samples: int = -1, ensure_batch_dim: bool = True, **kwargs: dict)[source]¶
Bases:
CFG
A Class to store the configuration of the input.
- Parameters:
Examples
input_config = InputConfig( input_type="waveform", n_channels=12, n_samples=5000, )