-
Notifications
You must be signed in to change notification settings - Fork 30
New issue
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
Elementwise functions cbrt, exp2, copysign, and rsqrt #1443
Conversation
View rendered docs @ https://intelpython.github.io/dpctl/pulls/1443/index.html |
5ae12c4
to
c8f3e03
Compare
c8f3e03
to
64eb98c
Compare
Array API standard conformance tests for dpctl=0.15.1dev0=py310ha25a700_43 ran successfully. |
Array API standard conformance tests for dpctl=0.15.1dev0=py310ha25a700_43 ran successfully. |
1 similar comment
Array API standard conformance tests for dpctl=0.15.1dev0=py310ha25a700_43 ran successfully. |
Now test more type combinations/output types
Array API standard conformance tests for dpctl=0.15.1dev0=py310ha25a700_45 ran successfully. |
Array API standard conformance tests for dpctl=0.15.1dev0=py310ha25a700_44 ran successfully. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM. Thank you @ndgrigorian !
This pull request implements
dpctl.tensor.cbrt
,dpctl.tensor.exp2
, anddpctl.tensor.copysign
, new elementwise functions coming to the array API specification.It also adds
dpctl.tensor.rsqrt
for computing the reciprocal square root of a floating-point arrays with greater accuracy.