Abstract
Artificial neural networks are a widespread tool with application in a variety of areas ranging from the social sciences to engineering. Many of these applications have reached a hardware implementation phase and have been documented in scientific papers. Unfortunately, most of the implementations have a simplified hyperbolic tangent replacement which has been the most common problem, as well as the most resource-consuming block in terms of hardware. This paper proposes a low-resource hardware implementation of the hyperbolic tangent, by using the simplest solution in order to obtain the lowest error possible thus far with a set of 25 polynomials of third order, obtained with Chebyshev interpolations. The results obtained show that the solution proposed holds a low error while simultaneously promising the use of low resources, as only third-order polynomials are used.












Similar content being viewed by others
Explore related subjects
Discover the latest articles, news and stories from top researchers in related subjects.References
Dias FM, Antunes A, Mota A (2004) Artificial neural networks: a review of commercial hardware. Eng Appl Artif Intell 17:945–952
Stieglitz T, Meyer J (2006) Biomedical microdevices for neural implants. BIOMEMS Microsyst 16:71–137
Pinto JOP, Bose BK, Leite LC, Silva LEB, Romero ME (2006) Field programmable gate array (FPGA) based neural network implementation of stator flux oriented vector control of induction motor drive. In: IEEE international conference on industrial technology, pp 31–34
Ferreira P, Ribeiro P, Antunes A, Morgado Dias F (2007) A high bit resolution FPGA implementation of a FNN with a new algorithm for the activation function. Neurocomputing 71:71–77
Quarteroni A, Sacco R, Saleri F (2000) Numerical mathematics. Springer, Berlin
Recktenwald GW (2000) Numerical methods with matlab: implementations and applications. Prentice Hall, Englewood Cliffs, NJ
Gil A, Segura J, Temme NM (2007) Numerical methods for special functions. SIAM—Society for Industrial and Applied Mathematics, Philadelphia
Mason JC, Handscomb DC (2003) Chebyshev polynomials, 2nd edn. Chapman and Hall-CRC, Press LLC, Boca Raton, FL
Quarteroni A, Saleri F, Gervasio P (2010) Scientific computing with MATLAB and octave, 3rd edn. Springer, Berlin
Acknowledgments
The authors would like to acknowledge the Portuguese Foundation for Science and Technology for their support in this work through the project PEst-OE/EEI/LA0009/2011.
Author information
Authors and Affiliations
Corresponding author
Rights and permissions
About this article
Cite this article
Baptista, D., Morgado-Dias, F. Low-resource hardware implementation of the hyperbolic tangent for artificial neural networks. Neural Comput & Applic 23, 601–607 (2013). https://doi.org/10.1007/s00521-013-1407-x
Received:
Accepted:
Published:
Issue Date:
DOI: https://doi.org/10.1007/s00521-013-1407-x