[ONNX] Detailed diagnostics for 'perfect_match_inputs' (#105892)
Log reasoning behind each unsuccessful perfect match into diagnostic.
<img width="614" alt="image" src="https://github.com/pytorch/pytorch/assets/9376104/c6eb3012-7175-459f-91a5-653bbdf04eb4">
Pull Request resolved: https://github.com/pytorch/pytorch/pull/105892
Approved by: https://github.com/thiagocrepaldi, https://github.com/titaiwangms