aclGetTensorListSize
Atlas 200/300/500 推理产品不支持该接口。
函数功能
获取aclTensorList的大小。
函数原型
aclnnStatus aclGetTensorListSize(const aclTensorList *tensorList, uint64_t *size)
参数说明
参数名 |
输入/输出 |
说明 |
---|---|---|
tensorList |
输入 |
输入的aclTensorList。 需提前调用aclCreateTensorList接口创建aclTensorList。 |
size |
输出 |
返回的长度。 |
返回值说明
返回0表示成功,返回其它值表示失败。
父主题: 公共接口