神经网络硬件实现框架

S. Brassai, A. Hammas, Balazs Bustya
{"title":"神经网络硬件实现框架","authors":"S. Brassai, A. Hammas, Balazs Bustya","doi":"10.1109/iccc54292.2022.9805981","DOIUrl":null,"url":null,"abstract":"Artificial neural networks (ANN) are widely used in solving problems like image processing, data mining, or classification. Hardware accelerators are used for increasing the performance and efficiency of neural networks. An option for implementing such an accelerator is the usage of an FPGA-based system, although developing neural networks for FPGAs is very time-consuming and requires hardware design knowledge to do it. This problem tried to be solved by creating a framework that should speed up the design process. At the same time, there is an overall outlook on some efficiency optimization and speed-up options as well. The framework is written in Python and generates a C++ code whit HLS directive. This code can be compiled by Vivado HLS into a hardware descriptive language and packaged as an IP. The Vivado tool can generate a bit file that can be uploaded onto the FPGA device.Among other things, the paper presents a comparison of different approximations of nonlinear transformations (basis functions and activation functions) in terms of accuracy, required resource, and delay needed for evaluating the transformation. The generated neural network module was integrated into a system that was developed by the authors. Using that system, the neural network module was tested and compared to the models implemented in Python.","PeriodicalId":167963,"journal":{"name":"2022 23rd International Carpathian Control Conference (ICCC)","volume":"16 1","pages":"0"},"PeriodicalIF":0.0000,"publicationDate":"2022-05-29","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"2","resultStr":"{\"title\":\"Framework for neural network hardware implementation\",\"authors\":\"S. Brassai, A. Hammas, Balazs Bustya\",\"doi\":\"10.1109/iccc54292.2022.9805981\",\"DOIUrl\":null,\"url\":null,\"abstract\":\"Artificial neural networks (ANN) are widely used in solving problems like image processing, data mining, or classification. Hardware accelerators are used for increasing the performance and efficiency of neural networks. An option for implementing such an accelerator is the usage of an FPGA-based system, although developing neural networks for FPGAs is very time-consuming and requires hardware design knowledge to do it. This problem tried to be solved by creating a framework that should speed up the design process. At the same time, there is an overall outlook on some efficiency optimization and speed-up options as well. The framework is written in Python and generates a C++ code whit HLS directive. This code can be compiled by Vivado HLS into a hardware descriptive language and packaged as an IP. The Vivado tool can generate a bit file that can be uploaded onto the FPGA device.Among other things, the paper presents a comparison of different approximations of nonlinear transformations (basis functions and activation functions) in terms of accuracy, required resource, and delay needed for evaluating the transformation. The generated neural network module was integrated into a system that was developed by the authors. Using that system, the neural network module was tested and compared to the models implemented in Python.\",\"PeriodicalId\":167963,\"journal\":{\"name\":\"2022 23rd International Carpathian Control Conference (ICCC)\",\"volume\":\"16 1\",\"pages\":\"0\"},\"PeriodicalIF\":0.0000,\"publicationDate\":\"2022-05-29\",\"publicationTypes\":\"Journal Article\",\"fieldsOfStudy\":null,\"isOpenAccess\":false,\"openAccessPdf\":\"\",\"citationCount\":\"2\",\"resultStr\":null,\"platform\":\"Semanticscholar\",\"paperid\":null,\"PeriodicalName\":\"2022 23rd International Carpathian Control Conference (ICCC)\",\"FirstCategoryId\":\"1085\",\"ListUrlMain\":\"https://doi.org/10.1109/iccc54292.2022.9805981\",\"RegionNum\":0,\"RegionCategory\":null,\"ArticlePicture\":[],\"TitleCN\":null,\"AbstractTextCN\":null,\"PMCID\":null,\"EPubDate\":\"\",\"PubModel\":\"\",\"JCR\":\"\",\"JCRName\":\"\",\"Score\":null,\"Total\":0}","platform":"Semanticscholar","paperid":null,"PeriodicalName":"2022 23rd International Carpathian Control Conference (ICCC)","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.1109/iccc54292.2022.9805981","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 2

摘要

人工神经网络(ANN)广泛用于解决图像处理、数据挖掘或分类等问题。硬件加速器用于提高神经网络的性能和效率。实现这种加速器的一个选择是使用基于fpga的系统,尽管为fpga开发神经网络非常耗时,并且需要硬件设计知识来完成。这个问题试图通过创建一个可以加速设计过程的框架来解决。同时,对一些效率优化和加速选项也有一个整体的展望。该框架是用Python编写的,并生成一个带有HLS指令的c++代码。该代码可以通过Vivado HLS编译成硬件描述性语言并打包为IP。Vivado工具可以生成可以上传到FPGA设备上的位文件。除此之外,本文还比较了非线性变换(基函数和激活函数)在精度、所需资源和评估变换所需的延迟方面的不同近似。生成的神经网络模块被集成到作者开发的系统中。使用该系统,对神经网络模块进行了测试,并与Python中实现的模型进行了比较。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
Framework for neural network hardware implementation
Artificial neural networks (ANN) are widely used in solving problems like image processing, data mining, or classification. Hardware accelerators are used for increasing the performance and efficiency of neural networks. An option for implementing such an accelerator is the usage of an FPGA-based system, although developing neural networks for FPGAs is very time-consuming and requires hardware design knowledge to do it. This problem tried to be solved by creating a framework that should speed up the design process. At the same time, there is an overall outlook on some efficiency optimization and speed-up options as well. The framework is written in Python and generates a C++ code whit HLS directive. This code can be compiled by Vivado HLS into a hardware descriptive language and packaged as an IP. The Vivado tool can generate a bit file that can be uploaded onto the FPGA device.Among other things, the paper presents a comparison of different approximations of nonlinear transformations (basis functions and activation functions) in terms of accuracy, required resource, and delay needed for evaluating the transformation. The generated neural network module was integrated into a system that was developed by the authors. Using that system, the neural network module was tested and compared to the models implemented in Python.
求助全文
通过发布文献求助,成功后即可免费获取论文全文。 去求助
来源期刊
自引率
0.00%
发文量
0
×
引用
GB/T 7714-2015
复制
MLA
复制
APA
复制
导出至
BibTeX EndNote RefMan NoteFirst NoteExpress
×
提示
您的信息不完整,为了账户安全,请先补充。
现在去补充
×
提示
您因"违规操作"
具体请查看互助需知
我知道了
×
提示
确定
请完成安全验证×
copy
已复制链接
快去分享给好友吧!
我知道了
右上角分享
点击右上角分享
0
联系我们:info@booksci.cn Book学术提供免费学术资源搜索服务,方便国内外学者检索中英文文献。致力于提供最便捷和优质的服务体验。 Copyright © 2023 布克学术 All rights reserved.
京ICP备2023020795号-1
ghs 京公网安备 11010802042870号
Book学术文献互助
Book学术文献互助群
群 号:604180095
Book学术官方微信