dataflow.FlowFlag

Applicability

Product

Supported

Atlas A3 training product/Atlas A3 inference product

Atlas A2 training product/Atlas A2 inference product

Atlas 200I/500 A2 inference product

x

Atlas inference product

x

Atlas training product

x

Function Description

Sets flags in the FlowMsg message header.

Prototype

N/A

Parameters

The enumerated values are as follows:

  • FlowFlag.DATA_FLOW_FLAG_EOS
  • FlowFlag.DATA_FLOW_FLAG_SEG

Returns

None

Examples

1
2
3
import dataflow as df
flow_info = df.FlowInfo()
flow_info.flow_flags = df.FlowFlag.DATA_FLOW_FLAG_EOS

Constraints

None