AoeTuningGraph

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

Function Usage

Starts AOE tuning. This API is synchronous.

Restrictions

For details, see API Restrictions.

Prototype

1
AoeStatus AoeTuningGraph(uint64_t sessionId, const std::map<ge::AscendString, ge::AscendString> &tuningOptions)

Options

Option

Input/Output

Description

sessionId

Input

Session ID for AOE tuning.

tuningOptions

Input

Tuning options. For details, see Tuning Options.

Returns

The value 0 indicates success. For details about other values, see Error Codes of AOE APIs.