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

Method __len__

DeepSpeedExample/tasks/race/data.py:42–43  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

40 len(self.samples)))
41
42 def __len__(self):
43 return len(self.samples)
44
45 def __getitem__(self, idx):
46 return self.samples[idx]

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected