Auto-PyTorch icon indicating copy to clipboard operation
Auto-PyTorch copied to clipboard

[Code Cleanup] [Low priority] Unnecessary Check

Open ArlindKadra opened this issue 3 years ago • 0 comments

https://github.com/automl/Auto-PyTorch/blob/a4e08e297dc298b53d5962f0f4b4e55b5e9ded8c/autoPyTorch/api/base_task.py#L430-L435

The second if check at Line 433 is not needed. We can just continue with the statements under the first.

ArlindKadra avatar Apr 20 '21 08:04 ArlindKadra