MCPcopy Create free account
hub / github.com/XLearning-SCU/2022-CVPR-DART / __iter__

Method __iter__

utils.py:95–96  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

93 self.N = N
94
95 def __iter__(self):
96 return iter(np.arange(len(self.index1)))
97
98 def __len__(self):
99 return self.N

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected