mpc.pytorch
mpc.pytorch copied to clipboard
Clean up `detach_maybe` and `data_maybe` uses throughout the library
I also don't like having the x.requires_grad
conditional in detach_maybe
since it hides if that tensor is detached or not.
\cc @ivandariojr