torchsig.utils.yamlΒΆ
YAML utilities
Functions
Custom representer for YAML to handle sequences (lists). |
|
Creates a TorchSigIterableDataset from a YAML dictionary. |
|
Converts DatasetMetadata to a dictionary for YAML storage. |
|
Loads YAML dataset configuration from the specified filepath, extracts the dataset metadata for use in dataset construction, and configures sampling mode and output representation. |
|
Loads YAML data from specified filepath and constructs a dataset. |
|
Saves dataset configuration to a YAML file. |
|
Writes a dictionary to a YAML file with customized settings. |