Function: set_tensor_dynamic_input
C Prototype |
aclError aclSetTensorDynamicInput(aclTensorDesc *desc, const char *dynamicInputName) |
|---|---|
Python Function |
ret = acl.set_tensor_dynamic_input(desc, dynamic_input_name) |
Function Usage |
Sets the name of a dynamic input after a tensor description is created by the acl.create_tensor_desc call. |
Input Description |
desc: int, pointer address of the tensor description data. Call acl.create_tensor_desc to create data of the aclTensorDesc type in advance. dynamic_input_name: int, name of the dynamic input in desc. |
Return Value |
ret: int, error code.
|
Restrictions |
None |
Parent topic: Common APIs