AoeSetTuningGraphInput
Applicability
Product |
Supported |
|---|---|
√ |
|
√ |
|
√ |
|
√ |
|
√ |
Function Usage
Sets the inputs to a tuning graph. This API is synchronous.
Restrictions
For details, see API Restrictions.
Prototype
1 | AoeStatus AoeSetTuningGraphInput(uint64_t sessionId, const std::vector<ge::Tensor> &input) |
Options
Option |
Input/Output |
Description |
|---|---|---|
sessionId |
Input |
Session ID for AOE tuning. |
input |
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 Error Codes of AOE APIs.
Parent topic: AOE Tuning APIs