[Onnxifi] optimize the dispatcher ordering (#38766)
Summary:
Pull Request resolved: https://github.com/pytorch/pytorch/pull/38766
We will most likely hit int32, float16 and float inputs are Onnxifi inputs.
Test Plan: runs
Reviewed By: ipiszy
Differential Revision: D21658148
fbshipit-source-id: c51917c29e223051c5dfa1c21788c6d620539562