Following example returns an error
import mkl_fft.interfaces as mfi, numpy
b=numpy.arange(24.).reshape(2, 3, 4)
mfi.numpy_fft.rfft2(b, axes=(1, 2), norm="forward").shape
# ...
# IndexError: list index out of range
while stock NumPy works correctly
import numpy
b=numpy.arange(24.).reshape(2, 3, 4)
numpy.fft.rfft2(b, axes=(1, 2), norm="forward").shape
# (2, 3, 3)
For the same example, there is no issue, if norm is None or "backward".
Following example returns an error
while stock NumPy works correctly
For the same example, there is no issue, if
normisNoneor"backward".