Function: destroy_tensor_desc

Applicability

Product

Supported

Atlas 350 Accelerator Card

Atlas A3 training product/Atlas A3 inference product

Atlas A2 training product/Atlas A2 inference product

Atlas training product

Atlas inference product

Atlas 200I/500 A2 inference product

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)
    

Parameters

Parameter

Description

desc

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

Returns

None