![](/media/cache/img/default_profile.jpg.50x50_q85.jpg)
rainbow
Diff: main.cpp
- Revision:
- 119:8ade52d4bb25
- Parent:
- 118:af86e883dcb4
- Child:
- 120:17398540bb1c
--- a/main.cpp Mon Sep 14 02:06:21 2020 +0000 +++ b/main.cpp Mon Sep 14 07:19:35 2020 +0000 @@ -1,4 +1,4 @@ -//200914-2 +//200914-3 #include "mbed.h" #include "FastPWM.h" #include "INIT_HW.h" @@ -193,77 +193,77 @@ float input_NN[num_input] = { 0.0f }; const float h1[num_input][16] = { - {-0.9922683835029602f,0.8460232019424438f,0.12024858593940735f,0.42971673607826233f,-0.7831948399543762f,0.9466757774353027f,-0.1628284603357315f,0.8786351084709167f,-0.2666258215904236f,-0.07533060014247894f,-0.1956915706396103f,-0.12716156244277954f,-0.9979654550552368f,-0.24919171631336212f,-0.2396446317434311f,-0.7646004557609558f}, -{-1.0745341777801514f,0.8116288781166077f,-0.36603355407714844f,0.11917760968208313f,-0.7929401397705078f,0.7322802543640137f,-0.3777896761894226f,0.6243390440940857f,-0.0749230682849884f,0.1571505218744278f,-0.23001240193843842f,-0.2895985245704651f,-0.4654836356639862f,-0.7147734761238098f,-0.1953967958688736f,-0.526853084564209f}, -{-1.0916802883148193f,0.6941514015197754f,0.33912619948387146f,-0.23350191116333008f,-0.49327319860458374f,0.77676922082901f,0.2676515281200409f,0.6104924082756042f,-0.15097439289093018f,0.15909519791603088f,-0.29889100790023804f,-0.5846660733222961f,-0.5838217735290527f,-0.22375208139419556f,0.05209478735923767f,-0.7551524639129639f}, -{-0.9782484173774719f,0.31113147735595703f,0.3703531324863434f,0.35380131006240845f,-0.3702634572982788f,0.2814937233924866f,-0.10795548558235168f,0.6389802694320679f,0.020238667726516724f,0.2819874584674835f,0.11468183249235153f,-0.4511280059814453f,-0.5932655930519104f,-0.259999543428421f,-0.27597576379776f,-0.4377490282058716f}, -{-0.456306517124176f,0.24705632030963898f,-0.004794687032699585f,0.27283531427383423f,-0.2491397112607956f,0.36148759722709656f,0.12058994174003601f,0.014295617118477821f,0.026135817170143127f,0.10731380432844162f,0.3494521677494049f,-0.8916900157928467f,-0.2646500766277313f,-0.07438575476408005f,-0.36018112301826477f,-0.6685306429862976f}, -{-0.14345301687717438f,-0.6141415238380432f,0.20290347933769226f,0.255454957485199f,0.07266472280025482f,-0.17502927780151367f,0.15389427542686462f,-0.6482041478157043f,0.02910737134516239f,0.11359100788831711f,-0.20555031299591064f,-0.838413655757904f,-0.06824104487895966f,0.1409512758255005f,-0.38513508439064026f,-0.5575804710388184f}, -{-0.12874425947666168f,0.15096040070056915f,-0.2331579178571701f,-0.6160153150558472f,-0.3254242539405823f,0.14485986530780792f,0.05604562163352966f,-0.9803144335746765f,0.33852580189704895f,0.06457266211509705f,0.16518302261829376f,0.5692259073257446f,0.14356370270252228f,0.17044077813625336f,-0.14554673433303833f,0.004071855451911688f}, -{-0.14650265872478485f,-0.1280912607908249f,-0.24806702136993408f,-0.10933416336774826f,-0.30412396788597107f,-0.22102442383766174f,-0.16704979538917542f,-0.9642120599746704f,0.02454073168337345f,0.10739956796169281f,0.12258263677358627f,0.18821772933006287f,0.6021031737327576f,-0.02402644231915474f,0.04009982943534851f,0.19188940525054932f}, -{0.07880011945962906f,0.24555817246437073f,0.09550115466117859f,-0.5748773813247681f,-0.11726641654968262f,-0.09445475786924362f,-0.06753402948379517f,-1.1256269216537476f,-0.25171300768852234f,0.3228546679019928f,-0.2527022659778595f,0.5302071571350098f,0.5802300572395325f,0.13589775562286377f,-0.2847418785095215f,0.2381889373064041f}, -{-0.3524811267852783f,-0.27957043051719666f,0.17205187678337097f,-0.353553831577301f,0.15921594202518463f,0.16370359063148499f,-0.2786858379840851f,-0.6992180347442627f,-0.006810380611568689f,-0.44237667322158813f,0.016535434871912003f,-0.5385427474975586f,0.6526777744293213f,-0.2621651887893677f,0.3247623145580292f,-0.05272668972611427f}, -{-0.3432121276855469f,-0.1163753941655159f,0.34649983048439026f,-0.005047006532549858f,0.018827319145202637f,0.0882120430469513f,-0.1895401030778885f,-0.47850292921066284f,-0.39709779620170593f,0.02158806100487709f,0.34884387254714966f,-0.8406322598457336f,0.28447356820106506f,-0.11396709084510803f,0.24870619177818298f,-0.48489615321159363f}, -{-1.4658772945404053f,-0.9025406241416931f,-0.3757385015487671f,-0.27221575379371643f,0.09630811959505081f,0.007997093722224236f,0.1429324448108673f,-0.08122667670249939f,-0.13873571157455444f,0.183034747838974f,-0.36179932951927185f,-1.096313714981079f,0.6890646815299988f,-0.15136075019836426f,0.09779238700866699f,-0.33199232816696167f}, -{0.3255842328071594f,-0.13240604102611542f,0.18496140837669373f,0.1490352302789688f,0.22719809412956238f,0.3432508409023285f,-0.22405625879764557f,0.5712770819664001f,-0.1590391844511032f,-0.19357538223266602f,-0.0771421566605568f,0.4437602460384369f,-0.03669879585504532f,-0.38094064593315125f,-0.2075144499540329f,-0.5344372987747192f}, -{0.08733686059713364f,-0.5590197443962097f,0.38466766476631165f,-0.1221768856048584f,-0.18919458985328674f,-0.3587653934955597f,-0.2982172966003418f,0.07945907860994339f,-0.10940439254045486f,-0.22700423002243042f,-0.15709635615348816f,1.2706669569015503f,0.156779482960701f,-0.5185052156448364f,0.04470124840736389f,0.15615953505039215f}, -{0.403360515832901f,-0.7128850817680359f,0.18900898098945618f,-0.0196603462100029f,0.4677486717700958f,-0.48132121562957764f,0.03916636109352112f,0.48491209745407104f,0.2998749315738678f,0.05602376163005829f,-0.2355746030807495f,1.1661030054092407f,0.77826327085495f,-0.4945463538169861f,0.062258750200271606f,0.383340448141098f}, -{0.2593289613723755f,-0.9854602813720703f,-0.37685394287109375f,-0.18413859605789185f,0.012465625070035458f,-0.441338449716568f,-0.14507901668548584f,0.16470235586166382f,0.20499226450920105f,-0.030375521630048752f,-0.41661128401756287f,1.224860429763794f,0.43210548162460327f,-0.29650601744651794f,-0.07684260606765747f,0.46413087844848633f}, -{0.2933506667613983f,-0.6391526460647583f,0.15568438172340393f,-0.011705679818987846f,0.09584854543209076f,-0.6565345525741577f,-0.03859376907348633f,0.19194769859313965f,-0.04179299250245094f,0.05253047123551369f,-0.304436057806015f,1.0240694284439087f,0.5564665198326111f,0.17602147161960602f,0.2742314636707306f,0.2318839579820633f}, -{0.3379058837890625f,-0.29977551102638245f,0.19490453600883484f,-0.25027701258659363f,-0.3285960257053375f,-0.5744139552116394f,-0.336474746465683f,0.17858105897903442f,-0.36251819133758545f,-0.14384283125400543f,-0.12994831800460815f,0.2926623821258545f,0.5316202044487f,-0.030442986637353897f,-0.2561379373073578f,0.10979076474905014f}, -{0.17658555507659912f,-0.04404517263174057f,-0.2776013910770416f,0.1309312880039215f,0.3232283294200897f,-0.6174668669700623f,0.25546005368232727f,-0.2918916940689087f,-0.358376681804657f,-0.003287365660071373f,-0.37069639563560486f,-0.19753798842430115f,0.15488097071647644f,0.48237356543540955f,-0.30415377020835876f,-0.44348135590553284f}, -{0.8231086730957031f,0.2649248540401459f,0.1420871913433075f,-0.3401312530040741f,-0.2660701274871826f,-0.43393203616142273f,-0.13263443112373352f,-0.39492422342300415f,-0.14558611810207367f,0.013515380211174488f,0.1254778802394867f,-0.21490269899368286f,0.19694817066192627f,0.8114207983016968f,0.13351169228553772f,0.08890828490257263f}, -{0.40884125232696533f,-0.2336285412311554f,-0.07561364769935608f,0.02270103618502617f,-0.2815033197402954f,-0.73646479845047f,0.14428457617759705f,-0.20181608200073242f,-0.3427658975124359f,-0.31821179389953613f,-0.3578360378742218f,-1.0267835855484009f,-0.3186191916465759f,1.050688624382019f,0.019461065530776978f,0.23086552321910858f}, -{0.7475125193595886f,-0.665755569934845f,0.2631795108318329f,-0.724714457988739f,0.36547961831092834f,-1.258718490600586f,0.27224990725517273f,-0.8995881676673889f,-0.05133276432752609f,0.06621639430522919f,0.06264594197273254f,-1.6783150434494019f,0.43630486726760864f,1.1044129133224487f,0.06011766195297241f,0.3640836179256439f}, + {-0.05201108008623123f,1.7630244493484497f,0.12024858593940735f,0.470564067363739f,-0.8778451681137085f,0.9479458332061768f,-0.1628284603357315f,1.5956050157546997f,-0.2636244595050812f,-0.08055000752210617f,-0.1950138509273529f,-0.21651770174503326f,-1.5582096576690674f,0.15715108811855316f,-0.2396446317434311f,-0.7774190902709961f}, +{-0.20212215185165405f,1.66038978099823f,-0.36603355407714844f,0.15740251541137695f,-0.9208313226699829f,0.7045703530311584f,-0.3777896761894226f,1.0722788572311401f,-0.07192329317331314f,0.15193131566047668f,-0.22933512926101685f,-0.4433753490447998f,-0.980057418346405f,-0.09969627857208252f,-0.1953967958688736f,-0.6191466450691223f}, +{-0.30342212319374084f,1.4171931743621826f,0.33912619948387146f,-0.19471722841262817f,-0.6460435390472412f,0.7224875688552856f,0.2676515281200409f,0.7241128087043762f,-0.1479765921831131f,0.15387609601020813f,-0.2982146143913269f,-0.7689915895462036f,-1.0182141065597534f,0.5917680859565735f,0.05209478735923767f,-0.9354488253593445f}, +{-0.2710913121700287f,0.8541884422302246f,0.3703531324863434f,0.39255276322364807f,-0.5151664614677429f,0.20091192424297333f,-0.10795548558235168f,0.37592601776123047f,0.02323395572602749f,0.27676814794540405f,0.11536982655525208f,-0.6318338513374329f,-0.8951073884963989f,0.8317447304725647f,-0.27597576379776f,-0.7172113060951233f}, +{0.15227964520454407f,0.5230936408042908f,-0.004794687032699585f,0.3051225244998932f,-0.30387261509895325f,0.2637682557106018f,0.12058994174003601f,-0.6972423195838928f,0.029128026217222214f,0.10209440439939499f,0.3501441180706024f,-0.9595959186553955f,-0.3224271833896637f,1.4051047563552856f,-0.36018112301826477f,-1.0587973594665527f}, +{0.3187715709209442f,-0.8098124265670776f,0.20290347933769226f,0.269151896238327f,0.21218730509281158f,-0.28431686758995056f,0.15389427542686462f,-1.9090710878372192f,0.032096005976200104f,0.10837147384881973f,-0.20485371351242065f,-0.5488584041595459f,0.339109867811203f,2.067291498184204f,-0.38513508439064026f,-1.0820884704589844f}, +{-0.012131188064813614f,0.10674313455820084f,-0.2331579178571701f,-0.9412594437599182f,-0.07607362419366837f,-0.23539789021015167f,0.05604562163352966f,-0.46537190675735474f,0.3415223956108093f,0.059453461319208145f,0.16585320234298706f,0.43452322483062744f,0.24253934621810913f,-0.3716576099395752f,-0.14554673433303833f,0.6577057242393494f}, +{-0.05491999164223671f,-0.20093759894371033f,-0.24806702136993408f,-0.4267187714576721f,-0.07271220535039902f,-0.5841547846794128f,-0.16704979538917542f,-0.3730570673942566f,0.02753586135804653f,0.10228120535612106f,0.12318570911884308f,0.39289960265159607f,0.5815483331680298f,-0.3294523358345032f,0.04009982943534851f,0.6636975407600403f}, +{0.0922357514500618f,0.03360247611999512f,0.09550115466117859f,-0.8423606753349304f,0.08337929099798203f,-0.46182939410209656f,-0.06753402948379517f,-0.8091158866882324f,-0.24871636927127838f,0.3177362084388733f,-0.25211259722709656f,1.2019845247268677f,0.596840500831604f,0.15739235281944275f,-0.2847418785095215f,0.49166151881217957f}, +{-0.12888702750205994f,-0.2664012312889099f,0.17205187678337097f,-0.5232671499252319f,0.19410382211208344f,-0.17537656426429749f,-0.2786858379840851f,-0.9501712322235107f,-0.0038139745593070984f,-0.44749563932418823f,0.01718830317258835f,0.332231730222702f,0.3516135513782501f,-0.11255253106355667f,0.3247623145580292f,-0.0792965292930603f}, +{0.3564055562019348f,0.2796097993850708f,0.34649983048439026f,-0.07309745252132416f,0.023493269458413124f,-0.1975535750389099f,-0.1895401030778885f,-1.493038535118103f,-0.39410126209259033f,0.016468124464154243f,0.34952855110168457f,0.005931458901613951f,-0.29071831703186035f,0.49051761627197266f,0.24870619177818298f,-0.9478930234909058f}, +{-0.3683550953865051f,-0.4035215675830841f,-0.3757385015487671f,-0.2579634189605713f,0.2404218316078186f,-0.29955145716667175f,0.1429324448108673f,-2.0289502143859863f,-0.13573788106441498f,0.17791278660297394f,-0.3610909581184387f,-1.0529147386550903f,0.2911309003829956f,2.558973550796509f,0.09779238700866699f,-1.4637869596481323f}, +{-0.07103176414966583f,0.05525289103388786f,0.18496140837669373f,0.23539288341999054f,0.26019805669784546f,0.3350316286087036f,-0.22405625879764557f,0.8246611952781677f,-0.15604661405086517f,-0.19883491098880768f,-0.07640139013528824f,0.12471853196620941f,-0.036266572773456573f,-0.5196571350097656f,-0.2075144499540329f,-0.2927740514278412f}, +{-0.1770038902759552f,-0.8331993818283081f,0.38466766476631165f,-0.07613684982061386f,0.5101985335350037f,-0.3463301956653595f,-0.2982172966003418f,0.4147355556488037f,-0.10642905533313751f,-0.23226530849933624f,-0.15628664195537567f,1.8446398973464966f,0.7816146612167358f,0.5225973129272461f,0.04470124840736389f,0.24457614123821259f}, +{0.11884889751672745f,-1.0993658304214478f,0.18900898098945618f,-0.0011960661504417658f,1.4341267347335815f,-0.4217895269393921f,0.03916636109352112f,0.8832653760910034f,0.30280840396881104f,0.0507604256272316f,-0.2348102480173111f,2.871516466140747f,1.529321551322937f,1.1077625751495361f,0.062258750200271606f,0.32417893409729004f}, +{-0.08852794766426086f,-1.4094090461730957f,-0.37685394287109375f,-0.17612706124782562f,0.8768361210823059f,-0.37943702936172485f,-0.14507901668548584f,0.3855210244655609f,0.20787860453128815f,-0.03563925251364708f,-0.4159536361694336f,2.552461624145508f,1.1272940635681152f,0.8505979776382446f,-0.07684260606765747f,0.3156367540359497f}, +{-0.11408856511116028f,-0.958306610584259f,0.15568438172340393f,0.01917930692434311f,0.4562447667121887f,-0.6156615018844604f,-0.03859376907348633f,0.18493176996707916f,-0.03891875967383385f,0.04726675897836685f,-0.3038109242916107f,1.1923073530197144f,0.8959037661552429f,0.3684518337249756f,0.2742314636707306f,0.08882215619087219f}, +{-0.1585625857114792f,-0.558154284954071f,0.19490453600883484f,-0.20204177498817444f,-0.4596697688102722f,-0.5353355407714844f,-0.336474746465683f,0.006664716172963381f,-0.35963720083236694f,-0.1491074115037918f,-0.12934044003486633f,-0.10691329091787338f,0.6863765716552734f,-0.38992783427238464f,-0.2561379373073578f,0.009363418444991112f}, +{-0.3992230296134949f,-0.39489659667015076f,-0.2776013910770416f,0.1913459599018097f,-0.13553941249847412f,-0.5997774600982666f,0.25546005368232727f,-0.3506028354167938f,-0.3554781973361969f,-0.008554545231163502f,-0.3700840473175049f,-0.4446028470993042f,0.3285316824913025f,-0.2686445415019989f,-0.30415377020835876f,-0.43599891662597656f}, +{0.2336147427558899f,-0.279658704996109f,0.1420871913433075f,-0.27758002281188965f,-0.9353809952735901f,-0.4591664671897888f,-0.13263443112373352f,-0.27879106998443604f,-0.14267799258232117f,0.008248033933341503f,0.12608729302883148f,-0.4691270887851715f,0.5765731930732727f,-0.465211421251297f,0.13351169228553772f,0.1298857480287552f}, +{-0.2878143787384033f,-0.7832319736480713f,-0.07561364769935608f,0.06710298359394073f,-1.3262970447540283f,-0.8838316202163696f,0.14428457617759705f,-0.03495633974671364f,-0.3398576080799103f,-0.32348212599754333f,-0.35722172260284424f,-2.2783806324005127f,0.17757871747016907f,-0.33366480469703674f,0.019461065530776978f,0.17606520652770996f}, +{-0.35783642530441284f,-1.5250790119171143f,0.2631795108318329f,-0.7168921232223511f,-0.8106215596199036f,-1.577431559562683f,0.27224990725517273f,-1.2651726007461548f,-0.048428505659103394f,0.060946423560380936f,0.0632510632276535f,-4.148889064788818f,1.3227791786193848f,0.02331913635134697f,0.06011766195297241f,0.1737184077501297f}, }; const float h2[16][16] = { - {-1.995652437210083f,-0.2068829983472824f,-0.06966331601142883f,0.3350852131843567f,-0.21907491981983185f,0.5111141204833984f,0.1577049195766449f,0.0904630720615387f,-0.43008196353912354f,-0.1415480375289917f,1.2805067300796509f,-0.10159772634506226f,0.037286918610334396f,-1.4427478313446045f,-2.208937168121338f,-0.9961128234863281f}, -{0.5792762637138367f,-3.808340311050415f,0.057057321071624756f,2.2043418884277344f,-0.35503754019737244f,-2.3927183151245117f,-0.5222805738449097f,-0.2990124225616455f,-0.33757925033569336f,0.2895788848400116f,0.6989365220069885f,-0.6684925556182861f,0.20035608112812042f,1.3771828413009644f,-0.020792467519640923f,-2.3830668926239014f}, + {-0.2280280739068985f,-0.2421857863664627f,-0.06966331601142883f,0.08724620193243027f,-0.21907491981983185f,0.2539025545120239f,0.2356909215450287f,0.0904630720615387f,-0.43008196353912354f,-0.1415480375289917f,0.05291646346449852f,-0.10159772634506226f,0.12968102097511292f,0.14025117456912994f,0.028231624513864517f,-0.2745003402233124f}, +{-0.07318496704101562f,0.6000571250915527f,0.057057321071624756f,-0.47346997261047363f,-0.35503754019737244f,-2.0983047485351562f,-0.3716709613800049f,-0.2990124225616455f,-0.33757925033569336f,0.2895788848400116f,-1.8381848335266113f,-0.8206892013549805f,0.00332297058776021f,1.4121159315109253f,1.121573567390442f,0.5471056699752808f}, {-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.21807445585727692f,-0.4128798544406891f,-0.2894435524940491f,-0.38070401549339294f,0.08946844935417175f,0.17335492372512817f,-0.49148330092430115f,0.4122363030910492f,0.26211628317832947f,0.2953031361103058f,0.14064599573612213f,0.30993807315826416f,-0.4346889555454254f,0.24925482273101807f,0.23362866044044495f,0.04363977164030075f}, -{-0.0690189003944397f,0.44633859395980835f,-0.25313520431518555f,0.18370237946510315f,0.036378175020217896f,0.261993944644928f,-0.41914331912994385f,-0.08570799231529236f,-0.024399548768997192f,-0.39465832710266113f,-0.29010462760925293f,-0.7198570966720581f,-0.008628766983747482f,-0.44645318388938904f,-0.32042133808135986f,-0.3557409346103668f}, -{1.0781077146530151f,-0.3735578656196594f,-0.3519742488861084f,-0.48898035287857056f,-0.3015052080154419f,-0.1435472071170807f,-0.7045096158981323f,-0.019414573907852173f,-0.23047015070915222f,0.3579089343547821f,-1.2321500778198242f,-0.3002046048641205f,-0.41085922718048096f,0.12980346381664276f,1.1767032146453857f,-1.2447152137756348f}, +{0.029620526358485222f,-0.9873854517936707f,-0.2894435524940491f,-0.8961540460586548f,0.08946844935417175f,0.6948318481445312f,-0.23805393278598785f,0.4122363030910492f,0.26211628317832947f,0.2953031361103058f,0.16802339255809784f,0.4110986292362213f,-0.5573011636734009f,0.25746724009513855f,0.2955012917518616f,-0.33600759506225586f}, +{-0.4058997631072998f,0.2035204917192459f,-0.25313520431518555f,-0.07880758494138718f,0.036378175020217896f,-0.04044033959507942f,-0.7325384020805359f,-0.08570799231529236f,-0.024399548768997192f,-0.39465832710266113f,-0.002760735573247075f,-0.6694509387016296f,-0.2065921574831009f,-0.3004894256591797f,-0.0011034653289243579f,-0.21473906934261322f}, +{0.1927037090063095f,1.3135888576507568f,-0.3519742488861084f,-0.2311127930879593f,-0.3015052080154419f,-1.6210881471633911f,-0.7232100963592529f,-0.019414573907852173f,-0.23047015070915222f,0.3579089343547821f,-1.7440259456634521f,-0.26462191343307495f,-0.5421464443206787f,1.4088289737701416f,0.06082354485988617f,0.13426026701927185f}, {-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}, -{1.2469984292984009f,-0.8763218522071838f,0.33083590865135193f,1.7530616521835327f,-0.14358049631118774f,0.010533415712416172f,-0.2712770700454712f,-0.3003333508968353f,0.2600560486316681f,-0.37898191809654236f,-0.6503188610076904f,-0.2890920341014862f,-0.5379235148429871f,2.585930109024048f,2.265061378479004f,0.35780707001686096f}, -{-0.25576791167259216f,0.3400726914405823f,-0.11379697918891907f,0.11029995232820511f,0.041274964809417725f,-0.3380604088306427f,-0.10284432768821716f,0.0019084513187408447f,0.06103590130805969f,-0.38046833872795105f,0.05663437396287918f,-0.3197441101074219f,-0.37024784088134766f,-0.28747454285621643f,-0.38662344217300415f,-0.22054927051067352f}, -{-0.14576366543769836f,0.2205791175365448f,-0.13502129912376404f,0.10068279504776001f,0.12987366318702698f,0.11282801628112793f,0.2711336314678192f,-0.3632148504257202f,-0.13619378209114075f,0.16938945651054382f,0.24429087340831757f,0.39862415194511414f,0.3811538517475128f,-0.23295477032661438f,0.013144334778189659f,-0.23888015747070312f}, -{-0.2562062442302704f,-0.035001546144485474f,0.0457797646522522f,-0.3986908793449402f,-0.03321319818496704f,-0.44217926263809204f,0.17873415350914001f,-0.20421427488327026f,-0.050184011459350586f,0.12480869889259338f,-0.23657932877540588f,0.3545852601528168f,-0.3647043704986572f,0.4500863254070282f,-0.36821234226226807f,-0.31535226106643677f}, -{0.8102825284004211f,1.294549584388733f,0.3954955041408539f,1.102267861366272f,0.0033026933670043945f,0.1643415242433548f,-0.47370150685310364f,-0.11795541644096375f,0.3487861454486847f,-0.32520344853401184f,-0.05037403851747513f,-0.4392281174659729f,-0.06405176222324371f,-1.6827234029769897f,0.5400660634040833f,0.17927005887031555f}, -{-0.6686052083969116f,1.1986757516860962f,-0.15798500180244446f,-0.8824228048324585f,-0.37393757700920105f,0.8962071537971497f,-0.20785248279571533f,-0.2947862446308136f,-0.3764709532260895f,0.2424570620059967f,0.15467706322669983f,-0.551661491394043f,0.23710069060325623f,-0.6682615280151367f,-0.11948293447494507f,-0.022243276238441467f}, -{-0.3220524489879608f,-0.39394599199295044f,-0.2018718123435974f,-0.1575627624988556f,0.07545611262321472f,0.04054655879735947f,-0.24003709852695465f,-0.21416273713111877f,-0.24509364366531372f,0.19522181153297424f,0.6880089044570923f,-0.3674003779888153f,-0.27380242943763733f,0.5272713303565979f,-1.119949460029602f,-0.36922433972358704f}, +{0.09674254059791565f,0.8489583730697632f,0.33083590865135193f,-3.167311668395996f,-0.14358049631118774f,-0.05731779336929321f,-0.33851608633995056f,-0.3003333508968353f,0.2600560486316681f,-0.37898191809654236f,1.4915248155593872f,-0.3787316381931305f,-0.2687227129936218f,1.2731784582138062f,1.4371994733810425f,-0.02852576971054077f}, +{-0.2355702817440033f,0.3290807902812958f,-0.11379697918891907f,0.10112699866294861f,0.041274964809417725f,-0.3572841286659241f,-0.10284432768821716f,0.0019084513187408447f,0.06103590130805969f,-0.38046833872795105f,0.043841928243637085f,-0.3197441101074219f,-0.37024784088134766f,-0.27702996134757996f,-0.3806345760822296f,-0.23251241445541382f}, +{-0.14576366543769836f,0.22045235335826874f,-0.13502129912376404f,0.10068739950656891f,0.12987366318702698f,0.1127641424536705f,0.2711336314678192f,-0.3632148504257202f,-0.13619378209114075f,0.16938945651054382f,0.24410760402679443f,0.39862415194511414f,0.3811538517475128f,-0.23284925520420074f,0.013471193611621857f,-0.23896872997283936f}, +{-0.2594604790210724f,-0.033723365515470505f,0.0457797646522522f,-0.39217737317085266f,-0.03321319818496704f,-0.44003328680992126f,0.17873415350914001f,-0.20421427488327026f,-0.050184011459350586f,0.12480869889259338f,-0.23556175827980042f,0.3545852601528168f,-0.3647043704986572f,0.448790967464447f,-0.3690657913684845f,-0.313721626996994f}, +{0.15617454051971436f,1.1832550764083862f,0.3954955041408539f,-0.133757084608078f,0.0033026933670043945f,-0.08220076560974121f,-0.9328015446662903f,-0.11795541644096375f,0.3487861454486847f,-0.32520344853401184f,-0.23546741902828217f,-0.5310132503509521f,-0.19710811972618103f,-1.2130495309829712f,0.5532408952713013f,-1.515012502670288f}, +{-0.4858514964580536f,0.16090348362922668f,-0.15798500180244446f,0.28968286514282227f,-0.37393757700920105f,1.374222993850708f,-0.2816653847694397f,-0.2947862446308136f,-0.3764709532260895f,0.2424570620059967f,0.33165082335472107f,-0.5273087024688721f,0.13920331001281738f,-0.6649179458618164f,-0.731024444103241f,0.12129149585962296f}, +{-0.3975253403186798f,1.055032730102539f,-0.2018718123435974f,3.1763689517974854f,0.07545611262321472f,0.9453712701797485f,0.017593538388609886f,-0.21416273713111877f,-0.24509364366531372f,0.19522181153297424f,-1.5174802541732788f,-0.5343190431594849f,-0.43574240803718567f,1.8691742420196533f,-2.599363327026367f,-0.16186723113059998f}, {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.07192385941743851f,0.6766030788421631f,0.12081471085548401f,0.4383029639720917f,0.29976895451545715f,-0.06717150658369064f,-0.2861359417438507f,0.31089308857917786f,-0.3893685042858124f,-0.02222958207130432f,0.13777963817119598f,-0.41539883613586426f,-0.3014349937438965f,-0.4090578556060791f,-0.350934773683548f,-0.28625383973121643f}, +{-0.43547871708869934f,-0.29740026593208313f,0.12081471085548401f,-2.77160906791687f,0.29976895451545715f,0.1961999386548996f,-0.8944873213768005f,0.31089308857917786f,-0.3893685042858124f,-0.02222958207130432f,-0.11293147504329681f,-0.1520061194896698f,-0.23651829361915588f,-0.5655658841133118f,0.7350230813026428f,1.200724720954895f}, }; const float h3[16][16] = { - {-0.36079341173171997f,1.479121208190918f,1.0192432403564453f,-0.9422738552093506f,0.32734206318855286f,0.17215792834758759f,0.20715229213237762f,0.3036012351512909f,-0.2405819296836853f,-0.21890388429164886f,-0.11870327591896057f,0.395515114068985f,1.847967267036438f,1.3426859378814697f,-1.3596293926239014f,0.3992917239665985f}, -{0.047732532024383545f,-1.6215876340866089f,-1.8046064376831055f,-0.7025291323661804f,-0.15545719861984253f,1.4906500577926636f,-0.3198729455471039f,-0.09108348190784454f,0.1135697066783905f,-0.18822181224822998f,0.3120075464248657f,-0.5053715705871582f,-0.741367757320404f,0.7732160091400146f,-0.3683539628982544f,-1.4823510646820068f}, + {-0.36079341173171997f,-0.10197125375270844f,-0.056171122938394547f,-0.3741914927959442f,-0.16733133792877197f,0.019087322056293488f,0.3332441747188568f,0.3036012351512909f,-0.2405819296836853f,0.04891335964202881f,-0.11870327591896057f,0.4001283347606659f,0.044929757714271545f,0.2852800786495209f,-0.3306252360343933f,0.16023096442222595f}, +{0.047732532024383545f,-0.38669314980506897f,-1.2853425741195679f,0.7376071810722351f,-0.34843015670776367f,0.27386823296546936f,-0.3198729455471039f,0.44362470507621765f,-0.09553244709968567f,-0.3846839666366577f,-0.030642496421933174f,-0.6285138130187988f,-8.785964965820312f,-0.8212424516677856f,-0.07170705497264862f,-0.3913605809211731f}, {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,-3.549856185913086f,0.13726386427879333f,-0.44734057784080505f,-0.2542110085487366f,0.23402708768844604f,0.06395658850669861f,-0.08765485882759094f,-0.41971299052238464f,-0.8101474642753601f,0.03246985375881195f,0.176767498254776f,-1.846853256225586f,0.15457327663898468f,0.134054034948349f,-0.4904846251010895f}, +{-0.30922991037368774f,0.4186989367008209f,-0.20726734399795532f,-2.275287628173828f,-1.1676045656204224f,0.21458899974822998f,0.20021501183509827f,-0.18994858860969543f,-0.5104722380638123f,-1.791870355606079f,-0.13877840340137482f,0.2729475200176239f,-2.484668731689453f,-1.0084031820297241f,0.13015103340148926f,-0.05998159199953079f}, {-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.18573783338069916f,0.017728952690958977f,-0.07189998775720596f,0.17248819768428802f,0.4640998840332031f,-0.18732719123363495f,0.06746524572372437f,-0.5911464691162109f,-0.29338914155960083f,-0.19333311915397644f,-0.055196281522512436f,0.0703820064663887f,1.1699786186218262f,1.3546981811523438f,-1.3225988149642944f}, -{0.4110594093799591f,0.3527141213417053f,-0.08545524626970291f,0.37246426939964294f,0.3150569200515747f,-0.06213608384132385f,-0.08670487999916077f,-0.25336313247680664f,-0.030661463737487793f,-0.06259563565254211f,-0.1344406008720398f,0.35313835740089417f,0.21239498257637024f,0.030630826950073242f,0.28824782371520996f,-0.3391006588935852f}, +{-0.37449589371681213f,0.6836785078048706f,-1.0122311115264893f,-0.24957069754600525f,-0.18667671084403992f,0.8864535093307495f,-0.18732719123363495f,1.3906885385513306f,-0.4842405617237091f,0.5248526930809021f,-0.20726820826530457f,-0.11092904210090637f,-0.17694073915481567f,-0.2857448160648346f,0.20144182443618774f,-0.5604302883148193f}, +{0.4110594093799591f,-0.05868834629654884f,0.08497855067253113f,0.30605435371398926f,0.20023219287395477f,-0.05593596026301384f,-0.08670487999916077f,0.11374252289533615f,-0.030661463737487793f,0.9484937191009521f,-0.1344406008720398f,0.35313835740089417f,0.17150108516216278f,0.1346229463815689f,0.30339935421943665f,-0.3391006588935852f}, {-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.6321741342544556f,0.26077648997306824f,-0.12497477233409882f,-0.43533703684806824f,0.23836490511894226f,-0.15885387361049652f,-0.09889163821935654f,-0.23798367381095886f,-0.5303645133972168f,0.018210796639323235f,-0.5869696736335754f,0.16812960803508759f,-0.41072049736976624f,0.2991606295108795f,1.451149582862854f}, -{-0.408692330121994f,-0.18435567617416382f,0.1490521878004074f,0.08683107048273087f,0.0728057473897934f,-0.2463478446006775f,0.03285527229309082f,0.38763079047203064f,-0.20705322921276093f,-0.25883403420448303f,0.12809070944786072f,0.03996849060058594f,-0.4888150095939636f,-0.34697550535202026f,-0.3648682236671448f,0.20380957424640656f}, -{-0.2991822361946106f,0.14224176108837128f,0.15648812055587769f,-0.05932474136352539f,0.3219054937362671f,0.019387593492865562f,-0.11253207921981812f,0.34576353430747986f,0.04814547300338745f,-0.35770976543426514f,-0.044228196144104004f,-0.36229726672172546f,0.2699495255947113f,-0.3697388768196106f,0.13241605460643768f,-0.16869547963142395f}, -{-0.2675279378890991f,-0.3864639103412628f,-0.36360350251197815f,0.058223359286785126f,0.01259082742035389f,-0.2988627254962921f,-0.45500972867012024f,-0.31893211603164673f,-0.47506827116012573f,-0.6956400275230408f,-0.4926331639289856f,-1.2168147563934326f,-0.21805618703365326f,-1.7307584285736084f,0.4814468324184418f,1.5982202291488647f}, -{-0.015470266342163086f,0.46531155705451965f,0.37467139959335327f,-0.028886189684271812f,-0.3300264775753021f,-0.26294541358947754f,-0.07256490737199783f,-0.008358269929885864f,-0.4880097210407257f,-0.7111483812332153f,0.029397042468190193f,-0.27496859431266785f,0.9506001472473145f,0.7077613472938538f,0.653728723526001f,-1.284180760383606f}, -{0.1863725483417511f,0.44253242015838623f,-0.8895649313926697f,-0.6261106133460999f,0.09252321720123291f,0.16897612810134888f,-0.03161505609750748f,0.024137338623404503f,-0.22729304432868958f,0.04278842732310295f,-0.5097978115081787f,-0.10846980661153793f,0.8339581489562988f,-0.7852450609207153f,-0.021044977009296417f,-0.29810839891433716f}, +{0.15459725260734558f,0.5166267156600952f,0.0020027183927595615f,-0.9058609008789062f,-0.36143195629119873f,0.30974456667900085f,-0.08742031455039978f,1.0036633014678955f,-0.2128233164548874f,-1.4475370645523071f,-0.10501431673765182f,-0.5578989386558533f,-2.9477529525756836f,-0.6413465142250061f,0.09702441096305847f,0.11825402081012726f}, +{-0.408692330121994f,-0.4120047688484192f,-0.10307149589061737f,-0.006063639186322689f,0.0717860534787178f,-0.00588736729696393f,0.03285527229309082f,0.38763079047203064f,-0.20705322921276093f,0.002842322923243046f,0.12809070944786072f,0.03996849060058594f,-0.4447317123413086f,-0.17229504883289337f,-0.3075057566165924f,0.34510013461112976f}, +{-0.2991822361946106f,0.44495269656181335f,-0.00655667157843709f,-0.05932474136352539f,0.1512540876865387f,-0.0033643620554357767f,-0.11253207921981812f,0.42064139246940613f,0.04814547300338745f,-0.25451064109802246f,-0.044228196144104004f,-0.36229726672172546f,0.0787663385272026f,-0.35243162512779236f,0.13600414991378784f,-0.16869547963142395f}, +{-0.2675279378890991f,-0.5648283958435059f,1.1731600761413574f,1.2379721403121948f,-0.07677317410707474f,-0.5569989085197449f,-0.32875844836235046f,-3.2531754970550537f,-0.6396194100379944f,-0.9492912888526917f,-0.6354588866233826f,-0.5225454568862915f,0.553826093673706f,-0.07076267898082733f,-0.16691647469997406f,0.19064126908779144f}, +{-0.015470266342163086f,-0.21167229115962982f,0.11722572147846222f,-0.8098413348197937f,-0.48198410868644714f,-0.20569977164268494f,0.05196094512939453f,-0.09646522998809814f,-0.6268211007118225f,-2.1888248920440674f,-0.08260995894670486f,-0.26851946115493774f,-7.367361068725586f,-3.8629891872406006f,-0.41618940234184265f,-0.6207093000411987f}, +{0.1863725483417511f,1.294524073600769f,1.3839733600616455f,-0.3497181534767151f,-0.15889787673950195f,1.005233645439148f,0.04860696196556091f,0.2395356148481369f,-0.2112434208393097f,0.4580112397670746f,-0.725370466709137f,-0.05851129814982414f,1.8846315145492554f,-0.1780804991722107f,-0.09685930609703064f,-0.29295074939727783f}, }; -const float hout[16] = { 0.45773375034332275f,0.31911107897758484f,-0.1796216368675232f,0.02225276455283165f,0.00775682320818305f,0.2153143286705017f,-0.13896840810775757f,0.04725155979394913f,-0.09814572334289551f,-0.07557471096515656f,0.09471917152404785f,-0.2356099635362625f,-0.25121569633483887f,0.20179446041584015f,0.07052961736917496f,-0.4867629110813141f }; +const float hout[16] = { 0.45773375034332275f,-0.10441272705793381f,-0.15588055551052094f,-0.2334458827972412f,0.03279490768909454f,0.23071417212486267f,0.0030125975608825684f,0.16628198325634003f,-0.29896387457847595f,0.15257510542869568f,0.07441812008619308f,-0.01584351435303688f,-0.6077949404716492f,-0.014929399825632572f,-0.09498333185911179f,-0.20342984795570374f }; -const float b1[16] = { 1.6242481470108032f,1.5025521516799927f,-1.7145336866378784f,0.372548371553421f,1.024824857711792f,1.274719476699829f,-0.058932315558195114f,1.2145178318023682f,0.530387818813324f,-0.9235196709632874f,0.6003308892250061f,1.8733751773834229f,-0.9162682890892029f,-1.0943491458892822f,-1.087764859199524f,0.8950626850128174f }; +const float b1[16] = { 0.6412585973739624f,1.791804313659668f,-1.7145336866378784f,0.4587021768093109f,0.5950335264205933f,1.2142243385314941f,-0.058932315558195114f,2.166482448577881f,0.5335297584533691f,-0.9284920692443848f,0.6010076999664307f,1.5332443714141846f,-1.3922638893127441f,-3.891775369644165f,-1.087764859199524f,1.4900076389312744f }; -const float b2[16] = { -0.48244044184684753f,-1.4596377611160278f,-1.4564176797866821f,-0.6742430925369263f,-0.6939148902893066f,0.03679073601961136f,0.10448678582906723f,-0.30969977378845215f,-1.20063054561615f,-1.912178635597229f,0.34773075580596924f,0.42268237471580505f,-0.27405646443367004f,1.7226717472076416f,-0.2819717824459076f,0.8814951777458191f }; +const float b2[16] = { -0.2844751477241516f,-0.9887649416923523f,-1.4564176797866821f,-0.36695370078086853f,-0.6939148902893066f,-0.24209672212600708f,0.03220713138580322f,-0.30969977378845215f,-1.20063054561615f,-1.912178635597229f,0.6325940489768982f,0.5024752020835876f,-0.3625299334526062f,1.5409464836120605f,0.4741341173648834f,1.3634101152420044f }; -const float b3[16] = { -1.963319182395935f,-0.08225324749946594f,0.3287607431411743f,-0.12232505530118942f,-0.11128173768520355f,0.6797776818275452f,-0.5726286768913269f,-0.8121526837348938f,0.29713916778564453f,0.1593162715435028f,-0.25677886605262756f,-0.3984224200248718f,-0.38557979464530945f,-0.26475387811660767f,-1.1123615503311157f,-0.4025505483150482f }; +const float b3[16] = { -1.963319182395935f,-0.038301702588796616f,-0.3617948591709137f,-0.6543889045715332f,-0.22629815340042114f,1.003822922706604f,-0.45353031158447266f,-3.192502737045288f,0.12612150609493256f,1.5388654470443726f,-0.5814182758331299f,-0.2633805274963379f,-0.6900553107261658f,0.1848151683807373f,-1.471007227897644f,-0.4375112056732178f }; -const float bout[1] = { -0.17530457675457f }; +const float bout[1] = { -0.30798590183258057f }; float VALVE_POS_RAW_NN = 0.0f;