未验证 提交 fc2ccbb8 编写于 作者: H HongyuJia 提交者: GitHub

[Polish extension.h] extension.h add PADDLE_NO_PATHON macro (#51647)

上级 427712df
......@@ -16,7 +16,7 @@ limitations under the License. */
// All paddle apis in C++ frontend
#include "paddle/phi/api/all.h"
// Python bindings for the C++ frontend
#ifndef PADDLE_ON_INFERENCE
// Python bindings for the C++ frontend (includes Python.h)
#if !defined(PADDLE_ON_INFERENCE) && !defined(PADDLE_NO_PYTHON)
#include "paddle/utils/pybind.h"
#endif
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册