[NNC] Add Support For is_nan (#48973)
Summary: Pull Request resolved: https://github.com/pytorch/pytorch/pull/48973
Test Plan: Imported from OSS
Reviewed By: bertmaher
Differential Revision: D25413166
Pulled By: eellison
fbshipit-source-id: 0c79258345df18c60a862373fa16931228fb92ef