dgs.models.dataset.dataset.VideoDataset.arbitrary_to_ds

abstract VideoDataset.arbitrary_to_ds(a: torchvision.tv_tensors.Image | torch.Tensor, idx: int) State | list[State][source]

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