In Lesson 3 - planet, I saw these 2 lines of code:
lr = 0.01
learn.fit_one_cycle(5, slice(lr))
if the slice(min_lr, max_lr) then I understand the fit_one_cycle() will use the spread-out Learning Rates from slice(min_lr, max_lr). (Hopefully, my understanding to this is correct)
But in this case slice(lr) only has one parameter,
What are the differences between fit_one_cycle(5, lr) and fit_one_cycle(5, slice(lr)) ? And what are the benefits of using slice(lr) instead of lr directly?