Function TfLiteQnnDelegateUpdateHtpPerfMode

Function Documentation

bool TfLiteQnnDelegateUpdateHtpPerfMode(TfLiteDelegate *delegate, const TfLiteQnnDelegateHtpPerformanceMode mode)

This API changes the performance mode of a created QNN Delegate on HTP backend, returning true for the mode set correctly, false for any failure.

It will perform a vote after a successful update. If the strategy of performance controlling is manual, the new mode takes effect before this API returns.

Note that this API cannot be called during graph invocation, and this is an experimental feature.