Set new input0 after successfully converting method
This commit is contained in:
parent
c9b5650a0f
commit
ed1ca394da
|
@ -2629,6 +2629,7 @@ py::object MindGraphBuilder::ResolveCallable(CallNode *call_node, StopTraceReaso
|
|||
if (method.ptr() != nullptr) {
|
||||
MS_LOG(INFO) << "convert method :" << py::str(callable_info) << " to " << py::str(method);
|
||||
callable_info = method;
|
||||
call_node->input(0)->SetVobj(AObject::Convert(callable_info.ptr()));
|
||||
args = GetNewArgs(call_node);
|
||||
}
|
||||
auto func = FGBuilder()->ConvertFunction(callable_info);
|
||||
|
|
Loading…
Reference in New Issue