ToStringInfo

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

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
  • ID of the auxiliary secondary stream:
  • Actual number of physical streams: 1
  • Number of communication secondary streams: 0

Constraints

None