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

Method __len__

DeepSpeedExample/tasks/glue/data.py:51–52  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

49 len(self.samples)))
50
51 def __len__(self):
52 return len(self.samples)
53
54 def __getitem__(self, idx):
55 raw_sample = self.samples[idx]

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected