SetOutputFormat

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

√

Description

Sets the output operator format of an inner node.

Prototype

APIs taking string arguments will be deprecated in future releases. Use APIs taking non-string arguments instead.

1
2
ge::graphStatus SetOutputFormat(const std::string &output_name, const std::string &format);
ge::graphStatus SetOutputFormat(const char_t *output_name, const char_t *format);

Parameters

Parameter

Input/Output

Description

output_name

Input

Output operator name

format

Input

Output operator format information

Returns

A status code of type ge::graphStatus. ge::GRAPH_SUCCESS indicates success, and any other return value indicates failure.

Restrictions

None