LIGHT2

Dependencies:   FastPWM mbed

Revision:
146:0b606cae0984
Parent:
144:fb8c3025963c
Child:
148:24859a1574b4
--- a/main.cpp	Thu Oct 08 07:35:31 2020 +0000
+++ b/main.cpp	Thu Oct 08 15:08:05 2020 +0000
@@ -1,4 +1,4 @@
-//201008-5
+//201008-7
 #include "mbed.h"
 #include "FastPWM.h"
 #include "INIT_HW.h"
@@ -193,77 +193,72 @@
 float input_NN[num_input] = { 0.0f };
 
 const float h1[num_input][16] = { 
-   {-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},
+   {-1.6627988815307617f,1.689679503440857f,0.12903714179992676f,-0.028425397351384163f,-2.1872446537017822f,1.2403403520584106f,-0.17472904920578003f,-1.886802315711975f,-2.406830072402954f,-0.021496662870049477f,-1.3500123023986816f,-2.2068614959716797f,-0.3112890422344208f,0.12391278892755508f,-0.2571594715118408f,-0.47236964106559753f},
+{-1.381664514541626f,1.2620534896850586f,-0.3927857577800751f,-0.19832521677017212f,-1.8025355339050293f,0.693915843963623f,-0.4054011106491089f,-1.6766685247421265f,-1.7032458782196045f,0.2480389028787613f,-0.42174920439720154f,-1.6672577857971191f,0.1945696771144867f,-0.36673375964164734f,-0.20967772603034973f,-0.111662358045578f},
+{-1.003912091255188f,0.7221937775611877f,0.36391180753707886f,-0.4060608148574829f,-1.0618658065795898f,0.414018452167511f,0.2872133255004883f,-1.120452642440796f,-1.2568409442901611f,0.2706662118434906f,0.5177021026611328f,-1.2214397192001343f,-0.037333592772483826f,0.16135536134243011f,0.05590221285820007f,-0.2672636806964874f},
+{-0.2645265460014343f,-0.25272974371910095f,0.39742106199264526f,0.40521150827407837f,-0.28898918628692627f,-0.6148050427436829f,-0.11584559082984924f,-0.32234206795692444f,-0.35482358932495117f,0.4238269627094269f,1.5489381551742554f,-0.09643156826496124f,-0.19255642592906952f,0.12040631473064423f,-0.2961459457874298f,0.14989489316940308f},
+{1.375768780708313f,-1.2201155424118042f,-0.0051451027393341064f,0.5210340023040771f,0.9836415648460388f,-1.402570366859436f,0.1294034719467163f,0.2551320791244507f,0.8263972997665405f,0.25849586725234985f,1.2432891130447388f,0.8512498140335083f,-0.08928148448467255f,0.3137078881263733f,-0.3865056037902832f,-0.05689297616481781f},
+{3.283848762512207f,-3.381458282470703f,0.21773302555084229f,0.7311626672744751f,3.048537492752075f,-3.2376301288604736f,0.16514194011688232f,1.3209459781646729f,2.5281128883361816f,0.2880972921848297f,-1.4275550842285156f,2.8310680389404297f,-0.2785148322582245f,0.5166174173355103f,-0.4132833778858185f,0.04700315371155739f},
+{-0.2477567195892334f,-0.03391794487833977f,-0.2501986622810364f,-0.7054698467254639f,-0.5440302491188049f,0.8894060850143433f,0.06014183163642883f,1.4146497249603271f,0.7707645297050476f,-0.118942029774189f,7.1783833503723145f,0.28236573934555054f,-0.1867785006761551f,0.1498458832502365f,-0.15618428587913513f,-0.44090068340301514f},
+{-0.41546180844306946f,0.0153290294110775f,-0.26619744300842285f,-0.11270474642515182f,-0.590191662311554f,0.7070063948631287f,-0.17925891280174255f,0.5507276654243469f,0.15978597104549408f,-0.048357926309108734f,4.890599250793457f,-0.21268300712108612f,0.3623357117176056f,-0.04248649254441261f,0.04303058981895447f,-0.165463387966156f},
+{0.18501468002796173f,0.4303830564022064f,0.10248100757598877f,-0.5278356075286865f,0.1187845766544342f,0.5596485137939453f,-0.07246989011764526f,0.09394808858633041f,0.1875840127468109f,0.20981678366661072f,-0.11032117903232574f,0.6727064847946167f,0.22502805292606354f,0.0878206416964531f,-0.30555272102355957f,-0.08113229274749756f},
+{0.15599371492862701f,-0.19558745622634888f,0.18462657928466797f,-0.23348158597946167f,0.6647528409957886f,0.4366305470466614f,-0.2990540862083435f,0.10997026413679123f,0.627809464931488f,-0.585625946521759f,-2.7932279109954834f,0.03036535158753395f,0.37282595038414f,-0.3158237040042877f,0.3484981060028076f,-0.253265380859375f},
+{0.5513425469398499f,0.2421947568655014f,0.37182438373565674f,0.16140490770339966f,0.38079768419265747f,0.21445119380950928f,-0.20339298248291016f,-0.10662516951560974f,0.05280638486146927f,-0.06538926810026169f,-3.1581833362579346f,0.042692992836236954f,-0.06213831529021263f,-0.07145534455776215f,0.26688337326049805f,-0.570157527923584f},
+{-0.3319697678089142f,-0.22095021605491638f,-0.40320003032684326f,-0.11837419867515564f,0.30020999908447266f,0.16003543138504028f,0.1533789038658142f,0.11464016139507294f,0.12973037362098694f,0.12696807086467743f,-3.1749515533447266f,0.2956480383872986f,0.1524103730916977f,-0.07244279235601425f,0.10493969917297363f,-0.3317506015300751f},
+{-0.0734708160161972f,-0.06019791588187218f,0.19847965240478516f,-0.004942567087709904f,0.3596061170101166f,0.33417168259620667f,-0.2404318004846573f,-0.10214386135339737f,-0.054763711988925934f,-0.26340484619140625f,-1.7250633239746094f,-0.24570141732692719f,0.10303905606269836f,-0.028076933696866035f,-0.22268100082874298f,-0.6296404600143433f},
+{-0.11337855458259583f,-0.10399991273880005f,0.4127817749977112f,-0.2784721851348877f,-0.2179596871137619f,-0.20361734926700592f,-0.32001304626464844f,-0.42778241634368896f,-0.05969907343387604f,-0.2839629352092743f,-0.6971715092658997f,-0.24165061116218567f,-0.2983836531639099f,-0.09094668924808502f,0.0479682981967926f,-0.13018736243247986f},
+{0.07571787387132645f,0.0571720190346241f,0.20282304286956787f,-0.15216705203056335f,0.19308774173259735f,-0.07270306348800659f,0.04202890396118164f,0.04910655692219734f,0.12453056126832962f,0.03467751294374466f,-0.24530723690986633f,-0.714690089225769f,0.12137787789106369f,-0.07775271683931351f,0.0668090283870697f,-0.03104713186621666f},
+{-0.07402808219194412f,-0.4083878695964813f,-0.40439701080322266f,-0.30952703952789307f,-0.3302675783634186f,-0.10663765668869019f,-0.15568238496780396f,-0.20262248814105988f,-0.06795552372932434f,-0.04217049479484558f,-0.5476718544960022f,-0.4268353581428528f,-0.24997447431087494f,-0.013295453041791916f,-0.08245879411697388f,0.051119960844516754f},
+{0.07196523249149323f,-0.44367191195487976f,0.16706281900405884f,-0.10607284307479858f,-0.12597426772117615f,-0.6621214151382446f,-0.041414469480514526f,-0.1590031385421753f,-0.42586904764175415f,0.06347038596868515f,-1.0352861881256104f,0.012130762450397015f,0.13589197397232056f,0.35345810651779175f,0.29427415132522583f,-0.07089969515800476f},
 };
 
 const float h2[16][16] = { 
-    {-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.9987452030181885f,3.3935937881469727f,-0.06966331601142883f,0.32826343178749084f,-0.21907491981983185f,1.3458980321884155f,-0.18878600001335144f,0.0904630720615387f,-0.43008196353912354f,-0.1415480375289917f,3.012113094329834f,-0.6179535984992981f,-0.010508446022868156f,-2.135960340499878f,-0.3565736413002014f,0.37050101161003113f},
+{0.11482957750558853f,-2.5367531776428223f,0.057057321071624756f,-0.3046393096446991f,-0.35503754019737244f,-2.6862707138061523f,-0.6087021827697754f,-0.2990124225616455f,-0.33757925033569336f,0.2895788848400116f,-3.805957794189453f,-0.9253348708152771f,0.19726914167404175f,-0.7390051484107971f,-0.43896082043647766f,-5.975200176239014f},
 {-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.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.09517102688550949f,-0.4040478467941284f,-0.2894435524940491f,0.31236496567726135f,0.08946844935417175f,0.2939286231994629f,-0.37694162130355835f,0.4122363030910492f,0.26211628317832947f,0.2953031361103058f,0.9005283117294312f,0.22425100207328796f,-0.5604109168052673f,-0.23977504670619965f,0.20297080278396606f,0.13403202593326569f},
+{-0.6756513714790344f,1.7751318216323853f,-0.25313520431518555f,0.38244307041168213f,0.036378175020217896f,0.33037832379341125f,-0.6265403628349304f,-0.08570799231529236f,-0.024399548768997192f,-0.39465832710266113f,0.24658918380737305f,-0.991762638092041f,-0.03835582733154297f,-1.3179413080215454f,-0.5390550494194031f,-3.302323579788208f},
+{0.3466867208480835f,-0.6372466683387756f,-0.3519742488861084f,0.0721508041024208f,-0.3015052080154419f,-1.0549768209457397f,-0.5512104034423828f,-0.019414573907852173f,-0.23047015070915222f,0.3579089343547821f,-3.1079416275024414f,-0.9416651725769043f,-0.3521951138973236f,0.6223772168159485f,0.2127152532339096f,-2.8317995071411133f},
 {-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.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.16704727709293365f,0.364624559879303f,0.33083590865135193f,-0.27488598227500916f,-0.14358049631118774f,1.0407344102859497f,-0.1795933097600937f,-0.3003333508968353f,0.2600560486316681f,-0.37898191809654236f,-3.202780246734619f,-0.1870129406452179f,-0.47422632575035095f,0.35311469435691833f,-0.05371918901801109f,-2.8199872970581055f},
+{-0.5259296894073486f,0.4689039885997772f,-0.11379697918891907f,0.004734513349831104f,0.041274964809417725f,1.2007324695587158f,-0.5131868124008179f,0.0019084513187408447f,0.06103590130805969f,-0.38046833872795105f,-3.237121820449829f,-1.2991294860839844f,-0.5093895792961121f,-0.1507863849401474f,-0.5995392799377441f,-2.457470655441284f},
+{-0.7710875868797302f,0.5554200410842896f,-0.13502129912376404f,0.6517683863639832f,0.12987366318702698f,0.5584927201271057f,0.2711336314678192f,-0.3632148504257202f,-0.13619378209114075f,0.16938945651054382f,0.4592503607273102f,0.3686063885688782f,0.3811538517475128f,-0.5300164818763733f,-0.1768030971288681f,0.23026932775974274f},
+{-0.3681893050670624f,0.4855160415172577f,0.0457797646522522f,-0.7042952179908752f,-0.03321319818496704f,1.6272976398468018f,0.04987913742661476f,-0.20421427488327026f,-0.050184011459350586f,0.12480869889259338f,-2.2254326343536377f,0.0007848385721445084f,-0.5069887638092041f,2.651069164276123f,-0.20687398314476013f,-0.1907607764005661f},
+{0.06159360706806183f,0.8687381148338318f,0.3954955041408539f,0.17921218276023865f,0.0033026933670043945f,0.06872370839118958f,-0.5130811929702759f,-0.11795541644096375f,0.3487861454486847f,-0.32520344853401184f,0.5817397236824036f,-0.5529417395591736f,-0.057088710367679596f,-0.385343462228775f,0.05994755029678345f,-2.9118359088897705f},
+{-0.22636324167251587f,-0.19065356254577637f,-0.15798500180244446f,0.3887229859828949f,-0.37393757700920105f,0.33564984798431396f,0.11292675137519836f,-0.2947862446308136f,-0.3764709532260895f,0.2424570620059967f,-0.05141463130712509f,-0.2837170362472534f,0.41839322447776794f,-0.04939388111233711f,-0.18482042849063873f,0.12944285571575165f},
+{-0.35900792479515076f,0.25441327691078186f,-0.2018718123435974f,0.03092697076499462f,0.07545611262321472f,0.11035063862800598f,-0.11297860741615295f,-0.21416273713111877f,-0.24509364366531372f,0.19522181153297424f,0.39349547028541565f,-0.2859571874141693f,-0.16718891263008118f,0.1720767468214035f,-0.198096364736557f,-0.04454577714204788f},
 {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.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},
+{-0.1077963188290596f,0.2333526313304901f,0.12081471085548401f,-0.33797016739845276f,0.29976895451545715f,-0.06253379583358765f,-0.112851083278656f,0.31089308857917786f,-0.3893685042858124f,-0.02222958207130432f,0.2974132001399994f,-0.14616115391254425f,-0.19991017878055573f,0.18524262309074402f,0.22476398944854736f,-0.04197271540760994f},
 };
 
 const float h3[16][16] = { 
-    {-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.36079341173171997f,-1.148093819618225f,0.28441596031188965f,0.6634320020675659f,0.159640371799469f,-0.33320602774620056f,0.3332441747188568f,0.3036012351512909f,0.12588699162006378f,0.04891335964202881f,-0.11870327591896057f,0.4001283347606659f,0.5705569982528687f,-0.3035120666027069f,-0.5955149531364441f,0.7808455228805542f},
+{0.047732532024383545f,0.25054898858070374f,0.2538043260574341f,-2.1432535648345947f,2.218398332595825f,-1.6198283433914185f,-0.3198729455471039f,0.06247803568840027f,1.0697529315948486f,-0.6117069125175476f,0.023029502481222153f,-0.406962126493454f,-0.5049557685852051f,-0.4798807203769684f,-0.3881112337112427f,-0.848360002040863f},
 {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.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.30922991037368774f,-0.0063563017174601555f,0.17296317219734192f,-0.5044937133789062f,-0.3493625223636627f,0.23612052202224731f,0.20021501183509827f,0.07002416253089905f,-0.3076080083847046f,-0.4756411612033844f,0.13192829489707947f,0.41021624207496643f,-0.18094471096992493f,0.21894694864749908f,0.24297520518302917f,-0.18400311470031738f},
 {-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,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.37449589371681213f,0.2581231892108917f,-1.522408127784729f,-0.7136527299880981f,-0.720734715461731f,1.0194716453552246f,-0.18732719123363495f,0.22384825348854065f,-1.0333940982818604f,-0.5675966143608093f,-0.023293234407901764f,-0.008180344477295876f,-0.30841562151908875f,0.14725226163864136f,0.282088965177536f,-1.172196865081787f},
+{0.4110594093799591f,0.38472187519073486f,-0.3144744336605072f,0.29410648345947266f,0.0032817611936479807f,0.05327326059341431f,-0.08670487999916077f,-0.25336313247680664f,-0.030661463737487793f,-0.06259563565254211f,-0.1344406008720398f,0.35313835740089417f,0.21155259013175964f,0.054893217980861664f,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.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},
+{0.15459725260734558f,-2.777374029159546f,-0.9824000000953674f,-1.361484169960022f,1.9260345697402954f,-3.2116310596466064f,-0.08742031455039978f,0.05785742402076721f,0.40736156702041626f,-0.3554588258266449f,0.1268840730190277f,-0.30447322130203247f,-0.12840990722179413f,0.04351755976676941f,0.4396083652973175f,0.25218072533607483f},
+{-0.408692330121994f,0.087448850274086f,0.04925378039479256f,-0.04824388399720192f,-0.17421439290046692f,-0.13002143800258636f,0.03285527229309082f,0.38763079047203064f,-0.768280565738678f,-0.25883403420448303f,0.12809070944786072f,0.03996849060058594f,-0.5650452971458435f,-0.24418966472148895f,-0.335061639547348f,0.3028603792190552f},
+{-0.2991822361946106f,0.22235357761383057f,0.07486283779144287f,0.09737677872180939f,0.24118496477603912f,0.08586383610963821f,-0.11253207921981812f,0.34576353430747986f,-0.09670329838991165f,-0.35770976543426514f,-0.044228196144104004f,-0.36229726672172546f,0.015840977430343628f,-0.2898755371570587f,0.36124154925346375f,-0.16869547963142395f},
+{-0.2675279378890991f,-0.515651524066925f,0.0251812394708395f,0.7153967022895813f,0.26052147150039673f,-1.1069273948669434f,-0.32875844836235046f,-0.31893211603164673f,-0.13082624971866608f,-1.050662636756897f,-0.6633496880531311f,-0.5371803045272827f,0.06457992643117905f,-0.8058243989944458f,0.017793284729123116f,0.10304756462574005f},
+{-0.015470266342163086f,-0.2701880931854248f,0.2930115759372711f,0.49888792634010315f,0.126337468624115f,-0.28063544631004333f,0.05196094512939453f,-0.008358269929885864f,-0.3966742753982544f,-0.38441595435142517f,0.13179203867912292f,-0.11511552333831787f,0.2912858724594116f,-0.05528228357434273f,0.07506071031093597f,-0.35694801807403564f},
+{0.1863725483417511f,0.5586835741996765f,-0.8992559313774109f,-0.09777124226093292f,-0.7538049817085266f,0.7510863542556763f,0.04860696196556091f,0.17769548296928406f,0.07694819569587708f,-0.2533877193927765f,-0.429828405380249f,-0.017294244840741158f,0.20082448422908783f,-0.06562861055135727f,0.02672870270907879f,-0.3256513476371765f},
 };
 
