GetCurrentPlatformInfo

Description

Obtains NPU platform information, including the AI processor model and parameters.

Prototype

const PlatformInfo &GetCurrentPlatformInfo()

Parameters

None

Returns

The reference to PlatformInfo.

Constraints

None

Examples

1
2
3
4
// Obtain the current platform information.
void func() {
    const PlatformInfo npuInfo = GetCurrentPlatformInfo();
}