diff options
| -rw-r--r-- | include/ct1986.c | 17 | ||||
| -rw-r--r-- | include/weights.c | 16 | ||||
| -rw-r--r-- | src/train5.py | 47 |
3 files changed, 47 insertions, 33 deletions
diff --git a/include/ct1986.c b/include/ct1986.c index 97be8e5..d5325be 100644 --- a/include/ct1986.c +++ b/include/ct1986.c @@ -41,7 +41,7 @@ ct1986_evaluate_black_win(void) { for (uint8_t kx = 0; kx < KERN_SIZE; kx++) { for (uint8_t c = 0; c < KERN_CHAN; c++) { // Where we are on the board - const uint8_t loc = kx+by+(ky+bx)*5; + const uint8_t loc = kx+bx+(ky+by)*5; // Look up what's on the board at this location, and // multiply it. For c=0 we have to do some extra work float lookup = 0; @@ -171,13 +171,10 @@ ct1986_minimax(const uint8_t cur_depth, const uint8_t max_depth, enum E_RESULT r; const uint8_t black = (ply & 1), - material = (black) ? black_count : white_count; - - uint8_t cap = 0, flat = material & 127, standing = 0; - if (ply > 2) { - if (material & 128) cap = 1; - if (material & 127) standing = 1; - } + material = (black) ? black_count : white_count, + flat = material & 127, + cap = (ply > 2 && (material & 128)), + standing = (ply > 2 && (material & 127)); // 1.0 is a `certain' black win, -1.0 is a `certain' white win. float optimal = (min) ? infty : -infty; @@ -266,8 +263,8 @@ ct1986_minimax(const uint8_t cur_depth, const uint8_t max_depth, } } } - } else if (count == 0) { - // Empty square, try the three placements. + } else if (material && count == 0) { + // Empty square, try placements if (flat) { // Generate the placement diff --git a/include/weights.c b/include/weights.c index c4ab298..905eb41 100644 --- a/include/weights.c +++ b/include/weights.c @@ -1,25 +1,25 @@ #include "weights.h" const float conv2d_weights[KERN_NUM][KERN_SIZE][KERN_SIZE][KERN_CHAN] = -{{{{-0.31461313366889954, 0.12296362966299057, 0.0537884421646595, -0.05761459097266197, 0.9647676944732666, 0.012238401919603348}, {0.16527464985847473, 0.3546968400478363, 0.33187735080718994, -0.07616483420133591, 0.06320620328187943, -1.2417434453964233}, {0.13152976334095, -0.16560819745063782, 0.03655802831053734, 0.08490452915430069, 0.0334080345928669, -0.4817463457584381}}, {{-0.4923256039619446, -0.2672223150730133, -0.19988402724266052, 0.18220694363117218, -0.6444212794303894, 0.4459397792816162}, {-0.5899091958999634, -0.35788777470588684, 0.06865987181663513, 0.06876449286937714, -0.632453441619873, 0.612913966178894}, {0.32418426871299744, 0.17252518236637115, -0.008695406839251518, -0.41084399819374084, -0.36779260635375977, 0.166359081864357}}, {{2.5275943279266357, 0.5177026391029358, 0.24760891497135162, 0.1798764318227768, 0.119742751121521, 0.5542832612991333}, {-0.7371780872344971, -0.16028088331222534, 0.3641703128814697, -0.10842252522706985, -0.2533840835094452, 0.1398170292377472}, {-0.1798374056816101, 0.473869651556015, 0.11629271507263184, -0.1089477688074112, 0.18995530903339386, 0.14978930354118347}}}, {{{0.02528725191950798, -0.035234421491622925, 0.2987964451313019, 0.4577234089374542, -0.17367038130760193, 0.021170491352677345}, {0.08088105916976929, 0.02343069016933441, -0.22613884508609772, 0.334805965423584, 0.09736854583024979, -0.8634821772575378}, {0.4900866746902466, -0.6248732209205627, -0.06317996233701706, 0.39485785365104675, 0.3370535671710968, 0.11868363618850708}}, {{0.12233788520097733, -0.0396895669400692, -0.22183308005332947, -0.15242572128772736, -0.09647907316684723, 0.5950322151184082}, {0.12958098948001862, 0.10052308440208435, 0.0029385732486844063, -0.7589095830917358, 0.311553031206131, -1.3440141677856445}, {0.9494408965110779, -0.03842993080615997, -0.28849899768829346, -0.3843957483768463, -0.8392577767372131, 0.28326094150543213}}, {{0.20955389738082886, -0.2845759391784668, 0.07400181144475937, -0.37351182103157043, 0.5934371948242188, 0.5605667233467102}, {0.5114613175392151, -0.4090779721736908, 0.5201377868652344, 0.9147480130195618, 1.1307423114776611, 1.6698521375656128}, {3.6288881301879883, 0.08266420662403107, 0.6817247271537781, 1.0633864402770996, 1.6464864015579224, 2.9008560180664062}}}, {{{3.589796304702759, 0.5128039121627808, 1.0086349248886108, 2.430671453475952, 1.5398201942443848, 4.240425109863281}, {0.5517507791519165, 0.1758994311094284, 0.2055874764919281, 0.05001397803425789, 0.6506865620613098, -0.5484557747840881}, {0.205831840634346, 0.12491777539253235, 0.16275589168071747, 0.16265034675598145, 0.03379141539335251, 0.7570209503173828}}, {{0.8731821775436401, 0.0028055456932634115, -0.2800484001636505, -0.1297520250082016, -0.15533196926116943, -1.729884147644043}, {-0.1471261978149414, 0.6158180832862854, 0.25787612795829773, -0.4087550640106201, -0.020888496190309525, -0.26702529191970825}, {0.15122485160827637, 0.1827888786792755, -0.0927032008767128, 0.17713645100593567, 0.03384794294834137, -0.2902638614177704}}, {{0.4319866895675659, -0.17716410756111145, -0.3810195028781891, 0.15713493525981903, -0.08874393999576569, -1.0814930200576782}, {-0.07521241903305054, 0.21773630380630493, -0.0880870521068573, 0.14912794530391693, 0.30793991684913635, 0.23713169991970062}, {-0.13515245914459229, -0.17271432280540466, -0.2807714343070984, 0.14518122375011444, 0.05650143697857857, 0.23813144862651825}}}, {{{0.8088172078132629, 0.04798170179128647, 0.24023272097110748, -0.04941624402999878, -0.34324923157691956, -0.3630078434944153}, {0.9733880758285522, -0.07820767164230347, 0.030127255246043205, 0.08433039486408234, -0.07763263583183289, 0.4979310929775238}, {-1.3488374948501587, -0.628921389579773, 0.08849909901618958, 0.1050964966416359, -0.8178150057792664, -0.7084482908248901}}, {{0.6024267673492432, 0.2082122415304184, 0.28936347365379333, 0.0038416043389588594, 0.5109341144561768, 1.2844984531402588}, {0.25694170594215393, 0.011755313724279404, -0.20201383531093597, -0.05236750841140747, 0.7737127542495728, -0.22031591832637787}, {-0.8643184900283813, -0.29890504479408264, 0.14624962210655212, 0.2619291841983795, -0.3482455313205719, -1.5402915477752686}}, {{-0.6150990128517151, 0.19314956665039062, 0.5663931965827942, 0.1696654111146927, -0.344159871339798, 0.10662651062011719}, {-0.6704407334327698, 0.08012254536151886, 0.18876942992210388, -0.255744606256485, 1.3135392665863037, -0.05540776252746582}, {-0.9687967896461487, -0.5639577507972717, 0.03629503771662712, 0.749233603477478, 0.718273401260376, -0.3044533431529999}}}, {{{1.264162540435791, 0.42641350626945496, 0.1745416224002838, 0.4505111277103424, 0.10443221777677536, -0.4080628454685211}, {0.9359639883041382, 0.19628310203552246, -0.37767651677131653, 0.05806472897529602, 0.41802769899368286, -0.4021208882331848}, {1.1833105087280273, 0.033637966960668564, 0.16121648252010345, 1.6704840660095215, 0.16925831139087677, -0.5822446942329407}}, {{-1.050500512123108, -0.09167718142271042, -0.15504086017608643, -0.26810529828071594, -0.2211122363805771, -0.7116621732711792}, {-0.5004003047943115, -0.2709294557571411, 0.07183103263378143, -0.04881398007273674, 0.4002133011817932, -0.341298371553421}, {0.7336205244064331, 0.019183877855539322, -0.10218597203493118, -0.06858261674642563, 0.1804317682981491, -0.7883838415145874}}, {{-0.7520256042480469, -0.22791530191898346, -0.12430168688297272, -0.0643269270658493, -0.4126777648925781, -0.1774013191461563}, {-0.9185736179351807, -0.18247392773628235, -0.1998894065618515, 0.1737818866968155, -0.1140613779425621, -0.13231895864009857}, {0.6627748012542725, -0.07602502405643463, 0.07602325081825256, 0.37516525387763977, 0.7853088974952698, 0.7419880032539368}}}, {{{-2.2925846576690674, -0.5670830011367798, -0.5114259719848633, -1.07743239402771, -0.6936476230621338, -0.9780539870262146}, {0.6842707991600037, 0.21200893819332123, 0.2382790446281433, 0.05543014407157898, 0.06291257590055466, 0.14438624680042267}, {0.14939481019973755, 0.037804435938596725, 0.13612288236618042, 0.13105769455432892, -0.43090638518333435, -0.9629568457603455}}, {{0.3829599916934967, 0.11708086729049683, -0.09763535857200623, -0.16541720926761627, 0.018887154757976532, 0.3496650755405426}, {1.4982597827911377, 0.08175168186426163, 0.4016278386116028, 0.9158377647399902, -0.12879355251789093, 2.351213216781616}, {0.1616053730249405, -0.0608898401260376, 0.14849039912223816, -0.09197665005922318, 0.5148493051528931, 0.18527956306934357}}, {{0.11273615062236786, 0.34991174936294556, 0.26515814661979675, -0.49144628643989563, 0.3383309245109558, 0.5385087728500366}, {0.24411790072917938, 0.052721429616212845, -0.05631586164236069, -0.4685106873512268, -0.4849746823310852, -0.9032131433486938}, {-0.37900495529174805, -0.08784185349941254, 0.300321489572525, 0.00278386939316988, 0.6376034021377563, 1.0151978731155396}}}, {{{0.19271059334278107, 0.0959976390004158, 0.11761606484651566, -0.0512591227889061, -0.176044300198555, -0.046978943049907684}, {0.0822444036602974, -0.12160180509090424, 0.1548638641834259, -0.1438426673412323, 0.1660275012254715, -0.14605960249900818}, {-0.21274171769618988, 0.1426110565662384, 0.10009711235761642, -0.0548456534743309, -0.574436366558075, 0.010507103055715561}}, {{0.009781602770090103, 0.01842466928064823, -0.07070838660001755, 0.22458019852638245, -0.5180603861808777, -0.29575562477111816}, {-0.09571611881256104, -0.2681695520877838, -0.3459489345550537, 0.4147747755050659, -0.1342136710882187, -0.7266443371772766}, {-0.5911058783531189, 0.23451371490955353, -0.12154868990182877, 0.3614463806152344, 0.43761563301086426, -0.39286959171295166}}, {{-0.37995660305023193, 0.07834415882825851, 0.32898393273353577, 0.21365521848201752, -0.7746888995170593, -0.4666702151298523}, {-0.7264567017555237, 0.16304486989974976, 0.04888468235731125, -0.43774378299713135, -0.15046003460884094, -1.6320950984954834}, {-3.3951847553253174, -0.1645590215921402, -0.859903872013092, -0.6840961575508118, -0.9732393026351929, -2.77411150932312}}}, {{{-1.349423885345459, -0.20975378155708313, -0.002415295923128724, -0.19932051002979279, -0.6740261316299438, -0.1304839551448822}, {-1.3349111080169678, -0.31751662492752075, -0.014173654839396477, -0.4058109223842621, -0.7622523903846741, -0.6132423877716064}, {-2.1359777450561523, -0.1360314041376114, -0.47272995114326477, -0.9010438919067383, -0.6773699522018433, -1.6276202201843262}}, {{-0.8764068484306335, -0.15723438560962677, -0.13497710227966309, -0.2462702989578247, 0.10718588531017303, -0.35485339164733887}, {-1.475588321685791, -0.45153331756591797, -0.30711501836776733, -0.0907602608203888, -0.08527722954750061, -0.17336808145046234}, {-1.6650699377059937, -0.5922436714172363, -0.11038702726364136, -0.30366021394729614, -0.2969067692756653, -0.39050963521003723}}, {{-1.7517677545547485, -0.34366321563720703, -0.17049174010753632, -0.6551642417907715, -0.6182800531387329, -0.4032576084136963}, {-1.1081265211105347, -0.08348870277404785, -0.38202187418937683, -0.22303113341331482, -0.015861719846725464, -0.3194693624973297}, {-0.7808969020843506, -0.3107500374317169, -0.10135695338249207, -0.5114881992340088, 0.18284864723682404, 0.0644284188747406}}}, {{{-0.6956506371498108, -0.31796395778656006, -0.2376352697610855, -0.5313360095024109, -0.8107539415359497, 0.6690312027931213}, {-0.8925672769546509, -0.19261956214904785, -0.2000349909067154, -0.42861443758010864, -0.11305136233568192, 0.909927248954773}, {-2.1942031383514404, -0.3707621991634369, 0.30361655354499817, 0.10333340615034103, 0.4276471436023712, -0.9056501984596252}}, {{-0.3270469307899475, 0.037394095212221146, 0.02230740338563919, -0.6633273363113403, -0.26718392968177795, -0.32602840662002563}, {-0.003968007862567902, 0.32749074697494507, -0.5412979125976562, -0.21694573760032654, 0.21006284654140472, -0.5254878997802734}, {1.6014090776443481, 0.25980183482170105, 0.049515075981616974, 0.6265353560447693, 0.4975777566432953, 0.012848232872784138}}, {{-0.12509086728096008, -0.05393632873892784, 0.3533054292201996, -0.43364590406417847, -0.16950076818466187, -0.5675187110900879}, {0.39888623356819153, 0.5743353366851807, 0.2632575035095215, 0.118721604347229, -0.49037787318229675, -0.6497940421104431}, {0.6756026148796082, -0.14102600514888763, -0.07651961594820023, 0.5968765020370483, 0.28887248039245605, 0.17865805327892303}}}, {{{0.17693428695201874, 0.145796999335289, 0.08337005227804184, -0.06137264519929886, 0.11150143295526505, 0.9657827615737915}, {0.8218414187431335, -0.1060900166630745, 0.4363735318183899, -0.014683166518807411, 1.0367910861968994, 1.0659204721450806}, {-2.345315933227539, -0.6162209510803223, 0.24797992408275604, -0.5368184447288513, -0.6192275881767273, -0.2645907700061798}}, {{-0.3148207664489746, -0.11082214117050171, 0.038070473819971085, -0.044219013303518295, 0.016283510252833366, 0.5516585111618042}, {0.7833090424537659, 0.6434233784675598, -0.13571208715438843, -0.7289839386940002, 0.1483081877231598, -1.110136866569519}, {0.4928351938724518, 0.03171747177839279, 0.2033851146697998, 0.008746098726987839, 0.5735700130462646, 0.3973754942417145}}, {{-0.28379878401756287, 0.08186645060777664, 0.023597685620188713, -0.33318614959716797, -0.4715694785118103, -0.07906733453273773}, {-0.13404208421707153, 0.09601431339979172, 0.1726749986410141, -0.17940844595432281, 0.718458890914917, 1.3421382904052734}, {0.2516142427921295, -0.06048078089952469, 0.3909710645675659, 0.3020424246788025, 0.023104801774024963, 1.397689938545227}}}, {{{0.16723963618278503, -0.05371275171637535, -0.43500816822052, 0.058393534272909164, -0.3977251648902893, -0.1485382467508316}, {-0.33421334624290466, -0.5792942047119141, 0.29375457763671875, 0.02227899618446827, 0.12824425101280212, 1.201663613319397}, {-0.8473964333534241, 0.4314437508583069, -0.07349221408367157, -0.01935438998043537, 0.3694668412208557, -0.20149196684360504}}, {{0.888957679271698, -0.10680853575468063, 0.631487250328064, 0.2528837323188782, 1.6955703496932983, 1.228530764579773}, {-0.06936842948198318, 0.36527884006500244, 0.018267005681991577, 0.2256043553352356, -0.2143687754869461, 0.5711511969566345}, {-0.8297070860862732, 0.04081609472632408, 0.216085746884346, -0.7568457126617432, 0.5692006945610046, -0.3642731010913849}}, {{2.0379204750061035, -0.21703754365444183, 0.16351203620433807, 2.0600950717926025, 0.9680494666099548, 2.633943796157837}, {1.5044788122177124, 0.41093021631240845, -0.8865320086479187, -0.5375102162361145, 0.21530747413635254, 0.8961998224258423}, {1.800604224205017, -0.1371089518070221, 0.5438346266746521, -0.20402146875858307, 0.2863587737083435, -0.1913587749004364}}}, {{{1.3186397552490234, 0.05399634689092636, 0.1294689029455185, 0.16464295983314514, 0.7954742908477783, -0.038975074887275696}, {1.4151370525360107, 0.3456258773803711, -0.06851296871900558, 0.04276660084724426, -0.20245443284511566, -0.1281479299068451}, {2.5411508083343506, -0.05545952543616295, 0.4301099479198456, 1.3077512979507446, 1.714454174041748, 2.1519439220428467}}, {{0.8397858142852783, 0.4796682894229889, 0.19183138012886047, -0.24857598543167114, -0.18770888447761536, 0.43952861428260803}, {1.2594494819641113, 0.5309406518936157, 0.23709110915660858, 0.2688694894313812, 0.20376446843147278, 0.4796375632286072}, {1.5636569261550903, 0.3138258755207062, 0.04261636734008789, 0.17773480713367462, 0.1568300575017929, -0.41836532950401306}}, {{1.6682429313659668, 0.3132361173629761, 0.20932689309120178, 0.4544186592102051, 0.6544612050056458, 1.0215460062026978}, {1.018532633781433, 0.2177967131137848, 0.2417161762714386, 0.6847169399261475, 0.352859228849411, 0.12025664746761322}, {0.728926420211792, 0.178066223859787, 0.21944259107112885, 0.48297300934791565, 0.043754447251558304, -0.7745324373245239}}}}; +{{{{2.4703409671783447, 0.4167492389678955, 0.8632664084434509, 2.113025188446045, 0.6231331825256348, 2.4190521240234375}, {0.6768096685409546, -0.036765310913324356, -0.19815756380558014, 0.044196125119924545, 0.9193159937858582, 0.4241444170475006}, {0.628648042678833, 0.07580870389938354, 0.296553373336792, 0.2557092010974884, -0.35443684458732605, -0.20663230121135712}}, {{0.4257064759731293, 0.191790372133255, 0.19574369490146637, 0.11595677584409714, 0.3021714389324188, -0.7057633996009827}, {-0.5299645662307739, 0.3454388380050659, 0.030088981613516808, -0.6320480108261108, -0.06442858278751373, -0.043087683618068695}, {0.028345592319965363, 0.10614394396543503, 0.02050180360674858, 0.09682556986808777, -0.13954971730709076, 0.2076157033443451}}, {{0.2143043577671051, 0.09699752181768417, -0.06746546924114227, 0.030598541721701622, 0.34546777606010437, 0.06615299731492996}, {-0.04823664575815201, 0.038358159363269806, 0.0903884544968605, 0.014671124517917633, -0.009292448870837688, 0.09437374770641327}, {-0.23551827669143677, -0.18453453481197357, -0.12542837858200073, 0.11625910550355911, 0.2458648532629013, 0.8126168847084045}}}, {{{0.047349151223897934, 0.09473082423210144, -0.2150116264820099, -0.510344386100769, -0.03907188028097153, -0.7691933512687683}, {0.3354664146900177, 0.12535600364208221, -0.1231030821800232, 0.17360179126262665, 0.22217011451721191, -0.35831931233406067}, {-1.836803913116455, -0.1525769829750061, 0.06611162424087524, -0.011539365164935589, 0.24938976764678955, 0.07583602517843246}}, {{0.09107772260904312, 0.18027468025684357, 0.05457858741283417, -0.07981231063604355, -0.45073673129081726, -0.4073386490345001}, {0.4963396489620209, 0.22140753269195557, 0.3017593026161194, 0.6758500933647156, 0.8522419929504395, 0.17916089296340942}, {0.6215333342552185, 0.4823836386203766, -0.5733091831207275, -0.026306748390197754, 0.6192604899406433, -0.3745679259300232}}, {{-0.4158423840999603, -0.05260695517063141, 0.14156003296375275, -0.0299912691116333, -0.2329699546098709, -0.18822182714939117}, {-0.1641465276479721, 0.06528280675411224, 0.25194576382637024, 0.20748603343963623, 0.1609979122877121, -0.4646330773830414}, {0.09450504928827286, 0.5042544007301331, 0.28969278931617737, -0.2485138475894928, 0.22001083195209503, 0.32350701093673706}}}, {{{-0.24150803685188293, -0.006617956794798374, 0.14414499700069427, -0.11775511503219604, 0.33306562900543213, -0.10140202939510345}, {0.5471913814544678, 0.10135117918252945, 0.16056470572948456, 0.10863790661096573, -0.11296295374631882, 0.003585649188607931}, {0.18319551646709442, -0.1530514806509018, 0.14033497869968414, 0.07005397975444794, 0.07038407772779465, 0.35219281911849976}}, {{2.0986876487731934, 0.21791468560695648, 0.020141074433922768, 0.049582552164793015, -0.09423802047967911, 0.07069776207208633}, {-0.41323262453079224, -0.31177279353141785, 0.0862540602684021, 0.1880745142698288, -0.12798459827899933, -0.06995601952075958}, {-0.11566204577684402, -0.36558282375335693, 0.0276164747774601, -0.17078045010566711, -0.30001965165138245, 0.17359912395477295}}, {{-0.5705175995826721, -0.3742579221725464, 0.43008753657341003, 0.22299951314926147, -0.2030068337917328, -0.2986662685871124}, {-0.16707800328731537, -0.045365236699581146, -0.3438996970653534, -0.48340749740600586, -0.36040177941322327, -0.05967879667878151}, {0.17944762110710144, -0.1100335642695427, -0.06979364156723022, 0.29359352588653564, 0.4666922688484192, -0.020811662077903748}}}, {{{0.46565839648246765, -0.03152400255203247, 0.1333000808954239, -0.1919965296983719, -0.07732908427715302, -0.19213365018367767}, {-0.273276686668396, 0.25121062994003296, -0.11964326351881027, -0.1272767037153244, -0.07274547219276428, 0.11783178150653839}, {-0.0741732269525528, -0.06340128183364868, 0.10675511509180069, 0.24833717942237854, 0.009718921966850758, 0.4898841679096222}}, {{2.7668588161468506, 0.11714466661214828, 0.18294982612133026, 0.26680290699005127, 0.17528589069843292, 0.48635998368263245}, {0.7872266173362732, 0.4377056360244751, -0.02128533460199833, 0.23881496489048004, -0.0033159777522087097, 0.24833305180072784}, {0.15461136400699615, 0.018697597086429596, -0.30961838364601135, 0.29620298743247986, 0.5264871716499329, -0.11017684638500214}}, {{0.6783024668693542, 0.003203516360372305, 0.019721398130059242, 0.29260164499282837, -0.02163699083030224, -0.15656599402427673}, {-0.11579833924770355, 0.07264871150255203, 0.013919626362621784, 0.01841496303677559, 0.16539284586906433, -0.0865580141544342}, {-0.038039349019527435, 0.21609967947006226, 0.15190726518630981, 0.15284357964992523, -0.023870497941970825, -0.07119928300380707}}}, {{{0.22125764191150665, -0.08500166982412338, -0.11512551456689835, -0.5463169813156128, 0.006230296567082405, -0.7166137099266052}, {0.1128217950463295, -0.1697329580783844, 0.05713334679603577, 0.37965118885040283, -0.47694671154022217, 0.6150299310684204}, {-0.38555601239204407, 0.06890226155519485, 0.2371596246957779, 0.4768395721912384, 1.1206445693969727, 0.7515135407447815}}, {{0.08900543302297592, 0.06511817127466202, 0.3671525716781616, 0.016248827800154686, 0.04980435222387314, 0.8361344337463379}, {0.43931636214256287, -0.03515709564089775, -0.06684224307537079, 0.710873007774353, 0.3737236261367798, -0.6460610628128052}, {-0.6352353096008301, 0.3924438953399658, -0.26051753759384155, -0.029439520090818405, 2.3765103816986084, -0.6003559827804565}}, {{-0.9544902443885803, -0.13889813423156738, 0.3415108621120453, -0.30486154556274414, -0.18532709777355194, 1.7465510368347168}, {-0.6192530989646912, 0.5223889946937561, 0.5559768080711365, -0.5217148065567017, -0.4846203625202179, -1.0697448253631592}, {-1.5551724433898926, -0.4305790066719055, 0.20662139356136322, 0.2984762489795685, 0.511296808719635, 0.6921825408935547}}}, {{{0.1549348384141922, 0.07217345386743546, 0.023581301793456078, -0.16303597390651703, -0.3103821277618408, -0.041755933314561844}, {0.30012741684913635, 0.0929344892501831, 0.26454004645347595, 0.3324362635612488, 0.35478922724723816, 0.33387014269828796}, {1.174534797668457, 0.2560501992702484, 0.2430885136127472, 0.4260651767253876, 0.5359955430030823, 0.442647784948349}}, {{0.40098899602890015, 0.20698896050453186, 0.03912270441651344, 0.1868550330400467, -0.41633865237236023, -0.5000015497207642}, {1.081761360168457, 0.22399844229221344, 0.17786698043346405, 0.08759663999080658, 0.01719546876847744, 0.02615325152873993}, {0.6241134405136108, 0.1961352527141571, 0.18012642860412598, 0.13016963005065918, 0.0632699579000473, 0.1577410101890564}}, {{1.0275462865829468, -0.027375666424632072, 0.32369592785835266, 0.31989485025405884, 0.07601699233055115, 0.5835166573524475}, {0.8793442249298096, 0.16957654058933258, 0.27687668800354004, 0.24282027781009674, 0.3390127122402191, 0.2588394284248352}, {1.6991755962371826, 0.05889181047677994, 0.39659127593040466, 0.34091106057167053, 0.5268042087554932, 0.8699657320976257}}}, {{{0.08438754826784134, 0.001564898295328021, 0.19415311515331268, 0.07414565980434418, 0.13132831454277039, 0.22296084463596344}, {-0.026086900383234024, -0.14548440277576447, -0.20589078962802887, -0.04501720145344734, -0.4681534469127655, 0.36069047451019287}, {-0.3334258496761322, -0.03685757890343666, -0.02057490684092045, -0.16701887547969818, -0.3028528690338135, 0.19165167212486267}}, {{-0.08822795748710632, -0.2365187257528305, -0.05768590047955513, -0.20231254398822784, -0.05616536736488342, 0.07134798169136047}, {-0.4035581052303314, -0.1803511530160904, -0.44142645597457886, -0.16271939873695374, 0.2566004991531372, 0.15527425706386566}, {-0.6874738335609436, -0.08483894169330597, 0.1988690048456192, -0.18345879018306732, 0.14833590388298035, -0.13440681993961334}}, {{-0.2801377773284912, -0.0916677713394165, -0.16122618317604065, -0.29587751626968384, 0.1604612022638321, 0.8044694066047668}, {-0.7502406239509583, 0.10458556562662125, -0.06200884282588959, -0.1458113044500351, 0.346541166305542, -0.596875786781311}, {-2.7115437984466553, -0.5241538286209106, -0.9794673919677734, -0.908114492893219, -0.6623249650001526, -2.1407573223114014}}}, {{{-0.24021506309509277, -0.04708075150847435, 0.0829973816871643, -0.28607097268104553, -0.3588469326496124, -0.09216171503067017}, {0.002631389070302248, -0.03584083169698715, -0.15470252931118011, -0.18227097392082214, -0.14326095581054688, 0.053224846720695496}, {0.1270635724067688, -0.06306112557649612, -0.08244280517101288, -0.16576716303825378, -0.25571751594543457, -0.34787464141845703}}, {{-0.5982001423835754, 0.05465037375688553, 0.06959746032953262, -0.12074324488639832, -0.379838228225708, -0.4726566672325134}, {-0.18980532884597778, -0.3250681459903717, -0.11531250923871994, -0.08098913729190826, 0.1340167373418808, -0.3870336413383484}, {-0.0322515070438385, -0.027703022584319115, 0.02624211460351944, -0.2009299397468567, 0.22094260156154633, 0.19367225468158722}}, {{-2.6572957038879395, -0.026169156655669212, -0.39957672357559204, -0.8273330330848694, -0.6011607050895691, -0.1136564165353775}, {-0.4613383114337921, 0.14951086044311523, -0.06173389032483101, -0.37067532539367676, -0.16590332984924316, -1.13882577419281}, {-0.2364046722650528, -0.024751830846071243, 0.38423797488212585, 0.29981550574302673, -0.10283684730529785, 0.19683462381362915}}}, {{{-1.4441094398498535, -0.47035500407218933, -0.38618436455726624, -0.10576356202363968, -0.19862519204616547, 0.24896471202373505}, {-0.6779129505157471, -0.10932602733373642, 0.1437433809041977, -0.24211908876895905, -0.5215639472007751, -0.44498851895332336}, {-0.8938172459602356, -0.3389405906200409, -0.1780717521905899, -0.15974821150302887, -0.2052430808544159, 0.17731845378875732}}, {{-0.735880434513092, -0.24979187548160553, -0.33538952469825745, -0.3558119535446167, -0.45451903343200684, -0.7109125852584839}, {-0.8490456938743591, -0.3642873167991638, -0.19317655265331268, -0.13613003492355347, -0.390619695186615, -0.07943004369735718}, {-0.8724805116653442, -0.1690020114183426, -0.059909772127866745, -0.22896549105644226, -0.2801390588283539, -0.3198956847190857}}, {{-0.7638883590698242, -0.020380916073918343, -0.03691248968243599, -0.48954710364341736, -0.5002793073654175, 0.39182785153388977}, {-0.36484575271606445, -0.054100777953863144, -0.20192693173885345, -0.030117124319076538, -0.01710079051554203, 0.13507679104804993}, {-0.18678191304206848, -0.3136020600795746, 0.30934441089630127, -0.008798103779554367, 0.389151006937027, 0.316218763589859}}}, {{{-2.2496116161346436, -0.18443851172924042, -0.27540281414985657, -0.7536863684654236, -0.4427662193775177, -0.8041038513183594}, {0.4900311827659607, 0.005068021826446056, -0.12202329933643341, -0.0904252678155899, -0.2433387041091919, 0.12380912899971008}, {0.3094051778316498, 0.28042152523994446, 0.10937023162841797, 0.1147088035941124, 0.4511476755142212, 0.38189011812210083}}, {{0.7697242498397827, 0.2056189626455307, -0.11145557463169098, -0.1298389732837677, 0.08835869282484055, 0.6932329535484314}, {0.9560340046882629, -0.0383615717291832, 0.2371242344379425, 1.1816107034683228, -0.3895195722579956, 0.9401803612709045}, {0.18868319690227509, 0.11394711583852768, 0.0854678824543953, -0.007146109361201525, -0.002132980152964592, -0.33138683438301086}}, {{0.24747517704963684, -0.061101965606212616, 0.17045454680919647, 0.09407681226730347, -0.26775872707366943, -0.03976031392812729}, {0.057268958538770676, -0.08906980603933334, -0.007974158972501755, -0.18445536494255066, -0.23673784732818604, -0.35315370559692383}, {-0.1772659868001938, -0.09397250413894653, -0.07958107441663742, -0.16936951875686646, 0.10507599264383316, 0.07648041844367981}}}, {{{-0.341060608625412, 0.07745024561882019, -0.2204921692609787, -0.07287295162677765, -0.7795539498329163, 0.10610318928956985}, {-0.316023051738739, -0.05394772067666054, -0.1369391232728958, 0.057984355837106705, 0.247650608420372, 0.04925379157066345}, {-0.20328378677368164, -0.024958578869700432, -0.45908546447753906, -0.6727274060249329, -0.1512424796819687, -0.7070988416671753}}, {{-0.7311833500862122, -0.0898599848151207, 0.33381131291389465, -0.44745761156082153, 0.09397082775831223, 0.6100603938102722}, {-0.011283891275525093, 0.2310830056667328, -0.07590534538030624, 0.05311839282512665, 0.4740552008152008, -0.0844263806939125}, {0.28495436906814575, 0.14562615752220154, 0.019992770627141, -0.18913623690605164, -0.5739523768424988, 0.2579689025878906}}, {{-1.2547576427459717, 0.03787969425320625, 0.09846563637256622, 0.25578588247299194, 0.09722104668617249, -1.2889431715011597}, {1.6677608489990234, 0.2789801061153412, 0.1309012621641159, 0.38888734579086304, 0.26901260018348694, -0.0038050925359129906}, {1.081035852432251, 0.3441731035709381, 0.18775829672813416, 0.3142826557159424, 0.11834849417209625, 0.21950675547122955}}}, {{{-0.6371431946754456, -0.17018212378025055, 0.15559768676757812, -0.06451570242643356, 0.0038205895107239485, 0.07198451459407806}, {0.5713192820549011, 0.24681051075458527, 0.10970686376094818, 0.08407220989465714, 0.37369024753570557, 0.10885842889547348}, {0.8441337943077087, 0.0405193530023098, 0.19062508642673492, 0.3726239502429962, 0.3890666961669922, 0.7234421968460083}}, {{-0.49711284041404724, -0.13071708381175995, -0.07296263426542282, -0.09663283824920654, -0.786099374294281, -0.28845685720443726}, {-0.06766438484191895, -0.008446615189313889, -0.22494147717952728, -0.10740882903337479, -0.3553067743778229, 0.8478027582168579}, {0.9405113458633423, 0.2357916384935379, 0.3044948875904083, 0.10247395932674408, 0.0918235182762146, 0.484433114528656}}, {{-0.44338205456733704, -0.13609392940998077, -0.3015524446964264, 0.005700770299881697, 0.609360933303833, -0.5536593198776245}, {-0.6665439605712891, -0.21900202333927155, 0.3299531042575836, 0.08244897425174713, 0.6367917060852051, 0.3920295238494873}, {-1.0116066932678223, -0.19491896033287048, -0.10314598679542542, -0.03298596292734146, -0.8133018612861633, -1.6356441974639893}}}}; const float conv2d_biases[KERN_NUM] = -{0.7491714358329773, -0.6721372008323669, -0.9380728006362915, 1.0815422534942627, 1.186598539352417, 0.5175073742866516, -0.6446694731712341, 0.5516063570976257, 0.7043428421020508, 0.7951473593711853, -1.2233564853668213, -0.2449367791414261}; +{-0.9286547303199768, 0.6586035490036011, 0.38082075119018555, -0.7377982139587402, 0.7100669741630554, 0.8127356171607971, -0.6856269836425781, -0.5181254148483276, 0.856531023979187, 0.5149239897727966, 0.6714763045310974, 0.5826101303100586}; const float dense1_weights[DENSE1_NUM][CONV_NUM+2] = -{{1.363254189491272, 1.0341243743896484, -0.22387972474098206, -1.0175092220306396, 0.35640063881874084, 1.486457347869873, -1.667519450187683, 1.866879940032959, 0.6178643107414246, 0.07789914309978485, 0.18086330592632294, -1.931624412536621, 0.518694281578064, 0.6738666296005249, 0.5998647809028625, -0.9016258716583252, 0.18319883942604065, 0.033165547996759415, -0.5798971056938171, 0.7121395468711853, 0.9669578075408936, -0.14006783068180084, 0.3182479441165924, -1.1522102355957031, -0.6587332487106323, 0.33929523825645447, -0.7464255094528198, -0.5180481672286987, 0.6948849558830261, -0.5047554969787598, -0.8595249056816101, 0.55519700050354, 0.010388925671577454, 0.801008403301239, 1.0063164234161377, -0.9175134301185608, 0.10442802309989929, 0.8288978934288025, -0.22490793466567993, -0.2888289988040924, 0.09586618095636368, -0.25801941752433777, -0.09404134750366211, 0.5653436183929443, -0.160763218998909, 0.5565474629402161, 0.29739364981651306, -0.2546142637729645, -0.005891716107726097, 0.9275455474853516, -0.3823389708995819, 0.37385451793670654, 0.6404917240142822, -0.1758512407541275, -0.33355045318603516, -0.0680849701166153, -0.5773841142654419, 0.36678346991539, 0.4573856294155121, 0.36499184370040894, -0.3033064901828766, 0.2147839218378067, 0.13313642144203186, 0.7071401476860046, 0.5086700916290283, -1.0245908498764038, -0.06820641458034515, -0.21168069541454315, -1.071897268295288, 0.018883686512708664, -0.7303171753883362, -0.1125142052769661, 1.2000970840454102, 1.464740514755249, 0.6508364081382751, 0.3030936121940613, 0.6612967848777771, -1.6332401037216187, -1.3647401332855225, 0.41842636466026306, 0.7714639902114868, -0.0703464150428772, 1.4069660902023315, -0.8417165279388428, 0.19848965108394623, -0.03957192972302437, 0.5559663772583008, -0.2293548583984375, -0.13796967267990112, -1.3601289987564087, 0.26353737711906433, 0.5269359946250916, 0.0022827971260994673, 0.669824481010437, 0.4582277834415436, -0.43140265345573425, 0.1148618757724762, -0.5722628235816956, -0.7425132989883423, 0.062428563833236694, 0.28801229596138, -0.6091117262840271, 0.0857342779636383, 1.6849277019500732, 0.028688646852970123, 0.27550801634788513, 0.06046717241406441, -1.7258024215698242, -11.325912475585938, 0.40707653760910034}, {-0.17083650827407837, 0.06905665993690491, -1.4124795198440552, -0.03993019089102745, 0.8310226202011108, 0.06737126410007477, -0.9747709035873413, -0.3216249942779541, -0.3825661242008209, 0.4690711796283722, -0.10326164960861206, 0.6851834058761597, -0.5925005078315735, 0.12878690659999847, -1.3138313293457031, 0.012041736394166946, 1.8150660991668701, 1.3839612007141113, -0.302677184343338, 0.34513580799102783, -1.5574989318847656, 0.8615586757659912, -0.7442082166671753, -0.29538047313690186, -0.18526968359947205, -0.3221810758113861, -1.117771029472351, 0.9280825853347778, 1.325352430343628, 1.6644259691238403, 1.543855905532837, 1.9728561639785767, 0.49659594893455505, 0.1777874231338501, -0.7799591422080994, -0.6735191941261292, -1.310072422027588, -0.7440606951713562, -1.3352278470993042, 0.26759833097457886, 0.09077346324920654, 0.9041026830673218, 0.420524537563324, 0.7476481795310974, -0.2821129262447357, -0.3813108801841736, 0.467646062374115, -0.992343008518219, -0.8424544334411621, -0.2108192890882492, -1.3132336139678955, -0.8671026229858398, -1.1237177848815918, 1.2224444150924683, 0.0050985319539904594, 1.7500499486923218, 0.5434041619300842, -1.7128500938415527, -0.5473154187202454, -1.2038075923919678, 0.006175066810101271, -0.20967790484428406, -0.6320755481719971, -0.8298496603965759, 0.40497127175331116, 0.8988282084465027, 1.062835693359375, 1.1703588962554932, -0.4390231668949127, -0.0864286720752716, -1.8515695333480835, -0.9664784669876099, -1.5519046783447266, -0.7389132380485535, -0.45471152663230896, 0.1825322061777115, -2.1108436584472656, 1.3244383335113525, 0.9023699760437012, 1.341429591178894, 1.0959374904632568, 1.5862374305725098, -0.8483924269676208, -1.2690099477767944, -0.6385574340820312, -1.3399617671966553, -1.4481735229492188, 1.0207748413085938, -0.2531422972679138, 1.6744871139526367, 0.33838051557540894, 1.4994851350784302, -0.08706707507371902, -0.9756685495376587, -0.18846161663532257, 0.3196447491645813, 0.6601418852806091, -0.34285128116607666, 1.0155439376831055, 0.006344445515424013, 0.8113710880279541, -0.12169761955738068, 3.427133321762085, -0.4647941589355469, -0.40274789929389954, -0.821519136428833, -0.5425352454185486, 1.702808141708374, -0.8341403007507324, -0.6216076016426086}, {0.2863483130931854, -0.7559788823127747, -0.2839535176753998, 1.1616381406784058, 2.8649086952209473, -0.6071892380714417, 0.6768287420272827, -1.7002214193344116, -0.6891534924507141, 0.5473189949989319, 1.596442461013794, 1.5643647909164429, -1.446763515472412, 0.7997608184814453, -1.414795160293579, 0.49388718605041504, 0.8505900502204895, -0.19329877197742462, -0.3876769244670868, -1.4769961833953857, -0.42878755927085876, -0.21114680171012878, 0.5935027003288269, 1.0943642854690552, -0.9874037504196167, -0.4200952649116516, -1.7334452867507935, -0.3350405693054199, -0.9827619194984436, -0.6133254766464233, 0.06284571439027786, -0.5991212129592896, -0.4285372793674469, 0.6698867678642273, -0.5906656980514526, 2.139469623565674, 0.1258198767900467, -0.06592785567045212, -2.1656150817871094, -0.8103349804878235, 1.6522045135498047, -0.8157002925872803, 0.08616617321968079, 0.3129667639732361, 0.7271836400032043, -0.26024776697158813, -0.12058860808610916, 0.887902557849884, -0.468900591135025, 1.13973867893219, 0.12809376418590546, 0.32841214537620544, -0.3696557283401489, -0.35477203130722046, -1.2875465154647827, -0.26129722595214844, 0.6713233590126038, -0.6277855038642883, 0.1160835400223732, -0.7751821875572205, -0.7264861464500427, -0.015262555330991745, 0.18591390550136566, -1.2584843635559082, 0.03965763375163078, -1.6375765800476074, -0.13603147864341736, -0.4254254102706909, 0.8349561095237732, 0.5039522647857666, -0.9669892191886902, -0.1171099990606308, -0.45027661323547363, 0.20976436138153076, -2.427701234817505, -1.3903939723968506, 1.397802472114563, 0.7945429086685181, -0.904228925704956, -1.5200607776641846, 2.53401255607605, 0.613548755645752, -0.0002833785256370902, 2.5568809509277344, 0.07514233887195587, -0.8819019198417664, -0.23575390875339508, -0.07054337859153748, 0.6379345059394836, -0.36950334906578064, 0.29921332001686096, 1.3640575408935547, 0.36851710081100464, 0.5569639205932617, 0.2208806872367859, -1.0801712274551392, -0.11075513064861298, 3.574361801147461, 0.0011015088530257344, 0.07080348581075668, -0.058908022940158844, -1.5514230728149414, -1.155316948890686, -0.027767358347773552, -0.1360718011856079, 0.8533737659454346, 1.4909006357192993, 0.4907735586166382, 2.193721055984497, -0.8283787965774536}, {1.506749153137207, 0.9517592191696167, 1.317407488822937, 0.31980130076408386, -0.850456178188324, -0.45901593565940857, 0.06144710257649422, 0.05313139781355858, -0.06963623315095901, 0.5964076519012451, 1.0916277170181274, -0.7785718441009521, 1.6816487312316895, 0.29792845249176025, 0.4029400050640106, -0.4982243478298187, -0.5208854079246521, -1.0437031984329224, 0.20796456933021545, 0.10456208139657974, -1.04659104347229, 0.7797820568084717, 0.3438709080219269, -1.6283068656921387, -0.5614429712295532, -0.016293829306960106, -1.2620242834091187, 0.844227135181427, 0.889866054058075, 0.44295424222946167, -1.439268946647644, 0.6390680074691772, -0.7766902446746826, 0.47828882932662964, -0.11963573098182678, -0.9373731017112732, 0.08889774978160858, 0.02572956494987011, 1.321699619293213, -0.03655010834336281, 0.3609056770801544, -0.9066568613052368, -0.2289639115333557, -0.654213011264801, 0.3304835855960846, -1.3356719017028809, 0.3150620460510254, -0.6568674445152283, 0.8327763080596924, 1.053126573562622, 0.9625290036201477, 0.6397475004196167, -0.8754677176475525, -0.4004027843475342, -0.22519372403621674, -2.167877197265625, 0.9614068269729614, -0.16240555047988892, 0.4693319499492645, 1.4564989805221558, 2.143961191177368, 0.02611498162150383, 1.0624181032180786, 0.3861333727836609, -0.40605631470680237, -0.6268256306648254, -2.3733162879943848, -0.2781332731246948, -0.07961878180503845, 0.9473192095756531, -0.3644813895225525, -1.1409655809402466, -0.17429445683956146, 1.0373899936676025, 4.368021488189697, 0.9692257046699524, -0.4793078601360321, -3.23848557472229, -1.5494993925094604, 1.25635826587677, 0.8368731141090393, -1.829990267753601, 2.3020689487457275, -2.4776535034179688, 0.7683656811714172, -0.24242566525936127, 1.0999255180358887, 0.6627115607261658, -0.23971253633499146, -0.8358272910118103, -0.9038010239601135, -1.9802134037017822, -0.04861486330628395, -0.7693219780921936, 2.135599136352539, 0.5248598456382751, 1.6456449031829834, -3.9753403663635254, 0.5904281735420227, 0.5877540111541748, -0.10409457236528397, -1.3381142616271973, -0.6617849469184875, 0.3056934177875519, 1.017022728919983, 0.0701141357421875, 1.8768686056137085, -0.0922156423330307, 0.43403735756874084, 2.051178216934204}, {0.6095760464668274, -0.26375287771224976, 1.84074068069458, 0.390413761138916, -1.9822986125946045, -0.47006386518478394, -0.8465948700904846, 0.43326646089553833, 0.0863490030169487, 0.27941569685935974, -0.729426383972168, -0.5747159123420715, 1.5637335777282715, 0.17312611639499664, 2.246086359024048, 0.6690593957901001, -0.3886154890060425, 0.13816773891448975, -0.27400538325309753, 0.043610334396362305, -0.04105174541473389, -0.22896814346313477, 1.4840036630630493, -0.2783967852592468, 1.6981966495513916, -1.0129190683364868, -2.0890238285064697, 1.1666640043258667, -1.4142394065856934, 0.9552707672119141, -0.26061567664146423, -2.0249671936035156, 0.32832837104797363, -0.5858436822891235, 3.3000361919403076, 2.2268447875976562, -0.06942600756883621, 0.9245920777320862, 0.7269943356513977, 0.8240315914154053, -0.7803865075111389, 0.19855734705924988, -0.6398448944091797, -0.009616733528673649, -1.507459282875061, 1.1347914934158325, 0.48006540536880493, -0.17212456464767456, 0.2033120095729828, 1.2871342897415161, 0.003875280497595668, 0.10113212466239929, 0.26692289113998413, -0.7020407915115356, -0.6952016353607178, 0.643373429775238, -0.8681321144104004, 0.2947649657726288, -0.24908137321472168, -0.04787638783454895, 0.015448827296495438, 0.9601147174835205, -0.5146805047988892, -0.07878606766462326, -0.013447800651192665, 0.19892266392707825, 0.5420433878898621, 0.21530607342720032, -0.40618419647216797, -0.7792691588401794, 0.785181999206543, 0.6600825786590576, 1.4477006196975708, 0.1911274492740631, 1.2214046716690063, 0.7525407671928406, 0.03264804184436798, -0.5363937616348267, 0.6561725735664368, -0.33572497963905334, -1.9082562923431396, 1.0142630338668823, 1.4823594093322754, -0.12693066895008087, -0.6546655893325806, 1.8774969577789307, -1.0799635648727417, 0.45592400431632996, 0.5952277779579163, -0.3104085624217987, -0.4264788031578064, -2.0494043827056885, -1.3921823501586914, 0.9686267971992493, 0.14488080143928528, 1.3770778179168701, -0.8461772799491882, 2.5850727558135986, -1.3716517686843872, -0.8119417428970337, 0.3549530506134033, 0.45057135820388794, -1.6758689880371094, -1.0973131656646729, 0.11831136047840118, 0.4459662437438965, 1.1970181465148926, 0.6812387704849243, 0.7000998258590698, -2.9195399284362793}, {-0.5934358239173889, -0.21825693547725677, 1.6243361234664917, 1.1355482339859009, -1.8255515098571777, 1.4661567211151123, -0.1520451009273529, -1.09804105758667, -0.0820179358124733, -0.44667956233024597, -0.7592170834541321, 0.10908398032188416, 0.02934233844280243, 0.5472396612167358, 0.6760957837104797, 0.04904039204120636, -1.669830322265625, 0.6389835476875305, -0.2869037687778473, 0.027224887162446976, 0.5681394338607788, -1.8099676370620728, 0.002591018797829747, 0.07947634160518646, 1.214402437210083, 0.9223982095718384, 1.0763044357299805, 0.2033548653125763, -1.8546135425567627, 0.20291809737682343, -2.101116418838501, -0.8748756051063538, 1.6259337663650513, -2.1092066764831543, -1.3323534727096558, 0.3860389292240143, 0.42778298258781433, 0.44846051931381226, 0.7396653294563293, 0.4217822551727295, 0.6337176561355591, 0.4086577296257019, -0.9665821194648743, -0.7900526523590088, 0.9948968291282654, -1.1806070804595947, 0.19767513871192932, 0.26132932305336, -0.001183745451271534, -0.08436864614486694, -0.11699602007865906, 0.9116000533103943, -0.5019106864929199, -0.3009975850582123, -0.9343010187149048, 0.6087344288825989, 0.5848265886306763, -1.321561574935913, -0.4194175601005554, 0.24645507335662842, 1.1669259071350098, 0.07666845619678497, 0.6989059448242188, 1.5009831190109253, -0.6569861769676208, 0.02448168955743313, -1.1445695161819458, 0.706951916217804, 1.5568327903747559, -1.639939785003662, -0.04068584367632866, -0.06266426295042038, 0.23472321033477783, -0.4314002990722656, -0.06996823102235794, -1.5181132555007935, -0.5616979598999023, -0.8137410283088684, -1.7724143266677856, -1.7694779634475708, 1.6591781377792358, 0.42853105068206787, -0.20667676627635956, 1.1922693252563477, -0.7941234707832336, -1.620619297027588, 2.157935619354248, 0.29665741324424744, -0.46932876110076904, -0.38528403639793396, -0.3613836467266083, -0.3362840414047241, 2.3675148487091064, -0.13966980576515198, 0.14043965935707092, 0.07798274606466293, 0.12303462624549866, -1.5629408359527588, 0.6279261708259583, 2.0321593284606934, -0.6468901038169861, 0.26951566338539124, 1.311763882637024, 1.3505027294158936, 2.1636226177215576, -1.3816027641296387, 2.0780084133148193, 0.11368242651224136, -0.6704832315444946, 1.8450584411621094}, {0.5275195837020874, -0.3496842384338379, 0.36796221137046814, -2.746614694595337, 2.316631317138672, 2.9763879776000977, 1.242830514907837, 0.9470064640045166, 1.1714802980422974, -0.12481258064508438, -1.2959856986999512, -2.4713382720947266, -0.026578934863209724, -1.1697858572006226, 1.3254798650741577, -1.280432105064392, -0.38670435547828674, -0.6598523855209351, 0.2571353316307068, 0.28877022862434387, -0.5112199783325195, -0.5477761030197144, -0.031197628006339073, -0.3460145890712738, 0.43229493498802185, -0.5849178433418274, 1.337174892425537, -1.389849305152893, -0.0866885706782341, -0.7340578436851501, 0.7208436131477356, 0.8631138205528259, 0.19420833885669708, 0.7347785234451294, -0.25414249300956726, 0.3477638065814972, -0.0523262619972229, -1.6449083089828491, 1.7421306371688843, -1.7393549680709839, 0.33856186270713806, -0.01960087940096855, 0.5485664010047913, 1.4252430200576782, 1.7928693294525146, -1.7320326566696167, 2.3151168823242188, 0.25837817788124084, 0.056392449885606766, -0.18755415081977844, 0.5398470163345337, 0.3699888288974762, -0.8046700358390808, -0.5751171112060547, -1.2323275804519653, -0.9776423573493958, -1.1635109186172485, -0.4244537055492401, -1.0848758220672607, 0.7923444509506226, -0.02539975568652153, -1.0495975017547607, -0.5028162002563477, -0.40713390707969666, 1.081830620765686, -0.10682601481676102, -1.437543511390686, 0.07545340061187744, 0.22079184651374817, 0.7451342940330505, 0.0015742151299491525, 0.298963338136673, -1.5966593027114868, -0.9977189302444458, 2.293064594268799, -0.3049313724040985, 0.12960103154182434, -1.7417477369308472, 1.5895849466323853, 0.35823553800582886, 1.2444359064102173, 1.1097252368927002, 0.11156269162893295, -1.7599238157272339, -0.5633389353752136, -1.0569336414337158, 0.20814953744411469, 0.5342605113983154, -0.6693678498268127, -0.213943749666214, -2.1672489643096924, -0.31953978538513184, -1.3078083992004395, -0.6718930602073669, 0.15385635197162628, -0.544213593006134, -0.1324782520532608, 0.19302839040756226, 0.5858323574066162, -1.6986565589904785, 1.3307228088378906, 0.13432487845420837, 0.6526737809181213, -0.5742727518081665, -0.3830149173736572, 1.0100715160369873, 1.2618032693862915, 0.7470741271972656, 1.3700257539749146, 1.823391079902649}, {0.8604273796081543, 0.6959648728370667, 0.04680706560611725, -0.04447605833411217, -0.38492026925086975, -0.7044573426246643, -0.9581415057182312, -0.28120681643486023, 0.518186092376709, -0.42944374680519104, -0.5956374406814575, -0.977759838104248, -0.5927584171295166, -0.5641993284225464, 0.7831100821495056, 0.44775208830833435, 0.7702862620353699, -0.5060805082321167, -0.3223482668399811, 0.08180329203605652, 0.1877599060535431, -0.02001330442726612, -2.529616594314575, 0.16247040033340454, -0.8128751516342163, 2.850303888320923, 2.972663402557373, 0.7417634725570679, -1.383772373199463, -1.8388419151306152, -0.642558753490448, 0.30333736538887024, 0.48757484555244446, -0.4063454866409302, 1.3079745769500732, -0.8520772457122803, 0.9030386805534363, 0.2812652587890625, 1.6029350757598877, -0.5387324690818787, -0.2190123349428177, -0.34478193521499634, 2.0520780086517334, 0.2771879732608795, -0.9132728576660156, 0.9137974977493286, 1.4930044412612915, 0.3911673128604889, -0.3189133405685425, 0.5706582069396973, 0.9479842782020569, -0.25909870862960815, 0.9440299272537231, -0.6500563621520996, -0.36490321159362793, -0.07909644395112991, 0.10102041065692902, -0.942426860332489, 0.8708311319351196, 1.051107406616211, -1.3358279466629028, 2.6384451389312744, -0.51626056432724, 0.0925711914896965, 0.5605785250663757, -0.6965967416763306, -1.8989804983139038, -0.62279212474823, -1.1863547563552856, -0.998313307762146, -4.347477436065674, -0.4559834897518158, 2.1211113929748535, 0.733895480632782, 0.47707632184028625, 1.0234410762786865, -0.6753107905387878, 0.3401903808116913, -0.30448296666145325, -1.611629605293274, -0.4473181366920471, 1.3270158767700195, -0.7446895837783813, -0.2533564567565918, 1.6767191886901855, -0.6106299161911011, 1.3788821697235107, -0.715882420539856, 0.15214696526527405, 0.03975657746195793, -3.0233049392700195, -1.3940333127975464, 1.8803138732910156, 0.37409865856170654, -0.8747979402542114, 1.8819819688796997, 0.8189200162887573, -2.5725533962249756, 0.10098907351493835, 1.3164105415344238, -0.3618147075176239, 0.12040099501609802, -0.8716378808021545, 0.12381952255964279, 1.2862200736999512, -0.8017272353172302, -2.8164734840393066, 0.5300760865211487, 2.378110647201538, 1.4091496467590332}, {-0.14903952181339264, 0.09336595982313156, -1.24397611618042, -1.4400156736373901, 0.4644870460033417, -0.1102139949798584, 0.6097339391708374, -0.43865713477134705, -1.088258981704712, 1.8939080238342285, 0.1552724689245224, 0.12639644742012024, 0.03807135671377182, 0.16479459404945374, -0.4812047481536865, -0.5656448006629944, 0.8722376823425293, 0.7012534141540527, 0.8058949112892151, 0.13751935958862305, -0.6894969940185547, 0.855349600315094, 0.11802578717470169, -0.42841506004333496, -0.46291810274124146, -0.8071426153182983, -1.2679519653320312, -1.0204293727874756, 0.7970758080482483, 1.220754623413086, 0.7634274363517761, -1.2639663219451904, -0.2806973457336426, 1.3073813915252686, -0.7255478501319885, 0.7024379372596741, -0.29551222920417786, 0.3219664692878723, -1.085371971130371, -0.8826392292976379, 1.207787036895752, 1.014350414276123, 0.06485731899738312, 0.9287229180335999, -0.14904914796352386, 0.26554766297340393, -0.2294444739818573, -0.6849784851074219, -0.7403671741485596, 0.25468960404396057, -0.4623088240623474, -1.0486122369766235, -0.20914150774478912, 0.16244804859161377, 0.3923850655555725, 1.315637469291687, 0.11582367867231369, 0.41738685965538025, -0.20841339230537415, -1.4389374256134033, 0.04621288180351257, -0.917698860168457, -0.015443968586623669, -0.4164753556251526, 0.6463558673858643, 0.16458331048488617, 0.5549315810203552, 1.037064552307129, -0.3245842158794403, 0.8605864644050598, -1.1798882484436035, -1.2600879669189453, -1.0244977474212646, -1.861168622970581, -1.0553478002548218, -2.0978121757507324, 0.2722974717617035, 0.07951416075229645, 1.5268805027008057, 0.3776772916316986, -1.5390799045562744, -0.01672486588358879, -0.8433787226676941, -0.7172813415527344, -1.1650880575180054, -2.278416156768799, -0.12592856585979462, -1.2253371477127075, 1.3887875080108643, 0.2724815309047699, 1.2949117422103882, -0.20023365318775177, -0.03902016580104828, 1.3319894075393677, 0.07849033176898956, 0.10134080797433853, 0.057796183973550797, -0.31179872155189514, -0.15026266872882843, -0.25948503613471985, 0.5333773493766785, -0.6024765968322754, 1.014135718345642, 0.11734835058450699, -0.11879386752843857, 0.7159950733184814, -0.10476361960172653, 1.1152873039245605, 8.094524383544922, 2.386566162109375}, {-0.7264848947525024, 1.2364426851272583, -3.499250650405884, 0.21735484898090363, 0.3678901493549347, 1.1447861194610596, -1.378890872001648, 0.14043597877025604, 1.0832124948501587, 0.26413506269454956, 1.2915900945663452, -0.9470466375350952, -1.39061439037323, -0.6333472728729248, -1.9575672149658203, -0.6243980526924133, 0.5042760968208313, -0.20897488296031952, -0.8375529050827026, 0.2584177851676941, 0.1284516602754593, -0.4004814028739929, 0.4669473171234131, -0.8231927156448364, -1.9973310232162476, 0.11144478619098663, -0.851210355758667, 0.544058620929718, 0.8723224401473999, -0.13020749390125275, 0.5205739140510559, 2.5510826110839844, 0.9805439710617065, -0.864409863948822, 0.9070736765861511, -0.794846773147583, 1.387949824333191, -0.9490878582000732, 0.08990344405174255, 1.0993014574050903, 0.3527680039405823, -0.9999079704284668, 0.560753583908081, -0.6204652190208435, -1.3358017206192017, 0.9260753393173218, 0.9962483048439026, 0.4480530023574829, 0.7754074931144714, -0.36144930124282837, 0.5328675508499146, 0.5382460355758667, 0.8216719031333923, 0.438915491104126, -0.8014674186706543, -0.13130392134189606, -0.18118251860141754, -1.2566890716552734, 0.6982079148292542, -0.26674795150756836, -0.4717065691947937, -0.48146745562553406, -1.5602052211761475, 1.0042188167572021, 0.3481268584728241, 0.22014938294887543, -0.13093580305576324, -0.55942302942276, 0.663829505443573, -0.6887776255607605, 1.6680350303649902, 0.8298284411430359, -0.280324786901474, -0.17499832808971405, 1.5019221305847168, -0.7445055842399597, -1.085445761680603, 0.32885661721229553, 1.5653756856918335, -1.822453498840332, -0.3848763406276703, -0.4312966465950012, -0.7046619653701782, 1.2397041320800781, 0.9130750894546509, -1.6701329946517944, 0.019019491970539093, -1.5520919561386108, 0.6573976278305054, 0.7972095012664795, 1.2593740224838257, 0.01238926686346531, 2.4710922241210938, 0.7044832706451416, 0.14094215631484985, 0.8561657071113586, 0.04266371205449104, -0.00435321731492877, 0.035250935703516006, 0.25610455870628357, 0.03417845070362091, -0.3995589315891266, 1.0055177211761475, -0.2997795343399048, 0.2219434380531311, -0.3638402223587036, 2.006300926208496, -0.16338898241519928, 1.1590919494628906, -0.0319891981780529}, {-0.951449990272522, 0.842372477054596, -0.3259929418563843, -0.42607763409614563, -0.5078122615814209, 0.022494707256555557, 0.40269961953163147, -0.3469635844230652, -1.2740647792816162, 0.6588162183761597, -1.3011540174484253, -0.13184882700443268, -1.3714951276779175, 0.261300265789032, -0.4965984523296356, 0.06672591716051102, -0.2898849546909332, 0.7180715203285217, 0.2164430171251297, -0.6136655807495117, 0.19535572826862335, -0.5447215437889099, 0.24038685858249664, -0.34663277864456177, -0.5783808827400208, 0.015175564214587212, -1.044987678527832, -0.9695402979850769, 0.8619280457496643, 0.3476637899875641, 0.2846560478210449, -0.7581378817558289, 0.48887011408805847, 0.3210543990135193, -0.4331832826137543, 1.0448230504989624, 1.2203669548034668, -0.09401966631412506, -0.797636091709137, -0.31770482659339905, -0.1741052269935608, 0.005751226097345352, 1.560686707496643, 0.46317729353904724, -0.7111029028892517, 1.4071608781814575, -0.3917417824268341, -0.19004936516284943, 1.1545524597167969, -0.572142481803894, -0.36112338304519653, 0.23044902086257935, 2.513577699661255, 0.4180373549461365, 1.2667548656463623, 1.1828263998031616, -0.7653222680091858, 0.05616486072540283, 0.21287591755390167, -1.3892613649368286, -0.8311758637428284, -0.4504048824310303, -1.139034390449524, 0.43525367975234985, 0.49968579411506653, 0.20694799721240997, -0.5356112718582153, -0.185663104057312, -1.3061105012893677, -0.812053382396698, -0.8006988763809204, 0.1576472818851471, 1.0507349967956543, 0.9942188858985901, -0.06482014805078506, 0.4766765534877777, 0.3378535211086273, 1.685704231262207, -0.6274304986000061, 1.1775230169296265, 0.321290522813797, 0.30583423376083374, -0.18463800847530365, -1.680959939956665, -0.6381344795227051, 0.1377352774143219, 0.1924910545349121, -0.36678123474121094, -1.1774165630340576, 0.30310988426208496, 0.6079655885696411, -0.9388272166252136, -0.5062620639801025, -0.1556936502456665, -0.04401656985282898, 0.8182106018066406, -0.5359535813331604, -2.26350474357605, -0.7224975824356079, -0.1110248938202858, 0.053723014891147614, -0.42015892267227173, -0.07173897325992584, -0.22315780818462372, -0.41237860918045044, 0.7197157740592957, -1.501173496246338, 0.9560240507125854, 6.468966007232666, 5.687819004058838}}; +{{2.2170603275299072, 0.23290486633777618, -0.7145252823829651, 0.6071719527244568, -0.2405167520046234, -0.39711514115333557, 1.1505382061004639, 1.214964747428894, -0.6235618591308594, -1.2325822114944458, 0.7073974609375, -0.29199132323265076, 0.06368299573659897, -0.08382435888051987, 0.08812001347541809, 1.0168875455856323, -0.12317511439323425, -0.19136083126068115, -0.023307275027036667, -0.855963408946991, 0.8224125504493713, -0.9275779724121094, 0.5232061147689819, 0.2667495310306549, 1.1570565700531006, 1.1702488660812378, 0.3104361891746521, 0.3446792960166931, 0.28112873435020447, 0.4229235351085663, -0.3305530846118927, -1.2841160297393799, 1.386905550956726, -1.1788307428359985, -0.9725804328918457, 0.5199598670005798, 0.808917760848999, 0.18621212244033813, -0.02136324904859066, 0.5440925359725952, 0.5122291445732117, 0.41881293058395386, -0.22637227177619934, -0.6828700304031372, 1.366279125213623, -1.7652047872543335, 0.44123122096061707, 0.6938621401786804, 0.010427441447973251, 0.006019093096256256, 0.82183837890625, 0.7795918583869934, 0.6468833684921265, 0.9732413291931152, -0.9161631464958191, 0.27611714601516724, -0.4535958468914032, -1.0211594104766846, -0.4038727879524231, 0.7811246514320374, 0.7815285325050354, 0.09050866216421127, 0.6193622946739197, -0.46262484788894653, 0.21597018837928772, -0.06077755242586136, 0.5324302315711975, -0.01043769996613264, 0.13951696455478668, -0.9515790343284607, -0.25606319308280945, 0.7241547107696533, 0.004960865713655949, -0.06196737661957741, 0.15291069447994232, 1.3044565916061401, -0.32909849286079407, 0.4665137231349945, 0.9607364535331726, 0.17714078724384308, -0.948962390422821, -1.5277196168899536, 0.9573894143104553, 1.4502296447753906, 0.274261474609375, -0.10887665301561356, 0.680040717124939, -1.1727608442306519, -0.09995900839567184, 0.5807885527610779, 0.6138321161270142, -0.12772004306316376, -0.152868390083313, -0.3124372065067291, -0.30391889810562134, 0.3122578561306, -1.0314867496490479, 0.6978327631950378, 0.37636038661003113, -0.6363348960876465, -0.1755029410123825, 0.226530522108078, -0.25232526659965515, -1.3553086519241333, -0.2839418053627014, 0.1642085462808609, 0.4946369230747223, 0.9367379546165466, -5.152393341064453, 0.9700968265533447}, {-1.6391537189483643, 0.14782488346099854, -0.2930537462234497, 0.8191647529602051, -0.3314143419265747, -0.36228176951408386, -0.9918639063835144, -1.1969647407531738, 1.6917223930358887, 2.1052863597869873, 0.785513162612915, -0.43663695454597473, -0.3318188190460205, 0.09833122044801712, -0.6002763509750366, -0.45574578642845154, -0.1001499816775322, -0.9209499955177307, -0.7214769124984741, -0.8593336939811707, 1.1368985176086426, -0.4186680316925049, 0.44406214356422424, 0.18718914687633514, -0.7251021265983582, -0.9092921614646912, 0.4749835133552551, 0.003636999987065792, -0.25913986563682556, -0.07391942292451859, 0.35730379819869995, -0.25384145975112915, -0.0002458773087710142, -1.105431318283081, 0.9054962396621704, -0.14250706136226654, -0.4031761884689331, 0.07201608270406723, -0.4229680597782135, 0.021949151530861855, 0.09714243561029434, 0.4045827388763428, -0.7083379626274109, -0.34729188680648804, 0.17470990121364594, 0.7216193079948425, 0.208262100815773, 0.38158419728279114, -0.3399975001811981, -0.5085561871528625, -0.41646575927734375, 0.43963897228240967, 0.3020135462284088, 0.16242113709449768, -0.13641789555549622, -0.15145309269428253, 0.06362553685903549, 0.348965585231781, 0.1356315016746521, 0.001931183272972703, -0.1975238025188446, -0.8131470680236816, -0.08523343503475189, 0.012687087059020996, 0.8179836869239807, 0.7654905915260315, -0.13022826611995697, -0.33862361311912537, 0.007565419189631939, -0.28984957933425903, 0.4141836166381836, 0.0066499607637524605, 1.4944556951522827, 0.30075544118881226, 0.2924400568008423, -0.4416777491569519, 0.5765926241874695, -0.8911809325218201, -1.007088541984558, 0.8430687189102173, 1.254837989807129, -0.3690047264099121, 0.35830873250961304, 0.25552141666412354, 0.6140016317367554, 0.608267068862915, 0.3307279944419861, -0.2668249011039734, 0.2372949719429016, -0.6548774242401123, -0.21910250186920166, 0.03627645969390869, 1.0620909929275513, 0.04441212862730026, 0.6111907958984375, 0.07870268076658249, 0.13751326501369476, -0.03785235807299614, 0.25596705079078674, -0.3956044316291809, -0.360076904296875, -0.5378670692443848, 0.6413625478744507, 0.15724007785320282, 0.3524373471736908, 0.2660035789012909, 0.42309844493865967, 0.2854449152946472, -7.9953932762146, -0.8571628928184509}, {-0.4977159798145294, -0.3372739553451538, 0.00634339964017272, -1.6562222242355347, -0.24814355373382568, 0.35012322664260864, 0.8736734986305237, 0.5025277733802795, 0.11414900422096252, 0.34931057691574097, -0.277985155582428, 0.9277471899986267, -0.4833814203739166, 0.5643750429153442, 0.3909764289855957, -1.6361597776412964, 0.42197468876838684, 0.25910982489585876, 0.8157203793525696, -0.007994569838047028, 0.17389044165611267, -0.315898060798645, -0.12412607669830322, 0.3349047303199768, -1.0450260639190674, 1.2273513078689575, -0.016747228801250458, -1.5804722309112549, 0.1208585649728775, 0.7313597202301025, -0.6075714826583862, -0.4982753396034241, 0.5244078636169434, 0.4185521602630615, -0.6145126819610596, -0.7061703205108643, 0.031545791774988174, 0.8576348423957825, 0.1511484533548355, -0.9128500819206238, -0.10780969262123108, 0.3041544556617737, 1.432344913482666, -0.19046036899089813, -0.9828986525535583, 0.12893158197402954, -0.8083044290542603, 1.2067067623138428, 0.10158000141382217, 0.43978413939476013, -0.2710331082344055, -0.45213183760643005, -0.5892972350120544, -0.2445860207080841, 0.6891779899597168, -0.45630961656570435, 0.8832259774208069, 0.01162821426987648, -0.03655619919300079, -0.5222718119621277, -0.6008129119873047, 0.17609500885009766, -0.7194096446037292, -0.768109142780304, -0.07086778432130814, 0.09933806955814362, -0.20397883653640747, -0.9468154311180115, 0.6132084727287292, -0.031331706792116165, -1.46573805809021, -1.1151962280273438, 0.03264685347676277, 0.9209083914756775, -0.4761422276496887, -2.0047168731689453, -0.8370958566665649, 0.16113944351673126, 1.6389614343643188, 0.04731978103518486, 0.8923974633216858, 0.7774662375450134, 0.7572850584983826, 1.1994400024414062, 0.4379431903362274, -0.521965503692627, 1.2423118352890015, -0.3863174021244049, 0.4932820796966553, 0.2942556142807007, 2.179147720336914, -0.018365852534770966, 0.24090074002742767, -0.0346238873898983, -0.4546082615852356, -0.28952306509017944, -0.49137893319129944, 0.11763614416122437, 0.5311173796653748, 1.1243939399719238, 0.999659538269043, -1.827436089515686, 0.06241808459162712, -2.923089027404785, -0.14340323209762573, -0.2223103940486908, -0.5727754831314087, 0.3617972731590271, -3.1260175704956055, -1.4554851055145264}, {1.0191909074783325, 0.14845606684684753, -0.013006513006985188, 0.1639304757118225, -0.24365173280239105, -0.14640048146247864, -0.5402451157569885, 0.4902966320514679, 0.625809907913208, 1.173206090927124, 0.31571680307388306, -0.12016353756189346, 0.09565452486276627, 0.2341650277376175, -0.6759430766105652, -0.0016400355380028486, -0.20426414906978607, 0.15360499918460846, -0.23814678192138672, -0.49174433946609497, 0.9322407841682434, 0.8610895872116089, 0.1381208300590515, -0.5948031544685364, -0.45205289125442505, 0.40048086643218994, -0.28197237849235535, 0.01868242770433426, -0.4809044599533081, -0.6687607765197754, 2.044236898422241, 0.19404278695583344, 0.5693163275718689, 0.7611421346664429, 0.07715309411287308, -0.9603063464164734, 0.0025604593101888895, 0.5447497367858887, -0.0012880787253379822, -0.5855013132095337, -0.611129641532898, -0.10263792425394058, 0.07395648956298828, 0.6227024793624878, 0.2573798894882202, 1.3631192445755005, 0.32238638401031494, -0.7679314017295837, 0.050468456000089645, 0.6744673848152161, 0.015737248584628105, -1.0232858657836914, 0.13863453269004822, -0.04085821285843849, 0.1823538988828659, 0.3436395227909088, 0.5296112298965454, 0.7969975471496582, 0.5973038077354431, 0.11385183781385422, -0.133367657661438, -0.3113633394241333, -0.23813799023628235, 0.735216498374939, 0.2496040165424347, -1.2107617855072021, 1.5879855155944824, -0.062365323305130005, 0.34482327103614807, 1.1362093687057495, -0.023262662813067436, -0.5010179877281189, -0.22481606900691986, -0.20653264224529266, -1.4291125535964966, -0.8538350462913513, -2.0089428424835205, -0.5834529399871826, 1.0647919178009033, 0.58683842420578, 0.2611749768257141, 0.6234473586082458, -0.49911344051361084, -0.4913312792778015, 1.1424391269683838, 1.1672366857528687, 0.09501511603593826, -0.5262947082519531, -1.766541600227356, 0.16529907286167145, 1.017447829246521, 0.6759315729141235, 0.9440405964851379, 0.33890870213508606, -1.3340338468551636, -0.5723187923431396, -0.8546462059020996, -0.17422981560230255, 0.17409490048885345, -0.6164475679397583, -1.86939537525177, -0.016075506806373596, 0.9710537195205688, -0.011124150827527046, -0.12137207388877869, 1.4182878732681274, 1.1850165128707886, -1.3676822185516357, 3.192789316177368, 1.640467643737793}, {-2.4444384574890137, 0.44838231801986694, -0.6098417043685913, -0.3240356743335724, -0.8957502841949463, 0.3316091299057007, 0.8426768779754639, 0.07741008698940277, -0.8144923448562622, -1.6665557622909546, -0.48578402400016785, -0.6732458472251892, -1.6008620262145996, -0.2077561318874359, -1.0037462711334229, 0.3154717683792114, 0.08509961515665054, -0.746113121509552, 0.16984234750270844, 1.2595716714859009, -0.46777597069740295, 0.9870147705078125, -0.05244697630405426, 0.46216511726379395, -0.8670730590820312, -1.1637051105499268, -0.08674968034029007, 0.47263532876968384, -0.7338871955871582, 0.3122130036354065, 0.5978310108184814, 0.9100933074951172, -1.1903740167617798, -0.2144811749458313, -1.292492389678955, -0.8707830309867859, 0.534493088722229, 1.5376510620117188, -0.6672385334968567, 0.5581555962562561, 0.43013113737106323, -0.3476484715938568, 0.6694638729095459, 0.6568467617034912, -0.32143691182136536, 0.6463294625282288, 0.3207489550113678, 0.0617244616150856, -0.3897002339363098, 0.11195766925811768, -1.733284592628479, 0.9892805814743042, -0.089347705245018, 0.21950554847717285, 0.34668970108032227, 0.11690370738506317, 1.4750714302062988, 0.043692752718925476, 0.03846735134720802, 0.8998634815216064, -0.8289786577224731, 0.22176092863082886, -0.7881470918655396, -0.8829323649406433, 0.40376558899879456, -0.10124479979276657, 0.8899716138839722, -0.025368420407176018, -0.6836581230163574, 0.008491975255310535, -0.5278664827346802, 0.12108075618743896, -0.47247785329818726, 1.34551203250885, 1.3739200830459595, -0.8513779044151306, 0.31847697496414185, -0.05477818101644516, 0.8478774428367615, 0.6911420226097107, -0.4405490458011627, 0.7944790124893188, 0.65263831615448, 0.4643706977367401, -2.5810587406158447, -0.0028390688821673393, -0.24469907581806183, -0.22491276264190674, -0.08248929679393768, -0.27996334433555603, 0.26270943880081177, 0.11130642890930176, 0.18806210160255432, 0.008067899383604527, -0.5503664016723633, 0.21432892978191376, -0.08616824448108673, 0.7596001029014587, -0.5250914096832275, -1.059930443763733, -0.8323042392730713, -0.8739449381828308, -0.06448829919099808, -0.36023178696632385, -0.12563064694404602, 0.6995746493339539, -0.7070661187171936, -0.1597495824098587, 4.195180892944336, 1.9020494222640991}, {0.03047352097928524, -1.1125450134277344, 0.7880509495735168, 1.1817206144332886, 0.12142831832170486, -0.2975846827030182, -0.3686966001987457, -1.1468076705932617, -0.9862943291664124, -1.2721617221832275, -0.12453684210777283, -0.5678439736366272, -0.16883455216884613, 0.2343224734067917, 0.6282404065132141, 0.8544356822967529, 0.04946135729551315, -0.3460930585861206, 0.46172937750816345, 0.6403957009315491, -1.033033847808838, -1.3395798206329346, -0.6991713047027588, -0.27489545941352844, -0.12307765334844589, -1.1270389556884766, 0.18690241873264313, 0.6659674048423767, -0.03605902940034866, 0.9805692434310913, -1.1540188789367676, -0.00795311201363802, -0.9890782237052917, -0.21402254700660706, 0.3979560434818268, 1.1426339149475098, -0.37931686639785767, -0.4108412563800812, 0.22437207400798798, 1.210697889328003, 0.1908516138792038, 0.838974118232727, 0.3842344582080841, -0.9756611585617065, -0.556277334690094, -0.5760576128959656, 0.19155438244342804, 0.4514177143573761, 0.0656469389796257, -0.30017369985580444, 0.7164625525474548, 0.6853781342506409, -0.42182400822639465, 0.329552561044693, 0.44234099984169006, -0.12672491371631622, -0.761872410774231, -0.7356183528900146, -0.4406910836696625, 0.02030649036169052, 0.15092311799526215, -0.8802649974822998, 0.35252732038497925, 0.27284204959869385, 0.3546658754348755, 2.258500814437866, -0.729163646697998, -0.1911262422800064, 0.17315351963043213, -0.7704832553863525, 0.053083986043930054, 0.5492116212844849, 0.5542625188827515, 0.2894223928451538, 0.6003443598747253, 1.0676928758621216, 0.17584122717380524, 0.3785184919834137, -0.6261274814605713, -1.4750105142593384, 0.28338441252708435, 0.1034383475780487, 0.587805449962616, 0.6151353120803833, 1.0790648460388184, -0.14001688361167908, 0.7746316194534302, 0.08033990114927292, 0.3034699559211731, 0.022828441113233566, -0.05860419571399689, -0.502994179725647, -0.33086276054382324, -0.1689845621585846, 0.6399897336959839, 0.6431993246078491, -0.5585875511169434, 0.4948063790798187, 0.7331221103668213, 0.28923991322517395, 0.29365110397338867, 0.7061628103256226, -0.4480454623699188, -0.5263012647628784, -0.013021600432693958, -0.23278214037418365, 0.7503684163093567, 0.6965896487236023, 4.54288387298584, 1.8630832433700562}, {0.7596525549888611, -0.14039331674575806, -0.4447314739227295, 0.26135000586509705, 0.47390586137771606, -1.0565147399902344, -1.0232069492340088, 1.5139268636703491, 0.44448089599609375, -0.7885322570800781, -0.01250801607966423, 0.5001910328865051, -0.391487181186676, -0.4718625545501709, -0.8418741822242737, 0.8182516694068909, 0.01805606111884117, 0.036918871104717255, -0.46997323632240295, 0.260282427072525, -0.3782142996788025, 0.399461567401886, -0.7669337391853333, 0.36640846729278564, 0.4680197834968567, 0.9128555059432983, -1.5837324857711792, -0.21071757376194, 0.8105229139328003, -0.7696729898452759, 0.8672517538070679, -0.3515854477882385, 1.4979134798049927, -0.07702953368425369, 0.0053512840531766415, -0.8356801867485046, 0.179075688123703, 0.11094661056995392, -0.9890339970588684, 2.6554510593414307, -0.43952858448028564, -0.15606626868247986, -1.3830872774124146, 0.14353728294372559, 0.7180154919624329, 0.32813477516174316, -0.7805067896842957, 0.7336214184761047, 0.016884392127394676, 1.240757703781128, -1.72287118434906, -0.044825777411460876, -1.4921046495437622, -1.3016058206558228, 0.6031764149665833, 0.3285706639289856, -0.2467157244682312, 0.46127820014953613, 0.7610918283462524, 0.5514399409294128, 0.7405326962471008, 0.667532205581665, 0.12473027408123016, 0.7367082238197327, -0.3186592161655426, -0.8852486610412598, 1.3505908250808716, 0.5206441879272461, -0.017508624121546745, -0.09355489909648895, 0.7615514993667603, 0.38098597526550293, -0.5334083437919617, -0.16855892539024353, 0.3818947672843933, 0.1614501029253006, -0.42332765460014343, 0.5216349363327026, 0.06966648995876312, 0.5997303128242493, 0.2544194161891937, -1.1578688621520996, -1.3040623664855957, 0.17925332486629486, 0.2644316554069519, 0.7828530669212341, 0.5329943299293518, 1.5819321870803833, -1.2416647672653198, 0.4070030152797699, -0.36985599994659424, 1.8269293308258057, 1.4061760902404785, -0.376690149307251, -0.4525200426578522, 0.5763348340988159, -0.26571500301361084, 0.5271346569061279, 0.1811615526676178, 0.5126528739929199, 0.7067543864250183, 0.11243429034948349, -0.09978300333023071, 0.8596329092979431, 1.192606806755066, -0.4788002669811249, 0.5321585536003113, -0.1608719825744629, 2.1850860118865967, 0.02584502287209034}, {-0.9579931497573853, -0.7990551590919495, -0.06031069904565811, -1.2725580930709839, 0.8436030745506287, 0.4098159968852997, 0.5558700561523438, -0.24763093888759613, 0.7035488486289978, 0.15150612592697144, -0.30937308073043823, -0.08131816238164902, -0.4943496584892273, -0.45177537202835083, 0.18437132239341736, -1.3570643663406372, 1.2346539497375488, 0.35454121232032776, 0.11826334148645401, -1.1621084213256836, -0.527481734752655, -0.17828208208084106, 0.2456297129392624, 0.8188337683677673, -1.6403896808624268, -0.8651398420333862, 0.6341293454170227, -0.519944429397583, 0.3811824917793274, 1.386046051979065, 0.40869033336639404, 0.025714555755257607, -0.33210885524749756, 0.27781665325164795, -0.7288671135902405, 0.2468765377998352, 1.8402295112609863, -0.35513022541999817, -0.05166486278176308, -0.6714619398117065, 0.8434244990348816, 0.24786262214183807, 0.6706404685974121, 0.089655302464962, -0.0404195562005043, -0.26253339648246765, -0.5966404676437378, 0.2090112715959549, 1.3041341304779053, -0.5750354528427124, 0.26908743381500244, 0.2894369959831238, 0.1771998107433319, -0.09432224184274673, 0.820563793182373, -0.6977652311325073, 0.7892830967903137, -0.42411261796951294, 0.4486663043498993, 0.3752841353416443, -1.0685526132583618, -1.3370134830474854, -0.3745098412036896, -0.1745322197675705, 0.5394999384880066, 1.2789114713668823, 0.7790861129760742, -1.0434134006500244, 0.38262230157852173, 0.21070219576358795, -0.002734175883233547, -0.8445820808410645, 1.328507661819458, -0.8513516187667847, 0.2678191065788269, -0.8586820960044861, 0.43171295523643494, 1.171463131904602, 1.0127935409545898, 0.1755751520395279, -0.042405858635902405, 0.14321193099021912, -1.628848910331726, 0.21298804879188538, -0.46601465344429016, -0.6688432097434998, 0.20062564313411713, 0.5325000286102295, -0.1550396978855133, 1.5764260292053223, 1.920399785041809, 0.02222038060426712, -0.17255790531635284, 0.10537213832139969, -1.2833280563354492, -0.561696469783783, -1.0586010217666626, -0.7043724060058594, 0.2320394068956375, -0.9719797372817993, 0.6908278465270996, 1.3436895608901978, -1.6983321905136108, -1.6653730869293213, -1.183022379875183, 0.5089466571807861, 1.4960439205169678, -0.022547196596860886, -1.627776026725769, -3.26358962059021}, {-0.6701814532279968, 0.9106486439704895, 0.38520675897598267, -1.6213464736938477, -0.5133822560310364, 0.4651642441749573, -0.09754252433776855, 0.10185809433460236, 0.36574986577033997, -0.26217979192733765, -0.5533274412155151, -1.2321441173553467, -0.11344387382268906, 0.5447313785552979, 0.2498212456703186, -0.3321358561515808, -0.19861873984336853, 0.01094124000519514, 0.0520913191139698, 0.5714127421379089, 0.42642727494239807, 0.855262815952301, -0.3706203103065491, -0.35763493180274963, -0.6846452355384827, 0.31535595655441284, -0.4934048354625702, 0.5880253911018372, -0.7287130951881409, -0.5586488246917725, 0.0851985290646553, 0.012248587794601917, -0.09788280725479126, 0.21335670351982117, -0.4140355885028839, -0.8837774395942688, 0.5822224617004395, 0.1746879369020462, 0.4988398551940918, -1.0801753997802734, 0.28079941868782043, 0.2907184362411499, -0.3885480463504791, 0.9160067439079285, 1.0228607654571533, -0.5649925470352173, -0.9254084825515747, 0.16102328896522522, -0.3847411274909973, 0.022856218740344048, 0.5295758843421936, 0.4322834312915802, -0.49414390325546265, -0.6563024520874023, 0.9000917673110962, 1.0213936567306519, 0.6455572843551636, 0.3796140253543854, -1.192226767539978, 0.36185094714164734, -0.48902785778045654, 0.5876569747924805, -0.4770626723766327, -0.19302397966384888, -0.5164996385574341, 0.07514648139476776, 1.4425166845321655, 1.7655733823776245, 0.2602611780166626, 0.4338436424732208, -0.5902897119522095, -0.7721635103225708, -1.0748577117919922, 1.9803036451339722, 0.16257978975772858, -0.176489919424057, -0.9974749088287354, 0.8082720041275024, -0.16516652703285217, 0.541235625743866, -0.3264460563659668, -0.2767786979675293, -2.633702039718628, 0.5359435081481934, -0.7714520692825317, 0.5785620808601379, -0.6296345591545105, -1.1273504495620728, -0.9601159691810608, -0.23693031072616577, -0.12685947120189667, 0.9969190359115601, -0.28918030858039856, 0.7786141037940979, -0.1074097603559494, 0.02192080207169056, -0.11880114674568176, 0.49275118112564087, -0.7667713761329651, -0.2265024483203888, 1.718299150466919, -0.5738086700439453, -0.3131898045539856, 1.6029763221740723, 0.2746502757072449, 0.4504353106021881, -1.318354845046997, -0.47600364685058594, 3.8783085346221924, 0.7354798316955566}, {1.1417490243911743, -0.7099812030792236, 1.0005075931549072, -0.21672296524047852, 0.412432998418808, 0.6007360219955444, -0.956391453742981, -0.28642380237579346, -0.9131086468696594, 0.3663128614425659, 0.1454697549343109, 0.8283290863037109, 2.18682861328125, -1.095752477645874, 0.5760275721549988, 0.4124748408794403, 0.04100954160094261, 0.3060368299484253, -0.7003593444824219, -0.15873298048973083, -1.086427927017212, 0.4724545478820801, -0.047155655920505524, 0.2734001874923706, 1.4993301630020142, 0.9550359845161438, 0.46107861399650574, -0.06900998204946518, 1.9406143426895142, 0.29042908549308777, -1.1197835206985474, 0.042362626641988754, 0.8046903610229492, 0.3554127514362335, 0.37010031938552856, -0.12062419205904007, 1.2486279010772705, -0.3775264322757721, 0.5874099731445312, 0.2507956326007843, -0.14872749149799347, 0.11664558947086334, -1.0149048566818237, -1.6759989261627197, -1.0769083499908447, 0.23080354928970337, 0.5339396595954895, -0.5723645687103271, -0.29042667150497437, -0.2591627538204193, -0.1319826990365982, 0.06450051814317703, 0.47705408930778503, 0.9338100552558899, -1.3594096899032593, -0.5032988786697388, 0.04605089873075485, -0.7877801060676575, 0.39251136779785156, 0.3112517297267914, 1.1487624645233154, 0.4180987775325775, 0.32004740834236145, -0.07838216423988342, 1.0488576889038086, -0.07134771347045898, -0.8692680597305298, 0.23454710841178894, 0.4992344379425049, -0.25360342860221863, 0.3072386085987091, 0.895159900188446, 0.2949054539203644, -0.6363114714622498, -0.46916985511779785, 1.5950981378555298, -0.30757611989974976, 1.2456457614898682, -0.5028802156448364, -1.4778082370758057, -1.029905080795288, 0.3071175515651703, 0.6963069438934326, 0.0035037642810493708, 0.7225787043571472, -0.4493740200996399, -0.8464720845222473, 0.9530996680259705, 0.13392992317676544, 2.1276257038116455, -2.015275478363037, -0.4460242986679077, -0.7339915037155151, -0.13584469258785248, 1.126091480255127, -0.5713679194450378, 0.7856823801994324, -0.15637095272541046, -0.6937674880027771, 1.198643445968628, 1.7522611618041992, -0.6219154000282288, -1.486444354057312, 0.6582204699516296, 0.40834710001945496, 0.11472557485103607, -0.09122574329376221, 0.9713703393936157, -1.1804194450378418, -0.6158671975135803}, {-0.524940013885498, -1.1820167303085327, -0.6534036993980408, 0.45135998725891113, -0.47533172369003296, 1.053428292274475, 0.20420198142528534, 0.9799478054046631, -0.1594831347465515, -0.6252825856208801, -0.03809480741620064, 0.4746891260147095, -1.6609381437301636, 0.27128952741622925, -0.46714890003204346, -0.10678227990865707, 0.14095570147037506, 0.0541875921189785, -0.04240719974040985, -1.0004318952560425, -1.0280420780181885, -0.1531272977590561, -0.8280085921287537, -1.0316764116287231, -0.6958003640174866, -0.6503477692604065, -1.3720258474349976, 0.033448539674282074, 0.6102657318115234, -0.6108158826828003, 0.4899178147315979, 0.5665181875228882, 0.8433608412742615, 1.8111937046051025, 0.36487025022506714, -0.3504650294780731, -0.18332290649414062, -0.2623330354690552, 0.24575206637382507, 0.17031767964363098, 1.020271897315979, 0.2884101867675781, 0.7420584559440613, 1.1521251201629639, -0.6287575960159302, 0.12576231360435486, 0.1342303454875946, -0.08915738761425018, -0.34298551082611084, 0.19105054438114166, -0.6731228232383728, 0.7297862768173218, 0.8754703998565674, 0.022956717759370804, 0.2411525398492813, 0.39744070172309875, 0.28503891825675964, 0.8269319534301758, -0.24359990656375885, -1.3835142850875854, -0.8513659834861755, -0.648575484752655, -1.3342469930648804, -1.2538295984268188, -0.3124498426914215, -0.042367398738861084, 0.4656745195388794, 0.04721718654036522, 0.2897355854511261, 1.4626171588897705, -0.2675020396709442, -0.8047378063201904, -0.9963932633399963, 0.018252814188599586, 1.105333685874939, -1.3895913362503052, 1.1921947002410889, -0.3435618579387665, 1.4608210325241089, -0.5177837610244751, 1.780281901359558, -0.1630477011203766, -0.08583729714155197, -0.7416670918464661, -0.7877695560455322, 0.6487290263175964, 0.25013336539268494, -0.6500059962272644, 0.5684233903884888, -0.1758873015642166, -0.01568284071981907, -0.9905593395233154, 0.24930571019649506, 2.1527299880981445, -0.08318142592906952, -0.5317733883857727, -0.47005805373191833, -0.9092002511024475, -1.023254632949829, -2.1766016483306885, -0.9467728734016418, -0.6117218136787415, 1.5387440919876099, 0.17635858058929443, -0.3694790005683899, 0.2016095668077469, -1.1516046524047852, -0.04035080596804619, 2.3371143341064453, 0.10945197939872742}}; const float dense1_biases[DENSE1_NUM] = -{-0.4584914743900299, 0.11577071249485016, 1.3576802015304565, 0.3214845359325409, 2.867307424545288, 0.32918858528137207, -1.4071727991104126, 0.5810971260070801, -1.1862115859985352, 0.748454213142395, -0.010330816730856895}; +{0.028361579403281212, 0.15264764428138733, 0.4385368525981903, 0.8167214393615723, 0.4881526529788971, 0.38105106353759766, 0.6564772129058838, -0.5643848180770874, 0.938140869140625, -0.44591856002807617, 0.2336949110031128}; const float dense2_weights[DENSE2_NUM][DENSE1_NUM] = -{{-1.4969602823257446, -0.6034210920333862, -1.816457748413086, 0.41540759801864624, -0.05323589965701103, 0.6458696722984314, -1.2913364171981812, 0.20979711413383484, 0.1029253676533699, -0.4074774384498596, 1.185938835144043}, {0.02542223408818245, -2.832756519317627, 0.21609655022621155, -1.5964983701705933, -0.35383400321006775, 0.40602150559425354, 0.43417370319366455, -0.22571545839309692, -0.08674632757902145, -0.400297611951828, -0.8437420129776001}, {-0.29658544063568115, -0.3319321870803833, 0.0356934554874897, -1.0804462432861328, -0.5380445718765259, -0.710993230342865, 0.19925521314144135, -1.0814094543457031, 0.5466617345809937, 0.6295486688613892, 1.5794049501419067}, {0.7872546315193176, 0.9218237400054932, 0.06514360010623932, -0.08181627839803696, -0.07285244017839432, -0.23247893154621124, 0.32731983065605164, -0.27316367626190186, -1.0096397399902344, -0.3645459711551666, 0.21568982303142548}, {-0.9690830111503601, -0.34428420662879944, 0.9166867136955261, 0.6313290596008301, 0.9122275114059448, 0.7153491973876953, -0.6661425232887268, 0.5748111009597778, -1.2192516326904297, 0.5107290744781494, 0.5013402104377747}, {0.01929553784430027, 0.061991870403289795, -0.9213714003562927, -0.4389115869998932, -0.23339228332042694, -0.6122246980667114, 0.31772467494010925, -0.16392916440963745, 1.5267611742019653, 1.065213918685913, -1.066608190536499}, {1.232965350151062, -1.2286287546157837, -0.24512693285942078, -0.09169284254312515, -0.49241477251052856, 0.6703866124153137, 0.905476987361908, 0.2842903435230255, 1.3328313827514648, -0.335702508687973, -0.8235505819320679}, {-0.4192759096622467, 0.20187930762767792, 0.08180803805589676, -0.8368447422981262, -0.0534086599946022, -0.600368320941925, 0.7009176015853882, -0.08250505477190018, 1.5310074090957642, -1.1966315507888794, 0.8115485310554504}}; +{{0.005269174464046955, -0.5183584690093994, -0.48228928446769714, -0.10587891936302185, -0.738325297832489, 1.25023353099823, 0.08462369441986084, 0.6376439332962036, -0.9023464322090149, 0.5063923001289368, -0.9497226476669312}, {-0.438839852809906, -0.5348273515701294, 0.111099973320961, -0.4521052837371826, -0.6524456739425659, -0.2980911135673523, -0.0434543676674366, 0.1636778861284256, -0.5096405148506165, -0.169478639960289, -0.6741765737533569}, {-1.5573469400405884, -0.6872786283493042, 0.4021152853965759, 0.28549498319625854, 0.08264102786779404, 0.5662528872489929, 1.2192378044128418, -0.12099184095859528, 0.00409197062253952, -0.3733416199684143, -0.06479119509458542}, {0.009880514815449715, -0.1864091008901596, 0.3711296021938324, 0.8515927791595459, 0.44823169708251953, 0.08088653534650803, 0.17565587162971497, -0.937997579574585, 0.649368166923523, -0.5332916378974915, 0.6443262100219727}, {1.3078621625900269, -1.646144151687622, -0.1556694656610489, -0.020695475861430168, -0.5998504161834717, 0.14132361114025116, 0.40531134605407715, -0.03194556385278702, 0.41566479206085205, -0.8028947114944458, -0.12456294894218445}, {-0.9521133303642273, -0.27410441637039185, -0.32507947087287903, -0.5348300337791443, -0.6005425453186035, 0.10712900012731552, -0.2842693030834198, -0.21020177006721497, -0.23977500200271606, -0.31223613023757935, -0.5725396871566772}, {-0.2079601287841797, -1.2548121213912964, 0.04263779893517494, 1.4051464796066284, 0.4322662949562073, 0.8009835481643677, -0.7179756760597229, -0.6908145546913147, 0.6461816430091858, -0.9815606474876404, 0.2314435839653015}, {0.6522129774093628, 0.8017333149909973, 0.5788679122924805, 0.24354229867458344, 0.44891464710235596, -0.4297429025173187, 0.4111102819442749, -0.5288674235343933, 0.7234879732131958, -0.1575634926557541, 0.4682173728942871}}; const float dense2_biases[DENSE2_NUM] = -{0.7766112685203552, 1.2584985494613647, -2.927600860595703, 0.2171115279197693, 0.6484678983688354, 1.0072442293167114, -3.341115713119507, -2.5701966285705566}; +{1.072114109992981, -0.16629783809185028, -0.6730525493621826, 0.22809934616088867, -0.6621718406677246, -0.24386928975582123, -0.033539943397045135, 0.19298000633716583}; const float output_weights[DENSE2_NUM] = -{0.12610523402690887, 0.5678213238716125, -0.1519734114408493, -0.1338711977005005, 0.15347623825073242, -0.13331052660942078, -0.13666824996471405, -0.11856996268033981}; +{0.19723401963710785, 0.4691760241985321, -0.23346777260303497, -0.11248059570789337, 0.22997352480888367, -0.5128190517425537, -0.26372289657592773, -0.19478470087051392}; const float output_bias = -0.13536010682582855; +0.5556163787841797; diff --git a/src/train5.py b/src/train5.py index 5c45564..2fc0d6f 100644 --- a/src/train5.py +++ b/src/train5.py @@ -3,7 +3,6 @@ import pandas as pd import numpy as np # Output of weights -import re from tensorflow import transpose # Custom activation function @@ -33,6 +32,16 @@ def clipped_pade_logistic(x): return clip_by_value(divide(val, k(24.0)), 0.0, 1.0) +# A cheaper version of tanh, x/6+25*x/(6*(2*x*x+5)), +# clipped between -1 and 1. +def clipped_pade_tanh(x): + val = add(divide(x, k(6.0)), + multiply(k(25.0), + divide(x, multiply(k(6.0), add(k(5.0), + multiply(k(2.0), square(x))))))) + return clip_by_value(val, -1.0, 1.0) + + def make_model(size, magic=[12, 9, 9]): # Our model for the stacks, a small CNN stack_shape = (size, size, 6) @@ -51,6 +60,8 @@ def make_model(size, magic=[12, 9, 9]): model = Model(inputs=[stack_model.input, flats_input], outputs=model) model.compile(optimizer='adam', loss='mean_squared_error', + # loss='mean_absolute_error', + # loss='mean_absolute_percentage_error', metrics=['accuracy']) model.summary() return model @@ -75,6 +86,7 @@ def load_data(size): val_outcome = val_data.iloc[:, -1:] return [(training_input, training_outcome), (val_input, val_outcome)] + def train(size, model, data, iterations=1, epochs=10): (training_input, training_outcome), (val_input, val_outcome) = data results = [] @@ -84,7 +96,7 @@ def train(size, model, data, iterations=1, epochs=10): validation_data=(val_input, val_outcome), verbose=True) v_loss, v_accuracy = model.evaluate(val_input, val_outcome, - verbose=False, batch_size=32) + verbose=False, batch_size=16) t_loss, t_accuracy = model.evaluate(training_input, training_outcome, verbose=False, batch_size=32) results += [((v_loss, t_loss), (v_accuracy, t_accuracy))] @@ -112,18 +124,21 @@ def magic_search(data): def write_weights(model): def fix(val): - string = str(val.tolist()) + string = str(np.array(val).tolist()) string = string.replace("[", "{").replace("]", "}") return string - # Prepare everything in a sane memory order - conv2d_weights = np.array(transpose(model.trainable_variables[0], perm=[3, 1, 0, 2])) - conv2d_biases = np.array(model.trainable_variables[1]) - dense1_weights = np.array(transpose(model.trainable_variables[2], perm=[1, 0])) - dense1_biases = np.array(model.trainable_variables[3]) - dense2_weights = np.array(transpose(model.trainable_variables[4], perm=[1, 0])) - dense2_biases = np.array(model.trainable_variables[5]) - output_weights = np.array(transpose(model.trainable_variables[6], perm=[1, 0])[0]) - output_bias = np.array(model.trainable_variables[7][0]) + # Prepare everything in a sane memory order This isn't exactly in + # the correct order that tensorflow uses, because memory access + # out of order is an eyesore. Compared to tensorflow, the C + # implementation has the board reflected about the diagonal. + conv2d_weights = transpose(model.trainable_variables[0], perm=[3, 0, 1, 2]) + conv2d_biases = model.trainable_variables[1] + dense1_weights = transpose(model.trainable_variables[2], perm=[1, 0]) + dense1_biases = model.trainable_variables[3]) + dense2_weights = transpose(model.trainable_variables[4], perm=[1, 0]) + dense2_biases = model.trainable_variables[5]) + output_weights = transpose(model.trainable_variables[6], perm=[1, 0])[0] + output_bias = model.trainable_variables[7][0] # Prepare formatting names = ["conv2d_weights[KERN_NUM][KERN_SIZE][KERN_SIZE][KERN_CHAN]", "conv2d_biases[KERN_NUM]", @@ -146,10 +161,12 @@ def write_weights(model): data = load_data(5) -model = make_model(5, [12, 9, 10]) -results = train(5, model, data, iterations=20, epochs=10) +model = make_model(5, [12, 11, 8]) +results = train(5, model, data, iterations=5, epochs=10) print("\nScores") for i in range(len(results)): - print("Iteration {0}: {1}".format(i+1, results[i])) + print("Iteration {0}: {1}".format(i+1, results[i])) write_weights(model) + +# results = magic_search(data) |
