Function: destroy_tensor_desc

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 aclTensorDesc type.

Prototype

  • C Prototype

    void aclDestroyTensorDesc(const aclTensorDesc *desc)
    
  • Python Function

    acl.destroy_tensor_desc(desc)
    

Parameters

Parameter Description
desc Int, pointer address of the aclTensorDesc type to be destroyed.

Return Values

None