Function: set_attr_list_list_int
C Prototype |
aclError aclopSetAttrListListInt(aclopAttr *attr, const char *attrName, int numLists, const int *numValues, const int64_t *const values[]); |
|---|---|
Python Function |
ret = acl.op.set_attr_list_list_int(attr, attr_name , values) |
Function Usage |
Sets the values (lists of int64_t lists) of an attribute. |
Input Description |
attr: int, pointer address of the aclopAttr type data. Call acl.op.create_attr to create data of the aclopAttr type in advance. attr_name: str, attribute name. values: list, which consists of multiple lists (each element in the lists is int type) or a one-dimensional array NumPy object (int64 type). |
Return Value |
ret: int, error code.
|
Restrictions |
|
Parent topic: Operator Loading and Execution (op)