Skip to content

Commit 9eb4746

Browse files
authored
Update SpectralOps.cpp
1 parent 8d05684 commit 9eb4746

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/ATen/native/xpu/mkl/SpectralOps.cpp

+2-2
Original file line numberDiff line numberDiff line change
@@ -304,9 +304,9 @@ double _dft_scale(
304304
const Tensor& _fft_apply_normalization(
305305
const Tensor& self,
306306
int64_t normalization,
307-
IntArrayRef norm_sizes,
307+
IntArrayRef sizes,
308308
IntArrayRef dims) {
309-
auto scale = _dft_scale(dims, norm_sizes, normalization);
309+
auto scale = _dft_scale(dims, sizes, normalization);
310310
return (scale == 1.0) ? self : self.mul_(scale);
311311
}
312312

0 commit comments

Comments
 (0)