Function: destroy_attr
Applicable Products
- Ascend 950PR&950DT products: Supported
- Atlas A3 products: Supported
- Atlas A2 products: Supported
- Atlas 200I/500 A2 inference products: Supported
- Atlas inference products: Supported
- Atlas training products: Supported
Function
Destroys data of the aclopAttr type created by the acl.op.create_attr call.
Prototype
-
C Prototype
void aclopDestroyAttr(const aclopAttr *attr) -
Python Function
acl.op.destroy_attr(attr)
Parameters
| Parameter | Description |
|---|---|
| attr | Int, pointer address of the aclopAttr type data to be destroyed. This object is created by calling acl.op.create_attr. |
Return Values
None