blob: a88d8e9e07a256fcab48a3977036b7649c3c3125 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
#include "neural/slopestd.h"
template class Neural::SlopeStd<float>;
template class Neural::SlopeStd<double>;
template class Neural::SlopeStd<long double>;
template<>
float Neural::tpltanh<float>( float sInput )
{
return tanhf( sInput );
}
template<>
double Neural::tpltanh<double>( double sInput )
{
return tanh( sInput );
}
template<>
long double Neural::tpltanh<long double>( long double sInput )
{
return tanhl( sInput );
}
|