Closed TanTingyi closed 4 years ago
n = (self.kernelsize - 1) / 2.0 self.n = 2 math.pi torch.arange(-n, 0).view(1, -1) / self.sample_rate
the size of self.n_ is (1, kernel_size/2)
Thank you, changed!
(kernel_size, 1)
n = (self.kernelsize - 1) / 2.0 self.n = 2 math.pi torch.arange(-n, 0).view(1, -1) / self.sample_rate
the size of self.n_ is (1, kernel_size/2)