aclDestroyTensor
Atlas 200/300/500 推理产品不支持该接口。
函数功能
销毁通过aclCreateTensor接口创建的aclTensor。
函数原型
aclnnStatus aclDestroyTensor(const aclTensor *tensor)
参数说明
参数名 |
输入/输出 |
说明 |
---|---|---|
tensor |
输入 |
需要销毁的tensor指针。 |
返回值说明
返回0表示成功,返回其它值表示失败。
父主题: 公共接口
Atlas 200/300/500 推理产品不支持该接口。
销毁通过aclCreateTensor接口创建的aclTensor。
aclnnStatus aclDestroyTensor(const aclTensor *tensor)
参数名 |
输入/输出 |
说明 |
---|---|---|
tensor |
输入 |
需要销毁的tensor指针。 |
返回0表示成功,返回其它值表示失败。