rainbow

Dependencies:   mbed FastPWM

Revision:
105:9118e2878373
Parent:
104:be89a3a18c7e
Child:
106:a511a5a84439
diff -r be89a3a18c7e -r 9118e2878373 main.cpp
--- a/main.cpp	Wed Sep 09 00:13:22 2020 +0000
+++ b/main.cpp	Wed Sep 09 06:09:48 2020 +0000
@@ -1,4 +1,4 @@
-//200909-1
+//200909-2
 #include "mbed.h"
 #include "FastPWM.h"
 #include "INIT_HW.h"
@@ -193,82 +193,82 @@
 float input_NN[num_input] = { 0.0f };
 
 const float h1[num_input][16] = { 
-   {-0.04754844680428505f,-0.04759102687239647f,0.11304140090942383f,0.12207318097352982f,-0.3593466579914093f,-0.027381086722016335f,-0.15306922793388367f,-0.07661134004592896f,-0.27261433005332947f,-0.05836578831076622f,0.3419308662414551f,-0.1574368178844452f,-0.30060797929763794f,-0.3224359452724457f,-0.22528137266635895f,0.20464178919792175f},
-{-0.08525237441062927f,0.09677590429782867f,-0.3440950810909271f,0.05219542235136032f,-0.3235635459423065f,-0.04025866463780403f,-0.3551466166973114f,-0.20479238033294678f,-0.09210298210382462f,0.12516777217388153f,-0.1723586469888687f,-0.004042913671582937f,0.10237079113721848f,-0.5417499542236328f,-0.1836855560541153f,0.24402621388435364f},
-{-0.12187230587005615f,0.029259540140628815f,0.3188004493713379f,-0.41390693187713623f,-0.26822689175605774f,0.16414476931095123f,0.2516096830368042f,-0.017284952104091644f,-0.16378964483737946f,-0.009926420636475086f,-0.06691371649503708f,-0.12053503096103668f,-0.27568191289901733f,-0.004879156593233347f,0.04897245764732361f,-0.043869566172361374f},
-{-0.19940543174743652f,0.022735072299838066f,0.34815579652786255f,-0.14585787057876587f,-0.3761434555053711f,-0.1056811586022377f,-0.10148510336875916f,0.2431148886680603f,-0.003201532643288374f,0.34699007868766785f,0.27783694863319397f,0.006023025140166283f,-0.3624171316623688f,0.1131914034485817f,-0.2594349980354309f,-0.05768503621220589f},
-{-0.22260814905166626f,1.395686388015747f,-0.004507303237915039f,0.5498936772346497f,0.6735188364982605f,-0.0665469616651535f,0.11336228251457214f,-0.1142578199505806f,0.0018505657790228724f,1.3323099613189697f,-1.4782894849777222f,-0.2450314462184906f,0.40370386838912964f,1.3186441659927368f,-0.33859342336654663f,-1.5731240510940552f},
-{0.21719342470169067f,-0.3380923271179199f,0.19074231386184692f,0.5500587224960327f,0.24026064574718475f,-0.1537536233663559f,0.1446705460548401f,-0.29998549818992615f,0.00398442754521966f,0.0068035852164030075f,-0.4776679277420044f,0.2432265281677246f,-0.38560086488723755f,0.006212359759956598f,-0.36205175518989563f,-0.2030559480190277f},
-{-0.07639120519161224f,-0.11638126522302628f,-0.21918344497680664f,-0.18073897063732147f,-0.29834792017936707f,0.21446041762828827f,0.05268651247024536f,-0.33566030859947205f,0.29489514231681824f,-0.04302988946437836f,-0.05287601798772812f,0.3605908453464508f,-0.28489285707473755f,0.019886821508407593f,-0.13682329654693604f,0.03020114079117775f},
-{-0.12378792464733124f,-0.31448984146118164f,-0.23319895565509796f,0.20703133940696716f,-0.2699051797389984f,-0.1492762714624405f,-0.15703755617141724f,-0.3482123017311096f,-0.0002592300297692418f,0.020097747445106506f,0.03238499537110329f,-0.03183392062783241f,0.22746938467025757f,-0.17692768573760986f,0.03769642114639282f,0.22331595420837402f},
-{0.013091196306049824f,0.23457452654838562f,0.08977723121643066f,-0.25692829489707947f,-0.09950007498264313f,0.03523936867713928f,-0.06348633766174316f,-0.4033523201942444f,-0.2599254250526428f,0.24977783858776093f,-0.24762772023677826f,0.3117203414440155f,0.1332373172044754f,-0.05664161965250969f,-0.2676756680011749f,0.22069266438484192f},
-{-0.19049197435379028f,-0.16339483857154846f,0.16173982620239258f,-0.10880079865455627f,0.22866828739643097f,0.1467514932155609f,-0.26198261976242065f,-0.1130669042468071f,-0.02968011051416397f,-0.4020967185497284f,0.07166435569524765f,-0.4629623293876648f,0.29062506556510925f,-0.3647685945034027f,0.3052974343299866f,-0.033862583339214325f},
-{0.25436368584632874f,0.29600706696510315f,0.32573211193084717f,-0.008137309923768044f,0.2581019401550293f,-0.09953721612691879f,-0.17817988991737366f,-0.02161337248980999f,-0.39656782150268555f,0.2050541490316391f,0.6391109228134155f,-0.48513492941856384f,-0.02465977519750595f,-0.038833267986774445f,0.23379981517791748f,-0.5030696988105774f},
-{-0.4841022491455078f,-0.5076929926872253f,-0.3532183766365051f,-0.6623131036758423f,-0.3625701665878296f,-0.12255798280239105f,0.13436567783355713f,0.27674612402915955f,-0.15377266705036163f,0.0845925584435463f,0.4968518614768982f,0.05397209897637367f,-0.038896698504686356f,-0.0166151262819767f,0.09193113446235657f,0.07685183733701706f},
-{-0.22781755030155182f,-0.30227699875831604f,0.173875629901886f,-0.23128587007522583f,-0.12759897112846375f,0.06596936285495758f,-0.21062730252742767f,0.07226380705833435f,-0.17287254333496094f,-0.19982708990573883f,0.469794899225235f,-0.18234600126743317f,-0.02527442015707493f,-0.11135999113321304f,-0.19507692754268646f,-0.1868363320827484f},
-{-0.3556059002876282f,-0.07281272113323212f,0.36161231994628906f,-0.18159227073192596f,-0.38639697432518005f,-0.39600393176078796f,-0.2803434431552887f,-0.3590245246887207f,-0.12620092928409576f,-0.07117138803005219f,0.021442227065563202f,-0.09748922288417816f,-0.18907563388347626f,-0.25505077838897705f,0.04202204942703247f,0.13111667335033417f},
-{-0.083421491086483f,0.543498158454895f,0.1776806116104126f,-0.021688023582100868f,0.8915060758590698f,-0.6094958782196045f,0.036818891763687134f,0.10590196400880814f,0.2585754692554474f,0.6655808687210083f,-0.20883548259735107f,-0.6392220854759216f,0.4589124917984009f,0.10347452759742737f,0.058527231216430664f,-0.31864291429519653f},
-{-0.08033468574285507f,1.0812277793884277f,-0.3542669713497162f,-0.8795615434646606f,1.4566363096237183f,-0.6789908409118652f,-0.13638360798358917f,-0.1387057602405548f,0.1693507730960846f,1.3852713108062744f,0.26527872681617737f,-1.271305799484253f,0.20578302443027496f,0.718266487121582f,-0.07223698496818542f,-1.0744599103927612f},
-{0.5376663208007812f,-1.560695767402649f,0.14635330438613892f,1.8304824829101562f,-1.4003076553344727f,0.8806692361831665f,-0.03628063201904297f,-0.0736081525683403f,-0.06275229901075363f,-1.3024158477783203f,-2.121091842651367f,1.8147333860397339f,-0.9273963570594788f,-0.8037996292114258f,0.25779521465301514f,1.5013200044631958f},
-{0.011155981570482254f,-0.287360280752182f,0.18322283029556274f,-0.6053041219711304f,-0.8822411894798279f,0.044112659990787506f,-0.3163079023361206f,-0.04608027637004852f,-0.3635421395301819f,-0.3388861119747162f,0.7735959887504578f,-0.08902709931135178f,0.017072753980755806f,-0.19094349443912506f,-0.2407861351966858f,0.17911067605018616f},
-{-0.4185675084590912f,0.0467904768884182f,-0.2609631419181824f,-1.0540632009506226f,-0.0036699664779007435f,-0.3853732645511627f,0.2401489019393921f,-0.47074052691459656f,-0.3592066764831543f,-0.00028898142045363784f,1.6151243448257446f,-0.6366268396377563f,0.16768452525138855f,0.5762042999267578f,-0.28592410683631897f,-0.5151554346084595f},
-{0.09488676488399506f,0.23292413353919983f,0.1335710883140564f,-0.8623855710029602f,-0.3924226462841034f,-0.23490624129772186f,-0.1246849000453949f,-0.533019483089447f,-0.15883906185626984f,-0.03405716270208359f,1.412514090538025f,-0.26207032799720764f,0.2839359939098358f,0.589792788028717f,0.1255095899105072f,0.13352292776107788f},
-{-0.37042614817619324f,-0.16505204141139984f,-0.07108169794082642f,0.21220535039901733f,-0.16041520237922668f,-0.3946172893047333f,0.13563674688339233f,-0.1727876365184784f,-0.3436216413974762f,-0.21522679924964905f,-0.24416282773017883f,-0.5334978699684143f,-0.13681428134441376f,0.556492030620575f,0.01829466223716736f,0.10455110669136047f},
-{-0.3357718884944916f,-0.2980622351169586f,0.24740570783615112f,-0.14505153894424438f,0.23416239023208618f,-0.40916311740875244f,0.25593245029449463f,-0.1437111347913742f,-0.06947224587202072f,0.10191464424133301f,-0.2395239621400833f,-0.41353341937065125f,0.14401984214782715f,0.07988113909959793f,0.056514471769332886f,0.09606561064720154f},
-{0.17162151634693146f,0.1562693566083908f,-0.3288555443286896f,0.1490781009197235f,-0.4387958347797394f,-0.41843894124031067f,-0.11800059676170349f,-0.1558438539505005f,-0.27031198143959045f,0.2667968273162842f,0.06809531897306442f,-0.11432336270809174f,-0.11344640702009201f,-0.189126655459404f,-0.3194865584373474f,0.3386920988559723f},
-{-0.023064570501446724f,-0.3192078173160553f,-0.29844698309898376f,-0.2594476044178009f,0.23277242481708527f,0.1362769603729248f,-0.249517560005188f,0.21263225376605988f,-0.41347092390060425f,0.14344944059848785f,0.20128175616264343f,0.05564252659678459f,0.21230348944664001f,0.15966153144836426f,0.23831695318222046f,-0.08563491702079773f},
-{0.11385727673768997f,-0.380412220954895f,0.20589900016784668f,0.25731217861175537f,0.13215458393096924f,-0.13242949545383453f,-0.2483310103416443f,0.07130590081214905f,-0.14293693006038666f,0.3336114287376404f,-0.11939126253128052f,0.18589934706687927f,-0.26265954971313477f,-0.19955605268478394f,0.06927120685577393f,-0.18777957558631897f},
-{-0.3343367278575897f,0.14439786970615387f,0.008588135242462158f,-0.14471322298049927f,-0.2915691137313843f,-0.025101521983742714f,0.013287186622619629f,-0.10844322293996811f,0.18275825679302216f,-0.039786577224731445f,0.2226678729057312f,0.04205799102783203f,-0.03308872878551483f,-0.2338634729385376f,-0.1702093929052353f,0.011145372875034809f},
-{-0.19001160562038422f,-0.08123338222503662f,0.06708025932312012f,0.4290391206741333f,0.005181442480534315f,0.022747507318854332f,0.27470332384109497f,-0.14586248993873596f,-0.09178425371646881f,0.21557436883449554f,0.25988295674324036f,-0.04215735197067261f,-0.01721585914492607f,0.07078077644109726f,0.11447501182556152f,-0.052662838250398636f},
+   {-0.04754844680428505f,-0.530216634273529f,0.11304140090942383f,-0.08370041102170944f,-0.6523385047912598f,-0.027381086722016335f,-0.15306922793388367f,-0.07661134004592896f,-0.27261433005332947f,0.19044241309165955f,0.056362804025411606f,-0.4614968001842499f,-0.30060797929763794f,-0.3224359452724457f,-0.22528137266635895f,0.6348539590835571f},
+{-0.08525237441062927f,-0.44170600175857544f,-0.3440950810909271f,-0.2526363432407379f,0.13600286841392517f,-0.04025866463780403f,-0.3551466166973114f,-0.20479238033294678f,-0.09210298210382462f,0.45660921931266785f,-0.8007382750511169f,-0.3188437223434448f,0.10237079113721848f,-0.5417499542236328f,-0.1836855560541153f,0.8492973446846008f},
+{-0.12187230587005615f,-0.8927391767501831f,0.3188004493713379f,-0.7997753620147705f,-0.5879339575767517f,0.16414476931095123f,0.2516096830368042f,-0.017284952104091644f,-0.16378964483737946f,-0.06449131667613983f,-0.05198131874203682f,-0.44168129563331604f,-0.27568191289901733f,-0.004879156593233347f,0.04897245764732361f,-0.4043995440006256f},
+{-0.19940543174743652f,-0.7108068466186523f,0.34815579652786255f,-0.3866218030452728f,-0.5316346883773804f,-0.1056811586022377f,-0.10148510336875916f,0.2431148886680603f,-0.003201532643288374f,0.3288455307483673f,0.8373333215713501f,0.26523029804229736f,-0.3624171316623688f,0.1131914034485817f,-0.2594349980354309f,-0.11279565840959549f},
+{-0.22260814905166626f,2.995941400527954f,-0.004507303237915039f,0.4836748540401459f,1.0383654832839966f,-0.0665469616651535f,0.11336228251457214f,-0.1142578199505806f,0.0018505657790228724f,2.3285422325134277f,-4.838907718658447f,0.2447872906923294f,0.40370386838912964f,1.3186441659927368f,-0.33859342336654663f,-2.596590995788574f},
+{0.21719342470169067f,0.06512513756752014f,0.19074231386184692f,0.6491201519966125f,0.9997032284736633f,-0.1537536233663559f,0.1446705460548401f,-0.29998549818992615f,0.00398442754521966f,-0.03770201653242111f,-1.7278112173080444f,0.8585587739944458f,-0.38560086488723755f,0.006212359759956598f,-0.36205175518989563f,-0.38310468196868896f},
+{-0.07639120519161224f,0.07174117863178253f,-0.21918344497680664f,-0.11482009291648865f,0.15254071354866028f,0.21446041762828827f,0.05268651247024536f,-0.33566030859947205f,0.29489514231681824f,-0.13286027312278748f,-0.8627548813819885f,0.7991014719009399f,-0.28489285707473755f,0.019886821508407593f,-0.13682329654693604f,0.003697440028190613f},
+{-0.12378792464733124f,-0.40798240900039673f,-0.23319895565509796f,0.22465209662914276f,-0.31218400597572327f,-0.1492762714624405f,-0.15703755617141724f,-0.3482123017311096f,-0.0002592300297692418f,-0.08527708053588867f,-0.04766494780778885f,0.053324487060308456f,0.22746938467025757f,-0.17692768573760986f,0.03769642114639282f,0.33347076177597046f},
+{0.013091196306049824f,-0.05674178525805473f,0.08977723121643066f,-0.25362423062324524f,-0.3664046823978424f,0.03523936867713928f,-0.06348633766174316f,-0.4033523201942444f,-0.2599254250526428f,0.044075313955545425f,-0.009293384850025177f,0.3319243788719177f,0.1332373172044754f,-0.05664161965250969f,-0.2676756680011749f,0.45130348205566406f},
+{-0.19049197435379028f,-0.5320309400558472f,0.16173982620239258f,-0.12147263437509537f,-0.08784742653369904f,0.1467514932155609f,-0.26198261976242065f,-0.1130669042468071f,-0.02968011051416397f,-0.6143247485160828f,0.4633010923862457f,-0.515257716178894f,0.29062506556510925f,-0.3647685945034027f,0.3052974343299866f,0.23399080336093903f},
+{0.25436368584632874f,0.5146796107292175f,0.32573211193084717f,-0.10260577499866486f,-0.1565724015235901f,-0.09953721612691879f,-0.17817988991737366f,-0.02161337248980999f,-0.39656782150268555f,0.7200503349304199f,2.2578909397125244f,-1.5699495077133179f,-0.02465977519750595f,-0.038833267986774445f,0.23379981517791748f,-0.9229269623756409f},
+{-0.4841022491455078f,-1.063336968421936f,-0.3532183766365051f,-1.0758341550827026f,-1.7367539405822754f,-0.12255798280239105f,0.13436567783355713f,0.27674612402915955f,-0.15377266705036163f,-0.2762676477432251f,3.559654474258423f,-0.498639315366745f,-0.038896698504686356f,-0.0166151262819767f,0.09193113446235657f,0.1312442123889923f},
+{-0.22781755030155182f,-0.23967871069908142f,0.173875629901886f,-0.4890464246273041f,-0.0458119697868824f,0.06596936285495758f,-0.21062730252742767f,0.07226380705833435f,-0.17287254333496094f,-0.30909931659698486f,2.316343307495117f,-0.25767719745635986f,-0.02527442015707493f,-0.11135999113321304f,-0.19507692754268646f,-0.25568655133247375f},
+{-0.3556059002876282f,-0.07427522540092468f,0.36161231994628906f,-0.3828604817390442f,-0.5163854360580444f,-0.39600393176078796f,-0.2803434431552887f,-0.3590245246887207f,-0.12620092928409576f,-0.09647113084793091f,0.5913520455360413f,-0.10468284785747528f,-0.18907563388347626f,-0.25505077838897705f,0.04202204942703247f,0.26759618520736694f},
+{-0.083421491086483f,0.7541764974594116f,0.1776806116104126f,-0.0566239096224308f,1.4747079610824585f,-0.6094958782196045f,0.036818891763687134f,0.10590196400880814f,0.2585754692554474f,0.4095909595489502f,-1.7406926155090332f,0.12349403649568558f,0.4589124917984009f,0.10347452759742737f,0.058527231216430664f,-0.18394438922405243f},
+{-0.08033468574285507f,3.6094319820404053f,-0.3542669713497162f,-0.9382401704788208f,4.40432071685791f,-0.6789908409118652f,-0.13638360798358917f,-0.1387057602405548f,0.1693507730960846f,3.290762186050415f,0.0159761905670166f,-2.5206587314605713f,0.20578302443027496f,0.718266487121582f,-0.07223698496818542f,-3.175769567489624f},
+{0.5376663208007812f,-3.1047873497009277f,0.14635330438613892f,2.006746768951416f,-3.179218292236328f,0.8806692361831665f,-0.03628063201904297f,-0.0736081525683403f,-0.06275229901075363f,-3.155949831008911f,-2.9432685375213623f,3.767887830734253f,-0.9273963570594788f,-0.8037996292114258f,0.25779521465301514f,2.716948986053467f},
+{0.011155981570482254f,-0.739599883556366f,0.18322283029556274f,-0.9413151144981384f,-3.23013973236084f,0.044112659990787506f,-0.3163079023361206f,-0.04608027637004852f,-0.3635421395301819f,-0.3238906264305115f,3.8069698810577393f,-1.3923182487487793f,0.017072753980755806f,-0.19094349443912506f,-0.2407861351966858f,0.09836848080158234f},
+{-0.4185675084590912f,-0.42745763063430786f,-0.2609631419181824f,-1.4110053777694702f,-3.0199358463287354f,-0.3853732645511627f,0.2401489019393921f,-0.47074052691459656f,-0.3592066764831543f,0.0931406021118164f,4.473484039306641f,-2.0279228687286377f,0.16768452525138855f,0.5762042999267578f,-0.28592410683631897f,-0.6751209497451782f},
+{0.09488676488399506f,0.13548988103866577f,0.1335710883140564f,-1.0007416009902954f,-1.452916145324707f,-0.23490624129772186f,-0.1246849000453949f,-0.533019483089447f,-0.15883906185626984f,0.020903607830405235f,2.6365842819213867f,-0.8403635025024414f,0.2839359939098358f,0.589792788028717f,0.1255095899105072f,0.1356075257062912f},
+{-0.37042614817619324f,0.08344288170337677f,-0.07108169794082642f,0.17757529020309448f,-0.22492939233779907f,-0.3946172893047333f,0.13563674688339233f,-0.1727876365184784f,-0.3436216413974762f,-0.142774298787117f,-0.6026859283447266f,-0.36614087224006653f,-0.13681428134441376f,0.556492030620575f,0.01829466223716736f,-0.07202178239822388f},
+{-0.3357718884944916f,-0.2833663523197174f,0.24740570783615112f,-0.21576672792434692f,0.05170443654060364f,-0.40916311740875244f,0.25593245029449463f,-0.1437111347913742f,-0.06947224587202072f,0.19163371622562408f,-0.29480987787246704f,-0.4021371901035309f,0.14401984214782715f,0.07988113909959793f,0.056514471769332886f,0.1972517967224121f},
+{0.17162151634693146f,0.13157309591770172f,-0.3288555443286896f,0.02019149251282215f,-0.4041925370693207f,-0.41843894124031067f,-0.11800059676170349f,-0.1558438539505005f,-0.27031198143959045f,0.37474364042282104f,0.15695686638355255f,-0.046958811581134796f,-0.11344640702009201f,-0.189126655459404f,-0.3194865584373474f,0.5693081021308899f},
+{-0.023064570501446724f,-0.3052598536014557f,-0.29844698309898376f,-0.3763624131679535f,0.31388363242149353f,0.1362769603729248f,-0.249517560005188f,0.21263225376605988f,-0.41347092390060425f,0.2033153474330902f,-0.6397644281387329f,0.02053062617778778f,0.21230348944664001f,0.15966153144836426f,0.23831695318222046f,0.09426836669445038f},
+{0.11385727673768997f,-0.466043621301651f,0.20589900016784668f,0.16036953032016754f,0.1651490330696106f,-0.13242949545383453f,-0.2483310103416443f,0.07130590081214905f,-0.14293693006038666f,0.27093780040740967f,-0.7953394055366516f,0.12759838998317719f,-0.26265954971313477f,-0.19955605268478394f,0.06927120685577393f,0.07971415668725967f},
+{-0.3343367278575897f,0.22834834456443787f,0.008588135242462158f,-0.24758897721767426f,-0.20855441689491272f,-0.025101521983742714f,0.013287186622619629f,-0.10844322293996811f,0.18275825679302216f,0.04077226296067238f,0.375319242477417f,-0.02896328642964363f,-0.03308872878551483f,-0.2338634729385376f,-0.1702093929052353f,0.2048746943473816f},
+{-0.19001160562038422f,-0.13944029808044434f,0.06708025932312012f,0.3464275002479553f,0.10913650691509247f,0.022747507318854332f,0.27470332384109497f,-0.14586248993873596f,-0.09178425371646881f,0.324962317943573f,0.2919461131095886f,0.0514339953660965f,-0.01721585914492607f,0.07078077644109726f,0.11447501182556152f,0.15832282602787018f},
 };
 
 const float h2[16][16] = { 
     {-0.23879092931747437f,-0.2247074842453003f,-0.06966331601142883f,0.07895159721374512f,-0.21907491981983185f,0.3905109465122223f,0.12049764394760132f,0.0904630720615387f,-0.43008196353912354f,-0.1415480375289917f,0.2126878947019577f,-0.1415361613035202f,0.10642024874687195f,0.1622174233198166f,-0.009342985227704048f,-0.24883486330509186f},
-{0.04574314132332802f,-0.28682494163513184f,0.057057321071624756f,1.3621562719345093f,-0.35503754019737244f,-0.03607065603137016f,-0.5749051570892334f,-0.4497179388999939f,-0.33757925033569336f,0.2895788848400116f,0.09145230054855347f,-0.9843919277191162f,0.8000498414039612f,-0.3576343357563019f,-0.5442853569984436f,-0.588758647441864f},
+{0.04574314132332802f,-4.606758117675781f,0.057057321071624756f,2.2958874702453613f,-0.35503754019737244f,2.987067699432373f,-0.6205443143844604f,-0.4497179388999939f,-0.33757925033569336f,0.2895788848400116f,0.3997703790664673f,-1.0605665445327759f,0.9789016246795654f,-0.7224385142326355f,-0.8387327790260315f,-0.21319285035133362f},
 {-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.02742648310959339f,-0.3625330626964569f,-0.2894435524940491f,0.866135835647583f,0.08946844935417175f,0.1334310919046402f,-0.41668185591697693f,0.2566985785961151f,0.26211628317832947f,0.2953031361103058f,1.152919888496399f,0.3392617404460907f,0.02636517770588398f,-0.17322903871536255f,-0.028717713430523872f,-0.17194809019565582f},
-{-0.28105083107948303f,0.3469565510749817f,-0.25313520431518555f,1.4822949171066284f,0.036378175020217896f,0.6368969082832336f,-0.5140271782875061f,-0.22565282881259918f,-0.024399548768997192f,-0.39465832710266113f,0.35618680715560913f,-0.7885417938232422f,0.5887947678565979f,-1.9332754611968994f,-0.8083681464195251f,-0.9358842968940735f},
+{0.02742648310959339f,-0.3625330626964569f,-0.2894435524940491f,-0.07894079387187958f,0.08946844935417175f,-0.1604781448841095f,-0.41668185591697693f,0.2566985785961151f,0.26211628317832947f,0.2953031361103058f,0.5621348023414612f,0.2075783610343933f,0.044909264892339706f,0.16965551674365997f,-0.07103067636489868f,-0.0564725399017334f},
+{-0.28105083107948303f,-0.5965664386749268f,-0.25313520431518555f,2.4203219413757324f,0.036378175020217896f,2.2264177799224854f,-0.5140271782875061f,-0.22565282881259918f,-0.024399548768997192f,-0.39465832710266113f,2.0184779167175293f,-0.7885417938232422f,1.1242095232009888f,-2.920522689819336f,-0.4898601174354553f,-0.12347309291362762f},
 {0.30809175968170166f,0.2815673351287842f,-0.3519742488861084f,0.6510557532310486f,-0.3015052080154419f,-0.01307283341884613f,-0.4332692325115204f,-0.019414573907852173f,-0.23047015070915222f,0.3579089343547821f,0.06305015087127686f,-0.26302075386047363f,-0.1484527736902237f,0.5012978315353394f,0.21090148389339447f,-0.523945689201355f},
 {-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.09149304032325745f,0.39382967352867126f,0.33083590865135193f,-0.3982222080230713f,-0.14358049631118774f,-0.4295612573623657f,-0.09043094515800476f,-0.3003333508968353f,0.2600560486316681f,-0.37898191809654236f,0.3922218382358551f,-0.3200107216835022f,-0.06807977706193924f,0.16958321630954742f,-0.028019586578011513f,0.1325443536043167f},
 {-0.25820738077163696f,0.3221603035926819f,-0.11379697918891907f,0.1347288340330124f,0.041274964809417725f,-0.2986799478530884f,-0.10284432768821716f,0.0019084513187408447f,0.06103590130805969f,-0.38046833872795105f,0.027452558279037476f,-0.3197441101074219f,-0.4190613329410553f,-0.2655027210712433f,-0.3592628836631775f,-0.21385815739631653f},
-{-0.18270914256572723f,0.2457161843776703f,-0.13502129912376404f,0.4278991222381592f,0.12987366318702698f,-0.4335528016090393f,-0.05151643604040146f,-0.5084154009819031f,-0.13619378209114075f,0.16938945651054382f,0.3941241204738617f,-0.12296741455793381f,1.0523855686187744f,-0.37733379006385803f,-0.4150486886501312f,-0.6173748970031738f},
-{-0.3177672028541565f,0.031106265261769295f,0.0457797646522522f,-1.1260128021240234f,-0.03321319818496704f,-0.5690730214118958f,-0.14804573357105255f,-0.30097073316574097f,-0.050184011459350586f,0.12480869889259338f,-0.539925217628479f,-0.0006986299413256347f,-0.1251789629459381f,0.006766051519662142f,-0.2461942434310913f,-0.011221654713153839f},
-{0.2798016369342804f,0.3364565372467041f,0.3954955041408539f,1.758089542388916f,0.0033026933670043945f,0.9421866536140442f,-0.457524836063385f,-0.2739883065223694f,0.3487861454486847f,-0.32520344853401184f,1.367268681526184f,-0.34191712737083435f,-0.1502441167831421f,-0.2569291591644287f,1.3852827548980713f,0.5008220672607422f},
+{-0.18270914256572723f,-3.3988454341888428f,-0.13502129912376404f,0.4474813640117645f,0.12987366318702698f,-1.694394588470459f,-0.19735857844352722f,-0.5084154009819031f,-0.13619378209114075f,0.16938945651054382f,-0.42759886384010315f,-0.23108264803886414f,1.8501368761062622f,0.7278321981430054f,-3.3775484561920166f,0.13835789263248444f},
+{-0.3177672028541565f,-0.1910296529531479f,0.0457797646522522f,-3.2129592895507812f,-0.03321319818496704f,-0.9024812579154968f,-0.14804573357105255f,-0.30097073316574097f,-0.050184011459350586f,0.12480869889259338f,-0.490828275680542f,-0.1105574369430542f,-0.09525325894355774f,-0.5781571269035339f,-0.3580318093299866f,0.12321771681308746f},
+{0.2798016369342804f,1.7974588871002197f,0.3954955041408539f,3.0996081829071045f,0.0033026933670043945f,1.3121733665466309f,-0.5159802436828613f,-0.2739883065223694f,0.3487861454486847f,-0.32520344853401184f,2.1173388957977295f,-0.3887023627758026f,-0.17047901451587677f,0.8024866580963135f,1.0452569723129272f,-1.2933293581008911f},
 {-0.36529868841171265f,-0.2148248255252838f,-0.15798500180244446f,-0.01582324132323265f,-0.37393757700920105f,0.4237067997455597f,-0.2887723743915558f,-0.2947862446308136f,-0.3764709532260895f,0.2424570620059967f,-0.15431059896945953f,-0.6320168375968933f,0.20954912900924683f,-0.3726774752140045f,-0.16320562362670898f,0.4442850351333618f},
 {-0.2728922665119171f,0.31573981046676636f,-0.2018718123435974f,0.633874237537384f,0.07545611262321472f,0.033286914229393005f,-0.3082107603549957f,-0.21416273713111877f,-0.24509364366531372f,0.19522181153297424f,-0.7568179965019226f,-0.5766573548316956f,0.09766939282417297f,0.9515406489372253f,-0.21473047137260437f,0.3493078649044037f},
 {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.44096609950065613f,0.3517564535140991f,0.12081471085548401f,-0.8358102440834045f,0.29976895451545715f,0.44013455510139465f,-0.4267421364784241f,0.15438655018806458f,-0.3893685042858124f,-0.02222958207130432f,0.45075926184654236f,-0.5080707669258118f,-0.3411341607570648f,-1.0111980438232422f,0.36603158712387085f,0.44096824526786804f},
+{-0.44096609950065613f,3.432812452316284f,0.12081471085548401f,-2.4027888774871826f,0.29976895451545715f,0.3685931861400604f,-0.45547792315483093f,0.15438655018806458f,-0.3893685042858124f,-0.02222958207130432f,0.6889567375183105f,-0.5884279608726501f,-0.8097412586212158f,-2.008504867553711f,1.5001810789108276f,0.7552077770233154f},
 };
 
 const float h3[16][16] = { 
     {-0.36079341173171997f,-0.09034993499517441f,-0.07572291046380997f,-0.37736067175865173f,-0.18604205548763275f,0.038391318172216415f,0.3332441747188568f,0.3036012351512909f,-0.2405819296836853f,0.04891335964202881f,-0.11870327591896057f,0.4001283347606659f,0.026616152375936508f,0.30597126483917236f,-0.31185421347618103f,0.15487313270568848f},
-{0.047732532024383545f,0.2335854172706604f,0.025196028873324394f,-0.20402075350284576f,-0.10940232127904892f,-0.030096925795078278f,-0.3198729455471039f,0.06247803568840027f,0.2882016599178314f,-0.1780138611793518f,0.4144817292690277f,-0.3128277659416199f,0.1819695383310318f,0.35072416067123413f,-0.37532955408096313f,-0.3006279170513153f},
+{0.047732532024383545f,0.2335854172706604f,0.6154120564460754f,-0.363690048456192f,-0.19451680779457092f,-0.5180659294128418f,-0.3198729455471039f,0.06168501824140549f,0.2882016599178314f,2.025585174560547f,0.25681862235069275f,-0.3128277659416199f,3.7107362747192383f,-4.186375141143799f,-9.185410499572754f,-0.04473866894841194f},
 {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.5638013482093811f,1.0353354215621948f,-0.21634826064109802f,0.49740320444107056f,-0.35162991285324097f,0.20021501183509827f,0.07002416253089905f,-0.43857869505882263f,-0.36678487062454224f,-0.02409454807639122f,0.41021624207496643f,0.6409303545951843f,-0.4715946614742279f,-0.6887563467025757f,-0.030169140547513962f},
+{-0.30922991037368774f,0.4399411976337433f,0.19089920818805695f,-0.21634826064109802f,0.6928690671920776f,-0.45441821217536926f,0.20021501183509827f,-0.04819854348897934f,-0.43857869505882263f,-0.36678487062454224f,-0.02409454807639122f,0.41021624207496643f,1.9820834398269653f,-0.4715946614742279f,-0.13249875605106354f,-0.10361111909151077f},
 {-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.05868063494563103f,0.15965278446674347f,-0.046526793390512466f,0.48292315006256104f,-0.09916048496961594f,-0.18732719123363495f,0.22384825348854065f,-0.5947392582893372f,-1.2494080066680908f,-0.22839494049549103f,0.0333346351981163f,0.3160455524921417f,-1.9267280101776123f,0.44608965516090393f,-0.3412717878818512f},
-{0.4110594093799591f,0.21961452066898346f,-0.14298677444458008f,0.37246426939964294f,0.23099927604198456f,-0.14099733531475067f,-0.08670487999916077f,-0.25336313247680664f,-0.030661463737487793f,-0.06259563565254211f,-0.1344406008720398f,0.35313835740089417f,0.3182245194911957f,-0.019709786400198936f,0.25067099928855896f,-0.3391006588935852f},
+{-0.37449589371681213f,-1.993119239807129f,-0.24474097788333893f,-0.19117528200149536f,-0.24062587320804596f,-0.061214469373226166f,-0.18732719123363495f,0.02858704887330532f,-0.5947392582893372f,-7.169979572296143f,-0.3781808912754059f,0.0333346351981163f,0.6293804049491882f,-2.8978209495544434f,1.0871620178222656f,-0.9900457859039307f},
+{0.4110594093799591f,0.2323508858680725f,-0.14298677444458008f,0.37246426939964294f,0.23099927604198456f,-0.11933191865682602f,-0.08670487999916077f,-0.25336313247680664f,-0.030661463737487793f,-0.06259563565254211f,-0.1344406008720398f,0.35313835740089417f,0.30075234174728394f,-0.019709786400198936f,0.2527919411659241f,-0.3391006588935852f},
 {-0.40892091393470764f,-0.0428597629070282f,-0.29680168628692627f,0.25968697667121887f,0.42528533935546875f,-0.051169753074645996f,-0.23312048614025116f,-0.390264093875885f,0.28059282898902893f,-0.1559126079082489f,-0.14134526252746582f,-0.0003446042537689209f,-0.19779664278030396f,-0.36560842394828796f,-0.009836526587605476f,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.010228915140032768f,0.40003424882888794f,-0.13581596314907074f,0.08421316742897034f,-0.20590241253376007f,-0.08742031455039978f,-0.09917528182268143f,-0.10932233184576035f,-1.4675260782241821f,-0.030283793807029724f,-0.4558790922164917f,0.2682010233402252f,-2.313721179962158f,0.519452691078186f,0.3165898025035858f},
-{-0.408692330121994f,-0.0963486060500145f,0.013925733976066113f,0.05693887919187546f,-0.08350127935409546f,-0.1637120544910431f,0.03285527229309082f,0.38763079047203064f,-0.20705322921276093f,-0.10372414439916611f,0.12809070944786072f,0.03996849060058594f,-0.6194732189178467f,-0.3557840585708618f,-0.2379010170698166f,0.3149169385433197f},
-{-0.2991822361946106f,0.7098858952522278f,-0.4141538441181183f,-2.178121328353882f,-0.2091534435749054f,0.7553542256355286f,-0.11253207921981812f,0.18752437829971313f,-0.22888995707035065f,-1.2983821630477905f,-0.20140421390533447f,-0.5045773386955261f,0.0005034474306739867f,0.3124864995479584f,0.79794842004776f,-0.4550681710243225f},
-{-0.2675279378890991f,0.018155381083488464f,0.01254372950643301f,0.036262739449739456f,-0.019721999764442444f,0.3254544734954834f,-0.32875844836235046f,-0.31893211603164673f,-1.0048253536224365f,0.7956522107124329f,-0.5136703252792358f,-0.5677506327629089f,0.10820483416318893f,-1.224255084991455f,0.4537825584411621f,0.19863951206207275f},
-{-0.015470266342163086f,0.2721659541130066f,0.9642218351364136f,0.5729060173034668f,0.5897018313407898f,0.0031739033292979f,0.05196094512939453f,-0.008358269929885864f,-0.8139349222183228f,0.9526056051254272f,0.13179203867912292f,-0.26322120428085327f,0.6677518486976624f,0.07218713313341141f,0.9567118883132935f,-0.4578765332698822f},
-{0.1863725483417511f,0.0045122550800442696f,0.18596000969409943f,-0.5945701003074646f,0.5914106369018555f,-0.21225102245807648f,0.04860696196556091f,0.17769548296928406f,-0.3410601019859314f,1.097037434577942f,-0.3929237127304077f,0.03876710683107376f,0.7228344082832336f,-0.416935533285141f,-0.28511953353881836f,-0.12514173984527588f},
+{0.15459725260734558f,-1.483699917793274f,0.3342244625091553f,-0.29217076301574707f,-0.7100313305854797f,-0.42425405979156494f,-0.08742031455039978f,-0.29005128145217896f,-0.10932233184576035f,-1.1359978914260864f,-0.18788401782512665f,-0.4558790922164917f,-1.7333769798278809f,-3.314079999923706f,-0.28138259053230286f,0.1997302621603012f},
+{-0.408692330121994f,-0.0963486060500145f,-0.0798807442188263f,0.05693887919187546f,-0.16263824701309204f,-0.0489184744656086f,0.03285527229309082f,0.38763079047203064f,-0.20705322921276093f,-0.10372414439916611f,0.12809070944786072f,0.03996849060058594f,-0.6786553263664246f,-0.3557840585708618f,-0.14653949439525604f,0.3149169385433197f},
+{-0.2991822361946106f,0.8242707252502441f,-0.5490741729736328f,-2.211770534515381f,-0.8496814370155334f,1.3128535747528076f,-0.11253207921981812f,0.06128481402993202f,-0.22888995707035065f,-0.6089873313903809f,-0.20140421390533447f,-0.5045773386955261f,-0.5882917642593384f,-0.24254660308361053f,0.08921010047197342f,-1.6710102558135986f},
+{-0.2675279378890991f,-0.27166828513145447f,0.196381613612175f,0.036262739449739456f,0.8081451058387756f,0.23969271779060364f,-0.32875844836235046f,-0.31893211603164673f,-1.0048253536224365f,-2.336460590362549f,-0.5136703252792358f,-0.5677506327629089f,2.2608680725097656f,-2.0822367668151855f,-4.124178886413574f,-0.4129162132740021f},
+{-0.015470266342163086f,0.2076922506093979f,2.0901122093200684f,0.4231385290622711f,-0.24825504422187805f,0.6368523240089417f,0.05196094512939453f,-0.11772739887237549f,-0.8139349222183228f,0.17219232022762299f,-0.02355935424566269f,-0.26322120428085327f,-0.14041846990585327f,-0.9002529382705688f,0.004994128830730915f,-0.09836287796497345f},
+{0.1863725483417511f,-2.964024066925049f,-0.16529524326324463f,-0.5731563568115234f,-0.14589117467403412f,-0.22239737212657928f,0.04860696196556091f,0.05421847850084305f,-0.3410601019859314f,0.3701612055301666f,-0.5499403476715088f,0.03876710683107376f,-1.2966328859329224f,0.35098761320114136f,1.4443241357803345f,-0.1990971565246582f},
 };
 
