Here https://docs.fast.ai/callback, The doc says
" * Changing self.learn.data or self.learn.opt directly WILL NOT change the data or the optimizer inside the fit function."
Why not? It says
"Changing self.learn.data.train_dl or self.data.valid_dl will change them inside the fit function "
right above so why cant we change the entire data or opt class? Is the way to change things to index into the class object and just change that attribute?
It also says
So the callback looks at items in dict and only updates those returned?