示例#1
0
    def forward(self, input):
        out = upfirdn2d(input,
                        self.kernel,
                        up=1,
                        down=self.factor,
                        pad=self.pad)

        return out
示例#2
0
    def forward(self, input):
        out = upfirdn2d(input, self.kernel, pad=self.pad)

        return out