Function: set_attr_list_bool
C Prototype |
aclErroraclopSetAttrListBool(aclopAttr *attr, const char *attrName, int numValues, const uint8_t *attrValue); |
---|---|
Python Function |
ret = acl.op.set_attr_list_bool(attr, attr_name, attr_value) |
Function Usage |
Sets the attribute value of a list of bools. 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 uint8. |
Return Value |
ret: int, error code.
|
Restrictions |
None |
Precautions |
None |