未验证 提交 88dfd067 编写于 作者: L Leo Chen 提交者: GitHub

Dev/fix ascend string (#30749)

Dev/fix ascend string
上级 6eabbc80
......@@ -40,7 +40,7 @@ namespace framework {
typedef ge::Graph AscendGraphDesc;
#ifdef PADDLE_WITH_ASCEND_STRING
using AscendString = AscendString;
using AscendString = ge::AscendString;
#else
using AscendString = std::string;
#endif
......
......@@ -269,7 +269,7 @@ void BindAscendGraph(py::module *m) {
#ifdef PADDLE_WITH_ASCEND_STRING
.def("register_call_back_func",
static_cast<ge::Status (ge::Session::*)( // NOLINT
const char *, const ge::Session::pCallBackFunc &)>(
const char *, const ge::session::pCallBackFunc &)>(
&ge::Session::RegisterCallBackFunc))
#else
.def("register_call_back_func",
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册