![](/media/cache/img/default_profile.jpg.50x50_q85.jpg)
distribution-201229
Diff: main.cpp
- Revision:
- 158:cb9a6999d5e2
- Parent:
- 157:27dcc28caf98
- Child:
- 159:9dbc8dce3695
--- a/main.cpp Sun Oct 11 11:06:30 2020 +0000 +++ b/main.cpp Sun Oct 11 13:20:29 2020 +0000 @@ -1,4 +1,4 @@ -//201011-4 +//201011-5 #include "mbed.h" #include "FastPWM.h" #include "INIT_HW.h" @@ -193,72 +193,77 @@ float input_NN[num_input] = { 0.0f }; const float h1[num_input][16] = { - {-0.41967445611953735f,0.37873345613479614f,0.12903714179992676f,1.566642165184021f,-0.6392889022827148f,0.46405133605003357f,-0.17472904920578003f,0.23627512156963348f,-1.522965908050537f,-0.13737569749355316f,-0.23695562779903412f,0.46054607629776f,-0.26791468262672424f,0.08036390691995621f,-0.2571594715118408f,-0.9128035306930542f}, -{-0.6333914995193481f,0.5187541842460632f,-0.3927857577800751f,0.6224761009216309f,-0.7078897953033447f,0.32257577776908875f,-0.4054011106491089f,0.17311148345470428f,-0.8967714905738831f,0.09137919545173645f,-0.273461252450943f,0.06541208177804947f,0.23201173543930054f,-0.5193482637405396f,-0.20967772603034973f,-0.37620794773101807f}, -{-0.7784690856933594f,0.6019817590713501f,0.36391180753707886f,-0.6322181820869446f,-0.41941067576408386f,0.4507597088813782f,0.2872133255004883f,0.41458404064178467f,-0.25675830245018005f,0.05985170602798462f,-0.3470781147480011f,-0.7762637138366699f,-0.005910140927881002f,-0.09644216299057007f,0.05590221285820007f,-0.20239199697971344f}, -{-0.6094654202461243f,0.2642550766468048f,0.39742106199264526f,-0.7088627815246582f,-0.15601298213005066f,-0.14365658164024353f,-0.11584559082984924f,0.5648146271705627f,0.7046627998352051f,0.27347198128700256f,0.09700702130794525f,-0.9800194501876831f,-0.16767489910125732f,-0.08512844890356064f,-0.2961459457874298f,0.5443597435951233f}, -{0.325019896030426f,-0.046085916459560394f,-0.0051451027393341064f,-0.6876339912414551f,0.39472496509552f,-0.36281618475914f,0.1294034719467163f,-0.2687367796897888f,1.096472978591919f,0.4311322867870331f,0.3492468595504761f,-0.9326401352882385f,-0.07080186158418655f,0.4954993426799774f,-0.3865056037902832f,0.42471370100975037f}, -{1.496168851852417f,-1.6847341060638428f,0.21773302555084229f,0.6817849278450012f,1.5735235214233398f,-1.5806689262390137f,0.16514194011688232f,-1.5561888217926025f,0.7980576157569885f,1.1625641584396362f,-0.2459760159254074f,1.0646815299987793f,-0.26693665981292725f,1.58890700340271f,-0.4132833778858185f,0.23588962852954865f}, -{0.15149545669555664f,0.06852209568023682f,-0.2501986622810364f,-0.8095498085021973f,-0.4693104922771454f,0.27921709418296814f,0.06014183163642883f,-0.2782285809516907f,0.4420543313026428f,-0.24211812019348145f,0.14847882091999054f,0.7758012413978577f,-0.17443716526031494f,0.39317256212234497f,-0.15618428587913513f,-0.7309704422950745f}, -{-0.21604697406291962f,0.005178035702556372f,-0.26619744300842285f,-1.3523588180541992f,-0.7772549390792847f,0.11216655373573303f,-0.17925891280174255f,-0.08405250310897827f,0.09736985713243484f,-0.3568475842475891f,0.10272607952356339f,-0.993890106678009f,0.36978718638420105f,-0.06344763934612274f,0.04303058981895447f,0.18944784998893738f}, -{0.1601627618074417f,0.24917300045490265f,0.10248100757598877f,-0.7002090215682983f,-0.3756590485572815f,0.1263592541217804f,-0.07246989011764526f,-0.46026411652565f,-0.6350913047790527f,0.245502769947052f,-0.29982441663742065f,0.7031681537628174f,0.22745831310749054f,0.3247081935405731f,-0.30555272102355957f,-0.12139333039522171f}, -{-0.06395617127418518f,-0.41653573513031006f,0.18462657928466797f,0.13104702532291412f,0.019108425825834274f,0.219625324010849f,-0.2990540862083435f,-0.20161409676074982f,-0.44463133811950684f,-0.4351271390914917f,-0.01077987626194954f,0.19068361818790436f,0.3705434799194336f,-0.07129542529582977f,0.3484981060028076f,-0.4833911955356598f}, -{0.3339501917362213f,-0.026471704244613647f,0.37182438373565674f,0.6991376280784607f,-0.13665160536766052f,0.0677790641784668f,-0.20339298248291016f,-0.015070509165525436f,-0.7672253847122192f,-0.008873549290001392f,0.34590768814086914f,0.11151141673326492f,-0.068320132791996f,0.03213067725300789f,0.26688337326049805f,-0.8018009662628174f}, -{-0.3759828507900238f,-0.5480061769485474f,-0.40320003032684326f,0.6892357468605042f,0.043409690260887146f,-0.08076421171426773f,0.1533789038658142f,0.30701515078544617f,-0.4441049098968506f,0.15295711159706116f,-0.41660815477371216f,0.4870837926864624f,0.1430651843547821f,0.07823658734560013f,0.10493969917297363f,-0.45909836888313293f}, -{-0.05031634122133255f,-0.334393709897995f,0.19847965240478516f,0.8851298093795776f,0.2558566629886627f,0.09873975813388824f,-0.2404318004846573f,0.06932129710912704f,-0.34938523173332214f,-0.2741842567920685f,-0.11130498349666595f,-0.0031882869079709053f,0.09049945324659348f,0.12110336124897003f,-0.22268100082874298f,-0.6294573545455933f}, -{-0.17898592352867126f,-0.20976175367832184f,0.4127817749977112f,0.6296868920326233f,-0.3222833275794983f,-0.28206732869148254f,-0.32001304626464844f,-0.3587503433227539f,-0.1776779741048813f,-0.32038018107414246f,-0.19715821743011475f,-0.05108601599931717f,-0.3142296373844147f,0.015666889026761055f,0.0479682981967926f,-0.07511270046234131f}, -{0.07588732987642288f,-0.05007550120353699f,0.20282304286956787f,0.7566778659820557f,0.22830183804035187f,-0.13325732946395874f,0.04202890396118164f,0.2626529633998871f,0.3084530234336853f,-0.036667197942733765f,-0.28155654668807983f,-0.4388772249221802f,0.10210557281970978f,-0.04867098852992058f,0.0668090283870697f,0.015623959712684155f}, -{-0.15067312121391296f,-0.3757985234260559f,-0.40439701080322266f,0.5455164313316345f,-0.28818508982658386f,0.003979508765041828f,-0.15568238496780396f,-0.033903513103723526f,0.3205355703830719f,-0.08129708468914032f,-0.4759772717952728f,-0.24516192078590393f,-0.2725945711135864f,0.00021956076670903713f,-0.08245879411697388f,0.10284788906574249f}, -{-0.12781251966953278f,-0.2527187466621399f,0.16706281900405884f,0.7601931691169739f,-0.07666818797588348f,-0.32746684551239014f,-0.041414469480514526f,-0.09359852969646454f,0.1859569549560547f,0.1608126014471054f,-0.3556275963783264f,0.1622852236032486f,0.11063656210899353f,0.43013104796409607f,0.29427415132522583f,-0.045867811888456345f}, + {-0.995478630065918f,0.9198314547538757f,0.12024858593940735f,0.41609469056129456f,-1.220615029335022f,0.9601585268974304f,-0.1628284603357315f,0.7834000587463379f,-0.274306058883667f,-0.8252388834953308f,-0.21210439503192902f,-0.5697677731513977f,-0.5173769593238831f,-0.5151278972625732f,-0.2396446317434311f,-0.6752611398696899f}, +{-0.793222188949585f,0.6508582234382629f,-0.36603355407714844f,0.0721883550286293f,-0.9411556124687195f,0.47195619344711304f,-0.3777896761894226f,0.355355441570282f,-0.0824921503663063f,-0.27552446722984314f,-0.24640965461730957f,-0.35485702753067017f,0.046066828072071075f,-0.7441280484199524f,-0.1953967958688736f,-0.2680785655975342f}, +{-0.5368599891662598f,0.31608015298843384f,0.33912619948387146f,-0.3091577887535095f,-0.35867923498153687f,0.2646964192390442f,0.2676515281200409f,0.2080632448196411f,-0.158430278301239f,0.04930341616272926f,-0.31468620896339417f,-0.26437973976135254f,-0.07669703662395477f,-0.021274851635098457f,0.05209478735923767f,-0.3424776792526245f}, +{-0.1376415640115738f,-0.2578064799308777f,0.3703531324863434f,0.25495287775993347f,0.04572847858071327f,-0.46923601627349854f,-0.10795548558235168f,0.1248013973236084f,0.012896922416985035f,0.5033134818077087f,0.09927070140838623f,0.25469693541526794f,-0.12730878591537476f,0.1781374216079712f,-0.27597576379776f,0.11622545123100281f}, +{0.6801324486732483f,-0.47010254859924316f,-0.004794687032699585f,0.16070765256881714f,0.45550698041915894f,-0.5952674150466919f,0.12058994174003601f,-0.5624579191207886f,0.018951361998915672f,0.6855383515357971f,0.3340449929237366f,0.16443736851215363f,0.06441787630319595f,0.6239033341407776f,-0.36018112301826477f,-0.00606316514313221f}, +{1.2907555103302002f,-1.4289828538894653f,0.20290347933769226f,0.14411549270153046f,1.0873916149139404f,-1.2877576351165771f,0.15389427542686462f,-1.2166301012039185f,0.02208642102777958f,1.0948045253753662f,-0.22055046260356903f,0.533970296382904f,-0.015460304915904999f,1.1318421363830566f,-0.38513508439064026f,0.16354717314243317f}, +{0.19245342910289764f,-0.07002278417348862f,-0.2331579178571701f,-0.4873920679092407f,-0.134405255317688f,0.1848319172859192f,0.05604562163352966f,-0.48525747656822205f,0.3328070640563965f,0.19053687155246735f,0.1441093385219574f,0.2963859736919403f,-0.24228647351264954f,0.3815491795539856f,-0.14554673433303833f,-0.19456599652767181f}, +{0.11431179940700531f,-0.26932448148727417f,-0.24806702136993408f,0.007744771894067526f,-0.14775075018405914f,-0.133896142244339f,-0.16704979538917542f,-0.45989078283309937f,0.018813233822584152f,0.20975583791732788f,0.10153167694807053f,-0.10331901162862778f,0.27167901396751404f,0.1237683892250061f,0.04009982943534851f,0.011260374449193478f}, +{0.23008863627910614f,0.29850244522094727f,0.09550115466117859f,-0.45261427760124207f,-0.02464119717478752f,0.10702452063560486f,-0.06753402948379517f,-0.48733916878700256f,-0.2574649155139923f,0.4113394021987915f,-0.27366748452186584f,0.2584075927734375f,0.14615985751152039f,0.1685597002506256f,-0.2847418785095215f,0.03212627395987511f}, +{-0.058576181530952454f,-0.1520775556564331f,0.17205187678337097f,-0.23176325857639313f,0.19266363978385925f,0.29146021604537964f,-0.2786858379840851f,-0.10855390876531601f,-0.01258982066065073f,-0.40122514963150024f,-0.00432794401422143f,-0.5538689494132996f,0.2873327434062958f,-0.3270157277584076f,0.3247623145580292f,-0.17453411221504211f}, +{0.2796000838279724f,0.2806985378265381f,0.34649983048439026f,0.11515120416879654f,-0.07202741503715515f,0.1997632533311844f,-0.1895401030778885f,0.15238909423351288f,-0.4028747081756592f,-0.06700267642736435f,0.32801246643066406f,-0.47007516026496887f,-0.11403506249189377f,-0.30518004298210144f,0.24870619177818298f,-0.5064005255699158f}, +{-0.5265949368476868f,-0.1171315386891365f,-0.3757385015487671f,-0.13702787458896637f,-0.07295999675989151f,0.2033991515636444f,0.1429324448108673f,0.6307908892631531f,-0.14448182284832f,0.01648864895105362f,-0.3825119137763977f,-0.14606429636478424f,0.09395758807659149f,-0.44470077753067017f,0.09779238700866699f,-0.2896309792995453f}, +{-0.06216251477599144f,-0.12313024699687958f,0.18496140837669373f,0.030517641454935074f,0.22695113718509674f,0.18921145796775818f,-0.22405625879764557f,0.17777903378009796f,-0.16424080729484558f,-0.10926032066345215f,-0.0980188176035881f,-0.423651784658432f,0.03238815814256668f,-0.0007389821112155914f,-0.2075144499540329f,-0.5701436996459961f}, +{-0.13212797045707703f,-0.050929244607686996f,0.38466766476631165f,-0.19960886240005493f,-0.2853042781352997f,-0.20291918516159058f,-0.2982172966003418f,-0.24819315969944f,-0.11454647034406662f,-0.12860772013664246f,-0.17784970998764038f,-0.4023285210132599f,-0.32813894748687744f,-0.05741819739341736f,0.04470124840736389f,-0.09045199304819107f}, +{0.18911682069301605f,0.02184387296438217f,0.18900898098945618f,-0.06120866537094116f,0.29918089509010315f,-0.12990643084049225f,0.03916636109352112f,0.27754464745521545f,0.294809490442276f,0.16454772651195526f,-0.2563917934894562f,-0.6306189298629761f,0.07625232636928558f,-0.042805060744285583f,0.062258750200271606f,0.00815045926719904f}, +{0.010950831696391106f,-0.3184400200843811f,-0.37685394287109375f,-0.20837026834487915f,-0.14668962359428406f,-0.005104088224470615f,-0.14507901668548584f,-0.008478466421365738f,0.20007987320423126f,0.10023065656423569f,-0.4374823272228241f,-0.295104056596756f,-0.25695890188217163f,0.029228802770376205f,-0.07684260606765747f,0.0788344144821167f}, +{-0.0020756064914166927f,-0.15600785613059998f,0.15568438172340393f,-0.040645476430654526f,0.013410675339400768f,-0.24375024437904358f,-0.03859376907348633f,0.006403104867786169f,-0.04657333716750145f,0.2023845762014389f,-0.3253058195114136f,0.11324697732925415f,0.11497766524553299f,0.37465381622314453f,0.2742314636707306f,-0.05325615778565407f}, +{-0.03647683560848236f,0.029813161119818687f,0.19490453600883484f,-0.26787275075912476f,-0.3508029878139496f,-0.09458376467227936f,-0.336474746465683f,0.09033996611833572f,-0.3672536015510559f,0.0338810533285141f,-0.15078192949295044f,0.05409295856952667f,0.28317949175834656f,-0.05363159254193306f,-0.2561379373073578f,-0.09754713624715805f}, +{-0.3112502992153168f,0.12961868941783905f,-0.2776013910770416f,0.1249362975358963f,0.32369133830070496f,-0.08901474624872208f,0.25546005368232727f,-0.29435303807258606f,-0.3631085157394409f,0.16439467668533325f,-0.3914984464645386f,0.04883434623479843f,0.11115027964115143f,0.24574552476406097f,-0.30415377020835876f,-0.5628020167350769f}, +{0.27675676345825195f,0.3699065148830414f,0.1420871913433075f,-0.33024224638938904f,-0.2858830392360687f,0.15492358803749084f,-0.13263443112373352f,-0.3092022240161896f,-0.15029919147491455f,0.16352060437202454f,0.10471759736537933f,0.0782412514090538f,0.25936394929885864f,0.38325467705726624f,0.13351169228553772f,0.02357879839837551f}, +{-0.19520823657512665f,-0.28190430998802185f,-0.07561364769935608f,0.0776611715555191f,-0.29055726528167725f,-0.205047607421875f,0.14428457617759705f,0.003635459579527378f,-0.347451776266098f,-0.09555500000715256f,-0.37855178117752075f,-0.48709622025489807f,-0.1475732922554016f,0.46260973811149597f,0.019461065530776978f,0.16023290157318115f}, +{-0.12973491847515106f,-0.4877428412437439f,0.2631795108318329f,-0.5585244297981262f,0.3175758719444275f,-0.5141003727912903f,0.27224990725517273f,-0.1198103204369545f,-0.05590752884745598f,0.44488760828971863f,0.04196930676698685f,-0.4491702914237976f,0.2668069303035736f,0.30941274762153625f,0.06011766195297241f,0.1083567887544632f}, }; const float h2[16][16] = { - {-1.7450275421142578f,0.6594358086585999f,-0.06966331601142883f,1.0018938779830933f,-0.21907491981983185f,1.4329339265823364f,0.17326709628105164f,0.0904630720615387f,-0.43008196353912354f,-0.1415480375289917f,1.2144904136657715f,-0.16626611351966858f,0.06569504737854004f,-1.4385911226272583f,-0.9663553833961487f,0.6428185701370239f}, -{0.9441719055175781f,-0.6133332848548889f,0.057057321071624756f,-2.3481781482696533f,-0.35503754019737244f,-0.5006313323974609f,-0.5688151121139526f,-0.2990124225616455f,-0.33757925033569336f,0.2895788848400116f,-0.17320112884044647f,-0.6180256009101868f,0.28006717562675476f,1.3375060558319092f,-1.2240221500396729f,-0.9773128628730774f}, + {-1.2742830514907837f,-8.216069221496582f,-0.06966331601142883f,1.674540638923645f,-0.21907491981983185f,1.9304863214492798f,1.2657678127288818f,0.0904630720615387f,-0.43008196353912354f,-0.1415480375289917f,1.2774198055267334f,-0.13161320984363556f,0.12968102097511292f,-1.9181091785430908f,-1.128833293914795f,0.9952762126922607f}, +{0.21769967675209045f,-0.03279580548405647f,0.057057321071624756f,-0.130713552236557f,-0.35503754019737244f,-0.6355394124984741f,-0.7871437072753906f,-0.2990124225616455f,-0.33757925033569336f,0.2895788848400116f,-0.8292768001556396f,-0.6762306690216064f,0.11294345557689667f,0.1347757875919342f,-0.2996438443660736f,-0.7626554369926453f}, {-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.24128365516662598f,-0.7620956301689148f,-0.2894435524940491f,1.159397840499878f,0.08946844935417175f,0.6260269284248352f,-0.3894280195236206f,0.2549973726272583f,0.26211628317832947f,0.2953031361103058f,0.8019332885742188f,0.016773387789726257f,-0.484073668718338f,-0.6907232403755188f,0.5787110924720764f,-0.36957016587257385f}, -{-0.8707475662231445f,-0.37293922901153564f,-0.25313520431518555f,-0.5010871887207031f,0.036378175020217896f,-0.10144466906785965f,-0.3463951349258423f,-0.08570799231529236f,-0.024399548768997192f,-0.39465832710266113f,-1.0185232162475586f,-0.8256206512451172f,0.01429042499512434f,0.05815858766436577f,-0.263293981552124f,0.6209697127342224f}, -{0.7200750112533569f,0.7132844924926758f,-0.3519742488861084f,0.45802396535873413f,-0.3015052080154419f,-0.30321627855300903f,-0.6748223304748535f,-0.019414573907852173f,-0.23047015070915222f,0.3579089343547821f,-0.34683650732040405f,-0.39679405093193054f,-0.2684200704097748f,-0.3748183846473694f,0.4187047481536865f,-0.143204927444458f}, +{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.5087411403656006f,-3.0196681022644043f,-0.25313520431518555f,0.3799387216567993f,0.036378175020217896f,0.4310392737388611f,0.2283390611410141f,-0.08570799231529236f,-0.024399548768997192f,-0.39465832710266113f,0.12561427056789398f,-0.6622838973999023f,-0.15686243772506714f,-0.7882266044616699f,-0.5833307504653931f,-0.00721104396507144f}, +{0.545232355594635f,-1.1969337463378906f,-0.3519742488861084f,0.13727954030036926f,-0.3015052080154419f,-0.6779929995536804f,-0.8127923011779785f,-0.019414573907852173f,-0.23047015070915222f,0.3579089343547821f,-0.6117130517959595f,-0.2662375867366791f,-0.4148453176021576f,0.3935193717479706f,0.2210693508386612f,-1.0503193140029907f}, {-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.4882969558238983f,-0.8550622463226318f,0.33083590865135193f,-0.40566393733024597f,-0.14358049631118774f,-0.7745380401611328f,-0.28912878036499023f,-0.3845868706703186f,0.2600560486316681f,-0.37898191809654236f,-0.023670999333262444f,-0.6610310077667236f,-0.42490702867507935f,0.8676402568817139f,0.2163805067539215f,0.3695065379142761f}, -{-0.19650527834892273f,0.5249162912368774f,-0.11379697918891907f,-0.801007866859436f,0.041274964809417725f,-0.6056590676307678f,-0.43482285737991333f,-0.14040344953536987f,0.06103590130805969f,-0.38046833872795105f,-0.3760129511356354f,-0.4081370234489441f,-0.4313310980796814f,-0.015162664465606213f,-0.7628475427627563f,0.22178632020950317f}, -{0.07876107096672058f,0.10648129135370255f,-0.13502129912376404f,0.09881182760000229f,0.12987366318702698f,0.20932623744010925f,0.011190940625965595f,-0.3632148504257202f,-0.13619378209114075f,0.16938945651054382f,0.7621954083442688f,-0.04629715532064438f,0.3201099932193756f,-0.0310515146702528f,-0.012813680805265903f,-0.887506365776062f}, -{-0.27465304732322693f,0.008646765723824501f,0.0457797646522522f,-0.3525778353214264f,-0.03321319818496704f,-0.41501832008361816f,0.17873415350914001f,-0.20421427488327026f,-0.050184011459350586f,0.12480869889259338f,-0.1985977590084076f,0.3545852601528168f,-0.3647043704986572f,0.4034961462020874f,-0.4118025302886963f,-0.26838287711143494f}, -{0.07513654232025146f,0.011409512721002102f,0.3954955041408539f,0.04858481138944626f,0.0033026933670043945f,0.12902194261550903f,-0.3593769967556f,-0.11795541644096375f,0.3487861454486847f,-0.32520344853401184f,-0.1851719319820404f,-0.3986894190311432f,0.01852170191705227f,-1.109595775604248f,0.5788066387176514f,0.5798370242118835f}, -{-0.26436659693717957f,-0.21335983276367188f,-0.15798500180244446f,0.39393529295921326f,-0.37393757700920105f,0.3583252429962158f,0.11292675137519836f,-0.2947862446308136f,-0.3764709532260895f,0.2424570620059967f,-0.11213287711143494f,-0.2837170362472534f,0.41839322447776794f,-0.016684677451848984f,-0.1265520602464676f,0.10970401763916016f}, -{-0.2777646481990814f,1.2577455043792725f,-0.2018718123435974f,0.32205256819725037f,0.07545611262321472f,0.5517807602882385f,-0.3801318109035492f,-0.3709743022918701f,-0.24509364366531372f,0.19522181153297424f,0.7321429252624512f,-0.6820001006126404f,-0.22473828494548798f,-0.5478740334510803f,-0.3847786784172058f,-0.7895159125328064f}, +{0.42481377720832825f,0.08354178816080093f,0.33083590865135193f,-0.638961672782898f,-0.14358049631118774f,-0.9569485783576965f,-0.325156033039093f,-0.3003333508968353f,0.2600560486316681f,-0.37898191809654236f,0.15456505119800568f,-0.31921491026878357f,-0.5575046539306641f,0.6439890265464783f,0.19921045005321503f,-0.27064788341522217f}, +{-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.4163046181201935f,1.138975739479065f,-0.13502129912376404f,0.28881412744522095f,0.12987366318702698f,0.2806353271007538f,0.11690293997526169f,-0.3632148504257202f,-0.13619378209114075f,0.16938945651054382f,0.16815698146820068f,-0.10127609968185425f,0.1661040186882019f,-0.7292672991752625f,-0.2459457814693451f,-0.33932510018348694f}, +{-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.521247386932373f,-0.2018718123435974f,0.34600862860679626f,0.07545611262321472f,0.17964282631874084f,-0.20153208076953888f,-0.21416273713111877f,-0.24509364366531372f,0.19522181153297424f,0.2656141519546509f,-0.5542343258857727f,-0.390186071395874f,-0.20683544874191284f,-0.5108092427253723f,-0.03198432922363281f}, {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.10411176830530167f,0.36893728375434875f,0.12081471085548401f,-0.45071256160736084f,0.29976895451545715f,-0.21191149950027466f,-0.08462966233491898f,0.31089308857917786f,-0.3893685042858124f,-0.02222958207130432f,-0.05126534774899483f,-0.1929796040058136f,-0.27592116594314575f,0.3687547743320465f,-0.28429630398750305f,0.02607755735516548f}, +{-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,-1.438101887702942f,-0.0589044988155365f,1.8542506694793701f,-0.8414368629455566f,-0.0450475849211216f,0.3332441747188568f,-0.22756069898605347f,-3.5484397411346436f,-0.0602482445538044f,-0.2422017902135849f,0.4001283347606659f,1.2891052961349487f,2.2377169132232666f,-1.584401249885559f,2.1317663192749023f}, -{0.047732532024383545f,-0.24726325273513794f,-0.22173474729061127f,-3.655691385269165f,-1.2915408611297607f,0.20000097155570984f,-0.3198729455471039f,-0.49379709362983704f,0.7402445673942566f,-0.5092390179634094f,0.3346608579158783f,-0.3128277659416199f,0.05244366452097893f,0.23359212279319763f,-0.10799540579319f,-0.204402893781662f}, + {-0.36079341173171997f,-1.0544452667236328f,0.7038430571556091f,-0.8672530055046082f,0.5853394865989685f,-0.7604526281356812f,0.3332441747188568f,0.3036012351512909f,-0.34396663308143616f,0.04891335964202881f,-0.11870327591896057f,0.4001283347606659f,0.7708577513694763f,-0.5298871994018555f,-1.2042515277862549f,0.947374701499939f}, +{0.047732532024383545f,2.2811532020568848f,-0.24632537364959717f,-0.09127037227153778f,0.3101942539215088f,1.866165041923523f,-0.3198729455471039f,0.06247803568840027f,0.15138906240463257f,-0.1780138611793518f,0.4144817292690277f,-0.20516811311244965f,-0.0705946609377861f,1.6417969465255737f,1.4484448432922363f,-0.8021634817123413f}, {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,-1.2620450258255005f,0.0072465622797608376f,-4.284553050994873f,0.6024884581565857f,0.6138038039207458f,0.20021501183509827f,0.12376485764980316f,-0.2882756292819977f,-0.35485562682151794f,-0.06613488495349884f,0.26115745306015015f,-0.5012490749359131f,1.1913305521011353f,-0.028665771707892418f,-0.273107647895813f}, +{-0.30922991037368774f,0.5821611881256104f,0.04768321290612221f,-0.3119675815105438f,-0.9963893294334412f,0.18216006457805634f,0.20021501183509827f,0.07002416253089905f,-0.3955146372318268f,-0.44760510325431824f,0.13192829489707947f,0.41590794920921326f,-0.3412694036960602f,-0.30323413014411926f,0.07018550485372543f,-2.7179760932922363f}, {-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.4825184643268585f,-0.5032278895378113f,-0.496963769197464f,0.12893055379390717f,0.3823845088481903f,-0.18732719123363495f,0.19876165688037872f,-1.0175296068191528f,-0.40867722034454346f,-0.3303728699684143f,0.03746723383665085f,-0.21556788682937622f,-0.3946302831172943f,0.7928279638290405f,-0.6238732933998108f}, -{0.4110594093799591f,0.024439334869384766f,-0.08086038380861282f,0.3659036457538605f,0.29225078225135803f,-0.3366027772426605f,-0.08670487999916077f,-0.25336313247680664f,-0.030661463737487793f,-0.06259563565254211f,-0.1344406008720398f,0.35313835740089417f,0.334484338760376f,-0.05947000905871391f,0.013927468098700047f,-0.1716231256723404f}, -{-0.40892091393470764f,0.043769627809524536f,-0.5073263049125671f,0.25968697667121887f,0.21103090047836304f,0.10058284550905228f,-0.23312048614025116f,-0.390264093875885f,0.28059282898902893f,-0.1559126079082489f,-0.14134526252746582f,-0.0003446042537689209f,-0.2742875814437866f,-0.214731365442276f,0.23550981283187866f,0.005298197269439697f}, +{-0.37449589371681213f,1.02663254737854f,-0.7398565411567688f,-0.6998475790023804f,-0.43675336241722107f,0.7572932839393616f,-0.18732719123363495f,0.22384825348854065f,-0.5360782742500305f,-0.1331947147846222f,-0.08919548988342285f,0.25957953929901123f,-0.25768864154815674f,0.1251194328069687f,0.5887293815612793f,-3.1540911197662354f}, +{0.4110594093799591f,0.7196425199508667f,-2.027987003326416f,-1.9523835182189941f,-0.32279857993125916f,0.31668388843536377f,-0.08670487999916077f,-0.25336313247680664f,-0.17651404440402985f,-0.09454577416181564f,-0.1344406008720398f,-0.5434226989746094f,0.15909500420093536f,-0.19125749170780182f,0.06309600919485092f,-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.6121587753295898f,-0.10544931143522263f,-0.25203073024749756f,-0.2231951653957367f,0.13362735509872437f,-0.08742031455039978f,-0.03930879756808281f,-1.4814172983169556f,-0.4569486081600189f,-0.14795783162117004f,-0.4531753361225128f,0.4007773697376251f,0.2852712869644165f,0.6529788374900818f,0.6810508966445923f}, -{-0.408692330121994f,-0.022918520495295525f,-0.04249764606356621f,0.0922636091709137f,0.002093099756166339f,-0.05760917812585831f,0.03285527229309082f,0.38763079047203064f,-0.20705322921276093f,-0.25883403420448303f,0.12809070944786072f,0.03996849060058594f,-0.4424359202384949f,-0.15407375991344452f,-0.04745611920952797f,0.26415717601776123f}, -{-0.2991822361946106f,0.303905189037323f,-0.004639551043510437f,-0.05932474136352539f,0.16026899218559265f,0.1668272763490677f,-0.11253207921981812f,0.34576353430747986f,0.04814547300338745f,-0.35770976543426514f,-0.044228196144104004f,-0.36229726672172546f,0.0903378576040268f,-0.20887143909931183f,0.2735307514667511f,-0.08162670582532883f}, -{-0.2675279378890991f,0.12590810656547546f,0.5464115738868713f,0.8258691430091858f,0.15767315030097961f,-0.5702950358390808f,-0.32875844836235046f,-0.8522011637687683f,-1.0272672176361084f,-0.8078951835632324f,-0.6629264950752258f,-0.5638532042503357f,0.5660436153411865f,-1.0929996967315674f,0.12581373751163483f,0.40782439708709717f}, -{-0.015470266342163086f,-0.866274893283844f,-0.9573094844818115f,1.2356902360916138f,0.12651090323925018f,-0.17940779030323029f,0.05196094512939453f,0.0014051093021407723f,-1.7678248882293701f,-0.5168593525886536f,0.016171149909496307f,-0.26066750288009644f,-0.4211776852607727f,-0.10415491461753845f,-0.5754392147064209f,-0.19049833714962006f}, -{0.1863725483417511f,0.32354286313056946f,-0.38660678267478943f,-1.7444146871566772f,-0.005540256388485432f,0.3640917241573334f,0.04860696196556091f,0.2542523741722107f,0.33287128806114197f,-0.0597095862030983f,-0.2354220449924469f,0.04612954333424568f,0.4137362241744995f,0.47443336248397827f,0.8190362453460693f,0.15929652750492096f}, +{0.15459725260734558f,0.7178587913513184f,-0.2128341943025589f,-0.42007604241371155f,-0.16466139256954193f,0.1898089051246643f,-0.08742031455039978f,0.05785742402076721f,-0.17930063605308533f,-0.32197272777557373f,0.1268840730190277f,-0.6984773874282837f,-0.0976514220237732f,-0.7508705854415894f,0.10835370421409607f,-7.471405506134033f}, +{-0.408692330121994f,-0.1483868509531021f,0.10186062008142471f,-0.05043145269155502f,0.013434916734695435f,-0.2031942754983902f,0.03285527229309082f,0.38763079047203064f,-0.20705322921276093f,-0.25883403420448303f,0.12809070944786072f,0.03996849060058594f,-0.4311254620552063f,-0.27929094433784485f,-0.32302793860435486f,0.2955302298069f}, +{-0.2991822361946106f,0.10490165650844574f,0.17309918999671936f,0.14030085504055023f,0.33410418033599854f,-0.020069653168320656f,-0.11253207921981812f,0.34576353430747986f,0.04814547300338745f,-0.35770976543426514f,-0.044228196144104004f,-0.36229726672172546f,0.264950692653656f,-0.3796345591545105f,0.10643193125724792f,-0.04422954097390175f}, +{-0.2675279378890991f,-0.2803032398223877f,0.28943002223968506f,0.38500481843948364f,0.024833407253026962f,-0.36406010389328003f,-0.32875844836235046f,-0.31893211603164673f,-0.554490327835083f,-0.5241096019744873f,-0.3685331642627716f,-0.38139936327934265f,0.32159000635147095f,-1.0209484100341797f,-0.17682968080043793f,0.5818156003952026f}, +{-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.6990513801574707f,-0.48478227853775024f,-0.4526713788509369f,0.0654483363032341f,0.21365918219089508f,0.04860696196556091f,0.17769548296928406f,-0.17769290506839752f,0.2766591012477875f,-0.3929237127304077f,0.37913018465042114f,0.3094521760940552f,-0.3581784665584564f,-0.34003302454948425f,4.435397148132324f}, }; -const float hout[16] = { 0.45773375034332275f,0.14406298100948334f,-0.16325463354587555f,-0.3499206304550171f,-0.05763477459549904f,0.2833484411239624f,0.0030125975608825684f,-0.2193453311920166f,-0.4651484787464142f,-0.0813288539648056f,-0.0419515036046505f,-0.19638599455356598f,-0.1701335608959198f,0.313700795173645f,0.6517387628555298f,-0.3140295445919037f }; +const float hout[16] = { 0.45773375034332275f,0.20628854632377625f,-0.5375609993934631f,-0.6480298042297363f,-0.03200441971421242f,0.4680277407169342f,0.0030125975608825684f,0.15066689252853394f,-0.10572303831577301f,-0.11379087716341019f,0.24303162097930908f,0.04681791737675667f,-0.2690132260322571f,0.8610103130340576f,0.5980288982391357f,-0.7344372272491455f }; -const float b1[16] = { 0.8082537055015564f,0.9799144864082336f,-1.7145336866378784f,-1.201467752456665f,0.99372798204422f,0.8597941994667053f,-0.058932315558195114f,0.9624421000480652f,0.9239979386329651f,-1.3699034452438354f,0.569644033908844f,0.7587047815322876f,-0.3731427490711212f,-0.8243913650512695f,-1.087764859199524f,1.2334092855453491f }; +const float b1[16] = { 0.6560888290405273f,1.0107191801071167f,-1.7145336866378784f,0.24362370371818542f,1.078859806060791f,0.909169614315033f,-0.058932315558195114f,0.9273037910461426f,0.5253145098686218f,-0.8128840923309326f,0.5778790712356567f,1.4138038158416748f,-0.43705815076828003f,-0.8157239556312561f,-1.087764859199524f,0.9317583441734314f }; -const float b2[16] = { 0.11195981502532959f,-0.34755972027778625f,-1.4564176797866821f,-0.5582992434501648f,-0.6939148902893066f,0.1437792181968689f,0.20352868735790253f,-0.4659985303878784f,-1.20063054561615f,-1.912178635597229f,-0.029022980481386185f,0.3200061023235321f,-0.14512069523334503f,1.7345308065414429f,0.23449550569057465f,1.0539621114730835f }; +const float b2[16] = { -0.14536833763122559f,-0.8282498717308044f,-1.4564176797866821f,-0.4575670063495636f,-0.6939148902893066f,0.1445312649011612f,0.25461912155151367f,-0.30969977378845215f,-1.20063054561615f,-1.912178635597229f,0.09596142917871475f,0.4225890338420868f,-0.3009510934352875f,1.916262149810791f,-0.05483059585094452f,0.8465275168418884f }; -const float b3[16] = { -1.963319182395935f,-0.2532646059989929f,0.431701123714447f,-0.014838264323771f,0.22273066639900208f,0.5371143221855164f,-0.45353031158447266f,-0.7511880993843079f,0.45858776569366455f,0.13629966974258423f,-0.4316782057285309f,-0.10128767043352127f,-0.5259893536567688f,-0.9015762209892273f,-1.2589377164840698f,-0.28984659910202026f }; +const float b3[16] = { -1.963319182395935f,-0.3481362462043762f,0.3035060167312622f,0.20574529469013214f,-0.1369716227054596f,0.7419196963310242f,-0.45353031158447266f,-0.6562485098838806f,0.3646324574947357f,0.42342549562454224f,-0.14371006190776825f,0.10180169343948364f,-0.6005617380142212f,-0.17257480323314667f,-1.5606380701065063f,-0.4937981367111206f }; -const float bout[1] = { -0.43219244480133057f }; +const float bout[1] = { -0.2966403067111969f }; float VALVE_POS_RAW_NN = 0.0f;