Function: destroy_step_info
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 aclprofStepInfo type created by the acl.prof.create_step_info call.
Prototype
-
C Prototype
void aclprofDestroyStepInfo (aclprofStepInfo * stepinfo) -
Python Function
acl.prof.destroy_step_info(stepinfo)
Parameters
| Parameter | Description |
|---|---|
| stepinfo | Int, step information. Call acl.prof.create_step_info in advance to create data of the aclprofStepInfo type. |
Return Values
None
Constraints
- This API is used in pair with acl.prof.create_step_info. Call
acl.prof.create_step_infobeforeacl.prof.destroy_step_info. - If the same
aclprofStepInfodata repeatedly calls theacl.prof.destroy_step_infoAPI, an error indicating repeated memory release will be reported.