Function MSDeviceInfoSetFrequency
Defined in File context_c.h
Function Documentation
-
void MSDeviceInfoSetFrequency(MSDeviceInfoHandle device_info, int frequency)
Set the NPU frequency, Only valid for NPU.
- Parameters
device_info – [in] Device info object handle.
frequency – [in] Can be set to 1 (low power consumption), 2 (balanced), 3 (high performance), 4 (extreme performance), default as 3.