-
Notifications
You must be signed in to change notification settings - Fork 931
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
Support for powf #660
Comments
Could you expand a bit more on what you would use this for? |
The workaround does the job, thanks. |
Just merged #664 that adds this as a specialized op so hopefully this will be more efficient. Note that however we'll probably want to limit the number of basic ops so may well convert this back to being the workaround version at some point (but this shouldn't involve any user facing change). |
Closing as complete but feel free to re-open if needed or to open a fresh issue. |
Support element-wise power function on tensors:
tensor.powf(x)
where x is a scalar.Similar to https://pytorch.org/docs/stable/generated/torch.pow.html when exponent is a scalar value.
The text was updated successfully, but these errors were encountered: