Computing hyperbolic tangent and sigmoid functions using stochastic logic
Computing hyperbolic tangent and sigmoid functions using stochastic logic
复制标题
使用随机逻辑计算双曲正切和 S 型函数
DOI:
10.1109/acssc.2016.7869645
复制
发表时间:
2016
期刊:
影响因子:
--
通讯作者:
K. Parhi
中科院分区:
文献类型:
--
作者:
Yin Liu;K. Parhi
This paper addresses implementations of tangent hyperbolic and sigmoid functions using stochastic logic. Stochastic computing requires simple logic gates and is inherently fault-tolerant. Thus, these structures are well suited for nanoscale CMOS technologies. Tangent hyperbolic and sigmoid functions are widely used in machine learning systems such as neural networks. This paper makes two major contributions. First, two approaches are proposed to implementing tangent hyperbolic and sigmoid functions in unipolar stochastic logic. The first approach is based on a JK flip-flop. In the second approach, the proposed designs are based on a general unipolar division. Second, we present two approaches to computing tangent hyperbolic and sigmoid functions in bipolar stochastic logic. The first approach involves format conversion from bipolar format to unipolar format. The second approach uses a general bipolar stochastic divider. Simulation and synthesis results are presented for proposed designs.