Function: set_attr_list_float
C Prototype |
aclError aclopSetAttrListFloat(aclopAttr *attr, const char *attrName, int numValues, const float *attrValue); |
|---|---|
Python Function |
ret = acl.op.set_attr_list_float(attr, attr_name, num_values , attr_value) |
Function Usage |
Sets the values (a list of floats) 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. attr_value: Two data types are supported:
|
Return Value |
ret: int, error code.
|
Restrictions |
|
Parent topic: Operator Loading and Execution (op)