Conditions | 1 |
Total Lines | 7 |
Code Lines | 6 |
Lines | 0 |
Ratio | 0 % |
Changes | 0 |
1 | # Author: Simon Blanke |
||
44 | def _tqdm_dict(self, nth_process, n_iter, obj_func): |
||
45 | """Generates the parameter dict for tqdm in the iteration-loop of each optimizer""" |
||
46 | return { |
||
47 | "total": n_iter, |
||
48 | "desc": "Process " + str(nth_process) + " -> " + obj_func.__name__, |
||
49 | "position": nth_process, |
||
50 | "leave": True, |
||
51 | } |
||
53 |