函数:destroy_attr
C函数原型 |
void aclopDestroyAttr(const aclopAttr *attr) |
---|---|
Python函数 |
acl.op.destroy_attr(attr) |
函数功能 |
销毁acl算子属性类型的数据,同步接口。 |
输入说明 |
attr:int,acl算子属性地址对象, 此对象使用调用acl.op.create_attr创建。 |
返回值说明 |
无 |
约束说明 |
销毁类接口:调用该接口后,不能继续使用已释放或销毁的资源,建议调用该接口后,将相关资源设置为无效值(例如,置为0或None)。 |
父主题: 算子加载与执行(op)