torchsig.utils.yaml.dataset_from_yaml_dict¶
- torchsig.utils.yaml.dataset_from_yaml_dict(yaml_dict: dict[str, Any]) TorchSigIterableDataset[source]¶
Creates a TorchSigIterableDataset from a YAML dictionary.
Passes data from the yaml_dict as needed into the TorchSigIterableDataset constructor and returns a new TorchSigIterableDataset.
- Parameters:
yaml_dict – dictionary containing dataset configuration with keys: - “dataset_metadata”: Dataset metadata - “target_labels”: List of target labels - “seed”: Random seed value
- Returns:
Configured TorchSigIterableDataset instance.