Function: update_params
Applicability
Product |
Supported |
|---|---|
Atlas 350 Accelerator Card |
√ |
√ |
|
√ |
|
√ |
|
√ |
|
√ |
Function Usage
Sets tiling arguments and number of concurrency times of a dynamic-shape operator.
Prototype
- C Prototype
1 2 3 4 5 6
aclError aclopUpdateParams(const char *opType, int numInputs, const aclTensorDesc *const inputDesc[], int numOutputs, const aclTensorDesc *const outputDesc[], const aclopAttr *attr)
- Python Function
1ret = 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. |
Returns
Return Value |
Description |
|---|---|
ret |
Int, error code: 0 on success; else, failure. |
Parent topic: Single-Operator Model Execution