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 2017/08/03 20:34:47 UTC
[incubator-mxnet] branch master updated: Fixed visualization code
error for bi-directional lstms (#6674)
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 be7e791 Fixed visualization code error for bi-directional lstms (#6674)
be7e791 is described below
commit be7e7916f444f67eda5d8acdc8b92d0bf339cb53
Author: gurumurthys <gu...@gmail.com>
AuthorDate: Thu Aug 3 13:34:45 2017 -0700
Fixed visualization code error for bi-directional lstms (#6674)
---
python/mxnet/visualization.py | 1 -
1 file changed, 1 deletion(-)
diff --git a/python/mxnet/visualization.py b/python/mxnet/visualization.py
index 97b6bfa..e67fee4 100644
--- a/python/mxnet/visualization.py
+++ b/python/mxnet/visualization.py
@@ -317,7 +317,6 @@ def plot_network(symbol, title="plot", save_format='pdf', shape=None, node_attrs
params = input_node["attr"]
if "num_outputs" in params:
key += str(int(params["num_outputs"]) - 1)
- params["num_outputs"] = int(params["num_outputs"]) - 1
shape = shape_dict[key][1:]
label = "x".join([str(x) for x in shape])
attr["label"] = label
--
To stop receiving notification emails like this one, please contact
['"commits@mxnet.apache.org" <co...@mxnet.apache.org>'].