> For the complete documentation index, see [llms.txt](https://hypergan.gitbook.io/hypergan/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://hypergan.gitbook.io/hypergan/components/layers/pixel_shuffle.md).

# pixel\_shuffle

````
    description: 'layer pixel_shuffle for configurable component'
    ---

    # pixel_shuffle layer

    Implements PixelShuffle https://pytorch.org/docs/master/generated/torch.nn.PixelShuffle.html

    ## input size

    Any 4-d tensor of the form `[B, C, H, W]`

    ## output size

    A 4d-tensor of the form `[B, C//4, H*2, W*2]`

    ## syntax

    ```json
      "pixel_shuffle"
    ```
````
