AoeSetTuningGraph

Applicability

Product

Supported (√/x)

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

Function Usage

Sets the tuning graph. This API is synchronous.

Restrictions

For details, see API Restrictions.

Prototype

1
AoeStatus AoeSetTuningGraph(uint64_t sessionId, const ge::Graph &tuningGraph)

Options

Option

Input/Output

Description

sessionId

Input

Session ID for AOE tuning.

tuningGraph

Input

Tuning graph. For details about the constructor, see "aclgrph APIs".

Returns

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