---
title: Resource
description: "AI处理器与昇腾产品的对应关系，请参见《昇腾产品形态说明(https://www.hiascend.com/document/detail/zh/AscendFAQ/ProduTech/productform/hardwaredesc_0001.html)》"
url: https://www.hiascend.com/document/detail/zh/canncommercial/latest/devaids/Profiling/mindieprofiling_0051.html
sourcePath: /source/zh/canncommercial/900/devaids/Profiling/mindieprofiling_0051.html
indexId: 12777eae798835a42a958ab49c09d05a33529416bd0e00fe85535664e56b2b8973
---
# Resource

#### 产品支持情况

AI处理器与昇腾产品的对应关系，请参见《昇腾产品形态说明(https://www.hiascend.com/document/detail/zh/AscendFAQ/ProduTech/productform/hardwaredesc_0001.html)》


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


针对 Atlas A2 训练系列产品 / Atlas A2 推理系列产品 ，当前仅支持该系列产品中的 Atlas 800I A2 推理产品 。

针对 Atlas 推理系列产品 ，当前仅支持该系列产品中的Atlas 300I Duo 推理卡+Atlas 800 推理服务器（型号：3000）。


#### 功能说明

添加资源ID，数据和timeline根据资源ID进行关联，一般是请求ID。


#### 函数原型

```
inline Profiler &Resource(const ResID &rid)
```


#### 参数说明


**表1 参数说明**

| 参数名 | 输入/输出 | 说明 |
| --- | --- | --- |
| rid | 输入 | ResID类型，ResID可以由字符串或数值隐式转换。 |


#### 返回值说明

Profiler&返回当前对象，支持链式调用。
