Function: get_tensor_real_name
C Prototype |
const char *aclmdlGetTensorRealName(const aclmdlDesc *modelDesc, const char *name) |
|---|---|
Python Function |
real_name = acl.mdl.get_tensor_real_name(model_desc, name) |
Function Usage |
Obtains the real name of a tensor by tensor name. Use acl.mdl.get_tensor_real_name with the following APIs: |
Input Description |
model_desc: int, pointer address of the aclmdlDesc type. Call acl.mdl.create_desc to create data of the aclmdlDesc type in advance. name: str, tensor name. |
Return Value |
real_name: str, real name of a tensor. If model_desc or name is empty, 0 is returned. |
Restrictions |
None |
Parent topic: Model Loading and Execution