types.h

Overview

Provides the model file types and device types supported by MindSpore Lite.

Since: 9

Related Modules:

MindSpore

Summary

Types

Name Description
OH_AI_ModelType Defines model file types.
OH_AI_DeviceType Defines the supported device types.

Enums

Name Description
OH_AI_ModelType { OH_AI_MODELTYPE_MINDIR = 0, OH_AI_MODELTYPE_INVALID = 0xFFFFFFFF } Defines model file types.
OH_AI_DeviceType {
OH_AI_DEVICETYPE_CPU = 0, OH_AI_DEVICETYPE_GPU, OH_AI_DEVICETYPE_KIRIN_NPU, OH_AI_DEVICETYPE_NNRT = 60,
OH_AI_DEVICETYPE_INVALID = 100
}
Defines the supported device types.