MCPcopy Create free account
hub / github.com/AIS-SNU/Smart-Infinity / is_map_style_dataset

Method is_map_style_dataset

deepspeed/runtime/engine.py:1569–1570  ·  view source on GitHub ↗
(obj)

Source from the content-addressed store, hash-verified

1567
1568 @staticmethod
1569 def is_map_style_dataset(obj):
1570 return hasattr(obj, "__getitem__") and hasattr(obj, "__len__")
1571
1572 @staticmethod
1573 def is_iterable_style_dataset(obj):

Callers 1

deepspeed_ioMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected