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

Does this Android sample support features like NNAPI and NumThreads? #428

Open
libofei2004 opened this issue Aug 3, 2024 · 4 comments
Open

Comments

@libofei2004
Copy link

The impact of NNAPI and NumThreads on performance is significant. I don't seem to find these two interfaces in the example; are they supported?

@PaulTR
Copy link
Collaborator

PaulTR commented Aug 3, 2024

I want to say number of threads is supported in the options object, but NNAPI definitely isn't.

@libofei2004
Copy link
Author

@PaulTR Do you know how to set number of threads?

@PaulTR
Copy link
Collaborator

PaulTR commented Aug 3, 2024

So the thread option use to be a part of the base options object I thought. Not seeing it now, so I'll check on that when I get a chance (currently traveling for work, so might be a week or so depending on access).

@libofei2004
Copy link
Author

@PaulTR do you check on how to set number of threads?

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

2 participants