---
title: MetaContext构造函数和析构函数
description: "| 产品 | 是否支持 |"
url: https://www.hiascend.com/document/detail/zh/canncommercial/latest/others/dataflowdevg/udfrefc_23_00024.html
sourcePath: /source/zh/canncommercial/900/others/dataflowdevg/udfrefc_23_00024.html
indexId: 150bf8e6edc20fb8615d8d6c26951b55fd4d316d80ca0054fcd84322a62418ef71
---
# MetaContext构造函数和析构函数

#### 产品支持情况

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


#### 函数功能

MetaContext构造函数和析构函数。


#### 函数原型

```
MetaContext ()
~MetaContext ()
```


#### 参数说明

无


#### 返回值

返回MetaContext类型的对象。


#### 异常处理

无。


#### 约束说明

无。
