MCPcopy Create free account
hub / github.com/tensorflow/datasets / to_absolute

Method to_absolute

tensorflow_datasets/core/splits.py:692–696  ·  view source on GitHub ↗
(self, split_infos)

Source from the content-addressed store, hash-verified

690 """Union of all splits of the dataset."""
691
692 def to_absolute(self, split_infos) -> list[_AbsoluteInstruction]:
693 # Create the union of all splits
694 split_names = split_infos.keys()
695 split = AbstractSplit.from_spec('+'.join(split_names))
696 return split.to_absolute(split_infos)
697
698
699@dataclasses.dataclass(frozen=True)

Callers

nothing calls this directly

Calls 4

joinMethod · 0.80
keysMethod · 0.45
from_specMethod · 0.45
to_absoluteMethod · 0.45

Tested by

no test coverage detected