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 4aaefa0 Update executor_group.py (#8003) 4aaefa0 is described below commit 4aaefa04b1329e81c28cfa3ea4376e1a7e169611 Author: Eric Junyuan Xie <piiswr...@users.noreply.github.com> AuthorDate: Sat Sep 23 11:36:33 2017 -0700 Update executor_group.py (#8003) --- python/mxnet/module/executor_group.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/python/mxnet/module/executor_group.py b/python/mxnet/module/executor_group.py index 6dc16ab..65c261b 100755 --- a/python/mxnet/module/executor_group.py +++ b/python/mxnet/module/executor_group.py @@ -583,9 +583,9 @@ class DataParallelExecutorGroup(object): if islice.stop > valid_stop: islice = slice(islice.start, valid_stop) oslice = slice(0, islice.stop - islice.start) - for label, laxis, output, oaxis in \ - zip(labels, self.label_layouts, texec.outputs, self.output_layouts): + for label, laxis in zip(labels, self.label_layouts): labels_slice.append(_slice_axis(label, laxis, islice)) + for output, oaxis in zip(texec.outputs, self.output_layouts): outputs_slice.append(_slice_axis(output, oaxis, oslice)) labels_ = OrderedDict(zip(self.label_names, labels_slice)) preds = OrderedDict(zip(self.output_names, outputs_slice)) -- To stop receiving notification emails like this one, please contact ['"comm...@mxnet.apache.org" <comm...@mxnet.apache.org>'].