diff --git a/paddle/fluid/imperative/layer.cc b/paddle/fluid/imperative/layer.cc index c0a337a2b5a497e4e65375ff1b6f7f26b73f460d..426644ca9183fd325bf32eb995d57006c1c4b5f0 100644 --- a/paddle/fluid/imperative/layer.cc +++ b/paddle/fluid/imperative/layer.cc @@ -27,8 +27,8 @@ namespace paddle { namespace imperative { -const char* PyLayer::kFwdInp = PyLayer::kFwdInp; -const char* PyLayer::kFwdOut = PyLayer::kFwdOut; +const char* PyLayer::kFwdInp = "X"; +const char* PyLayer::kFwdOut = "Out"; std::map py_funcs_;