| Conditions | 1 |
| Total Lines | 10 |
| Code Lines | 9 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | # Author: Simon Blanke |
||
| 32 | def _tqdm_dict(self, _cand_, _core_): |
||
| 33 | """Generates the parameter dict for tqdm in the iteration-loop of each optimizer""" |
||
| 34 | return { |
||
| 35 | "total": _core_.n_iter, |
||
| 36 | "desc": "Thread " |
||
| 37 | + str(_cand_.nth_process) |
||
| 38 | + " -> " |
||
| 39 | + _cand_._model_.func_.__name__, |
||
| 40 | "position": _cand_.nth_process, |
||
| 41 | "leave": True, |
||
| 42 | } |
||
| 54 |