Merge branch 'pr361'
Project: http://git-wip-us.apache.org/repos/asf/incubator-singa/repo Commit: http://git-wip-us.apache.org/repos/asf/incubator-singa/commit/6b1ed793 Tree: http://git-wip-us.apache.org/repos/asf/incubator-singa/tree/6b1ed793 Diff: http://git-wip-us.apache.org/repos/asf/incubator-singa/diff/6b1ed793 Branch: refs/heads/master Commit: 6b1ed7938182cfc3d82ab1c2286816c87ea3648d Parents: fb7b0d3 26db8d2 Author: Wei Wang <[email protected]> Authored: Fri May 4 14:48:26 2018 +0800 Committer: Wei Wang <[email protected]> Committed: Fri May 4 14:48:26 2018 +0800 ---------------------------------------------------------------------- python/singa/tensor.py | 77 +++++++++++++++++++---------------------- test/python/test_tensor.py | 20 ++++++----- 2 files changed, 47 insertions(+), 50 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/incubator-singa/blob/6b1ed793/python/singa/tensor.py ----------------------------------------------------------------------
