提交 e2427f30 编写于 作者: M Megvii Engine Team

feat(lite): lite support ax compnode

GitOrigin-RevId: 658ce72d596f758e0f9b0e9dac70dd420c8742a1
上级 2ce050bb
...@@ -34,7 +34,7 @@ typedef enum { ...@@ -34,7 +34,7 @@ typedef enum {
LITE_CAMBRICON = 5, LITE_CAMBRICON = 5,
//! when the device information is set in model, so set LITE_DEVICE_DEFAULT //! when the device information is set in model, so set LITE_DEVICE_DEFAULT
//! in lite, which equal to xpu in megengine //! in lite, which equal to xpu in megengine
LITE_DEVICE_DEFAULT = 6, LITE_DEVICE_DEFAULT = 7,
} LiteDeviceType; } LiteDeviceType;
typedef enum { typedef enum {
......
...@@ -22,7 +22,7 @@ class LiteDeviceType(IntEnum): ...@@ -22,7 +22,7 @@ class LiteDeviceType(IntEnum):
LITE_ATLAS = 3 LITE_ATLAS = 3
LITE_NPU = 4 LITE_NPU = 4
LITE_CAMBRICON = 5 LITE_CAMBRICON = 5
LITE_DEVICE_DEFAULT = 6 LITE_DEVICE_DEFAULT = 7
class LiteDataType(IntEnum): class LiteDataType(IntEnum):
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册