"...composable_kernel_rocm.git" did not exist on "da8324b6e3f47fe960ed95fc43ee4b6def0edb57"
[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