Repository: incubator-systemml Updated Branches: refs/heads/master 7c2494813 -> 882fa843e
[MINOR] Update ReLU layer now that SYSTEMML-1621 has been fixed. Project: http://git-wip-us.apache.org/repos/asf/incubator-systemml/repo Commit: http://git-wip-us.apache.org/repos/asf/incubator-systemml/commit/882fa843 Tree: http://git-wip-us.apache.org/repos/asf/incubator-systemml/tree/882fa843 Diff: http://git-wip-us.apache.org/repos/asf/incubator-systemml/diff/882fa843 Branch: refs/heads/master Commit: 882fa843ef26f37f34a6b631868daf81f58cc3da Parents: 7c24948 Author: Mike Dusenberry <[email protected]> Authored: Mon Jun 5 12:32:31 2017 -0700 Committer: Mike Dusenberry <[email protected]> Committed: Mon Jun 5 12:32:31 2017 -0700 ---------------------------------------------------------------------- scripts/nn/layers/relu.dml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/incubator-systemml/blob/882fa843/scripts/nn/layers/relu.dml ---------------------------------------------------------------------- diff --git a/scripts/nn/layers/relu.dml b/scripts/nn/layers/relu.dml index 93a6e90..b71eb66 100644 --- a/scripts/nn/layers/relu.dml +++ b/scripts/nn/layers/relu.dml @@ -36,7 +36,7 @@ forward = function(matrix[double] X) * Outputs: * - out: Outputs, of same shape as `X`. */ - out = max(X, 0) + out = max(0, X) } backward = function(matrix[double] dout, matrix[double] X)
