Skip to content

Commit

Permalink
add PixelUnShuffle layer
Browse files Browse the repository at this point in the history
  • Loading branch information
cszn committed Mar 26, 2019
1 parent b2f89d0 commit 0a04dbe
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,8 @@
# PixelUnshuffle layer (PyTorch)

``` python
from torch.nn import Module


def pixel_unshuffle(input, upscale_factor):
r"""Rearranges elements in a Tensor of shape :math:`(C, rH, rW)` to a
Expand Down

0 comments on commit 0a04dbe

Please sign in to comment.