SINGA-268 Add IPython notebooks merge PR-277 to master
Project: http://git-wip-us.apache.org/repos/asf/incubator-singa/repo Commit: http://git-wip-us.apache.org/repos/asf/incubator-singa/commit/09712685 Tree: http://git-wip-us.apache.org/repos/asf/incubator-singa/tree/09712685 Diff: http://git-wip-us.apache.org/repos/asf/incubator-singa/diff/09712685 Branch: refs/heads/master Commit: 09712685518d1d38d0729af5908bf1f5e52c3f58 Parents: 4d7a8ee 8481111 Author: WANG Sheng <wangsheng1...@gmail.com> Authored: Fri Dec 2 13:04:19 2016 +0800 Committer: WANG Sheng <wangsheng1...@gmail.com> Committed: Fri Dec 2 13:04:19 2016 +0800 ---------------------------------------------------------------------- .gitmodules | 0 CMakeLists.txt | 26 +- CONTRIBUTING.md | 9 + LICENSE | 97 +- README.md | 1 + cmake/Templates/singa_config.h.in | 18 +- cmake/Thirdparty/FindCUDNN.cmake | 24 +- doc/Doxyfile | 2137 +------------------------- include/singa/core/tensor.h | 9 +- include/singa/io/snapshot.h | 6 + include/singa/model/loss.h | 22 +- python/singa/__init__.py | 8 +- python/singa/layer.py | 31 +- python/singa/loss.py | 19 + src/api/config.i.in | 8 +- src/api/model_layer.i | 21 +- src/core/tensor/math_kernel.cu | 49 +- src/core/tensor/math_kernel.h | 12 +- src/core/tensor/tensor.cc | 16 +- src/core/tensor/tensor_math.h | 14 +- src/core/tensor/tensor_math_cpp.h | 50 +- src/core/tensor/tensor_math_cuda.h | 11 +- src/io/binfile_reader.cc | 3 +- src/io/snapshot.cc | 32 +- src/io/textfile_reader.cc | 3 +- src/model/loss/softmax_cross_entropy.cc | 3 +- test/python/test_optimizer.py | 1 - test/singa/test_cross_entropy.cc | 79 +- test/singa/test_snapshot.cc | 1 + 29 files changed, 383 insertions(+), 2327 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/incubator-singa/blob/09712685/python/singa/layer.py ----------------------------------------------------------------------