SetAttachedStreamInfos

Function Usage

Attaches a group of stream information to the current operator to specify the stream on which the operator runs.

Prototype

1
ge::graphStatus SetAttachedStreamInfos(std::vector<StreamInfo> &stream_info_vec) const

Parameters

Parameter

Input/Output

Description

stream_info_vec

Input

Execution flow information. std::vector<StreamInfo>Type.

Returns

The graphStatus status code is returned.

Constraints

None

Examples

1
2
3
4
5
ge::graphStatus SetAttachedStreamInfos(ExeResGenerationContext* context) {
  std::vector<StreamInfo> stream_info_vec;
  auto status = context->SetAttachedStreamInfos(stream_info_vec);
  ...
}