diff --git a/third_party/mindspore/kits/context.h b/third_party/mindspore/kits/context.h index 9fe9c5ca1..1ac3797ee 100644 --- a/third_party/mindspore/kits/context.h +++ b/third_party/mindspore/kits/context.h @@ -215,8 +215,8 @@ OH_AI_API bool OH_AI_DeviceInfoGetEnableFP16(const OH_AI_DeviceInfoHandle device /** * @brief Set the NPU frequency, Only valid for NPU. * @param device_info Device info object handle. - * @param frequency Can be set to 1 (low power consumption), 2 (balanced), 3 (high performance), 4 (extreme - * performance), default as 3. + * @param frequency Can be set to 0 (automatic adjustment), 1 (low power consumption), 2 (balanced), 3 (high + * performance), 4 (extreme performance), default as 3. * @since 9 */ OH_AI_API void OH_AI_DeviceInfoSetFrequency(OH_AI_DeviceInfoHandle device_info, int frequency); diff --git a/third_party/mindspore/kits/types.h b/third_party/mindspore/kits/types.h index 0b3d26965..26e754a5b 100644 --- a/third_party/mindspore/kits/types.h +++ b/third_party/mindspore/kits/types.h @@ -161,6 +161,11 @@ typedef enum OH_AI_QuantizationType { OH_AI_UNKNOWN_QUANT_TYPE = 0xFFFFFFFF } OH_AI_QuantizationType; +/** + * @brief Defines the device descriptor of NNRT. + * + * @since 10 + */ typedef struct NNRTDeviceDesc NNRTDeviceDesc; #ifdef __cplusplus }