You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@singa.apache.org by "wangwei (JIRA)" <ji...@apache.org> on 2017/01/11 06:45:58 UTC
[jira] [Resolved] (SINGA-283) Fix a bug of net.py backward function
for layers with multiple inputs
[ https://issues.apache.org/jira/browse/SINGA-283?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
wangwei resolved SINGA-283.
---------------------------
Resolution: Fixed
> Fix a bug of net.py backward function for layers with multiple inputs
> ---------------------------------------------------------------------
>
> Key: SINGA-283
> URL: https://issues.apache.org/jira/browse/SINGA-283
> Project: Singa
> Issue Type: Bug
> Reporter: wangwei
> Assignee: wangwei
>
> For layers with multiple inputs, their source layers are visited in the reversed order, e.g., s1, s2, s3 -> o (forward), => o, s3, s2, s1 (backward). Consequently, we need to reverse the order of the output gradients of o.
> There is a bug of the reverse operation.
> It could be fixed by: reverse(list) --> list[::-1], the first one returns a reverselistiterator instead of a list.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)