ToStringInfo

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 information about the current logical stream.

Prototype

1
AscendString ToStringInfo() const

Parameters

None

Returns

Logical stream information of the AscendString type. Example:

logic_stream_id: 0, user_stream_label: 11, is_assigned_by_user_stream_pass: false, attached_stream_ids: , physical_model_stream_num: 1, hccl_followed_stream_num: 0.

The corresponding information is as follows:

  • Logical stream ID: 0
  • User stream label: 11
  • Whether it is derived from the stream allocation pass registered by the user: false
  • Attached secondary stream ID: ,
  • Actual number of physical streams: 1
  • Number of communication secondary streams: 0

Restrictions

None