Hardware implementation of Multi-Rate input SoftMax activation function

Michael Wasef, Nader Rafla

Research output: Chapter in Book/Report/Conference proceedingConference contributionpeer-review

5 Scopus citations

Abstract

The SoftMax activation function is a normalized exponential function that is usually used as an activation function of the last layer of a fully connected neural network. The number of neurons in this layer represents the number of classes. The SoftMax activation function is used to normalize the network outputs to a probability distribution over predicted output classes. In this paper, a multi-rate input SoftMax activation function has been designed and built on FPGA. The unit can read 4 or 2 consecutive inputs or one input, every predefined number of cycles. A ROM design has been utilized to determine the exponential part of the function, while the Coordinate Rotation Digital Computer (CORDIC) reciprocal algorithm has been used to calculate the reciprocal of the sum of the input exponential. Hardware multipliers have been used to calculate the SoftMax output. Unit optimization is achieved by pipelining on the input and output stages. The unit can be configured and controlled by an ARM microcontroller as a complete System-on-Chip (SoC) built on Field Programmable Gate Array (FPGA).

Original languageEnglish
Title of host publication2021 IEEE International Midwest Symposium on Circuits and Systems, MWSCAS 2021 - Proceedings
PublisherInstitute of Electrical and Electronics Engineers Inc.
Pages783-786
Number of pages4
ISBN (Electronic)9781665424615
DOIs
StatePublished - 9 Aug 2021
Event2021 IEEE International Midwest Symposium on Circuits and Systems, MWSCAS 2021 - Virtual, East Lansing, United States
Duration: 9 Aug 202111 Aug 2021

Publication series

NameMidwest Symposium on Circuits and Systems
Volume2021-August
ISSN (Print)1548-3746

Conference

Conference2021 IEEE International Midwest Symposium on Circuits and Systems, MWSCAS 2021
Country/TerritoryUnited States
CityVirtual, East Lansing
Period9/08/2111/08/21

Keywords

  • FPGA
  • Fully Connected Neural Network (FCNN)
  • SOC
  • SoftMax

Fingerprint

Dive into the research topics of 'Hardware implementation of Multi-Rate input SoftMax activation function'. Together they form a unique fingerprint.

Cite this