GetIOIndexesWithSameAddr

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 input index and output index pairs of the graph with the same logical address after compilation.

Prototype

1
Status GetIOIndexesWithSameAddr(std::vector<std::pair<uint32_t, uint32_t>> &io_indexes) const

Parameters

Parameter

Input/Output

Description

io_indexes

Output

Input/output index pair.

Returns

Parameter

Type

Description

-

Status

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

Constraints

None