dgs.models.dataset.dataset.BaseDataset.arbitrary_to_ds

abstract BaseDataset.arbitrary_to_ds(a: any, idx: int) State | list[State][source]

Given an index, convert arbitrary data into a State or a list of States.