Added sparse support for asin and neg functions, updated log1p (#44028)
Summary:
Description:
- [x] added C++ code for sparse `asin` and `neg` ops similarly to `log1p` op
- [x] added tests
- [x] coalesced input CPU/CUDA
- [x] uncoalesced input CPU/CUDA
- [x] added tests for `negative` and `arcsin`
Backprop will be addressed in another PR.
Pull Request resolved: https://github.com/pytorch/pytorch/pull/44028
Reviewed By: agolynski
Differential Revision: D23793027
Pulled By: mruberry
fbshipit-source-id: 5fd642808da8e528cf6acd608ca0dcd720c4ccc3