get_in_data_nodes_and_port_indexes
Applicability
Product |
Supported |
|---|---|
Atlas 350 Accelerator Card |
√ |
√ |
|
√ |
|
√ |
|
√ |
|
√ |
Function Usage
Obtains the data node and port index of a specified input index.
Prototype
1 | get_in_data_nodes_and_port_indexes(in_index: int) -> Tuple[Node, int] |
Parameters
Parameter |
Input/Output |
Description |
|---|---|---|
in_index |
Input |
Input index. |
Returns
(Tuple[Node, int]) (input node, port index).
Restrictions
- If in_index is not an integer, TypeError is thrown.
- If the obtaining fails, RuntimeError is thrown.
Parent topic: Node