GetAllInputs

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/fusion/subgraph_boundary.h>
  • Library file: libge_compiler

Function Usage

Obtains the description of all input tensors of a subgraph.

Prototype

1
Status GetAllInputs(std::vector<SubgraphInput> &subgraph_input) const

Parameters

Parameter

Input/Output

Description

subgraph_input

Output

Description of all input tensors of the subgraph boundary.

Returns

Parameter

Type

Description

-

Status

SUCCESS: success.

FAILED: failure.

Constraints

None