-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 hout[16] = { 0.45773375034332275f,0.16584675014019012f,-0.48410648107528687f,-0.29569676518440247f,-0.22813785076141357f,-0.09326917678117752f,0.0030125975608825684f,0.15066689252853394f,0.57107013463974f,0.20166325569152832f,-0.1152174323797226f,-0.14428594708442688f,-0.05426580458879471f,-0.049925144761800766f,0.026914965361356735f,-0.7076529860496521f };
 
-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 b1[16] = { 0.07012127339839935f,1.584446668624878f,-1.7145336866378784f,-0.048737164586782455f,1.2184536457061768f,1.647783875465393f,-0.058932315558195114f,2.4932973384857178f,1.3932501077651978f,-1.0123265981674194f,1.1282522678375244f,1.8440312147140503f,-0.3751928508281708f,-0.8866792321205139f,-1.087764859199524f,0.8239107131958008f };
 
-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 b2[16] = { -0.26858481764793396f,-0.9540778398513794f,-1.4564176797866821f,-0.6713765263557434f,-0.6939148902893066f,-0.31448236107826233f,-0.05448133125901222f,-0.30969977378845215f,-1.20063054561615f,-1.912178635597229f,0.01897319033741951f,0.06015050411224365f,-0.21795499324798584f,1.2159000635147095f,-0.09618169069290161f,1.9159427881240845f };
 
-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 b3[16] = { -1.963319182395935f,0.9334189891815186f,1.2832523584365845f,-0.24647945165634155f,-0.18659168481826782f,-0.22085510194301605f,-0.45353031158447266f,-0.6562485098838806f,1.610432505607605f,-0.09482147544622421f,-0.5352585315704346f,-0.16963209211826324f,-0.8799285888671875f,-0.2767029404640198f,-1.5108531713485718f,-0.6651496887207031f };
 
-const float bout[1] = { -0.21177443861961365f };
+const float bout[1] = { -0.1899082362651825f };
 
 
 float VALVE_POS_RAW_NN = 0.0f;