We've trained a model and want to use it in a few different methods, each of which mutates it. However, the first method call will pollute the model for the subsequent calls.
Ideally we'd like to just deepcopy the model and then pass copies into the mutating methods.
Is this possible? Or is there a better alternative?
Of course. GPflow 2.0.0-rc1 has an implementation of the deep copy, but it is called deepcopy_components
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With