---
title: Init
description: "用于完成模型后处理初始化。"
url: https://www.hiascend.com/document/detail/zh/Atlas200IDKA2DeveloperKit/latest/Application%20Development%20Guide/msadg/mxvisionug_0909.html
sourcePath: /source/zh/Atlas200IDKA2DeveloperKit/23.0.RC2/Application Development Guide/msadg/mxvisionug_0909.html
indexId: 00c9bd59767936f2c2050882e5cb519dfa3d0df4ef796dd343ce6e7efd627bfa102
---
# Init

#### 函数功能

用于完成模型后处理初始化。


#### 函数原型

```
SDK_DEPRECATED_FOR() APP_ERROR Init(const std::map<std::string, std::shared_ptr<void>> &postConfig) override;    //已废弃
```

```
APP_ERROR Init(const std::map<std::string, std::string> &postConfig) override;
```


#### 参数说明

| 参数名 | 输入/输出 | 说明 |
| --- | --- | --- |
| postConfig | 输入 | 配置参数。 |


#### 返回参数说明

| 数据结构 | 说明 |
| --- | --- |
| APP\_ERROR | 程序执行返回的错误码，请参考APP\_ERROR说明。 |
