-
Notifications
You must be signed in to change notification settings - Fork 44
Open
Description
Hi, I am using emgutf v2.8.0.1418 with Xamarin Forms targeting Android. I am running pose detection and want to apply a toggle to switch between using CPU/GPU/NNAPI/XNNPack for performance comparison.
I use the following code to apply the delegate live while the interpreter is running. Switching from no delegate (CPU) to the GPU delegate and subsequently to the other delegates.
_interpreter.ModifyGraphWithDelegate(delegateToApply);
However, I am having trouble going back to using just using the CPU. Can you please provide some guidance?
Looking at the TensorFlow GitHub library, there appears to be an interpreter method "RemoveAllDelegates()" that might be what I want to use, but it doesn't seem to exist in emgutf.
Metadata
Metadata
Assignees
Labels
No labels