-const float hout[16] = { 0.45773375034332275f,0.05700983107089996f,-0.219314306974411f,-0.33130523562431335f,-0.16911469399929047f,0.43203607201576233f,0.0030125975608825684f,0.020888036116957664f,0.02613774500787258f,0.49161115288734436f,0.09895367920398712f,-0.11721450090408325f,-0.1269136369228363f,0.5529125928878784f,0.2567889392375946f,-0.1690622866153717f };
+const float hout[16] = { 0.45773375034332275f,0.05784709006547928f,-0.1404813975095749f,-0.12895242869853973f,-0.01166574563831091f,0.28172412514686584f,0.0030125975608825684f,-0.1872355341911316f,0.02613774500787258f,0.25827687978744507f,-0.05314243212342262f,-0.11721450090408325f,-0.17019878327846527f,0.26956355571746826f,0.07062312960624695f,-0.06712948530912399f };
 
-const float b1[16] = { 0.6664221286773682f,0.9163622260093689f,-1.7145336866378784f,0.9758668541908264f,1.2177531719207764f,0.8804880380630493f,-0.058932315558195114f,0.8360020518302917f,0.5085859894752502f,-0.8674355149269104f,-0.03254823386669159f,1.702577829360962f,-0.5985863208770752f,-1.2552247047424316f,-1.087764859199524f,1.0482486486434937f };
+const float b1[16] = { 0.6664221286773682f,1.3991615772247314f,-1.7145336866378784f,1.1238877773284912f,4.139063358306885f,0.8804880380630493f,-0.058932315558195114f,0.8360020518302917f,0.5085859894752502f,-1.0549907684326172f,-2.1933367252349854f,2.968667507171631f,-0.5985863208770752f,-1.2552247047424316f,-1.087764859199524f,1.338204264640808f };
 
