Function: update_params

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)

Function Usage

Sets tiling arguments and number of blocks for concurrent execution in the dynamic shape scenario.

Input Description

op_type: str, operator type name.

input_desc: list, description of the operator input tensor.

output_desc: list, description of the operator output tensor.

attr: int, operator attribute.

Return Value

ret: int, error code.

Restrictions

None

Reference

For details about the API call sequence and example, see Single-Operator with Dynamic Shape (Operator Selector Registered).