summaryrefslogtreecommitdiff
path: root/src/slopestd.cpp
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/slopestd.cpp18
1 files changed, 18 insertions, 0 deletions
diff --git a/src/slopestd.cpp b/src/slopestd.cpp
index 16b2be4..a88d8e9 100644
--- a/src/slopestd.cpp
+++ b/src/slopestd.cpp
@@ -3,3 +3,21 @@
3template class Neural::SlopeStd<float>; 3template class Neural::SlopeStd<float>;
4template class Neural::SlopeStd<double>; 4template class Neural::SlopeStd<double>;
5template class Neural::SlopeStd<long double>; 5template class Neural::SlopeStd<long double>;
6
7template<>
8float Neural::tpltanh<float>( float sInput )
9{
10 return tanhf( sInput );
11}
12
13template<>
14double Neural::tpltanh<double>( double sInput )
15{
16 return tanh( sInput );
17}
18
19template<>
20long double Neural::tpltanh<long double>( long double sInput )
21{
22 return tanhl( sInput );
23}