提交 47ef2df0 编写于 作者: X Xin Pan

polish

test=develop
上级 0d5819eb
......@@ -27,6 +27,9 @@
namespace paddle {
namespace imperative {
const char* PyLayer::kFwdInp = PyLayer::kFwdInp;
const char* PyLayer::kFwdOut = PyLayer::kFwdOut;
std::map<int, py::object> py_funcs_;
using framework::Variable;
......
......@@ -200,8 +200,8 @@ class PyLayer {
public:
virtual ~PyLayer() {}
static constexpr char* kFwdInp = "X";
static constexpr char* kFwdOut = "Out";
static const char* kFwdInp;
static const char* kFwdOut;
static void RegisterFunc(int func_id, const py::object& py_func);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册