![](/media/cache/img/default_profile.jpg.50x50_q85.jpg)
distribution-201229
Diff: main.cpp
- Revision:
- 140:cc5bc7fb0a16
- Parent:
- 139:15621998925b
- Child:
- 141:4eb8790e7b78
diff -r 15621998925b -r cc5bc7fb0a16 main.cpp --- a/main.cpp Thu Oct 08 00:29:29 2020 +0000 +++ b/main.cpp Thu Oct 08 00:33:35 2020 +0000 @@ -1,4 +1,4 @@ -//201008-1 +//201008-2 #include "mbed.h" #include "FastPWM.h" #include "INIT_HW.h" @@ -193,72 +193,77 @@ float input_NN[num_input] = { 0.0f }; const float h1[num_input][16] = { - {-1.4429630041122437f,1.3034216165542603f,0.12903714179992676f,0.28798773884773254f,-1.8387701511383057f,1.5667202472686768f,-0.17472904920578003f,1.4733644723892212f,-2.656264543533325f,-1.4315849542617798f,-0.24013076722621918f,-1.9119035005569458f,-0.26184797286987305f,-1.0023362636566162f,-0.2571594715118408f,-0.6307882070541382f}, -{-1.2392706871032715f,1.1644593477249146f,-0.3927857577800751f,-0.026178255677223206f,-1.4516810178756714f,1.1183052062988281f,-0.4054011106491089f,0.9708414077758789f,-1.4737458229064941f,-0.915573000907898f,-0.27695706486701965f,-1.472585678100586f,0.23791413009166718f,-1.340469479560852f,-0.20967772603034973f,-0.20311704277992249f}, -{-0.9548591375350952f,0.9477953910827637f,0.36391180753707886f,-0.3804604113101959f,-0.6920546889305115f,0.9726953506469727f,0.2872133255004883f,0.7518875598907471f,-0.38709938526153564f,-0.6488274931907654f,-0.35085999965667725f,-1.115939736366272f,-0.00023274087288882583f,-0.6639243364334106f,0.05590221285820007f,-0.2936735153198242f}, -{-0.30345863103866577f,0.23051410913467407f,0.39742106199264526f,0.27933886647224426f,0.06478133052587509f,0.03837540000677109f,-0.11584559082984924f,0.39006689190864563f,0.9784761071205139f,-0.018240071833133698f,0.09294888377189636f,-0.10717561095952988f,-0.16221439838409424f,-0.3247924745082855f,-0.2961459457874298f,0.19031429290771484f}, -{1.2327263355255127f,-0.6889948844909668f,-0.0051451027393341064f,0.23299819231033325f,1.165861964225769f,-0.7453231811523438f,0.1294034719467163f,-1.0415599346160889f,1.7182602882385254f,0.9011121392250061f,0.34490203857421875f,0.5882606506347656f,-0.06566117703914642f,0.8417025804519653f,-0.3865056037902832f,0.060221511870622635f}, -{2.9930601119995117f,-3.0403647422790527f,0.21773302555084229f,0.2697482407093048f,2.8469295501708984f,-2.648817300796509f,0.16514194011688232f,-2.84952712059021f,1.9152671098709106f,2.728834390640259f,-0.25064635276794434f,2.114823818206787f,-0.26216015219688416f,2.6941277980804443f,-0.4132833778858185f,0.2531541585922241f}, -{0.039752885699272156f,0.2025553435087204f,-0.2501986622810364f,-0.5324517488479614f,-0.26539286971092224f,0.5754912495613098f,0.06014183163642883f,-0.9225946664810181f,0.6030853986740112f,-0.14999504387378693f,0.1454356163740158f,0.24259179830551147f,-0.17001862823963165f,0.8775872588157654f,-0.15618428587913513f,-0.07316489517688751f}, -{-0.6914640069007874f,0.5008584260940552f,-0.26619744300842285f,-0.07395351678133011f,-0.8829846978187561f,0.7207549214363098f,-0.17925891280174255f,0.2265157401561737f,0.9791081547737122f,-0.40086835622787476f,0.09995602816343307f,-0.3314880132675171f,0.37505483627319336f,-0.7975394129753113f,0.04303058981895447f,-0.05612891912460327f}, -{-0.1787874698638916f,0.41768041253089905f,0.10248100757598877f,-0.568470299243927f,-0.5134447813034058f,0.6237644553184509f,-0.07246989011764526f,0.03315238654613495f,-0.5502752661705017f,0.5439794063568115f,-0.3025839328765869f,0.32957786321640015f,0.23279200494289398f,-0.03704528138041496f,-0.30555272102355957f,-0.033715374767780304f}, -{0.008862380869686604f,-0.7548620700836182f,0.18462657928466797f,-0.31722939014434814f,0.09545460343360901f,0.2514250576496124f,-0.2990540862083435f,0.07069345563650131f,-1.0933656692504883f,0.32643622159957886f,-0.013515989296138287f,-0.12003724277019501f,0.37595507502555847f,0.205060213804245f,0.3484981060028076f,-0.21964995563030243f}, -{0.47586360573768616f,-0.42950138449668884f,0.37182438373565674f,0.08214466273784637f,-0.08976808190345764f,-0.1275489628314972f,-0.20339298248291016f,0.16672146320343018f,-1.5200116634368896f,0.6389781832695007f,0.34330102801322937f,0.08525244891643524f,-0.0628911480307579f,0.48969560861587524f,0.26688337326049805f,-0.5531854033470154f}, -{-0.30400723218917847f,-0.757106363773346f,-0.40320003032684326f,-0.15707449615001678f,0.06026344746351242f,-0.32150769233703613f,0.1533789038658142f,0.4589489698410034f,-0.7721163034439087f,0.7068045735359192f,-0.4191364347934723f,0.554688036441803f,0.14830636978149414f,0.47497859597206116f,0.10493969917297363f,-0.3271389603614807f}, -{-0.09128857403993607f,-0.3000168800354004f,0.19847965240478516f,0.00816351268440485f,0.17116425931453705f,-0.1838742196559906f,-0.2404318004846573f,0.1338871419429779f,-0.40081244707107544f,0.03618118166923523f,-0.11376945674419403f,0.011287818662822247f,0.09556490927934647f,0.3162931203842163f,-0.22268100082874298f,-0.6471481323242188f}, -{-0.09373930841684341f,-0.21054914593696594f,0.4127817749977112f,-0.2197357416152954f,-0.27146321535110474f,-0.7469317317008972f,-0.32001304626464844f,-0.5695106387138367f,0.060322992503643036f,0.017871329560875893f,-0.19953805208206177f,0.0630439817905426f,-0.30925193428993225f,0.16953758895397186f,0.0479682981967926f,-0.18283478915691376f}, -{0.029273824766278267f,0.11858899146318436f,0.20282304286956787f,-0.06400895863771439f,0.11605191975831985f,-0.510269045829773f,0.04202890396118164f,0.11667562276124954f,0.1705678254365921f,0.0002734139561653137f,-0.2839072048664093f,-0.5098284482955933f,0.10708072781562805f,-0.12249376624822617f,0.0668090283870697f,-0.13312344253063202f}, -{-0.09105877578258514f,-0.2992095947265625f,-0.40439701080322266f,-0.2234037220478058f,-0.302815705537796f,-0.5421211123466492f,-0.15568238496780396f,-0.30297666788101196f,0.1690366268157959f,-0.15367193520069122f,-0.4783811569213867f,-0.24257123470306396f,-0.26754769682884216f,0.05846592038869858f,-0.08245879411697388f,-0.06628959625959396f}, -{-0.01457048300653696f,-0.1908884048461914f,0.16706281900405884f,-0.04915865883231163f,-0.002553750993683934f,-1.0438597202301025f,-0.041414469480514526f,-0.4244418144226074f,0.47170740365982056f,-0.1287192404270172f,-0.3581017255783081f,0.15202079713344574f,0.11572433263063431f,0.6782141327857971f,0.29427415132522583f,-0.17552760243415833f}, + {-2.3152809143066406f,1.727402925491333f,0.12024858593940735f,0.3642372488975525f,-2.551915168762207f,1.6625466346740723f,-0.1628284603357315f,-0.2717422544956207f,-0.23101584613323212f,-0.023556355386972427f,-0.213934063911438f,-0.9510829448699951f,-0.46818628907203674f,-1.5005090236663818f,-0.2396446317434311f,-0.5505883693695068f}, +{-1.8617732524871826f,1.2280305624008179f,-0.36603355407714844f,0.020320722833275795f,-1.852152943611145f,0.9200283288955688f,-0.3777896761894226f,-0.26674363017082214f,-0.0329865925014019f,0.21348443627357483f,-0.24816828966140747f,-0.7358936667442322f,0.04711906611919403f,-1.5031263828277588f,-0.1953967958688736f,-0.21457244455814362f}, +{-1.328779697418213f,0.6305422186851501f,0.33912619948387146f,-0.36133837699890137f,-0.8119953870773315f,0.42370355129241943f,0.2676515281200409f,0.02444564737379551f,-0.10264942795038223f,0.2200983166694641f,-0.316930890083313f,-0.648487389087677f,-0.12411943823099136f,-0.5221869945526123f,0.05209478735923767f,-0.36078131198883057f}, +{-0.5197798013687134f,-0.32913661003112793f,0.3703531324863434f,0.20121149718761444f,0.17911207675933838f,-0.7240257859230042f,-0.10795548558235168f,0.3901039958000183f,0.0750034898519516f,0.3478025794029236f,0.09678419679403305f,0.0063720084726810455f,-0.22296254336833954f,0.06852824240922928f,-0.27597576379776f,0.02640494890511036f}, +{1.0433883666992188f,-1.2392282485961914f,-0.004794687032699585f,0.1031724065542221f,1.4619780778884888f,-1.5678507089614868f,0.12058994174003601f,0.1821904182434082f,0.08734194189310074f,0.17816007137298584f,0.33168479800224304f,0.4059227406978607f,-0.07882260531187057f,1.2437946796417236f,-0.36018112301826477f,-0.16798365116119385f}, +{2.857693910598755f,-3.3041610717773438f,0.20290347933769226f,0.07956814765930176f,3.318584680557251f,-3.3711345195770264f,0.15389427542686462f,0.06304170936346054f,0.09683135896921158f,0.18959861993789673f,-0.22322161495685577f,1.841825246810913f,-0.20501361787319183f,2.939310073852539f,-0.38513508439064026f,-0.0713680163025856f}, +{0.6324058771133423f,-0.43518802523612976f,-0.2331579178571701f,-0.3590847849845886f,-0.19355417788028717f,-0.17370332777500153f,0.05604562163352966f,-0.6124011278152466f,0.31069356203079224f,0.010415825061500072f,0.15558111667633057f,0.9956388473510742f,-0.26913198828697205f,1.016658067703247f,-0.14554673433303833f,-0.3392884135246277f}, +{0.44745802879333496f,-0.45198550820350647f,-0.24806702136993408f,0.13153602182865143f,-0.3461902439594269f,-0.2838374674320221f,-0.16704979538917542f,-0.5994587540626526f,-0.003078911919146776f,0.05557386949658394f,0.11294785887002945f,0.6535332202911377f,0.2496033012866974f,0.5708394646644592f,0.04009982943534851f,-0.12518605589866638f}, +{0.5713577270507812f,0.1668863445520401f,0.09550115466117859f,-0.32965824007987976f,-0.1708855777978897f,0.03479478880763054f,-0.06753402948379517f,-0.644003689289093f,-0.2797917127609253f,0.2735665440559387f,-0.26223233342170715f,0.6971666812896729f,0.12468379735946655f,0.49515432119369507f,-0.2847418785095215f,-0.1023692935705185f}, +{0.16310913860797882f,-0.11523257941007614f,0.17205187678337097f,-0.10984060168266296f,0.13215506076812744f,0.39142823219299316f,-0.2786858379840851f,-0.3326667249202728f,-0.03540360555052757f,-0.48883235454559326f,0.007313740439713001f,-1.0144288539886475f,0.2633468806743622f,-0.301626056432724f,0.3247623145580292f,-0.3123617470264435f}, +{0.09060637652873993f,0.751677393913269f,0.34649983048439026f,0.238347128033638f,-0.18993692100048065f,0.7072498202323914f,-0.1895401030778885f,-0.24043914675712585f,-0.4269353449344635f,-0.02136058919131756f,0.33979934453964233f,-2.280555486679077f,-0.13881582021713257f,-0.8600243330001831f,0.24870619177818298f,-0.6370449066162109f}, +{-1.2227174043655396f,0.8980315923690796f,-0.3757385015487671f,-0.016326511278748512f,-0.37785834074020386f,1.2150253057479858f,0.1429324448108673f,0.1361755132675171f,-0.16958828270435333f,0.14431153237819672f,-0.3707931339740753f,-2.920011520385742f,0.0691303163766861f,-1.61436927318573f,0.09779238700866699f,-0.41666141152381897f}, +{-0.3208516538143158f,0.4696144163608551f,0.18496140837669373f,0.10039933770895004f,0.34736987948417664f,0.8090188503265381f,-0.22405625879764557f,-0.032775260508060455f,-0.18931987881660461f,-0.22892595827579498f,-0.08640900999307632f,-2.58586049079895f,0.04208873212337494f,-0.8988630771636963f,-0.2075144499540329f,-0.6604486107826233f}, +{0.16262409090995789f,-0.01671232096850872f,0.38466766476631165f,-0.14667004346847534f,0.18218474090099335f,-0.10421261936426163f,-0.2982172966003418f,-0.40107446908950806f,-0.1390027552843094f,-0.2559940814971924f,-0.166481614112854f,-1.602246642112732f,-0.3095857799053192f,-0.24121171236038208f,0.04470124840736389f,-0.15184690058231354f}, +{0.5174210667610168f,-0.04763205349445343f,0.18900898098945618f,-0.028117891401052475f,0.5945087671279907f,-0.10929259657859802f,0.03916636109352112f,0.16368715465068817f,0.2704102098941803f,0.033244144171476364f,-0.24501635134220123f,-1.0999691486358643f,0.10306726396083832f,0.03853769227862358f,0.062258750200271606f,-0.027132803574204445f}, +{0.2914155125617981f,-0.4265623986721039f,-0.37685394287109375f,-0.1996072381734848f,-0.019203273579478264f,0.009786401875317097f,-0.14507901668548584f,-0.0853961631655693f,0.17501948773860931f,-0.047144565731287f,-0.4260883331298828f,-0.3157176971435547f,-0.22497230768203735f,0.23816914856433868f,-0.07684260606765747f,0.05888473987579346f}, +{0.13738799095153809f,-0.22142702341079712f,0.15568438172340393f,-0.058044277131557465f,-0.0232255682349205f,-0.14742983877658844f,-0.03859376907348633f,-0.050225719809532166f,-0.07352999597787857f,0.041070763021707535f,-0.3139238655567169f,0.17045529186725616f,0.14994587004184723f,0.5364378690719604f,0.2742314636707306f,-0.06731603294610977f}, +{0.15600940585136414f,-0.16535674035549164f,0.19490453600883484f,-0.3138192892074585f,-0.3106350898742676f,-0.08246537297964096f,-0.336474746465683f,0.05921122804284096f,-0.39584556221961975f,-0.15033116936683655f,-0.13937796652317047f,0.12563101947307587f,0.31835269927978516f,0.17374621331691742f,-0.2561379373073578f,-0.11289579421281815f}, +{-0.18690593540668488f,-0.06943024694919586f,-0.2776013910770416f,0.05439651012420654f,0.33863118290901184f,-0.03686759993433952f,0.25546005368232727f,-0.350205659866333f,-0.3939896523952484f,-0.004937915131449699f,-0.38015687465667725f,0.1677393615245819f,0.14523454010486603f,0.4078146517276764f,-0.30415377020835876f,-0.5786517262458801f}, +{0.26198509335517883f,0.24746471643447876f,0.1420871913433075f,-0.4235791265964508f,-0.377158522605896f,0.3205195367336273f,-0.13263443112373352f,-0.400607705116272f,-0.1832873523235321f,0.01716863363981247f,0.11593614518642426f,0.543384850025177f,0.2921818196773529f,0.42891642451286316f,0.13351169228553772f,0.00543095450848341f}, +{-0.2991099953651428f,-0.41585615277290344f,-0.07561364769935608f,-0.03986741602420807f,-0.4765874743461609f,-0.01874842494726181f,0.14428457617759705f,-0.02254398912191391f,-0.383146733045578f,-0.3092406094074249f,-0.3674323558807373f,0.6129317879676819f,-0.11757314205169678f,0.49564477801322937f,0.019461065530776978f,0.1277700960636139f}, +{-0.21371565759181976f,-0.8026935458183289f,0.2631795108318329f,-0.7004210948944092f,0.1280365288257599f,-0.4730685353279114f,0.27224990725517273f,0.006050639320164919f,-0.09381511807441711f,0.08090905845165253f,0.05304040387272835f,1.5589348077774048f,0.29210609197616577f,0.5046173930168152f,0.06011766195297241f,0.05217600241303444f}, }; const float h2[16][16] = { - {-1.5606181621551514f,2.0206825733184814f,-0.06966331601142883f,0.058612748980522156f,-0.21907491981983185f,1.9708458185195923f,0.1347704827785492f,0.0904630720615387f,-0.43008196353912354f,-0.1415480375289917f,-1.8721647262573242f,-0.5402894020080566f,0.009749081917107105f,-2.581385612487793f,-0.6977754235267639f,-10.681946754455566f}, -{0.33925768733024597f,-0.2831292450428009f,0.057057321071624756f,-0.12389009445905685f,-0.35503754019737244f,-1.6776597499847412f,-0.4788944721221924f,-0.2990124225616455f,-0.33757925033569336f,0.2895788848400116f,-3.8065388202667236f,-0.9003934860229492f,0.22992102801799774f,2.0528452396392822f,-0.19584237039089203f,-6.66231632232666f}, + {-0.2627347707748413f,1.6072235107421875f,-0.06966331601142883f,1.3059860467910767f,-0.21907491981983185f,-10.074268341064453f,-0.10165838152170181f,0.0904630720615387f,-0.43008196353912354f,-0.1415480375289917f,1.889585018157959f,-0.4408711791038513f,0.09407905489206314f,-2.1551506519317627f,-1.681544303894043f,-8.785170555114746f}, +{-0.07196462154388428f,-0.46957844495773315f,0.057057321071624756f,-0.3067782521247864f,-0.35503754019737244f,-3.547255277633667f,-0.42634716629981995f,-0.2990124225616455f,-0.33757925033569336f,0.2895788848400116f,-0.7903809547424316f,-0.6991819143295288f,0.27004608511924744f,0.7093417644500732f,0.9480265378952026f,-2.6635963916778564f}, {-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.0045395782217383385f,-0.29159554839134216f,-0.2894435524940491f,0.3086508810520172f,0.08946844935417175f,0.30691441893577576f,-0.23805393278598785f,0.4122363030910492f,0.26211628317832947f,0.2953031361103058f,0.1474088579416275f,0.2792828381061554f,-0.5154134631156921f,-0.23461827635765076f,0.21998439729213715f,0.13836133480072021f}, -{-2.5360679626464844f,3.073317766189575f,-0.25313520431518555f,0.26806437969207764f,0.036378175020217896f,1.2692676782608032f,-0.5359461903572083f,-0.08570799231529236f,-0.024399548768997192f,-0.39465832710266113f,-6.085422039031982f,-1.1896787881851196f,-0.016837138682603836f,-1.73238205909729f,-0.6428089141845703f,-6.5621442794799805f}, -{2.7155723571777344f,-0.030397476628422737f,-0.3519742488861084f,0.2640625536441803f,-0.3015052080154419f,-0.9674866199493408f,-0.6676644086837769f,-0.019414573907852173f,-0.23047015070915222f,0.3579089343547821f,0.4337482452392578f,-0.38917678594589233f,-0.3205645680427551f,-0.3579385578632355f,0.06793723255395889f,-9.487342834472656f}, +{-0.006364033091813326f,-0.2805274426937103f,-0.2894435524940491f,0.22353897988796234f,0.08946844935417175f,0.3361161947250366f,-0.23805393278598785f,0.4122363030910492f,0.26211628317832947f,0.2953031361103058f,0.2456456422805786f,0.38107261061668396f,-0.4747326970100403f,-0.23024532198905945f,0.21823757886886597f,0.13803395628929138f}, +{-0.3554824888706207f,3.049980401992798f,-0.25313520431518555f,0.3931412994861603f,0.036378175020217896f,-2.617460012435913f,-0.5512491464614868f,-0.08570799231529236f,-0.024399548768997192f,-0.39465832710266113f,-0.678700864315033f,-0.7182751297950745f,0.033540356904268265f,-0.06770995259284973f,-2.3080103397369385f,-1.9733433723449707f}, +{0.20959323644638062f,-1.3502219915390015f,-0.3519742488861084f,0.18502606451511383f,-0.3015052080154419f,-3.7923583984375f,-0.7683287262916565f,-0.019414573907852173f,-0.23047015070915222f,0.3579089343547821f,-0.8958200216293335f,-0.34072569012641907f,-0.27347302436828613f,0.9521313309669495f,1.0914380550384521f,-2.391331911087036f}, {-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}, -{1.0086963176727295f,-0.4673076570034027f,0.33083590865135193f,-0.2271568477153778f,-0.14358049631118774f,-1.266616940498352f,-0.2336554229259491f,-0.3003333508968353f,0.2600560486316681f,-0.37898191809654236f,2.959778070449829f,-0.4257872998714447f,-0.44864556193351746f,0.483595609664917f,-0.03410644084215164f,-0.5517474412918091f}, -{-1.7406342029571533f,0.5150182247161865f,-0.11379697918891907f,-0.005009772721678019f,0.041274964809417725f,0.018047111108899117f,-0.1121363565325737f,0.0019084513187408447f,0.06103590130805969f,-0.38046833872795105f,-5.289576530456543f,-0.7816638350486755f,-0.4869474470615387f,0.3638456463813782f,-0.5299866795539856f,1.5895273685455322f}, -{0.557269811630249f,0.13699454069137573f,-0.13502129912376404f,-0.5347733497619629f,0.12987366318702698f,-0.009665212593972683f,-0.13866545259952545f,-0.3632148504257202f,-0.13619378209114075f,0.16938945651054382f,1.3226096630096436f,-0.05109235644340515f,0.2679780125617981f,-0.6435878276824951f,-0.2521476447582245f,2.061748504638672f}, -{-0.28484171628952026f,0.011191816069185734f,0.0457797646522522f,-0.3522537052631378f,-0.03321319818496704f,-0.41051045060157776f,0.17873415350914001f,-0.20421427488327026f,-0.050184011459350586f,0.12480869889259338f,-0.19660501182079315f,0.3545852601528168f,-0.3647043704986572f,0.40139737725257874f,-0.41343173384666443f,-0.26665782928466797f}, -{-0.4220695495605469f,0.6355003118515015f,0.3954955041408539f,0.22366313636302948f,0.0033026933670043945f,0.5492510795593262f,-0.3526473045349121f,-0.11795541644096375f,0.3487861454486847f,-0.32520344853401184f,-0.42096808552742004f,-1.0570847988128662f,-0.030798403546214104f,-0.8309122323989868f,-0.02978677675127983f,-2.125837564468384f}, -{-0.26131558418273926f,-0.21128816902637482f,-0.15798500180244446f,0.393930047750473f,-0.37393757700920105f,0.35845980048179626f,0.11292675137519836f,-0.2947862446308136f,-0.3764709532260895f,0.2424570620059967f,-0.11023599654436111f,-0.2837170362472534f,0.41839322447776794f,-0.019079415127635002f,-0.12873566150665283f,0.1117788702249527f}, -{-1.920461654663086f,0.0413205511868f,-0.2018718123435974f,-0.3468192219734192f,0.07545611262321472f,0.6092995405197144f,-0.49067139625549316f,-0.21416273713111877f,-0.24509364366531372f,0.19522181153297424f,1.5469683408737183f,-0.7738609313964844f,-0.2806382179260254f,0.19333934783935547f,-0.4202534854412079f,1.8381965160369873f}, +{0.09947510808706284f,0.35010796785354614f,0.33083590865135193f,-0.3367353081703186f,-0.14358049631118774f,-0.36243200302124023f,-0.09043094515800476f,-0.3003333508968353f,0.2600560486316681f,-0.37898191809654236f,0.31178247928619385f,-0.31911033391952515f,-0.41125836968421936f,0.2665112614631653f,0.01156060304492712f,0.12491219490766525f}, +{-0.2314327508211136f,0.4525166153907776f,-0.11379697918891907f,-0.09526991099119186f,0.041274964809417725f,-0.2055896818637848f,-0.10284432768821716f,0.0019084513187408447f,0.06103590130805969f,-0.38046833872795105f,0.10668562352657318f,-0.3197441101074219f,-0.37024784088134766f,-0.3530832827091217f,-0.4519219398498535f,-0.12629814445972443f}, +{-0.1665608137845993f,0.3012998402118683f,-0.13502129912376404f,0.054572269320487976f,0.12987366318702698f,0.20264874398708344f,0.2711336314678192f,-0.3632148504257202f,-0.13619378209114075f,0.16938945651054382f,0.3255550265312195f,0.36860600113868713f,0.3811538517475128f,-0.324370801448822f,-0.07046277821063995f,-0.14053338766098022f}, +{-0.22478652000427246f,-0.01952047273516655f,0.0457797646522522f,-0.36477410793304443f,-0.03321319818496704f,-0.44883063435554504f,0.17873415350914001f,-0.20421427488327026f,-0.050184011459350586f,0.12480869889259338f,-0.22648464143276215f,0.3545852601528168f,-0.3647043704986572f,0.42692625522613525f,-0.38498252630233765f,-0.2930787205696106f}, +{0.1855839043855667f,-0.21992193162441254f,0.3954955041408539f,0.39627113938331604f,0.0033026933670043945f,-1.2386260032653809f,-0.293239563703537f,-0.11795541644096375f,0.3487861454486847f,-0.32520344853401184f,0.059261854737997055f,-0.33992287516593933f,0.014869287610054016f,-0.669883668422699f,0.249106764793396f,-0.41038769483566284f}, +{-0.3410651385784149f,-0.24929744005203247f,-0.15798500180244446f,0.5034734606742859f,-0.37393757700920105f,0.23025217652320862f,0.11292675137519836f,-0.2947862446308136f,-0.3764709532260895f,0.2424570620059967f,-0.15765021741390228f,-0.3137330710887909f,0.3513602316379547f,-0.04629771038889885f,-0.24852626025676727f,0.07677663862705231f}, +{-0.45097577571868896f,-0.13339103758335114f,-0.2018718123435974f,0.06062299385666847f,0.07545611262321472f,1.9103381633758545f,-0.46714287996292114f,-0.21416273713111877f,-0.24509364366531372f,0.19522181153297424f,1.649477243423462f,-0.6026387214660645f,-0.2412213385105133f,-1.874483585357666f,-0.12564484775066376f,-0.35405778884887695f}, {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.21392621099948883f,0.004768312443047762f,0.12081471085548401f,-0.18312887847423553f,0.29976895451545715f,-0.2646619975566864f,-0.112851083278656f,0.31089308857917786f,-0.3893685042858124f,-0.02222958207130432f,-0.1520708203315735f,-0.2533053457736969f,-0.3186803460121155f,0.20880915224552155f,0.24160519242286682f,-0.24266235530376434f}, +{-0.43417003750801086f,0.2870778739452362f,0.12081471085548401f,-0.28882813453674316f,0.29976895451545715f,-0.129892036318779f,-0.112851083278656f,0.31089308857917786f,-0.3893685042858124f,-0.02222958207130432f,0.28394222259521484f,-0.14616353809833527f,-0.2666535973548889f,0.17890380322933197f,0.34988918900489807f,0.09183908253908157f}, }; const float h3[16][16] = { - {-0.36079341173171997f,-1.0313812494277954f,0.20955149829387665f,-0.4161129891872406f,0.4362175166606903f,-0.643340528011322f,0.3332441747188568f,0.3036012351512909f,-4.257448196411133f,-0.0924486294388771f,-0.11870327591896057f,0.4001283347606659f,0.6917147636413574f,0.17240026593208313f,-1.4586395025253296f,-1.2680331468582153f}, -{0.047732532024383545f,0.19960306584835052f,-0.18191421031951904f,-0.34144383668899536f,-2.6512136459350586f,-1.0648829936981201f,-0.3198729455471039f,0.06247803568840027f,3.183682918548584f,-0.4094620645046234f,0.26499590277671814f,-1.0764307975769043f,-0.08882865309715271f,0.9791208505630493f,2.870696544647217f,3.561124086380005f}, + {-0.36079341173171997f,-0.22157756984233856f,0.04996342584490776f,-0.37189048528671265f,-0.06003464758396149f,-0.08961917459964752f,0.3332441747188568f,0.3036012351512909f,-0.2405819296836853f,0.04891335964202881f,-0.11870327591896057f,0.4001283347606659f,0.012323440052568913f,0.18081840872764587f,-0.30172455310821533f,0.13669900596141815f}, +{0.047732532024383545f,0.6989078521728516f,0.6557276844978333f,-1.027191162109375f,-0.7921809554100037f,0.10846979916095734f,-0.3198729455471039f,0.06247803568840027f,0.5821853280067444f,-0.5057151317596436f,0.11285559087991714f,-2.0360121726989746f,-1.6084725856781006f,-0.6113699674606323f,-0.5270559787750244f,-0.4096241891384125f}, {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.1570989489555359f,0.2969348728656769f,-0.3716883063316345f,-0.22935159504413605f,0.11628328263759613f,0.20021501183509827f,0.07002416253089905f,-0.24917908012866974f,-0.365601509809494f,0.13192829489707947f,0.41021624207496643f,-0.058745983988046646f,0.09162923693656921f,0.15479059517383575f,-0.016502488404512405f}, +{-0.30922991037368774f,0.2609212398529053f,-0.35918179154396057f,-0.49626997113227844f,-2.002046585083008f,0.23198626935482025f,0.20021501183509827f,0.07002416253089905f,-2.9994735717773438f,-0.6615407466888428f,-0.16319164633750916f,-0.4781607985496521f,-0.19987694919109344f,-0.03317837044596672f,0.2836754620075226f,-0.10154473036527634f}, {-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.11203884333372116f,-0.7883889079093933f,0.06450603157281876f,-0.48566579818725586f,0.4531732201576233f,-0.18732719123363495f,0.22384825348854065f,-3.830247402191162f,-0.4104718863964081f,-0.2318742722272873f,-0.39825406670570374f,-0.8247615098953247f,0.7528648376464844f,-0.4286518692970276f,0.17024847865104675f}, -{0.4110594093799591f,0.2655036747455597f,-0.28617212176322937f,0.37246426939964294f,0.14704963564872742f,-0.09126336872577667f,-0.08670487999916077f,-0.25336313247680664f,-0.030661463737487793f,-0.06259563565254211f,-0.1344406008720398f,0.35313835740089417f,0.21155259013175964f,0.08926000446081161f,0.3126353323459625f,-0.3391006588935852f}, +{-0.37449589371681213f,1.4071166515350342f,0.07251398265361786f,-0.9862403869628906f,-0.453469455242157f,1.3401246070861816f,-0.18732719123363495f,0.22384825348854065f,1.1909663677215576f,-0.4245598614215851f,-0.24387189745903015f,-4.09767484664917f,-2.500598430633545f,0.9592363238334656f,0.290335088968277f,-0.3659419119358063f}, +{0.4110594093799591f,0.1429830938577652f,-0.0927792340517044f,0.37246426939964294f,0.1850888431072235f,-0.19440588355064392f,-0.08670487999916077f,-0.25336313247680664f,-0.030661463737487793f,-0.06259563565254211f,-0.1344406008720398f,0.35313835740089417f,0.21155259013175964f,0.09956309199333191f,0.3126353323459625f,-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.2693333625793457f,-0.8550384044647217f,-0.15938661992549896f,-0.13434191048145294f,0.692764937877655f,-0.08742031455039978f,0.05785742402076721f,-3.8706929683685303f,-0.6950677037239075f,0.1268840730190277f,-0.13950097560882568f,-0.07396436482667923f,-0.14734496176242828f,2.6098744869232178f,-8.016020774841309f}, -{-0.408692330121994f,0.010131987743079662f,-0.30817681550979614f,0.0922636091709137f,-0.3567854166030884f,0.3175760507583618f,0.03285527229309082f,0.38763079047203064f,-0.20705322921276093f,-0.25883403420448303f,0.12809070944786072f,0.03996849060058594f,-0.5534982681274414f,-0.2532133460044861f,-0.34717613458633423f,0.024447867646813393f}, -{-0.2991822361946106f,0.23328058421611786f,0.0505894236266613f,-0.05932474136352539f,0.21531148254871368f,0.11274899542331696f,-0.11253207921981812f,0.34576353430747986f,0.04814547300338745f,-0.35770976543426514f,-0.044228196144104004f,-0.36229726672172546f,0.13514076173305511f,-0.26424771547317505f,0.36124154925346375f,-0.03929755091667175f}, -{-0.2675279378890991f,-0.39735591411590576f,0.8731051087379456f,-0.04545804113149643f,0.5777480006217957f,0.43351325392723083f,-0.32875844836235046f,-0.31893211603164673f,-2.863476276397705f,-0.7445234656333923f,-0.5083037614822388f,-0.9965668320655823f,-0.24764390289783478f,-0.9042758345603943f,-0.6130790114402771f,2.0715322494506836f}, -{-0.015470266342163086f,-0.7191545963287354f,0.6353367567062378f,0.3513936996459961f,0.3322150409221649f,-0.6503303647041321f,0.05196094512939453f,-0.008358269929885864f,-0.4187942147254944f,-0.38441595435142517f,0.13179203867912292f,-0.11511552333831787f,0.5954373478889465f,-0.3741728961467743f,0.11708094924688339f,0.03591549023985863f}, -{0.1863725483417511f,0.11712347716093063f,-2.9256980419158936f,-0.4779709577560425f,-3.502915382385254f,1.519821286201477f,0.04860696196556091f,0.17769548296928406f,-0.026472734287381172f,0.10345425456762314f,-0.3929237127304077f,0.6862512826919556f,0.6256688237190247f,0.7444633841514587f,-0.6542094945907593f,-2.53106689453125f}, +{0.15459725260734558f,0.72439044713974f,-0.5466641187667847f,-0.7720921635627747f,-0.6371919512748718f,0.7213203310966492f,-0.08742031455039978f,0.05785742402076721f,-1.262664794921875f,-0.5998016595840454f,-0.17241103947162628f,-2.2987046241760254f,-3.9738259315490723f,-1.018069863319397f,0.1471223384141922f,0.12088090926408768f}, +{-0.408692330121994f,-0.01745096780359745f,0.09452779591083527f,0.06247909367084503f,0.015625588595867157f,-0.2146359384059906f,0.03285527229309082f,0.38763079047203064f,-0.20705322921276093f,-0.25883403420448303f,0.12809070944786072f,0.03996849060058594f,-0.4221092760562897f,-0.379727303981781f,-0.3349076807498932f,0.31518054008483887f}, +{-0.2991822361946106f,0.29517999291419983f,0.0042093913070857525f,0.024277420714497566f,0.16840599477291107f,0.15824651718139648f,-0.11253207921981812f,0.34576353430747986f,0.04814547300338745f,-0.35770976543426514f,-0.044228196144104004f,-0.36229726672172546f,0.09814348071813583f,-0.21696944534778595f,0.27826768159866333f,-0.16869547963142395f}, +{-0.2675279378890991f,-0.770762026309967f,1.6120538711547852f,-0.20645307004451752f,-0.15061108767986298f,-0.16551825404167175f,-0.32875844836235046f,-0.31893211603164673f,-1.4138376712799072f,-0.8004869818687439f,-0.3685331642627716f,-1.5057293176651f,0.1274058073759079f,-1.585729718208313f,0.1306980550289154f,0.1441774070262909f}, +{-0.015470266342163086f,-1.9857964515686035f,1.6790562868118286f,0.4655911922454834f,-0.08354365080595016f,-2.514406442642212f,0.05196094512939453f,-0.008358269929885864f,-4.3329997062683105f,-0.579310953617096f,0.13179203867912292f,-0.040511056780815125f,2.757723093032837f,-2.6764187812805176f,0.035064682364463806f,-0.5825209021568298f}, +{0.1863725483417511f,1.4100269079208374f,0.11397874355316162f,-0.8381223678588867f,0.6091724038124084f,0.9195526838302612f,0.04860696196556091f,0.17769548296928406f,0.4023902416229248f,-0.09889062494039536f,-0.5419447422027588f,0.34525805711746216f,-0.9069976806640625f,1.014098882675171f,-0.04629502072930336f,-0.16994908452033997f}, }; -const float hout[16] = { 0.45773375034332275f,0.43237993121147156f,-0.2360328733921051f,-0.14975948631763458f,-0.27932503819465637f,0.13622738420963287f,0.0030125975608825684f,0.15066689252853394f,-0.4520528018474579f,-0.055413588881492615f,0.20479823648929596f,-0.114473357796669f,-0.07025996595621109f,0.2664765417575836f,0.21039363741874695f,-0.28571611642837524f }; +const float hout[16] = { 0.45773375034332275f,0.23122456669807434f,-0.18602921068668365f,-0.3125866651535034f,-0.029993798583745956f,0.20471511781215668f,0.0030125975608825684f,0.15066689252853394f,-0.5208629369735718f,0.004466731566935778f,0.08295199275016785f,-0.26822465658187866f,-0.3498326539993286f,0.026779841631650925f,0.07775511592626572f,-0.060560304671525955f }; -const float b1[16] = { 0.5210217833518982f,1.0273849964141846f,-1.7145336866378784f,0.2351079285144806f,0.986548125743866f,0.7703483700752258f,-0.058932315558195114f,0.8596047759056091f,1.126753330230713f,-0.8542031049728394f,0.5668391585350037f,1.619093656539917f,-0.3679374158382416f,-1.1048500537872314f,-1.087764859199524f,1.0057594776153564f }; +const float b1[16] = { 1.3190714120864868f,1.5952208042144775f,-1.7145336866378784f,0.3097442090511322f,0.9651374220848083f,1.5615040063858032f,-0.058932315558195114f,0.8412410616874695f,0.534761905670166f,-0.8942662477493286f,0.5916527509689331f,3.810105562210083f,-0.45955052971839905f,-0.3557904064655304f,-1.087764859199524f,0.9899064898490906f }; -const float b2[16] = { -0.1832910180091858f,-1.0792909860610962f,-1.4564176797866821f,-0.5707628130912781f,-0.6939148902893066f,0.11580994725227356f,0.04361875727772713f,-0.30969977378845215f,-1.20063054561615f,-1.912178635597229f,0.9897506833076477f,0.3142850697040558f,-0.192947119474411f,1.8038045167922974f,-0.12125768512487411f,1.7012529373168945f }; +const float b2[16] = { -0.2645142376422882f,-0.2895103693008423f,-1.4564176797866821f,-0.49256083369255066f,-0.6939148902893066f,0.8274815082550049f,0.09697892516851425f,-0.30969977378845215f,-1.20063054561615f,-1.912178635597229f,0.27735763788223267f,0.3822407126426697f,-0.14580224454402924f,1.841172695159912f,0.46085551381111145f,0.41733479499816895f }; -const float b3[16] = { -1.963319182395935f,-0.740074634552002f,-0.2503773272037506f,-0.18092459440231323f,0.362236350774765f,0.05776499956846237f,-0.45353031158447266f,-0.6562485098838806f,1.2567371129989624f,0.17614425718784332f,-0.29542267322540283f,-0.5567859411239624f,-1.289778232574463f,0.4776657223701477f,-3.2735109329223633f,-2.6712799072265625f }; +const float b3[16] = { -1.963319182395935f,-0.4159342348575592f,0.1794152706861496f,-0.4108562469482422f,-0.21904510259628296f,0.0030512125231325626f,-0.45353031158447266f,-0.6562485098838806f,-0.5568499565124512f,0.06824243813753128f,-0.44575250148773193f,2.5458240509033203f,-3.0509939193725586f,-0.7597270607948303f,-1.5004441738128662f,-0.6097174286842346f }; -const float bout[1] = { -0.0330546572804451f }; +const float bout[1] = { -0.21177443861961365f }; float VALVE_POS_RAW_NN = 0.0f;