Function Description
Obtains the corresponding instantiated object based on the input index in the operator IR prototype.
Function Prototype
AnchorInstanceInfo *MutableInputInstanceInfo(const size_t ir_index)
Parameters
| Parameter | Input/Output | Description |
| ir_index | Input | Input index in the operator IR prototype definition, starting from 0. |
Return Value
Address of the instantiated object. The returned object is not const.
Calling Example
for (size_t i = 0; i < ir_inputs.size(); ++i) {
auto ins_info = compute_node_info.MutableInputInstanceInfo(i);
// ...
}