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

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

        return out