def imap_batches_unordered(self, batches, chunksize=<NUM_LIT:1>):
assert ia.is_generator(batches), ("<STR_LIT>"<EOL>+ "<STR_LIT>") % (type(batches),)<EOL>gen = self.pool.imap_unordered(_Pool_starworker, self._handle_batch_ids_gen(batches), chunksize=chunksize)<EOL>for batch in gen:<EOL><INDENT>yield batch<EOL><DEDENT>
Augment batches from a generator in a way that does not guarantee to preserve order.

Parameters
----------
batches : generator of imgaug.augmentables.batches.Batch
    The batches to augment, provided as a generator. Each call to the generator should yield exactly one
    batch.

chunksize : None or int, optional
    Rough indicator of how many tasks should be sent to each worker. Increasing this number can improve
    performance.

Yields
------
imgaug.augmentables.batches.Batch
    Augmented batch.