summaryrefslogtreecommitdiff
path: root/src/caffe/util/math_functions.cpp
diff options
context:
space:
mode:
authorYangqing Jia <jiayq84@gmail.com>2014-10-11 19:35:40 +0000
committerYangqing Jia <jiayq84@gmail.com>2014-10-11 23:15:03 +0000
commitfc5ba940744b7294846a63ee5f427b934af9cc6d (patch)
treedab32bbf7d379f89e08d4192e7a6921c00d2988a /src/caffe/util/math_functions.cpp
parent0160a0bc16055948e79dd214a61c33041994d163 (diff)
downloadcaffeonacl-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.cpp3
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) {