dpnp
dpnp copied to clipboard
Implement `dpnp.nan_to_num()`
This PR suggests implementing new math function dpnp.nan_to_num() through dpnp functions like dpnp.isposinf(), dpnp.isneginf() dpnp.isnan() and dpnp.where(). Also added new tests covering cases not implemented in CuPy tests
- [X] Have you provided a meaningful PR description?
- [X] Have you added a test, reproducer or referred to issue with a reproducer?
- [X] Have you tested your changes locally for CPU and GPU devices?
- [X] Have you made sure that new changes do not introduce compiler warnings?
- [ ] Have you checked performance impact of proposed changes?
- [ ] If this PR is a work in progress, are you filing the PR as a draft?
View rendered docs @ https://intelpython.github.io/dpnp/index.html