MCPcopy Create free account
hub / github.com/Netflix/void-model / num_samples

Method num_samples

videox_fun/data/bucket_sampler.py:80–84  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

78
79 @property
80 def num_samples(self) -> int:
81 # dataset size might change at runtime
82 if self._num_samples is None:
83 return len(self.data_source)
84 return self._num_samples
85
86 def __iter__(self) -> Iterator[int]:
87 n = len(self.data_source)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected