GetStreamNum

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

Obtains the number of streams used by the compiled graph.

Prototype

1
Status GetStreamNum(size_t &num) const

Parameters

Parameter

Input/Output

Description

num

Output

Number of used streams.

Returns

Parameter

Type

Description

-

Status

  • SUCCESS: The API is called successfully.
  • FAILED: The API fails to be called.

Restrictions

None