MCPcopy Create free account
hub / github.com/OpenGVLab/HumanBench / __iter__

Method __iter__

PATH/core/data/datasets/images/seg_dataset_dev.py:251–252  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

249 return BitMasks(m)
250
251 def __iter__(self) -> torch.Tensor:
252 yield from self.tensor
253
254 def __repr__(self) -> str:
255 s = self.__class__.__name__ + "("

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected