dpnp icon indicating copy to clipboard operation
dpnp copied to clipboard

Implement `dpnp.nan_to_num()`

Open vlad-perevezentsev opened this issue 1 year ago • 1 comments

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?

vlad-perevezentsev avatar Aug 02 '24 20:08 vlad-perevezentsev

View rendered docs @ https://intelpython.github.io/dpnp/index.html

github-actions[bot] avatar Aug 02 '24 20:08 github-actions[bot]