Skip to content
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

Check if 'Pow' implementation is quicker by implementing it with 'Apply' #223

Open
Swopper050 opened this issue Dec 21, 2024 · 0 comments
Open

Comments

@Swopper050
Copy link
Collaborator

gorgonia.Tensor does not supported 'Pow' for something other than float types, so we cast it to float and back if this is the case in our current implementation.

Maybe it is quicker to just apply elementwise x^y, similar to the 'sin', 'cos', etc operators.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant