model
函数功能
加载模型。
函数原型
model(modelPath: str, deviceId: int)
输入参数说明
参数名 |
类型 |
说明 |
---|---|---|
modelPath |
str |
模型路径。 |
deviceId |
int |
加载的deviceId。 |
返回参数说明
Model对象。
支持的型号
Atlas 200/300/500 推理产品
Atlas 200I/500 A2 推理产品
Atlas 推理系列产品
父主题: 模型推理