---
title: aclopSetAttrListListInt
description: "| 产品 | 是否支持 |"
url: https://www.hiascend.com/document/detail/zh/canncommercial/latest/API/ascendgraphapi/aclcppdevg_03_1512.html
sourcePath: /source/zh/canncommercial/900/API/ascendgraphapi/aclcppdevg_03_1512.html
indexId: 2f957b3660d42411dee9b42b38ce13eeb9031c76bfc130f91277bf637cb0375d72
---
# aclopSetAttrListListInt

#### 产品支持情况

| 产品 | 是否支持 |
| --- | --- |
| Atlas 350 加速卡 | √ |
| Atlas A3 训练系列产品 / Atlas A3 推理系列产品 | √ |
| Atlas A2 训练系列产品 / Atlas A2 推理系列产品 | √ |
| Atlas 200I/500 A2 推理产品 | √ |
| Atlas 推理系列产品 | √ |
| Atlas 训练系列产品 | √ |


#### 功能说明

设置int64_t类型列表的属性值。


#### 函数原型

```
aclError aclopSetAttrListListInt(aclopAttr *attr,
const char *attrName,
int numLists,
const int *numValues,
const int64_t *const values[])
```


#### 参数说明

| 参数名 | 输入/输出 | 说明 |
| --- | --- | --- |
| attr | 输出 | aclopAttr类型的指针。 需提前调用aclopCreateAttr接口创建aclopAttr类型。 |
| attrName | 输入 | 属性名的指针。 |
| numLists | 输入 | 列表数目。 |
| numValues | 输入 | 列表中属性值数目。 numValues是一个数组，数组中的每个元素表示每个列表中的属性值数目。 |
| values | 输入 | 列表中属性值的指针数组。 |


#### 返回值说明

返回0表示成功，返回其他值表示失败，请参见aclError。
