get_out_data_nodes_and_port_indexes

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

Function Usage

Obtains the data node and port index list of a specified output index.

Prototype

1
get_out_data_nodes_and_port_indexes(out_index: int) -> List[Tuple[Node, int]]

Parameters

Parameter

Input/Output

Description

out_index

Input

Output index.

Returns

(List[Tuple[Node, int]]) List of output nodes and port indexes.

Restrictions

  • If out_index is not an integer, TypeError is thrown.
  • If the obtaining fails, RuntimeError is thrown.