### 🐛 Describe the bug ``` import torch for device in ["cuda", "cpu"]: inp = torch.rand([1, 9, 2, 2], device=device) output = torch.nn.functional.pixel_shuffle(inp, upscale_factor=1) print(inp.storage()._cdata == output.storage()._cdata) # True # False ``` This will also cause a `storage.use_count() == 1` invariant error when run in debug mode with cuda. cc @albanD @mruberry @jbschlosser @walterddr @kshitij12345 @saketh-are ### Versions master
🐛 Describe the bug
This will also cause a
storage.use_count() == 1invariant error when run in debug mode with cuda.cc @albanD @mruberry @jbschlosser @walterddr @kshitij12345 @saketh-are
Versions
master