mxnet-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From j...@apache.org
Subject [incubator-mxnet] branch master updated: fix typo of gluon hybird tutorial (#8220)
Date Wed, 11 Oct 2017 17:37:41 GMT
This is an automated email from the ASF dual-hosted git repository.

jxie pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-mxnet.git


The following commit(s) were added to refs/heads/master by this push:
     new c5d60b5  fix typo of gluon hybird tutorial (#8220)
c5d60b5 is described below

commit c5d60b50ad6ddc313e09cdd6068695aef63cc4d3
Author: Wei Wu <tornadomeet@users.noreply.github.com>
AuthorDate: Wed Oct 11 12:37:38 2017 -0500

    fix typo of gluon hybird tutorial (#8220)
---
 docs/tutorials/gluon/hybrid.md | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/docs/tutorials/gluon/hybrid.md b/docs/tutorials/gluon/hybrid.md
index 1e9fe67..6b4c6aa 100644
--- a/docs/tutorials/gluon/hybrid.md
+++ b/docs/tutorials/gluon/hybrid.md
@@ -39,7 +39,7 @@ from mxnet.gluon import nn
 class Net(gluon.HybridBlock):
     def __init__(self, **kwargs):
         super(Net, self).__init__(**kwargs)
-        with self.name_scope:
+        with self.name_scope():
             # layers created in name_scope will inherit name space
             # from parent layer.
             self.conv1 = nn.Conv2D(6, kernel_size=5)

-- 
To stop receiving notification emails like this one, please contact
['"commits@mxnet.apache.org" <commits@mxnet.apache.org>'].

Mime
View raw message