automl / automl/Auto-PyTorch

[Code Cleanup] [Low priority] Unnecessary Check

Open
#176 0 comments 0 reactions 0 assignees View on GitHub
refactoring
Dominant language
Python
Stars
2.5k
Forks
300
PR merge metrics
No merged PRs in 30d

Description

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.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.