MCPcopy Create free account
hub / github.com/UCSC-VLAA/OpenVision / total_examples

Method total_examples

src/datasets/core.py:44–46  ·  view source on GitHub ↗

Returns number of examples in the dataset, regardless of sharding.

(self)

Source from the content-addressed store, hash-verified

42
43 @property
44 def total_examples(self):
45 """Returns number of examples in the dataset, regardless of sharding."""
46 raise RuntimeError("not implemented for {self.__class__.__name__}")
47
48 def num_examples_per_process(self, nprocess=None):
49 """Returns a list of the numer of examples for each process.

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected