This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import onnx | |
| import torch | |
| from caffe2.python.onnx import backend | |
| from torch import nn | |
| from torch.autograd import Variable | |
| from torch.nn import PixelShuffle | |
| class MyPixelShuffle(nn.Module): | |
| """ | |
| Alternative version of pixel shuffle that was copied from the C++ version |