![](/media/cache/img/default_profile.jpg.50x50_q85.jpg)
Original Version of STM Board
Diff: main.cpp
- Revision:
- 153:0c49704a06ed
- Parent:
- 152:a1aa20ae5332
- Child:
- 154:cec78c7b20db
diff -r a1aa20ae5332 -r 0c49704a06ed main.cpp --- a/main.cpp Sat Oct 10 09:56:18 2020 +0000 +++ b/main.cpp Sat Oct 10 14:15:11 2020 +0000 @@ -1,4 +1,4 @@ -//201010-2 +//201010-3 #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.8254300951957703f,0.7507821917533875f,0.12903714179992676f,0.4168238937854767f,-1.0212955474853516f,0.8029837608337402f,-0.17472904920578003f,0.6241715550422668f,-0.9273817539215088f,-0.7345587015151978f,-0.23348425328731537f,-0.6109985709190369f,-0.27126044034957886f,-0.37711063027381897f,-0.2571594715118408f,-0.5817620158195496f}, -{-0.7197705507278442f,0.574379026889801f,-0.3927857577800751f,0.037795133888721466f,-0.8019629120826721f,0.3929319977760315f,-0.4054011106491089f,0.26279690861701965f,-0.4696201682090759f,-0.2363312691450119f,-0.2703639566898346f,-0.47140437364578247f,0.2284385859966278f,-0.6859781742095947f,-0.20967772603034973f,-0.18805253505706787f}, -{-0.5507479906082153f,0.3231552243232727f,0.36391180753707886f,-0.3808029890060425f,-0.25124263763427734f,0.28023967146873474f,0.2872133255004883f,0.19817791879177094f,-0.28775754570961f,0.02548103593289852f,-0.3443242609500885f,-0.46265146136283875f,-0.009747563861310482f,0.03349454328417778f,0.05590221285820007f,-0.3138071596622467f}, -{-0.21567216515541077f,-0.19794155657291412f,0.39742106199264526f,0.21521669626235962f,0.12050507217645645f,-0.41127583384513855f,-0.11584559082984924f,0.18912489712238312f,0.17919127643108368f,0.43864011764526367f,0.09942778199911118f,0.017120322212576866f,-0.1717938780784607f,0.20313744246959686f,-0.2961459457874298f,0.134671151638031f}, -{0.5831760168075562f,-0.3482406437397003f,-0.0051451027393341064f,0.10491812229156494f,0.5081925392150879f,-0.4696034789085388f,0.1294034719467163f,-0.4849582016468048f,0.5045273303985596f,0.5730445981025696f,0.35131052136421204f,-0.12914538383483887f,-0.07530196011066437f,0.642650842666626f,-0.3865056037902832f,-0.03148502856492996f}, -{1.15403413772583f,-1.2988249063491821f,0.21773302555084229f,0.07684443891048431f,1.122854471206665f,-1.137669324874878f,0.16514194011688232f,-1.1202317476272583f,0.8649137616157532f,0.9448323249816895f,-0.24429729580879211f,0.23524552583694458f,-0.2719132900238037f,1.1298778057098389f,-0.4132833778858185f,0.11943458765745163f}, -{0.0733875185251236f,-0.050326842814683914f,-0.2501986622810364f,-0.5714490413665771f,-0.48090389370918274f,0.1535172313451767f,0.06014183163642883f,-0.5320321321487427f,0.22543857991695404f,0.1415068805217743f,0.15420372784137726f,0.2599380314350128f,-0.17985212802886963f,0.3277214467525482f,-0.15618428587913513f,-0.3626363277435303f}, -{-0.02625521458685398f,-0.27711668610572815f,-0.26619744300842285f,-0.04973488301038742f,-0.42900940775871277f,-0.14157706499099731f,-0.17925891280174255f,-0.39851468801498413f,0.006405356805771589f,0.24211496114730835f,0.10795889794826508f,-0.3910355269908905f,0.36379051208496094f,0.2107359766960144f,0.04303058981895447f,0.03499684855341911f}, -{0.11886928230524063f,0.3113223910331726f,0.10248100757598877f,-0.5355892181396484f,-0.26523807644844055f,0.09172051399946213f,-0.07246989011764526f,-0.4619968831539154f,-0.29571041464805603f,0.47565025091171265f,-0.29469719529151917f,0.09312517940998077f,0.22130082547664642f,0.29027897119522095f,-0.30555272102355957f,0.06503288447856903f}, -{-0.11729703843593597f,-0.2382141798734665f,0.18462657928466797f,-0.2830526828765869f,0.05397186428308487f,0.21832408010959625f,-0.2990540862083435f,-0.14459505677223206f,-0.025881795212626457f,-0.33147555589675903f,-0.0057074264623224735f,-0.6476274728775024f,0.3643333613872528f,-0.14579731225967407f,0.3484981060028076f,-0.15295149385929108f}, -{0.3912433683872223f,0.0967978984117508f,0.37182438373565674f,0.11428315192461014f,-0.0661507099866867f,-0.014863435178995132f,-0.20339298248291016f,-0.031010780483484268f,-0.4541774392127991f,0.161847323179245f,0.35092368721961975f,-0.4030248820781708f,-0.07453419268131256f,0.060415174812078476f,0.26688337326049805f,-0.5110751986503601f}, -{-0.3745262622833252f,-0.41436755657196045f,-0.40320003032684326f,-0.13045842945575714f,0.05236468464136124f,-0.10122650116682053f,0.1533789038658142f,0.35891976952552795f,-0.17215557396411896f,0.34526148438453674f,-0.4116147458553314f,0.06465048342943192f,0.13671906292438507f,0.04717200621962547f,0.10493969917297363f,-0.30010372400283813f}, -{-0.07955340296030045f,-0.20523695647716522f,0.19847965240478516f,0.02928774803876877f,0.2320202887058258f,0.11406565457582474f,-0.2404318004846573f,0.15049226582050323f,-0.21359969675540924f,-0.07628761976957321f,-0.1064448431134224f,-0.34715205430984497f,0.08407799899578094f,0.06246500834822655f,-0.22268100082874298f,-0.623881459236145f}, -{-0.19623248279094696f,-0.09420984238386154f,0.4127817749977112f,-0.20027711987495422f,-0.3459511399269104f,-0.2776871621608734f,-0.32001304626464844f,-0.28172504901885986f,-0.18096543848514557f,-0.12780389189720154f,-0.1923646777868271f,-0.3389253616333008f,-0.32064521312713623f,-0.02700648456811905f,0.0479682981967926f,-0.15467779338359833f}, -{0.09173628687858582f,0.029127590358257294f,0.20282304286956787f,-0.03988397866487503f,0.23678584396839142f,-0.15773610770702362f,0.04202890396118164f,0.32451656460762024f,0.22196155786514282f,0.14590544998645782f,-0.2767699956893921f,-0.6232771873474121f,0.09574126452207565f,-0.05542082339525223f,0.0668090283870697f,-0.08928685635328293f}, -{-0.10996658354997635f,-0.3418191075325012f,-0.40439701080322266f,-0.19195640087127686f,-0.24408096075057983f,-0.033885397017002106f,-0.15568238496780396f,0.013156994245946407f,0.1420391947031021f,0.08453238755464554f,-0.471200555562973f,-0.2810949385166168f,-0.2788753807544708f,0.022349270060658455f,-0.08245879411697388f,-0.036898329854011536f}, -{-0.0781601294875145f,-0.22968390583992004f,0.16706281900405884f,-0.011049232445657253f,-0.021497728303074837f,-0.35636264085769653f,-0.041414469480514526f,-0.03047158010303974f,-0.0543629415333271f,0.2552012801170349f,-0.35087165236473083f,0.16808921098709106f,0.10427239537239075f,0.44614723324775696f,0.29427415132522583f,-0.17896637320518494f}, + {-1.0053454637527466f,1.165382981300354f,0.12903714179992676f,0.4168238937854767f,-1.7215864658355713f,1.218638300895691f,-0.17472904920578003f,-1.927714228630066f,-2.76181697845459f,-1.4767682552337646f,-0.23348425328731537f,-0.6109985709190369f,-0.27126044034957886f,-0.914866030216217f,-0.2571594715118408f,-0.5817620158195496f}, +{-1.017139196395874f,1.1311887502670288f,-0.3927857577800751f,0.037795133888721466f,-1.6398292779922485f,0.8946645259857178f,-0.4054011106491089f,-0.8570223450660706f,-1.9269729852676392f,-0.9376359581947327f,-0.2703639566898346f,-0.47140437364578247f,0.2284385859966278f,-1.337502360343933f,-0.20967772603034973f,-0.18805253505706787f}, +{-0.8096152544021606f,0.873984158039093f,0.36391180753707886f,-0.3808029890060425f,-1.0694563388824463f,0.697857677936554f,0.2872133255004883f,0.6197472214698792f,-1.1962336301803589f,-0.5690436363220215f,-0.3443242609500885f,-0.46265146136283875f,-0.009747563861310482f,-0.5814982652664185f,0.05590221285820007f,-0.3138071596622467f}, +{-0.17405609786510468f,0.07529711723327637f,0.39742106199264526f,0.21521669626235962f,-0.42367881536483765f,-0.3246016800403595f,-0.11584559082984924f,1.8207687139511108f,0.013586725108325481f,0.05418584123253822f,0.09942778199911118f,0.017120322212576866f,-0.1717938780784607f,-0.11846218258142471f,-0.2961459457874298f,0.134671151638031f}, +{1.3664965629577637f,-0.833306610584259f,-0.0051451027393341064f,0.10491812229156494f,0.6566277146339417f,-1.0874406099319458f,0.1294034719467163f,1.1951881647109985f,1.3496301174163818f,0.5694941282272339f,0.35131052136421204f,-0.12914538383483887f,-0.07530196011066437f,1.047242522239685f,-0.3865056037902832f,-0.03148502856492996f}, +{3.1260898113250732f,-3.02878737449646f,0.21773302555084229f,0.07684443891048431f,2.3868446350097656f,-2.839189052581787f,0.16514194011688232f,-0.4935198426246643f,3.018803119659424f,1.4941402673721313f,-0.24429729580879211f,0.23524552583694458f,-0.2719132900238037f,2.696840763092041f,-0.4132833778858185f,0.11943458765745163f}, +{-0.1340257078409195f,0.07503481954336166f,-0.2501986622810364f,-0.5714490413665771f,0.3187718987464905f,0.570574164390564f,0.06014183163642883f,-3.1714365482330322f,0.6567281484603882f,-0.2098853886127472f,0.15420372784137726f,0.2599380314350128f,-0.17985212802886963f,0.39328134059906006f,-0.15618428587913513f,-0.3626363277435303f}, +{-0.34435296058654785f,-0.012538609094917774f,-0.26619744300842285f,-0.04973488301038742f,0.11863096803426743f,0.1475219875574112f,-0.17925891280174255f,0.8492745757102966f,0.6626846194267273f,0.09383076429367065f,0.10795889794826508f,-0.3910355269908905f,0.36379051208496094f,0.056736353784799576f,0.04303058981895447f,0.03499684855341911f}, +{-0.03953158110380173f,0.3932623863220215f,0.10248100757598877f,-0.5355892181396484f,0.21282459795475006f,0.3008025288581848f,-0.07246989011764526f,-0.5614730715751648f,0.21109053492546082f,0.38473838567733765f,-0.29469719529151917f,0.09312517940998077f,0.22130082547664642f,0.2761628329753876f,-0.30555272102355957f,0.06503288447856903f}, +{-0.2498210221529007f,-0.18969154357910156f,0.18462657928466797f,-0.2830526828765869f,0.3524583578109741f,0.437592089176178f,-0.2990540862083435f,-1.018021821975708f,0.24932323396205902f,-0.40441447496414185f,-0.0057074264623224735f,-0.6476274728775024f,0.3643333613872528f,-0.15599457919597626f,0.3484981060028076f,-0.15295149385929108f}, +{0.26362940669059753f,0.14251378178596497f,0.37182438373565674f,0.11428315192461014f,0.06541232764720917f,0.20411162078380585f,-0.20339298248291016f,-1.1337705850601196f,-0.36703523993492126f,0.08266060054302216f,0.35092368721961975f,-0.4030248820781708f,-0.07453419268131256f,0.03711502626538277f,0.26688337326049805f,-0.5110751986503601f}, +{-0.47889503836631775f,-0.3821464478969574f,-0.40320003032684326f,-0.13045842945575714f,0.05750419571995735f,0.07811280339956284f,0.1533789038658142f,-0.6498957872390747f,-0.17832103371620178f,0.28047940135002136f,-0.4116147458553314f,0.06465048342943192f,0.13671906292438507f,0.024875329807400703f,0.10493969917297363f,-0.30010372400283813f}, +{-0.15425777435302734f,-0.18921853601932526f,0.19847965240478516f,0.02928774803876877f,0.1333763599395752f,0.23752522468566895f,-0.2404318004846573f,-0.6078210473060608f,-0.28100213408470154f,-0.13341671228408813f,-0.1064448431134224f,-0.34715205430984497f,0.08407799899578094f,0.05720480531454086f,-0.22268100082874298f,-0.623881459236145f}, +{-0.15392543375492096f,-0.18275730311870575f,0.4127817749977112f,-0.20027711987495422f,-0.4485686123371124f,-0.2975243926048279f,-0.32001304626464844f,-0.8293079137802124f,-0.22202277183532715f,-0.14376209676265717f,-0.1923646777868271f,-0.3389253616333008f,-0.32064521312713623f,0.07501403987407684f,0.0479682981967926f,-0.15467779338359833f}, +{0.03585406765341759f,0.06250490993261337f,0.20282304286956787f,-0.03988397866487503f,-0.08376752585172653f,-0.12575282156467438f,0.04202890396118164f,0.3477931320667267f,0.015949571505188942f,0.0834326520562172f,-0.2767699956893921f,-0.6232771873474121f,0.09574126452207565f,-0.057463183999061584f,0.0668090283870697f,-0.08928685635328293f}, +{-0.056848231703042984f,-0.4038394093513489f,-0.40439701080322266f,-0.19195640087127686f,-0.5874671936035156f,-0.14001378417015076f,-0.15568238496780396f,0.08331834524869919f,-0.0979955643415451f,0.0963992103934288f,-0.471200555562973f,-0.2810949385166168f,-0.2788753807544708f,0.11750313639640808f,-0.08245879411697388f,-0.036898329854011536f}, +{0.2834620475769043f,-0.5991495847702026f,0.16706281900405884f,-0.011049232445657253f,-0.21110573410987854f,-0.7775982618331909f,-0.041414469480514526f,-0.4800585210323334f,-0.20226560533046722f,0.4486004114151001f,-0.35087165236473083f,0.16808921098709106f,0.10427239537239075f,0.8360305428504944f,0.29427415132522583f,-0.17896637320518494f}, }; const float h2[16][16] = { - {-0.9383106231689453f,1.1018035411834717f,-0.06966331601142883f,0.660603940486908f,-0.21907491981983185f,1.6187254190444946f,-0.12359052151441574f,0.0904630720615387f,-0.43008196353912354f,-0.1415480375289917f,-0.1424168050289154f,-0.16137951612472534f,-0.014296061359345913f,-1.382235050201416f,-1.3216447830200195f,-0.3229021728038788f}, -{0.3241967260837555f,-0.5420487523078918f,0.057057321071624756f,-0.28702524304389954f,-0.35503754019737244f,-0.9248805642127991f,-0.5992633700370789f,-0.2990124225616455f,-0.33757925033569336f,0.2895788848400116f,-1.1757327318191528f,-0.7320427894592285f,0.21377265453338623f,0.6930166482925415f,0.3844112157821655f,-1.1101199388504028f}, + {-0.9383106231689453f,1.0831480026245117f,-0.06966331601142883f,0.5075902938842773f,-0.21907491981983185f,0.5885099768638611f,-0.12359052151441574f,0.0904630720615387f,-0.43008196353912354f,-0.1415480375289917f,-5.3258771896362305f,-0.16137951612472534f,-0.014296061359345913f,-1.4231160879135132f,-1.3216447830200195f,-0.4595727324485779f}, +{0.3241967260837555f,-1.081264615058899f,0.057057321071624756f,-0.4296506345272064f,-0.35503754019737244f,-1.109207272529602f,-0.5992633700370789f,-0.2990124225616455f,-0.33757925033569336f,0.2895788848400116f,-1.9289618730545044f,-0.7320427894592285f,0.21377265453338623f,2.6651933193206787f,0.3844112157821655f,-2.8005716800689697f}, {-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.019302673637866974f,-0.31937751173973083f,-0.2894435524940491f,0.3536301553249359f,0.08946844935417175f,0.2697038948535919f,-0.23805393278598785f,0.4122363030910492f,0.26211628317832947f,0.2953031361103058f,0.20959502458572388f,0.31786471605300903f,-0.5287175178527832f,-0.18776454031467438f,0.23656556010246277f,0.0696800947189331f}, -{-0.5404505729675293f,1.0379327535629272f,-0.25313520431518555f,0.4883582890033722f,0.036378175020217896f,0.4620217978954315f,-0.715425431728363f,-0.08570799231529236f,-0.024399548768997192f,-0.39465832710266113f,-2.194809675216675f,-0.7516492605209351f,-0.025610558688640594f,-0.809726893901825f,-0.5844368934631348f,-0.41645702719688416f}, -{0.49694937467575073f,-0.07518444210290909f,-0.3519742488861084f,0.09521043300628662f,-0.3015052080154419f,-0.5278661251068115f,-0.7031406164169312f,-0.019414573907852173f,-0.23047015070915222f,0.3579089343547821f,-1.7233885526657104f,-0.3605239689350128f,-0.3332633078098297f,0.3073959946632385f,0.32065537571907043f,-0.9486016035079956f}, +{-0.5404505729675293f,2.329841136932373f,-0.25313520431518555f,0.3359232246875763f,0.036378175020217896f,2.1661553382873535f,-0.715425431728363f,-0.08570799231529236f,-0.024399548768997192f,-0.39465832710266113f,-2.4399101734161377f,-0.7516492605209351f,-0.025610558688640594f,-1.723425269126892f,-0.5844368934631348f,-3.8451337814331055f}, +{0.49694937467575073f,-1.0928959846496582f,-0.3519742488861084f,-0.05607288330793381f,-0.3015052080154419f,-0.10164236277341843f,-0.7031406164169312f,-0.019414573907852173f,-0.23047015070915222f,0.3579089343547821f,-2.426273822784424f,-0.3605239689350128f,-0.3332633078098297f,0.3884989321231842f,0.32065537571907043f,-3.0290184020996094f}, {-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.34379541873931885f,0.07025742530822754f,0.33083590865135193f,-0.5752029418945312f,-0.14358049631118774f,-0.6514996886253357f,-0.5378796458244324f,-0.3003333508968353f,0.2600560486316681f,-0.37898191809654236f,-0.959075391292572f,-0.4488765299320221f,-0.46368518471717834f,0.200287863612175f,0.45131364464759827f,-0.18125754594802856f}, -{-0.5643041729927063f,0.6005890965461731f,-0.11379697918891907f,0.08313353359699249f,0.041274964809417725f,-0.23937101662158966f,-0.38488316535949707f,0.0019084513187408447f,0.06103590130805969f,-0.38046833872795105f,-1.9497714042663574f,-0.4399111866950989f,-0.49465200304985046f,-0.8651032447814941f,-1.0242294073104858f,-0.6703516244888306f}, -{-0.36850476264953613f,0.43221837282180786f,-0.13502129912376404f,0.09294258058071136f,0.12987366318702698f,0.1642816960811615f,0.025097839534282684f,-0.3632148504257202f,-0.13619378209114075f,0.16938945651054382f,0.34011030197143555f,-0.020312804728746414f,0.25810474157333374f,-0.5183535218238831f,-0.12163006514310837f,-0.5775133371353149f}, +{0.34379541873931885f,0.06561523675918579f,0.33083590865135193f,-0.6611100435256958f,-0.14358049631118774f,-0.3734801709651947f,-0.5378796458244324f,-0.3003333508968353f,0.2600560486316681f,-0.37898191809654236f,-0.226281076669693f,-0.4488765299320221f,-0.46368518471717834f,-0.09222345054149628f,0.45131364464759827f,-0.02688906341791153f}, +{-0.5643041729927063f,-0.13261672854423523f,-0.11379697918891907f,-0.06631220132112503f,0.041274964809417725f,-1.3097041845321655f,-0.38488316535949707f,0.0019084513187408447f,0.06103590130805969f,-0.38046833872795105f,-1.7833163738250732f,-0.4399111866950989f,-0.49465200304985046f,-1.0613385438919067f,-1.0242294073104858f,-4.783866882324219f}, +{-0.36850476264953613f,-0.08842887729406357f,-0.13502129912376404f,-0.05476556345820427f,0.12987366318702698f,0.3576016128063202f,0.025097839534282684f,-0.3632148504257202f,-0.13619378209114075f,0.16938945651054382f,0.3536909520626068f,-0.020312804728746414f,0.25810474157333374f,-0.5278764367103577f,-0.12163006514310837f,-1.1409674882888794f}, {-0.2813872694969177f,-0.00497382041066885f,0.0457797646522522f,-0.35608989000320435f,-0.03321319818496704f,-0.42408305406570435f,0.17873415350914001f,-0.20421427488327026f,-0.050184011459350586f,0.12480869889259338f,-0.21834108233451843f,0.3545852601528168f,-0.3647043704986572f,0.4149576723575592f,-0.3941495716571808f,-0.2813969850540161f}, {0.13687370717525482f,-0.059931907802820206f,0.3954955041408539f,0.2401815950870514f,0.0033026933670043945f,-0.07171623408794403f,-0.3347725570201874f,-0.11795541644096375f,0.3487861454486847f,-0.32520344853401184f,0.3078825771808624f,-0.3092644512653351f,-0.041866134852170944f,-0.12116000801324844f,-0.08961938321590424f,-0.2887650728225708f}, {-0.2724846303462982f,-0.2191464900970459f,-0.15798500180244446f,0.3605934679508209f,-0.37393757700920105f,0.36071473360061646f,0.11292675137519836f,-0.2947862446308136f,-0.3764709532260895f,0.2424570620059967f,-0.11572924256324768f,-0.2837170362472534f,0.41839322447776794f,-0.007733283098787069f,-0.12089615315198898f,0.09913300722837448f}, -{-0.44937533140182495f,0.5274033546447754f,-0.2018718123435974f,0.17445845901966095f,0.07545611262321472f,0.2280377447605133f,-0.35733166337013245f,-0.21416273713111877f,-0.24509364366531372f,0.19522181153297424f,0.3650311529636383f,-0.6551876664161682f,-0.2901351749897003f,-0.21052323281764984f,-0.4476006031036377f,-0.4460362493991852f}, +{-0.44937533140182495f,0.22338654100894928f,-0.2018718123435974f,0.028087720274925232f,0.07545611262321472f,0.40182366967201233f,-0.35733166337013245f,-0.21416273713111877f,-0.24509364366531372f,0.19522181153297424f,0.3509725034236908f,-0.6551876664161682f,-0.2901351749897003f,-0.4390539526939392f,-0.4476006031036377f,-0.39824172854423523f}, {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.32074493169784546f,0.28163957595825195f,0.12081471085548401f,-0.2792678773403168f,0.29976895451545715f,-0.09895425289869308f,-0.112851083278656f,0.31089308857917786f,-0.3893685042858124f,-0.02222958207130432f,0.19800294935703278f,-0.21138212084770203f,-0.32622218132019043f,0.10677647590637207f,0.025399623438715935f,-0.12184686958789825f}, }; const float h3[16][16] = { {-0.36079341173171997f,-2.3632097244262695f,0.5522572994232178f,-0.18605372309684753f,0.4817552864551544f,-0.6248658895492554f,0.3332441747188568f,0.3036012351512909f,-0.25323954224586487f,0.04891335964202881f,-0.11870327591896057f,0.4001283347606659f,1.1125493049621582f,-0.44441652297973633f,-1.3757370710372925f,1.5330219268798828f}, -{0.047732532024383545f,0.6346578598022461f,-0.20648053288459778f,-0.33036500215530396f,-0.2043900489807129f,-0.3440712094306946f,-0.3198729455471039f,0.06247803568840027f,0.29024845361709595f,-0.24913446605205536f,0.4144817292690277f,-0.3128277659416199f,-1.713477611541748f,0.1287703663110733f,-0.2150486558675766f,-2.1169426441192627f}, +{0.047732532024383545f,2.2143423557281494f,-0.5372059941291809f,-0.33036500215530396f,-0.2043900489807129f,-0.630955696105957f,-0.3198729455471039f,0.06247803568840027f,-2.8049497604370117f,-0.5740840435028076f,0.27142685651779175f,-0.4278912842273712f,-1.1769685745239258f,-0.3789185583591461f,-0.36737439036369324f,-1.6531002521514893f}, {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.17844665050506592f,0.23235689103603363f,-0.46450337767601013f,-0.309892475605011f,0.1468031406402588f,0.20021501183509827f,0.07002416253089905f,-0.24391815066337585f,-0.365601509809494f,0.13192829489707947f,0.41021624207496643f,-0.48090386390686035f,0.14736925065517426f,0.28556615114212036f,-0.6021602153778076f}, +{-0.30922991037368774f,0.1414455622434616f,0.23235689103603363f,-0.46450337767601013f,-0.309892475605011f,0.10625627636909485f,0.20021501183509827f,0.07002416253089905f,-0.24391815066337585f,-0.365601509809494f,0.13192829489707947f,0.41021624207496643f,-0.48090386390686035f,0.14736925065517426f,0.28556615114212036f,-0.6021602153778076f}, {-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.0203477144241333f,-2.2539610862731934f,0.04070039466023445f,-0.2776142954826355f,0.5053220391273499f,-0.18732719123363495f,0.22384825348854065f,-0.39205682277679443f,-0.12441293895244598f,-0.08919548988342285f,0.19005391001701355f,-0.7122978568077087f,0.18493470549583435f,0.6025885343551636f,-0.9960229396820068f}, +{-0.37449589371681213f,0.20651906728744507f,-3.5051519870758057f,0.04070039466023445f,-0.3909818232059479f,1.060563087463379f,-0.18732719123363495f,0.22384825348854065f,-0.34972047805786133f,-0.4653087854385376f,-0.23815886676311493f,0.013178281486034393f,0.5318746566772461f,-0.1912338137626648f,0.44518983364105225f,-0.8809158205986023f}, {0.4110594093799591f,0.16345514357089996f,-0.09862132370471954f,0.37246426939964294f,0.2589079439640045f,-0.17609281837940216f,-0.08670487999916077f,-0.25336313247680664f,-0.030661463737487793f,-0.06259563565254211f,-0.1344406008720398f,0.35313835740089417f,0.5628896951675415f,0.035575930029153824f,0.3126353323459625f,0.043686822056770325f}, {-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,1.847203016281128f,-0.20702162384986877f,-0.18694625794887543f,-0.38738688826560974f,1.808054804801941f,-0.08742031455039978f,0.05785742402076721f,-0.033114273101091385f,-0.21430663764476776f,0.1268840730190277f,-0.30447322130203247f,-0.07351867109537125f,-0.4680652916431427f,0.4414437711238861f,0.4711373448371887f}, +{0.15459725260734558f,2.2374267578125f,-0.20702162384986877f,-0.18694625794887543f,-0.38738688826560974f,2.2054245471954346f,-0.08742031455039978f,0.05785742402076721f,-0.033114273101091385f,-0.21430663764476776f,0.1268840730190277f,-0.30447322130203247f,-0.346512109041214f,-0.4680652916431427f,0.4414437711238861f,0.33215945959091187f}, {-0.408692330121994f,0.06622173637151718f,0.053418613970279694f,0.0922636091709137f,-0.02326192334294319f,-0.13765206933021545f,0.03285527229309082f,0.38763079047203064f,-0.20705322921276093f,-0.25883403420448303f,0.12809070944786072f,0.03996849060058594f,-0.40041646361351013f,-0.306822270154953f,-0.3139876425266266f,0.34044501185417175f}, {-0.2991822361946106f,0.243866965174675f,0.057913534343242645f,-0.05932474136352539f,0.22261089086532593f,0.10624121874570847f,-0.11253207921981812f,0.34576353430747986f,0.04814547300338745f,-0.35770976543426514f,-0.044228196144104004f,-0.36229726672172546f,0.15249380469322205f,-0.27166613936424255f,0.22517405450344086f,-0.03341919556260109f}, -{-0.2675279378890991f,-0.05893629789352417f,0.1110338568687439f,-0.0006368464673869312f,0.04936349764466286f,-0.21596567332744598f,-0.32875844836235046f,-0.31893211603164673f,-0.41233378648757935f,-0.5010577440261841f,-0.3685331642627716f,-0.41174250841140747f,0.5733410120010376f,-0.5403127074241638f,0.3135620057582855f,0.47427576780319214f}, +{-0.2675279378890991f,-0.2037803679704666f,1.1293216943740845f,-0.0006368464673869312f,-0.07937370985746384f,0.6289604306221008f,-0.32875844836235046f,-0.31893211603164673f,-1.493899941444397f,-0.9095659255981445f,-0.45591795444488525f,-0.5414313077926636f,1.5906513929367065f,-1.8899198770523071f,0.15753714740276337f,0.6742598414421082f}, {-0.015470266342163086f,-2.7333335876464844f,0.773011326789856f,0.28740301728248596f,0.09213997423648834f,-0.3367389440536499f,0.05196094512939453f,-0.008358269929885864f,-0.41446444392204285f,-0.38441595435142517f,0.13179203867912292f,-0.11511552333831787f,0.7641319036483765f,-0.060428280383348465f,-0.20003503561019897f,0.5673503875732422f}, -{0.1863725483417511f,0.024578282609581947f,-0.041027557104825974f,-0.47461920976638794f,0.5052651762962341f,-0.07427752763032913f,0.04860696196556091f,0.17769548296928406f,-0.022646836936473846f,0.3378079831600189f,-0.3929237127304077f,0.19592127203941345f,-0.11775971949100494f,0.05651840567588806f,-0.019543873146176338f,-0.15145954489707947f}, +{0.1863725483417511f,1.4587724208831787f,-0.041027557104825974f,-0.47461920976638794f,0.39698487520217896f,1.376760482788086f,0.04860696196556091f,0.17769548296928406f,-0.022646836936473846f,0.2179073542356491f,-0.3929237127304077f,0.19592127203941345f,0.10718917101621628f,0.05651840567588806f,-0.019543873146176338f,0.5210090279579163f}, }; -const float hout[16] = { 0.45773375034332275f,0.8504605889320374f,-0.47981545329093933f,-0.016836805269122124f,-0.0256032831966877f,0.49317023158073425f,0.0030125975608825684f,0.15066689252853394f,-0.26404035091400146f,-0.08780593425035477f,0.24303162097930908f,-0.2715643346309662f,-0.7156689763069153f,-0.09383254498243332f,0.6383092999458313f,-1.0312845706939697f }; +const float hout[16] = { 0.45773375034332275f,0.3668799102306366f,-0.13413715362548828f,-0.016836805269122124f,0.08971219509840012f,0.4475780427455902f,0.0030125975608825684f,0.15066689252853394f,-0.0630112737417221f,-0.06807868182659149f,0.21825642883777618f,-0.13003207743167877f,-0.49909707903862f,0.2512344419956207f,0.6037299036979675f,-0.14567755162715912f }; -const float b1[16] = { 0.6962379813194275f,0.9604794979095459f,-1.7145336866378784f,0.23827297985553741f,1.056889533996582f,0.8638935685157776f,-0.058932315558195114f,0.8794180154800415f,0.5413942933082581f,-0.7722088098526001f,0.574961245059967f,1.2480543851852417f,-0.3789219558238983f,-0.7435240149497986f,-1.087764859199524f,0.9895656108856201f }; +const float b1[16] = { 0.3099610209465027f,1.3175290822982788f,-1.7145336866378784f,0.23827297985553741f,1.7536879777908325f,1.1309794187545776f,-0.058932315558195114f,3.621431350708008f,1.4655077457427979f,-0.9159175157546997f,0.574961245059967f,1.2480543851852417f,-0.3789219558238983f,-0.948204517364502f,-1.087764859199524f,0.9895656108856201f }; -const float b2[16] = { -0.11788398772478104f,-0.8130703568458557f,-1.4564176797866821f,-0.6179319620132446f,-0.6939148902893066f,0.10162337869405746f,0.16136431694030762f,-0.30969977378845215f,-1.20063054561615f,-1.912178635597229f,-0.3580690622329712f,0.3422625660896301f,-0.2033599615097046f,2.0198655128479004f,0.09860430657863617f,0.6925148367881775f }; +const float b2[16] = { -0.11788398772478104f,-1.093178153038025f,-1.4564176797866821f,-0.7737739086151123f,-0.6939148902893066f,0.0007033227011561394f,0.16136431694030762f,-0.30969977378845215f,-1.20063054561615f,-1.912178635597229f,-0.5001667737960815f,0.3422625660896301f,-0.2033599615097046f,2.1852619647979736f,0.09860430657863617f,0.48487624526023865f }; -const float b3[16] = { -1.963319182395935f,-0.21402834355831146f,0.00163638882804662f,-0.12286757677793503f,-0.10734277963638306f,0.8261970281600952f,-0.45353031158447266f,-0.6562485098838806f,0.507068395614624f,0.44553086161613464f,-0.14371006190776825f,0.050810977816581726f,-0.3875081241130829f,0.24544529616832733f,-1.170535922050476f,-0.220807746052742f }; +const float b3[16] = { -1.963319182395935f,-0.22525213658809662f,-0.5830517411231995f,-0.12286757677793503f,-0.2395627647638321f,-0.07051343470811844f,-0.45353031158447266f,-0.6562485098838806f,0.47261902689933777f,0.013313661329448223f,-0.291460245847702f,-0.15192735195159912f,-0.1306169033050537f,0.5831792950630188f,-1.3271163702011108f,0.528087854385376f }; -const float bout[1] = { -0.2519563138484955f }; +const float bout[1] = { -0.18529483675956726f }; float VALVE_POS_RAW_NN = 0.0f;