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

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

        return out