You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@singa.apache.org by wa...@apache.org on 2017/04/03 12:17:54 UTC

incubator-singa git commit: fix a typo

Repository: incubator-singa
Updated Branches:
  refs/heads/master 2aa1d2241 -> e0cae3c30


fix a typo


Project: http://git-wip-us.apache.org/repos/asf/incubator-singa/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-singa/commit/e0cae3c3
Tree: http://git-wip-us.apache.org/repos/asf/incubator-singa/tree/e0cae3c3
Diff: http://git-wip-us.apache.org/repos/asf/incubator-singa/diff/e0cae3c3

Branch: refs/heads/master
Commit: e0cae3c30be6861b077d805a994ca0bc56f82919
Parents: 2aa1d22
Author: Wei Wang <wa...@gmail.com>
Authored: Mon Apr 3 20:17:37 2017 +0800
Committer: Wei Wang <wa...@gmail.com>
Committed: Mon Apr 3 20:17:37 2017 +0800

----------------------------------------------------------------------
 python/singa/tensor.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-singa/blob/e0cae3c3/python/singa/tensor.py
----------------------------------------------------------------------
diff --git a/python/singa/tensor.py b/python/singa/tensor.py
index 6d8abf3..d36abdc 100644
--- a/python/singa/tensor.py
+++ b/python/singa/tensor.py
@@ -1046,7 +1046,7 @@ def sum_columns(M):
         a new Tensor as the resulted column.
     '''
     assert M.ndim() == 2, 'M.nDim() is supposed to be 2'
-    ret = Tensor((M.shape[0], 1), M.signa_tensor.device())
+    ret = Tensor((M.shape[0], 1), M.singa_tensor.device())
     singa.SumColumns(M.singa_tensor, ret.singa_tensor)
     return ret