BUG: Evade segfault by throwing a RuntimeError for `nn.ChannelShuffle` and empty input tensors (#77029)
Fixes #76616.
Pull Request resolved: https://github.com/pytorch/pytorch/pull/77029
Approved by: https://github.com/kshitij12345, https://github.com/jbschlosser