Function: set_tensor_dynamic_input
Applicability
Product |
Supported (√/x) |
|---|---|
√ |
|
√ |
|
√ |
|
√ |
|
√ |
Function Usage
Sets the name of a dynamic input after a tensor description is created by the acl.create_tensor_desc call.
Prototype
- C Prototype
1aclError aclSetTensorDynamicInput(aclTensorDesc *desc, const char *dynamicInputName)
- Python Function
1ret = acl.set_tensor_dynamic_input(desc, dynamic_input_name)
Parameter Description
Parameter |
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 |
Str, name of the dynamic input in desc. |
Return Value Description
Return Value |
Description |
|---|---|
ret |
Int, error code.
|
Parent topic: aclmdlTensorDesc