![](/media/cache/img/default_profile.jpg.50x50_q85.jpg)
2011
Diff: main.cpp
- Revision:
- 205:9aa288c10f68
- Parent:
- 204:231d27008443
- Child:
- 206:a81419fb58ea
diff -r 231d27008443 -r 9aa288c10f68 main.cpp --- a/main.cpp Thu Dec 24 07:47:32 2020 +0000 +++ b/main.cpp Thu Dec 24 08:15:29 2020 +0000 @@ -1,4 +1,4 @@ -//201224_1 +//201224_2 #include "mbed.h" #include "FastPWM.h" #include "INIT_HW.h" @@ -199,72 +199,72 @@ float input_NN[num_input] = { 0.0f }; const float h1[num_input][16] = { - {-1.5993059873580933f,0.43945008516311646f,0.12903714179992676f,-0.07903441786766052f,-1.8949874639511108f,1.868528962135315f,-0.17472904920578003f,0.4595896601676941f,-0.43561747670173645f,-0.04615814611315727f,-0.23684236407279968f,-1.5037455558776855f,-0.2676747143268585f,-0.6216555237770081f,-0.2571594715118408f,-0.43148016929626465f}, -{-0.8364126086235046f,0.09295114874839783f,-0.3927857577800751f,-0.2727188766002655f,-1.0385441780090332f,0.8977735042572021f,-0.4054011106491089f,0.44987189769744873f,-0.29669591784477234f,0.21184058487415314f,-0.2736198306083679f,-0.8792054653167725f,0.23191256821155548f,-0.8017642498016357f,-0.20967772603034973f,-0.9671813249588013f}, -{-0.8195819854736328f,0.4961153268814087f,0.36391180753707886f,-0.5226353406906128f,-0.6577441692352295f,0.879219651222229f,0.2872133255004883f,0.012673712335526943f,-0.41921380162239075f,0.2234516143798828f,-0.3474748432636261f,-0.5087661147117615f,-0.00637056166306138f,-0.18617482483386993f,0.05590221285820007f,-0.8012481927871704f}, -{-0.6319097280502319f,0.693636953830719f,0.39742106199264526f,0.24299956858158112f,-0.4228553771972656f,0.14725172519683838f,-0.11584559082984924f,-0.532391369342804f,-0.27385860681533813f,0.3663768470287323f,0.09638378769159317f,0.29256293177604675f,-0.16855108737945557f,-0.18148168921470642f,-0.2961459457874298f,0.8464841246604919f}, -{0.7461979985237122f,0.49180251359939575f,-0.0051451027393341064f,0.3333152234554291f,0.5794473886489868f,-0.6461761593818665f,0.1294034719467163f,-0.9835967421531677f,-0.3184085786342621f,0.19254086911678314f,0.34836387634277344f,0.49276548624038696f,-0.07216952741146088f,0.27343443036079407f,-0.3865056037902832f,1.4101264476776123f}, -{3.2343902587890625f,-2.2528445720672607f,0.21773302555084229f,0.5652960538864136f,3.148707151412964f,-3.1420209407806396f,0.16514194011688232f,0.6117509007453918f,-0.4235992729663849f,0.21656234562397003f,-0.24712057411670685f,1.274764895439148f,-0.2688344120979309f,1.1950470209121704f,-0.4132833778858185f,-0.05743548646569252f}, -{-0.6508892774581909f,0.7577239274978638f,-0.2501986622810364f,-0.7059148550033569f,-0.7778740525245667f,0.332052618265152f,0.06014183163642883f,-4.2988786697387695f,0.15086668729782104f,-0.12566223740577698f,0.1482049971818924f,0.7200766205787659f,-0.17589396238327026f,-0.14634668827056885f,-0.15618428587913513f,4.644230365753174f}, -{-0.7103012800216675f,-0.2914102077484131f,-0.26619744300842285f,0.1277981847524643f,-0.9090443849563599f,0.27241456508636475f,-0.17925891280174255f,-2.562246799468994f,-0.2821522653102875f,-0.020468801259994507f,0.1025993749499321f,0.01748223975300789f,0.36828503012657166f,0.025631556287407875f,0.04303058981895447f,1.7367496490478516f}, -{0.9912256598472595f,-1.6260329484939575f,0.10248100757598877f,-0.08735460788011551f,0.6570892930030823f,-0.48230504989624023f,-0.07246989011764526f,0.4992782473564148f,-0.6757456660270691f,0.2720978260040283f,-0.29995009303092957f,0.6254252791404724f,0.22595258057117462f,1.0093032121658325f,-0.30555272102355957f,-3.7701404094696045f}, -{0.14510750770568848f,-1.3076472282409668f,0.18462657928466797f,0.06593218445777893f,0.3851982653141022f,0.006654468830674887f,-0.2990540862083435f,0.5704181790351868f,-0.25464093685150146f,-0.5164272785186768f,-0.010852855630218983f,-0.6049553751945496f,0.36904722452163696f,0.27233806252479553f,0.3484981060028076f,-2.145130157470703f}, -{0.26558718085289f,-0.3769892454147339f,0.37182438373565674f,0.2574600577354431f,-0.0909450501203537f,-0.019266221672296524f,-0.20339298248291016f,0.24088642001152039f,-0.49957215785980225f,-0.008945263922214508f,0.3458111584186554f,-0.824551522731781f,-0.06989830732345581f,0.1074192151427269f,0.26688337326049805f,-0.892365574836731f}, -{-0.2389281839132309f,-0.7106818556785583f,-0.40320003032684326f,-0.1078604906797409f,0.28885725140571594f,-0.4250869154930115f,0.1533789038658142f,0.4056338965892792f,-0.1681622713804245f,0.16031795740127563f,-0.4167521595954895f,-0.43077829480171204f,0.1412402093410492f,0.07915178686380386f,0.10493969917297363f,-0.07082201540470123f}, -{-0.032855018973350525f,-0.42176827788352966f,0.19847965240478516f,-0.0030563066247850657f,0.3660206198692322f,-0.14558638632297516f,-0.2404318004846573f,0.2015019655227661f,-0.1734953671693802f,-0.2558341920375824f,-0.1115814819931984f,-0.7943522334098816f,0.08852691203355789f,0.1106438934803009f,-0.22268100082874298f,-0.17793765664100647f}, -{-0.1136455237865448f,-0.4325786232948303f,0.4127817749977112f,-0.24888765811920166f,-0.214561328291893f,-0.506905734539032f,-0.32001304626464844f,0.043893951922655106f,-0.12302793562412262f,-0.3023318648338318f,-0.19743306934833527f,-0.7400186061859131f,-0.3162824809551239f,0.03880959749221802f,0.0479682981967926f,-0.08764629065990448f}, -{-0.02834106795489788f,-0.06188807263970375f,0.20282304286956787f,-0.12476225942373276f,0.10336235910654068f,-0.12902821600437164f,0.04202890396118164f,0.21133063733577728f,0.32223421335220337f,-0.0071917143650352955f,-0.28180214762687683f,-1.0684038400650024f,0.09998573362827301f,-0.12126590311527252f,0.0668090283870697f,-0.014666617847979069f}, -{-0.005215412471443415f,-0.44697079062461853f,-0.40439701080322266f,-0.2776923179626465f,-0.2094569206237793f,-0.20221160352230072f,-0.15568238496780396f,-0.06442862749099731f,0.19860975444316864f,-0.10510893166065216f,-0.4762294590473175f,-0.7791360020637512f,-0.27474963665008545f,-0.020535530522465706f,-0.08245879411697388f,0.021409081295132637f}, -{-0.11663901060819626f,-0.6498048305511475f,0.16706281900405884f,-0.1073165163397789f,-0.1615286022424698f,-0.41682979464530945f,-0.041414469480514526f,0.18290041387081146f,-0.049576375633478165f,-0.01950126886367798f,-0.355907678604126f,-0.59775710105896f,0.10836437344551086f,0.30783337354660034f,0.29427415132522583f,0.02170461229979992f}, + {-0.3518959879875183f,-1.0181971788406372f,0.5238839387893677f,0.07460802793502808f,0.4083598852157593f,0.5267895460128784f,-0.24204020202159882f,0.022494137287139893f,-0.38182884454727173f,0.1710560917854309f,-0.6304952502250671f,-0.24469460546970367f,0.07800555229187012f,-0.11156265437602997f,0.9230948686599731f,0.01127579715102911f}, +{-0.23303905129432678f,-0.24711905419826508f,0.4181930422782898f,-0.2855757474899292f,-0.4139590263366699f,0.6357643604278564f,-0.33242931962013245f,0.33744025230407715f,0.019223570823669434f,0.025203019380569458f,0.0015196951571851969f,-0.32244545221328735f,0.07627367973327637f,0.36681148409843445f,0.2662626802921295f,-0.055823683738708496f}, +{0.054309576749801636f,-0.49540218710899353f,0.3860630691051483f,-0.3997206389904022f,0.37840962409973145f,-0.14458975195884705f,-0.3337523639202118f,-0.21087387204170227f,0.18194907903671265f,-0.15486115217208862f,-0.48218241333961487f,0.30044838786125183f,-0.10916683077812195f,0.13324618339538574f,-0.018999867141246796f,0.2987367808818817f}, +{-0.28941866755485535f,0.2667725384235382f,-0.4305540919303894f,-0.3544938564300537f,-0.3382750153541565f,0.1611849069595337f,-0.4222949147224426f,0.2507844567298889f,0.405910849571228f,0.15534931421279907f,0.0912986472249031f,-0.21454837918281555f,-0.35986700654029846f,-0.4057389199733734f,-0.28181108832359314f,-0.042290735989809036f}, +{0.260015070438385f,0.32970598340034485f,-0.8912553787231445f,-0.3760731518268585f,0.08130717277526855f,-0.6682697534561157f,0.35346728563308716f,0.05169829726219177f,0.39578813314437866f,0.3265618085861206f,0.1725350022315979f,-0.23878204822540283f,0.3847886323928833f,0.3495698571205139f,-0.6733472347259521f,0.2500562071800232f}, +{0.07367211580276489f,0.7450180053710938f,-0.6315812468528748f,0.21967214345932007f,0.4170142412185669f,-0.770605206489563f,0.16131609678268433f,-0.05181002616882324f,0.03649970889091492f,0.3132137656211853f,0.716629147529602f,0.09533099830150604f,-0.004373282194137573f,0.35536396503448486f,-0.6000161170959473f,0.3825781047344208f}, +{-0.1849803626537323f,-0.40095481276512146f,-0.2245466113090515f,0.10853719711303711f,-0.34670042991638184f,-0.6805928349494934f,-0.07871395349502563f,-0.3424152731895447f,-0.0723131000995636f,-0.09276700019836426f,-0.2896198034286499f,0.384247362613678f,0.1583765149116516f,0.25456663966178894f,-0.6039044260978699f,0.12134073674678802f}, +{0.3363311290740967f,-0.12490702420473099f,-0.04714484512805939f,0.2931549549102783f,-0.2531799077987671f,-0.3935620188713074f,-0.15988385677337646f,-0.16074800491333008f,-0.3888390362262726f,-0.03829273581504822f,-0.06867220997810364f,0.09743418544530869f,-0.03030523657798767f,0.038140591233968735f,0.038169119507074356f,-0.34604939818382263f}, +{-0.008942186832427979f,0.6577344536781311f,-0.4952816069126129f,-0.26002514362335205f,0.369967520236969f,0.021473055705428123f,0.06158176064491272f,0.3959408402442932f,-0.011539667844772339f,-0.3851383328437805f,0.126651793718338f,-0.17609961330890656f,-0.3491899371147156f,-0.46013858914375305f,0.06334633380174637f,-0.24532243609428406f}, +{-0.23328730463981628f,0.4614630937576294f,-0.2081146091222763f,-0.14789578318595886f,-0.1547950804233551f,-0.39302149415016174f,-0.09938845038414001f,0.10942506790161133f,-0.3328583538532257f,0.32593780755996704f,-0.3129696547985077f,0.019227905198931694f,0.025072604417800903f,-0.15357577800750732f,-0.2597353756427765f,-0.10979597270488739f}, +{-0.2889084219932556f,0.35974031686782837f,-0.487824410200119f,0.358765184879303f,-0.4070855379104614f,-0.48963862657546997f,-0.14795801043510437f,0.12666010856628418f,0.2193526029586792f,0.2858560085296631f,-0.6543271541595459f,0.16494837403297424f,-0.35532402992248535f,-0.06058239936828613f,0.07391873747110367f,0.29227620363235474f}, +{-0.349159836769104f,0.23408935964107513f,-0.28113874793052673f,-0.09636816382408142f,-0.3470844030380249f,0.09159677475690842f,-0.24872183799743652f,-0.3441091775894165f,-0.20228171348571777f,-0.3132234513759613f,-0.38526651263237f,-0.07960613816976547f,0.11759966611862183f,0.10377488285303116f,0.2513485848903656f,-0.263491153717041f}, +{0.38546842336654663f,0.1190636157989502f,-0.05863933265209198f,-0.41764265298843384f,-0.4134422838687897f,-0.09244964271783829f,0.298126757144928f,-0.39963799715042114f,-0.06526103615760803f,0.03604122996330261f,-0.409576952457428f,0.09560509771108627f,-0.30289945006370544f,0.14713193476200104f,-0.0909358337521553f,0.1905267983675003f}, +{-0.42283523082733154f,0.17752918601036072f,0.05169850215315819f,-0.14728012681007385f,-0.37331435084342957f,0.32072553038597107f,-0.09241300821304321f,-0.04799109697341919f,-0.17356249690055847f,-0.053030580282211304f,0.2975623309612274f,-0.12490103393793106f,-0.3399311900138855f,0.17119969427585602f,0.3467433452606201f,-0.32378605008125305f}, +{0.2842629551887512f,0.14254522323608398f,-0.07260823994874954f,-0.1726883053779602f,-0.16769343614578247f,0.362951397895813f,-0.18842191994190216f,0.35883063077926636f,-0.32441917061805725f,0.3678022027015686f,0.19621485471725464f,0.4039776921272278f,-0.006959974765777588f,-0.07163886725902557f,0.17139792442321777f,-0.4028019607067108f}, +{0.30670469999313354f,-0.07149137556552887f,-0.06005222350358963f,-0.24774791300296783f,0.2930166721343994f,0.0734730213880539f,-0.2875429093837738f,0.34532618522644043f,-0.07908278703689575f,0.264565646648407f,-0.24093548953533173f,-0.3791404664516449f,0.24430310726165771f,0.11721959710121155f,-0.20590196549892426f,-0.20737025141716003f}, +{0.06869709491729736f,-0.28333309292793274f,-0.42365720868110657f,-0.3430131673812866f,-0.4249112606048584f,-0.367571085691452f,-0.2120281457901001f,-0.19189448654651642f,0.18253427743911743f,-0.026109665632247925f,0.29364481568336487f,-0.049624159932136536f,0.24209386110305786f,-0.28560784459114075f,0.2603754699230194f,-0.24946027994155884f}, }; const float h2[16][16] = { - {-3.331204652786255f,2.0385022163391113f,-0.06966331601142883f,1.720950722694397f,-0.21907491981983185f,0.2909059226512909f,-0.20208165049552917f,0.0904630720615387f,-0.43008196353912354f,-0.1415480375289917f,1.7166439294815063f,-1.0790513753890991f,0.12968102097511292f,-4.269101619720459f,-0.05299738049507141f,1.0905885696411133f}, -{0.12682826817035675f,0.15102382004261017f,0.057057321071624756f,3.000434398651123f,-0.35503754019737244f,-1.6939725875854492f,-0.34237051010131836f,-0.2990124225616455f,-0.33757925033569336f,0.2895788848400116f,-1.5491377115249634f,-0.9465551376342773f,0.33698758482933044f,1.559537410736084f,0.15979686379432678f,0.18765288591384888f}, -{-0.22745239734649658f,0.003037691116333008f,-0.061119019985198975f,0.35696902871131897f,0.05568113923072815f,0.011741191148757935f,-0.20225946605205536f,-0.08465918898582458f,0.3489862382411957f,0.0687277615070343f,0.31964078545570374f,0.3004753887653351f,0.36063823103904724f,-0.42892736196517944f,0.08652284741401672f,0.027493387460708618f}, -{-0.0038494274485856295f,-0.27630358934402466f,-0.2894435524940491f,0.4252559542655945f,0.08946844935417175f,0.27233457565307617f,-0.3439287841320038f,0.4122363030910492f,0.26211628317832947f,0.2953031361103058f,0.2075938880443573f,0.2481931746006012f,-0.404754102230072f,-0.39094415307044983f,0.12583167850971222f,0.12181642651557922f}, -{-0.8283888697624207f,1.8473578691482544f,-0.25313520431518555f,0.03669706732034683f,0.036378175020217896f,0.14230269193649292f,-0.7250795960426331f,-0.08570799231529236f,-0.024399548768997192f,-0.39465832710266113f,-0.35756146907806396f,-1.1260812282562256f,0.10077962279319763f,-1.1751545667648315f,-0.6568090915679932f,0.35941779613494873f}, -{1.313340663909912f,-1.6545008420944214f,-0.3519742488861084f,-0.49525633454322815f,-0.3015052080154419f,-0.3683725595474243f,-1.0408955812454224f,-0.019414573907852173f,-0.23047015070915222f,0.3579089343547821f,-0.46681874990463257f,-0.7267597317695618f,-0.20959392189979553f,-0.8629131317138672f,-0.03438703343272209f,-0.2891642451286316f}, -{-0.1828227937221527f,-0.02554568648338318f,-0.3260969817638397f,0.08422836661338806f,-0.38453540205955505f,-0.25432005524635315f,0.285016268491745f,0.12387624382972717f,-0.0982072651386261f,0.13111665844917297f,-0.03692615032196045f,-0.32796353101730347f,-0.21546880900859833f,0.049302369356155396f,-0.27088475227355957f,-0.4124959409236908f}, -{-0.08028095215559006f,-0.33630532026290894f,0.33083590865135193f,-0.3080991804599762f,-0.14358049631118774f,1.10385262966156f,-0.025492865592241287f,-0.3003333508968353f,0.2600560486316681f,-0.37898191809654236f,0.6256729960441589f,-0.5071706771850586f,-0.31673234701156616f,0.11956100165843964f,-11.457229614257812f,0.5474859476089478f}, -{0.004702992737293243f,-0.1820937544107437f,-0.11379697918891907f,0.14139454066753387f,0.041274964809417725f,-0.14186520874500275f,-0.10284432768821716f,0.0019084513187408447f,0.06103590130805969f,-0.38046833872795105f,0.3429935574531555f,-0.34765779972076416f,-0.37024784088134766f,0.1993687003850937f,-0.2297692447900772f,-0.23237699270248413f}, -{-0.34216949343681335f,0.23496045172214508f,-0.13502129912376404f,0.08847349882125854f,0.12987366318702698f,0.14208538830280304f,0.2711336314678192f,-0.3632148504257202f,-0.13619378209114075f,0.16938945651054382f,0.2009814977645874f,0.44322916865348816f,0.3811538517475128f,-0.24470730125904083f,0.04349624365568161f,-0.24874821305274963f}, -{-0.28599539399147034f,0.0020868044812232256f,0.0457797646522522f,-0.3547317385673523f,-0.03321319818496704f,-0.42137426137924194f,0.17873415350914001f,-0.20421427488327026f,-0.050184011459350586f,0.12480869889259338f,-0.2116698920726776f,0.3545852601528168f,-0.3647043704986572f,0.40816983580589294f,-0.4018280804157257f,-0.27432969212532043f}, -{0.1522299200296402f,-0.45329317450523376f,0.3954955041408539f,-0.48470574617385864f,0.0033026933670043945f,0.572025716304779f,-0.31212282180786133f,-0.11795541644096375f,0.3487861454486847f,-0.32520344853401184f,-3.3134469985961914f,-0.530846357345581f,0.0820283591747284f,-2.0381298065185547f,1.0461171865463257f,0.4835590124130249f}, -{-0.2670588493347168f,-0.21156641840934753f,-0.15798500180244446f,0.38131895661354065f,-0.37393757700920105f,0.3658103048801422f,0.11292675137519836f,-0.2947862446308136f,-0.3764709532260895f,0.2424570620059967f,-0.10874747484922409f,-0.2837170362472534f,0.41839322447776794f,-0.016431119292974472f,-0.1284826099872589f,0.10878776758909225f}, -{-0.08318141847848892f,0.9871321320533752f,-0.2018718123435974f,-1.6108821630477905f,0.07545611262321472f,0.18611471354961395f,-0.43937158584594727f,-0.21416273713111877f,-0.24509364366531372f,0.19522181153297424f,-0.010126939043402672f,-0.5335819721221924f,-0.16718891263008118f,-1.5700724124908447f,0.43778514862060547f,-0.32085344195365906f}, -{0.4138670265674591f,0.1604653298854828f,0.056746453046798706f,0.036025404930114746f,0.3228367865085602f,-0.07083973288536072f,0.018455177545547485f,0.0059362053871154785f,0.40515169501304626f,0.014240056276321411f,-0.07738298177719116f,0.1407785713672638f,-0.13024571537971497f,-0.29546058177948f,-0.11976784467697144f,-0.35825538635253906f}, -{-0.7090895175933838f,1.2769805192947388f,0.12081471085548401f,0.6089377403259277f,0.29976895451545715f,-1.5370103120803833f,-0.25536221265792847f,0.31089308857917786f,-0.3893685042858124f,-0.02222958207130432f,-1.6542840003967285f,-0.8796235918998718f,-0.19991017878055573f,1.0658007860183716f,0.487970232963562f,-2.344710350036621f}, + {-0.055980950593948364f,0.23325034976005554f,0.1310378611087799f,0.3538874685764313f,-0.3786364793777466f,0.3037426769733429f,-0.17743819952011108f,0.03198641538619995f,-0.25820767879486084f,-0.025972992181777954f,-0.1812897026538849f,-0.19700877368450165f,-0.23905162513256073f,0.3336930572986603f,-0.2611466646194458f,-0.14968061447143555f}, +{0.6830940842628479f,0.3085605204105377f,-1.0774949789047241f,-0.63385409116745f,-0.9465451836585999f,-0.005713187158107758f,-1.1153970956802368f,-0.6576376557350159f,-0.18814027309417725f,0.2273702323436737f,-0.2186730057001114f,-0.09930881857872009f,0.3377574682235718f,-0.9058500528335571f,-0.21292872726917267f,0.6135957837104797f}, +{-0.8244589567184448f,0.3188628852367401f,0.4108174741268158f,-0.4539192020893097f,-0.16654692590236664f,0.10132119059562683f,0.5420822501182556f,0.13426877558231354f,-0.1720905601978302f,0.229490727186203f,-0.29371505975723267f,-0.13699811697006226f,-0.28904634714126587f,0.337862104177475f,0.056768983602523804f,-0.5893235802650452f}, +{-0.28563398122787476f,0.07789990305900574f,0.40358296036720276f,0.3720850646495819f,-0.03832319378852844f,-0.1494518518447876f,-0.11764177680015564f,0.34294649958610535f,0.054388612508773804f,0.3634087145328522f,0.1569826900959015f,0.28783395886421204f,-0.13846668601036072f,0.12138035893440247f,-0.3007376194000244f,0.12193700671195984f}, +{0.1812863051891327f,0.25741907954216003f,-0.005224883556365967f,0.3340524137020111f,0.024127095937728882f,0.11559751629829407f,0.13140985369682312f,-0.02607312798500061f,0.060811251401901245f,0.1730591356754303f,0.4128219783306122f,0.03628826141357422f,-0.040624260902404785f,0.2442089021205902f,-0.39249828457832336f,-0.21546570956707f}, +{0.30592480301856995f,-0.3289546072483063f,0.2873966097831726f,0.3854629099369049f,0.35946568846702576f,-0.36090072989463806f,0.3797028660774231f,-0.31257379055023193f,0.018147015944123268f,0.17989537119865417f,-0.191977858543396f,0.26149240136146545f,-0.5889873504638672f,0.4767233431339264f,-0.4196912348270416f,-0.6381170749664307f}, +{0.03675055503845215f,-0.05131736397743225f,-0.2540779709815979f,-0.4151476323604584f,-0.3318796753883362f,0.2645241320133209f,0.06107431650161743f,-0.3474422097206116f,0.4012340009212494f,0.12852928042411804f,0.2119675576686859f,0.39421865344047546f,-0.14612942934036255f,0.4053405821323395f,-0.15860587358474731f,-0.00642770528793335f}, +{-0.011466562747955322f,-0.293976753950119f,-0.2703247666358948f,0.13940533995628357f,-0.3086448609828949f,-0.10881850123405457f,-0.18203827738761902f,-0.3606947958469391f,0.05907437205314636f,0.17521318793296814f,0.16556969285011292f,-0.017545759677886963f,0.4063515365123749f,0.1637323796749115f,0.0436977744102478f,0.21962454915046692f}, +{0.1453019678592682f,0.31070712208747864f,0.10406997799873352f,-0.34301185607910156f,-0.14203324913978577f,0.1393299400806427f,-0.07359349727630615f,-0.4255761206150055f,-0.24196511507034302f,0.4100019037723541f,-0.2432931661605835f,0.4171271026134491f,0.26163145899772644f,0.24838712811470032f,-0.31029027700424194f,0.24932292103767395f}, +{-0.09909564256668091f,-0.22814129292964935f,0.18748918175697327f,-0.08129695057868958f,0.17022588849067688f,0.2918822467327118f,-0.3036908507347107f,-0.09228748083114624f,0.024910658597946167f,-0.4239048957824707f,0.050207048654556274f,-0.4021540582180023f,0.4068380892276764f,-0.20195016264915466f,0.35390153527259827f,0.03321918845176697f}, +{0.27012309432029724f,0.11061021685600281f,-0.11031246930360794f,-0.2462926208972931f,-0.47244739532470703f,-0.11755365878343582f,-0.8120853900909424f,-0.5518144965171814f,-0.44141459465026855f,0.08167347311973572f,0.41236647963523865f,-0.19175507128238678f,0.17540761828422546f,-0.7689425349235535f,0.2710213363170624f,0.032591644674539566f}, +{-0.34531110525131226f,-0.39544427394866943f,-0.40925148129463196f,0.07428228110074997f,0.16746854782104492f,-0.011973470449447632f,0.15573780238628387f,0.4095241129398346f,-0.11885038018226624f,0.2575679123401642f,-0.36203885078430176f,0.2510797083377838f,0.17548120021820068f,-0.001581403543241322f,0.10656675696372986f,-0.06930389255285263f}, +{-0.01594102382659912f,-0.19719429314136505f,0.2015570104122162f,0.23486098647117615f,0.36742570996284485f,0.19432035088539124f,-0.24415965378284454f,0.16870906949043274f,-0.1409781575202942f,-0.15576940774917603f,-0.05214834213256836f,-0.16751256585121155f,0.12201771140098572f,0.031148135662078857f,-0.22613362967967987f,-0.3668502867221832f}, +{-0.05743904411792755f,-0.10105487704277039f,0.37456682324409485f,-0.04381980374455452f,-0.24536658823490143f,-0.25192296504974365f,-0.2841794490814209f,-0.34860795736312866f,-0.12634605169296265f,-0.19223688542842865f,-0.13938084244728088f,-0.1388394832611084f,-0.24564625322818756f,-0.08797869831323624f,0.04871204495429993f,0.18949538469314575f}, +{0.29601532220840454f,-0.008572280406951904f,0.4535497725009918f,0.3231527507305145f,0.7357798218727112f,-0.31015023589134216f,0.43387073278427124f,0.3858222961425781f,0.3131316900253296f,0.11613044142723083f,-0.22509463131427765f,-0.3847343325614929f,-0.512644350528717f,0.13419762253761292f,0.06784489750862122f,-0.3282114565372467f}, +{-0.009295972064137459f,-0.35415053367614746f,-0.3785935640335083f,0.04678218811750412f,-0.05916179344058037f,0.028057783842086792f,-0.19932891428470612f,-0.004681884776800871f,0.27984046936035156f,0.021969109773635864f,-0.42253369092941284f,-0.02782580256462097f,-0.2832367718219757f,0.035722918808460236f,-0.08373728394508362f,0.2868802547454834f}, }; const float h3[16][16] = { - {-0.36079341173171997f,-4.506590843200684f,0.9718533754348755f,-0.4074249267578125f,-1.7874979972839355f,1.4464327096939087f,0.3332441747188568f,0.07113602757453918f,-0.3300304710865021f,-0.19002185761928558f,-0.40770405530929565f,0.4001283347606659f,2.82604718208313f,-1.6143494844436646f,4.633068561553955f,0.12741845846176147f}, -{0.047732532024383545f,-0.3666718900203705f,0.20403416454792023f,-0.2253294587135315f,0.37756842374801636f,0.1359856128692627f,-0.3198729455471039f,-0.21214903891086578f,0.07495583593845367f,-0.02900463528931141f,0.32022908329963684f,-0.4366576075553894f,-1.6359550952911377f,-1.3213365077972412f,-2.0666232109069824f,-0.2941063344478607f}, -{0.07903262972831726f,0.2790505588054657f,-0.07798504829406738f,0.04248586297035217f,-0.1963958442211151f,-0.19260792434215546f,-0.4038352966308594f,0.015906542539596558f,0.15353140234947205f,0.030178606510162354f,0.2488909661769867f,0.13805970549583435f,-0.0816211998462677f,-0.20733052492141724f,-0.3036302626132965f,0.054825395345687866f}, -{-0.30922991037368774f,-0.0968664139509201f,-0.2591405212879181f,-0.39299437403678894f,-0.4972909688949585f,-0.08967194706201553f,0.20021501183509827f,0.24925073981285095f,-0.5755168795585632f,-0.46145495772361755f,0.06848174333572388f,0.21255473792552948f,-0.918521523475647f,-0.6759464144706726f,-0.5953877568244934f,-0.04038632661104202f}, -{-0.39607733488082886f,-0.05481579899787903f,0.1976260244846344f,0.022423356771469116f,0.16892847418785095f,-0.27518749237060547f,0.16012099385261536f,0.3626593053340912f,-0.08640444278717041f,-0.11053556203842163f,-0.10529157519340515f,-0.31317979097366333f,-0.1530032455921173f,-0.1336749792098999f,0.22959044575691223f,0.19986507296562195f}, -{-0.37449589371681213f,-0.9079461693763733f,-0.6645832061767578f,0.0874672383069992f,-0.5811411142349243f,0.39223694801330566f,-0.18732719123363495f,0.11547127366065979f,-0.6848570704460144f,-0.31486886739730835f,-0.0473649837076664f,0.015336488373577595f,-0.49522697925567627f,1.9155656099319458f,0.11285478621721268f,-0.36226871609687805f}, -{0.4110594093799591f,0.2790789306163788f,-0.31044068932533264f,0.37246426939964294f,0.21461978554725647f,-0.05120496079325676f,-0.08670487999916077f,-0.25336313247680664f,-0.030661463737487793f,-0.06259563565254211f,-0.1344406008720398f,0.35313835740089417f,0.19873254001140594f,0.11977154016494751f,0.3239758014678955f,-0.3391006588935852f}, -{-0.40892091393470764f,0.043769627809524536f,-0.3867315948009491f,0.25968697667121887f,0.3424709737300873f,-0.051169753074645996f,-0.23312048614025116f,-0.390264093875885f,0.28059282898902893f,-0.1559126079082489f,-0.14134526252746582f,-0.0003446042537689209f,-0.2742875814437866f,-0.36560842394828796f,0.07994696497917175f,0.005298197269439697f}, -{0.10697010159492493f,-0.12228584289550781f,-0.37870171666145325f,0.21184906363487244f,-0.37222859263420105f,-0.17138728499412537f,-0.1382003128528595f,0.3493293821811676f,-0.360889196395874f,-0.3875247836112976f,0.42142823338508606f,-0.3482915461063385f,-0.3289247751235962f,-0.2186824083328247f,0.09620395302772522f,-0.06898030638694763f}, -{0.2847062647342682f,0.018552124500274658f,0.11435768008232117f,0.36562982201576233f,-0.047046810388565063f,0.30447837710380554f,0.2430230677127838f,0.2909286320209503f,-0.2802048921585083f,0.18043199181556702f,0.41849127411842346f,-0.287167489528656f,0.24394884705543518f,-0.14084559679031372f,-0.10168051719665527f,0.010465055704116821f}, -{0.15459725260734558f,0.24754825234413147f,-0.820433497428894f,-0.252727746963501f,-0.7242252826690674f,1.0637656450271606f,-0.08742031455039978f,-0.10094485431909561f,-0.1714128702878952f,-0.47240930795669556f,0.1268840730190277f,-0.45710289478302f,0.13571518659591675f,-0.9132104516029358f,-0.884854793548584f,0.30346015095710754f}, -{-0.408692330121994f,-0.10330183058977127f,-0.03088713251054287f,-0.04910988733172417f,-0.14289908111095428f,-0.08836136758327484f,0.03285527229309082f,0.38763079047203064f,-0.20705322921276093f,-0.26367273926734924f,0.12809070944786072f,0.03996849060058594f,-0.6194682121276855f,-0.3420376479625702f,-0.15302342176437378f,0.334671288728714f}, -{-0.2991822361946106f,0.3794580399990082f,-0.07897943258285522f,-0.05932474136352539f,0.08582660555839539f,0.24227938055992126f,-0.11253207921981812f,0.34576353430747986f,0.04814547300338745f,-0.35770976543426514f,-0.044228196144104004f,-0.36229726672172546f,0.015840977430343628f,-0.13475483655929565f,0.36124154925346375f,-0.16869547963142395f}, -{-0.2675279378890991f,-0.23570792376995087f,-0.01309112273156643f,-0.14364181458950043f,2.3846588134765625f,0.27895113825798035f,-0.32875844836235046f,-0.3456351161003113f,-0.6392947435379028f,-0.7831358909606934f,-0.5172973275184631f,-0.6358556747436523f,0.8432692885398865f,-0.12324223667383194f,-1.3170307874679565f,0.1775851845741272f}, -{-0.015470266342163086f,0.5634241700172424f,0.4926322102546692f,0.19412125647068024f,-1.3362925052642822f,-1.78391695022583f,0.05196094512939453f,-0.22771868109703064f,-0.42801159620285034f,-0.7967047095298767f,0.13606210052967072f,-0.11511552333831787f,-0.7230550646781921f,-0.9689664244651794f,-0.9805216789245605f,-0.45693734288215637f}, -{0.1863725483417511f,0.9234558343887329f,-0.6948419213294983f,-0.577112078666687f,-0.6471362709999084f,-0.23756158351898193f,0.04860696196556091f,0.10497421026229858f,-0.2648492157459259f,-0.029172860085964203f,-0.3929237127304077f,0.006962045561522245f,1.1317983865737915f,-0.006108184810727835f,1.8698254823684692f,-0.1434863805770874f}, + {-0.011498991400003433f,-0.14559394121170044f,-0.06966331601142883f,-0.5719305872917175f,-0.21907491981983185f,0.7517984509468079f,0.6887433528900146f,0.0904630720615387f,-1.0889477729797363f,-0.28902721405029297f,-2.3065438270568848f,-0.10159772634506226f,0.23481115698814392f,-0.032193321734666824f,-0.060674071311950684f,0.22100424766540527f}, +{0.11036357283592224f,-0.3038245439529419f,0.057057321071624756f,0.08777192234992981f,-0.35503754019737244f,-0.29007279872894287f,-0.33918139338493347f,-0.2990124225616455f,-0.33757925033569336f,0.2895788848400116f,-0.3337714970111847f,-0.37158891558647156f,0.33698758482933044f,0.16647490859031677f,-0.3480874300003052f,-0.2740727365016937f}, +{-0.2946450114250183f,0.003037691116333008f,-0.061119019985198975f,0.4629787802696228f,0.05568113923072815f,-0.3591650128364563f,-0.3925563097000122f,-0.08465918898582458f,0.46576768159866333f,0.1319389045238495f,0.4200381338596344f,0.3004753887653351f,0.29665684700012207f,-0.5471781492233276f,0.08652284741401672f,-0.1951722800731659f}, +{0.014514091424643993f,-0.38710832595825195f,-0.2894435524940491f,0.40405750274658203f,0.08946844935417175f,0.17319494485855103f,-0.3548906445503235f,0.4122363030910492f,0.28641819953918457f,0.18554691970348358f,0.14541564881801605f,0.4110986292362213f,-0.45408642292022705f,-0.2165788859128952f,0.27305224537849426f,-0.047836560755968094f}, +{-0.2806110680103302f,0.40231046080589294f,-0.25313520431518555f,0.5885722637176514f,0.036378175020217896f,-0.22483457624912262f,-0.6083595752716064f,-0.08570799231529236f,0.30782198905944824f,-0.6609525084495544f,-0.08430586755275726f,-0.4229513108730316f,-0.23955631256103516f,-0.19798928499221802f,-0.2544192671775818f,-0.6755768060684204f}, +{0.5131750702857971f,0.294185608625412f,-0.3519742488861084f,0.19928856194019318f,-0.3015052080154419f,-0.024108221754431725f,-0.23793454468250275f,-0.019414573907852173f,-0.42064279317855835f,0.5497127175331116f,-0.10041175037622452f,0.001658409833908081f,-0.023390205577015877f,0.3993215262889862f,0.15392538905143738f,-0.18064595758914948f}, +{-0.2636679708957672f,-0.02554568648338318f,-0.3260969817638397f,1.400650143623352f,-0.38453540205955505f,-3.0441176891326904f,-1.0309864282608032f,0.12387624382972717f,1.327842354774475f,0.8234207034111023f,1.1026571989059448f,-0.32796353101730347f,-1.0295908451080322f,0.049302369356155396f,-0.27088475227355957f,-1.773733377456665f}, +{0.15550771355628967f,0.33974209427833557f,0.33083590865135193f,0.21785464882850647f,-0.14358049631118774f,-1.6028454303741455f,-0.49285537004470825f,-0.3003333508968353f,0.8130767941474915f,-0.45922738313674927f,0.9424108266830444f,-0.2890920341014862f,-0.968544602394104f,0.36012205481529236f,0.048003822565078735f,-0.24998000264167786f}, +{-0.25820738077163696f,0.35453304648399353f,-0.11379697918891907f,0.07942168414592743f,0.041274964809417725f,-0.33757007122039795f,-0.06726410984992981f,0.0019084513187408447f,0.024072596803307533f,-0.35254228115081787f,0.03284132853150368f,-0.3197441101074219f,-0.3433385193347931f,-0.30194157361984253f,-0.4068881571292877f,-0.1724976897239685f}, +{-0.14576366543769836f,0.22098979353904724f,-0.13502129912376404f,0.1006976068019867f,0.12987366318702698f,0.11301741003990173f,0.2711336314678192f,-0.3632148504257202f,-0.13619378209114075f,0.16938945651054382f,0.24499371647834778f,0.39862415194511414f,0.3811538517475128f,-0.23332324624061584f,0.011877655982971191f,-0.23860150575637817f}, +{-0.2709399461746216f,-0.006022721529006958f,0.0457797646522522f,-0.38090792298316956f,-0.03321319818496704f,-0.4148826003074646f,0.17873415350914001f,-0.20421427488327026f,-0.050184011459350586f,0.12480869889259338f,-0.20706263184547424f,0.3545852601528168f,-0.3647043704986572f,0.42127421498298645f,-0.39804020524024963f,-0.2870290279388428f}, +{0.33538809418678284f,0.3494977056980133f,0.3954955041408539f,0.3170476257801056f,0.0033026933670043945f,0.3035760819911957f,-0.18492193520069122f,-0.11795541644096375f,0.3487861454486847f,-0.32520344853401184f,0.3952759802341461f,-0.15237495303153992f,0.0820283591747284f,-0.3793424367904663f,0.2430708110332489f,0.24988999962806702f}, +{-0.37207356095314026f,-0.180922269821167f,-0.15798500180244446f,0.36838704347610474f,-0.37393757700920105f,0.44713646173477173f,0.025694025680422783f,-0.2947862446308136f,-0.39739224314689636f,0.1606505811214447f,-0.09350364655256271f,-0.2837170362472534f,0.4245411455631256f,-0.19196075201034546f,-0.15901821851730347f,0.014467512257397175f}, +{-0.28947749733924866f,0.26506301760673523f,-0.2018718123435974f,0.5882180333137512f,0.07545611262321472f,-1.3561453819274902f,-0.4799374043941498f,-0.21416273713111877f,0.24524515867233276f,0.2077748328447342f,0.7775342464447021f,-0.25593626499176025f,-0.112045519053936f,0.27643296122550964f,-0.23556609451770782f,-0.41434746980667114f}, +{0.4138670265674591f,0.1604653298854828f,0.056746453046798706f,0.036025404930114746f,0.3228367865085602f,-0.07083973288536072f,0.018455177545547485f,0.0059362053871154785f,0.40515169501304626f,0.014240056276321411f,-0.07738298177719116f,0.1407785713672638f,-0.13024571537971497f,-0.29546058177948f,-0.11976784467697144f,-0.35825538635253906f}, +{-0.46387147903442383f,0.3827712833881378f,0.12081471085548401f,-0.26810991764068604f,0.29976895451545715f,0.5951269268989563f,-0.09479555487632751f,0.31089308857917786f,-0.5688030123710632f,-0.46812617778778076f,0.21434427797794342f,-0.11613789200782776f,-0.19970247149467468f,-0.02543884515762329f,0.22754064202308655f,0.0740114152431488f}, }; -const float hout[16] = { 0.45773375034332275f,0.22031302750110626f,-0.22895072400569916f,-0.08917035162448883f,-0.21897420287132263f,0.30220961570739746f,0.0030125975608825684f,-0.08943580090999603f,0.04779195412993431f,0.05501026287674904f,0.13024552166461945f,-0.008789191953837872f,-0.2990529239177704f,-0.14942577481269836f,0.24388819932937622f,-0.16097530722618103f }; - -const float b1[16] = { 0.3074685037136078f,2.8402159214019775f,-1.7145336866378784f,0.2683033347129822f,0.6521741151809692f,0.9830023646354675f,-0.058932315558195114f,2.291895627975464f,0.9298062920570374f,-0.9408509135246277f,0.5694966912269592f,1.5112576484680176f,-0.3744742274284363f,-1.0548338890075684f,-1.087764859199524f,0.652208149433136f }; - -const float b2[16] = { 0.607563853263855f,-0.624976396560669f,-1.4564176797866821f,-0.5622974634170532f,-0.6939148902893066f,0.9215688705444336f,-0.0477285161614418f,-0.30969977378845215f,-1.200630784034729f,-1.912178635597229f,0.5984750390052795f,-0.04530715569853783f,-0.07918518036603928f,0.8109871745109558f,0.44521400332450867f,1.101615309715271f }; - -const float b3[16] = { -1.963319182395935f,0.4337054193019867f,1.1488401889801025f,-0.260453462600708f,-0.34370261430740356f,0.9030342102050781f,-0.45353031158447266f,-0.7651545405387878f,0.2843529284000397f,0.16309885680675507f,-0.24944843351840973f,-0.1642707735300064f,-0.16599836945533752f,-0.14029185473918915f,-0.7783859372138977f,-0.42885565757751465f }; - -const float bout[1] = { -0.08854273706674576f }; +const float hout[16] = { -0.158200204372406f,-0.17660260200500488f,-0.05137401819229126f,-0.5410199761390686f,-0.20271384716033936f,0.35903048515319824f,0.3810136020183563f,0.4165375232696533f,-0.4397028386592865f,0.12780319154262543f,-0.3604712188243866f,0.5489715337753296f,0.19251443445682526f,0.3525826036930084f,-0.480579137802124f,0.23442186415195465f }; + +const float b1[16] = { -0.31192219257354736f,0.268393874168396f,1.7755248546600342f,-0.407010555267334f,-0.8632325530052185f,1.3653104305267334f,-0.8388656973838806f,-0.8200502991676331f,-0.2854437828063965f,-1.6282782554626465f,0.8953557014465332f,-0.12085551768541336f,-1.5856122970581055f,-0.6190592050552368f,0.3934020400047302f,-0.36230528354644775f }; + +const float b2[16] = { -0.40527141094207764f,-1.3118138313293457f,0.9577730298042297f,1.5444650650024414f,0.5990768074989319f,-0.10386185348033905f,0.4417823553085327f,0.181562602519989f,-0.16907061636447906f,-1.6486880779266357f,-0.22539173066616058f,-2.15936541557312f,1.5229467153549194f,0.11918190121650696f,-0.6625781655311584f,0.4921003580093384f }; + +const float b3[16] = { 0.6422635316848755f,-0.1894310712814331f,0.21861673891544342f,0.1256403774023056f,-0.4563063681125641f,-0.5133413076400757f,1.4254883527755737f,-0.7025120258331299f,0.6852500438690186f,-0.6245395541191101f,-0.17192035913467407f,-0.7519525289535522f,-0.22238163650035858f,0.17018213868141174f,-0.45795938372612f,1.070515513420105f }; + +const float bout[1] = { 0.5118825435638428f }; /////////////////////////////////////////////////////////////////////////////////////////////RL float input_RL[num_input_RL] = { 0.0f };