mpc.pytorch icon indicating copy to clipboard operation
mpc.pytorch copied to clipboard

Clean up `detach_maybe` and `data_maybe` uses throughout the library

Open bamos opened this issue 5 years ago • 0 comments

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

bamos avatar Oct 14 '18 20:10 bamos