R/nnf-pixelshuffle.R
nnf_pixel_shuffle.Rd
Rearranges elements in a tensor of shape (∗,C×r2,H,W) to a tensor of shape (∗,C,H×r,W×r).
nnf_pixel_shuffle(input, upscale_factor)
(Tensor) the input tensor
(int) factor to increase spatial resolution by