---
title: __call__
description: "| 产品 | 是否支持 |"
url: https://www.hiascend.com/document/detail/zh/canncommercial/latest/others/dataflowdevg/dfrefp_23_0010.html
sourcePath: /source/zh/canncommercial/900/others/dataflowdevg/dfrefp_23_0010.html
indexId: a9e64fee098ddfe340186276fc45f511b7ae80c148ca6125f02f0c15d693daa069
---
# __call__

#### 产品支持情况

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


#### 函数功能

调用FlowNode进行计算。


#### 函数原型

```
__call__(*inputs)
```


#### 参数说明

| 参数名称 | 数据类型 | 取值说明 |
| --- | --- | --- |
| \*inputs | Union[FlowData, FlowOutput] | 动态参数，类型为FlowData或者FlowOutput。 |


#### 返回值

一个输出时返回FlowOutput对象，多个输出时返回FlowOutput元组。

异常情况如下。

| 异常信息 | 含义 |
| --- | --- |
| TypeError | 参数类型不正确 |
| ValueError | 参数值不正确 |


#### 调用示例

```
import dataflow as df
data = df.FlowData()
flow_node = df.FlowNode(...)
flow_output = flow_node(data)
```


#### 约束说明

无
