SetDynamicOutputFormat

Applicability

Product

Supported

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

√

Description

Sets the dynamic output format.

Prototype

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

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

Parameters

Parameter

Input/Output

Description

output_name

Input

Output operator name

index

Input

Index information of the output operator

format

Input

Output operator format information

Returns

None

Restrictions

None