MCPcopy Create free account
hub / github.com/OpenGVLab/UniFormerV2 / sampler

Method sampler

slowfast/datasets/ptv_datasets.py:68–73  ·  view source on GitHub ↗

Returns: (torch.utils.data.Sampler): video sampler for the dataset.

(self)

Source from the content-addressed store, hash-verified

66
67 @property
68 def sampler(self):
69 """
70 Returns:
71 (torch.utils.data.Sampler): video sampler for the dataset.
72 """
73 return self.dataset.video_sampler
74
75 def __len__(self):
76 """

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected