Skip to content

Commit

Permalink
compute args
Browse files Browse the repository at this point in the history
  • Loading branch information
bjudkewitz committed Sep 4, 2024
1 parent 4145a0d commit d3d03c6
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion dejaq/parallel.py
Original file line number Diff line number Diff line change
Expand Up @@ -65,10 +65,11 @@ def close(self):
self.in_queue = None

def compute(self, progress=True, ndarray=True, **kwargs):
''' Computes the results of the lazymap and returns them as a list.
''' Computes the results of the lazymap and returns them as a list or ndarray
Args:
progress (bool): whether to show a tqdm progress bar (default: True)
ndarray (bool): whether to try to return the results as a numpy array (default: True)
**kwargs: optional, being passed to tqqdm
Returns:
Expand Down

0 comments on commit d3d03c6

Please sign in to comment.