Function: update_params
Applicable Products
- Ascend 950PR&950DT products: Not supported
- Atlas A3 products: Supported
- Atlas A2 products: Supported
- Atlas 200I/500 A2 inference products: Supported
- Atlas inference products: Supported
- Atlas training products: Supported
Function
Sets tiling arguments and number of concurrency times of a dynamic-shape operator.
Prototype
-
C Prototype
aclError aclopUpdateParams(const char *opType, int numInputs, const aclTensorDesc *const inputDesc[], int numOutputs, const aclTensorDesc *const outputDesc[], const aclopAttr *attr) -
Python Function
ret = acl.op.update_params(op_type, input_desc, output_desc, attr)
Parameters
| Parameter | Description |
|---|---|
| op_type | Str, operator type. |
| input_desc | List, input tensor description. |
| output_desc | List, output tensor description. |
| attr | Int, operator attribute. |
Return Values
| Return Value | Description |
|---|---|
| ret | Int, error code: 0 on success; else, failure. |