![](/media/cache/img/default_profile.jpg.50x50_q85.jpg)
2011
Diff: main.cpp
- Revision:
- 161:a3b26117104c
- Parent:
- 160:f374bb098370
- Child:
- 162:9dd4f35e9de8
--- a/main.cpp Mon Oct 12 05:36:48 2020 +0000 +++ b/main.cpp Mon Oct 12 10:28:55 2020 +0000 @@ -1,4 +1,4 @@ -//201012-2 +//201012-3 #include "mbed.h" #include "FastPWM.h" #include "INIT_HW.h" @@ -193,77 +193,77 @@ float input_NN[num_input] = { 0.0f }; const float h1[num_input][16] = { - {-1.9284757375717163f,1.8916572332382202f,0.12024858593940735f,0.545981228351593f,-2.3549740314483643f,1.9310003519058228f,-0.1628284603357315f,-0.005150910001248121f,-0.3260757327079773f,-0.9433152675628662f,-0.19537952542304993f,-1.5630793571472168f,-0.3126377761363983f,-1.4833742380142212f,-0.2396446317434311f,-2.1582324504852295f}, -{-1.4291181564331055f,1.294519305229187f,-0.36603355407714844f,0.09554877132177353f,-1.6953699588775635f,1.1312505006790161f,-0.3777896761894226f,-0.016235176473855972f,-0.13373571634292603f,-0.39443638920783997f,-0.22961115837097168f,-1.0673432350158691f,0.17010805010795593f,-1.4823811054229736f,-0.1953967958688736f,-1.4026087522506714f}, -{-0.8333134055137634f,0.5866453051567078f,0.33912619948387146f,-0.39045676589012146f,-0.6861349940299988f,0.5640900135040283f,0.2676515281200409f,0.2585502862930298f,-0.20897063612937927f,-0.04583211988210678f,-0.29858946800231934f,-0.6554254293441772f,-0.034444112330675125f,-0.4966655373573303f,0.05209478735923767f,-1.0954952239990234f}, -{-0.026759011670947075f,-0.4267193675041199f,0.3703531324863434f,0.06700243055820465f,0.21827536821365356f,-0.5995405912399292f,-0.10795548558235168f,0.608457088470459f,-0.03680473566055298f,0.5041996240615845f,0.11513403058052063f,0.2774970233440399f,-0.1676224172115326f,0.04476059600710869f,-0.27597576379776f,-0.17888334393501282f}, -{1.4242593050003052f,-1.2939292192459106f,-0.004794687032699585f,-0.14202511310577393f,1.2923967838287354f,-1.3599568605422974f,0.12058994174003601f,0.38800549507141113f,-0.029777072370052338f,1.208436369895935f,0.34986329078674316f,0.958234429359436f,-0.05950910970568657f,1.1346033811569214f,-0.36018112301826477f,0.4781929850578308f}, -{2.8965675830841064f,-3.125696897506714f,0.20290347933769226f,-0.28504160046577454f,2.7703447341918945f,-2.8963518142700195f,0.15389427542686462f,0.25882840156555176f,-0.025503801181912422f,2.5359046459198f,-0.20506200194358826f,2.456850528717041f,-0.22417566180229187f,2.583265542984009f,-0.38513508439064026f,1.7685816287994385f}, -{0.3631844222545624f,-0.11182118207216263f,-0.2331579178571701f,-0.5861133337020874f,-0.07432567328214645f,0.27970293164253235f,0.05604562163352966f,-0.6794319748878479f,0.31682249903678894f,0.5862061977386475f,0.16509030759334564f,0.7059288024902344f,-0.2074126899242401f,0.4100978374481201f,-0.14554673433303833f,0.896831750869751f}, -{0.11645148694515228f,-0.12680423259735107f,-0.24806702136993408f,-0.06547222286462784f,-0.3090035021305084f,0.13880875706672668f,-0.16704979538917542f,-0.6810923218727112f,0.001245745923370123f,0.49172499775886536f,0.12251671403646469f,0.15763571858406067f,0.3008471429347992f,0.000055849901400506496f,0.04009982943534851f,0.8938968777656555f}, -{0.30339252948760986f,0.38222938776016235f,0.09550115466117859f,-0.47870898246765137f,-0.1727135181427002f,0.318401962518692f,-0.06753402948379517f,-0.7364226579666138f,-0.2765253186225891f,0.7577906847000122f,-0.25273358821868896f,0.5580661296844482f,0.16932949423789978f,0.10245563089847565f,-0.2847418785095215f,0.9463624954223633f}, -{0.06090492382645607f,-0.13177178800106049f,0.17205187678337097f,-0.1935434192419052f,0.1135651171207428f,0.4377693831920624f,-0.2786858379840851f,-0.4350501000881195f,-0.03394133225083351f,-0.3375111222267151f,0.01661299727857113f,-0.52735835313797f,0.30430319905281067f,-0.4909248948097229f,0.3247623145580292f,0.588316798210144f}, -{0.2120993584394455f,0.43778884410858154f,0.34649983048439026f,0.23845022916793823f,-0.20963875949382782f,0.46838608384132385f,-0.1895401030778885f,-0.35955509543418884f,-0.4259641170501709f,-0.8566266894340515f,0.34883156418800354f,-1.2345240116119385f,-0.10190600156784058f,-0.9097190499305725f,0.24870619177818298f,-0.34861695766448975f}, -{-0.9213741421699524f,0.31818056106567383f,-0.3757385015487671f,0.049192700535058975f,-0.3327042758464813f,0.7055673599243164f,0.1429324448108673f,0.007615856826305389f,-0.16889803111553192f,-1.8557310104370117f,-0.3619164824485779f,-1.774389624595642f,0.0994650274515152f,-1.5845634937286377f,0.09779238700866699f,-0.8607075810432434f}, -{-0.14557614922523499f,0.02737070620059967f,0.18496140837669373f,0.1817261129617691f,0.2282850742340088f,0.42097654938697815f,-0.22405625879764557f,-0.15408681333065033f,-0.1897873878479004f,-1.33224356174469f,-0.07764522731304169f,-1.4307671785354614f,0.05735225975513458f,-0.8171697854995728f,-0.2075144499540329f,-0.5572522878646851f}, -{-0.00011250346869928762f,-0.10650306195020676f,0.38466766476631165f,-0.05654198303818703f,-0.13110031187534332f,-0.2096269279718399f,-0.2982172966003418f,-0.5219294428825378f,-0.1404845416545868f,-0.7186456322669983f,-0.15761259198188782f,-0.8281324505805969f,-0.31143051385879517f,-0.33520781993865967f,0.04470124840736389f,0.20240145921707153f}, -{0.27986910939216614f,0.007717507425695658f,0.18900898098945618f,0.08381005376577377f,0.3686647415161133f,-0.15319782495498657f,0.03916636109352112f,0.04764685779809952f,0.2688429355621338f,-0.0854375883936882f,-0.23614686727523804f,-0.7030695080757141f,0.0853995606303215f,-0.05775566026568413f,0.062258750200271606f,0.2525389790534973f}, -{0.020421123132109642f,-0.2572803795337677f,-0.37685394287109375f,-0.05631903558969498f,-0.16987362504005432f,-0.008203251287341118f,-0.14507901668548584f,-0.1828162670135498f,0.17396096885204315f,0.003580685704946518f,-0.4172263443470001f,-0.14225366711616516f,-0.2549686133861542f,0.14566312730312347f,-0.07684260606765747f,0.1996752768754959f}, -{-0.027750970795750618f,-0.06660693138837814f,0.15568438172340393f,0.12472385168075562f,-0.05987756699323654f,-0.2489769458770752f,-0.03859376907348633f,-0.11900969594717026f,-0.07300025969743729f,0.23438148200511932f,-0.3050765097141266f,0.43002668023109436f,0.11018209904432297f,0.5682705640792847f,0.2742314636707306f,-0.02876431681215763f}, -{0.051046643406152725f,0.0038601900450885296f,0.19490453600883484f,-0.09818669408559799f,-0.3203401267528534f,-0.2238624095916748f,-0.336474746465683f,0.029904179275035858f,-0.39393532276153564f,0.3009941279888153f,-0.13059896230697632f,0.6088495850563049f,0.27048033475875854f,0.29623743891716003f,-0.2561379373073578f,0.0006134724826551974f}, -{-0.18030893802642822f,0.05651233717799187f,-0.2776013910770416f,0.3044928014278412f,0.41638314723968506f,-0.2739904224872589f,0.25546005368232727f,-0.34019359946250916f,-0.3901272416114807f,0.5091925859451294f,-0.3713352382183075f,0.6843410730361938f,0.08965739607810974f,0.6309531331062317f,-0.30415377020835876f,-0.5512918829917908f}, -{0.24991407990455627f,0.4429624378681183f,0.1420871913433075f,-0.14755000174045563f,-0.28017929196357727f,0.09783721715211868f,-0.13263443112373352f,-0.3516319990158081f,-0.17755484580993652f,0.30513280630111694f,0.12483186274766922f,0.5579364895820618f,0.226878821849823f,0.6015344262123108f,0.13351169228553772f,-0.32750803232192993f}, -{-0.27899882197380066f,-0.16117943823337555f,-0.07561364769935608f,0.23371613025665283f,-0.290559858083725f,-0.22249552607536316f,0.14428457617759705f,0.07864826917648315f,-0.37458890676498413f,0.09782712906599045f,-0.3584631681442261f,0.06557819992303848f,-0.19576646387577057f,0.6881380081176758f,0.019461065530776978f,-0.34176725149154663f}, -{0.08308707177639008f,-0.6704394221305847f,0.2631795108318329f,-0.45346561074256897f,0.5750449895858765f,-0.8243018388748169f,0.27224990725517273f,0.17330202460289001f,-0.08266540616750717f,1.3815675973892212f,0.06200104579329491f,0.7616981863975525f,0.19839297235012054f,1.0245716571807861f,0.06011766195297241f,-0.05140143632888794f}, + {-1.8954135179519653f,2.061840295791626f,0.12024858593940735f,0.41609469056129456f,-2.275137424468994f,1.83769690990448f,-0.1628284603357315f,1.0505378246307373f,-0.274306058883667f,-0.7378050684928894f,-0.21210439503192902f,-0.5697677731513977f,-0.5173769593238831f,-0.5410825610160828f,-0.2396446317434311f,-0.6752611398696899f}, +{-1.3933558464050293f,1.460331916809082f,-0.36603355407714844f,0.0721883550286293f,-1.8067704439163208f,1.098659873008728f,-0.3777896761894226f,0.6261667013168335f,-0.0824921503663063f,-0.31913089752197266f,-0.24640965461730957f,-0.35485702753067017f,0.046066828072071075f,-0.7429036498069763f,-0.1953967958688736f,-0.2680785655975342f}, +{-0.7722920179367065f,0.7257173657417297f,0.33912619948387146f,-0.3091577887535095f,-0.9742792248725891f,0.5726296901702881f,0.2676515281200409f,0.42674878239631653f,-0.158430278301239f,-0.08262304961681366f,-0.31468620896339417f,-0.26437973976135254f,-0.07669703662395477f,0.008433454670011997f,0.05209478735923767f,-0.3424776792526245f}, +{0.05622508004307747f,-0.31402432918548584f,0.3703531324863434f,0.25495287775993347f,-0.25150421261787415f,-0.5527926087379456f,-0.10795548558235168f,0.21758970618247986f,0.012896922416985035f,0.3552055358886719f,0.09927070140838623f,0.25469693541526794f,-0.12730878591537476f,0.23795653879642487f,-0.27597576379776f,0.11622545123100281f}, +{1.5033966302871704f,-1.1667131185531616f,-0.004794687032699585f,0.16070765256881714f,0.7266594767570496f,-1.289041519165039f,0.12058994174003601f,-0.9748788475990295f,0.018951361998915672f,0.9530174732208252f,0.3340449929237366f,0.16443736851215363f,0.06441787630319595f,0.7232279777526855f,-0.36018112301826477f,-0.00606316514313221f}, +{2.9732558727264404f,-2.9658124446868896f,0.20290347933769226f,0.14411549270153046f,2.2027065753936768f,-2.835205316543579f,0.15389427542686462f,-2.5416502952575684f,0.02208642102777958f,2.2413923740386963f,-0.22055046260356903f,0.533970296382904f,-0.015460304915904999f,1.2844529151916504f,-0.38513508439064026f,0.16354717314243317f}, +{0.35365065932273865f,-0.25539088249206543f,-0.2331579178571701f,-0.4873920679092407f,0.5935637950897217f,0.0767158642411232f,0.05604562163352966f,-0.9977914094924927f,0.3328070640563965f,0.49315786361694336f,0.1441093385219574f,0.2963859736919403f,-0.24228647351264954f,0.36950021982192993f,-0.14554673433303833f,-0.19456599652767181f}, +{0.0459238700568676f,-0.23025165498256683f,-0.24806702136993408f,0.007744771894067526f,0.27619168162345886f,-0.027614563703536987f,-0.16704979538917542f,-0.8063437938690186f,0.018813233822584152f,0.41029712557792664f,0.10153167694807053f,-0.10331901162862778f,0.27167901396751404f,0.11213353276252747f,0.04009982943534851f,0.011260374449193478f}, +{0.22730864584445953f,0.26934972405433655f,0.09550115466117859f,-0.45261427760124207f,0.3679940700531006f,0.13872577250003815f,-0.06753402948379517f,-0.9603257775306702f,-0.2574649155139923f,0.8211387395858765f,-0.27366748452186584f,0.2584075927734375f,0.14615985751152039f,0.16659781336784363f,-0.2847418785095215f,0.03212627395987511f}, +{-0.03593531996011734f,-0.23766881227493286f,0.17205187678337097f,-0.23176325857639313f,0.42048585414886475f,0.33273908495903015f,-0.2786858379840851f,-0.40179765224456787f,-0.01258982066065073f,-0.19880501925945282f,-0.00432794401422143f,-0.5538689494132996f,0.2873327434062958f,-0.3315616846084595f,0.3247623145580292f,-0.17453411221504211f}, +{0.23057182133197784f,0.1823364645242691f,0.34649983048439026f,0.11515120416879654f,-0.19699575006961823f,0.3659662902355194f,-0.1895401030778885f,0.45419904589653015f,-0.4028747081756592f,-0.6327208280563354f,0.32801246643066406f,-0.47007516026496887f,-0.11403506249189377f,-0.332431435585022f,0.24870619177818298f,-0.5064005255699158f}, +{-0.6944490671157837f,-0.21209459006786346f,-0.3757385015487671f,-0.13702787458896637f,-0.6265223026275635f,0.5131163001060486f,0.1429324448108673f,1.6821873188018799f,-0.14448182284832f,-1.52317214012146f,-0.3825119137763977f,-0.14606429636478424f,0.09395758807659149f,-0.4861217439174652f,0.09779238700866699f,-0.2896309792995453f}, +{-0.2800028324127197f,-0.06282144784927368f,0.18496140837669373f,0.030517641454935074f,0.6801534295082092f,0.4457685649394989f,-0.22405625879764557f,0.8344350457191467f,-0.16424080729484558f,-0.6935765743255615f,-0.0980188176035881f,-0.423651784658432f,0.03238815814256668f,-0.20197975635528564f,-0.2075144499540329f,-0.5701436996459961f}, +{-0.2293253391981125f,-0.09040852636098862f,0.38466766476631165f,-0.19960886240005493f,0.15400516986846924f,-0.09849456697702408f,-0.2982172966003418f,0.12253472954034805f,-0.11454647034406662f,-0.35973796248435974f,-0.17784970998764038f,-0.4023285210132599f,-0.32813894748687744f,-0.2429247349500656f,0.04470124840736389f,-0.09045199304819107f}, +{0.09347659349441528f,0.0008082982967607677f,0.18900898098945618f,-0.06120866537094116f,0.6146573424339294f,-0.06504922360181808f,0.03916636109352112f,0.48007437586784363f,0.294809490442276f,0.18063610792160034f,-0.2563917934894562f,-0.6306189298629761f,0.07625232636928558f,-0.21370044350624084f,0.062258750200271606f,0.00815045926719904f}, +{-0.0689467042684555f,-0.3365703821182251f,-0.37685394287109375f,-0.20837026834487915f,0.053242120891809464f,0.016820020973682404f,-0.14507901668548584f,0.07986551523208618f,0.20007987320423126f,0.2661718428134918f,-0.4374823272228241f,-0.295104056596756f,-0.25695890188217163f,-0.12613587081432343f,-0.07684260606765747f,0.0788344144821167f}, +{-0.06860842555761337f,-0.1699381023645401f,0.15568438172340393f,-0.040645476430654526f,0.07755637913942337f,-0.242115780711174f,-0.03859376907348633f,0.06300511211156845f,-0.04657333716750145f,0.3980299234390259f,-0.3253058195114136f,0.11324697732925415f,0.11497766524553299f,0.2345767319202423f,0.2742314636707306f,-0.05325615778565407f}, +{0.00857353676110506f,-0.07334724813699722f,0.19490453600883484f,-0.26787275075912476f,-0.3143249452114105f,-0.20300105214118958f,-0.336474746465683f,0.03190091997385025f,-0.3672536015510559f,0.3412991166114807f,-0.15078192949295044f,0.05409295856952667f,0.28317949175834656f,-0.17916610836982727f,-0.2561379373073578f,-0.09754713624715805f}, +{-0.26665636897087097f,0.03565867990255356f,-0.2776013910770416f,0.1249362975358963f,0.21757642924785614f,-0.19518578052520752f,0.25546005368232727f,-0.2865125834941864f,-0.3631085157394409f,0.38881242275238037f,-0.3914984464645386f,0.04883434623479843f,0.11115027964115143f,0.12361021339893341f,-0.30415377020835876f,-0.5628020167350769f}, +{0.2660556137561798f,0.3433205187320709f,0.1420871913433075f,-0.33024224638938904f,-0.5495144128799438f,0.09280199557542801f,-0.13263443112373352f,-0.25689104199409485f,-0.15029919147491455f,0.3603525161743164f,0.10471759736537933f,0.0782412514090538f,0.25936394929885864f,0.2581365704536438f,0.13351169228553772f,0.02357879839837551f}, +{-0.2560797929763794f,-0.22619254887104034f,-0.07561364769935608f,0.0776611715555191f,-0.6862970590591431f,-0.22922146320343018f,0.14428457617759705f,-0.004054178949445486f,-0.347451776266098f,0.24695457518100739f,-0.37855178117752075f,-0.48709622025489807f,-0.1475732922554016f,0.3500412106513977f,0.019461065530776978f,0.16023290157318115f}, +{0.03209909051656723f,-0.5990995764732361f,0.2631795108318329f,-0.5585244297981262f,0.1044234186410904f,-0.8019652962684631f,0.27224990725517273f,-0.6752288341522217f,-0.05590752884745598f,1.5368984937667847f,0.04196930676698685f,-0.4491702914237976f,0.2668069303035736f,0.23039138317108154f,0.06011766195297241f,0.1083567887544632f}, }; const float h2[16][16] = { - {-0.9642000198364258f,1.7890732288360596f,-0.06966331601142883f,0.09929964691400528f,-0.21907491981983185f,2.634411096572876f,-14.453997611999512f,-0.024229329079389572f,-0.43008196353912354f,-0.1415480375289917f,0.8865375518798828f,-0.38348379731178284f,0.12968102097511292f,-1.5587481260299683f,-1.0655688047409058f,-0.466623991727829f}, -{0.16045331954956055f,-1.373236060142517f,0.057057321071624756f,-0.10139778256416321f,-0.35503754019737244f,-1.796002745628357f,-1.3877737522125244f,-0.4160241186618805f,-0.33757925033569336f,0.2895788848400116f,-0.912059485912323f,-0.6531919240951538f,0.08444632589817047f,0.489467978477478f,-0.3456263840198517f,-1.972173810005188f}, + {-1.4149234294891357f,-8.221246719360352f,-0.06966331601142883f,2.2407708168029785f,-0.21907491981983185f,1.4261970520019531f,-0.2203816920518875f,0.0904630720615387f,-0.43008196353912354f,-0.1415480375289917f,2.437359094619751f,-0.27653780579566956f,-0.031542371958494186f,-1.0710999965667725f,-1.128833293914795f,0.1499631404876709f}, +{0.06675814092159271f,-0.7906604409217834f,0.057057321071624756f,-0.44593504071235657f,-0.35503754019737244f,-0.9169399738311768f,-2.5735878944396973f,-0.2990124225616455f,-0.33757925033569336f,0.2895788848400116f,-2.196497678756714f,-0.8267930746078491f,-0.03286423161625862f,0.5358306169509888f,-0.2996438443660736f,-2.177964448928833f}, {-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.02367369644343853f,-0.3221997916698456f,-0.2894435524940491f,0.3088652789592743f,0.08946844935417175f,0.20461073517799377f,-0.30286312103271484f,0.4122363030910492f,0.26211628317832947f,0.2953031361103058f,0.17855378985404968f,0.3440825045108795f,-0.5558211207389832f,-0.15224124491214752f,0.30055153369903564f,0.13030540943145752f}, -{-0.48098519444465637f,-0.3082611560821533f,-0.25313520431518555f,0.22264760732650757f,0.036378175020217896f,1.3921419382095337f,-1.3254092931747437f,-0.13328106701374054f,-0.024399548768997192f,-0.39465832710266113f,-0.4529491066932678f,-0.6945989727973938f,-0.14218522608280182f,-0.2039479911327362f,-0.683351993560791f,-0.7328025102615356f}, -{0.4495331645011902f,-0.9099428653717041f,-0.3519742488861084f,0.27394503355026245f,-0.3015052080154419f,-1.1194803714752197f,-4.646605014801025f,-0.14793507754802704f,-0.23047015070915222f,0.3579089343547821f,-0.5463069677352905f,-0.38290828466415405f,-0.45946991443634033f,1.6711149215698242f,0.16763444244861603f,-2.30080509185791f}, +{0.00037817173870280385f,-0.2971179485321045f,-0.2894435524940491f,0.3345993161201477f,0.08946844935417175f,0.269562691450119f,-0.1220422089099884f,0.4122363030910492f,0.26211628317832947f,0.2953031361103058f,0.22127428650856018f,0.33625349402427673f,-0.4890212416648865f,-0.16970062255859375f,0.27696576714515686f,0.1764375865459442f}, +{-0.6627513766288757f,-3.6495959758758545f,-0.25313520431518555f,-0.6872364282608032f,0.036378175020217896f,1.7615959644317627f,-3.844204902648926f,-0.08570799231529236f,-0.024399548768997192f,-0.39465832710266113f,0.20684999227523804f,-0.7964684367179871f,-0.15686243772506714f,-1.9698841571807861f,-0.5833307504653931f,0.8811274766921997f}, +{0.3915741741657257f,-1.8311468362808228f,-0.3519742488861084f,1.8813673257827759f,-0.3015052080154419f,-0.9981861114501953f,-2.57273268699646f,-0.019414573907852173f,-0.23047015070915222f,0.3579089343547821f,-0.7768073678016663f,-0.41386348009109497f,-0.5715640187263489f,1.0438435077667236f,0.2210693508386612f,-1.7864001989364624f}, {-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.15824732184410095f,0.3100895285606384f,0.33083590865135193f,-0.3111240565776825f,-0.14358049631118774f,-0.3204266428947449f,-0.3786042332649231f,-0.3003333508968353f,0.2600560486316681f,-0.37898191809654236f,0.3861054480075836f,-0.33435386419296265f,-0.31673234701156616f,0.31598109006881714f,0.09100812673568726f,0.11863487213850021f}, -{-0.2313188761472702f,0.2215956598520279f,-0.11379697918891907f,0.10697845369577408f,0.041274964809417725f,-0.46601107716560364f,-0.10284432768821716f,0.0019084513187408447f,0.06103590130805969f,-0.38046833872795105f,-0.039307329803705215f,-0.3197441101074219f,-0.37024784088134766f,-0.18803510069847107f,-0.30993136763572693f,-0.3439880609512329f}, -{-0.20020389556884766f,0.44617244601249695f,-0.13502129912376404f,-0.2152949571609497f,0.12987366318702698f,-0.49993792176246643f,1.706182837486267f,-0.3632148504257202f,-0.13619378209114075f,0.16938945651054382f,-0.3310936689376831f,-0.09075428545475006f,0.12637434899806976f,-0.26975783705711365f,-0.059295859187841415f,-0.4987007975578308f}, -{-0.2696972191333771f,-0.029670022428035736f,0.0457797646522522f,-0.3910249173641205f,-0.03321319818496704f,-0.4363076686859131f,0.17873415350914001f,-0.20421427488327026f,-0.050184011459350586f,0.12480869889259338f,-0.2314555048942566f,0.3545852601528168f,-0.3647043704986572f,0.44268926978111267f,-0.37382790446281433f,-0.30918431282043457f}, -{0.18380744755268097f,0.04636167734861374f,0.3954955041408539f,0.2266073226928711f,0.0033026933670043945f,-0.27568939328193665f,0.13123606145381927f,-0.11795541644096375f,0.3487861454486847f,-0.32520344853401184f,0.040384113788604736f,-0.3691490590572357f,-0.1671862155199051f,-1.0203516483306885f,0.01607128046452999f,-0.289948433637619f}, -{-0.3576127290725708f,-0.2540516257286072f,-0.15798500180244446f,0.32394546270370483f,-0.37393757700920105f,0.27878326177597046f,0.11292675137519836f,-0.2947862446308136f,-0.3764709532260895f,0.2424570620059967f,-0.16400329768657684f,-0.3137088716030121f,0.33017146587371826f,0.0033205924555659294f,-0.08937478065490723f,0.05422728881239891f}, -{-0.5424008369445801f,0.5229327082633972f,-0.2018718123435974f,0.1066291555762291f,0.07545611262321472f,-0.40232929587364197f,1.8590785264968872f,-0.23888836801052094f,-0.24509364366531372f,0.19522181153297424f,-0.10719598084688187f,-0.6909295916557312f,-0.42098698019981384f,-0.9520270228385925f,-0.4620327949523926f,-0.10240788012742996f}, +{0.2719742953777313f,-0.5918595790863037f,0.33083590865135193f,-0.24734418094158173f,-0.14358049631118774f,-1.280016541481018f,-1.4565234184265137f,-0.3003333508968353f,0.2600560486316681f,-0.37898191809654236f,0.731331467628479f,-0.3868115544319153f,-0.7149967551231384f,0.8175680041313171f,0.19921045005321503f,0.13130705058574677f}, +{-0.25856563448905945f,0.3172719478607178f,-0.11379697918891907f,0.088182233273983f,0.041274964809417725f,-0.37140029668807983f,-0.10284432768821716f,0.0019084513187408447f,0.06103590130805969f,-0.38046833872795105f,0.03279193863272667f,-0.3197441101074219f,-0.37024784088134766f,-0.2649827301502228f,-0.3698978126049042f,-0.24531885981559753f}, +{-0.4769535958766937f,1.4760633707046509f,-0.13502129912376404f,-0.3820866346359253f,0.12987366318702698f,0.409596711397171f,0.10057093948125839f,-0.3632148504257202f,-0.13619378209114075f,0.16938945651054382f,-0.4638362526893616f,-0.2579232454299927f,0.008082401938736439f,-0.375869482755661f,-0.2459457814693451f,0.12602509558200836f}, +{-0.2709399461746216f,-0.046167198568582535f,0.0457797646522522f,-0.39113956689834595f,-0.03321319818496704f,-0.4463159143924713f,0.17873415350914001f,-0.20421427488327026f,-0.050184011459350586f,0.12480869889259338f,-0.25252240896224976f,0.3545852601528168f,-0.3647043704986572f,0.46133115887641907f,-0.34892070293426514f,-0.3220515251159668f}, +{0.23252029716968536f,0.14104707539081573f,0.3954955041408539f,0.04682459309697151f,0.0033026933670043945f,0.08521943539381027f,-0.2121642827987671f,-0.11795541644096375f,0.3487861454486847f,-0.32520344853401184f,0.3302416503429413f,-0.24103686213493347f,-0.15225455164909363f,-0.15551511943340302f,0.2549321949481964f,-0.0172280166298151f}, +{-0.17599348723888397f,-0.30498379468917847f,-0.15798500180244446f,0.006913657765835524f,-0.37393757700920105f,0.20840831100940704f,-0.7214387059211731f,-0.2947862446308136f,-0.3764709532260895f,0.2424570620059967f,-0.18604308366775513f,-0.31451216340065f,0.33477315306663513f,-0.00666414899751544f,-0.09796348214149475f,-0.01855120249092579f}, +{-0.46010053157806396f,0.46722856163978577f,-0.2018718123435974f,0.4959852397441864f,0.07545611262321472f,0.4781644940376282f,-0.31310269236564636f,-0.21416273713111877f,-0.24509364366531372f,0.19522181153297424f,0.32211029529571533f,-0.6505396962165833f,-0.390186071395874f,-0.5101735591888428f,-0.5108092427253723f,0.12839919328689575f}, {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.43699032068252563f,1.7502877712249756f,0.12081471085548401f,-0.18040834367275238f,0.29976895451545715f,0.4937293529510498f,-3.7848267555236816f,0.17533256113529205f,-0.3893685042858124f,-0.02222958207130432f,-0.16193193197250366f,-0.36241263151168823f,-0.29703089594841003f,-1.442853569984436f,0.02945650927722454f,-3.678931951522827f}, +{-0.3440137803554535f,0.24742190539836884f,0.12081471085548401f,-0.13798409700393677f,0.29976895451545715f,0.03644004464149475f,-0.015634635463356972f,0.31089308857917786f,-0.3893685042858124f,-0.02222958207130432f,0.3084188997745514f,-0.18034115433692932f,-0.5072152614593506f,-0.11024320870637894f,0.14975693821907043f,-0.04733842983841896f}, }; const float h3[16][16] = { - {-0.36079341173171997f,-0.37961024045944214f,0.2727331519126892f,-0.045185238122940063f,0.1409938931465149f,-0.3124193549156189f,0.3332441747188568f,0.3036012351512909f,-0.34058231115341187f,0.04891335964202881f,-0.11870327591896057f,0.4001283347606659f,0.36346468329429626f,-0.031135106459259987f,-0.8088640570640564f,0.7760459780693054f}, -{0.047732532024383545f,0.9377238750457764f,-0.36005231738090515f,-1.1819045543670654f,-1.9914966821670532f,0.7524657845497131f,-0.3198729455471039f,0.06247803568840027f,-0.28471994400024414f,-0.4621644914150238f,0.1968936324119568f,-0.8229279518127441f,-3.7293035984039307f,0.4339011609554291f,-0.024609113112092018f,-1.1796332597732544f}, + {-0.36079341173171997f,-1.0544452667236328f,0.6978123784065247f,-0.871442437171936f,0.5853394865989685f,-0.7604526281356812f,0.3332441747188568f,0.3036012351512909f,-0.34396663308143616f,0.04891335964202881f,-0.11870327591896057f,0.4001283347606659f,0.7708577513694763f,-0.5298871994018555f,-1.2042515277862549f,0.9389740228652954f}, +{0.047732532024383545f,1.9760838747024536f,-0.3319854438304901f,-0.05651003122329712f,0.16568204760551453f,1.6888208389282227f,-0.3198729455471039f,0.06247803568840027f,0.15138906240463257f,-0.1780138611793518f,0.39250925183296204f,-0.20516811311244965f,-0.0705946609377861f,1.3485279083251953f,1.5808995962142944f,-1.0221248865127563f}, {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.17104242742061615f,0.3103553056716919f,-0.3615863025188446f,-0.21604417264461517f,0.10202165693044662f,0.20021501183509827f,0.07002416253089905f,-0.25071975588798523f,-0.365601509809494f,0.13192829489707947f,0.41021624207496643f,-0.044967006891965866f,0.07644736766815186f,0.14009788632392883f,-0.011317851953208447f}, +{-0.30922991037368774f,-0.9786229729652405f,0.0447266548871994f,0.8436069488525391f,-1.0423678159713745f,-0.11033640801906586f,0.20021501183509827f,-0.019495464861392975f,-0.3955146372318268f,-0.995495080947876f,0.024069594219326973f,0.16580861806869507f,-0.3412694036960602f,-0.37099555134773254f,0.2960534691810608f,-1.9063494205474854f}, {-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.09769386053085327f,-2.746696710586548f,0.3918752670288086f,2.011580228805542f,0.10467929393053055f,-0.18732719123363495f,0.22384825348854065f,-1.2652316093444824f,-0.25718510150909424f,-0.7171128392219543f,-0.2979877293109894f,2.280244827270508f,-1.876320719718933f,0.6295005679130554f,-0.920184850692749f}, -{0.4110594093799591f,1.0050017833709717f,-0.1761099249124527f,-0.07333908975124359f,0.4117847681045532f,1.0778168439865112f,-0.08670487999916077f,-0.25336313247680664f,0.06240573897957802f,-0.06259563565254211f,-0.1344406008720398f,0.21062831580638885f,-0.591813862323761f,0.7322618961334229f,0.3126353323459625f,-0.3391006588935852f}, -{-0.40892091393470764f,0.043769627809524536f,-0.3832945227622986f,0.2632719576358795f,0.3424709737300873f,-0.05411461368203163f,-0.23312048614025116f,-0.390264093875885f,0.28059282898902893f,-0.1559126079082489f,-0.14134526252746582f,-0.0003446042537689209f,-0.2742875814437866f,-0.36560842394828796f,0.07994696497917175f,0.005298197269439697f}, +{-0.37449589371681213f,1.1136798858642578f,-0.41699525713920593f,-0.8607317805290222f,-0.5609610676765442f,0.8959813117980957f,-0.18732719123363495f,0.07474447041749954f,-0.5360782742500305f,-0.3399319052696228f,-0.17468851804733276f,-0.06915804743766785f,-0.25768864154815674f,-0.14714008569717407f,0.5617286562919617f,-1.5051937103271484f}, +{0.4110594093799591f,0.78630131483078f,-0.6450133323669434f,-0.008402800187468529f,-0.32279857993125916f,1.1440786123275757f,-0.08670487999916077f,-0.25336313247680664f,-0.17651404440402985f,-0.08124587684869766f,-0.1344406008720398f,0.35264110565185547f,0.15909500420093536f,0.15391074120998383f,1.4198027849197388f,-1.21132493019104f}, +{-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.27601176500320435f,0.021936722099781036f,-0.4330016076564789f,-0.2723066210746765f,0.025804312899708748f,-0.08742031455039978f,0.05785742402076721f,-0.1744382083415985f,-0.365364134311676f,0.004663276020437479f,-0.30447322130203247f,-0.2910298705101013f,-0.28859183192253113f,0.3341991901397705f,0.13116025924682617f}, -{-0.408692330121994f,0.12047936022281647f,-0.14102019369602203f,-0.03441958501935005f,-0.056933991611003876f,0.0031521914061158895f,0.03285527229309082f,0.38763079047203064f,-0.20705322921276093f,-0.25883403420448303f,0.12809070944786072f,0.03996849060058594f,-0.5866727232933044f,-0.17112480103969574f,-0.25140365958213806f,0.185969278216362f}, -{-0.2991822361946106f,0.16573359072208405f,0.10651422291994095f,-0.05932474136352539f,0.2603442370891571f,0.04720616713166237f,-0.11253207921981812f,0.34576353430747986f,0.04814547300338745f,-0.35770976543426514f,-0.044228196144104004f,-0.36229726672172546f,0.19220085442066193f,-0.31166696548461914f,0.29107141494750977f,-0.09926263242959976f}, -{-0.2675279378890991f,-0.7027630805969238f,-0.0465799942612648f,0.6069967746734619f,-0.6543746590614319f,0.10425875335931778f,-0.32875844836235046f,-0.31893211603164673f,-0.9891188144683838f,-0.7473343014717102f,-0.4644247591495514f,-0.6956433653831482f,-1.4085837602615356f,-0.46587327122688293f,0.1850929856300354f,0.2097223401069641f}, -{-0.015470266342163086f,-0.45996442437171936f,0.5679937601089478f,0.41968950629234314f,0.41700321435928345f,-0.5484344363212585f,0.05196094512939453f,-0.008358269929885864f,-0.38073283433914185f,-0.38441595435142517f,0.13179203867912292f,-0.11511552333831787f,0.5869813561439514f,-0.2456529140472412f,-0.1713346540927887f,-0.04788174107670784f}, -{0.1863725483417511f,1.027652382850647f,-0.6260011196136475f,-0.14968091249465942f,0.48162347078323364f,0.7913253903388977f,0.04860696196556091f,0.17769548296928406f,-0.21911637485027313f,0.19530586898326874f,-0.3942420482635498f,0.19592127203941345f,0.15968672931194305f,0.8903967142105103f,-0.12126956880092621f,-0.2643684148788452f}, +{0.15459725260734558f,-0.7474811673164368f,-4.309510707855225f,-0.5836078524589539f,-0.26115214824676514f,0.00889985915273428f,-0.08742031455039978f,-0.07468682527542114f,-0.17930063605308533f,-0.5245974063873291f,0.03877042606472969f,-1.605802059173584f,-0.0976514220237732f,-0.8848958611488342f,0.33983904123306274f,-8.166439056396484f}, +{-0.408692330121994f,-0.14552755653858185f,0.0954647809267044f,-0.05043145269155502f,0.013434916734695435f,-0.19936445355415344f,0.03285527229309082f,0.38763079047203064f,-0.20705322921276093f,-0.25883403420448303f,0.12809070944786072f,0.040784213691949844f,-0.4311254620552063f,-0.27929094433784485f,-0.32302793860435486f,0.2955302298069f}, +{-0.2991822361946106f,0.14890679717063904f,0.07163208723068237f,0.14030085504055023f,0.33410418033599854f,0.04110364615917206f,-0.11253207921981812f,0.34576353430747986f,0.04814547300338745f,-0.35770976543426514f,-0.044228196144104004f,-0.36229726672172546f,0.264950692653656f,-0.3796345591545105f,0.10643193125724792f,-0.04422954097390175f}, +{-0.2675279378890991f,-0.47068309783935547f,0.413285493850708f,0.7849901914596558f,-0.11329436302185059f,-0.5369298458099365f,-0.32875844836235046f,-0.31893211603164673f,-0.554490327835083f,-0.9232566356658936f,-0.44507408142089844f,-0.6649309396743774f,0.32159000635147095f,-1.4503411054611206f,-0.4707498550415039f,2.586827039718628f}, +{-0.015470266342163086f,-0.9361926317214966f,0.85772305727005f,1.6152592897415161f,0.5753886699676514f,-0.8444603085517883f,0.05196094512939453f,-0.008358269929885864f,-0.4502861201763153f,-0.38441595435142517f,0.13179203867912292f,-0.11511552333831787f,0.7613057494163513f,-0.5449571013450623f,-0.3422447741031647f,0.12619388103485107f}, +{0.1863725483417511f,0.3401188552379608f,-0.3819473683834076f,-0.6704044342041016f,0.006878119893372059f,-0.006658011116087437f,0.04860696196556091f,0.03533736988902092f,-0.17769290506839752f,0.12980200350284576f,-0.5105772018432617f,0.4451523721218109f,0.3094521760940552f,-0.7750046253204346f,-0.49882543087005615f,-17.386110305786133f}, }; -const float hout[16] = { 0.45773375034332275f,0.2729235589504242f,-0.37731027603149414f,-0.32933512330055237f,-0.010641058906912804f,0.2983214557170868f,0.0030125975608825684f,0.15066689252853394f,-0.12446124851703644f,0.05735517293214798f,0.12794779241085052f,-0.3938122093677521f,-0.4296848177909851f,0.1747756004333496f,0.6327763199806213f,-0.7930030226707458f }; +const float hout[16] = { 0.45773375034332275f,0.1045747771859169f,-0.2609619200229645f,-0.16448500752449036f,0.012055673636496067f,0.2897934019565582f,0.0030125975608825684f,0.1194910779595375f,-0.10572303831577301f,0.0845501571893692f,0.2928183674812317f,-0.05663624778389931f,-0.2690132260322571f,0.5545154213905334f,0.9956949353218079f,-0.3017843961715698f }; -const float b1[16] = { 0.5048338770866394f,1.1368399858474731f,-1.7145336866378784f,0.32790324091911316f,0.8744083642959595f,1.0644468069076538f,-0.058932315558195114f,0.3794618546962738f,0.5066848993301392f,-0.24974018335342407f,0.6001797914505005f,1.1314903497695923f,-0.3881424069404602f,-0.18091394007205963f,-1.087764859199524f,1.9881949424743652f }; +const float b1[16] = { 0.39336520433425903f,1.1249428987503052f,-1.7145336866378784f,0.24362370371818542f,1.6444652080535889f,1.2420988082885742f,-0.058932315558195114f,1.667996883392334f,0.5253145098686218f,-1.5228825807571411f,0.5778790712356567f,1.4138038158416748f,-0.43705815076828003f,-1.02257239818573f,-1.087764859199524f,0.9317583441734314f }; -const float b2[16] = { -0.1441032886505127f,-0.8879309892654419f,-1.4564176797866821f,-0.5851497054100037f,-0.6939148902893066f,-0.021673886105418205f,1.0555987358093262f,-0.4324702322483063f,-1.20063054561615f,-1.912178635597229f,-0.2889278531074524f,0.29600390791893005f,-0.33285990357398987f,2.090059995651245f,-0.06140650063753128f,0.4017092287540436f }; +const float b2[16] = { -0.29958510398864746f,-0.4038909375667572f,-1.4564176797866821f,-0.2930338382720947f,-0.6939148902893066f,0.19727440178394318f,-0.22042614221572876f,-0.30969977378845215f,-1.20063054561615f,-1.912178635597229f,-0.1345239281654358f,0.2660270631313324f,-0.4689517319202423f,1.9678999185562134f,-0.05483059585094452f,0.8317065834999084f }; -const float b3[16] = { -1.963319182395935f,-0.6341220736503601f,0.8967257738113403f,1.0468417406082153f,-0.003462210763245821f,-0.34838107228279114f,-0.45353031158447266f,-0.6562485098838806f,-0.0170818492770195f,0.186463862657547f,-0.5166678428649902f,-0.4573240876197815f,3.014120101928711f,-0.0979948565363884f,-1.3354506492614746f,-0.526797354221344f }; +const float b3[16] = { -1.963319182395935f,-0.021526452153921127f,0.6601975560188293f,0.3744125962257385f,-0.2781398594379425f,0.5429407954216003f,-0.45353031158447266f,-0.7976158261299133f,0.3646324574947357f,0.142522931098938f,-0.22223100066184998f,-0.17252527177333832f,-0.6005617380142212f,-0.5316801071166992f,-1.7298851013183594f,-2.4713284969329834f }; -const float bout[1] = { -0.11929181218147278f }; +const float bout[1] = { -0.17714238166809082f }; float VALVE_POS_RAW_NN = 0.0f;