AoeSetGeSession

Function Usage

Sets a GE session to run a graph. This API is synchronous.

Constraints

For details, see API Constraints.

Prototype

AoeStatus AoeSetGeSession(uint64_t sessionId, ge::Session *geSession)

Parameter Description

Parameter

Input/Output

Description

sessionId

Input

Session ID for AOE tuning.

geSession

Input

GE session. For details about the construction method, see Session Constructor and Destructor.

Returns

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