You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@singa.apache.org by wa...@apache.org on 2020/09/18 06:17:01 UTC

[singa] branch master updated: Updated activation.cc

This is an automated email from the ASF dual-hosted git repository.

wangwei pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/singa.git


The following commit(s) were added to refs/heads/master by this push:
     new 2b9c1f3  Updated activation.cc
     new 8ff7e10  Merge pull request #745 from sourcepirate/patch-2
2b9c1f3 is described below

commit 2b9c1f360ace9ec8edd7e33a4fdd42f59913d96b
Author: Sathya Narrayanan <sa...@yandex.com>
AuthorDate: Fri Jun 19 20:07:23 2020 +0800

    Updated activation.cc
    
    Fix spelling Check
---
 src/model/layer/activation.cc | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/model/layer/activation.cc b/src/model/layer/activation.cc
index eb90d87..8e09f59 100644
--- a/src/model/layer/activation.cc
+++ b/src/model/layer/activation.cc
@@ -62,7 +62,7 @@ const Tensor Activation::Forward(int flag, const Tensor& input) {
     output = ReLU(input);
     if (flag & kTrain) buf_.push(input);
   } else
-    LOG(FATAL) << "Unkown activation: " << mode_;
+    LOG(FATAL) << "Unknown activation: " << mode_;
   return output;
 }