Refactor mkl fft planning to not use Tensor objects (#46910)
Summary: Pull Request resolved: https://github.com/pytorch/pytorch/pull/46910
Test Plan: Imported from OSS
Reviewed By: ngimel
Differential Revision: D25119656
Pulled By: mruberry
fbshipit-source-id: 77943d6cdf629240c814dc8df530dd7ee4163963