Repository: incubator-singa
Updated Branches:
  refs/heads/master a1553f845 -> f32c78b0a


SINGA-125 Improve Python Helper

 -Fix 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/f32c78b0
Tree: http://git-wip-us.apache.org/repos/asf/incubator-singa/tree/f32c78b0
Diff: http://git-wip-us.apache.org/repos/asf/incubator-singa/diff/f32c78b0

Branch: refs/heads/master
Commit: f32c78b0a357456cb23c8f5af7d0e958f72e71c7
Parents: a1553f8
Author: aaronwwf <[email protected]>
Authored: Sat Jan 16 19:18:23 2016 +0800
Committer: aaronwwf <[email protected]>
Committed: Mon Jan 18 16:10:37 2016 +0800

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


http://git-wip-us.apache.org/repos/asf/incubator-singa/blob/f32c78b0/tool/python/singa/layer.py
----------------------------------------------------------------------
diff --git a/tool/python/singa/layer.py b/tool/python/singa/layer.py
index 079ce94..f838e45 100644
--- a/tool/python/singa/layer.py
+++ b/tool/python/singa/layer.py
@@ -115,7 +115,7 @@ class Convolution2D(Layer):
         assert nb_filter > 0, 'nb_filter should be set as positive int'
         super(Convolution2D, self).__init__(name=generate_name('conv', 1),
                                             type=kCConvolution)
-        fields = {"num_filter":nb_filter}
+        fields = {"num_filters":nb_filter}
         # for kernel
         if type(kernel) == int:
           fields['kernel'] = kernel

Reply via email to