{
"error_type": "unsupported_op_cpu",
"description": "算子在CPU设备上未实现",
"error_patterns": [
"op not supported: Expand is not implemented for CPU device",
"kernel not found for op type Expand on CPU",
"CPU: operator 'Expand' is not supported",
"算子 Expand 在CPU上不支持"
],
"diagnosis": {
"cause": "模型中包含的算子在CPU设备上没有对应的实现kernel",
"check_points": [
"MindSpore Lite算子支持列表中CPU是否支持该算子",
"是否有其他设备(GPU/NPU)支持该算子",
"算子是否有替代实现方式"
]
},
"suggestions": [
"尝试使用GPU或NPU设备运行: --device=GPU 或 --device=NPU",
"使用ohos_runtime_op_fix工具修复ONNX模型中不支持的算子",
"查看MindSpore Lite算子支持列表确认CPU支持情况"
],
"example_log": "[ERROR] op not supported: operator 'Expand' is not implemented for CPU device. No kernel found for this operator type on CPU. Please switch to GPU/NPU or modify the ONNX model.",
"operators": ["Expand"],
"device": "CPU"
}