Skip to content

Commit b009636

Browse files
committed
Merge branch 'develop' of https://github.com/PaddlePaddle/Paddle into no_counter_on_pserver
2 parents 0e85686 + d38b869 commit b009636

File tree

750 files changed

+3285
-2120
lines changed

Some content is hidden

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

750 files changed

+3285
-2120
lines changed

.gitignore

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
1+
paddle/operators/check_t.save
2+
paddle/operators/check_tensor.ls
3+
paddle/operators/tensor.save
4+
python/paddle/v2/fluid/tests/book/image_classification_resnet.inference.model/
5+
python/paddle/v2/fluid/tests/book/image_classification_vgg.inference.model/
6+
python/paddle/v2/fluid/tests/book/label_semantic_roles.inference.model/
17
*.DS_Store
28
build/
39
build_doc/
@@ -27,5 +33,5 @@ CMakeFiles
2733
cmake_install.cmake
2834
paddle/.timestamp
2935
python/paddlepaddle.egg-info/
30-
paddle/pybind/pybind.h
36+
paddle/fluid/pybind/pybind.h
3137
python/paddle/version.py

CONTRIBUTING.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
11
# Contribute Code
22

3+
You are welcome to contribute to project PaddlePaddle. To contribute to PaddlePaddle, you have to agree with the
4+
[PaddlePaddle Contributor License Agreement](https://gist.github.com/wangkuiyi/0c22c7b1bd3bb7eb27d76f85c3a3e329).
5+
36
We sincerely appreciate your contribution. This document explains our workflow and work style.
47

58
## Workflow

cmake/cuda.cmake

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -181,7 +181,8 @@ elseif(CMAKE_BUILD_TYPE STREQUAL "Release")
181181
elseif(CMAKE_BUILD_TYPE STREQUAL "RelWithDebInfo")
182182
list(APPEND CUDA_NVCC_FLAGS ${CMAKE_CXX_FLAGS_RELWITHDEBINFO})
183183
elseif(CMAKE_BUILD_TYPE STREQUAL "MinSizeRel")
184-
list(APPEND CUDA_NVCC_FLAGS ${CMAKE_CXX_FLAGS_MINSIZEREL})
184+
# nvcc 9 does not support -Os. Use Release flags instead
185+
list(APPEND CUDA_NVCC_FLAGS ${CMAKE_CXX_FLAGS_RELEASE})
185186
endif()
186187

187188
mark_as_advanced(CUDA_BUILD_CUBIN CUDA_BUILD_EMULATION CUDA_VERBOSE_BUILD)

doc/api/v2/fluid/layers.rst

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -323,6 +323,12 @@ batch_norm
323323
.. autofunction:: paddle.v2.fluid.layers.batch_norm
324324
:noindex:
325325

326+
layer_norm
327+
----------
328+
329+
.. autofunction:: paddle.v2.fluid.layers.layer_norm
330+
:noindex:
331+
326332
beam_search_decode
327333
------------------
328334

doc/index_cn.rst

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,5 +8,4 @@ PaddlePaddle 文档
88
build_and_install/index_cn.rst
99
howto/index_cn.rst
1010
dev/index_cn.rst
11-
api/index_cn.rst
1211
faq/index_cn.rst

doc/index_en.rst

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,4 +8,3 @@ PaddlePaddle Documentation
88
build_and_install/index_en.rst
99
howto/index_en.rst
1010
dev/index_en.rst
11-
api/index_en.rst

paddle/CMakeLists.txt

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -19,12 +19,7 @@ else()
1919
endif()
2020

2121
if(NOT ANDROID AND NOT IOS)
22-
add_subdirectory(memory)
23-
add_subdirectory(platform)
24-
add_subdirectory(framework)
25-
add_subdirectory(operators)
26-
add_subdirectory(pybind)
27-
add_subdirectory(inference)
22+
add_subdirectory(fluid)
2823
endif()
2924

3025
if(WITH_SWIG_PY)

paddle/fluid/CMakeLists.txt

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
add_subdirectory(memory)
2+
add_subdirectory(platform)
3+
add_subdirectory(framework)
4+
add_subdirectory(operators)
5+
add_subdirectory(pybind)
6+
add_subdirectory(inference)
File renamed without changes.

0 commit comments

Comments
 (0)