AoeSetTuningGraphInput

Function Usage

Sets the inputs to a tuning graph. This API is synchronous.

Constraints

For details, see API Constraints.

Prototype

AoeStatus AoeSetTuningGraphInput(uint64_t sessionId, const std::vector<ge::Tensor> &input)

Parameter Description

Parameter

Input/Output

Description

sessionId

Input

Session ID for AOE tuning.

inputs

Input

Input tensors of the tuning graph, which are memory allocated on the host.

Returns

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