"vscode:/vscode.git/clone" did not exist on "6ef2b8a92f691e63a95f8ec1f2448b6ee693ced2"
[trainer] improve code readability (#8903)
* [trainer] improve code This PR: - removes redundant code ``` self.model = model if model is not None else None ``` and ``` self.model = model ``` are the same. * separate attribute assignment from code logic - which simplifies things further. * whitespace
Showing
Please register or sign in to comment