InputReorderVector
Description
Changes the input order in the operator plugin. This API is for internal use only.
Prototype
OpRegistrationData &InputReorderVector(const std::vector<int32_t> &input_order)
Parameters
Parameter |
Input/Output |
Description |
|---|---|---|
input_order |
Input |
Operator input order. The index is the original input index, and the value corresponding to an index indicates the new input index. Assume that operator A is mapped to operator AD that adapts to Ascend AI Processor. The original input order of A is in0, in1, and in2, and after input_order = {1,0,2} is passed to the call, the new input order of AD changes to in1, in0, and in2. |
Returns
Reference to class OpRegistrationData.
Exception Handling
None
Restrictions
None
Parent topic: OpRegistrationData