GetOutputDtypes

Applicable Products

All processors

Header File/Library File

  • Header file: #include <ge/ge_graph_compile_summary.h>
  • Library file: libge_compiler.so

Function Usage

Obtains the output Dtypes of the compiled graph.

Prototype

1
Status GetOutputDtypes(std::vector<ge::DataType> &dtypes) const

Parameters

Parameter

Input/Output

Description

dtypes

Output

Types in ge::DataType.

Returns

Parameter

Type

Description

-

Status

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

Restrictions

None