torchsig.datasets.dataset_utils.dataset_full_path¶
- torchsig.datasets.dataset_utils.dataset_full_path(dataset_type: str, impairment_level: int, train: bool | None = None) str[source]¶
Generates the full path for a dataset based on its type, impairment level, and whether it is for training.
- Parameters:
- Returns:
The full path to the dataset, e.g., ‘torchsig_narrowband_clean/train’.
- Return type:
Example
full_path = dataset_full_path(‘narrowband’, 0, True) print(full_path) # Output: ‘torchsig_narrowband_clean/train’