diff options
author | Yangqing Jia <jiayq84@gmail.com> | 2014-10-11 19:35:40 +0000 |
---|---|---|
committer | Yangqing Jia <jiayq84@gmail.com> | 2014-10-11 23:15:03 +0000 |
commit | fc5ba940744b7294846a63ee5f427b934af9cc6d (patch) | |
tree | dab32bbf7d379f89e08d4192e7a6921c00d2988a /src/caffe/util/math_functions.cpp | |
parent | 0160a0bc16055948e79dd214a61c33041994d163 (diff) | |
download | caffeonacl-fc5ba940744b7294846a63ee5f427b934af9cc6d.tar.gz caffeonacl-fc5ba940744b7294846a63ee5f427b934af9cc6d.tar.bz2 caffeonacl-fc5ba940744b7294846a63ee5f427b934af9cc6d.zip |
fix flaky math functions, remove unnecessary instantiations.
Diffstat (limited to 'src/caffe/util/math_functions.cpp')
-rw-r--r-- | src/caffe/util/math_functions.cpp | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/src/caffe/util/math_functions.cpp b/src/caffe/util/math_functions.cpp index c3afd2ff..13e17be5 100644 --- a/src/caffe/util/math_functions.cpp +++ b/src/caffe/util/math_functions.cpp @@ -370,9 +370,6 @@ double caffe_cpu_asum<double>(const int n, const double* x) { return cblas_dasum(n, x, 1); } -INSTANTIATE_CAFFE_CPU_UNARY_FUNC(sign); -INSTANTIATE_CAFFE_CPU_UNARY_FUNC(sgnbit); - template <> void caffe_cpu_scale<float>(const int n, const float alpha, const float *x, float* y) { |