MCPcopy Create free account
hub / github.com/CausalLearning/robust-unlearnable-examples / __len__

Method __len__

utils/imagenet_utils.py:114–115  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

112 return iter(self.loader)
113
114 def __len__(self):
115 return len(self.loader)
116
117 def __next__(self):
118 if self.iterator is None:

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected