Skip to content

Commit 3ceee61

Browse files
committed
Clean & comment code
* Extract Network helpers from trainer * Remove always passed context param. * Adding comments
1 parent b9f4648 commit 3ceee61

File tree

8 files changed

+892
-595
lines changed

8 files changed

+892
-595
lines changed

paddle/api/CMakeLists.txt

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,8 @@ configure_file(
3838

3939
generate_python_api(python_swig_sources)
4040

41-
file(GLOB PY_PADDLE_PYTHON_FILES ${PROJ_ROOT}/paddle/py_paddle/*.py)
41+
file(GLOB PY_PADDLE_PYTHON_FILES ${PROJ_ROOT}/paddle/py_paddle/*.py
42+
${PROJ_ROOT}/paddle/py_paddle/trainer/*.py)
4243

4344
# TODO(yuyang18) : make wheel name calculated by cmake
4445
add_custom_command(OUTPUT ${PROJ_ROOT}/paddle/dist/.timestamp

0 commit comments

Comments
 (0)