Update modeling_super_linear.py
Browse files598 unmodified lines599600601602603604605598 unmodified linesdef fourier_downsample_dim1(self,x, target_len: int):# 1. Forward real FFT along dim-1X = torch.fft.rfft(x, dim=1) # shape (..., L//2 + 1, ...)598 unmodified lines599600601602603604605598 unmodified linesdef fourier_downsample_dim1(self,x, target_len: int):L = x.size(1)# 1. Forward real FFT along dim-1X = torch.fft.rfft(x, dim=1) # shape (..., L//2 + 1, ...)
modeling_super_linear.py+1-1