Skip to content

Commit

Permalink
move paddle/pybind/pybind.h to paddle/fluid/pybind/pybind.h, and canc…
Browse files Browse the repository at this point in the history
…el the test_parallel_op temporary
  • Loading branch information
luotao1 committed Feb 10, 2018
1 parent a6c1bff commit 77f04fd
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 176 deletions.
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -33,5 +33,5 @@ CMakeFiles
cmake_install.cmake
paddle/.timestamp
python/paddlepaddle.egg-info/
paddle/pybind/pybind.h
paddle/fluid/pybind/pybind.h
python/paddle/version.py
2 changes: 1 addition & 1 deletion paddle/fluid/operators/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
file(GLOB GENERAL_OPS RELATIVE "${CMAKE_CURRENT_SOURCE_DIR}" "*_op.cc")
string(REPLACE ".cc" "" GENERAL_OPS "${GENERAL_OPS}")
set(DEPS_OPS "")
set(pybind_file ${PADDLE_SOURCE_DIR}/paddle/pybind/pybind.h)
set(pybind_file ${PADDLE_SOURCE_DIR}/paddle/fluid/pybind/pybind.h)
file(WRITE ${pybind_file} "// Generated by the paddle/operator/CMakeLists.txt. DO NOT EDIT!\n\n")
function(op_library TARGET)
# op_library is a function to create op library. The interface is same as
Expand Down
172 changes: 0 additions & 172 deletions paddle/fluid/pybind/pybind.h

This file was deleted.

4 changes: 2 additions & 2 deletions python/paddle/v2/fluid/tests/test_parallel_op.py
Original file line number Diff line number Diff line change
Expand Up @@ -197,5 +197,5 @@ def test_simple_fc(self):
fetch=['fc1.w@GRAD', 'fc2.w@GRAD', 'fc3.w@GRAD'])


if __name__ == '__main__':
unittest.main()
#if __name__ == '__main__':
# unittest.main()

0 comments on commit 77f04fd

Please sign in to comment.