IsAssignedByStreamPass

Applicability

Product

Supported or Not

Atlas A3 training products/Atlas A3 inference products

Atlas A2 training products/Atlas A2 inference products

Atlas 200I/500 A2 inference products

Atlas inference products

Atlas training products

Header File/Library File

  • Header file: #include <ge/ge_graph_compile_summary.h>
  • Library file: libge_compiler.so

Function Usage

Specifies whether the current logical stream is allocated by the stream allocation pass registered by the user.

Prototype

1
bool IsAssignedByStreamPass() const

Parameters

None

Returns

Value of the bool type (true or false).

  • true: The stream is specified by the stream allocation pass registered by the user.
  • false: The stream is internally split by the GE or is specified by the user stream label.

Constraints

None