There was an error while loading. Please reload this page.
1 parent 6a5e9b7 commit 303c823Copy full SHA for 303c823
paddle/fluid/pybind/eager_method.cc
@@ -97,7 +97,7 @@ class PyTensorVoidHook : public egr::TensorVoidHook {
97
VLOG(3) << "Call PyTensorVoidHook";
98
99
try {
100
- PyObject_CallFunctionObjArgs(py_func_);
+ PyObject_CallFunctionObjArgs(py_func_, nullptr);
101
} catch (platform::EnforceNotMet& e) {
102
throw std::move(e);
103
} catch (std::exception& e) {
0 commit comments