![](/media/cache/img/default_profile.jpg.50x50_q85.jpg)
for learning
Diff: main.cpp
- Revision:
- 185:f048add669fd
- Parent:
- 184:75bbde569471
- Child:
- 186:bf562c3c80b4
--- a/main.cpp Wed Dec 16 00:34:42 2020 +0000 +++ b/main.cpp Wed Dec 16 07:16:08 2020 +0000 @@ -1,4 +1,4 @@ -//201216-1 +//201216-2 #include "mbed.h" #include "FastPWM.h" #include "INIT_HW.h" @@ -198,72 +198,72 @@ float input_NN[num_input] = { 0.0f }; const float h1[num_input][16] = { - {-1.5377649068832397f,1.2348084449768066f,0.12903714179992676f,-0.7775466442108154f,-1.7313402891159058f,1.1328696012496948f,-0.17472904920578003f,-0.31568053364753723f,-1.6451395750045776f,0.08867859095335007f,-0.23520143330097198f,-1.8044253587722778f,-0.2673356235027313f,-0.7325633764266968f,-0.2571594715118408f,1.472490906715393f}, -{-1.1286786794662476f,0.7839595675468445f,-0.3927857577800751f,-0.6969871520996094f,-1.2280852794647217f,0.48096179962158203f,-0.4054011106491089f,-0.3208436667919159f,-1.0162376165390015f,0.3468303382396698f,-0.2720212936401367f,-1.157413363456726f,0.232293039560318f,-0.9538101553916931f,-0.20967772603034973f,1.1393009424209595f}, -{-0.81263667345047f,0.40442758798599243f,0.36391180753707886f,-0.7410301566123962f,-0.5623536705970764f,0.26899170875549316f,0.2872133255004883f,-0.01752573810517788f,-0.8192043304443359f,0.35837459564208984f,-0.3459203839302063f,-0.7548978924751282f,-0.0059507424011826515f,-0.33420637249946594f,0.05590221285820007f,0.33579739928245544f}, -{-0.29265180230140686f,-0.27822574973106384f,0.39742106199264526f,0.2536725103855133f,-0.03869828209280968f,-0.5511156320571899f,-0.11584559082984924f,0.37218543887138367f,-0.2952747344970703f,0.5005717277526855f,0.09789774566888809f,0.15287092328071594f,-0.1680694818496704f,-0.221437469124794f,-0.2961459457874298f,0.03926409035921097f}, -{0.9285116791725159f,-0.8077948093414307f,-0.0051451027393341064f,0.6920914649963379f,0.7559896111488342f,-0.9459089040756226f,0.1294034719467163f,0.15902996063232422f,0.3258247375488281f,0.32459303736686707f,0.3498339056968689f,0.6136358380317688f,-0.07163341343402863f,0.4614284634590149f,-0.3865056037902832f,-1.0294679403305054f}, -{2.3463828563690186f,-2.5303292274475098f,0.21773302555084229f,1.477303147315979f,2.240800619125366f,-2.3303043842315674f,0.16514194011688232f,0.05813070386648178f,1.3986808061599731f,0.34440353512763977f,-0.24573767185211182f,1.9037261009216309f,-0.268279105424881f,1.7655072212219238f,-0.4132833778858185f,-1.9700273275375366f}, -{-0.4369703531265259f,0.7387278079986572f,-0.2501986622810364f,-0.9271978139877319f,-1.1423627138137817f,1.097220540046692f,0.06014183163642883f,-1.050276517868042f,0.13420486450195312f,-0.2703655958175659f,0.15077415108680725f,-0.04091700538992882f,-0.17465755343437195f,-1.6798783540725708f,-0.15618428587913513f,-1.5135868787765503f}, -{-0.13573184609413147f,0.13010674715042114f,-0.26619744300842285f,-0.0794379785656929f,-0.70912104845047f,0.31772083044052124f,-0.17925891280174255f,-0.7659602761268616f,0.01908610202372074f,-0.16886766254901886f,0.10512365400791168f,-0.2623549699783325f,0.3695131838321686f,-0.7335740327835083f,0.04303058981895447f,-1.0657305717468262f}, -{0.7555938363075256f,-0.021008117124438286f,0.10248100757598877f,-0.00994115136563778f,0.31521323323249817f,-0.2205902636051178f,-0.07246989011764526f,-0.5589467883110046f,0.3382551074028015f,0.11823058128356934f,-0.29748186469078064f,0.6377660036087036f,0.22716356813907623f,1.0021276473999023f,-0.30555272102355957f,-0.732044517993927f}, -{0.3232681155204773f,-0.40787485241889954f,0.18462657928466797f,0.12388432025909424f,0.49224865436553955f,0.06522741168737411f,-0.2990540862083435f,-0.13266541063785553f,0.48252439498901367f,-0.6622780561447144f,-0.008490024134516716f,-0.3987669348716736f,0.3702549934387207f,0.7228370904922485f,0.3484981060028076f,-0.32474222779273987f}, -{0.5499926209449768f,0.16501271724700928f,0.37182438373565674f,0.2804836630821228f,0.1178550198674202f,0.07621731609106064f,-0.20339298248291016f,-0.033771634101867676f,-0.12858600914478302f,-0.13823570311069489f,0.34812381863594055f,-0.4757518470287323f,-0.0686570256948471f,0.7044376134872437f,0.26688337326049805f,-0.16891999542713165f}, -{-0.32638248801231384f,-0.2681056559085846f,-0.40320003032684326f,-0.0554439052939415f,0.13748574256896973f,0.08285294473171234f,0.1533789038658142f,0.3311554193496704f,0.001971070421859622f,0.052262917160987854f,-0.41445285081863403f,-0.10799311101436615f,0.14259445667266846f,0.46168866753578186f,0.10493969917297363f,0.2548428475856781f}, -{-0.027842355892062187f,-0.08303984254598618f,0.19847965240478516f,0.09461163729429245f,0.32331663370132446f,0.2865959703922272f,-0.2404318004846573f,0.08309822529554367f,-0.1785000115633011f,-0.3414570987224579f,-0.10929234325885773f,-0.48389771580696106f,0.08989179879426956f,0.35135433077812195f,-0.22268100082874298f,0.014733131974935532f}, -{-0.06475397944450378f,-0.0561961904168129f,0.4127817749977112f,-0.10577572137117386f,-0.17697541415691376f,-0.1849510818719864f,-0.32001304626464844f,-0.36673668026924133f,-0.21330887079238892f,-0.3657089173793793f,-0.1951775997877121f,-0.3619512915611267f,-0.31488466262817383f,0.26527494192123413f,0.0479682981967926f,0.45723286271095276f}, -{0.10058767348527908f,0.18761076033115387f,0.20282304286956787f,-0.08738672733306885f,0.2697560787200928f,0.0342223234474659f,0.04202890396118164f,0.20938999950885773f,0.05025419965386391f,-0.052940960973501205f,-0.27958524227142334f,-0.7458251714706421f,0.10142271965742111f,0.16368134319782257f,0.0668090283870697f,0.6141231656074524f}, -{-0.1128726527094841f,-0.1546522080898285f,-0.40439701080322266f,-0.30092698335647583f,-0.24299722909927368f,0.15388551354408264f,-0.15568238496780396f,-0.037944644689559937f,0.05713915079832077f,-0.13745471835136414f,-0.47403645515441895f,-0.43296101689338684f,-0.27326998114585876f,0.4320793151855469f,-0.08245879411697388f,0.5419437885284424f}, -{0.04264898970723152f,-0.14219117164611816f,0.16706281900405884f,-0.06084718555212021f,0.0778137817978859f,-0.31440258026123047f,-0.041414469480514526f,0.07056988030672073f,0.15166155993938446f,-0.038817811757326126f,-0.3537028133869171f,0.07804109901189804f,0.10987777262926102f,1.3651574850082397f,0.29427415132522583f,0.09650146216154099f}, + {-1.5013375282287598f,-2.4517619609832764f,0.12903714179992676f,0.28887537121772766f,-1.6980925798416138f,1.7201522588729858f,-0.17472904920578003f,1.8117555379867554f,-0.41719409823417664f,0.01702839322388172f,-0.025794951245188713f,-1.9491100311279297f,-0.2707951068878174f,-1.0531439781188965f,-0.2571594715118408f,1.4582438468933105f}, +{-0.3526858389377594f,-2.1688826084136963f,-0.3927857577800751f,-0.1325455605983734f,-0.6244393587112427f,0.6952093243598938f,-0.4054011106491089f,1.4578801393508911f,-0.15431655943393707f,0.2332724779844284f,-0.6323928833007812f,-1.067729115486145f,0.2314668595790863f,-1.5879257917404175f,-0.20967772603034973f,0.3131011426448822f}, +{-0.58154296875f,-1.1726990938186646f,0.36391180753707886f,-0.5567300915718079f,-0.49212661385536194f,0.8783800601959229f,0.2872133255004883f,0.9983036518096924f,-0.18381649255752563f,0.20107638835906982f,-0.053520072251558304f,-1.1781998872756958f,-0.005709860473871231f,-0.6703454852104187f,0.05590221285820007f,0.12711438536643982f}, +{-1.0512467622756958f,0.3256222605705261f,0.39742106199264526f,0.03849322348833084f,-0.7964919209480286f,0.4466105103492737f,-0.11584559082984924f,-0.3316028416156769f,0.05495378002524376f,0.2956673800945282f,1.4041612148284912f,-0.5139945149421692f,-0.16739247739315033f,0.2987276017665863f,-0.2961459457874298f,0.9514555931091309f}, +{-0.05744419991970062f,2.103177547454834f,-0.0051451027393341064f,-0.12448863685131073f,-0.08427809923887253f,-0.2928526997566223f,0.1294034719467163f,-2.130411148071289f,0.13119284808635712f,0.06524427980184555f,1.6720010042190552f,0.6321855783462524f,-0.07084126025438309f,1.592971920967102f,-0.3865056037902832f,0.11760596185922623f}, +{3.555112361907959f,1.7275257110595703f,0.21773302555084229f,-0.32318443059921265f,3.5025413036346436f,-3.543180465698242f,0.16514194011688232f,-1.7323298454284668f,0.23217393457889557f,0.020219240337610245f,-2.3009300231933594f,4.047685146331787f,-0.26752111315727234f,1.3693186044692993f,-0.4132833778858185f,-3.3336987495422363f}, +{-1.0877293348312378f,3.9138736724853516f,-0.2501986622810364f,-0.307189404964447f,-1.5099453926086426f,1.1499419212341309f,0.06014183163642883f,-6.1682939529418945f,0.18797971308231354f,0.2755304276943207f,2.5558419227600098f,1.0854759216308594f,-0.1866893470287323f,6.203442573547363f,-0.15618428587913513f,0.8555394411087036f}, +{-0.8443594574928284f,1.5847866535186768f,-0.26619744300842285f,-0.08489542454481125f,-1.5553327798843384f,1.077002763748169f,-0.17925891280174255f,-2.874706506729126f,-0.1228489950299263f,0.17542578279972076f,1.1341639757156372f,-0.9218039512634277f,0.3572063446044922f,2.2253241539001465f,0.04303058981895447f,1.2150949239730835f}, +{1.853672742843628f,-1.7371110916137695f,0.10248100757598877f,-0.9567055106163025f,0.9686087965965271f,-0.1823621243238449f,-0.07246989011764526f,1.0764187574386597f,-0.39733952283859253f,0.272134393453598f,-2.787163496017456f,-0.4600156545639038f,0.2150629162788391f,-0.4352136254310608f,-0.30555272102355957f,-1.4898728132247925f}, +{0.4833950996398926f,-2.706174373626709f,0.18462657928466797f,-0.656234860420227f,0.6101309657096863f,0.1267082542181015f,-0.2990540862083435f,0.27411556243896484f,-0.16785068809986115f,-0.5924927592277527f,-1.7125433683395386f,-1.0376883745193481f,0.35812368988990784f,-0.11151380836963654f,0.3484981060028076f,-0.7358231544494629f}, +{0.35992318391799927f,-2.06345534324646f,0.37182438373565674f,-0.07933531701564789f,0.1750181019306183f,-0.045056723058223724f,-0.20339298248291016f,-0.2515711784362793f,-0.5949442386627197f,-0.0718102976679802f,-0.826651394367218f,-0.45050525665283203f,-0.08014928549528122f,0.16992752254009247f,0.26688337326049805f,-0.49146562814712524f}, +{-0.31148141622543335f,-1.624603509902954f,-0.40320003032684326f,-0.22531788051128387f,0.38007694482803345f,-0.3033977150917053f,0.1533789038658142f,0.07630462944507599f,-0.27439093589782715f,0.1508544534444809f,-1.2197290658950806f,0.302729994058609f,0.13159756362438202f,-0.04648786410689354f,0.10493969917297363f,-0.3269115388393402f}, +{-0.14483091235160828f,-0.5654767751693726f,0.19847965240478516f,0.02085668407380581f,0.406009703874588f,-0.031246501952409744f,-0.2404318004846573f,0.2800968289375305f,-0.2435898631811142f,-0.2157726287841797f,-0.6354538202285767f,-0.06485389173030853f,0.07888802140951157f,-0.1901865154504776f,-0.22268100082874298f,-0.5150110721588135f}, +{-0.14671391248703003f,-0.12946704030036926f,0.4127817749977112f,-0.13599200546741486f,-0.11653345078229904f,-0.5706874132156372f,-0.32001304626464844f,-0.09686329215765f,-0.16250349581241608f,-0.22955329716205597f,-0.5090378522872925f,0.17345395684242249f,-0.32617586851119995f,-0.22164183855056763f,0.0479682981967926f,-0.1317754089832306f}, +{-0.006373832002282143f,-0.013765837997198105f,0.20282304286956787f,0.12835122644901276f,0.25972050428390503f,-0.4390103220939636f,0.04202890396118164f,0.2521810829639435f,0.25843679904937744f,0.08579712361097336f,-0.028206923976540565f,-0.13998405635356903f,0.09068389981985092f,-0.087684765458107f,0.0668090283870697f,0.2267971634864807f}, +{0.03074430674314499f,-0.2839588522911072f,-0.40439701080322266f,0.004032118245959282f,-0.0647670105099678f,-0.62445467710495f,-0.15568238496780396f,-0.10264620184898376f,0.13651113212108612f,-0.0023032622411847115f,-0.20626582205295563f,0.08309732377529144f,-0.2764744758605957f,-0.07723642140626907f,-0.08245879411697388f,0.19340403378009796f}, +{-0.13897937536239624f,0.4293367862701416f,0.16706281900405884f,0.2511236369609833f,-0.0360260047018528f,-1.2155207395553589f,-0.041414469480514526f,-0.009588012471795082f,-0.16096723079681396f,0.09314790368080139f,-0.36924511194229126f,-0.021809687837958336f,0.10795029997825623f,0.04084998369216919f,0.29427415132522583f,0.37054234743118286f}, }; const float h2[16][16] = { - {-0.30360984802246094f,2.638908863067627f,-0.06966331601142883f,-2.1284985542297363f,-0.21907491981983185f,1.5969719886779785f,-0.11378823220729828f,0.0904630720615387f,-0.43008196353912354f,-0.1415480375289917f,0.2562443017959595f,-0.4410564601421356f,-0.013608419336378574f,-2.052125930786133f,-0.3983412981033325f,-1.9826109409332275f}, -{0.04869420453906059f,-0.9130892157554626f,0.057057321071624756f,-0.5089913010597229f,-0.35503754019737244f,-1.2973040342330933f,-1.0162988901138306f,-0.2990124225616455f,-0.33757925033569336f,0.2895788848400116f,-1.071617841720581f,-0.8869436383247375f,0.23050862550735474f,1.0951136350631714f,1.5778846740722656f,-1.7874358892440796f}, + {2.9904377460479736f,1.5402922630310059f,-0.06966331601142883f,1.8314383029937744f,-0.21907491981983185f,3.2976598739624023f,0.08332959562540054f,0.0306977778673172f,-0.43008196353912354f,-0.1415480375289917f,0.9023976922035217f,-2.1691060066223145f,0.029989013448357582f,-2.4485414028167725f,-1.6123756170272827f,2.557734966278076f}, +{-0.7001262903213501f,-8.917220115661621f,0.057057321071624756f,0.24170854687690735f,-0.35503754019737244f,0.5531149506568909f,-0.33918139338493347f,-0.35795170068740845f,-0.33757925033569336f,0.2895788848400116f,0.6506037712097168f,-0.3345935642719269f,0.23849435150623322f,1.3481338024139404f,2.7143707275390625f,0.8891097903251648f}, {-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.0389205701649189f,-0.2350102663040161f,-0.2894435524940491f,0.6463852524757385f,0.08946844935417175f,0.02936168573796749f,-0.504420280456543f,0.4122363030910492f,0.26211628317832947f,0.2953031361103058f,0.22434934973716736f,0.036702197045087814f,-0.5147730708122253f,-0.26475679874420166f,-0.012437191791832447f,0.2709595263004303f}, -{-0.40975338220596313f,0.9070354104042053f,-0.25313520431518555f,0.48267850279808044f,0.036378175020217896f,1.1078479290008545f,-0.5186612010002136f,-0.08570799231529236f,-0.024399548768997192f,-0.39465832710266113f,-0.4139823019504547f,-0.9831398129463196f,-0.03532028570771217f,-2.3388190269470215f,0.6467065215110779f,-0.33112117648124695f}, -{0.24459777772426605f,0.1711728870868683f,-0.3519742488861084f,-1.8791543245315552f,-0.3015052080154419f,-1.0918842554092407f,-1.0872746706008911f,-0.019414573907852173f,-0.23047015070915222f,0.3579089343547821f,-0.936398446559906f,-0.4908921718597412f,-0.32434627413749695f,0.8514059782028198f,1.6185284852981567f,-3.258086919784546f}, +{0.2285187542438507f,-0.4274887442588806f,-0.2894435524940491f,0.30252909660339355f,0.08946844935417175f,-0.006465560290962458f,-0.24277065694332123f,0.3510231077671051f,0.26211628317832947f,0.2953031361103058f,-0.5008765459060669f,0.13012845814228058f,-0.5136456489562988f,-0.18827885389328003f,0.36753395199775696f,-0.07897623628377914f}, +{-0.24988441169261932f,1.5957990884780884f,-0.25313520431518555f,1.7036648988723755f,0.036378175020217896f,-0.28388962149620056f,-0.6038032174110413f,-0.14559465646743774f,-0.024399548768997192f,-0.39465832710266113f,0.8099377155303955f,-1.2887321710586548f,-0.002571243094280362f,-1.853548288345337f,-0.3227944076061249f,0.3012075424194336f}, +{0.8380314111709595f,-0.4971805214881897f,-0.3519742488861084f,-0.740526556968689f,-0.3015052080154419f,0.375037282705307f,-0.4975310266017914f,-0.07942328602075577f,-0.23047015070915222f,0.3579089343547821f,0.07477552443742752f,1.3135530948638916f,-0.3267573416233063f,-1.0823695659637451f,0.229822039604187f,1.0299428701400757f}, {-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.14612844586372375f,0.26144781708717346f,0.33083590865135193f,0.18728496134281158f,-0.14358049631118774f,-0.14802397787570953f,-0.09043094515800476f,-0.3003333508968353f,0.2600560486316681f,-0.37898191809654236f,0.28126513957977295f,-0.3191148042678833f,-0.31673234701156616f,0.0378720797598362f,0.2110089659690857f,0.5294160842895508f}, -{-0.4464441239833832f,-0.37462499737739563f,-0.11379697918891907f,0.015016188845038414f,0.041274964809417725f,0.9448469281196594f,-0.27324017882347107f,0.0019084513187408447f,0.06103590130805969f,-0.38046833872795105f,-0.44487905502319336f,-0.5847339034080505f,-0.37024784088134766f,-0.3508826792240143f,-2.5958049297332764f,-1.0934983491897583f}, -{0.3172138035297394f,0.8529412746429443f,-0.13502129912376404f,1.3385112285614014f,0.12987366318702698f,1.0381544828414917f,0.2711336314678192f,-0.3632148504257202f,-0.13619378209114075f,0.16938945651054382f,0.891782820224762f,0.36860278248786926f,0.3811538517475128f,-0.8146499395370483f,-0.4384280741214752f,0.393382728099823f}, -{-0.2874368727207184f,0.0053735338151454926f,0.0457797646522522f,-0.3544918894767761f,-0.03321319818496704f,-0.4190075397491455f,0.17873415350914001f,-0.20421427488327026f,-0.050184011459350586f,0.12480869889259338f,-0.2065037190914154f,0.3545852601528168f,-0.3647043704986572f,0.405265748500824f,-0.406197190284729f,-0.2715927064418793f}, -{0.1931207925081253f,0.7604777812957764f,0.3954955041408539f,0.20387306809425354f,0.0033026933670043945f,0.5029672980308533f,-0.7109203338623047f,-0.11795541644096375f,0.3487861454486847f,-0.32520344853401184f,0.15682469308376312f,-0.6898894309997559f,-0.052492406219244f,0.25462016463279724f,0.20089516043663025f,-0.00925449188798666f}, -{-0.2629387378692627f,-0.21474134922027588f,-0.15798500180244446f,0.38661113381385803f,-0.37393757700920105f,0.358870267868042f,0.11292675137519836f,-0.2947862446308136f,-0.3764709532260895f,0.2424570620059967f,-0.11385586112737656f,-0.2837170362472534f,0.41839322447776794f,-0.01518807839602232f,-0.12482608109712601f,0.1076495498418808f}, -{-0.2209693342447281f,-0.22651943564414978f,-0.2018718123435974f,-0.08468649536371231f,0.07545611262321472f,-1.134768009185791f,-0.6247013211250305f,-0.21416273713111877f,-0.24509364366531372f,0.19522181153297424f,-0.2526063024997711f,-0.8176553249359131f,-0.16718891263008118f,-1.0407229661941528f,-0.7605361342430115f,-0.17334645986557007f}, +{-1.3545688390731812f,-1.0447732210159302f,0.33083590865135193f,-0.20199915766716003f,-0.14358049631118774f,1.0542246103286743f,-0.09043094515800476f,-0.32793861627578735f,0.2600560486316681f,-0.37898191809654236f,-5.086943626403809f,-1.6437846422195435f,-0.3842722475528717f,-1.558564305305481f,0.48578691482543945f,0.7431102395057678f}, +{-0.5997751355171204f,0.06545404344797134f,-0.11379697918891907f,0.19934150576591492f,0.041274964809417725f,-0.5937483310699463f,-0.10284432768821716f,-0.053225357085466385f,0.06103590130805969f,-0.38046833872795105f,-0.20522862672805786f,0.07833421975374222f,-0.37024784088134766f,-0.14642119407653809f,-0.11051851511001587f,-0.5731046795845032f}, +{-0.06852232664823532f,0.27907681465148926f,-0.13502129912376404f,0.12948918342590332f,0.12987366318702698f,0.11146803945302963f,0.2711336314678192f,-0.3837684988975525f,-0.13619378209114075f,0.16938945651054382f,0.21280349791049957f,0.21443748474121094f,0.3811538517475128f,-0.3556564152240753f,-0.05593288689851761f,-0.18612739443778992f}, +{2.167574882507324f,-0.004158955533057451f,0.0457797646522522f,0.05080918222665787f,-0.03321319818496704f,-0.4175998866558075f,0.17873415350914001f,-0.20421427488327026f,-0.050184011459350586f,0.12480869889259338f,-3.878938913345337f,2.3824784755706787f,-0.5021078586578369f,0.023046063259243965f,0.024782415479421616f,-0.6150436401367188f}, +{1.8693947792053223f,0.06725507229566574f,0.3954955041408539f,1.4901456832885742f,0.0033026933670043945f,-0.8627937436103821f,-0.3154386579990387f,-0.17812912166118622f,0.3487861454486847f,-0.32520344853401184f,-3.307546377182007f,0.17124055325984955f,-0.021102694794535637f,-1.0729931592941284f,-2.740628719329834f,-3.8175694942474365f}, +{-0.2699771523475647f,-0.22843177616596222f,-0.15798500180244446f,0.35002923011779785f,-0.37393757700920105f,0.35887888073921204f,0.11292675137519836f,-0.2947862446308136f,-0.3764709532260895f,0.2424570620059967f,-0.1234259158372879f,-0.2837170362472534f,0.41839322447776794f,0.001794296782463789f,-0.11156021058559418f,0.08838233351707458f}, +{0.0045716892927885056f,-6.227348327636719f,-0.2018718123435974f,0.06370087713003159f,0.07545611262321472f,-0.2019440084695816f,-0.401905357837677f,-0.2663668394088745f,-0.24509364366531372f,0.19522181153297424f,-0.8412565588951111f,0.0008838630747050047f,-0.2623816132545471f,0.597851574420929f,-0.4296014904975891f,-1.8780416250228882f}, {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.516390323638916f,-0.9803458452224731f,0.12081471085548401f,-1.280253529548645f,0.29976895451545715f,-0.15804079174995422f,-0.17698705196380615f,0.31089308857917786f,-0.3893685042858124f,-0.02222958207130432f,-0.5123834609985352f,-0.2791821360588074f,-0.12851779162883759f,-0.46627044677734375f,0.16254712641239166f,-1.2184544801712036f}, +{0.03103156015276909f,0.03351236879825592f,0.12081471085548401f,-1.5393730401992798f,0.29976895451545715f,-0.4331473410129547f,-0.2200954407453537f,0.250751256942749f,-0.3893685042858124f,-0.02222958207130432f,-0.7266481518745422f,0.2565699517726898f,-0.34486645460128784f,0.7363212704658508f,0.0513840913772583f,-1.2335374355316162f}, }; const float h3[16][16] = { - {-0.36079341173171997f,0.0360223725438118f,-0.2051449418067932f,-0.39598140120506287f,-0.3172777593135834f,0.1664893478155136f,0.3332441747188568f,0.3036012351512909f,-0.2405819296836853f,0.04891335964202881f,-0.11870327591896057f,0.4001283347606659f,-0.09934001415967941f,0.4381318688392639f,-0.18075375258922577f,0.14712423086166382f}, -{0.047732532024383545f,0.8276740908622742f,-2.895641326904297f,-0.7189748883247375f,-0.8473038673400879f,-1.5547460317611694f,-0.3198729455471039f,0.06247803568840027f,-0.15339034795761108f,-0.6566473841667175f,0.10441755503416061f,-0.37812095880508423f,1.0550841093063354f,1.1523609161376953f,-1.7321557998657227f,-0.29818227887153625f}, + {-0.36079341173171997f,0.4300960898399353f,-4.198028087615967f,0.30529001355171204f,-0.5199582576751709f,-0.06829618662595749f,0.2094716578722f,0.06202332675457001f,-1.1670433282852173f,-1.4540250301361084f,-0.464933842420578f,0.08796225488185883f,-1.666866660118103f,-0.09771379828453064f,-0.20516280829906464f,-1.8411304950714111f}, +{0.047732532024383545f,1.2802321910858154f,-3.3590986728668213f,-0.5026073455810547f,-0.022740207612514496f,-0.3505650460720062f,-0.3198729455471039f,-0.05831786245107651f,0.07969409972429276f,-1.3661189079284668f,0.08256995677947998f,-0.5119935274124146f,-0.8393179774284363f,-0.39945483207702637f,-0.3125830888748169f,0.4156680405139923f}, {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,1.5714359283447266f,-1.248551607131958f,-0.7984899878501892f,-2.37579083442688f,2.149235486984253f,0.20021501183509827f,0.07002416253089905f,-0.28455856442451477f,-0.21670381724834442f,0.13192829489707947f,0.41021624207496643f,-0.6988661289215088f,2.150631904602051f,1.689864158630371f,-0.02943922020494938f}, +{-0.30922991037368774f,-0.3185199499130249f,-2.7229292392730713f,-1.2535021305084229f,-1.6249725818634033f,0.3173057734966278f,0.1972963809967041f,-0.062206726521253586f,-1.2670007944107056f,-0.5182398557662964f,0.08793988078832626f,0.20779775083065033f,-1.3359014987945557f,1.0037248134613037f,0.12933658063411713f,-0.29462137818336487f}, {-0.39607733488082886f,-0.05481579899787903f,0.1976260244846344f,0.022423356771469116f,0.16892847418785095f,-0.27518749237060547f,0.16012099385261536f,0.3626593053340912f,-0.08640444278717041f,-0.11053556203842163f,-0.10529157519340515f,-0.31317979097366333f,-0.1530032455921173f,-0.1336749792098999f,0.22959044575691223f,0.19986507296562195f}, -{-0.37449589371681213f,1.4197392463684082f,0.9165111780166626f,-1.0427320003509521f,-0.05542439967393875f,0.43611469864845276f,-0.18732719123363495f,0.22384825348854065f,-0.5186166167259216f,-0.46416231989860535f,-0.37602612376213074f,0.08064482361078262f,0.9774999022483826f,-0.96781325340271f,0.7397663593292236f,-0.348768025636673f}, -{0.4110594093799591f,0.5826829075813293f,-0.21363244950771332f,0.3347121477127075f,0.08417744934558868f,0.2202162891626358f,-0.08670487999916077f,-0.25336313247680664f,-0.030661463737487793f,-0.06259563565254211f,-0.1344406008720398f,0.35313835740089417f,0.21155259013175964f,0.06360813230276108f,0.3126353323459625f,-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.37449589371681213f,0.9183870553970337f,0.5352826118469238f,-1.1223382949829102f,-0.6919665932655334f,1.0584242343902588f,-0.2134476900100708f,-0.07388485223054886f,-1.9225099086761475f,-0.7340960502624512f,-0.33931517601013184f,-0.0641779974102974f,0.3749484419822693f,0.43214860558509827f,0.34418365359306335f,1.0045311450958252f}, +{0.4110594093799591f,0.20865711569786072f,-0.28259456157684326f,0.41885480284690857f,0.18209081888198853f,-0.13307270407676697f,-0.08670487999916077f,-0.25336313247680664f,-0.030661463737487793f,-0.06259563565254211f,-0.1344406008720398f,0.35313835740089417f,0.20507939159870148f,0.06788606196641922f,0.3126353323459625f,-0.28664129972457886f}, +{-0.40892091393470764f,0.059060949832201004f,-0.4023245573043823f,0.22033147513866425f,0.3268229067325592f,-0.03595955669879913f,-0.23312048614025116f,-0.390264093875885f,0.28059282898902893f,-0.1559126079082489f,-0.14134526252746582f,-0.0003446042537689209f,-0.2899816036224365f,-0.34944114089012146f,0.09555625170469284f,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.8423792719841003f,-0.08067841827869415f,-0.6714912056922913f,-0.44800329208374023f,0.3429917097091675f,-0.08742031455039978f,0.05785742402076721f,-0.19653022289276123f,-0.34943631291389465f,-0.009556683711707592f,-0.30447322130203247f,-0.12912006676197052f,-0.036994293332099915f,0.5005905032157898f,0.3082493841648102f}, -{-0.408692330121994f,0.00016882641648408026f,0.07694726437330246f,-0.20951619744300842f,-0.07695908844470978f,-0.13925538957118988f,0.03285527229309082f,0.38763079047203064f,-0.20705322921276093f,-0.25883403420448303f,0.12809070944786072f,0.03996849060058594f,-0.4803943336009979f,-0.1641838550567627f,-0.133147731423378f,0.31533604860305786f}, -{-0.2991822361946106f,0.379294216632843f,-0.07897943258285522f,-0.09465082734823227f,0.08582660555839539f,0.2713330388069153f,-0.11253207921981812f,0.34576353430747986f,0.04814547300338745f,-0.35770976543426514f,-0.044228196144104004f,-0.36229726672172546f,0.004417163785547018f,-0.10467953234910965f,0.36124154925346375f,-0.16869547963142395f}, -{-0.2675279378890991f,-0.34640875458717346f,-0.44033652544021606f,0.997279942035675f,0.1495940089225769f,0.5893060564994812f,-0.32875844836235046f,-0.31893211603164673f,-0.8021053075790405f,-0.7621317505836487f,-0.5216618776321411f,-0.5296260714530945f,1.14543616771698f,-0.7926355600357056f,0.11776287108659744f,0.18698225915431976f}, -{-0.015470266342163086f,-1.1242914199829102f,-1.333337664604187f,0.5949698090553284f,-1.0383976697921753f,-2.408407688140869f,0.05196094512939453f,-0.008358269929885864f,-0.6119314432144165f,-0.6426531076431274f,0.13179203867912292f,-0.04501182585954666f,-1.284587025642395f,2.8592796325683594f,-0.5470286011695862f,-0.4591246545314789f}, -{0.1863725483417511f,2.1868832111358643f,-0.9707214832305908f,-0.549004316329956f,-0.573555052280426f,1.7018946409225464f,0.04860696196556091f,0.17769548296928406f,-0.08241094648838043f,0.22327333688735962f,-0.3929237127304077f,0.19592127203941345f,0.30913761258125305f,1.387982726097107f,0.10862469673156738f,-0.1303754299879074f}, +{0.15459725260734558f,1.2752927541732788f,-1.6545041799545288f,-0.20037266612052917f,0.39016175270080566f,1.9760658740997314f,-0.08742031455039978f,0.05785742402076721f,-0.05112358555197716f,1.0813504457473755f,-0.362364798784256f,-0.3496132493019104f,-0.5545885562896729f,-0.27296289801597595f,0.23658986389636993f,1.6276973485946655f}, +{-0.408692330121994f,-0.44630852341651917f,1.1387239694595337f,0.8076159954071045f,-0.2189072221517563f,0.3286019563674927f,-0.06926552206277847f,0.14518515765666962f,-0.6130588054656982f,2.60966157913208f,-0.6552008390426636f,-0.319575697183609f,-1.5199129581451416f,-0.13730570673942566f,-0.7592024207115173f,1.654757022857666f}, +{-0.2991822361946106f,0.3338809609413147f,-0.03855340555310249f,0.07829055190086365f,0.12482636421918869f,0.19699984788894653f,-0.11253207921981812f,0.34576353430747986f,0.04814547300338745f,-0.35770976543426514f,-0.044228196144104004f,-0.36229726672172546f,0.053959451615810394f,-0.17654627561569214f,0.36124154925346375f,-0.12281776964664459f}, +{-0.2675279378890991f,0.6107541918754578f,-1.008222222328186f,1.5792343616485596f,-0.6861075162887573f,-3.220947027206421f,-0.32875844836235046f,-0.44406580924987793f,-0.9110980033874512f,0.29485467076301575f,-0.9977014660835266f,-0.638107419013977f,0.47325292229652405f,-0.22768151760101318f,0.2166542261838913f,0.31593501567840576f}, +{-0.015470266342163086f,-0.9941576719284058f,0.7507451772689819f,-0.5620654821395874f,0.7716580033302307f,0.430758535861969f,-0.043972477316856384f,-0.16491542756557465f,-0.6689051985740662f,-2.0817174911499023f,0.1916329562664032f,-0.46564021706581116f,1.4392123222351074f,-4.728946208953857f,-0.2524336278438568f,-0.5035194158554077f}, +{0.1863725483417511f,0.25948718190193176f,-1.302160620689392f,0.18372789025306702f,-0.15693089365959167f,-1.5854798555374146f,0.04860696196556091f,0.02496984414756298f,-0.3602295517921448f,-1.01317298412323f,-0.2549864649772644f,-0.059077948331832886f,1.666966199874878f,-0.38277119398117065f,-0.1854449361562729f,0.150127574801445f}, }; -const float hout[16] = { 0.45773375034332275f,0.6198812127113342f,3.075077533721924f,-0.6007036566734314f,0.24847236275672913f,1.247266173362732f,0.0030125975608825684f,0.15066689252853394f,0.05033086612820625f,0.0533946268260479f,0.11185391992330551f,-0.1749655306339264f,-1.0110498666763306f,1.219071388244629f,1.8872015476226807f,-0.16191136837005615f }; - -const float b1[16] = { 0.5638260245323181f,1.1806942224502563f,-1.7145336866378784f,0.24818021059036255f,0.8975874781608582f,1.2844585180282593f,-0.058932315558195114f,0.825614333152771f,1.6077704429626465f,-1.1153591871261597f,0.5720832943916321f,1.1545846462249756f,-0.3732912540435791f,-1.3868684768676758f,-1.087764859199524f,0.9789383411407471f }; - -const float b2[16] = { -0.2617855966091156f,-0.8839436173439026f,-1.4564176797866821f,-0.6468855738639832f,-0.6939148902893066f,0.16817186772823334f,0.09135577827692032f,-0.30969977378845215f,-1.20063054561615f,-1.912178635597229f,-0.1662583202123642f,0.14832311868667603f,-0.23087339103221893f,1.7029191255569458f,0.10706561803817749f,0.5922772884368896f }; - -const float b3[16] = { -1.963319182395935f,-0.13796980679035187f,-0.907817006111145f,0.09013273566961288f,-0.1457054167985916f,0.9321498870849609f,-0.45353031158447266f,-0.6562485098838806f,-0.01854712702333927f,-0.023044707253575325f,-0.4521785378456116f,-0.06036800891160965f,-1.33890962600708f,0.4787708818912506f,-1.2732046842575073f,-0.41846638917922974f }; - -const float bout[1] = { -1.3581293821334839f }; +const float hout[16] = { 0.45773375034332275f,0.28639528155326843f,0.14207343757152557f,-0.2956777513027191f,-0.22413568198680878f,0.1186593621969223f,-0.1435798704624176f,-0.07997605949640274f,-0.06115203723311424f,0.21337322890758514f,0.0535825677216053f,0.046808481216430664f,0.1616642028093338f,0.21228934824466705f,0.2757498025894165f,-0.21836845576763153f }; + +const float b1[16] = { 0.2102552056312561f,0.6125742197036743f,-1.7145336866378784f,0.43877431750297546f,0.5826082229614258f,0.6864737868309021f,-0.058932315558195114f,3.713123083114624f,0.5071762800216675f,-0.84734046459198f,2.3294942378997803f,1.0448524951934814f,-0.38463300466537476f,-3.6441001892089844f,-1.087764859199524f,0.881416916847229f }; + +const float b2[16] = { -1.5956038236618042f,0.28981077671051025f,-1.4564176797866821f,-0.5988649725914001f,-0.6939148902893066f,0.2937571704387665f,0.04075077548623085f,-0.36968058347702026f,-1.20063054561615f,-1.912178635597229f,1.3844938278198242f,0.6507935523986816f,-0.18289311230182648f,1.4374712705612183f,1.325400948524475f,0.9660302400588989f }; + +const float b3[16] = { -1.963319182395935f,-0.3919384479522705f,0.4780821204185486f,0.4793388843536377f,1.0898507833480835f,-0.5794898271560669f,-0.5699690580368042f,-0.9183242321014404f,0.2521483898162842f,0.11304529756307602f,-0.4799327850341797f,-0.41564828157424927f,0.11918739974498749f,0.737025797367096f,-1.3145921230316162f,-1.622807502746582f }; + +const float bout[1] = { -0.4126623868942261f }; /////////////////////////////////////////////////////////////////////////////////////////////RL float input_RL[num_input_RL] = { 0.0f };