GetInputInstanceInfo
Function Usage
Obtains the corresponding instantiated object based on the input index in the operator IR prototype.
Prototype
1 | const AnchorInstanceInfo *GetInputInstanceInfo(const size_t ir_index) const |
Parameters
Parameter |
Input/Output |
Description |
|---|---|---|
ir_index |
Input |
Input index in the operator IR prototype definition, starting from 0. |
Returns
Address of the instantiated object of the const type
Constraints
None
Examples
1 2 3 4 | for (size_t i = 0; i < ir_inputs.size(); ++i) { auto ins_info = compute_node_info.GetInputInstanceInfo(i); ... } |
Parent topic: ComputeNodeInfo