vak.config.prep.duration_from_toml_value#

vak.config.prep.duration_from_toml_value(value)[source]#

converter for dataset split durations. If value is -1, that value is returned – specifies “use the remainder of the dataset”. Other values are converted to float when possible.