Function: set_attr_list_data_type
C Prototype |
aclError aclopSetAttrListDataType(aclopAttr *attr, const char *attrName, int numValues, const aclDataType values[]) |
|---|---|
Python Function |
attr, ret = acl.op.set_attr_list_data_type(attr, attr_name, values) |
Function Usage |
Sets the data type of a specified attribute list. |
Input Description |
attr_name: str, attribute name. values: list of attribute values. |
Return Value |
attr: int, pointer address of the aclopAttr type. Call acl.op.create_attr to create data of the aclopAttr type in advance. ret: int, error code.
|
Restrictions |
None |
Parent topic: Operator Loading and Execution (op)