Function: set_attr_list_float
C Prototype |
aclErroraclopSetAttrListFloat(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 attribute value of a list of floats. 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 object, one-dimensional array. The type is float32. |
Return Value |
ret: int, error code.
|
Restrictions |
None |
Precautions |
None |