We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
nan
For example:
In [1]: import dpctl.tensor as dpt In [2]: x1, x2 = dpt.asarray(1., dtype=dpt.float64), dpt.asarray(dpt.nan, dtype=dpt.float64) In [3]: dpt.logaddexp(x1, x2) Out[3]: usm_ndarray(1.69314718) In [4]: dpt.logaddexp(x2, x1) Out[4]: usm_ndarray(nan)
This should return nan in both cases
The text was updated successfully, but these errors were encountered:
Another case:
In [4]: x1 = dpt.asarray(dpt.inf) In [5]: x2 = dpt.asarray(dpt.inf) In [6]: dpt.logaddexp(x1, x2) Out[6]: usm_ndarray(nan)
Should be dpt.inf
dpt.inf
Sorry, something went wrong.
This issue was resolved in #1324
ndgrigorian
No branches or pull requests
For example:
This should return
nan
in both casesThe text was updated successfully, but these errors were encountered: