Skip to content

Commit da158c2

Browse files
authored
Merge pull request #11867 from panyx0718/move_all
move v2 api and capi to legacy
2 parents 9401b64 + 96c6e55 commit da158c2

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

80 files changed

+5
-5
lines changed

paddle/CMakeLists.txt

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,18 +7,18 @@ if(NOT WITH_FLUID_ONLY)
77
add_subdirectory(legacy/parameter)
88

99
if(MOBILE_INFERENCE)
10-
add_subdirectory(capi)
10+
add_subdirectory(legacy/capi)
1111
else()
1212
add_subdirectory(legacy/pserver)
1313
add_subdirectory(trainer)
1414
add_subdirectory(scripts)
1515

1616
if(WITH_C_API)
17-
add_subdirectory(capi)
17+
add_subdirectory(legacy/capi)
1818
endif()
1919

2020
if(WITH_SWIG_PY)
21-
add_subdirectory(api)
21+
add_subdirectory(legacy/api)
2222
endif()
2323
endif()
2424
endif()
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

paddle/api/Paddle.i renamed to paddle/legacy/api/Paddle.i

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
%include "std_string.i"
33
%{
44
#define SWIG_FILE_WITH_INIT
5-
#include "api/PaddleAPI.h"
5+
#include "legacy/api/PaddleAPI.h"
66
%}
77

88
%include "exception.i"
@@ -199,4 +199,4 @@ namespace std {
199199
%ignore OptimizationConfigPrivate;
200200
%ignore ParameterTraverseCallbackPrivate;
201201
%include "utils/GlobalConstants.h"
202-
%include "api/PaddleAPI.h"
202+
%include "legacy/api/PaddleAPI.h"
File renamed without changes.

0 commit comments

Comments
 (0)