Open wbenoit26 opened 6 days ago
When the last dimension of X was odd, computing the rfft and irfft would result in losing a sample, which lead to unexpected behaviors downstream. Explicitly setting the output shape of the irfft fixes this.
X
When the last dimension of
X
was odd, computing the rfft and irfft would result in losing a sample, which lead to unexpected behaviors downstream. Explicitly setting the output shape of the irfft fixes this.