未验证 提交 41294cb5 编写于 作者: O OccupyMars2025 提交者: GitHub

fix typo of pybind.cc (#45239)

上级 6150fade
......@@ -428,7 +428,7 @@ static std::vector<std::string> inline GetNameList(
return vec_res;
}
static void inline CreateVariableIfNotExit(
static void inline CreateVariableIfNotExist(
const py::handle &py_handle,
const framework::Scope &scope,
const framework::Executor *exe = nullptr) {
......@@ -629,7 +629,7 @@ PYBIND11_MODULE(core_noavx, m) {
[](const py::handle &vec_var_list,
const Scope &scope,
const Executor *executor) {
CreateVariableIfNotExit(vec_var_list, scope, executor);
CreateVariableIfNotExist(vec_var_list, scope, executor);
});
m.def("save_op_version_info", [](framework::ProgramDesc &desc) {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册