You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mxnet.apache.org by jx...@apache.org on 2018/04/24 17:27:06 UTC
[incubator-mxnet] branch master updated: attrs key should be
'attrs' not 'attr' (#10671)
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 b847c6f attrs key should be 'attrs' not 'attr' (#10671)
b847c6f is described below
commit b847c6f28c45514bb9c5495498875cbd6232cc1f
Author: Zheqin Wang <ra...@gmail.com>
AuthorDate: Wed Apr 25 01:26:55 2018 +0800
attrs key should be 'attrs' not 'attr' (#10671)
---
scala-package/core/src/main/scala/org/apache/mxnet/Visualization.scala | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/scala-package/core/src/main/scala/org/apache/mxnet/Visualization.scala b/scala-package/core/src/main/scala/org/apache/mxnet/Visualization.scala
index ee2f10c..6ecc3ca 100644
--- a/scala-package/core/src/main/scala/org/apache/mxnet/Visualization.scala
+++ b/scala-package/core/src/main/scala/org/apache/mxnet/Visualization.scala
@@ -228,7 +228,7 @@ object Visualization {
val op = params("op").asInstanceOf[String]
val name = params("name").asInstanceOf[String]
val attrs = {
- if (params.contains("attr")) params("attr").asInstanceOf[Map[String, String]]
+ if (params.contains("attrs")) params("attrs").asInstanceOf[Map[String, String]]
else Map[String, String]()
}
// input data
--
To stop receiving notification emails like this one, please contact
jxie@apache.org.