* add a check for scheduler and optimizer * pep * Apply suggestions from code review Co-authored-by: Adrian Wälchli <aedu.waelchli@gmail.com> Co-authored-by: Adrian Wälchli <aedu.waelchli@gmail.com> (cherry picked from commit c7d0f4c3a2)
c7d0f4c3a2