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

#### 产品支持情况

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


#### 功能说明

获取指定算子输入/输出的tensor数据的内存地址。


#### 函数原型

```
void *aclGetTensorDescAddress(const aclTensorDesc *desc)
```


#### 参数说明

| 参数名 | 输入/输出 | 说明 |
| --- | --- | --- |
| desc | 输入 | aclTensorDesc类型的指针。 调用aclGetTensorDescByIndex接口获取算子的指定输入/输出的tensor描述，作为本接口的输入。 |


#### 返回值说明

返回指定算子输入/输出的tensor数据的内存地址。
