---
title: 函数：set_attr_list_list_int
description: "| C函数原型 | aclError aclopSetAttrListListInt(aclopAttr \*attr, const char \*attrName, int numLists, const int \*numValues, const int64\_t \*const values[]); |"
url: https://www.hiascend.com/document/detail/zh/Atlas200IDKA2DeveloperKit/latest/Application%20Development%20Guide/aadgp/aclpythondevg_01_0776.html
sourcePath: /source/zh/Atlas200IDKA2DeveloperKit/23.0.RC2/Application Development Guide/aadgp/aclpythondevg_01_0776.html
indexId: bc8160ce8354d139e1e9ad35365823d474bdf950489aad7e17645f396013ef7a108
---
# 函数：set_attr_list_list_int

| C函数原型 | aclError aclopSetAttrListListInt(aclopAttr \*attr, const char \*attrName, int numLists, const int \*numValues, const int64\_t \*const values[]); |
| --- | --- |
| Python函数 | ret = acl.op.set\_attr\_list\_list\_int(attr, attr\_name , values) |
| 函数功能 | 设置int64\_t类型列表的列表属性值，同步接口。 |
| 输入说明 | attr：int，acl算子属性地址对象, 此对象使用调用acl.op.create\_attr创建。 attr\_name：str，属性名。 values：list，列表中每个元素是一个list（list的每个元素数据类型为int）或一个一维数组numpy对象（numpy对象的类型为int64）。 |
| 返回值说明 | ret：int，错误码。 返回0表示成功。 返回其它值表示失败。 |
| 约束说明 | 建议values使用list数据类型，后续将不支持numpy作为输入。 若values需使用numpy数组，需要运行环境为python>=3.8且numpy>=1.22.0。 |
