torchsig.utils.yaml.save_dataset_yaml

torchsig.utils.yaml.save_dataset_yaml(filepath: str, dataset: TorchSigIterableDataset) None[source]

Saves dataset configuration to a YAML file.

Saves YAML data to the specified filepath to represent the input TorchSigIterableDataset.

Parameters:
  • filepath – Path where the YAML file will be saved.

  • dataset – TorchSigIterableDataset instance to save.