Open alecmdunton opened 1 year ago
This is still an issue, and needs to get addressed. I believe that we need to stop treating MuyGPS
objects as immutable and stop treating optimization functions as pure functions, but this might be confusing to users.
Torch doesn't like it when we try to use, e.g.,
muygps_sigma_sq_optim
on aMuyGPS
object because of an issue withdeepcopy
. Will need to figure out a way to support computation of sigma_sq inMuyGPyS.torch.muygps_layer
that doesn't require calling anything inMuyGPyS._src.