![](/media/cache/img/default_profile.jpg.50x50_q85.jpg)
LIGHT2
Diff: main.cpp
- Revision:
- 124:caeba45d7493
- Parent:
- 123:be3f3ce98277
- Child:
- 125:2397bee14630
--- a/main.cpp Tue Sep 15 10:30:31 2020 +0000 +++ b/main.cpp Wed Sep 16 00:25:43 2020 +0000 @@ -1,4 +1,4 @@ -//200915-3 +//200916-1 #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.11536256223917007f,1.0262614488601685f,0.12024858593940735f,0.24959488213062286f,-1.2503888607025146f,1.0367964506149292f,-0.1628284603357315f,0.9195266962051392f,-0.2751370370388031f,-0.0576961413025856f,-0.19054849445819855f,-0.9708976745605469f,-0.33085009455680847f,-0.6272609233856201f,-0.2396446317434311f,-0.7720100283622742f}, -{-0.2565362751483917f,0.7555662989616394f,-0.36603355407714844f,-0.0534108504652977f,-0.9330573678016663f,0.5859880447387695f,-0.3777896761894226f,0.4791536331176758f,-0.08333568274974823f,0.17490842938423157f,-0.22481408715248108f,-0.5999361276626587f,0.1033804789185524f,-0.8370029330253601f,-0.1953967958688736f,-0.29764774441719055f}, -{-0.34849709272384644f,0.44633951783180237f,0.33912619948387146f,-0.39307135343551636f,-0.33630257844924927f,0.45711758732795715f,0.2676515281200409f,0.36318260431289673f,-0.15930452942848206f,0.17701001465320587f,-0.2936238944530487f,-0.4019094705581665f,-0.0958864688873291f,-0.13315673172473907f,0.05209478735923767f,-0.36972776055336f}, -{-0.3066927194595337f,-0.10983128100633621f,0.3703531324863434f,0.2104991376399994f,0.10158979892730713f,-0.20224571228027344f,-0.10795548558235168f,0.3034772276878357f,0.012036796659231186f,0.3001370429992676f,0.12003117054700851f,0.2381114512681961f,-0.15337826311588287f,0.055712148547172546f,-0.27597576379776f,0.08826646953821182f}, -{0.12654909491539001f,-0.4272575378417969f,-0.004794687032699585f,0.15283739566802979f,0.6616830825805664f,-0.390200674533844f,0.12058994174003601f,-0.4973108470439911f,0.01807706616818905f,0.12572318315505981f,0.35490161180496216f,0.4398443102836609f,0.16976170241832733f,0.6175227761268616f,-0.36018112301826477f,0.14852593839168549f}, -{0.30527350306510925f,-1.691416621208191f,0.20290347933769226f,0.167217418551445f,1.623299479484558f,-1.3797467947006226f,0.15389427542686462f,-1.4971237182617188f,0.021181544288992882f,0.13228236138820648f,-0.19998185336589813f,1.3917450904846191f,0.36350616812705994f,1.4520490169525146f,-0.38513508439064026f,0.8508763313293457f}, -{-0.1190975159406662f,0.013621564023196697f,-0.2331579178571701f,-0.46642863750457764f,-0.39922893047332764f,0.07224975526332855f,0.05604562163352966f,-0.4935031533241272f,0.33096081018447876f,0.080410435795784f,0.16811612248420715f,0.555370032787323f,0.6778998970985413f,0.4245232045650482f,-0.14554673433303833f,0.11916998028755188f}, -{-0.16367469727993011f,-0.2083083838224411f,-0.24806702136993408f,0.04438202083110809f,-0.3617549240589142f,-0.04052751138806343f,-0.16704979538917542f,-0.31287676095962524f,0.01688012108206749f,0.12273208051919937f,0.12551486492156982f,-0.08670700341463089f,0.5513836741447449f,0.06146813556551933f,0.04009982943534851f,-0.1862841248512268f}, -{-0.022834792733192444f,0.20314742624759674f,0.09550115466117859f,-0.3932632803916931f,-0.10155605524778366f,0.15369518101215363f,-0.06753402948379517f,-0.4282413423061371f,-0.25950315594673157f,0.33773189783096313f,-0.249684140086174f,0.2648000419139862f,0.606914758682251f,0.2113974690437317f,-0.2847418785095215f,-0.16144725680351257f}, -{-0.2513490319252014f,-0.3579109013080597f,0.17205187678337097f,-0.14744386076927185f,0.2213299572467804f,0.2361147254705429f,-0.2786858379840851f,-0.2336006909608841f,-0.014450222253799438f,-0.4277176856994629f,0.019620567560195923f,-0.474321573972702f,1.190661907196045f,-0.11428850144147873f,0.3247623145580292f,-0.12373924255371094f}, -{0.22379498183727264f,0.004851050674915314f,0.34649983048439026f,0.22288349270820618f,0.04680486023426056f,0.11348674446344376f,-0.1895401030778885f,-0.08887055516242981f,-0.4045254588127136f,0.03621889278292656f,0.3519415855407715f,-0.4948555827140808f,1.0925544500350952f,0.044499434530735016f,0.24870619177818298f,-0.47968554496765137f}, -{-0.5085145831108093f,-0.1536046266555786f,-0.3757385015487671f,-0.024147290736436844f,-0.12921640276908875f,0.5322399139404297f,0.1429324448108673f,0.7770264148712158f,-0.14600512385368347f,0.19750604033470154f,-0.3585161566734314f,-0.9059549570083618f,1.5876147747039795f,-0.38130998611450195f,0.09779238700866699f,-1.1354272365570068f}, -{-0.06485814601182938f,-0.01100269053131342f,0.18496140837669373f,0.06961604952812195f,0.1263820379972458f,0.27856889367103577f,-0.22405625879764557f,0.3262883126735687f,-0.16193880140781403f,-0.17419466376304626f,-0.07386043667793274f,-0.6913856863975525f,-0.5155843496322632f,-0.14475445449352264f,-0.2075144499540329f,-0.79743492603302f}, -{-0.15242736041545868f,-0.30151399970054626f,0.38466766476631165f,-0.19732768833637238f,-0.10883189737796783f,-0.5194385051727295f,-0.2982172966003418f,-0.5093871355056763f,-0.11163053661584854f,-0.2061568647623062f,-0.1534721404314041f,-0.2679007947444916f,0.027433017268776894f,0.1852118819952011f,0.04470124840736389f,0.17680510878562927f}, -{0.15844208002090454f,-0.3190220296382904f,0.18900898098945618f,-0.08243586868047714f,0.5160799026489258f,-0.5870792269706726f,0.03916636109352112f,-0.13817648589611053f,0.2982623279094696f,0.0786898285150528f,-0.23201966285705566f,-0.27586838603019714f,0.44376060366630554f,0.3195411264896393f,0.062258750200271606f,0.5429722666740417f}, -{-0.041099440306425095f,-0.4351480007171631f,-0.37685394287109375f,-0.2323782742023468f,-0.17997688055038452f,-0.27348873019218445f,-0.14507901668548584f,-0.20449912548065186f,0.2041415423154831f,-0.006148395594209433f,-0.4132070541381836f,-0.09276918321847916f,-0.390475869178772f,0.17354299128055573f,-0.07684260606765747f,0.5172111392021179f}, -{-0.06382915377616882f,-0.09381227195262909f,0.15568438172340393f,-0.045259442180395126f,-0.2095469981431961f,-0.35561299324035645f,-0.03859376907348633f,0.020815085619688034f,-0.04187176376581192f,0.07759567350149155f,-0.30114850401878357f,0.14927826821804047f,-0.4795704782009125f,0.328721821308136f,0.2742314636707306f,0.3087000846862793f}, -{-0.10557661950588226f,-0.05826714634895325f,0.19490453600883484f,-0.2387281209230423f,-0.42820945382118225f,-0.33642247319221497f,-0.336474746465683f,0.0019004859495908022f,-0.3622359335422516f,-0.11862234771251678f,-0.1267298310995102f,0.24288377165794373f,-0.060606200248003006f,0.010720182210206985f,-0.2561379373073578f,0.45681944489479065f}, -{-0.3455180525779724f,0.17247816920280457f,-0.2776013910770416f,0.19712580740451813f,0.13431186974048615f,-0.14147649705410004f,0.25546005368232727f,-0.17141008377075195f,-0.3579247295856476f,0.021654095500707626f,-0.3674720227718353f,0.018142802640795708f,-0.23912209272384644f,0.11810135841369629f,-0.30415377020835876f,-0.29368942975997925f}, -{0.2915607690811157f,0.28172630071640015f,0.1420871913433075f,-0.21885110437870026f,-0.28069868683815f,0.07142718881368637f,-0.13263443112373352f,-0.28133440017700195f,-0.14514248073101044f,0.03817636892199516f,0.12870196998119354f,0.1801236867904663f,-0.01231321133673191f,0.3355468213558197f,0.13351169228553772f,0.19189566373825073f}, -{-0.21847103536128998f,-0.29528191685676575f,-0.07561364769935608f,0.21822825074195862f,-0.3014959394931793f,-0.20019206404685974f,0.14428457617759705f,0.0812823548913002f,-0.3424915671348572f,-0.29409486055374146f,-0.3544203042984009f,-0.311561644077301f,-0.4962853789329529f,0.32749900221824646f,0.019461065530776978f,0.2817143499851227f}, -{-0.2697761058807373f,-0.24987074732780457f,0.2631795108318329f,-0.39909788966178894f,0.0843832790851593f,-0.3296249806880951f,0.27224990725517273f,0.18603333830833435f,-0.05152055248618126f,0.09005378186702728f,0.06621846556663513f,-0.40264782309532166f,-0.1890939623117447f,-0.0847109705209732f,0.06011766195297241f,0.13887932896614075f}, + {-0.11536256223917007f,2.112276315689087f,0.12024858593940735f,0.24959488213062286f,-2.4018306732177734f,1.7203975915908813f,-0.1628284603357315f,1.667224407196045f,-0.2751370370388031f,-0.0576961413025856f,-0.19054849445819855f,-2.0863022804260254f,0.4866498112678528f,-1.4400207996368408f,-0.2396446317434311f,-1.718177318572998f}, +{-0.2565362751483917f,1.5823312997817993f,-0.36603355407714844f,-0.0534108504652977f,-1.853315830230713f,1.1500450372695923f,-0.3777896761894226f,0.8841248154640198f,-0.08333568274974823f,0.17490842938423157f,-0.22481408715248108f,-1.0935616493225098f,0.2811514139175415f,-1.4294072389602661f,-0.1953967958688736f,-0.12864387035369873f}, +{-0.34849709272384644f,1.0231897830963135f,0.33912619948387146f,-0.39307135343551636f,-0.9945785999298096f,0.9585261940956116f,0.2676515281200409f,0.7644949555397034f,-0.15930452942848206f,0.17701001465320587f,-0.2936238944530487f,-0.786311149597168f,-0.3104156255722046f,-0.7188907265663147f,0.05209478735923767f,-0.023173298686742783f}, +{-0.3066927194595337f,0.077450692653656f,0.3703531324863434f,0.2104991376399994f,-0.03561713173985481f,0.19669990241527557f,-0.10795548558235168f,0.714326024055481f,0.012036796659231186f,0.3001370429992676f,0.12003117054700851f,-0.0842338502407074f,-0.47968530654907227f,-0.4471777677536011f,-0.27597576379776f,0.03266631439328194f}, +{0.12654909491539001f,-1.036628007888794f,-0.004794687032699585f,0.15283739566802979f,1.4349751472473145f,-0.5818610787391663f,0.12058994174003601f,-0.6078454256057739f,0.01807706616818905f,0.12572318315505981f,0.35490161180496216f,0.6890993118286133f,0.023641418665647507f,0.7162463068962097f,-0.36018112301826477f,-0.18133409321308136f}, +{0.30527350306510925f,-3.7511208057403564f,0.20290347933769226f,0.167217418551445f,3.8096539974212646f,-3.2920453548431396f,0.15389427542686462f,-3.424617052078247f,0.021181544288992882f,0.13228236138820648f,-0.19998185336589813f,3.424204111099243f,0.04063193500041962f,3.3335213661193848f,-0.38513508439064026f,1.9290406703948975f}, +{-0.1190975159406662f,0.38506460189819336f,-0.2331579178571701f,-0.46642863750457764f,-0.6983197927474976f,0.7019230127334595f,0.05604562163352966f,-0.8718693256378174f,0.33096081018447876f,0.080410435795784f,0.16811612248420715f,0.7831307053565979f,1.0302664041519165f,0.7822661995887756f,-0.14554673433303833f,-1.9665281772613525f}, +{-0.16367469727993011f,-0.3121022880077362f,-0.24806702136993408f,0.04438202083110809f,-0.10748865455389023f,0.5744457244873047f,-0.16704979538917542f,-0.25084027647972107f,0.01688012108206749f,0.12273208051919937f,0.12551486492156982f,0.06467305123806f,-0.3458331823348999f,0.22304949164390564f,0.04009982943534851f,-0.9313122630119324f}, +{-0.022834792733192444f,0.03335844352841377f,0.09550115466117859f,-0.3932632803916931f,0.08389526605606079f,1.4636272192001343f,-0.06753402948379517f,-0.45382142066955566f,-0.25950315594673157f,0.33773189783096313f,-0.249684140086174f,0.37900692224502563f,0.3220893442630768f,0.37303417921066284f,-0.2847418785095215f,-0.5671513676643372f}, +{-0.2513490319252014f,-0.18132057785987854f,0.17205187678337097f,-0.14744386076927185f,0.0445745550096035f,2.342648983001709f,-0.2786858379840851f,-0.569145143032074f,-0.014450222253799438f,-0.4277176856994629f,0.019620567560195923f,0.2524526119232178f,1.9313364028930664f,-0.13575592637062073f,0.3247623145580292f,-0.3994929790496826f}, +{0.22379498183727264f,0.16158145666122437f,0.34649983048439026f,0.22288349270820618f,-0.22805540263652802f,1.9273477792739868f,-0.1895401030778885f,-0.3102887272834778f,-0.4045254588127136f,0.03621889278292656f,0.3519415855407715f,0.19465988874435425f,2.9796340465545654f,-0.19746549427509308f,0.24870619177818298f,-0.949185848236084f}, +{-0.5085145831108093f,-0.753961443901062f,-0.3757385015487671f,-0.024147290736436844f,0.09806188195943832f,0.4015105366706848f,0.1429324448108673f,1.784256100654602f,-0.14600512385368347f,0.19750604033470154f,-0.3585161566734314f,-2.80448317527771f,6.595315456390381f,-0.5927421450614929f,0.09779238700866699f,-5.461237907409668f}, +{-0.06485814601182938f,0.19770435988903046f,0.18496140837669373f,0.06961604952812195f,0.5618534684181213f,-1.7667161226272583f,-0.22405625879764557f,1.1112689971923828f,-0.16193880140781403f,-0.17419466376304626f,-0.07386043667793274f,-1.7283233404159546f,0.9747278094291687f,-0.6450836658477783f,-0.2075144499540329f,-1.5267715454101562f}, +{-0.15242736041545868f,-0.5879227519035339f,0.38466766476631165f,-0.19732768833637238f,0.02844982221722603f,-1.0847543478012085f,-0.2982172966003418f,-0.7804423570632935f,-0.11163053661584854f,-0.2061568647623062f,-0.1534721404314041f,-1.2191776037216187f,0.5419189929962158f,0.5228636860847473f,0.04470124840736389f,0.9935206174850464f}, +{0.15844208002090454f,-0.6555023789405823f,0.18900898098945618f,-0.08243586868047714f,0.25921162962913513f,0.8889182806015015f,0.03916636109352112f,-0.7933517098426819f,0.2982623279094696f,0.0786898285150528f,-0.23201966285705566f,-0.9238113760948181f,-0.7248464822769165f,0.861644446849823f,0.062258750200271606f,2.1662418842315674f}, +{-0.041099440306425095f,-0.4322623014450073f,-0.37685394287109375f,-0.2323782742023468f,-0.53239506483078f,1.5191264152526855f,-0.14507901668548584f,-0.5536903142929077f,0.2041415423154831f,-0.006148395594209433f,-0.4132070541381836f,-0.2709493637084961f,-1.8289259672164917f,0.48168060183525085f,-0.07684260606765747f,1.9204832315444946f}, +{-0.06382915377616882f,0.03183192387223244f,0.15568438172340393f,-0.045259442180395126f,-0.4325522780418396f,0.14745250344276428f,-0.03859376907348633f,-0.04924226552248001f,-0.04187176376581192f,0.07759567350149155f,-0.30114850401878357f,0.17411665618419647f,-1.1218711137771606f,0.6519924998283386f,0.2742314636707306f,1.0892053842544556f}, +{-0.10557661950588226f,-0.08340324461460114f,0.19490453600883484f,-0.2387281209230423f,-0.484316349029541f,-0.8573873043060303f,-0.336474746465683f,-0.124241903424263f,-0.3622359335422516f,-0.11862234771251678f,-0.1267298310995102f,0.36006802320480347f,-0.5112256407737732f,0.5576324462890625f,-0.2561379373073578f,0.7968848347663879f}, +{-0.3455180525779724f,0.20085084438323975f,-0.2776013910770416f,0.19712580740451813f,0.05463790521025658f,-1.9037644863128662f,0.25546005368232727f,0.04791796952486038f,-0.3579247295856476f,0.021654095500707626f,-0.3674720227718353f,0.007908845320343971f,-0.16979724168777466f,0.43064936995506287f,-0.30415377020835876f,0.17894019186496735f}, +{0.2915607690811157f,0.20152974128723145f,0.1420871913433075f,-0.21885110437870026f,-0.17634524405002594f,-1.0889278650283813f,-0.13263443112373352f,0.03830626606941223f,-0.14514248073101044f,0.03817636892199516f,0.12870196998119354f,0.12628112733364105f,-0.016416005790233612f,0.41637179255485535f,0.13351169228553772f,-0.004216034896671772f}, +{-0.21847103536128998f,-0.19845423102378845f,-0.07561364769935608f,0.21822825074195862f,-0.30089157819747925f,-0.510919451713562f,0.14428457617759705f,0.14995282888412476f,-0.3424915671348572f,-0.29409486055374146f,-0.3544203042984009f,0.13481903076171875f,-0.2814403772354126f,0.2664259672164917f,0.019461065530776978f,0.08651839941740036f}, +{-0.2697761058807373f,-0.2291785627603531f,0.2631795108318329f,-0.39909788966178894f,-0.14984507858753204f,-1.1815838813781738f,0.27224990725517273f,0.01376022957265377f,-0.05152055248618126f,0.09005378186702728f,0.06621846556663513f,0.5511685013771057f,0.32617250084877014f,-0.006729583255946636f,0.06011766195297241f,-0.5008372664451599f}, }; const float h2[16][16] = { {-0.09055953472852707f,-0.13486544787883759f,-0.06966331601142883f,0.07523641735315323f,-0.21907491981983185f,0.4211926758289337f,0.2356909215450287f,0.0904630720615387f,-0.43008196353912354f,-0.1415480375289917f,0.12141131609678268f,-0.13159611821174622f,0.12968102097511292f,0.030922310426831245f,-0.043368514627218246f,-0.18032096326351166f}, -{1.834877610206604f,-0.3641863167285919f,0.057057321071624756f,-1.5022432804107666f,-0.35503754019737244f,-1.0662578344345093f,-0.6185099482536316f,-0.2990124225616455f,-0.33757925033569336f,0.2895788848400116f,1.0407130718231201f,-0.6637870073318481f,0.12517300248146057f,1.482338309288025f,0.7768542170524597f,-0.14912115037441254f}, +{1.8590937852859497f,-1.031493902206421f,0.057057321071624756f,-6.528469085693359f,-0.36147502064704895f,0.2754734456539154f,-0.6185099482536316f,-0.34271690249443054f,-0.33757925033569336f,0.22273337841033936f,3.0716567039489746f,-0.6637870073318481f,0.12517300248146057f,3.2779557704925537f,4.015198230743408f,0.8588331341743469f}, {-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.010503672063350677f,-0.3366463780403137f,-0.2894435524940491f,0.33386194705963135f,0.08946844935417175f,0.24323442578315735f,-0.23805393278598785f,0.4122363030910492f,0.26211628317832947f,0.2953031361103058f,0.18997307121753693f,0.381076842546463f,-0.5342276096343994f,-0.16283650696277618f,0.23341786861419678f,0.1417611539363861f}, -{-0.8352892398834229f,0.7857345938682556f,-0.25313520431518555f,2.022066354751587f,0.036378175020217896f,0.989780068397522f,-0.6085506677627563f,-0.08570799231529236f,-0.024399548768997192f,-0.39465832710266113f,-0.5110332369804382f,-0.6643635034561157f,-0.11951224505901337f,-0.8275529146194458f,-2.666628122329712f,-1.8830512762069702f}, -{1.402740240097046f,0.17003871500492096f,-0.3519742488861084f,1.455348014831543f,-0.3015052080154419f,-0.5135877728462219f,-0.6070147752761841f,-0.019414573907852173f,-0.23047015070915222f,0.3579089343547821f,-1.0722209215164185f,-0.3309842646121979f,-0.3955115079879761f,0.6214531660079956f,-0.02150823175907135f,-0.05724075809121132f}, +{2.2864115238189697f,-0.2131766378879547f,-0.25313520431518555f,3.889237642288208f,-0.09064827859401703f,1.6237993240356445f,-0.6085506677627563f,-0.16735832393169403f,-0.024399548768997192f,-0.47555306553840637f,1.464961051940918f,-0.6643635034561157f,-0.11951224505901337f,-1.4075093269348145f,-6.954668998718262f,-5.271445274353027f}, +{0.6855463981628418f,0.5083200335502625f,-0.3519742488861084f,0.324236124753952f,-0.3015052080154419f,0.28020963072776794f,-0.6070147752761841f,-0.019414573907852173f,-0.23047015070915222f,0.18265704810619354f,-0.412188321352005f,-0.3309842646121979f,-0.3955115079879761f,0.6257375478744507f,0.00993773341178894f,0.4732103943824768f}, {-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.15223249793052673f,-0.6699000000953674f,0.33083590865135193f,0.35896703600883484f,-0.14358049631118774f,-1.1392269134521484f,-0.5037603378295898f,-0.3003333508968353f,0.2600560486316681f,-0.37898191809654236f,0.9383541941642761f,-0.4822663366794586f,-0.5470727682113647f,1.3099842071533203f,2.142831802368164f,-1.3287057876586914f}, +{-2.2348082065582275f,-1.5202890634536743f,0.33083590865135193f,2.0006673336029053f,-0.2482096254825592f,-2.5908257961273193f,-0.5037603378295898f,-0.38460400700569153f,0.2600560486316681f,-0.48718899488449097f,-1.14982008934021f,-0.4822663366794586f,-0.5470727682113647f,1.0880047082901f,1.2553210258483887f,-3.129216432571411f}, {-0.21062202751636505f,0.3182973265647888f,-0.11379697918891907f,0.0874234139919281f,0.041274964809417725f,-0.38004162907600403f,-0.10284432768821716f,0.0019084513187408447f,0.06103590130805969f,-0.38046833872795105f,0.0340888574719429f,-0.3197441101074219f,-0.37024784088134766f,-0.2657596170902252f,-0.3713517189025879f,-0.24314120411872864f}, {-0.11748842895030975f,0.19097335636615753f,-0.13502129912376404f,0.07314715534448624f,0.12987366318702698f,0.07990311086177826f,0.2711336314678192f,-0.3632148504257202f,-0.13619378209114075f,0.16938945651054382f,0.21204563975334167f,0.36863183975219727f,0.3811538517475128f,-0.20729713141918182f,0.04237120971083641f,-0.26879167556762695f}, {-0.27854666113853455f,-0.031278349459171295f,0.0457797646522522f,-0.40053626894950867f,-0.03321319818496704f,-0.4086233377456665f,0.17873415350914001f,-0.20421427488327026f,-0.050184011459350586f,0.12480869889259338f,-0.23349256813526154f,0.3545852601528168f,-0.3647043704986572f,0.4466189742088318f,-0.3696835935115814f,-0.31192511320114136f}, -{0.7604754567146301f,0.6925196051597595f,0.3954955041408539f,-0.2402285784482956f,0.0033026933670043945f,0.5631297826766968f,-0.3043025732040405f,-0.11795541644096375f,0.3487861454486847f,-0.32520344853401184f,1.2203174829483032f,-0.48295068740844727f,-0.18359506130218506f,-0.9581146836280823f,-0.7301244735717773f,-0.6610391139984131f}, -{-0.968432605266571f,-0.0030017949175089598f,-0.15798500180244446f,-0.9426367282867432f,-0.37393757700920105f,0.37670159339904785f,0.04384288936853409f,-0.2947862446308136f,-0.3764709532260895f,0.2424570620059967f,1.0915656089782715f,-0.40839284658432007f,0.2506004273891449f,0.4798094928264618f,-0.22301411628723145f,-1.1975586414337158f}, -{-0.7173414826393127f,0.734661877155304f,-0.2018718123435974f,-0.27232247591018677f,0.07545611262321472f,0.3057261109352112f,-0.27636685967445374f,-0.21416273713111877f,-0.24509364366531372f,0.19522181153297424f,-0.17700529098510742f,-0.6348962783813477f,-0.16175919771194458f,-0.46150487661361694f,-0.47904929518699646f,0.06214311346411705f}, +{2.370081663131714f,-1.724723219871521f,0.3954955041408539f,-1.7839442491531372f,-0.13365699350833893f,-0.09024319052696228f,-0.3043025732040405f,-0.21818426251411438f,0.3487861454486847f,-0.33556288480758667f,2.581869602203369f,-0.48295068740844727f,-0.18359506130218506f,-2.0273356437683105f,-2.1749346256256104f,-1.0311309099197388f}, +{-1.055912733078003f,0.8604151606559753f,-0.15798500180244446f,-0.528927206993103f,-0.37393757700920105f,-0.39254477620124817f,0.04384288936853409f,-0.2947862446308136f,-0.3764709532260895f,0.07675623148679733f,0.40360960364341736f,-0.40839284658432007f,0.2506004273891449f,0.08271569013595581f,-1.0543705224990845f,-3.319365978240967f}, +{-2.6240177154541016f,0.38710373640060425f,-0.2018718123435974f,-0.4027066230773926f,-0.07208418101072311f,0.8164729475975037f,-0.27636685967445374f,-0.3071909546852112f,-0.24509364366531372f,0.18082179129123688f,-1.1303995847702026f,-0.6348962783813477f,-0.16175919771194458f,-0.9416105151176453f,-2.3180959224700928f,1.3805508613586426f}, {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.19700831174850464f,0.4285907447338104f,0.12081471085548401f,-0.6565782427787781f,0.29976895451545715f,0.047158993780612946f,-0.23614025115966797f,0.31089308857917786f,-0.3893685042858124f,-0.02222958207130432f,0.4591258466243744f,-0.3895573318004608f,-0.3186512291431427f,-0.3023596405982971f,0.5292230844497681f,0.13137377798557281f}, +{-0.6427119374275208f,-0.5265688300132751f,0.12081471085548401f,-1.7313390970230103f,0.14791756868362427f,0.25602108240127563f,-0.23614025115966797f,0.23681622743606567f,-0.3893685042858124f,-0.02222958207130432f,0.8831984400749207f,-0.3895573318004608f,-0.3186512291431427f,-0.11980925500392914f,-0.30059877038002014f,-0.9945917129516602f}, }; const float h3[16][16] = { - {-0.36079341173171997f,1.1164309978485107f,-1.3803926706314087f,-0.6876318454742432f,-0.6921164989471436f,0.4992885887622833f,0.3332441747188568f,0.3036012351512909f,-0.2405819296836853f,0.04891335964202881f,-0.11870327591896057f,0.2482069879770279f,-0.27929913997650146f,0.574618935585022f,-2.5518882274627686f,0.3010140657424927f}, -{0.047732532024383545f,0.26884332299232483f,-0.15151000022888184f,-0.4005472660064697f,-0.6475855112075806f,0.3415737450122833f,-0.3198729455471039f,0.2996387481689453f,0.22615104913711548f,-0.33036136627197266f,0.2560608685016632f,0.11889512091875076f,0.06005378067493439f,0.4459533095359802f,-0.27906709909439087f,0.01528210286051035f}, + {-0.36079341173171997f,1.2820656299591064f,-0.3114573657512665f,-0.6876318454742432f,-1.6394115686416626f,-1.3385286331176758f,0.25105664134025574f,0.2687479257583618f,-0.2405819296836853f,-2.7003324031829834f,-0.11870327591896057f,1.3288307189941406f,0.032042331993579865f,0.025386838242411613f,-0.09589244425296783f,0.041319768875837326f}, +{0.047732532024383545f,-2.7385737895965576f,-0.33394837379455566f,-0.4005472660064697f,-2.245434522628784f,0.2321978360414505f,-0.3198729455471039f,-0.07488188147544861f,0.06960026174783707f,-3.172201633453369f,0.2560608685016632f,1.8777891397476196f,0.6251232624053955f,0.5535321831703186f,0.8197565674781799f,-0.545535683631897f}, {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.0658530667424202f,2.114194869995117f,-0.434114009141922f,1.7767406702041626f,-0.366255521774292f,0.20021501183509827f,0.6570203900337219f,-0.26273253560066223f,-0.365601509809494f,-0.02320699393749237f,-0.7634094953536987f,-0.5007783770561218f,0.7023598551750183f,-1.467796802520752f,-0.8096022009849548f}, -{-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.3791757822036743f,-0.91536945104599f,0.04557134583592415f,-0.333255797624588f,0.5964970588684082f,-0.18732719123363495f,0.40325263142585754f,-0.45686304569244385f,-0.19101881980895996f,-0.24762262403964996f,1.111683964729309f,-0.5604122877120972f,0.7913236618041992f,1.354975700378418f,-1.7176867723464966f}, +{-0.30922991037368774f,0.4604794383049011f,1.5087554454803467f,-0.434114009141922f,1.7142291069030762f,-0.15815171599388123f,0.10460483282804489f,0.07661270350217819f,-0.26273253560066223f,0.9206347465515137f,-0.02320699393749237f,-0.2514846920967102f,-0.7377966046333313f,0.15898708999156952f,-0.4133462607860565f,0.13773450255393982f}, +{-0.39607733488082886f,-0.03416470065712929f,0.18136651813983917f,0.022423356771469116f,0.16892847418785095f,-0.2590436339378357f,0.16012099385261536f,0.3626593053340912f,-0.08640444278717041f,-0.11053556203842163f,-0.10529157519340515f,-0.31317979097366333f,-0.16643483936786652f,-0.11798033863306046f,0.24128977954387665f,0.19986507296562195f}, +{-0.37449589371681213f,0.09628695994615555f,-1.0943875312805176f,0.04557134583592415f,0.2817852199077606f,0.28303173184394836f,-0.24255727231502533f,0.12793996930122375f,-0.7134621739387512f,0.09227458387613297f,-0.24762262403964996f,1.425965428352356f,-0.0991402119398117f,0.7084647417068481f,1.3371422290802002f,-1.6932889223098755f}, {0.4110594093799591f,0.09772181510925293f,-0.16894863545894623f,0.2800484895706177f,0.29511046409606934f,-0.23800627887248993f,-0.08670487999916077f,-0.25336313247680664f,-0.030661463737487793f,-0.06259563565254211f,-0.1344406008720398f,0.35313835740089417f,0.36461523175239563f,0.04693036526441574f,0.1514572948217392f,-0.2176884561777115f}, -{-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.40892091393470764f,-0.06886480748653412f,-0.2806587517261505f,0.25968697667121887f,0.3424709737300873f,-0.15680775046348572f,-0.23312048614025116f,-0.390264093875885f,0.28059282898902893f,-0.1559126079082489f,-0.14134526252746582f,-0.001488662208430469f,-0.17689110338687897f,-0.46949303150177f,-0.010279592126607895f,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.5725754499435425f,1.403681993484497f,-0.23933075368404388f,-0.1590755581855774f,0.5943941473960876f,-0.08742031455039978f,0.03222907707095146f,-0.1400076448917389f,-0.37345385551452637f,-0.030850568786263466f,-0.5293580293655396f,1.045586347579956f,-0.29000788927078247f,0.22718964517116547f,0.3443029820919037f}, +{0.2847062647342682f,0.018552124500274658f,0.20873981714248657f,0.36562982201576233f,-0.047046810388565063f,0.38436996936798096f,0.2430230677127838f,0.2909286320209503f,-0.2802048921585083f,0.18043199181556702f,0.41849127411842346f,-0.287167489528656f,0.16551050543785095f,-0.14084559679031372f,-0.02422912046313286f,-0.07052787393331528f}, +{0.15459725260734558f,1.2959376573562622f,1.9703847169876099f,-0.3952854871749878f,0.0826662927865982f,1.46955406665802f,-0.1725921928882599f,-0.2211875468492508f,-0.28567805886268616f,-0.9435641169548035f,-0.030850568786263466f,0.205915629863739f,1.4225295782089233f,-0.3310519754886627f,0.06685855239629745f,0.40386080741882324f}, {-0.408692330121994f,0.24411091208457947f,-0.14482636749744415f,0.1029067113995552f,-0.22728915512561798f,0.02517864480614662f,0.03285527229309082f,0.38763079047203064f,-0.20705322921276093f,-0.25883403420448303f,0.12809070944786072f,0.03996849060058594f,-0.7536976933479309f,-0.024438999593257904f,-0.09083241969347f,-0.07838203012943268f}, {-0.2991822361946106f,0.17960397899150848f,0.16097195446491241f,-0.05932474136352539f,0.30433475971221924f,0.006865424104034901f,-0.11253207921981812f,0.34576353430747986f,0.04814547300338745f,-0.35770976543426514f,-0.044228196144104004f,-0.36229726672172546f,0.22676041722297668f,-0.26055529713630676f,0.11188887804746628f,0.074132539331913f}, -{-0.2675279378890991f,-0.00832513626664877f,0.22621503472328186f,-0.15949654579162598f,0.46836191415786743f,-0.4177551865577698f,-0.32875844836235046f,-1.3587933778762817f,-0.5410172939300537f,-0.5643428564071655f,-0.526096761226654f,-1.0196996927261353f,0.5333711504936218f,-0.43510901927948f,0.4809574782848358f,0.5989360809326172f}, -{-0.015470266342163086f,2.148958683013916f,-2.6923916339874268f,0.34400033950805664f,-1.8666588068008423f,-3.4380674362182617f,0.05196094512939453f,-0.008358269929885864f,-0.44417762756347656f,-0.38441595435142517f,0.13179203867912292f,-0.11511552333831787f,-2.5625343322753906f,-2.0310235023498535f,-0.6705257892608643f,-4.1679301261901855f}, -{0.1863725483417511f,1.325583577156067f,-1.2695696353912354f,-0.6003065705299377f,0.6178101897239685f,1.5392991304397583f,0.04860696196556091f,0.17769548296928406f,-0.14720924198627472f,0.18491442501544952f,-0.5503238439559937f,-1.6200997829437256f,-1.1584253311157227f,1.6194934844970703f,-2.0992305278778076f,-0.9522987008094788f}, +{-0.2675279378890991f,0.6417939066886902f,-0.08387065678834915f,-0.3172549307346344f,1.2101142406463623f,0.4401986002922058f,-0.38246187567710876f,-2.0271458625793457f,-0.6954908967018127f,-3.55148983001709f,-0.526096761226654f,-2.5684022903442383f,0.5286992788314819f,-1.423849105834961f,-0.16233780980110168f,1.2014846801757812f}, +{-0.015470266342163086f,-0.9637705683708191f,-1.4777908325195312f,0.18646779656410217f,-5.449736595153809f,-2.1742665767669678f,0.05196094512939453f,-0.008358269929885864f,-0.44417762756347656f,-0.38441595435142517f,0.13179203867912292f,-0.11511552333831787f,-5.913565158843994f,-2.1594457626342773f,-1.7790316343307495f,-8.962163925170898f}, +{0.1863725483417511f,0.6438893675804138f,-0.07026486843824387f,-0.6003065705299377f,-1.2497432231903076f,-0.5541335940361023f,0.04860696196556091f,0.022482560947537422f,-0.14720924198627472f,-0.394282728433609f,-0.5503238439559937f,-4.5045084953308105f,-0.5162699222564697f,0.8494160771369934f,-0.28686586022377014f,-1.5769164562225342f}, }; -const float hout[16] = { 0.45773375034332275f,0.058100733906030655f,-0.37153002619743347f,-0.0645643100142479f,-0.23269937932491302f,0.38497433066368103f,0.0030125975608825684f,0.41751235723495483f,-0.11494793742895126f,-0.10011312365531921f,0.08564954996109009f,-1.25117027759552f,-0.21095287799835205f,0.2516656219959259f,0.4604495167732239f,-0.5048719644546509f }; +const float hout[16] = { 0.45773375034332275f,0.25472044944763184f,-0.23579616844654083f,0.08481410145759583f,-0.15226230025291443f,0.2559983432292938f,-0.10495425015687943f,-0.025424711406230927f,0.07803402096033096f,-0.29285669326782227f,0.08564954996109009f,-0.35407373309135437f,-0.18813715875148773f,0.25447431206703186f,0.14089885354042053f,-0.23830093443393707f }; -const float b1[16] = { 0.6363121271133423f,0.9875451922416687f,-1.7145336866378784f,0.303860604763031f,1.1265977621078491f,0.8925034999847412f,-0.058932315558195114f,0.8992215991020203f,0.5270129442214966f,-0.8999415636062622f,0.6019849181175232f,1.5263274908065796f,-2.0503878593444824f,-0.8494859337806702f,-1.087764859199524f,0.9401133060455322f }; +const float b1[16] = { 0.6363121271133423f,1.2126120328903198f,-1.7145336866378784f,0.303860604763031f,1.384662389755249f,-0.44580209255218506f,-0.058932315558195114f,1.0897456407546997f,0.5270129442214966f,-0.8999415636062622f,0.6019849181175232f,2.207768678665161f,-4.834963321685791f,-1.3625853061676025f,-1.087764859199524f,2.668785810470581f }; -const float b2[16] = { -0.08468731492757797f,-0.5538690090179443f,-1.4564176797866821f,-0.7343013882637024f,-0.6939148902893066f,0.3731941282749176f,0.24866268038749695f,-0.30969977378845215f,-1.20063054561615f,-1.912178635597229f,-0.28367871046066284f,0.3992407023906708f,-0.2678349018096924f,1.8881862163543701f,-0.06543145328760147f,1.011535882949829f }; +const float b2[16] = { 0.4890938401222229f,0.5079719424247742f,-1.4564176797866821f,-0.8343586921691895f,-0.8390234112739563f,0.635274350643158f,0.24866268038749695f,-0.39963963627815247f,-1.20063054561615f,-2.060176372528076f,0.016537094488739967f,0.3992407023906708f,-0.2678349018096924f,1.6250247955322266f,-0.5514214634895325f,1.9612928628921509f }; -const float b3[16] = { -1.963319182395935f,-0.2838352620601654f,0.18011945486068726f,-0.2647509276866913f,0.14839333295822144f,0.7688350081443787f,-0.45353031158447266f,-0.5874693393707275f,0.41064468026161194f,0.3824426531791687f,-0.30186739563941956f,-0.3718335032463074f,-0.5033833384513855f,0.4683094322681427f,-0.9302076697349548f,0.043139368295669556f }; +const float b3[16] = { -1.963319182395935f,-1.608842134475708f,0.07520214468240738f,-0.41581016778945923f,-1.0507928133010864f,0.17071320116519928f,-0.5148046016693115f,-1.0084314346313477f,0.10568662732839584f,-0.01610492542386055f,-0.30186739563941956f,-4.752648830413818f,-0.8709842562675476f,0.9039522409439087f,-1.4007000923156738f,0.8914064764976501f }; -const float bout[1] = { -0.3461230993270874f }; +const float bout[1] = { -0.4095744788646698f }; float VALVE_POS_RAW_NN = 0.0f;