函数:set_attr_int
C函数原型 |
aclError aclopSetAttrInt(aclopAttr *attr, const char *attrName, int64_t attrValue); |
---|---|
Python函数 |
ret = acl.op.set_attr_int(attr, attr_name, attr_value) |
函数功能 |
设置int64_t类型标量的属性值。 |
输入说明 |
attr:int,aclopAttr类型数据的指针地址。 需提前调用acl.op.create_attr接口创建aclopAttr类型数据。 attr_name:str,属性名。 attr_value:int,属性值。 |
返回值说明 |
ret:int,错误码。
|
约束说明 |
无 |
父主题: aclopAttr