MCPcopy Create free account
hub / github.com/NVIDIA/DALI / __iter__

Method __iter__

dali/test/python/operator_2/test_random_bbox_crop.py:80–82  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

78 return self.n
79
80 def __iter__(self):
81 # return a copy, so that the iteration number doesn't collide
82 return BBoxDataIterator(self.n, self.batch_size, self.ndim, self.produce_labels)
83
84 def __next__(self):
85 boxes = []

Callers

nothing calls this directly

Calls 1

BBoxDataIteratorClass · 0.85

Tested by

no test coverage detected