-const float b2[16] = { -0.15995901823043823f,-0.7918927073478699f,-1.4564176797866821f,-1.450941562652588f,-0.6939148902893066f,0.29606395959854126f,0.1530599445104599f,-0.46641260385513306f,-1.20063054561615f,-1.912178635597229f,0.38973814249038696f,0.17891651391983032f,0.0748835876584053f,1.3889684677124023f,0.31618839502334595f,1.0033165216445923f };
+const float b2[16] = { -0.15995901823043823f,-1.8434703350067139f,-1.4564176797866821f,-1.616771936416626f,-0.6939148902893066f,-0.1738164871931076f,0.012100458145141602f,-0.46641260385513306f,-1.20063054561615f,-1.912178635597229f,1.1003904342651367f,0.06154978647828102f,-0.06523963063955307f,1.6217546463012695f,0.37085679173469543f,0.1973559856414795f };
 
-const float b3[16] = { -1.963319182395935f,-0.3422851860523224f,0.35813575983047485f,-0.21008148789405823f,0.24701188504695892f,0.8199921250343323f,-0.45353031158447266f,-0.8140110373497009f,0.10549575835466385f,0.8893446326255798f,-0.299809068441391f,-0.10725808143615723f,-0.25849929451942444f,0.8991943001747131f,-1.2206708192825317f,-0.4013988971710205f };
+const float b3[16] = { -1.963319182395935f,-0.3822685182094574f,0.3768531382083893f,-0.3494439721107483f,-0.4437258839607239f,0.7685852646827698f,-0.45353031158447266f,-0.9905993938446045f,0.10549575835466385f,2.6102547645568848f,-0.4560318887233734f,-0.10725808143615723f,-2.040526866912842f,0.868899941444397f,-1.317742943763733f,-0.45540651679039f };
 
-const float bout[1] = { -0.29917827248573303f };
+const float bout[1] = { -0.6484206914901733f };
 
 
 float VALVE_POS_RAW_NN = 0.0f;