Function: destroy_tensor_desc

Applicability

Product

Supported (√/x)

Atlas A3 training products/Atlas A3 inference products

Atlas A2 training products/Atlas A2 inference products

Atlas training products

Atlas inference products

Atlas 200I/500 A2 inference products

Function Usage

Destroys data of the aclTensorDesc type.

Prototype

  • C Prototype
    1
    void aclDestroyTensorDesc(const aclTensorDesc *desc)
    
  • Python Function
    1
    acl.destroy_tensor_desc(desc)
    

Parameter Description

Parameter

Description

desc

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

Return Value Description

None.