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
No OpKernel was registered to support Op 'RFFT' for CPU (running on android) #11804
Comments
Android only builds a subset of the ops, You need to add the ops that you need that are not in the "commonly used set" by hacking the build files for your needs. |
@andrewharp @aselle adding fft_ops.cc to build file solve the problem, many thanks! But it come up with a new problem, when running fft, raise this exception:
and then I refer to |
It seems like complexabs is not implemented. You could just try removing the #if !defined and see if it works. I'm not sure why that check was put in, but it is possible that it was for an old version that didn't support the complex type. @petewarden , any ideas? |
@aselle I remove that #if !defined and it works! many thank! |
Seems like it was disabled long time ago before open-sourcing Tensorflow. I think disabling it is no longer necessary. Works now on Android. Could anyone check on iOS? Somewhat related issue: #11804
I'm running tensorflow on android. and got this error:
Caused by: java.lang.IllegalArgumentException: No OpKernel was registered to support Op 'RFFT' with these attrs. Registered devices: [CPU], Registered kernels: <no registered kernels>
I'm using the master branch, where the RFFT CPU verison is already supported. So I'm wondering why this problem show up.
The TF version I used to build the graph(*.pb file) is also the latest master branch.
Here is to code I wrtie .pb graph:
So maybe RFFT for CPU is still not supported on android in the latest branch?
The text was updated successfully, but these errors were encountered: