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

Method __iter__

utils.py:238–239  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

236 self.N = len(index1)
237
238 def __iter__(self):
239 return iter(np.arange(len(self.index1)))
240
241 def __len__(self):
242 return self.N

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected