欢迎来到天天文库
浏览记录
ID:40707362
大小:2.82 MB
页数:4页
时间:2019-08-06
《An FPGA-based Accelerator Implementation for Deep Convolutional Neural Networks》由会员上传分享,免费在线阅读,更多相关内容在学术论文-天天文库。
1、20154thInternationalConferenceonComputerScienceandNetworkTechnology(ICCSNT2015)AnFPGA-basedAcceleratorImplementationforDeepConvolutionalNeuralNetworks12YongmeiZhouJingfeiJiangCollegeofComputerCollegeofComputerNationalUniversityofDefenseTechnologyNationalUniversityofDefenseTechnologyChangsha,ChinaCh
2、angsha,Chinayongmei0102@163.comjingfeijiang@126.comAbstract—Deepconvolutionalneuralnetworks(CNN)istimeofprocessingoneinputfeaturemap,ourworkis16.42highlyefficientinimagerecognitiontaskssuchasMNISTdigittimesfasterthantheMATLAB/CPUcode.recognition.AcceleratorsbasedonFPGAplatformareproposedsincegenera
3、lpurposeprocessorisdisappointingintermsofII.BACKGROUNDperformancewhendealingwithrecognitiontasks.Recently,anoptimizedFPGA-basedacceleratordesign(work1)hasbeenA.CNNBasicsproposedclaimingbestperformancecomparedwithexistingimplementations.Butastheauthoracknowledged,performanceGivenapreprocessednatural
4、image(alsocalledaninputcouldbebetteriffixedpointpresentationandcomputationfeaturemap),aconvolutionalvalueisthedotproductofaelementshadbeenused.Inspiredbyitsmethodologyinpixel-matrice(partoftheinputfeaturemap)andaweight-implementingtheAlexnetconvolutionalneuralnetwork,wematrice.Figure1showsanexample
5、ofaconvolutionallayerimplementa5-layeracceleratorforMNISTdigitrecognitionwithoneinput-feature-map,threeweight-matrix(ofasizeoftaskusingthesameVivadoHLStoolbutusing11-bitsfixed2*2)andthreeoutput-feature-maps;Code1showshowthepointprecisiononaVirtex7FPGA.Wecompareperformanceconvolutionaloperationcanbe
6、expressedinCcodeinHLSonFPGAplatformwiththeperformanceofthetargetCNNontool.MATLAB/CPUplatform;wereachaspeedupof16.42.Ourimplementationrunsat150MHzandreachesapeakperformanceof16.58GMACS.SinceourtargetCNNissimpler,weusemuchlessresourcethanwork1hasused.Keywords—FPGA;ConvolutionalNeuralNetwork;fixed-poi
7、ntarithmetic;HLSI.INTRODUCTIONDeepconvolutionalneuralnetworks(CNN)iswildlyusedinimagerecognitiontaskssuchasMNISTdigitrecognition[1].Generalpurposeprocessorisnotreallyefficientindealingwithsuchrecognitiontas
此文档下载收益归作者所有