pytorch-generative-model-collections icon indicating copy to clipboard operation
pytorch-generative-model-collections copied to clipboard

Why there is no detach() after the generator?

Open ToTheBeginning opened this issue 7 years ago • 1 comments
trafficstars

I see many code like this:fake_data = G(noise).detach()

But in your most code, there is no detach, so is it just ok to omit it ?

ToTheBeginning avatar Dec 05 '17 04:12 ToTheBeginning

https://github.com/pytorch/examples/issues/116

aidiary avatar Mar 03 '18 07:03 aidiary