![](/media/cache/img/default_profile.jpg.50x50_q85.jpg)
Original Version of STM Board
Diff: main.cpp
- Revision:
- 163:ba1290eb0341
- Parent:
- 162:9dd4f35e9de8
- Child:
- 164:0ca5f6b916bf
--- a/main.cpp Mon Oct 12 10:48:56 2020 +0000 +++ b/main.cpp Mon Oct 12 13:36:51 2020 +0000 @@ -1,4 +1,4 @@ -//201012-3 +//201012-4 #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] = { - {-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}, + {-0.7782070636749268f,0.6491429805755615f,0.12903714179992676f,0.4701420068740845f,-1.1851774454116821f,0.936890721321106f,-0.17472904920578003f,0.7034250497817993f,-0.9987554550170898f,-0.6859566569328308f,-0.23918497562408447f,-0.47080671787261963f,-0.2573468089103699f,-0.383545845746994f,-0.2571594715118408f,-0.6034055352210999f}, +{-0.7758541107177734f,0.5786361694335938f,-0.3927857577800751f,0.08956815302371979f,-0.9368128180503845f,0.5480309128761292f,-0.4054011106491089f,0.38553035259246826f,-0.5686935186386108f,-0.2845592200756073f,-0.27596044540405273f,-0.322929710149765f,0.24264559149742126f,-0.7802993655204773f,-0.20967772603034973f,-0.23716892302036285f}, +{-0.7401633262634277f,0.46712183952331543f,0.36391180753707886f,-0.3321636915206909f,-0.3408280909061432f,0.47471240162849426f,0.2872133255004883f,0.3749244511127472f,-0.3514612019062042f,-0.14593198895454407f,-0.34979507327079773f,-0.20954687893390656f,0.004788324702531099f,-0.1702752262353897f,0.05590221285820007f,-0.39047178626060486f}, +{-0.47303804755210876f,0.02896730788052082f,0.39742106199264526f,0.2539563477039337f,0.1472349464893341f,-0.2430400550365448f,-0.11584559082984924f,0.3623321056365967f,0.1986670196056366f,0.2114676684141159f,0.09412087500095367f,0.4054425358772278f,-0.15688329935073853f,-0.04453570395708084f,-0.2961459457874298f,0.024065889418125153f}, +{0.4291183650493622f,-0.20706309378147125f,-0.0051451027393341064f,0.12066979706287384f,0.7229619026184082f,-0.46650439500808716f,0.1294034719467163f,-0.43005433678627014f,0.5799059271812439f,0.4568421244621277f,0.346163809299469f,0.27162712812423706f,-0.05989838391542435f,0.5070501565933228f,-0.3865056037902832f,-0.18474432826042175f}, +{1.40835440158844f,-1.5322299003601074f,0.21773302555084229f,0.049874428659677505f,1.6716647148132324f,-1.5617104768753052f,0.16514194011688232f,-1.3870646953582764f,0.8992400765419006f,1.2278813123703003f,-0.24927276372909546f,0.3564600944519043f,-0.25600966811180115f,1.372388482093811f,-0.4132833778858185f,-0.08806907385587692f}, +{-0.007646323647350073f,-0.03775127977132797f,-0.2501986622810364f,-0.5623117089271545f,-0.7681918740272522f,0.6864805817604065f,0.06014183163642883f,-0.5644404888153076f,2.0680627822875977f,0.15593670308589935f,0.1473282128572464f,3.31565523147583f,-0.16409292817115784f,0.5289204716682434f,-0.15618428587913513f,-0.6547040939331055f}, +{-0.15699079632759094f,-0.02587871067225933f,-0.26619744300842285f,-0.06334565579891205f,-0.4807869493961334f,-0.03524485230445862f,-0.17925891280174255f,-0.24511542916297913f,-0.10653954744338989f,-0.02843543514609337f,0.10170961171388626f,-0.03251127153635025f,0.3803463280200958f,-0.05020173266530037f,0.04303058981895447f,-0.06777117401361465f}, +{0.37593480944633484f,0.11946912854909897f,0.10248100757598877f,-0.6360602974891663f,-0.2469322681427002f,-0.06668904423713684f,-0.07246989011764526f,-0.739950954914093f,-0.6203954815864563f,0.6119033694267273f,-0.30078116059303284f,0.3835883140563965f,0.23859620094299316f,0.39798247814178467f,-0.30555272102355957f,0.10598413646221161f}, +{0.28934794664382935f,-0.6171976327896118f,0.18462657928466797f,-0.428294837474823f,0.07063954323530197f,-0.050270505249500275f,-0.2990540862083435f,-0.6104825139045715f,-0.5936463475227356f,-0.027555301785469055f,-0.011696022935211658f,-0.6103222370147705f,0.38236182928085327f,0.1061057299375534f,0.3484981060028076f,-0.011962189339101315f}, +{0.7035959362983704f,-0.21420879662036896f,0.37182438373565674f,-0.026284512132406235f,-0.13709737360477448f,-0.21489951014518738f,-0.20339298248291016f,-0.4323478043079376f,-1.100731372833252f,0.39214086532592773f,0.3449837267398834f,-0.6420271396636963f,-0.05592392757534981f,0.2410035878419876f,0.26688337326049805f,-0.3181474804878235f}, +{-0.18418659269809723f,-0.5891847610473633f,-0.40320003032684326f,-0.2352007031440735f,-0.08247513324022293f,-0.20805437862873077f,0.1533789038658142f,0.09852540493011475f,-0.7253431677818298f,0.47784486413002014f,-0.41759979724884033f,-0.30954381823539734f,0.15576402842998505f,0.1422012448310852f,0.10493969917297363f,-0.12203488498926163f}, +{0.04192999005317688f,-0.2903960347175598f,0.19847965240478516f,-0.027737237513065338f,0.11114147305488586f,0.05220293998718262f,-0.2404318004846573f,0.00512412516400218f,-0.43889668583869934f,0.017222512513399124f,-0.11239635199308395f,-0.637906014919281f,0.10340824723243713f,0.13779230415821075f,-0.22268100082874298f,-0.4974827170372009f}, +{-0.14186790585517883f,-0.10981883108615875f,0.4127817749977112f,-0.20819373428821564f,-0.4382835924625397f,-0.30185166001319885f,-0.32001304626464844f,-0.31909188628196716f,-0.06913595646619797f,-0.06903842836618423f,-0.19832663238048553f,-0.5162372589111328f,-0.30104967951774597f,0.03277161717414856f,0.0479682981967926f,-0.08052478730678558f}, +{0.06581345945596695f,0.0516885481774807f,0.20282304286956787f,-0.010844850912690163f,0.12983281910419464f,-0.13831575214862823f,0.04202890396118164f,0.3641358017921448f,0.5405370593070984f,0.1525001972913742f,-0.2827072739601135f,-0.8250942826271057f,0.11547433584928513f,-0.031266048550605774f,0.0668090283870697f,-0.029975183308124542f}, +{-0.22052569687366486f,-0.30482664704322815f,-0.40439701080322266f,-0.15118825435638428f,-0.346107542514801f,-0.02491016499698162f,-0.15568238496780396f,0.1718081682920456f,0.5679032206535339f,0.027298452332615852f,-0.4771260619163513f,-0.9331557154655457f,-0.25903719663619995f,0.0014522698475047946f,-0.08245879411697388f,0.08631396293640137f}, +{-0.1600492298603058f,-0.3318108022212982f,0.16706281900405884f,0.01360999420285225f,-0.06460311263799667f,-0.4795653223991394f,-0.041414469480514526f,0.17084524035453796f,0.6028988361358643f,0.2521352767944336f,-0.3568115830421448f,-1.1606674194335938f,0.12424659729003906f,0.5091745257377625f,0.29427415132522583f,0.09482437372207642f}, }; const float h2[16][16] = { - {-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.8240676522254944f,0.418407678604126f,-0.06966331601142883f,0.8915560245513916f,-0.21907491981983185f,0.9427316784858704f,0.01081257127225399f,0.0904630720615387f,-0.43008196353912354f,-0.1415480375289917f,1.1416629552841187f,-0.5092085003852844f,-0.021806523203849792f,-1.2623779773712158f,-0.3406977355480194f,-0.5580283999443054f}, +{1.247713565826416f,-1.0203375816345215f,0.057057321071624756f,-0.2963460683822632f,-0.35503754019737244f,-0.05269136279821396f,-0.5763883590698242f,-0.2990124225616455f,-0.33757925033569336f,0.2895788848400116f,-1.2604035139083862f,-1.35958993434906f,0.20752204954624176f,0.3948659300804138f,0.421718955039978f,-0.795404314994812f}, {-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.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.04437478631734848f,-0.28213173151016235f,-0.2894435524940491f,0.38555917143821716f,0.08946844935417175f,0.280143678188324f,-0.23805393278598785f,0.4122363030910492f,0.26211628317832947f,0.2953031361103058f,0.7276968359947205f,0.2562834322452545f,-0.5367405414581299f,-0.17552077770233154f,0.19840364158153534f,0.02696518413722515f}, +{-0.9877610206604004f,-1.0293469429016113f,-0.25313520431518555f,1.5614490509033203f,0.036378175020217896f,1.359816312789917f,-0.515220046043396f,-0.08570799231529236f,-0.024399548768997192f,-0.39465832710266113f,-0.9470573663711548f,-3.767648935317993f,-0.03373248130083084f,-2.4981930255889893f,-1.7152040004730225f,-0.6961717009544373f}, +{0.5803267955780029f,0.46929454803466797f,-0.3519742488861084f,-1.587228775024414f,-0.3015052080154419f,-0.8025418519973755f,-0.6162646412849426f,-0.019414573907852173f,-0.23047015070915222f,0.3579089343547821f,-0.7723634243011475f,1.0883777141571045f,-0.34075140953063965f,0.8830240964889526f,1.1934536695480347f,-0.6167786717414856f}, {-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.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}, +{2.151453971862793f,-1.15066659450531f,0.33083590865135193f,2.9788217544555664f,-0.14358049631118774f,0.009603820741176605f,-0.2622198760509491f,-0.3003333508968353f,0.2600560486316681f,-0.37898191809654236f,1.0725038051605225f,-0.11090826243162155f,-0.4669531583786011f,-0.13649901747703552f,0.1290932297706604f,-0.2693244516849518f}, +{0.08625983446836472f,1.017911672592163f,-0.11379697918891907f,-0.46413755416870117f,0.041274964809417725f,-0.6844027042388916f,-0.26558759808540344f,0.0019084513187408447f,0.06103590130805969f,-0.38046833872795105f,-0.4216393232345581f,-0.9238942861557007f,-0.5041533708572388f,0.18477340042591095f,-1.0209089517593384f,-0.44143933057785034f}, +{-0.26302531361579895f,0.44021934270858765f,-0.13502129912376404f,0.08551757037639618f,0.12987366318702698f,0.40898486971855164f,-0.018951114267110825f,-0.3632148504257202f,-0.13619378209114075f,0.16938945651054382f,0.5527027249336243f,0.0025539647322148085f,0.24943487346172333f,-0.5730003714561462f,0.14662101864814758f,-0.6444457769393921f}, +{-0.22411708533763885f,-0.03178584948182106f,0.0457797646522522f,-0.3565993010997772f,-0.03321319818496704f,-0.4606964886188507f,0.17873415350914001f,-0.20421427488327026f,-0.050184011459350586f,0.12480869889259338f,-0.23638705909252167f,0.3545852601528168f,-0.3647043704986572f,0.4434041976928711f,-0.37238815426826477f,-0.3044975697994232f}, +{0.13661572337150574f,0.5665580630302429f,0.3954955041408539f,-0.974884569644928f,0.0033026933670043945f,-0.09023897349834442f,-0.4617912769317627f,-0.11795541644096375f,0.3487861454486847f,-0.32520344853401184f,-0.32573768496513367f,-1.18289053440094f,-0.050490789115428925f,0.38989880681037903f,0.1276102513074875f,-0.01154602225869894f}, +{-0.263723224401474f,-0.20328736305236816f,-0.15798500180244446f,0.40370380878448486f,-0.37393757700920105f,0.35993337631225586f,0.11292675137519836f,-0.2947862446308136f,-0.3764709532260895f,0.2424570620059967f,-0.10146453231573105f,-0.2837170362472534f,0.41839322447776794f,-0.02741786278784275f,-0.1376086175441742f,0.12069813907146454f}, +{-0.47054848074913025f,1.0716147422790527f,-0.2018718123435974f,-0.07751505076885223f,0.07545611262321472f,0.35023728013038635f,-0.3926117718219757f,-0.21416273713111877f,-0.24509364366531372f,0.19522181153297424f,0.682529091835022f,-0.18484939634799957f,-0.29867327213287354f,-0.09413531422615051f,-0.2697591781616211f,-0.4165325462818146f}, {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.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}, +{-0.10712721943855286f,0.13121914863586426f,0.12081471085548401f,0.16042611002922058f,0.29976895451545715f,-0.04433159902691841f,-0.20203635096549988f,0.31089308857917786f,-0.3893685042858124f,-0.02222958207130432f,0.647564709186554f,-0.27588149905204773f,-0.33597326278686523f,0.06305329501628876f,0.27349191904067993f,-0.07539836317300797f}, }; const float h3[16][16] = { - {-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.36079341173171997f,-2.6688880920410156f,-0.5665562748908997f,-0.5886639952659607f,-1.3899726867675781f,-0.2571457028388977f,0.3332441747188568f,0.3036012351512909f,-0.2405819296836853f,0.04891335964202881f,-0.012469855137169361f,0.35532346367836f,0.4595978558063507f,0.34633511304855347f,-1.0243231058120728f,1.4172717332839966f}, +{0.047732532024383545f,-0.864802360534668f,-0.36379140615463257f,-0.45482611656188965f,-1.4636168479919434f,1.0332609415054321f,-0.3198729455471039f,0.06247803568840027f,0.22281603515148163f,-0.1889672726392746f,0.3200748562812805f,-0.3128277659416199f,-0.3811894357204437f,0.11628872901201248f,-0.23127791285514832f,-0.5120672583580017f}, {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.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.30922991037368774f,-0.2669757306575775f,0.4926244914531708f,-0.4461900293827057f,1.3490219116210938f,1.5095500946044922f,0.20021501183509827f,0.07002416253089905f,-0.22941948473453522f,-0.365601509809494f,0.03486458212137222f,0.35100120306015015f,0.8351967334747314f,-0.2584487199783325f,0.09148387610912323f,1.6657618284225464f}, {-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.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.37449589371681213f,0.6616626977920532f,-0.5037783980369568f,-0.03405240923166275f,0.2661341726779938f,0.41830727458000183f,-0.18732719123363495f,0.22384825348854065f,-0.45765504240989685f,-0.13779403269290924f,-0.1830713152885437f,0.09472774714231491f,-0.7996309399604797f,0.7552958130836487f,0.4052765965461731f,-0.4932766854763031f}, +{0.4110594093799591f,0.2136905938386917f,-0.2619992792606354f,0.37246426939964294f,0.1453281193971634f,-0.14107628166675568f,-0.08670487999916077f,-0.25336313247680664f,-0.030661463737487793f,-0.06259563565254211f,-0.1344406008720398f,0.35313835740089417f,0.21155259013175964f,0.07836496084928513f,0.3126353323459625f,-0.25755825638771057f}, {-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.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}, +{0.15459725260734558f,0.8224613666534424f,-0.3064938187599182f,-0.3072441816329956f,-0.5526019930839539f,0.48298078775405884f,-0.08742031455039978f,0.05785742402076721f,-0.09789052605628967f,-0.28812023997306824f,0.033907707780599594f,-0.38075342774391174f,-0.03615063428878784f,-1.6840639114379883f,0.26928839087486267f,-0.010062726214528084f}, +{-0.408692330121994f,-2.517812967300415f,-0.11083393543958664f,0.0922636091709137f,-0.16810250282287598f,1.1757416725158691f,0.03285527229309082f,0.38763079047203064f,-0.20705322921276093f,-0.25883403420448303f,0.12809070944786072f,0.03996849060058594f,-1.5240833759307861f,0.7983022332191467f,-0.2927568852901459f,-1.450525164604187f}, +{-0.2991822361946106f,0.222604438662529f,0.06663549691438675f,-0.05932474136352539f,0.23143784701824188f,0.09695999324321747f,-0.11253207921981812f,0.34576353430747986f,0.04814547300338745f,-0.35770976543426514f,-0.044228196144104004f,-0.36229726672172546f,0.1606387346982956f,-0.2803518772125244f,0.36124154925346375f,-0.024238338693976402f}, +{-0.2675279378890991f,-0.04284703731536865f,0.010342920199036598f,-0.09774186462163925f,0.18652725219726562f,-0.3353549838066101f,-0.32875844836235046f,-0.31893211603164673f,-0.4678332209587097f,-0.514969527721405f,-0.4628009498119354f,-0.5192286372184753f,0.6670702695846558f,-0.6567565202713013f,0.1746457815170288f,0.4940999448299408f}, +{-0.015470266342163086f,-0.5832862854003906f,0.12028253078460693f,0.18373742699623108f,1.1075485944747925f,0.8080629706382751f,0.05196094512939453f,-0.008358269929885864f,-0.42303666472435f,-0.3940681517124176f,0.023923292756080627f,-0.166588693857193f,0.5119495987892151f,-2.5919668674468994f,0.04955989867448807f,0.3832632005214691f}, +{0.1863725483417511f,0.3109317123889923f,-0.12470856308937073f,-0.44225093722343445f,0.34884071350097656f,0.1748960316181183f,0.04860696196556091f,0.17769548296928406f,-0.04527851566672325f,0.3378079831600189f,-0.49009230732917786f,0.19592127203941345f,0.38452163338661194f,0.1770392656326294f,-0.05779607966542244f,-0.061975784599781036f}, }; -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 hout[16] = { 0.45773375034332275f,0.35016676783561707f,-0.14366678893566132f,-0.051637958735227585f,-0.5469676852226257f,0.44448554515838623f,0.0030125975608825684f,0.15066689252853394f,-0.15143240988254547f,-0.01384822092950344f,0.1270807832479477f,-0.123662568628788f,-0.300317645072937f,-0.7729120254516602f,0.28826022148132324f,-0.28641241788864136f }; -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 b1[16] = { 0.6041062474250793f,1.2316960096359253f,-1.7145336866378784f,0.29340583086013794f,1.1885665655136108f,0.8268938660621643f,-0.058932315558195114f,1.111470341682434f,0.2895921468734741f,-1.0517315864562988f,0.5686121582984924f,1.0510215759277344f,-0.36297622323036194f,-1.022769808769226f,-1.087764859199524f,0.7172530889511108f }; -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 b2[16] = { 0.2761356830596924f,-0.7251531481742859f,-1.4564176797866821f,-0.17254522442817688f,-0.6939148902893066f,0.11132903397083282f,0.1587718278169632f,-0.30969977378845215f,-1.20063054561615f,-1.912178635597229f,-0.01902586594223976f,0.6691503524780273f,-0.21192844212055206f,1.7906622886657715f,0.3284146785736084f,0.520842969417572f }; -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 b3[16] = { -1.963319182395935f,-0.2109249085187912f,0.14070700109004974f,-0.24310991168022156f,0.008521673269569874f,0.6228616833686829f,-0.45353031158447266f,-0.6562485098838806f,0.4408775269985199f,0.42920032143592834f,-0.23806928098201752f,-0.04586884006857872f,-0.3591490685939789f,0.9627102613449097f,-1.3424131870269775f,-0.26385825872421265f }; -const float bout[1] = { -0.17714238166809082f }; +const float bout[1] = { -0.29828333854675293f }; float VALVE_POS_RAW_NN = 0.0f;