Add OpInfo for torch.nansum (#55523)
Summary: Pull Request resolved: https://github.com/pytorch/pytorch/pull/55523
Reviewed By: agolynski
Differential Revision: D27796660
Pulled By: heitorschueroff
fbshipit-source-id: fea4d9dcccb7f4b9ba1b00079fb3899a8d20ba4b