singa-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From wang...@apache.org
Subject [03/10] incubator-singa git commit: SINGA-120 - Implemented GRU and BPTT: Fixed bugs regarding the Map function
Date Tue, 05 Jan 2016 18:10:32 GMT
SINGA-120 - Implemented GRU and BPTT: Fixed bugs regarding the Map function


Project: http://git-wip-us.apache.org/repos/asf/incubator-singa/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-singa/commit/c440e4a4
Tree: http://git-wip-us.apache.org/repos/asf/incubator-singa/tree/c440e4a4
Diff: http://git-wip-us.apache.org/repos/asf/incubator-singa/diff/c440e4a4

Branch: refs/heads/master
Commit: c440e4a491a970ae6af8eaf5e371ee6b2509af15
Parents: 777dfb6
Author: Ju Fan <fanju1984@gmail.com>
Authored: Fri Jan 1 10:51:17 2016 +0800
Committer: Wei Wang <wangwei@comp.nus.edu.sg>
Committed: Wed Jan 6 01:53:05 2016 +0800

----------------------------------------------------------------------
 include/singa/utils/math_blob.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-singa/blob/c440e4a4/include/singa/utils/math_blob.h
----------------------------------------------------------------------
diff --git a/include/singa/utils/math_blob.h b/include/singa/utils/math_blob.h
index 34e67ad..125509a 100644
--- a/include/singa/utils/math_blob.h
+++ b/include/singa/utils/math_blob.h
@@ -280,7 +280,7 @@ template<typename Op, typename Dtype>
 void Map(const Blob<Dtype> & A, const Blob<Dtype> & B, Blob<Dtype>
* C) {
   CHECK_EQ(A.count(), B.count()) << "Blobs must have the same size";
   CHECK_EQ(A.count(), C->count()) << "Blobs must have the same size";
-  cpu_e_f<Op>(A.count(), A.cpu_data(), B.cpu_data(), C->mutable_cpu_data());
+  //cpu_e_f<Op>(A.count(), A.cpu_data(), B.cpu_data(), C->mutable_cpu_data());
   auto context = Singleton<Context>::Instance();
   int device = context->device_id(std::this_thread::get_id());
   if (device == -1) {


Mime
View raw message