TFLite: Stable Delegate: how to use stable_delegate with python API #66632
Labels
comp:lite
TF Lite related issues
stat:awaiting response
Status - Awaiting response from author
TF 2.16
type:support
Support issues
I am using tflite 2.16.1
My target is an aarch64 linux system
I have a tflite stable_delegate .so shared library, and a stable_delegate settings json file called 'stable_delegate_settings.json which I can execute using TFLite benchmark model using the commands
./benchmark_model --graph=model.tflite --stable_delegate_settings_file=stable_delegate_settings.json
this executes the model using stable delegate through the json stable_delegate settings file.
I want to know how can I use this stable_delegate_settings.json file to execute the model via stable delegate using python API.
I am not sure whats the format to execute stable delegate using tflite.load_delegate, since it searches for the .so shared library, not the json settings file.
thanks
The text was updated successfully, but these errors were encountered: