IsAssignedByStreamPass

Applicability

Product

Supported

Atlas 350 Accelerator Card

Atlas A3 training product/Atlas A3 inference product

Atlas A2 training product/Atlas A2 inference product

Atlas 200I/500 A2 inference product

Atlas inference product

Atlas training product

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.

Restrictions

None