layers = {"0": {"config": {"units": 24, "activation": "relu"}, "weights": [[-0.07490216940641403, 0.058218374848365784, 0.12166337668895721, -0.0831514298915863, -0.06745430082082748, 0.043039582669734955, 0.1595165729522705, -0.00969928689301014, 0.2125179022550583, -0.2757865786552429, 0.06841134279966354, 0.27849552035331726, 0.12155129760503769, 0.051117051392793655, -0.18650993704795837, 0.12486591935157776, 0.16259311139583588, 0.28878557682037354, -0.20612269639968872, -0.17117489874362946, 0.0651673749089241, -0.10161411762237549, 0.031356170773506165, 0.42113640904426575], [-0.17447412014007568, -0.3284655213356018, 0.13910920917987823, 0.22350414097309113, 0.06952732056379318, 0.24163208901882172, -0.3552614450454712, 0.00651803333312273, 0.08976414054632187, -0.04760346934199333, -0.20452441275119781, -0.1596643477678299, 0.11237113922834396, -0.10018511116504669, 0.19027245044708252, -0.26242294907569885, -0.21542823314666748, -0.04995713382959366, -0.03297688066959381, 0.3864060044288635, -0.10857315361499786, 0.4093780219554901, -0.012424825690686703, -0.7987530827522278], [0.005453059449791908, 0.2177499234676361, 0.1894073188304901, 0.2282174676656723, -0.13712750375270844, -0.10519849509000778, 0.152388334274292, -0.12994107604026794, -0.1462545096874237, -0.1946830302476883, -0.16000807285308838, -0.3162415027618408, 0.1355356127023697, -0.19816187024116516, -0.19503509998321533, 0.3403705656528473, -0.24329593777656555, 0.3231072723865509, -0.11855337023735046, 0.19584901630878448, 0.208649680018425, -0.1375511884689331, 0.09533373266458511, 0.5325056910514832], [-0.22144997119903564, 0.06853947788476944, 0.12777304649353027, -0.26142123341560364, 0.061929333955049515, 0.24167054891586304, -0.029366837814450264, 0.3630479574203491, 0.01030715275555849, 0.11534611135721207, -0.2445605844259262, 0.0943654254078865, 0.061335593461990356, 0.10915403813123703, -0.007804221473634243, -0.16407592594623566, 0.15140031278133392, -0.22798563539981842, 0.13745509088039398, -0.32315802574157715, 0.2867644131183624, -0.19237421452999115, -0.1272328794002533, 0.2072739601135254], [0.19187431037425995, 0.4562070071697235, 0.26627296209335327, -0.011371122673153877, 0.28877773880958557, -0.18925555050373077, 0.2162804752588272, -0.026111671701073647, -0.025039684027433395, -0.09441196918487549, -0.2998514175415039, -0.08868434280157089, -0.05785084515810013, -0.16934919357299805, 0.01285143755376339, 0.22550038993358612, -0.023623090237379074, 0.03482295572757721, 0.06873926520347595, -0.11975190788507462, -0.0410836823284626, 0.2234405130147934, 0.024217335507273674, -0.538557767868042], [-0.11047068238258362, -0.030279800295829773, -0.23187771439552307, -0.31168708205223083, -0.28916534781455994, -0.31662634015083313, -0.09331484138965607, 0.1642061322927475, -0.32415491342544556, 0.18633513152599335, -0.09582080692052841, 0.1542123705148697, 0.12369640916585922, 0.13047794997692108, -0.15308812260627747, -0.280661016702652, 0.1887063831090927, 0.4236159920692444, 0.07791599631309509, 0.28654760122299194, 0.1846710443496704, 0.39956003427505493, -0.1739034652709961, -0.29116302728652954], [0.34853821992874146, 0.24646568298339844, 0.048671454191207886, -0.02934171073138714, -0.09354473650455475, -0.22937165200710297, -0.15611501038074493, 0.1330890953540802, 0.39354240894317627, -0.28797850012779236, -0.30188897252082825, -0.13582488894462585, 0.11744285374879837, 0.2776845097541809, 0.10751688480377197, -0.13165903091430664, 0.22362439334392548, -0.3157009184360504, -0.25003957748413086, -0.06266643851995468, -0.0457145981490612, -0.15641272068023682, 0.058811936527490616, -0.4232783913612366], [0.08535047620534897, 0.06276856362819672, 0.2187679409980774, 0.15184926986694336, 0.20064112544059753, -0.35420969128608704, 0.07287240773439407, 0.034984689205884933, -0.24314908683300018, 0.05896131321787834, 0.13285662233829498, 0.21019454300403595, -0.1169779971241951, 0.19663654267787933, 0.28808656334877014, -0.07840941846370697, -0.37670132517814636, -0.48267653584480286, -0.43777042627334595, -0.22772563993930817, 0.33635473251342773, -0.21454006433486938, 0.3965604901313782, 0.560351550579071], [-0.13055190443992615, 0.1636948585510254, -0.1898110955953598, -0.16176147758960724, -0.19142267107963562, 0.1148531585931778, 0.2717132270336151, 0.15829962491989136, 0.31095290184020996, -0.3366871476173401, -0.06945933401584625, 0.1596554070711136, 0.08341176062822342, 0.1229066327214241, 0.11173808574676514, 0.20160050690174103, -0.27599528431892395, -0.2398213893175125, -0.2494039684534073, 0.08233285695314407, 0.07216829061508179, 0.20565098524093628, -0.28017526865005493, -0.4537055492401123], [-0.2308414876461029, 0.4057208299636841, -0.10032577812671661, 0.06646741181612015, -0.14028112590312958, -0.2242497205734253, -0.37627264857292175, 0.10491059720516205, 0.3477398157119751, -0.057368725538253784, 0.23577742278575897, 0.08462215960025787, 0.1385289430618286, 0.322851300239563, 0.11288507282733917, -0.31999799609184265, 0.04637768119573593, -0.15022559463977814, -0.3259139657020569, -0.03818937763571739, -0.0796361193060875, -0.2931288778781891, 0.14031828939914703, -0.011092686094343662], [-0.14809733629226685, -0.17976972460746765, -0.3543408215045929, 0.2920914888381958, -0.249602273106575, 0.04820432513952255, 0.10750304907560349, -0.028827114030718803, 0.12138844281435013, 0.17751511931419373, -0.28740018606185913, 0.2620806396007538, 0.25747576355934143, 0.07723310589790344, -0.3377534747123718, 0.10958410799503326, -0.34153085947036743, -0.1522996723651886, -0.14634446799755096, 0.0455419085919857, -0.2581520974636078, -0.16419677436351776, 0.14323335886001587, 0.6907575130462646], [0.4066964089870453, 0.19301436841487885, -0.2933657467365265, 0.07079756259918213, 0.10280826687812805, -0.28479164838790894, 0.02279566414654255, -0.04831163212656975, 0.08056779205799103, 0.1221899539232254, -0.3093852996826172, -0.11348599195480347, 0.2534470558166504, -0.17108774185180664, -0.13750536739826202, 0.4093814790248871, -0.026016131043434143, 0.10009381175041199, -0.17060835659503937, 0.09646712988615036, -0.029841458424925804, -0.24574995040893555, -0.17902536690235138, -0.48138266801834106], [-0.09449547529220581, 0.3260651230812073, -0.13610097765922546, -0.35490095615386963, -0.14415067434310913, -0.3747856914997101, 0.046609777957201004, 0.10389522463083267, 0.29575231671333313, -0.005541181657463312, 0.11039433628320694, 0.12898977100849152, -0.3253779411315918, 0.38402730226516724, 0.16323833167552948, 0.03291656821966171, 0.30754876136779785, 0.37054625153541565, -0.1493436098098755, -0.21180200576782227, -0.003619028488174081, -0.1670861691236496, 0.1429852992296219, -0.6681510806083679], [0.244237020611763, -0.3565452992916107, 0.2012631595134735, 0.09351198375225067, 0.06785847991704941, 0.10026580095291138, -0.09750209748744965, -0.2776261568069458, -0.17389555275440216, -0.04994545876979828, -0.13799726963043213, -0.2400638908147812, 0.08579356968402863, -0.253055602312088, 0.03768047317862511, -0.05477439612150192, -0.0075884307734668255, -0.046194013208150864, -0.017026690766215324, 0.11500432342290878, 0.06010967120528221, -0.05786202847957611, -0.1455165296792984, 0.5456179976463318], [-0.17385415732860565, -0.05048879608511925, 0.10336486250162125, 0.10241437703371048, -0.0030332040041685104, 0.060141533613204956, 0.3521108329296112, 0.17487755417823792, -0.04908028244972229, 0.20472024381160736, -0.21409106254577637, 0.06747878342866898, 0.09664169698953629, 0.12483760714530945, 0.06913929432630539, -0.029326312243938446, -0.11919150501489639, -0.04725496098399162, -0.02434670180082321, 0.2016953080892563, -0.10806248337030411, 0.17011557519435883, 0.18473540246486664, 0.47840219736099243], [-0.16236668825149536, 0.321590393781662, -0.13684500753879547, -0.14455646276474, 0.07472927868366241, 0.3315134346485138, -0.26143643260002136, 0.20565760135650635, -0.17431950569152832, -0.33913350105285645, -0.007542557083070278, 0.22660236060619354, -0.19044890999794006, 0.23194971680641174, -0.24366721510887146, -0.04989590868353844, 0.35262495279312134, 0.5375680327415466, 0.023039301857352257, 0.00999178271740675, -0.07917436212301254, -0.19672730565071106, -0.4028405547142029, -0.007435937412083149], [0.09515607357025146, 0.3172382116317749, 0.312235563993454, -0.07892658561468124, -0.05679461732506752, -0.0058531793765723705, 0.05582933872938156, -0.08004269748926163, -0.3104605972766876, -0.0020141557324677706, -0.26921868324279785, 0.13569100201129913, 0.21218721568584442, 0.14074435830116272, -0.18076585233211517, -0.1481422483921051, -0.3066752552986145, -0.04213615134358406, 0.014834074303507805, -0.0895288810133934, 0.1621495932340622, 0.2269277423620224, 0.09385588765144348, -0.10895146429538727], [-0.15977290272712708, 0.028204120695590973, 0.09684576839208603, 0.03514210879802704, 0.40482887625694275, -0.020837649703025818, 0.14740906655788422, 0.20272457599639893, -0.2888490855693817, -0.16134615242481232, -0.05526214838027954, -0.10519984364509583, -0.05662195384502411, 0.011966142803430557, -0.17888660728931427, -0.42152100801467896, 0.14696601033210754, -0.22727860510349274, 0.3327520787715912, -0.35807833075523376, -0.08837312459945679, 0.16160689294338226, -0.23997192084789276, 0.7767200469970703], [-0.27503934502601624, 0.20008374750614166, -0.020429298281669617, -0.25445470213890076, 0.26507994532585144, -0.28928259015083313, -0.15156030654907227, 0.024549074470996857, -0.014984254725277424, 0.18359242379665375, 0.23233748972415924, 0.27530455589294434, 0.13316291570663452, 0.19258558750152588, 0.0598323680460453, 0.279396116733551, 0.0007675211527384818, 0.18774177134037018, 0.27473896741867065, -0.31598150730133057, 0.16166400909423828, 0.043512340635061264, 0.13681328296661377, 0.31611567735671997], [0.08825969696044922, 0.016437752172350883, -0.14439666271209717, -0.24826526641845703, 0.07351179420948029, 0.30448123812675476, -0.026669403538107872, 0.2701296806335449, 0.05361282080411911, 0.3420284390449524, -0.1192808523774147, -0.22365505993366241, -0.3461223542690277, -0.012077589519321918, 0.2803058624267578, 0.19259759783744812, 0.17120735347270966, 0.05719200521707535, 0.4098261892795563, 0.23179520666599274, -0.24151672422885895, 0.25998079776763916, -0.08905147016048431, 0.6643639206886292], [-0.2933739125728607, 0.11639472097158432, 0.24523574113845825, -0.039775654673576355, 0.26199162006378174, 0.07209926098585129, -0.07584609091281891, 0.14705699682235718, 0.3156958222389221, -0.19206680357456207, -0.057788051664829254, 0.23702660202980042, -0.15152667462825775, -0.2143763154745102, 0.12875927984714508, -0.22539064288139343, -0.25445279479026794, 0.28824329376220703, -0.029844142496585846, 0.4174245595932007, -0.04191739484667778, -0.07407279312610626, -0.03422679007053375, -0.15495775640010834], [-0.1328718513250351, 0.21162553131580353, -0.3877776265144348, 0.14918635785579681, -0.03662567213177681, -0.253265917301178, 0.19413024187088013, -0.11693724244832993, 0.24389174580574036, 0.0719151496887207, 0.24859365820884705, -0.12004169076681137, -0.24944554269313812, 0.20296379923820496, -0.3624346852302551, 0.13328325748443604, -0.24260613322257996, -0.10200438648462296, 0.14555662870407104, -0.18488717079162598, -0.1289518028497696, -0.30269208550453186, -0.17284908890724182, -0.9382287859916687], [0.1912500113248825, 0.3269822895526886, -0.13873305916786194, 0.1062440350651741, -0.12122458219528198, -0.2016574740409851, 0.10912513732910156, 0.2661730945110321, -0.3471662104129791, 0.040871430188417435, 0.15221743285655975, 0.17349255084991455, -0.28816258907318115, -0.2134900540113449, -0.29804375767707825, 0.039406388998031616, -0.19916561245918274, -0.021619321778416634, 0.10291136801242828, 0.3218679428100586, 0.23431016504764557, 0.34029620885849, -0.1583942174911499, 0.06460598111152649], [-0.19931769371032715, 0.19976267218589783, -0.1199672594666481, -0.14720672369003296, 0.2536621391773224, 0.11238955706357956, 0.27274179458618164, 0.14807343482971191, -0.13570161163806915, 0.33527716994285583, -0.30082499980926514, -0.1238202303647995, -0.041454460471868515, 0.2448071986436844, 0.2076094001531601, -0.010193651542067528, -0.09343170374631882, 0.42238733172416687, -0.11720787733793259, -0.09653353691101074, 0.3757595121860504, 0.12185987830162048, -0.11638637632131577, -0.298789918422699]], "biases": [0.03360040858387947, 0.11192743480205536, -0.3404548466205597, -0.052927374839782715, 0.8351439237594604, 0.7286661863327026, -0.329541951417923, -0.2870289087295532, 0.9570156931877136, 1.1639175415039062, -0.18986526131629944, 0.35264113545417786, 0.6149159073829651, 0.593590497970581, 0.08277616649866104, 0.26621994376182556, -0.39146915078163147, 0.19399727880954742, 0.5082374215126038, 0.370339959859848, 0.5548776984214783, 0.5024480819702148, 0.8666266202926636, 0.8093723058700562]}, "1": {"config": {"units": 18, "activation": "relu"}, "weights": [[0.2799732983112335, 0.046432625502347946, 0.05806182697415352, 0.0455886572599411, -0.18123400211334229, 0.14812827110290527, 0.007812888361513615, 0.147916778922081, 0.18578901886940002, -0.013443917967379093, -0.0525403693318367, -0.21735624969005585, -0.5070263743400574, 0.2780635952949524, -0.015511780045926571, 0.07742582261562347, -0.08009402453899384, -0.023901112377643585, 0.18848350644111633, 0.4230183959007263, 0.2546652853488922, -0.3366773724555969, -0.16264532506465912, 0.2919643819332123], [0.004557705484330654, 0.19084532558918, -0.5596134066581726, 0.3086758852005005, 0.07546563446521759, -0.05255685746669769, 0.34640389680862427, 0.6643596291542053, 0.36263522505760193, 0.2766905426979065, -0.5977713465690613, -0.08244530856609344, 0.18945768475532532, 0.17764025926589966, 0.14160579442977905, 0.02810368314385414, 0.2536039650440216, -0.09304352104663849, 0.17958126962184906, -0.2940475344657898, -0.18421193957328796, 0.2118365615606308, -0.5304911732673645, -0.05317175015807152], [0.4018692970275879, -0.3297519087791443, 0.1991720050573349, 0.13157878816127777, -0.09008100628852844, 0.14098235964775085, -0.3114383816719055, -0.23701295256614685, -0.050951313227415085, 0.388997882604599, 0.22705815732479095, 0.12029619514942169, -0.03191385790705681, 0.06318923085927963, 0.37905117869377136, 0.07485224306583405, -0.23364588618278503, 0.19761881232261658, -0.14638681709766388, 0.3163263201713562, 0.023688947781920433, -0.006321237422525883, -0.0005658242735080421, 0.1152787134051323], [0.14252878725528717, 0.34787026047706604, -0.32482513785362244, 0.1758151650428772, 0.3409793972969055, 0.1714126169681549, 0.1339397132396698, 0.0016494295559823513, 0.07129231095314026, -0.04589426517486572, -0.1567855179309845, 0.08460380882024765, 0.4781794250011444, -0.10430807620286942, -0.2871016561985016, -0.14225783944129944, -0.027758898213505745, 0.07270294427871704, -0.1572524607181549, 0.03361885994672775, 0.07356654852628708, 0.4889845550060272, 0.42952480912208557, 0.3678889274597168], [-0.12825076282024384, -0.33836305141448975, -0.059896256774663925, -0.1609119325876236, -0.3423246741294861, -0.2029046267271042, 0.0016786990454420447, -0.2602345049381256, -0.36385634541511536, -0.02379455976188183, 0.1937040090560913, -0.1885266751050949, 0.19716711342334747, -0.10412858426570892, -0.10312855243682861, -0.23502255976200104, -0.0248312558978796, 0.10672216862440109, 0.0931021049618721, -0.05194132775068283, 0.13757061958312988, -0.10643430054187775, -0.024001995101571083, -0.38677746057510376], [-0.7050923705101013, 0.022677049040794373, 0.004625761415809393, -0.26732802391052246, 0.23411381244659424, -0.07521892338991165, 0.22429829835891724, -0.2074732780456543, 0.04297605901956558, -0.32775381207466125, 0.3230661451816559, -0.05385703220963478, -0.25482386350631714, 0.29093778133392334, 0.03129913657903671, 0.23581913113594055, -0.2740669548511505, 0.30332300066947937, -0.11477027833461761, -0.2227238565683365, -0.04849885776638985, -0.4381154775619507, -0.1879909336566925, -0.17191167175769806], [0.30593663454055786, 0.16347000002861023, -0.3898956775665283, -0.06974411755800247, 0.16002510488033295, 0.052972033619880676, 0.29845383763313293, 0.63233482837677, 0.010406916961073875, 0.1691756695508957, 0.040709640830755234, 0.3627350628376007, 0.1508326232433319, -0.25402435660362244, 0.12903238832950592, 0.20224116742610931, -0.1406272053718567, 0.01819632761180401, 0.11503362655639648, -0.30258166790008545, -0.32153865694999695, 0.03368990868330002, -0.3602147400379181, -0.21230655908584595], [-0.30578091740608215, -0.1719178408384323, 0.028457432985305786, -0.03645035997033119, 0.12960557639598846, -0.3592510223388672, -0.09434740245342255, -0.4877512753009796, -0.31370773911476135, -0.09527815133333206, -0.07555019855499268, 0.19734980165958405, 0.38557109236717224, -0.3554078936576843, -0.41414210200309753, 0.38154348731040955, -0.4811941981315613, 0.20837201178073883, 0.03888579085469246, 0.3895125091075897, -0.2011156976222992, 0.03909311071038246, -0.17623087763786316, 0.005902992561459541], [0.2224758118391037, 0.09941887855529785, -0.4483110010623932, 0.20131219923496246, -0.2681264877319336, 0.11060424149036407, -0.750056803226471, -0.00948166474699974, -0.4538152813911438, 0.25302648544311523, 0.09679275006055832, -0.24968698620796204, 0.0691743940114975, 0.061542268842458725, -0.25124213099479675, 0.09018948674201965, 0.2254895269870758, -0.2825144827365875, -0.14848975837230682, 0.07578032463788986, 0.08112578094005585, -0.34002870321273804, 0.3537316918373108, 0.016619600355625153], [0.3676820695400238, -0.35088348388671875, 0.0008873466867953539, 0.21606016159057617, 0.07317107170820236, 0.32609426975250244, -0.20121154189109802, 0.3741198480129242, -0.02061864174902439, 0.34009256958961487, 0.07173164933919907, 0.21820154786109924, 0.10651817172765732, 0.292625367641449, 0.14787013828754425, -0.22767692804336548, 0.05177658423781395, 0.5949285626411438, 0.2158219814300537, 0.4449974298477173, -0.145646333694458, -0.0723857656121254, 0.4469757080078125, -0.1716604232788086], [0.09078950434923172, 0.28382638096809387, -0.33175215125083923, -0.07831951975822449, 0.5001713633537292, 0.2308538258075714, -0.28742027282714844, -0.5794928669929504, -0.22580327093601227, -0.2533574402332306, -0.6602980494499207, 0.16267414391040802, 0.4609593152999878, 0.012395234778523445, -0.12127720564603806, -0.04560644552111626, -0.10859614610671997, -0.4391495883464813, 0.12522774934768677, -0.035244911909103394, 0.045224059373140335, 0.12131376564502716, -0.11828957498073578, 0.3084774315357208], [0.16108419001102448, -0.4390054941177368, -0.43206197023391724, 0.009661952964961529, 0.03868642821907997, -0.20959864556789398, 0.11932577192783356, -0.01136405486613512, -0.03854004293680191, 0.14903229475021362, 0.398609459400177, -0.04059172421693802, -1.0659222602844238, -0.47203415632247925, 0.1022801548242569, 0.057037353515625, 0.11502617597579956, 0.3740144670009613, -0.6574548482894897, 0.04287147521972656, -0.13064657151699066, 0.02160388045012951, 0.045364268124103546, -0.08935704082250595], [0.0011951746419072151, -0.6794154047966003, -0.28165867924690247, 0.12610352039337158, 0.14774702489376068, 0.0020165187306702137, -0.5254912972450256, 0.11408425122499466, 0.11755100637674332, -0.12301599979400635, -0.1452169567346573, -0.22200216352939606, -0.3058924973011017, 0.32060694694519043, 0.27331751585006714, 0.011922581121325493, 0.08894547820091248, -0.24267679452896118, 0.312036395072937, -0.1935514211654663, -0.01846432127058506, 0.06012418493628502, -0.04043855518102646, 0.10777322947978973], [-0.16930776834487915, 0.16853636503219604, -0.17961598932743073, 0.29346132278442383, -0.19824615120887756, 0.11702375113964081, -0.16556695103645325, 0.19431951642036438, 0.04422294721007347, 0.1871078908443451, -0.4135269820690155, 0.16652391850948334, -0.040012288838624954, 0.1661352515220642, -0.17132534086704254, 0.0913756787776947, 0.12888818979263306, -0.06192418187856674, 0.49008604884147644, -0.33052152395248413, 0.12738163769245148, 0.24810278415679932, -0.021142128854990005, 0.2200351059436798], [0.07419377565383911, -0.1551976501941681, -0.16966283321380615, -0.12469054013490677, 0.09402478486299515, -0.6129239797592163, 0.2389984130859375, 0.425290048122406, 0.15248416364192963, -0.017220059409737587, 0.1867465227842331, -0.17089194059371948, 0.4138449430465698, 0.18062876164913177, 0.16426390409469604, -0.40716516971588135, 0.2149610072374344, 0.44831207394599915, 0.06716180592775345, -0.23195937275886536, 0.09864319115877151, -0.10655022412538528, -0.09912814944982529, -0.16945780813694], [-0.09693080931901932, -0.2430046796798706, 0.2521938681602478, -0.05065826699137688, -0.0710817277431488, 0.13424955308437347, -0.13110361993312836, 0.07351955771446228, -0.21148139238357544, 0.04390622302889824, 0.2625828981399536, 0.3514251112937927, 0.049614306539297104, -0.07194302976131439, 0.097410187125206, 0.0741833746433258, -0.2161693423986435, 0.030675111338496208, 0.06628765165805817, 0.04919268563389778, -0.037288978695869446, 0.03949153050780296, 0.043736781924963, 0.12757425010204315], [0.2615373730659485, -0.2566685974597931, -0.13865730166435242, -0.23323264718055725, -0.07267750054597855, 0.24910980463027954, 0.27922317385673523, 0.19755499064922333, -0.1445857286453247, 0.16449286043643951, -0.19396436214447021, -0.2982252538204193, -0.4495599865913391, 0.34560805559158325, 0.2707635760307312, 0.012868000194430351, 0.07938382029533386, -0.05837823823094368, 0.32949909567832947, -0.046242862939834595, -0.1871768981218338, -0.035910192877054214, 0.14096754789352417, 0.1676543653011322], [0.22885948419570923, -0.26662442088127136, 0.31588074564933777, 0.13319049775600433, 0.32894161343574524, 0.04499641805887222, -0.9215368628501892, 0.07542432844638824, 0.34033533930778503, 0.23022764921188354, 0.022093970328569412, -0.042866334319114685, 0.052451882511377335, -0.31768491864204407, -0.3984587788581848, 0.5268674492835999, 0.3377286195755005, -0.30349960923194885, -0.3043459951877594, 0.04430416598916054, -0.6633937358856201, 0.029834192246198654, 0.15017835795879364, -0.3324475586414337]], "biases": [0.4798772931098938, 0.35684463381767273, 0.4444301426410675, 0.4337306320667267, -0.2653876841068268, 0.38423821330070496, 0.2503220736980438, 0.058694202452898026, 0.3080165386199951, 0.4349636137485504, 0.8479465246200562, 0.1054283082485199, 0.7119702696800232, 0.15849022567272186, 0.33969593048095703, -0.04607758671045303, 0.2917986214160919, 0.27090853452682495]}, "2": {"config": {"units": 12, "activation": "linear"}, "weights": [[-0.013372352346777916, -0.0045703803189098835, 0.1016782820224762, -0.41587355732917786, 0.2104475051164627, -0.31793367862701416, -0.1100149154663086, -0.08597574383020401, -0.07185687124729156, 0.2967756688594818, -0.08678292483091354, -0.10168755799531937, -0.20796771347522736, -0.2276286482810974, 0.02851371094584465, 0.28533655405044556, 0.1868605613708496, 0.06503599882125854], [0.2916117310523987, -0.13227450847625732, -0.15958017110824585, -0.42635253071784973, -0.03482068330049515, -0.4465561509132385, 0.062069520354270935, -0.07904960215091705, 0.026178106665611267, 0.4492534399032593, -0.14953984320163727, -0.08263000845909119, -0.21581332385540009, -0.15208077430725098, -0.062234435230493546, 0.006193095352500677, -0.060770489275455475, 0.09710510075092316], [0.14681163430213928, -0.09283377975225449, 0.12573683261871338, -0.36491018533706665, 0.3343183696269989, -0.3514159917831421, -0.14216305315494537, -0.075995072722435, 0.11732947081327438, 0.2767631709575653, -0.20963254570960999, -0.02791755646467209, -0.14598765969276428, -0.11138124763965607, 0.09612278640270233, 0.18433888256549835, -0.008905189111828804, 0.14705991744995117], [0.3958977460861206, -0.0020999654661864042, -0.12334724515676498, -0.3042090833187103, -0.3439222276210785, -0.463498055934906, -0.2769884467124939, 0.003767808433622122, 0.3982474207878113, 0.36561307311058044, -0.2340187430381775, 0.022091403603553772, -0.1522236317396164, -0.2382371723651886, -0.006968744099140167, 0.22828269004821777, -0.22627203166484833, 0.12370298057794571], [0.096628837287426, -0.08129310607910156, 0.3354986608028412, -0.18702605366706848, -0.2719017267227173, -0.3541736304759979, -0.3992621898651123, 0.06313642859458923, 0.4382147789001465, 0.10861839354038239, -0.27312222123146057, 0.1853436380624771, -0.22137866914272308, -0.20583570003509521, 0.12367033958435059, 0.13530175387859344, 0.14417366683483124, 0.13589715957641602], [-0.06445830315351486, -0.18253490328788757, 0.5282664895057678, -0.17816656827926636, 0.4329250156879425, -0.19051045179367065, -0.24262583255767822, -0.01813187450170517, 0.46984854340553284, 0.11299512535333633, -0.2944183349609375, 0.30246469378471375, -0.1454833745956421, -0.18621310591697693, -0.023435499519109726, -0.2212807834148407, 0.22935110330581665, 0.24984656274318695], [0.17106162011623383, -0.14863519370555878, 0.37788593769073486, -0.208713099360466, -0.28407058119773865, -0.17623187601566315, -0.29768648743629456, 0.14598830044269562, 0.6121864914894104, 0.15491004288196564, -0.3356291949748993, 0.5409637689590454, -0.015253918245434761, -0.09074361622333527, -0.1253521740436554, -0.2287670075893402, -0.05636833980679512, 0.43974918127059937], [0.24511708319187164, -0.27872735261917114, 0.2888001501560211, -0.08727632462978363, -0.15127287805080414, -0.2571928799152374, -0.2915673553943634, 0.3227445185184479, 0.6843128204345703, -0.04595302417874336, -0.4255589246749878, 0.7297706007957458, -0.12954352796077728, -0.12579259276390076, -0.04344139248132706, 0.06399867683649063, 0.21230213344097137, 0.5687394142150879], [0.08151359111070633, 0.07733643800020218, 0.15698231756687164, -0.20090359449386597, 0.012231072410941124, -0.11983255296945572, -0.5425881147384644, 0.4735037088394165, 0.7573454976081848, 0.1429833620786667, -0.4173523485660553, 0.717461884021759, 0.41163116693496704, -0.18580353260040283, -0.26886481046676636, 0.33726242184638977, -0.11767419427633286, 0.5868731141090393], [0.14857137203216553, -0.3925069272518158, 0.1740226298570633, -0.15413077175617218, 0.1059083640575409, -0.1965186893939972, -0.05659697577357292, 0.5899012684822083, 0.5420532822608948, 0.038047950714826584, -0.46315670013427734, 0.6705584526062012, 0.1638520509004593, -0.023851828649640083, -0.23515014350414276, -0.15489216148853302, 0.244004026055336, 0.6497194170951843], [0.3812825381755829, -0.5671072006225586, 0.12409552186727524, -0.14105477929115295, -0.1244954764842987, -0.26247259974479675, 0.05795522406697273, 0.6196399927139282, 0.5813969373703003, -0.06299351900815964, -0.47674456238746643, 0.7109876871109009, 0.0654345452785492, 0.1039450392127037, -0.12079103291034698, -0.20938372611999512, 0.2221306711435318, 0.7827172875404358], [0.26842451095581055, -0.34290367364883423, 0.07419390976428986, -0.1198752149939537, -0.2762203812599182, -0.2517329454421997, -0.1376418173313141, 0.8837518095970154, 0.6818222403526306, -0.04099045693874359, -0.45641592144966125, 0.8176816701889038, 0.16421735286712646, -0.0778980627655983, -0.2076803743839264, -0.0026951925829052925, 0.2556358277797699, 0.764105498790741]], "biases": [0.3376585841178894, 0.3366972506046295, 0.20811016857624054, 0.12817028164863586, -0.04206554591655731, -0.20125803351402283, -0.2110762745141983, -0.15309321880340576, -0.2912195026874542, -0.23902086913585663, -0.238743394613266, -0.35621073842048645]}}
def rectified(x):
return max(0.0, x)
def custom_predict(input):
for key, layer in layers.items():
# print(layer)
config = layer["config"]
weights = layer["weights"]
biases = layer["biases"]
# print(config)
neurons = config["units"]
output = [0]*neurons
for n in range(neurons):
activation = 0
assert len(input) == len(weights[n])
for (i, w) in zip(input, weights[n]):
activation += i * w
activation += biases[n]
# print(activation)
if(config["activation"] == 'relu'):
output[n] = rectified(activation)
else:
output[n] = activation
input = output
return input
with open("data.txt", "r") as data:
days = int(input())
for i in range(days):
temps = [float(x) for x in input().split()]
ans = custom_predict(temps[:24])
print(" ".join([format(x, ".1f") for x in ans]))