昇腾社区首页
中文
注册
开发者
下载

GetAttachedStreamInfos

函数功能

返回当前算子绑定的所有StreamInfo列表。

函数原型

std::vector<StreamInfo> GetAttachedStreamInfos() const

参数说明

返回值说明

返回当前算子绑定的所有StreamInfo列表。

约束说明

调用示例

1
2
3
4
std::vector<StreamInfo> GetAttachedStreamInfos(ExeResGenerationContext* context) {
  std::vector<StreamInfo> streamInfoList = context->GetAttachedStreamInfos();
  ...
}