Closed mcabbott closed 1 year ago
We should do this, IMO. It fits with freeze!
, and updating e.g. https://fluxml.ai/Flux.jl/dev/tutorials/2021-02-07-convnet/ to explicit parameters would like to use it.
Maybe adjust
should in fact be marked deprecated, in favour of adjust!
?
Now that
Leaf
is mutable, perhaps it is useful to be able to changeeta
only for some parts of the model.PR also solves the following bug:
adjust
doesn't copy the momenta, and thus they remain shared with the previous object.PR Checklist