Function: set_attr_list_int
C Prototype |
aclErroraclopSetAttrListInt(aclopAttr *attr, const char *attrName, int numValues, const int64_t *attrValue); |
---|---|
Python Function |
ret = acl.op.set_attr_list_int(attr, attr_name, attr_value) |
Function Usage |
Sets the attribute value of a list of int64_ts. It is a synchronous interface. |
Input Description |
attr: int, attribute address object of the ACL operator. This object is created by calling acl.op.create_attr. attr_name: str, attribute name. attr_value: numpy, one-dimensional array NumPy object. The type is int64. |
Return Value |
ret: int, error code.
|
Restrictions |
None |
Precautions |
None |