![](/media/cache/img/default_profile.jpg.50x50_q85.jpg)
distribution-201229
Diff: main.cpp
- Revision:
- 150:b0ac087118cc
- Parent:
- 149:b273ae9cec75
- Child:
- 151:d0a6c06e8529
--- a/main.cpp Fri Oct 09 08:17:17 2020 +0000 +++ b/main.cpp Fri Oct 09 12:49:12 2020 +0000 @@ -1,4 +1,4 @@ -//201009-4 +//201009-5 #include "mbed.h" #include "FastPWM.h" #include "INIT_HW.h" @@ -193,72 +193,72 @@ float input_NN[num_input] = { 0.0f }; const float h1[num_input][16] = { - {-0.6169755458831787f,0.5948215126991272f,0.12903714179992676f,0.5884579420089722f,-0.9432981610298157f,0.4874749183654785f,-0.17472904920578003f,0.44460251927375793f,-1.3207292556762695f,-0.25449368357658386f,-0.2339312732219696f,0.47591209411621094f,-0.2703731060028076f,-0.03621765598654747f,-0.2571594715118408f,-1.745444416999817f}, -{-0.7696728110313416f,0.6025012135505676f,-0.3927857577800751f,0.18237116932868958f,-0.8556034564971924f,0.2768941819667816f,-0.4054011106491089f,0.2682054340839386f,-0.8353373408317566f,-0.0415828675031662f,-0.27073076367378235f,0.25327548384666443f,0.2294783890247345f,-0.5943036079406738f,-0.20967772603034973f,-0.903499186038971f}, -{-0.8678860664367676f,0.5725551247596741f,0.36391180753707886f,-0.2636171877384186f,-0.39811229705810547f,0.35338619351387024f,0.2872133255004883f,0.4132649600505829f,-0.44572967290878296f,-0.12256179749965668f,-0.34459352493286133f,-0.4546497166156769f,-0.008530620485544205f,-0.14337007701396942f,0.05590221285820007f,-0.20182473957538605f}, -{-0.6535317897796631f,0.16435904800891876f,0.39742106199264526f,0.3013381063938141f,0.0075928992591798306f,-0.28438887000083923f,-0.11584559082984924f,0.49083566665649414f,0.3678398132324219f,0.07045812904834747f,0.09927131235599518f,-0.8109145760536194f,-0.1704373061656952f,-0.11016498506069183f,-0.2961459457874298f,1.1189262866973877f}, -{0.2888871729373932f,-0.14343173801898956f,-0.0051451027393341064f,0.15250109136104584f,0.5875188708305359f,-0.5056445002555847f,0.1294034719467163f,-0.36446136236190796f,0.9410679936408997f,0.31322237849235535f,0.3512546122074127f,-1.3186581134796143f,-0.07376156002283096f,0.466142475605011f,-0.3865056037902832f,1.2423783540725708f}, -{1.3994739055633545f,-1.7239813804626465f,0.21773302555084229f,0.07611975073814392f,1.6012725830078125f,-1.651916265487671f,0.16514194011688232f,-1.6280549764633179f,1.2326716184616089f,1.3550405502319336f,-0.24429886043071747f,-0.15746863186359406f,-0.27015793323516846f,1.5229518413543701f,-0.4132833778858185f,0.44188135862350464f}, -{0.39866718649864197f,0.16642259061336517f,-0.2501986622810364f,-1.024619698524475f,-0.3439548909664154f,0.5203994512557983f,0.06014183163642883f,-0.23343060910701752f,0.9580716490745544f,-0.4035128057003021f,0.1511380523443222f,0.3182518780231476f,-0.17843955755233765f,-0.10459809005260468f,-0.15618428587913513f,-0.9287129044532776f}, -{0.0785316601395607f,-0.3670685589313507f,-0.26619744300842285f,-0.12710848450660706f,-0.5723583698272705f,0.009777887724339962f,-0.17925891280174255f,-0.3827355206012726f,-0.21057161688804626f,0.1923319697380066f,0.10589253902435303f,0.14203622937202454f,0.36342835426330566f,0.16098101437091827f,0.04303058981895447f,-0.22491160035133362f}, -{0.29670801758766174f,-0.035655878484249115f,0.10248100757598877f,-0.6135661005973816f,-0.36749836802482605f,0.15164998173713684f,-0.07246989011764526f,-0.6397947669029236f,-0.8155761361122131f,0.6950511932373047f,-0.29665613174438477f,2.0973360538482666f,0.22101281583309174f,0.40356382727622986f,-0.30555272102355957f,-1.191580891609192f}, -{-0.04192425310611725f,-0.4759320020675659f,0.18462657928466797f,-0.34934404492378235f,-0.09540810436010361f,0.33820977807044983f,-0.2990540862083435f,-0.2171635925769806f,-0.5427071452140808f,-0.20592382550239563f,-0.0075898440554738045f,1.2421354055404663f,0.3641347289085388f,-0.10239019244909286f,0.3484981060028076f,-1.1702260971069336f}, -{0.3629056215286255f,0.029816236346960068f,0.37182438373565674f,0.061602648347616196f,-0.20005883276462555f,0.17882686853408813f,-0.20339298248291016f,0.020882783457636833f,-0.658286988735199f,0.11572472006082535f,0.3491577208042145f,0.7644428014755249f,-0.07471837103366852f,-0.0018598255701363087f,0.26688337326049805f,-0.7226802706718445f}, -{-0.2780630886554718f,-0.5210357308387756f,-0.40320003032684326f,-0.1715334802865982f,0.07301802188158035f,-0.03441068157553673f,0.1533789038658142f,0.3054661154747009f,-0.04069248214364052f,0.3940032124519348f,-0.41339191794395447f,0.684217095375061f,0.13649077713489532f,0.1101810559630394f,0.10493969917297363f,-0.0066968477331101894f}, -{0.0321117527782917f,-0.27469030022621155f,0.19847965240478516f,0.008619049564003944f,0.27372124791145325f,0.147988423705101f,-0.2404318004846573f,0.08296826481819153f,0.005448771640658379f,0.001319614122621715f,-0.10822436213493347f,-0.006367080844938755f,0.08386833965778351f,0.16397559642791748f,-0.22268100082874298f,-0.20400726795196533f}, -{-0.1663299798965454f,-0.0762108862400055f,0.4127817749977112f,-0.18933038413524628f,-0.3754563629627228f,-0.1961674690246582f,-0.32001304626464844f,-0.29224878549575806f,-0.09518685936927795f,-0.08264501392841339f,-0.19418920576572418f,-0.10590852797031403f,-0.32082730531692505f,0.04110307991504669f,0.0479682981967926f,0.16589368879795074f}, -{0.06994720548391342f,0.0633668452501297f,0.20282304286956787f,0.006450027227401733f,0.17445866763591766f,-0.06924864649772644f,0.04202890396118164f,0.3091362416744232f,0.15688040852546692f,0.21616044640541077f,-0.27863019704818726f,-0.39659392833709717f,0.09555865079164505f,0.02592609077692032f,0.0668090283870697f,0.13379117846488953f}, -{-0.15547308325767517f,-0.2905401885509491f,-0.40439701080322266f,-0.11864195019006729f,-0.2988205850124359f,0.020556630566716194f,-0.15568238496780396f,-0.01289344485849142f,0.059013765305280685f,0.17861860990524292f,-0.47299885749816895f,-0.330662339925766f,-0.2790428400039673f,0.13708925247192383f,-0.08245879411697388f,0.28014299273490906f}, -{-0.18751932680606842f,-0.13028556108474731f,0.16706281900405884f,0.08243079483509064f,-0.0856199711561203f,-0.31701093912124634f,-0.041414469480514526f,-0.03316572308540344f,-0.14375491440296173f,0.33842185139656067f,-0.3525752127170563f,-0.28301799297332764f,0.10419143736362457f,0.5677728056907654f,0.29427415132522583f,0.2742917835712433f}, + {-1.1830772161483765f,0.907658040523529f,0.12903714179992676f,0.5383951663970947f,-1.3784873485565186f,0.9499120712280273f,-0.17472904920578003f,1.002619981765747f,-1.7543452978134155f,-0.8867285847663879f,-0.23530137538909912f,-0.42957326769828796f,-0.267672061920166f,-0.8692221641540527f,-0.2571594715118408f,-0.5540679097175598f}, +{-1.0442124605178833f,0.6711992621421814f,-0.3927857577800751f,0.161371111869812f,-1.027113437652588f,0.48737800121307373f,-0.4054011106491089f,0.5669645071029663f,-0.9325803518295288f,-0.393087238073349f,-0.2721322774887085f,-0.31204748153686523f,0.23209457099437714f,-1.14264714717865f,-0.20967772603034973f,-0.21403270959854126f}, +{-0.842063307762146f,0.3569277822971344f,0.36391180753707886f,-0.2558248043060303f,-0.34109964966773987f,0.319227397441864f,0.2872133255004883f,0.4288009703159332f,-0.37264129519462585f,-0.13999687135219574f,-0.3460467755794525f,-0.32766345143318176f,-0.006002379115670919f,-0.39334309101104736f,0.05590221285820007f,-0.38937288522720337f}, +{-0.41861075162887573f,-0.2758248746395111f,0.39742106199264526f,0.3407272696495056f,0.1967170685529709f,-0.4763898253440857f,-0.11584559082984924f,0.2967103123664856f,0.44338303804397583f,0.32886427640914917f,0.09776147454977036f,0.12019568681716919f,-0.16797608137130737f,-0.1573142111301422f,-0.2961459457874298f,0.007804698310792446f}, +{0.598658561706543f,-0.6489872336387634f,-0.0051451027393341064f,0.22924426198005676f,0.8158316016197205f,-0.7501839995384216f,0.1294034719467163f,-0.6177850365638733f,1.016576886177063f,0.6798464059829712f,0.3496463894844055f,-0.07733602821826935f,-0.0714043602347374f,0.43815308809280396f,-0.3865056037902832f,-0.21527224779129028f}, +{1.55979585647583f,-1.967300295829773f,0.21773302555084229f,0.19822651147842407f,1.7436163425445557f,-1.7791714668273926f,0.16514194011688232f,-1.652207851409912f,1.4707077741622925f,1.486377477645874f,-0.24593579769134521f,0.22179169952869415f,-0.26791638135910034f,1.2028114795684814f,-0.4132833778858185f,-0.12397683411836624f}, +{0.4482246935367584f,0.1669270247220993f,-0.2501986622810364f,-0.911369264125824f,-0.4311128258705139f,0.42859941720962524f,0.06014183163642883f,-0.13643471896648407f,0.3959755301475525f,-0.04473229497671127f,0.14985030889511108f,0.07622731477022171f,-0.17728494107723236f,-0.07673158496618271f,-0.15618428587913513f,-0.049247026443481445f}, +{-0.09273119270801544f,-0.0030676655005663633f,-0.26619744300842285f,-0.07936783134937286f,-0.5625535249710083f,0.11907440423965454f,-0.17925891280174255f,-0.09521269053220749f,0.4314958453178406f,-0.15800324082374573f,0.10396178066730499f,-0.3558410406112671f,0.36559608578681946f,-0.07188697159290314f,0.04303058981895447f,-0.08912382274866104f}, +{0.23644424974918365f,0.40761178731918335f,0.10248100757598877f,-0.5786457061767578f,-0.3129251301288605f,0.1711302250623703f,-0.07246989011764526f,-0.38457462191581726f,-0.0682055652141571f,0.34739673137664795f,-0.29864412546157837f,0.08505319058895111f,0.2231481969356537f,0.17763707041740417f,-0.30555272102355957f,-0.020129617303609848f}, +{0.12451469153165817f,-0.25632244348526f,0.18462657928466797f,-0.3402521014213562f,0.040230222046375275f,0.1803373396396637f,-0.2990540862083435f,-0.2551296353340149f,-0.0702180415391922f,-0.2230985164642334f,-0.009611605666577816f,-0.6821308135986328f,0.36620229482650757f,-0.134412944316864f,0.3484981060028076f,-0.19408752024173737f}, +{0.6051169633865356f,0.10314174741506577f,0.37182438373565674f,0.046950627118349075f,-0.1283050775527954f,-0.029393404722213745f,-0.20339298248291016f,-0.18833445012569427f,-0.6705865263938904f,0.3199700713157654f,0.3470311164855957f,-0.44842401146888733f,-0.07266867160797119f,0.07030421495437622f,0.26688337326049805f,-0.5026135444641113f}, +{-0.19083596765995026f,-0.38159599900245667f,-0.40320003032684326f,-0.2041625678539276f,-0.02804187312722206f,-0.08957882225513458f,0.1533789038658142f,0.16714826226234436f,-0.4532894194126129f,0.5235751271247864f,-0.4155062735080719f,0.0004430132976267487f,0.13858471810817719f,0.04627634957432747f,0.10493969917297363f,-0.25424498319625854f}, +{0.03792708367109299f,-0.11785188317298889f,0.19847965240478516f,-0.047751881182193756f,0.13481153547763824f,0.18088962137699127f,-0.2404318004846573f,-0.040893156081438065f,-0.47332456707954407f,0.06604837626218796f,-0.11030901223421097f,-0.4237665832042694f,0.08593606948852539f,0.027752768248319626f,-0.22268100082874298f,-0.5444576740264893f}, +{-0.10892666131258011f,0.009968937374651432f,0.4127817749977112f,-0.2793567478656769f,-0.40800797939300537f,-0.19251592457294464f,-0.32001304626464844f,-0.5095146298408508f,-0.3435235619544983f,0.009906679391860962f,-0.19619326293468475f,-0.4205239415168762f,-0.31876471638679504f,-0.06010248512029648f,0.0479682981967926f,-0.048994030803442f}, +{0.11952650547027588f,0.18229719996452332f,0.20282304286956787f,-0.120930016040802f,0.15983085334300995f,-0.023414038121700287f,0.04202890396118164f,0.08784963935613632f,0.07220371067523956f,0.25355392694473267f,-0.2805851101875305f,-0.6933444738388062f,0.09762527793645859f,-0.10557463020086288f,0.0668090283870697f,0.03950008749961853f}, +{-0.08377330750226974f,-0.2004806250333786f,-0.40439701080322266f,-0.27741357684135437f,-0.289584755897522f,0.089205302298069f,-0.15568238496780396f,-0.2935485541820526f,0.02226277068257332f,0.23374319076538086f,-0.4750020503997803f,-0.3566400706768036f,-0.2769638001918793f,0.002845979994162917f,-0.08245879411697388f,0.09818307310342789f}, +{-0.040118634700775146f,-0.12282180041074753f,0.16706281900405884f,-0.1026933491230011f,-0.03815985098481178f,-0.2689847946166992f,-0.041414469480514526f,-0.4210514724254608f,-0.17495512962341309f,0.4654959440231323f,-0.35469311475753784f,0.06952255964279175f,0.10625976324081421f,0.4583272635936737f,0.29427415132522583f,-0.04839852824807167f}, }; const float h2[16][16] = { - {-1.4991356134414673f,-0.4428083598613739f,-0.06966331601142883f,0.1967444270849228f,-0.21907491981983185f,0.9966632723808289f,0.28873929381370544f,0.0904630720615387f,-0.43008196353912354f,-0.1415480375289917f,1.9076564311981201f,-0.21810698509216309f,-0.25772976875305176f,-0.818320631980896f,-1.330167293548584f,-1.0718622207641602f}, -{0.8618813157081604f,-0.8748403191566467f,0.057057321071624756f,-0.2028317004442215f,-0.35503754019737244f,-0.5499786138534546f,-0.5643825531005859f,-0.2990124225616455f,-0.33757925033569336f,0.2895788848400116f,1.4778800010681152f,-0.6772118806838989f,0.2140946090221405f,0.8742734789848328f,-0.757195234298706f,-1.1809730529785156f}, + {-0.8191378712654114f,0.5852739214897156f,-0.06966331601142883f,-0.6984365582466125f,-0.21907491981983185f,1.4826886653900146f,-8.994036674499512f,0.0904630720615387f,-0.43008196353912354f,-0.1415480375289917f,1.458963394165039f,-0.2399013638496399f,0.12968102097511292f,-1.551897406578064f,-0.8816905617713928f,-0.06509020924568176f}, +{0.22238706052303314f,-0.7853630781173706f,0.057057321071624756f,0.0452597476541996f,-0.35503754019737244f,-0.8241657614707947f,-4.370403289794922f,-0.2990124225616455f,-0.33757925033569336f,0.2895788848400116f,-1.1893624067306519f,-0.8968076109886169f,0.18270426988601685f,0.6902068257331848f,-0.10020449012517929f,-0.8818033337593079f}, {-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.009984130039811134f,-0.30000436305999756f,-0.2894435524940491f,0.5964742302894592f,0.08946844935417175f,0.35389357805252075f,-0.23805393278598785f,0.4122363030910492f,0.26211628317832947f,0.2953031361103058f,0.48026028275489807f,0.2649420201778412f,0.2603621482849121f,-0.17744247615337372f,0.19240126013755798f,0.06972163915634155f}, -{-0.8961815237998962f,-2.5839736461639404f,-0.25313520431518555f,0.20026060938835144f,0.036378175020217896f,-0.4976740777492523f,-0.40996047854423523f,-0.08570799231529236f,-0.024399548768997192f,-0.39465832710266113f,-2.1841514110565186f,-0.7194414138793945f,-0.033286239951848984f,0.58295077085495f,-0.4543146789073944f,0.8327545523643494f}, -{0.9096110463142395f,0.42002537846565247f,-0.3519742488861084f,0.044624269008636475f,-0.3015052080154419f,-0.3457305431365967f,-0.6627653241157532f,-0.019414573907852173f,-0.23047015070915222f,0.3579089343547821f,-0.9428110122680664f,-0.30588483810424805f,-0.5022498369216919f,0.19978851079940796f,0.6076751351356506f,-0.4376809597015381f}, +{-0.05919463559985161f,-0.20992223918437958f,-0.2894435524940491f,0.676190972328186f,0.08946844935417175f,0.4465484619140625f,-0.23805393278598785f,0.4122363030910492f,0.26211628317832947f,0.2953031361103058f,0.24604225158691406f,0.26175519824028015f,-0.5584275126457214f,-0.2923189103603363f,0.19649575650691986f,0.02162802778184414f}, +{-0.49668049812316895f,2.046339750289917f,-0.25313520431518555f,-0.157624751329422f,0.036378175020217896f,-1.366323709487915f,-0.7501777410507202f,-0.08570799231529236f,-0.024399548768997192f,-0.39465832710266113f,1.071768045425415f,-0.898177444934845f,-0.15314756333827972f,-0.17952404916286469f,-0.6128945350646973f,-0.3542093336582184f}, +{0.39020606875419617f,-0.11559838801622391f,-0.3519742488861084f,0.1196594387292862f,-0.3015052080154419f,-0.3641124665737152f,-2.2824387550354004f,-0.019414573907852173f,-0.23047015070915222f,0.3579089343547821f,-0.7566143274307251f,-0.43983492255210876f,-0.4078785479068756f,0.2459585964679718f,0.31951403617858887f,-0.8158388733863831f}, {-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.7905358076095581f,-0.9253769516944885f,0.33083590865135193f,-0.6139405369758606f,-0.14358049631118774f,-0.7288406491279602f,-0.25853750109672546f,-0.3003333508968353f,0.2600560486316681f,-0.37898191809654236f,0.5997555255889893f,-0.5442047119140625f,-1.299996256828308f,0.7177129983901978f,-0.25826573371887207f,0.09799324721097946f}, -{-0.5557106137275696f,-3.067866563796997f,-0.11379697918891907f,-0.3425405025482178f,0.041274964809417725f,-1.2420828342437744f,-0.16694867610931396f,0.0019084513187408447f,0.06103590130805969f,-0.38046833872795105f,-1.9725902080535889f,-0.474020779132843f,-2.1596693992614746f,0.003320923773571849f,-0.6637433171272278f,1.0982234477996826f}, -{0.05579625070095062f,0.7109156250953674f,-0.13502129912376404f,0.10466735810041428f,0.12987366318702698f,0.3961135745048523f,0.042060285806655884f,-0.3632148504257202f,-0.13619378209114075f,0.16938945651054382f,0.9018820524215698f,0.07822465896606445f,0.3899971842765808f,-0.8546745181083679f,0.19335848093032837f,-0.6027081608772278f}, -{-0.26683756709098816f,-0.012357143685221672f,0.0457797646522522f,-0.355249285697937f,-0.03321319818496704f,-0.43344053626060486f,0.17873415350914001f,-0.20421427488327026f,-0.050184011459350586f,0.12480869889259338f,-0.2250356674194336f,0.3545852601528168f,-0.3647043704986572f,0.42234641313552856f,-0.3869626522064209f,-0.28717151284217834f}, -{0.12352939695119858f,1.0202922821044922f,0.3954955041408539f,0.09096221625804901f,0.0033026933670043945f,0.32841622829437256f,-0.400757759809494f,-0.11795541644096375f,0.3487861454486847f,-0.32520344853401184f,-0.20216724276542664f,-0.45146751403808594f,-0.34278544783592224f,-0.7512372136116028f,0.5691444873809814f,0.8877333402633667f}, -{-0.2586395740509033f,-0.22174979746341705f,-0.15798500180244446f,0.3783508539199829f,-0.37393757700920105f,0.3508637249469757f,0.11292675137519836f,-0.2947862446308136f,-0.3764709532260895f,0.2424570620059967f,-0.11833125352859497f,-0.2837170362472534f,0.41839322447776794f,-0.005224073305726051f,-0.11831463873386383f,0.09768742322921753f}, -{-0.20115642249584198f,0.5370058417320251f,-0.2018718123435974f,0.11546266078948975f,0.07545611262321472f,0.5185575485229492f,-0.3408329486846924f,-0.21416273713111877f,-0.24509364366531372f,0.19522181153297424f,0.6304463148117065f,-0.5738548636436462f,-0.21711954474449158f,-0.6472672820091248f,-0.14394758641719818f,-0.5366228818893433f}, +{0.24082329869270325f,0.1137811467051506f,0.33083590865135193f,-0.8429262042045593f,-0.14358049631118774f,-0.22476071119308472f,-1.0996463298797607f,-0.3003333508968353f,0.2600560486316681f,-0.37898191809654236f,-0.41578999161720276f,-0.4754381477832794f,-0.4661617577075958f,1.0059937238693237f,0.2971428334712982f,-0.06159177049994469f}, +{-0.44531214237213135f,2.717273473739624f,-0.11379697918891907f,-0.4279143810272217f,0.041274964809417725f,-1.720950722694397f,-0.23378825187683105f,0.0019084513187408447f,0.06103590130805969f,-0.38046833872795105f,0.6478719115257263f,-0.5712987184524536f,-0.5864765048027039f,1.4002280235290527f,-0.49301907420158386f,-0.41093334555625916f}, +{-0.38513341546058655f,0.12773944437503815f,-0.13502129912376404f,0.29578521847724915f,0.12987366318702698f,0.5602099895477295f,0.5126923322677612f,-0.3632148504257202f,-0.13619378209114075f,0.16938945651054382f,-0.019373977556824684f,-0.2162623405456543f,0.07456039637327194f,-0.7268611788749695f,-0.1310821920633316f,-0.6657538414001465f}, +{-0.28092071413993835f,0.001229262095876038f,0.0457797646522522f,-0.3534037172794342f,-0.03321319818496704f,-0.42247140407562256f,0.17873415350914001f,-0.20421427488327026f,-0.050184011459350586f,0.12480869889259338f,-0.21061597764492035f,0.3545852601528168f,-0.3647043704986572f,0.4097099006175995f,-0.4015367925167084f,-0.27483001351356506f}, +{0.2604272663593292f,0.264649897813797f,0.3954955041408539f,-0.025560108944773674f,0.0033026933670043945f,0.2024259716272354f,-0.44381842017173767f,-0.11795541644096375f,0.3487861454486847f,-0.32520344853401184f,0.022341420873999596f,-0.4280291497707367f,-0.07242181897163391f,-0.4796713590621948f,0.22241145372390747f,0.10815822333097458f}, +{-0.26542574167251587f,-0.22185006737709045f,-0.15798500180244446f,0.39498019218444824f,-0.37393757700920105f,0.34852489829063416f,0.11292675137519836f,-0.2947862446308136f,-0.3764709532260895f,0.2424570620059967f,-0.11940563470125198f,-0.2837170362472534f,0.41839322447776794f,-0.006209501065313816f,-0.11804895848035812f,0.09961984306573868f}, +{-0.44217583537101746f,0.38650038838386536f,-0.2018718123435974f,0.2671341896057129f,0.07545611262321472f,0.02205662615597248f,-0.9183232188224792f,-0.21416273713111877f,-0.24509364366531372f,0.19522181153297424f,-0.4001263678073883f,-0.8581504821777344f,-0.3216005861759186f,-0.14723245799541473f,-0.4056256115436554f,-0.4594080150127411f}, {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.3031010627746582f,-2.337932586669922f,0.12081471085548401f,-0.4727434515953064f,0.29976895451545715f,-0.6936953663825989f,-0.17153315246105194f,0.31089308857917786f,-0.3893685042858124f,-0.02222958207130432f,-1.2046879529953003f,-0.3625001907348633f,-0.6335773468017578f,0.9249081611633301f,-0.7597517967224121f,0.5675207376480103f}, +{-0.30765676498413086f,0.29720884561538696f,0.12081471085548401f,-0.6935977935791016f,0.29976895451545715f,-0.011142476461827755f,-0.34346121549606323f,0.31089308857917786f,-0.3893685042858124f,-0.02222958207130432f,0.17840665578842163f,-0.26431548595428467f,-0.3537645637989044f,-0.07839173823595047f,0.15004494786262512f,-0.04801149293780327f}, }; const float h3[16][16] = { - {-0.36079341173171997f,-2.431511402130127f,0.48094454407691956f,-0.43318596482276917f,0.7724326848983765f,-0.8424602150917053f,0.3332441747188568f,0.1677408516407013f,-0.2405819296836853f,0.04891335964202881f,0.007284906692802906f,0.3017812967300415f,1.454294204711914f,1.9459514617919922f,-1.176064133644104f,2.467236042022705f}, -{0.047732532024383545f,-0.424442321062088f,0.2520815134048462f,-0.29737576842308044f,0.08667732775211334f,-0.1258617639541626f,-0.3198729455471039f,-0.08507407456636429f,0.14653588831424713f,-0.5653276443481445f,0.2704995572566986f,-0.43905630707740784f,0.05636966973543167f,0.7499547600746155f,-0.6143069863319397f,-1.4294815063476562f}, + {-0.36079341173171997f,-1.143263578414917f,0.488620400428772f,-0.40178802609443665f,0.3974938690662384f,-0.554010272026062f,0.3332441747188568f,0.3036012351512909f,-0.27290216088294983f,0.04891335964202881f,-0.11870327591896057f,0.4001283347606659f,0.5667248368263245f,-0.31705108284950256f,-0.8017531633377075f,0.9460828304290771f}, +{0.047732532024383545f,0.42087841033935547f,-1.185537338256836f,-0.4769974648952484f,1.5526846647262573f,0.7469173073768616f,-0.3198729455471039f,0.06247803568840027f,0.10467226058244705f,-0.3445699214935303f,0.27816757559776306f,-0.3128277659416199f,-1.1787208318710327f,0.4197451174259186f,-0.31630969047546387f,-0.680528998374939f}, {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.19423305988311768f,0.014880705624818802f,-0.4279879331588745f,-0.5059630870819092f,0.41218385100364685f,0.20021501183509827f,0.07002416253089905f,-0.2341509461402893f,-0.365601509809494f,0.13192829489707947f,0.41021624207496643f,-0.3304626941680908f,0.43075019121170044f,0.6122162342071533f,-0.327704519033432f}, +{-0.30922991037368774f,0.06291081011295319f,0.10246843099594116f,-0.36938464641571045f,-0.45177850127220154f,0.31404903531074524f,0.20021501183509827f,0.07002416253089905f,-0.2780810296535492f,-0.365601509809494f,-0.00334065780043602f,0.41021624207496643f,-0.24010667204856873f,0.32018256187438965f,0.4193658232688904f,-0.43237024545669556f}, {-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.6680253744125366f,-0.24715794622898102f,0.10065750777721405f,0.06749700009822845f,0.34828999638557434f,-0.18732719123363495f,0.07260999083518982f,-0.5348027944564819f,-0.4479295611381531f,-0.24411070346832275f,-0.005275629460811615f,-0.24113760888576508f,0.04656511917710304f,0.483327716588974f,-0.5596005916595459f}, -{0.4110594093799591f,0.15456320345401764f,-0.24521583318710327f,0.37246426939964294f,0.1920163780450821f,-0.15861345827579498f,-0.08670487999916077f,-0.25336313247680664f,-0.030661463737487793f,-0.06259563565254211f,-0.1344406008720398f,0.35313835740089417f,0.23028717935085297f,0.08431509137153625f,0.3126353323459625f,-0.3391006588935852f}, +{-0.37449589371681213f,0.20090000331401825f,-0.834048330783844f,0.01603270135819912f,-2.9985592365264893f,0.6553953886032104f,-0.18732719123363495f,0.22384825348854065f,-0.574151873588562f,-0.1263466328382492f,-0.22504736483097076f,0.032252803444862366f,-0.7879837155342102f,1.0228817462921143f,0.48881152272224426f,-1.16532564163208f}, +{0.4110594093799591f,0.13219164311885834f,-0.6448153853416443f,0.2812342643737793f,1.953021764755249f,2.083373546600342f,-0.08670487999916077f,-0.25336313247680664f,-0.030661463737487793f,-0.06259563565254211f,-0.1344406008720398f,0.19511014223098755f,-0.1020517349243164f,1.995490312576294f,0.3126353323459625f,-0.24440596997737885f}, {-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.5555095076560974f,-0.27437877655029297f,-0.190069317817688f,-0.48159661889076233f,0.7639893889427185f,-0.08742031455039978f,-0.09131276607513428f,-0.1763586550951004f,-0.44166475534439087f,-0.02608502097427845f,-0.6524152159690857f,0.020948048681020737f,-0.9568206071853638f,0.2814425230026245f,0.34854236245155334f}, -{-0.408692330121994f,0.007887898944318295f,0.10853831470012665f,0.0922636091709137f,0.00928102619946003f,-0.19759854674339294f,0.03285527229309082f,0.38763079047203064f,-0.20705322921276093f,-0.25883403420448303f,0.12809070944786072f,0.03996849060058594f,-0.4604015052318573f,-0.35185670852661133f,-0.29245057702064514f,0.2524697184562683f}, -{-0.2991822361946106f,1.0659689903259277f,-0.6361850500106812f,-0.05932474136352539f,-0.5562215447425842f,0.8203627467155457f,-0.11253207921981812f,0.34576353430747986f,0.04814547300338745f,-0.35770976543426514f,-0.044228196144104004f,-0.36229726672172546f,0.1439414769411087f,-0.2309979945421219f,0.19343101978302002f,0.12345266342163086f}, -{-0.2675279378890991f,-0.015056195668876171f,0.31358519196510315f,0.028304465115070343f,0.40976324677467346f,-0.16461938619613647f,-0.32875844836235046f,-0.31893211603164673f,-0.5566126108169556f,-0.8399508595466614f,-0.42490312457084656f,-0.586377739906311f,0.834416925907135f,0.05600754916667938f,0.13219621777534485f,0.34952405095100403f}, -{-0.015470266342163086f,-0.9729060530662537f,1.0328625440597534f,0.31857767701148987f,1.0769188404083252f,-1.3789411783218384f,0.05196094512939453f,-0.1561768800020218f,-0.40417930483818054f,-0.38441595435142517f,0.09286094456911087f,-0.37651821970939636f,0.14351722598075867f,0.805290937423706f,-0.21882160007953644f,-0.48183634877204895f}, -{0.1863725483417511f,0.491633802652359f,-0.4661361277103424f,-0.4922640025615692f,0.005252148024737835f,-0.07922336459159851f,0.04860696196556091f,0.02271122857928276f,-0.163008913397789f,-0.08158453553915024f,-0.30917301774024963f,-0.004401434678584337f,0.293024480342865f,-0.09468794614076614f,-0.25325796008110046f,0.37502631545066833f}, +{0.15459725260734558f,0.48376256227493286f,-1.4667706489562988f,-0.32685157656669617f,1.650754690170288f,1.4456961154937744f,-0.08742031455039978f,0.05785742402076721f,-0.21206159889698029f,-0.4006803333759308f,-0.010033874772489071f,-0.3394511640071869f,-1.8365957736968994f,0.4232984185218811f,0.43110349774360657f,0.25701069831848145f}, +{-0.408692330121994f,-0.03736360743641853f,-0.046689990907907486f,0.0922636091709137f,-0.10973645001649857f,0.036243122071027756f,0.03285527229309082f,0.38763079047203064f,-0.20705322921276093f,-0.25883403420448303f,0.12809070944786072f,0.03996849060058594f,-0.5363480448722839f,-0.08788041770458221f,-0.22022756934165955f,0.20333699882030487f}, +{-0.2991822361946106f,0.2886410653591156f,-0.008879102766513824f,-0.05932474136352539f,0.15862831473350525f,0.07548534125089645f,-0.11253207921981812f,0.34576353430747986f,0.04814547300338745f,-0.35770976543426514f,-0.044228196144104004f,-0.36229726672172546f,0.029665851965546608f,-0.23580245673656464f,0.36124154925346375f,-0.0708257332444191f}, +{-0.2675279378890991f,-0.2911551296710968f,0.36195290088653564f,-0.0742000937461853f,0.17168813943862915f,-0.17726589739322662f,-0.32875844836235046f,-0.31893211603164673f,-0.5975505709648132f,-0.5123520493507385f,-0.5051290392875671f,-0.5699688792228699f,0.7555776238441467f,-0.4512740671634674f,0.32570356130599976f,0.2001260370016098f}, +{-0.015470266342163086f,-1.013896107673645f,1.2686545848846436f,0.3059275448322296f,0.9742163419723511f,-1.2714152336120605f,0.05196094512939453f,-0.008358269929885864f,-0.4632815718650818f,-0.38441595435142517f,0.13179203867912292f,-0.11511552333831787f,1.7317372560501099f,-1.074276089668274f,0.05684695392847061f,0.13363729417324066f}, +{0.1863725483417511f,0.2588604688644409f,0.14517664909362793f,-0.4587732255458832f,0.5101640224456787f,-0.052523400634527206f,0.04860696196556091f,0.17769548296928406f,-0.07567992806434631f,0.3378079831600189f,-0.5175046920776367f,0.19592127203941345f,0.41557058691978455f,0.04753263667225838f,-0.0671350508928299f,0.012366940267384052f}, }; -const float hout[16] = { 0.45773375034332275f,0.46150368452072144f,-0.1613515466451645f,-0.07821951061487198f,-0.3364546298980713f,0.45417219400405884f,0.0030125975608825684f,0.05208330228924751f,-0.12402372807264328f,-0.05899381637573242f,-0.028325878083705902f,0.015735700726509094f,-0.24386273324489594f,0.7545584440231323f,0.8510534167289734f,-0.35208162665367126f }; +const float hout[16] = { 0.45773375034332275f,0.4934138059616089f,-0.31276360154151917f,-0.11094537377357483f,-0.4379214942455292f,0.275130957365036f,0.0030125975608825684f,0.15066689252853394f,-0.03219647705554962f,-0.137367382645607f,0.14630194008350372f,-0.13120849430561066f,-0.5213952660560608f,0.2428734451532364f,0.5468740463256836f,-1.172336459159851f }; -const float b1[16] = { 0.9123589992523193f,1.0290874242782593f,-1.7145336866378784f,0.1726180613040924f,1.0475683212280273f,0.9286171793937683f,-0.058932315558195114f,0.9587783217430115f,0.8604491353034973f,-0.932363748550415f,0.5728248357772827f,0.08530331403017044f,-0.37935054302215576f,-0.7848360538482666f,-1.087764859199524f,1.9914882183074951f }; +const float b1[16] = { 0.806250274181366f,1.0885556936264038f,-1.7145336866378784f,0.2161281704902649f,1.0408236980438232f,0.9784020781517029f,-0.058932315558195114f,1.0601048469543457f,0.944878339767456f,-0.9926996827125549f,0.5709254145622253f,1.3733630180358887f,-0.377168744802475f,-0.9282650947570801f,-1.087764859199524f,0.8483772277832031f }; -const float b2[16] = { 0.1742895245552063f,-0.7612563371658325f,-1.4564176797866821f,-0.7200983166694641f,-0.6939148902893066f,0.1939559280872345f,0.2192271202802658f,-0.30969977378845215f,-1.20063054561615f,-1.912178635597229f,-0.03863578662276268f,0.41583994030952454f,-0.2901434004306793f,1.971176028251648f,0.2521037757396698f,0.7886443138122559f }; +const float b2[16] = { -0.19609975814819336f,-0.5893186330795288f,-1.4564176797866821f,-0.7850483059883118f,-0.6939148902893066f,0.33516204357147217f,0.30513012409210205f,-0.30969977378845215f,-1.20063054561615f,-1.912178635597229f,-0.07262703031301498f,0.11196072399616241f,-0.3845836818218231f,1.9019356966018677f,0.059040557593107224f,0.6883239150047302f }; -const float b3[16] = { -1.963319182395935f,-0.2411147952079773f,0.37178677320480347f,-0.07739337533712387f,0.34993961453437805f,0.5473472476005554f,-0.45353031158447266f,-0.8083206415176392f,0.36311396956443787f,0.10367195308208466f,-0.27569082379341125f,-0.13503602147102356f,-0.3063124120235443f,0.6951006054878235f,-1.3749268054962158f,-0.20929524302482605f }; +const float b3[16] = { -1.963319182395935f,-0.5097787380218506f,0.3766120374202728f,-0.22088897228240967f,-0.5989260077476501f,0.6555646061897278f,-0.45353031158447266f,-0.6562485098838806f,0.3250890374183655f,0.43368595838546753f,-0.2800405025482178f,-0.10731422901153564f,-0.2914130687713623f,0.2388453334569931f,-1.1914259195327759f,-0.531191885471344f }; -const float bout[1] = { -0.49270275235176086f }; +const float bout[1] = { -0.18633674085140228f }; float VALVE_POS_RAW_NN = 0.0f;