index
int64 0
731k
| package
stringlengths 2
98
⌀ | name
stringlengths 1
76
| docstring
stringlengths 0
281k
⌀ | code
stringlengths 4
8.19k
| signature
stringlengths 2
42.8k
⌀ | embed_func_code
listlengths 768
768
|
---|---|---|---|---|---|---|
40,291 | pyglove.core.object_utils.common_traits | __str__ | Returns the full (maybe multi-line) representation of this object. | def __str__(self) -> str:
"""Returns the full (maybe multi-line) representation of this object."""
kwargs = dict(self.__str_format_kwargs__)
kwargs.update(thread_local.thread_local_kwargs(_TLS_STR_FORMAT_KWARGS))
return self._maybe_quote(self.format(**kwargs), **kwargs)
| (self) -> str | [
-0.015279466286301613,
-0.011297703720629215,
0.0028922471683472395,
0.04673101380467415,
-0.0013925229432061315,
-0.07189925014972687,
0.0032182266004383564,
-0.03288673236966133,
0.057092346251010895,
-0.07378949224948883,
-0.021545272320508957,
-0.006488960236310959,
-0.03815491124987602,
0.012277830392122269,
0.0002513214130885899,
0.02992885187268257,
-0.06223800778388977,
-0.11320456862449646,
0.022105343639850616,
-0.011516481637954712,
0.016662145033478737,
0.061607927083969116,
0.050756532698869705,
0.01263662613928318,
-0.0069002630189061165,
0.0343044139444828,
0.015235710889101028,
-0.041550345718860626,
-0.027356021106243134,
0.007862886413931847,
0.030733954161405563,
-0.008672365918755531,
-0.012382843531668186,
0.011490228585898876,
-0.005123784299939871,
-0.02522074617445469,
-0.061607927083969116,
-0.030646443367004395,
-0.06633353233337402,
-0.06976398080587387,
-0.0209501963108778,
0.014561873860657215,
0.0072809369303286076,
-0.048691265285015106,
-0.018814921379089355,
-0.015830786898732185,
0.04813119396567345,
0.08219057321548462,
-0.03559958189725876,
-0.044875774532556534,
0.03696475550532341,
0.03906502574682236,
-0.023190483450889587,
-0.03997514396905899,
-0.07946022599935532,
0.012802897952497005,
0.017248470336198807,
0.026848454028367996,
0.013765521347522736,
-0.007543470710515976,
-0.010396338067948818,
0.012890408746898174,
0.05786244571208954,
0.031591564416885376,
-0.05614722520112991,
-0.04771114140748978,
-0.04095527157187462,
0.02931627258658409,
0.04214542359113693,
0.018149835988879204,
0.037594836205244064,
-0.020845182240009308,
-0.07137418538331985,
0.006445204373449087,
-0.02212284691631794,
0.0033604323398321867,
-0.09815263003110886,
0.027513541281223297,
-0.011621495708823204,
0.007543470710515976,
0.015226959250867367,
-0.029613811522722244,
0.0019121210789307952,
-0.04260048270225525,
0.006099534686654806,
-0.09122173488140106,
-0.03682474046945572,
0.010046293027698994,
0.00906616635620594,
0.012584119103848934,
0.0009073824039660394,
0.04368562251329422,
-0.03288673236966133,
0.05026646703481674,
-0.011035170406103134,
-0.038960013538599014,
0.023242991417646408,
-0.02499321661889553,
-0.01587454229593277,
-0.011752761900424957,
0.00016572445747442544,
-0.04302053526043892,
-0.03727979585528374,
-0.033464305102825165,
-0.030786462128162384,
-0.04221543297171593,
-0.020600151270627975,
-0.01463188324123621,
-0.013564245775341988,
0.008427334018051624,
0.01432559359818697,
-0.01667964644730091,
-0.02597334235906601,
0.0003207834670320153,
0.03545956313610077,
-0.0007936177426017821,
-0.06920390576124191,
-0.02873869799077511,
0.03206412494182587,
-0.02630588598549366,
0.013354218564927578,
0.005762616638094187,
-0.04739609733223915,
-0.041305314749479294,
-0.0247131809592247,
0.022332873195409775,
-0.034129392355680466,
-0.0288437120616436,
0.07918018847703934,
-0.1017230898141861,
0.04260048270225525,
0.0412353053689003,
0.031731583178043365,
0.022630412131547928,
0.08919147402048111,
-0.03307925537228584,
-0.023733053356409073,
0.04393065348267555,
0.03734980523586273,
0.15205956995487213,
0.0377698615193367,
-0.025378266349434853,
0.02310297265648842,
-0.013651756569743156,
0.03484698385000229,
-0.008580478839576244,
0.01036133337765932,
-0.008195430040359497,
-0.03920504450798035,
0.004318680614233017,
0.08401080965995789,
-0.004817495122551918,
0.03727979585528374,
0.022297868505120277,
0.007652859669178724,
0.03390186280012131,
0.0027719191275537014,
-0.034181900322437286,
0.03587961569428444,
-0.03152155503630638,
-0.030033864080905914,
-0.05852753296494484,
0.0302088875323534,
-0.014850661158561707,
0.04991642385721207,
0.03706977143883705,
-0.0025837700814008713,
-0.05793245509266853,
-0.007158420979976654,
0.02968381904065609,
-0.020267607644200325,
-0.010212563909590244,
-0.02061765268445015,
0.06566844880580902,
0.021877815946936607,
0.044700752943754196,
0.0019449377432465553,
0.04659099504351616,
-0.044700752943754196,
-0.05373191460967064,
-0.028073612600564957,
-0.0377698615193367,
0.0065808468498289585,
-0.009573731571435928,
0.04235545173287392,
0.007136543281376362,
0.029088743031024933,
0.012470354326069355,
0.019409997388720512,
-0.012671630829572678,
-0.005215671379119158,
-0.004786865785717964,
-0.0042246063239872456,
0.013065431267023087,
-0.050651516765356064,
-0.017414741218090057,
-0.015016932040452957,
-0.09255190938711166,
0.022140348330140114,
-0.0013684573350474238,
-0.027653558179736137,
0.03857496380805969,
-0.019287481904029846,
-0.029893847182393074,
0.03720978647470474,
0.004141470417380333,
-0.014824407175183296,
0.030366407707333565,
-0.038960013538599014,
0.03766484558582306,
-0.0008171363733708858,
-0.019672531634569168,
-0.04120030254125595,
0.0385049544274807,
0.027583548799157143,
-0.030558932572603226,
0.020127590745687485,
0.04673101380467415,
-0.018202342092990875,
0.016758406534790993,
0.08450087159872055,
-0.05786244571208954,
-0.0013695512898266315,
-0.061327893286943436,
-0.04627595469355583,
0.00711466558277607,
0.03864497318863869,
0.038925010710954666,
0.013231703080236912,
-0.014351846650242805,
0.05576217547059059,
-0.050231464207172394,
-0.007827882654964924,
0.07813005149364471,
-0.03559958189725876,
0.00035387364914640784,
-0.046520985662937164,
-0.0020860496442764997,
-0.025798318907618523,
-0.023925578221678734,
-0.01651337556540966,
0.007617855444550514,
0.02635839208960533,
0.0168196652084589,
0.06465332210063934,
-0.05191168189048767,
-0.008878017775714397,
0.06034776568412781,
0.013888036832213402,
0.008366076275706291,
-0.015997057780623436,
0.037594836205244064,
-0.07820006459951401,
-0.010991414077579975,
-0.00449807895347476,
-0.06451330333948135,
0.013993050903081894,
0.0008428428554907441,
0.0032729210797697306,
0.03584461286664009,
-0.012479105964303017,
0.002631901064887643,
-0.03451444208621979,
0.030838968232274055,
0.01721346564590931,
0.005955141503363848,
-0.06559844315052032,
-0.025343261659145355,
0.0022687294986099005,
0.034164395183324814,
0.06825878471136093,
0.0074734617955982685,
-0.027933593839406967,
0.0291762538254261,
-0.06787373125553131,
-0.04823620617389679,
-0.014894416555762291,
0.00896990392357111,
-0.012619123794138432,
-0.03388436138629913,
0.025395767763257027,
0.004062710329890251,
0.021807806566357613,
-0.02639339677989483,
0.045540861785411835,
-0.03493449464440346,
-0.004016766790300608,
-0.02658592164516449,
-0.008344198577105999,
0.02865118719637394,
-0.00040720083052292466,
0.0033866858575493097,
0.042530473321676254,
0.0005989052006043494,
0.05397694557905197,
-0.04382564127445221,
0.0405702218413353,
-0.0168196652084589,
0.03258919343352318,
-0.045400843024253845,
-0.04834122210741043,
0.04421068727970123,
0.05551714450120926,
0.018342360854148865,
0.028633683919906616,
-0.05467703565955162,
-0.03225665166974068,
-0.022105343639850616,
0.0033779346849769354,
-0.00468622799962759,
0.0051150331273674965,
0.017782287672162056,
0.05642726272344589,
-0.00844046100974083,
0.012531612999737263,
0.08548100292682648,
-0.04039519652724266,
0.0029753828421235085,
0.0021746547427028418,
0.02207034081220627,
-0.039520084857940674,
-0.05621723458170891,
0.003347305813804269,
0.00402333028614521,
0.03794488310813904,
-0.04725608229637146,
0.01275039091706276,
0.03514452278614044,
0.016390860080718994,
0.05730237439274788,
-0.020180096849799156,
-0.012951666489243507,
0.01127145066857338,
-0.0005474923527799547,
-0.018062325194478035,
0.004651223309338093,
0.01888493075966835,
-0.027408527210354805,
-0.04242546111345291,
-0.04687103256583214,
0.07259934395551682,
0.0011879653902724385,
-0.009381207637488842,
0.017423491925001144,
-0.05068652331829071,
0.023645542562007904,
0.0004960794467478991,
0.01383553072810173,
0.05649726837873459,
-0.034409426152706146,
-0.06146790832281113,
-0.02851116843521595,
0.0070534078404307365,
0.03278172016143799,
0.011385215446352959,
0.0024678176268935204,
0.0034982627257704735,
0.022140348330140114,
0.006637729238718748,
0.02376805804669857,
0.02987634390592575,
-0.02221035771071911,
0.010553858242928982,
0.005473829340189695,
-0.0319766141474247,
0.014946923591196537,
0.033131763339042664,
-0.016775907948613167,
0.0460309237241745,
0.01787855103611946,
-0.051736656576395035,
0.0027259758207947016,
0.023032963275909424,
-0.022297868505120277,
-0.08051036298274994,
0.052226722240448,
-0.017344731837511063,
0.022227860987186432,
-0.07056908309459686,
-0.08450087159872055,
0.03685974329710007,
0.009626238606870174,
0.04764113202691078,
0.014640633948147297,
-0.0011398341739550233,
0.029753828421235085,
-0.0013465795200318098,
0.004242108203470707,
0.030173882842063904,
0.03685974329710007,
0.005066901911050081,
-0.01835986226797104,
0.030978986993432045,
-0.01054510660469532,
-0.06167793646454811,
-0.007963525131344795,
0.01064136903733015,
0.01263662613928318,
-0.02047763578593731,
-0.004585590213537216,
0.026095857843756676,
0.0018596142763271928,
-0.009521225467324257,
-0.018289852887392044,
-0.07778000831604004,
0.039100032299757004,
0.057092346251010895,
-0.007841008715331554,
-0.002596896607428789,
0.030086372047662735,
-0.00455496134236455,
-0.03615965321660042,
-0.05922762304544449,
-0.024538157507777214,
0.06885386258363724,
0.0009680933435447514,
-0.0377698615193367,
0.01787855103611946,
0.013196698389947414,
0.034356921911239624,
-0.0426354855298996,
0.018727410584688187,
-0.013327965512871742,
0.04235545173287392,
-0.00758722610771656,
0.0051412866450846195,
-0.06083782762289047,
0.014658136293292046,
0.093392014503479,
-0.029946353286504745,
-0.010431342758238316,
-0.002791609149426222,
0.020565146580338478,
0.022717922925949097,
0.019672531634569168,
-0.02053014189004898,
0.010492600500583649,
0.009564980864524841,
0.014640633948147297,
-0.020127590745687485,
0.02789858914911747,
-0.06262306123971939,
-0.016688397154211998,
0.021737797185778618,
0.008401080965995789,
-0.030541429296135902,
-0.067418672144413,
-0.013756770640611649,
0.007880388759076595,
0.04533083364367485,
0.04589090496301651,
0.06377820670604706,
-0.05450201407074928,
-0.0032160389237105846,
-0.04438571259379387,
-0.07504966109991074,
0.05348688364028931,
-0.04778114706277847,
-0.029561303555965424,
-0.009731252677738667,
-0.02574581280350685,
0.05002143606543541,
0.020180096849799156,
0.09318199008703232,
0.024345632642507553,
-0.04039519652724266,
0.04858625307679176,
0.023032963275909424,
-0.07820006459951401,
-0.05121159180998802,
0.012207821011543274,
0.015997057780623436,
-0.07679988443851471,
0.04634596407413483,
0.03344680368900299,
0.054607026278972626,
0.002364991931244731,
-0.023698048666119576,
-0.04085025563836098,
-0.03150405362248421,
-0.045260824263095856,
-0.05950765684247017,
0.038399942219257355,
0.031206516548991203,
-0.010396338067948818,
0.004463074263185263,
0.0728793814778328,
0.017896052449941635,
0.028896218165755272,
0.05019645765423775,
0.013476734049618244,
0.07925020158290863,
-0.03127652406692505,
-0.0038242421578615904,
0.007482212968170643,
0.032851725816726685,
-0.05068652331829071,
-0.04694104194641113,
-0.045540861785411835,
0.015323221683502197,
-0.0014800342032685876,
0.0012448476627469063,
0.03945007547736168,
0.014771901071071625,
0.06580846756696701,
0.002177936490625143,
0.03232666105031967,
0.07095412909984589,
0.014868163503706455,
0.0048612505197525024,
0.016058316454291344,
-0.025588292628526688,
0.034741971641778946,
-0.008195430040359497,
-0.0032226021867245436,
0.007049032021313906,
-0.030558932572603226,
-0.038399942219257355,
-0.007897891104221344,
0.028161123394966125,
-0.006292059551924467,
0.06531840562820435,
-0.015603258274495602,
-0.04246046394109726,
-0.016084570437669754,
0.011078925803303719,
0.04963638633489609,
0.033936865627765656,
-0.06300810724496841,
0.06213299557566643,
0.017178460955619812,
0.018849926069378853,
0.02756604738533497,
-0.014054308645427227,
0.005119408946484327,
0.08737124502658844,
-0.13385722041130066,
0.005066901911050081,
0.0019011821132153273,
-0.04564587399363518,
0.027706066146492958,
0.01212030928581953,
-0.010020039044320583,
-0.06776872277259827,
-0.05327685549855232,
-0.049111321568489075,
0.08569102734327316,
0.020442631095647812,
0.003909565508365631,
0.001686779549345374,
0.01153398398309946,
-0.04284551367163658,
0.0011715569999068975,
0.008523596450686455,
-0.022892946377396584,
-0.0018060136353597045,
-0.015183203853666782,
0.02550078183412552,
0.017808541655540466,
0.0052069202065467834,
-0.015471991151571274,
0.02019759826362133,
0.007731619756668806,
-0.010230066254734993,
-0.016565881669521332,
0.003854871029034257,
0.019812550395727158,
0.019707536324858665,
-0.03626466542482376,
0.012207821011543274,
0.006567720323801041,
-0.029281267896294594,
0.03682474046945572,
0.02959630824625492,
-0.03260669484734535,
0.004445571918040514,
0.009144926443696022,
0.030926479026675224,
0.0034545070957392454,
0.053801923990249634,
0.0054957070387899876,
0.013949294574558735,
0.01058886293321848,
-0.04491077736020088,
-0.021912820637226105,
0.015515746548771858,
0.003076020861044526,
-0.01688092201948166,
0.0025618921499699354,
-0.0014592502266168594,
-0.016775907948613167,
-0.03671972453594208,
0.05985770374536514,
0.0018289854051545262,
0.07364948093891144,
0.006830254103988409,
-0.011892780661582947,
-0.008484216406941414,
0.024205615743994713,
0.02851116843521595,
0.012592870742082596,
0.05684731528162956,
-0.0001828164968173951,
0.05947265401482582,
0.044840771704912186,
0.016058316454291344,
0.00035551449400372803,
0.008221683092415333,
-0.043895646929740906,
0.05292681232094765,
-0.038539960980415344,
0.03432191535830498,
-0.025325758382678032,
-0.044035665690898895,
-0.014273086562752724,
-0.019620025530457497,
-0.01777353696525097,
0.006725240498781204,
-0.017511002719402313,
-0.03316676616668701,
0.027023477479815483,
0.06556344032287598,
-0.054081957787275314,
0.033551815897226334,
-0.011525233276188374,
0.02987634390592575,
-0.008361700922250748,
-0.02875620126724243,
-0.0118402736261487,
-0.04148033633828163,
-0.028493667021393776,
0.04988141730427742,
-0.0029688195791095495,
-0.003677660832181573,
-0.0035092015750706196,
-0.02725100703537464,
-0.009801261126995087,
0.03349931165575981,
-0.03745482116937637,
-0.009880021214485168,
-0.005377566907554865,
-0.00487437704578042,
-0.06472332775592804,
-0.031066497787833214,
-0.06748868525028229,
0.001742567983455956,
-0.02856367640197277,
-0.07294938713312149,
0.03575710207223892,
-0.029228761792182922,
-0.047081056982278824,
0.026323387399315834,
0.03344680368900299,
-0.001311575062572956,
-0.022612910717725754,
0.031259022653102875,
-0.023978086188435555,
0.00800728052854538,
0.0015194142470136285,
-0.021580277010798454,
0.006348941940814257,
-0.03945007547736168,
-0.01883242279291153,
-0.024013090878725052,
0.003981762565672398,
-0.026130862534046173,
-0.050756532698869705,
0.02982383780181408,
0.04501579329371452,
-0.02156277559697628,
-0.0022337250411510468,
0.03973011299967766,
-0.012671630829572678,
0.006488960236310959,
-0.04141032695770264,
0.0016845917562022805,
0.005583218298852444,
-0.03034890443086624,
0.0034982627257704735,
-0.013590498827397823,
0.04988141730427742,
-0.004443384241312742,
-0.05786244571208954,
-0.05660228431224823,
-0.018814921379089355,
0.06713864207267761,
0.0008149486384354532,
0.04764113202691078,
0.003594525158405304,
-0.07637982815504074,
0.01835986226797104,
-0.05509708821773529,
-0.034549444913864136,
-0.001235002651810646,
0.0439656563103199,
0.008856140077114105,
0.025483278557658195,
-0.0639532282948494,
0.04270549491047859,
-0.03997514396905899,
0.003568271640688181,
0.012277830392122269,
0.007735995575785637,
0.0021965326741337776,
0.003843932179734111,
0.029981357976794243,
0.03696475550532341,
0.0015084753977134824,
-0.0018650837009772658,
-0.02739102393388748,
0.033936865627765656,
0.07778000831604004,
0.0480961874127388,
0.0037542330101132393,
0.01804482191801071,
-0.01888493075966835,
0.0014351847348734736,
-0.010457595810294151,
0.018657401204109192,
0.0007826788350939751,
-0.017300976440310478,
0.04120030254125595,
0.018867427483201027,
-0.04249546676874161,
0.04011516273021698,
0.07728994637727737,
-0.03222164511680603,
-0.007329068146646023,
0.004439008887857199,
-0.022280367091298103,
0.014658136293292046,
0.061607927083969116,
-0.043615613132715225,
0.014351846650242805,
0.048446234315633774,
-0.007604728452861309,
-0.021755298599600792,
0.02560579590499401,
0.0029753828421235085,
0.015043186023831367,
-0.0137392682954669,
0.039625100791454315,
0.023523027077317238,
-0.005648851860314608,
0.006348941940814257,
0.027461033314466476,
0.029421286657452583,
0.02837115153670311,
-0.011498979292809963,
-0.015139448456466198,
0.02912374772131443,
0.020232602953910828,
-0.04442071542143822,
0.00365140731446445,
0.07364948093891144,
-0.06073281541466713,
-0.04172537103295326,
0.04172537103295326,
-0.000040679064113646746,
-0.01625959202647209,
-0.07742996513843536,
-0.04099027439951897,
0.0679437443614006,
0.0714792013168335,
-0.05621723458170891,
0.030541429296135902,
-0.023943081498146057,
0.02306796796619892
]
|
40,292 | pyglove.core.symbolic.base | _error_message | Create error message to include path information. | def _error_message(self, message: str) -> str:
"""Create error message to include path information."""
return object_utils.message_on_path(message, self.sym_path)
| (self, message: str) -> str | [
0.015463589690625668,
-0.007991106249392033,
0.034972433000802994,
0.058051127940416336,
0.007891703397035599,
-0.10925644636154175,
0.049441996961832047,
0.07855399698019028,
0.06804325431585312,
-0.05103243887424469,
0.07101669162511826,
0.0025887899100780487,
0.037340808659791946,
-0.018877854570746422,
-0.0335894413292408,
0.049856897443532944,
0.03702963516116142,
0.014313977211713791,
-0.032413896173238754,
0.041178613901138306,
-0.025014884769916534,
-0.020260846242308617,
-0.006404986139386892,
-0.0365801639854908,
-0.019379189237952232,
0.10247977823019028,
0.027141237631440163,
0.01913716457784176,
0.05815485492348671,
-0.10075103491544724,
-0.06700600683689117,
-0.03758283331990242,
0.0048577627167105675,
0.056184086948633194,
-0.01156527828425169,
0.03521445766091347,
0.010891069658100605,
-0.012861834838986397,
-0.10019783675670624,
-0.05763623118400574,
-0.007874416187405586,
0.07077466696500778,
-0.01908530294895172,
-0.019413763657212257,
0.0482664555311203,
-0.050133492797613144,
-0.06627994030714035,
0.04442865028977394,
-0.03269049525260925,
0.04027967154979706,
-0.031912561506032944,
-0.014936324208974838,
-0.02561994455754757,
-0.012861834838986397,
-0.02214517444372177,
0.011349186301231384,
0.012593879364430904,
-0.01285319123417139,
-0.03260405734181404,
-0.02582739293575287,
-0.020900480449199677,
0.02321699447929859,
0.02790188230574131,
0.002517479471862316,
0.006525998003780842,
-0.008894373662769794,
0.03785943239927292,
-0.018324656412005424,
-0.009015385061502457,
0.009724169038236141,
0.03267320990562439,
0.0006720481324009597,
-0.062096383422613144,
-0.022300761193037033,
0.045154720544815063,
-0.07087838649749756,
-0.018825991079211235,
0.014711587689816952,
0.06016019359230995,
-0.004414772614836693,
-0.0076972199603915215,
-0.05404045060276985,
-0.051274463534355164,
-0.030477706342935562,
0.03910412639379501,
-0.029354024678468704,
0.00818558968603611,
-0.023597316816449165,
-0.03215458616614342,
0.011988820508122444,
-0.01284454669803381,
-0.06600333750247955,
-0.0739901214838028,
0.03203357383608818,
-0.05632238835096359,
-0.010061273351311684,
0.0367184616625309,
-0.05673728510737419,
0.041524361819028854,
0.0027638250030577183,
0.044601522386074066,
-0.0003846449253614992,
-0.015385796315968037,
-0.017123181372880936,
0.018462955951690674,
-0.019603924825787544,
0.021384527906775475,
-0.04598451405763626,
0.04370257630944252,
-0.022369911894202232,
-0.04193926230072975,
-0.0013905562227591872,
-0.04100574180483818,
0.01715775579214096,
0.008055933751165867,
-0.00008089968468993902,
0.014832599088549614,
-0.032863371074199677,
0.03383146598935127,
-0.014167034067213535,
0.04007222130894661,
-0.024686424061655998,
-0.07516566663980484,
-0.0541095994412899,
0.027383260428905487,
0.03346842899918556,
-0.029941797256469727,
-0.04449779912829399,
0.020675744861364365,
-0.05753250792622566,
-0.007191563490778208,
0.02276752144098282,
0.02817848138511181,
-0.04508557170629501,
-0.04512014612555504,
0.04996062070131302,
-0.0182900819927454,
0.015204278752207756,
0.03415992483496666,
0.09065518528223038,
0.037824857980012894,
0.036199841648340225,
-0.04052169248461723,
-0.03194713592529297,
0.03180883824825287,
0.020122546702623367,
0.05217340961098671,
0.019413763657212257,
-0.001843270263634622,
0.017028100788593292,
-0.014936324208974838,
0.009992124512791634,
0.019552063196897507,
0.014677012339234352,
0.019673075526952744,
-0.029233014211058617,
0.0007055425085127354,
-0.002426720457151532,
-0.005812892224639654,
-0.0165872722864151,
0.039899345487356186,
-0.09148498624563217,
-0.01616373099386692,
-0.012533373199403286,
0.035266321152448654,
0.006845815107226372,
0.033987052738666534,
-0.009637732058763504,
-0.03409077599644661,
0.015394439920783043,
-0.010260079056024551,
-0.009585869498550892,
-0.0723305344581604,
0.014581931754946709,
-0.014599218964576721,
0.027642572298645973,
0.0008276348235085607,
0.06783580780029297,
0.0012933145044371486,
-0.04135148972272873,
0.001956718973815441,
0.025170471519231796,
-0.026311440393328667,
0.0847083181142807,
0.024859298020601273,
0.05390214920043945,
-0.010795989073812962,
0.003842127276584506,
0.054559070616960526,
0.00409063370898366,
-0.06206180900335312,
0.033209118992090225,
0.04349512979388237,
0.059261247515678406,
-0.007252069190144539,
-0.022508209571242332,
0.04539674520492554,
-0.054766520857810974,
0.030339408665895462,
0.044739823788404465,
-0.034280937165021896,
0.04712548479437828,
-0.03046041913330555,
0.010674976743757725,
0.021332666277885437,
0.025014884769916534,
0.03837805613875389,
0.021522827446460724,
-0.04695260897278786,
0.05020264536142349,
-0.041386064141988754,
0.03488599881529808,
0.019880523905158043,
0.015100554563105106,
0.016423041000962257,
0.016984881833195686,
0.02015712298452854,
0.04781698063015938,
-0.025239622220396996,
0.050859566777944565,
0.04975317046046257,
-0.011167667806148529,
0.03338199108839035,
-0.038965824991464615,
-0.008859798312187195,
-0.014046021737158298,
-0.009170971810817719,
0.011375117115676403,
-0.018981577828526497,
-0.01341503206640482,
0.016595914959907532,
-0.005933904089033604,
-0.018307369202375412,
0.008773361332714558,
-0.04954572394490242,
0.004278634674847126,
-0.008021359331905842,
-0.03189527615904808,
0.011841877363622189,
-0.007278000470250845,
-0.0424233078956604,
-0.06793952733278275,
-0.03215458616614342,
0.0606442429125309,
0.0841551199555397,
-0.07281457632780075,
0.01114173699170351,
0.03307081758975983,
-0.016457615420222282,
-0.003522310173138976,
0.027020225301384926,
0.050790417939424515,
-0.04653771221637726,
-0.013121145777404308,
0.017321987077593803,
-0.04553504288196564,
0.0015688326675444841,
-0.022006874904036522,
0.030909892171621323,
0.043391402810811996,
-0.02256007306277752,
0.022110600024461746,
-0.018739555031061172,
-0.013855860568583012,
-0.01695030741393566,
-0.047021761536598206,
-0.08028274029493332,
0.055561743676662445,
-0.003976104781031609,
0.031428515911102295,
0.06977199763059616,
0.04038339480757713,
-0.029526900500059128,
0.018687691539525986,
-0.004922590684145689,
0.012490155175328255,
-0.01963849924504757,
0.054420772939920425,
-0.00048296706518158317,
-0.020485583692789078,
-0.026933787390589714,
-0.020554732531309128,
0.04695260897278786,
0.04290735721588135,
-0.018601255491375923,
0.020381858572363853,
0.0274005476385355,
-0.041524361819028854,
-0.024150514975190163,
0.018566681072115898,
0.006672941148281097,
0.0019415924325585365,
-0.03509344533085823,
0.0666256844997406,
-0.004157622344791889,
-0.016889801248908043,
0.018169069662690163,
-0.0274005476385355,
0.0028589058201760054,
-0.02513589709997177,
-0.006439561024308205,
0.08201148360967636,
0.024530837312340736,
-0.005143004935234785,
-0.04767868295311928,
-0.00943028274923563,
-0.017451642081141472,
-0.012654385529458523,
0.01580933853983879,
-0.014383126981556416,
-0.038758378475904465,
0.008246095851063728,
-0.0031873665284365416,
0.07440502196550369,
0.07267627865076065,
0.07751675695180893,
0.0021890185307711363,
-0.030114671215415,
-0.004818866029381752,
0.05262288078665733,
0.03148037567734718,
-0.0001715235412120819,
-0.02029542252421379,
-0.010510746389627457,
-0.037963155657052994,
-0.01574018783867359,
-0.011159024201333523,
-0.019344614818692207,
0.02413322776556015,
0.02676091343164444,
-0.004179231822490692,
-0.013760779984295368,
-0.04083286598324776,
-0.060782540589571,
0.034834135323762894,
-0.01020821649581194,
0.021246228367090225,
-0.0426999069750309,
-0.025308771058917046,
0.008522693999111652,
0.027072086930274963,
-0.028939127922058105,
-0.024098651483654976,
0.029872648417949677,
-0.029146576300263405,
-0.016423041000962257,
-0.023545455187559128,
-0.006785309407860041,
-0.014849887229502201,
0.0023489270824939013,
-0.014798024669289589,
0.0367184616625309,
-0.04463609680533409,
-0.036683887243270874,
0.014910392463207245,
-0.0018097759457305074,
-0.0735752284526825,
0.012472867965698242,
0.024029502645134926,
0.08090508729219437,
0.0357503667473793,
0.004367232322692871,
0.016751501709222794,
-0.015748832374811172,
-0.013795354403555393,
0.002495869994163513,
-0.00793924368917942,
0.05414417386054993,
-0.007597817573696375,
-0.012498798780143261,
-0.016474904492497444,
-0.019845949485898018,
0.03123835287988186,
-0.04007222130894661,
-0.007381725125014782,
0.07883059978485107,
0.02363189123570919,
-0.00818126741796732,
-0.024617275223135948,
-0.001258739735931158,
0.05269203335046768,
-0.011392404325306416,
-0.030788879841566086,
-0.006785309407860041,
0.019050728529691696,
0.03343385457992554,
-0.002619042992591858,
0.016924375668168068,
0.03336470574140549,
0.013311306945979595,
-0.024928448721766472,
-0.06116286292672157,
0.07426672428846359,
0.011314610950648785,
0.005186223424971104,
-0.026536177843809128,
0.008738786913454533,
-0.009732812643051147,
-0.03089260496199131,
0.027383260428905487,
0.0076669673435389996,
0.017105894163250923,
-0.05241543427109718,
0.022110600024461746,
0.021263517439365387,
-0.018843278288841248,
-0.027452409267425537,
0.08899559825658798,
-0.020468296483159065,
0.03151495009660721,
0.009084534831345081,
-0.02454812452197075,
-0.010536677204072475,
-0.03516259416937828,
-0.011202243156731129,
0.02022627182304859,
-0.04764410853385925,
-0.014158390462398529,
-0.008237452246248722,
-0.015005473978817463,
-0.020381858572363853,
-0.027798159047961235,
0.02570638246834278,
0.0039047941099852324,
-0.012386430986225605,
-0.004952843300998211,
-0.031065478920936584,
0.030218396335840225,
0.07495822012424469,
0.026674477383494377,
-0.031566813588142395,
0.011254104785621166,
-0.0269856508821249,
-0.01484124269336462,
-0.02812661975622177,
-0.04508557170629501,
-0.011936957947909832,
-0.0305987186729908,
-0.024219663813710213,
0.024150514975190163,
0.03130750358104706,
0.020260846242308617,
0.010977506637573242,
0.05324522778391838,
0.03182612359523773,
-0.023459017276763916,
-0.021298091858625412,
-0.015333934687077999,
0.011314610950648785,
0.004369393456727266,
0.01730469986796379,
-0.01758129708468914,
0.01341503206640482,
-0.015463589690625668,
-0.0239949282258749,
-0.004749716259539127,
-0.010571252554655075,
-0.008656671270728111,
-0.0331745445728302,
-0.022318048402667046,
-0.05175851285457611,
0.08726685494184494,
-0.008894373662769794,
0.0012609006371349096,
0.0018357071094214916,
0.005233764182776213,
0.031635962426662445,
0.03689133748412132,
0.014504138380289078,
-0.029008276760578156,
-0.00015342577535193413,
-0.023026833310723305,
-0.04525844380259514,
0.0539713017642498,
0.03293251991271973,
0.0030274579767137766,
-0.02086590602993965,
0.018618542701005936,
-0.03737538307905197,
-0.013994160108268261,
0.006396342534571886,
-0.07779335230588913,
-0.015161060728132725,
-0.03312268108129501,
0.0365801639854908,
0.013268088921904564,
0.00818126741796732,
0.014218896627426147,
0.005674593150615692,
-0.04007222130894661,
0.029561474919319153,
0.05794740468263626,
-0.06627994030714035,
-0.01441770140081644,
0.005009027663618326,
0.01637982204556465,
-0.06251128017902374,
0.022957682609558105,
-0.024669136852025986,
-0.029025563970208168,
-0.0020917768124490976,
-0.06458576768636703,
-0.02041643299162388,
-0.021021492779254913,
0.005648661870509386,
0.0044558304361999035,
0.04919997602701187,
0.0012673833407461643,
0.04740208387374878,
-0.030909892171621323,
-0.005804248619824648,
0.026017554104328156,
-0.00892894808202982,
0.04235415905714035,
-0.00054293277207762,
-0.04180096089839935,
-0.0303912702947855,
-0.005298591684550047,
0.012827259488403797,
0.01565375179052353,
-0.03161867707967758,
-0.04128234088420868,
-0.02833406813442707,
-0.06029849126935005,
0.010813276283442974,
-0.04626111313700676,
-0.008920304477214813,
0.004403968341648579,
-0.0005340189673006535,
0.07675611227750778,
-0.0180134829133749,
0.03267320990562439,
0.06517354398965836,
0.0735752284526825,
-0.006750734522938728,
0.06790495663881302,
-0.029665198177099228,
0.0006574618746526539,
-0.08242637664079666,
0.029440462589263916,
-0.0021598460152745247,
0.02726224809885025,
-0.027452409267425537,
-0.03758283331990242,
-0.012913696467876434,
-0.008782004937529564,
0.001327889272943139,
-0.016258811578154564,
-0.00847515370696783,
-0.04508557170629501,
0.05047924444079399,
-0.012049325741827488,
-0.021747564896941185,
0.018825991079211235,
0.018739555031061172,
0.005009027663618326,
-0.008937591686844826,
0.007131057325750589,
-0.01879141665995121,
-0.020260846242308617,
-0.04525844380259514,
-0.005298591684550047,
0.022525498643517494,
-0.03229288384318352,
-0.00968095101416111,
0.03538733348250389,
-0.06434375047683716,
-0.003304056590422988,
-0.03758283331990242,
0.016604559496045113,
-0.009655019268393517,
-0.000753082858864218,
0.04819730296730995,
-0.017546722665429115,
-0.019448338076472282,
0.004991739988327026,
0.044013749808073044,
0.04166266322135925,
0.06347937881946564,
0.06296075135469437,
0.011530703864991665,
0.015921706333756447,
0.0361652672290802,
0.02520504593849182,
-0.015627820044755936,
-0.019206315279006958,
0.01650083437561989,
-0.016751501709222794,
-0.014616507105529308,
0.00509114284068346,
-0.07281457632780075,
-0.097639299929142,
0.017192332074046135,
0.010830563493072987,
0.013691630214452744,
0.04135148972272873,
0.0303912702947855,
-0.01730469986796379,
-0.001167980721220374,
-0.007381725125014782,
-0.023251568898558617,
0.04982232302427292,
0.022387199103832245,
0.07350607216358185,
0.016198305413126945,
-0.008894373662769794,
0.04660686105489731,
0.033848751336336136,
-0.04349512979388237,
0.07405927032232285,
0.008021359331905842,
-0.00468056695535779,
-0.012654385529458523,
0.012170338071882725,
-0.02676091343164444,
0.013838573358952999,
0.05936497077345848,
0.02228347398340702,
0.02313055656850338,
0.061335738748311996,
-0.032206449657678604,
-0.049995195120573044,
-0.04031424596905708,
0.012403718195855618,
-0.006011697463691235,
0.07786250114440918,
0.010623114183545113,
-0.02214517444372177,
-0.061335738748311996,
-0.04695260897278786,
-0.02570638246834278,
0.047090910375118256,
0.0021317540667951107,
-0.06302990019321442,
-0.007122413720935583,
0.022473635151982307,
0.020606594160199165,
0.01159985363483429,
-0.0006563814240507782,
0.04027967154979706,
-0.02726224809885025,
-0.03927699849009514,
-0.14908663928508759,
0.0051213959231972694,
-0.07986783981323242,
0.11174583435058594,
-0.013051996007561684,
-0.08788920193910599,
0.03269049525260925,
0.020018823444843292,
0.020589306950569153,
0.03222373500466347,
-0.015429015271365643,
0.028437793254852295,
0.06016019359230995,
0.047505807131528854,
-0.0015526256756857038,
-0.03920784965157509,
-0.027780871838331223,
-0.022231612354516983,
0.000995106645859778,
-0.05272660776972771,
-0.0303912702947855,
-0.029630623757839203,
-0.006850136909633875,
0.004395324271172285,
0.07509651780128479,
-0.019915098324418068,
0.03702963516116142,
-0.04204298555850983,
0.030443131923675537,
-0.0361652672290802,
-0.012948271818459034,
-0.06154318526387215,
-0.025447070598602295,
0.04671058803796768,
0.043529704213142395,
-0.01723554916679859,
0.00752866780385375,
-0.004645992070436478,
-0.02527419663965702,
0.009655019268393517,
-0.0484047532081604,
-0.03201628848910332,
0.037894006818532944,
0.050652116537094116,
0.03779028356075287,
0.08138913661241531,
-0.002385662868618965,
-0.019171738997101784,
-0.060678817331790924,
-0.048646777868270874,
-0.04397917538881302,
-0.005739420652389526,
-0.04518929496407509,
0.019897811114788055,
0.007338506169617176,
-0.036683887243270874,
0.0022343979217112064,
-0.023683754727244377,
0.02015712298452854,
0.0418701134622097,
0.008937591686844826,
-0.02883540280163288,
-0.00978467520326376,
-0.05988359451293945,
0.02363189123570919,
-0.044739823788404465,
-0.05742878094315529,
0.014262114651501179,
0.009879755787551403,
-0.040037646889686584,
0.02071031928062439,
-0.08090508729219437,
-0.004140335135161877,
-0.049856897443532944,
0.014383126981556416,
0.011833233758807182,
0.0011047737207263708,
-0.02584468014538288,
-0.006642688065767288,
0.004084151238203049,
0.045811641961336136,
0.01977679878473282,
0.011980176903307438,
0.012896409258246422,
-0.0242023766040802,
-0.06282245367765427,
0.051136165857315063,
0.013051996007561684,
-0.03820518031716347,
0.048508476465940475,
-0.06399799883365631,
0.07724015414714813,
0.0550776943564415,
-0.02527419663965702,
-0.004654635675251484,
0.015065979212522507,
0.0239257775247097,
0.10247977823019028,
0.015152416191995144,
0.041040316224098206,
-0.030633293092250824,
-0.05379842594265938,
-0.004507692530751228,
0.01730469986796379,
0.018462955951690674,
0.052346281707286835,
-0.030806168913841248,
0.01007856149226427,
0.039691898971796036,
-0.018601255491375923,
-0.00678098713979125,
-0.008406003937125206,
-0.04055626690387726,
-0.06583046168088913,
0.0001923224626807496,
-0.00446447404101491,
0.005895007401704788,
0.026864638552069664,
-0.026743626222014427,
0.017028100788593292,
0.03910412639379501,
0.03116920404136181,
0.020485583692789078,
0.056184086948633194,
-0.06379055231809616,
0.013691630214452744
]
|
40,293 | pyglove.core.symbolic.object | _init_kwargs | null | def _init_kwargs(self) -> typing.Dict[str, Any]:
kwargs = super()._init_kwargs()
kwargs.update(self._sym_attributes)
return kwargs
| (self) -> Dict[str, Any] | [
0.0013760688016191125,
-0.013798943720757961,
0.08655618876218796,
0.006336892489343882,
-0.03571702912449837,
-0.005796816665679216,
-0.014798084273934364,
0.05040710046887398,
0.04244998097419739,
-0.0021929338108748198,
0.004158585797995329,
0.04709463194012642,
0.0018463850719854236,
0.05109119787812233,
-0.011773657985031605,
-0.007754592224955559,
0.007997626438736916,
0.04270201548933983,
-0.06790556758642197,
-0.04129781574010849,
0.02113497629761696,
-0.009460332803428173,
-0.041081786155700684,
0.017759501934051514,
0.030262261629104614,
0.0452943779528141,
-0.05033509060740471,
0.026427721604704857,
0.05418763309717178,
0.0006019597640261054,
-0.0014672066317871213,
0.008906754665076733,
0.025689618661999702,
0.053863584995269775,
0.051883306354284286,
-0.05177529156208038,
-0.004230595659464598,
0.05883228778839111,
-0.04799475893378258,
-0.01173765305429697,
-0.0012297981884330511,
-0.005067714024335146,
-0.02844400703907013,
0.008461191318929195,
0.026499733328819275,
-0.008470193482935429,
-0.022413156926631927,
-0.0027543879114091396,
0.03434883803129196,
-0.014240005984902382,
0.049146924167871475,
-0.007610572036355734,
0.06228877231478691,
0.03467288240790367,
-0.028840061277151108,
-0.02894807793200016,
-0.028389999642968178,
0.05155926197767258,
-0.02761588990688324,
0.05886829271912575,
-0.024609467014670372,
0.01978478580713272,
0.01123358216136694,
-0.05728406831622124,
-0.03787733614444733,
-0.056275926530361176,
-0.055591829121112823,
0.0048291804268956184,
0.007898612879216671,
0.02367333509027958,
-0.003215702949091792,
-0.06534920632839203,
-0.053539540618658066,
0.0025023524649441242,
-0.014068981632590294,
-0.029236117377877235,
-0.012709789909422398,
-0.010153430514037609,
0.017309438437223434,
-0.021585039794445038,
-0.04417822137475014,
-0.007439547684043646,
-0.11370401829481125,
0.03568102419376373,
-0.001112781697884202,
0.025689618661999702,
-0.04601448029279709,
0.01828157529234886,
0.014276010915637016,
-0.018218565732240677,
-0.07197413593530655,
0.06495314836502075,
0.0019273965153843164,
0.052135344594717026,
0.009469334036111832,
-0.016787365078926086,
0.017354443669319153,
0.007223517633974552,
0.05202732980251312,
-0.008506198413670063,
-0.0043858676217496395,
-0.07849105447530746,
-0.02462746948003769,
-0.020792929455637932,
-0.026751767843961716,
-0.052135344594717026,
-0.0010165807325392962,
-0.09080479294061661,
0.0011915428331121802,
-0.01755247265100479,
-0.05505175516009331,
0.0052072335965931416,
0.04421422630548477,
0.05073114484548569,
-0.026175687089562416,
-0.02214311808347702,
-0.007111001759767532,
-0.02480749413371086,
0.06369297206401825,
-0.004739167634397745,
-0.02819197066128254,
0.06578126549720764,
0.0062198759987950325,
0.04396219179034233,
0.02633770927786827,
0.04464628919959068,
-0.013321876525878906,
0.013321876525878906,
0.02603166736662388,
0.0053377519361674786,
0.02505953051149845,
-0.018407592549920082,
-0.006584427319467068,
-0.01697639189660549,
-0.01314185094088316,
-0.05166727676987648,
0.05645595118403435,
0.03200851008296013,
0.016787365078926086,
0.05623992159962654,
0.033304691314697266,
0.02570762112736702,
0.004806676879525185,
-0.012511761859059334,
-0.07100199908018112,
0.019262712448835373,
0.00303117698058486,
-0.012871813029050827,
-0.04313407465815544,
-0.043422117829322815,
0.01765148714184761,
0.014645062386989594,
-0.015023116022348404,
0.04039768874645233,
-0.02430342324078083,
-0.012943822890520096,
-0.04443025961518288,
-0.02291722781956196,
0.0220171008259058,
0.010963544249534607,
-0.003125690156593919,
-0.036491140723228455,
-0.022953232750296593,
-0.07481853663921356,
0.01358291320502758,
0.01953275129199028,
0.041081786155700684,
-0.10988748073577881,
0.024411438032984734,
0.004241847433149815,
0.008447689935564995,
-0.0014357022009789944,
0.03748127818107605,
0.016229286789894104,
-0.024735484272241592,
0.05562783405184746,
0.007210015319287777,
-0.03571702912449837,
0.006840963382273912,
0.0011245958739891648,
0.07280225306749344,
-0.045582421123981476,
-0.05804017558693886,
0.06347694247961044,
0.08893252909183502,
-0.029290124773979187,
-0.013042837381362915,
0.03519495576620102,
0.043422117829322815,
0.006615931633859873,
0.01985679753124714,
0.011341597884893417,
-0.020090829581022263,
0.01915469765663147,
-0.048570841550827026,
0.007583568338304758,
0.030586307868361473,
-0.02264718897640705,
-0.07388240844011307,
0.06347694247961044,
-0.011323594488203526,
-0.03593306243419647,
-0.06506116688251495,
0.0020579148549586535,
0.004230595659464598,
-0.03125240281224251,
0.02289922535419464,
-0.020270856097340584,
0.0017113659996539354,
-0.03195450082421303,
0.00015949121734593064,
-0.03226054459810257,
0.060416508466005325,
-0.029956219717860222,
-0.015572193078696728,
-0.05688801407814026,
0.03409680351614952,
0.026643753051757812,
0.002131050219759345,
0.018434597179293633,
0.05339552089571953,
0.005643794778734446,
0.011998689733445644,
-0.04255799576640129,
0.000805613468401134,
-0.015032117255032063,
0.020090829581022263,
-0.011260585859417915,
-0.05616791173815727,
0.006813959684222937,
-0.0237993523478508,
-0.027597887441515923,
-0.003625260666012764,
0.021621044725179672,
-0.01883065141737461,
-0.01696738973259926,
0.03667116537690163,
-0.026607748121023178,
-0.01852460950613022,
-0.023817354813218117,
0.07125403732061386,
0.042666010558605194,
-0.012142710387706757,
0.012745794840157032,
-0.032098520547151566,
-0.02208911068737507,
0.07712285965681076,
0.07705084979534149,
0.017957529053092003,
-0.027831919491291046,
0.05202732980251312,
-0.0007442923379130661,
-0.008290167897939682,
0.061820708215236664,
-0.012484758161008358,
0.008443188853561878,
0.03964158520102501,
0.05159526690840721,
0.0267337653785944,
-0.048318807035684586,
0.013177855871617794,
0.03773331642150879,
-0.04601448029279709,
0.04338610917329788,
0.04032567888498306,
0.013105846010148525,
0.028047950938344002,
0.00356225180439651,
-0.12752996385097504,
-0.01129659079015255,
0.09145288169384003,
-0.036293111741542816,
0.000017360844140057452,
0.028804056346416473,
0.009244302287697792,
0.0050902171060442924,
0.02232314459979534,
-0.06030849367380142,
-0.05948037654161453,
-0.010099422186613083,
0.05699602887034416,
-0.019766783341765404,
0.05811218544840813,
0.03665316104888916,
0.03487091138958931,
0.033880773931741714,
-0.01511312834918499,
0.017066404223442078,
0.020072827115654945,
-0.03393477946519852,
0.009649358689785004,
0.047238655388355255,
0.030316270887851715,
0.06671739369630814,
0.06106460094451904,
-0.013609916903078556,
-0.001798003213480115,
0.007741090375930071,
0.03762529790401459,
0.0025811134837567806,
0.009127285331487656,
0.033052656799554825,
0.04626651853322983,
0.05458368733525276,
0.014735075645148754,
-0.02264718897640705,
0.03555500879883766,
0.041585858911275864,
-0.013573911972343922,
-0.01651732623577118,
-0.002992921508848667,
0.062000732868909836,
-0.009631356224417686,
0.026265699416399002,
-0.07755492627620697,
-0.02595965564250946,
-0.00008354301826329902,
-0.05249539390206337,
0.008807740174233913,
0.08497197180986404,
-0.03830939531326294,
-0.05886829271912575,
-0.035230960696935654,
-0.03758929297327995,
0.03335869684815407,
0.0051217214204370975,
0.020882941782474518,
-0.030586307868361473,
0.02577963098883629,
0.022431159391999245,
-0.04716664180159569,
0.04255799576640129,
-0.01020743791013956,
0.005405261181294918,
-0.006161367986351252,
0.02545558474957943,
-0.02106296643614769,
0.008272165432572365,
-0.03571702912449837,
-0.07330632209777832,
-0.03956957161426544,
-0.02315126173198223,
-0.005477271508425474,
-0.011656641960144043,
-0.07892311364412308,
-0.060344498604536057,
0.004932694602757692,
-0.026247696951031685,
0.02010883204638958,
-0.04244998097419739,
-0.021224990487098694,
-0.02124299295246601,
0.008681722916662693,
0.04551041126251221,
0.06480912864208221,
-0.031792476773262024,
-0.06736548990011215,
-0.0030199254397302866,
-0.03780532628297806,
-0.004111329093575478,
0.0903727263212204,
0.038525424897670746,
-0.0010880283080041409,
0.00925330352038145,
0.05663597583770752,
0.023655332624912262,
0.002186182886362076,
0.03740926831960678,
0.016625341027975082,
-0.04792274907231331,
0.021405015140771866,
-0.03357473015785217,
-0.010270446538925171,
-0.012736793607473373,
0.006107360124588013,
0.016886377707123756,
-0.02450145035982132,
-0.03303465247154236,
-0.027705902233719826,
-0.009523341432213783,
-0.020126834511756897,
-0.05371956527233124,
0.05501575022935867,
0.029218114912509918,
0.014420030638575554,
-0.032152529805898666,
0.035230960696935654,
-0.0255816038697958,
0.08317171782255173,
0.039605580270290375,
-0.05155926197767258,
-0.00623337784782052,
0.0025451085530221462,
0.07849105447530746,
0.04385417699813843,
-0.02367333509027958,
0.018362587317824364,
-0.025095535442233086,
-0.03874145820736885,
-0.0019701526034623384,
0.018614621832966805,
-0.07964321970939636,
0.022755205631256104,
-0.027831919491291046,
0.04965099319815636,
-0.019298717379570007,
0.0069714817218482494,
0.024411438032984734,
0.0512712225317955,
0.008065136149525642,
-0.01566220633685589,
-0.003915551584213972,
-0.023655332624912262,
-0.01466306485235691,
0.029812199994921684,
-0.0002237658918602392,
0.05019107088446617,
0.01206169929355383,
0.026355711743235588,
0.01351990457624197,
0.05206333473324776,
-0.008105641230940819,
-0.010612495243549347,
0.020576898008584976,
0.05616791173815727,
0.07820301502943039,
0.0030581806786358356,
0.007029990199953318,
0.0358610525727272,
0.02583363838493824,
-0.04525837302207947,
0.08381980657577515,
-0.021423017606139183,
0.029344134032726288,
0.0011679144809022546,
0.038525424897670746,
0.034078799188137054,
-0.07539462298154831,
-0.017066404223442078,
0.044250231236219406,
-0.06419704109430313,
-0.024843499064445496,
0.007642076350748539,
0.033376701176166534,
-0.011530623771250248,
0.0101174246519804,
-0.008159649558365345,
0.048138778656721115,
0.06264882534742355,
0.0007752341916784644,
0.026823777705430984,
-0.006894971244037151,
0.03440284729003906,
-0.06156867370009422,
-0.02507753297686577,
0.003006423357874155,
-0.006975982803851366,
-0.03190049156546593,
-0.01014442928135395,
-0.00035358103923499584,
0.008560205809772015,
-0.008776236325502396,
-0.04212593287229538,
0.007331532426178455,
0.001992655685171485,
0.038525424897670746,
-0.010819523595273495,
-0.02774190716445446,
-0.04695061221718788,
0.01902868039906025,
0.018596619367599487,
0.03708522394299507,
0.00792111549526453,
-0.032152529805898666,
-0.011953683570027351,
-0.009082279168069363,
-0.02653573825955391,
-0.03132441267371178,
-0.07532260566949844,
-0.06344093382358551,
0.004475880414247513,
0.019550753757357597,
-0.02099095657467842,
-0.02151302993297577,
0.015797225758433342,
-0.01511312834918499,
0.01116157229989767,
-0.012781800702214241,
-0.030442288145422935,
0.03848941996693611,
-0.025095535442233086,
0.041261810809373856,
0.015104127116501331,
0.061496660113334656,
0.06128063052892685,
0.024663474410772324,
0.024915508925914764,
0.03022625669836998,
0.02711181901395321,
-0.00037299003452062607,
-0.051703281700611115,
0.004982201848179102,
-0.007047992665320635,
0.06534920632839203,
-0.01107155904173851,
-0.004001063760370016,
-0.10902335494756699,
-0.003776031779125333,
-0.03204451501369476,
0.013231863267719746,
0.028426004573702812,
-0.03283662348985672,
0.009298309683799744,
-0.00999140739440918,
0.034708887338638306,
-0.02601366490125656,
-0.01857861690223217,
0.011215579695999622,
-0.02189108356833458,
-0.00893825851380825,
-0.0053377519361674786,
0.07186612486839294,
-0.014636061154305935,
-0.07921116054058075,
-0.01234073843806982,
0.0006120862090028822,
0.01415899395942688,
-0.01852460950613022,
0.03434883803129196,
-0.006836462765932083,
0.01027944777160883,
-0.031198393553495407,
-0.04421422630548477,
0.05854424461722374,
-0.03258458897471428,
0.04248598590493202,
0.027471870183944702,
0.03953356668353081,
-0.0173004362732172,
-0.024285420775413513,
0.03730125352740288,
0.03780532628297806,
-0.006471911445260048,
-0.02041487582027912,
0.019748780876398087,
0.0021996847353875637,
-0.015194140374660492,
0.022035103291273117,
-0.042017918080091476,
-0.004014565609395504,
-0.04389018192887306,
-0.020540893077850342,
-0.054439667612314224,
0.007975122891366482,
-0.06621332466602325,
-0.07539462298154831,
0.037949346005916595,
-0.051451247185468674,
-0.02799394354224205,
0.042918045073747635,
0.01920870505273342,
0.010027412325143814,
0.0072280182503163815,
-0.04371015727519989,
-0.04097377136349678,
0.028335990384221077,
-0.008074137382209301,
0.048570841550827026,
-0.07071395963430405,
0.030370278283953667,
-0.03316067159175873,
-0.01291681919246912,
-0.02507753297686577,
0.05350353568792343,
0.023457303643226624,
-0.03371874988079071,
-0.012430750764906406,
-0.0012185466475784779,
-0.023385293781757355,
-0.03964158520102501,
0.06344093382358551,
0.06851764768362045,
-0.04936295375227928,
0.026805775240063667,
-0.03672517463564873,
-0.006215375382453203,
0.0018362586852163076,
0.03085634671151638,
0.007543062325567007,
-0.03173847123980522,
-0.06524118781089783,
-0.0074755530804395676,
-0.014059980399906635,
-0.030838344246149063,
-0.05688801407814026,
-0.01256577018648386,
-0.02405138686299324,
0.0017766252858564258,
-0.04007364436984062,
-0.03440284729003906,
-0.04385417699813843,
0.018722636625170708,
-0.017039399594068527,
0.05260340869426727,
-0.01991080492734909,
-0.008042632602155209,
0.024987518787384033,
0.07251421362161636,
-0.049146924167871475,
-0.019748780876398087,
-0.019550753757357597,
-0.015635201707482338,
0.023655332624912262,
-0.00040730737964622676,
-0.021927088499069214,
-0.03326868638396263,
-0.014330018311738968,
-0.009226299822330475,
0.06318890303373337,
-0.016859374940395355,
-0.09433328360319138,
-0.028966080397367477,
-0.013249866664409637,
0.03928153216838837,
-0.03650914132595062,
0.006660938262939453,
0.027219833806157112,
0.015527186915278435,
-0.026247696951031685,
-0.002378585049882531,
0.015455177053809166,
0.012331737205386162,
0.03418681398034096,
-0.04079374670982361,
0.03211652487516403,
0.03582504764199257,
-0.0013693178771063685,
0.0015740967355668545,
0.013321876525878906,
0.041837893426418304,
0.042918045073747635,
-0.008056134916841984,
0.004757170099765062,
0.009136286564171314,
-0.05227936431765556,
0.05753610283136368,
0.003037927905097604,
-0.030334273353219032,
-0.00583732221275568,
-0.015455177053809166,
0.01749846525490284,
-0.04014565423130989,
-0.014041977934539318,
-0.022107113152742386,
-0.025095535442233086,
0.0025181046221405268,
-0.0843958854675293,
0.004001063760370016,
0.04237796738743782,
-0.04774272441864014,
-0.03256658837199211,
0.015635201707482338,
-0.043674152344465256,
-0.025113537907600403,
0.008731230162084103,
0.020126834511756897,
-0.056023892015218735,
-0.028335990384221077,
0.06621332466602325,
-0.004703162238001823,
0.032152529805898666,
0.028552021831274033,
-0.004716664552688599,
0.0074890549294650555,
-0.052711423486471176,
0.025293562561273575,
-0.011863671243190765,
0.008735730312764645,
0.07330632209777832,
0.0071875122375786304,
-0.040685731917619705,
-0.036869194358587265,
-0.01374493632465601,
0.009847386740148067,
-0.0232232715934515,
-0.016526328399777412,
-0.016778362914919853,
0.0452943779528141,
0.01447403896600008,
-0.035609014332294464,
0.008087638765573502,
-0.042161937803030014,
0.007511558011174202,
0.01637330651283264,
0.0015065872576087713,
-0.08886051923036575,
-0.024195408448576927,
-0.08979664742946625,
0.05418763309717178,
-0.007930116727948189,
0.010729511268436909,
0.024861501529812813,
-0.023817354813218117,
-0.011539625003933907,
0.011971686035394669,
-0.026175687089562416,
0.0005057587404735386,
-0.013447893783450127,
0.028480011969804764,
0.031522441655397415,
0.008078637532889843,
-0.007552063558250666,
-0.03620309755206108,
-0.04115379601716995,
0.0048606847412884235,
0.02169305458664894,
0.03607708215713501,
-0.01940673403441906,
-0.021603042259812355,
-0.01335788145661354,
0.015185139141976833,
0.0066969431936740875,
0.002412339672446251,
0.06308088451623917,
0.013474898412823677,
-0.0025811134837567806,
-0.05501575022935867,
-0.003960557747632265,
0.032170530408620834,
-0.0346008725464344,
-0.01591424085199833,
-0.004568143282085657,
-0.04054171219468117,
0.027597887441515923,
-0.01161163579672575,
-0.03073032759130001,
0.013798943720757961,
-0.013942963443696499,
-0.06160467863082886,
0.06023648381233215,
-0.023763347417116165,
0.07640276104211807,
-0.003706271992996335,
0.10679104179143906,
0.02302524261176586,
0.039857614785432816,
0.023133259266614914,
-0.03863344341516495,
0.06768953055143356,
-0.07006587088108063,
-0.008330672979354858,
0.05739208310842514,
0.0028038949239999056,
-0.026247696951031685,
-0.01476207934319973,
-0.0036522643640637398,
-0.0036657662130892277,
0.013753937557339668,
0.013672925531864166,
-0.011566629633307457,
-0.053287506103515625,
-0.08648417890071869,
0.006489913910627365,
0.00029957343940623105,
0.043494127690792084,
0.01659833826124668,
0.04630252346396446,
0.020774926990270615
]
|
40,294 | pyglove.core.object_utils.common_traits | _maybe_quote | Maybe quote the formatted string with markdown. | def _maybe_quote(
self,
s: str,
*,
compact: bool = False,
root_indent: int = 0,
markdown: bool = False,
**kwargs
) -> str:
"""Maybe quote the formatted string with markdown."""
del kwargs
if not markdown or root_indent > 0:
return s
if compact:
return f'`{s}`'
else:
return f'\n```\n{s}\n```\n'
| (self, s: str, *, compact: bool = False, root_indent: int = 0, markdown: bool = False, **kwargs) -> str | [
-0.013480211608111858,
-0.01804903708398342,
0.09816449135541916,
0.03320883587002754,
0.027047449722886086,
-0.03874364495277405,
0.014428786933422089,
0.006557352840900421,
0.005573967471718788,
-0.002499800408259034,
0.02629903145134449,
0.05325945466756821,
-0.05381641909480095,
0.0036615876015275717,
0.008754740469157696,
-0.0036180750466883183,
0.01168749202042818,
-0.025341754779219627,
0.0774872899055481,
0.02246992103755474,
0.02607276663184166,
0.028683524578809738,
0.01804903708398342,
-0.006975074298679829,
0.005761072039604187,
0.04668034613132477,
0.02142561785876751,
-0.007897541858255863,
-0.021460428833961487,
-0.030511055141687393,
0.060291096568107605,
0.02615979127585888,
-0.00355715723708272,
0.038639213889837265,
0.03982275724411011,
-0.0002608038194011897,
-0.012409801594913006,
0.047028448432683945,
-0.0749809592962265,
-0.09050626307725906,
-0.050370216369628906,
0.023444604128599167,
0.023514224216341972,
-0.022626565769314766,
-0.0264382716268301,
0.0014174238312989473,
-0.009746828116476536,
0.029240485280752182,
-0.03731643036007881,
0.03752528876066208,
0.08458855003118515,
0.00959018338471651,
0.008158617652952671,
-0.026716753840446472,
-0.0332784578204155,
-0.020102834329009056,
0.035924024879932404,
0.06934172660112381,
0.06836704164743423,
-0.02088606171309948,
0.003489712718874216,
0.07867082953453064,
0.013523724861443043,
0.029536372050642967,
-0.03555851802229881,
0.0069228592328727245,
-0.0032917303033173084,
-0.0072448523715138435,
0.010338600724935532,
-0.013210433535277843,
-0.019563278183341026,
0.006653080694377422,
-0.02516770362854004,
0.0007767003844492137,
0.0069968304596841335,
-0.06721830368041992,
-0.052215151488780975,
-0.06394615769386292,
-0.010390815325081348,
-0.017335431650280952,
0.006056957878172398,
-0.08437968790531158,
-0.01272309198975563,
-0.04417401924729347,
0.0062527647241950035,
-0.030302193015813828,
0.05179743096232414,
0.030476244166493416,
0.009503157809376717,
0.037420861423015594,
0.04267718642950058,
-0.0442088283598423,
0.014550622552633286,
0.010991289280354977,
0.0040793088264763355,
0.0243670716881752,
0.0015468739438802004,
-0.022174034267663956,
0.005930771119892597,
0.018954100087285042,
0.01813606359064579,
0.028753144666552544,
0.003900907002389431,
-0.055556923151016235,
-0.0122444536536932,
-0.03766452893614769,
0.018066443502902985,
-0.006465976592153311,
-0.011818029917776585,
-0.08493664860725403,
-0.05002211779356003,
-0.06300628185272217,
-0.09301259368658066,
-0.04438288137316704,
0.04365186765789986,
-0.002219144022092223,
-0.017074355855584145,
-0.0010443030623719096,
0.03446200117468834,
-0.050230976194143295,
-0.006444219965487719,
-0.015821190550923347,
-0.07644298672676086,
-0.034914530813694,
0.004473098088055849,
0.04121515899896622,
0.016273722052574158,
0.021094921976327896,
0.01581248827278614,
0.0001418239698978141,
0.00481684785336256,
0.05729742720723152,
0.029919283464550972,
-0.04149364307522774,
-0.0022126170806586742,
0.03343510255217552,
-0.0120878079906106,
0.02292245253920555,
-0.0211645420640707,
0.0653037503361702,
-0.0030371814500540495,
-0.03822149336338043,
-0.04027528688311577,
-0.005338999442756176,
-0.004742876626551151,
0.03040662407875061,
-0.010669296607375145,
0.011809326708316803,
0.009155056439340115,
0.02958858758211136,
0.07985437661409378,
0.02332276850938797,
-0.003927014768123627,
0.016456475481390953,
0.008136861026287079,
0.02048574574291706,
0.009459645487368107,
-0.0004337665159255266,
0.061022110283374786,
0.04239870607852936,
0.0516233816742897,
-0.019110746681690216,
0.002584650181233883,
0.051170848309993744,
0.00476898392662406,
0.012453313916921616,
0.011704896576702595,
-0.04086706042289734,
0.008772145956754684,
0.026003146544098854,
0.017962012439966202,
0.05976894497871399,
0.0014892197214066982,
0.04476579278707504,
0.04379110783338547,
0.0915505662560463,
-0.01587340608239174,
0.06095248833298683,
-0.0611613504588604,
-0.12768346071243286,
-0.01799682341516018,
-0.0016056159511208534,
0.04629743471741676,
0.034810103476047516,
0.0384303517639637,
-0.03581959381699562,
0.01743115857243538,
-0.03284333273768425,
0.02802213281393051,
-0.011104422621428967,
-0.04187655448913574,
0.00769303273409605,
-0.0246803630143404,
-0.01975473202764988,
-0.034270547330379486,
-0.031642381101846695,
0.02783067710697651,
-0.06638286262750626,
0.032268963754177094,
-0.06039552763104439,
-0.0621708407998085,
0.022522136569023132,
0.0206597950309515,
-0.06648729741573334,
0.028248397633433342,
-0.013419294729828835,
-0.018553784117102623,
-0.003959649242460728,
-0.10136701911687851,
0.018867075443267822,
-0.012905845418572426,
-0.016874197870492935,
-0.0406930111348629,
0.014472300186753273,
0.010121037252247334,
0.0026020552031695843,
0.10220246016979218,
0.04922148585319519,
-0.02071201056241989,
0.007640817202627659,
0.01697862707078457,
-0.05430375784635544,
0.0487341433763504,
0.057262618094682693,
0.038778454065322876,
-0.021007897332310677,
0.035889215767383575,
-0.006700944621115923,
0.013201731257140636,
-0.04225946217775345,
-0.013210433535277843,
-0.07881007343530655,
0.020468339323997498,
0.0038900289218872786,
0.03333067148923874,
-0.06596514582633972,
-0.02102530188858509,
-0.07741766422986984,
0.022313276305794716,
-0.028004726395010948,
0.012897143140435219,
-0.024471500888466835,
0.023444604128599167,
0.020189858973026276,
0.05987337604165077,
-0.05092718079686165,
-0.034618645906448364,
0.02490662783384323,
-0.02093827724456787,
0.014907426200807095,
-0.0017818420892581344,
0.0378037691116333,
0.005321594420820475,
-0.031642381101846695,
-0.0117745166644454,
-0.019006315618753433,
0.06728792935609818,
0.058620210736989975,
0.010617081075906754,
0.002467165933921933,
-0.03662022575736046,
-0.0871644988656044,
-0.037594910711050034,
-0.002148435916751623,
-0.011513440869748592,
-0.010773726738989353,
-0.03870883211493492,
-0.02043353021144867,
-0.008654661476612091,
0.01542957779020071,
-0.0325300395488739,
0.018849670886993408,
0.015159799717366695,
-0.044139210134744644,
-0.022365489974617958,
-0.0005417322390712798,
0.0019548048730939627,
-0.008354424498975277,
0.014994451776146889,
-0.014106794260442257,
0.03884807229042053,
-0.01287973765283823,
0.06272780150175095,
0.036028455942869186,
0.030023712664842606,
-0.00526502775028348,
0.013010275550186634,
-0.056636035442352295,
-0.005417322274297476,
0.06558223068714142,
-0.0060439039953053,
0.016647931188344955,
0.03054586425423622,
-0.017135273665189743,
0.031068015843629837,
-0.013619452714920044,
0.0326518751680851,
-0.03387022763490677,
-0.0020864305552095175,
-0.0756075382232666,
-0.02887498028576374,
0.014785590581595898,
0.03510598838329315,
0.029936688020825386,
0.00820212997496128,
0.0052258665673434734,
-0.06251894682645798,
-0.02394934929907322,
0.02715187892317772,
-0.04908224567770958,
-0.011931162327528,
0.03470567241311073,
0.031868647783994675,
0.04598414525389671,
-0.02273099683225155,
0.041563261300325394,
-0.02193036489188671,
-0.02950156107544899,
0.0012118266895413399,
0.006870643701404333,
0.009807745926082134,
-0.0483512319624424,
-0.006348492577672005,
0.0005017549847252667,
-0.009955689311027527,
-0.03724680840969086,
-0.03143352270126343,
-0.028004726395010948,
0.04386072978377342,
0.0644335001707077,
0.009433537721633911,
-0.004059728235006332,
0.026003146544098854,
-0.04984806478023529,
-0.01564714126288891,
-0.05155375972390175,
0.004022742621600628,
-0.04271199554204941,
-0.026246817782521248,
-0.022522136569023132,
0.05489553138613701,
0.02193036489188671,
0.032234154641628265,
0.016560906544327736,
-0.04386072978377342,
-0.02715187892317772,
0.028666118159890175,
-0.008384883403778076,
0.02661232277750969,
-0.031207256019115448,
0.007314472924917936,
0.02629903145134449,
0.015394767746329308,
-0.03383541852235794,
-0.0005050184554420412,
0.01754429191350937,
-0.029780041426420212,
0.09475310146808624,
-0.043338578194379807,
-0.04104110971093178,
0.022069605067372322,
-0.0008555670501664281,
0.04027528688311577,
0.029379725456237793,
0.011026100255548954,
0.0149770462885499,
-0.03183383867144585,
0.04142402112483978,
-0.014150306582450867,
0.0038900289218872786,
-0.010869454592466354,
0.026090171188116074,
-0.005756720434874296,
-0.03721199929714203,
-0.040449339896440506,
0.009685911238193512,
-0.03216453269124031,
0.022992072626948357,
-0.01723100058734417,
-0.05454742908477783,
-0.024123400449752808,
0.0013706478057429194,
0.010965182445943356,
0.023931944742798805,
-0.050056926906108856,
0.012401099316775799,
-0.01287973765283823,
0.02910124510526657,
0.011130530387163162,
-0.015490495599806309,
0.00308504537679255,
-0.07644298672676086,
0.03296516835689545,
0.0378037691116333,
-0.05597464367747307,
-0.01703084260225296,
0.013001573272049427,
-0.016186697408556938,
-0.07080374658107758,
0.04668034613132477,
0.058306921273469925,
-0.014959641732275486,
0.03460124135017395,
-0.05016135796904564,
0.00410106498748064,
0.02621200680732727,
-0.005182353779673576,
-0.004494854249060154,
-0.03085915558040142,
0.11765814572572708,
-0.009433537721633911,
-0.0756075382232666,
-0.007479820866137743,
0.004512259270995855,
0.008080295287072659,
-0.030737319961190224,
-0.0275696013122797,
-0.005956878885626793,
-0.03211231902241707,
-0.026055362075567245,
-0.004207671154290438,
-0.03334807604551315,
-0.026246817782521248,
0.047167688608169556,
-0.01646517775952816,
0.003591967513784766,
-0.021460428833961487,
-0.02323574386537075,
0.04949996620416641,
-0.030058523640036583,
-0.020416125655174255,
0.013906635344028473,
0.02323574386537075,
-0.015542710199952126,
0.014019768685102463,
0.008424044586718082,
0.0563923642039299,
-0.0006287574651651084,
-0.004747227765619755,
0.023844920098781586,
0.07303159683942795,
0.020868655294179916,
-0.04859490320086479,
-0.006735754664987326,
0.01024287287145853,
0.0448354110121727,
0.029153460636734962,
0.04775945842266083,
-0.021268973127007484,
0.026003146544098854,
0.06464236229658127,
0.05670565739274025,
-0.0642942562699318,
0.02043353021144867,
-0.009868663735687733,
-0.08605057001113892,
0.07052526623010635,
-0.02845725789666176,
-0.058933503925800323,
0.0570189468562603,
0.01720489375293255,
0.03578478470444679,
-0.03738604858517647,
0.06676577776670456,
0.03641136735677719,
-0.003894380060955882,
-0.0023910189047455788,
0.0007424342329613864,
-0.07463286072015762,
-0.027987321838736534,
0.021460428833961487,
-0.003437497653067112,
-0.023044288158416748,
0.07240501046180725,
-0.0152903376147151,
-0.015542710199952126,
-0.04448730871081352,
-0.037734150886535645,
-0.0017415928887203336,
0.015577520243823528,
-0.04963920637965202,
-0.04800312966108322,
-0.019389227032661438,
-0.027761057019233704,
0.018518975004553795,
-0.00789319071918726,
0.06774045526981354,
-0.04525313153862953,
0.1031075194478035,
0.030615484341979027,
0.0003260727389715612,
0.09391765296459198,
0.03975313529372215,
-0.024802198633551598,
0.0177705567330122,
-0.014219926670193672,
-0.024802198633551598,
-0.01448100246489048,
0.05660122632980347,
-0.034583836793899536,
0.019911378622055054,
-0.013558534905314445,
0.012401099316775799,
-0.011226258240640163,
0.02269618585705757,
-0.007788760121911764,
-0.0005107294418849051,
0.06338919699192047,
0.009868663735687733,
-0.0007397146546281874,
0.028039537370204926,
-0.01961549185216427,
0.0038443405646830797,
-0.005552211310714483,
0.015734165906906128,
-0.015655843541026115,
0.012392396107316017,
0.030458839610219002,
0.08535437285900116,
-0.007980216294527054,
-0.017274513840675354,
0.038778454065322876,
-0.03982275724411011,
-0.02896200492978096,
-0.02173890918493271,
-0.016926411539316177,
0.05155375972390175,
0.001034512766636908,
0.0013325741747394204,
-0.030337003991007805,
0.007653871085494757,
-0.012000782415270805,
-0.02521991916000843,
-0.014254736714065075,
-0.008571987971663475,
0.06412021070718765,
-0.08020247519016266,
0.02553321048617363,
0.0025215568020939827,
-0.01643907092511654,
0.01517720427364111,
-0.008001971989870071,
0.04055376723408699,
-0.03585440665483475,
-0.0038508675061166286,
0.054129708558321,
0.0275696013122797,
0.035715166479349136,
0.024193020537495613,
0.036829087883234024,
-0.06283223628997803,
-0.0275696013122797,
-0.011878947727382183,
0.050996799021959305,
0.031729407608509064,
-0.030232572928071022,
-0.03239079937338829,
0.02400156483054161,
0.009459645487368107,
0.02106011100113392,
0.006235359702259302,
0.05155375972390175,
0.047480978071689606,
-0.056496795266866684,
0.021634478121995926,
-0.03933541476726532,
0.022174034267663956,
-0.03197307884693146,
-0.0050953286699950695,
0.0024454097729176283,
-0.04758540913462639,
-0.02833542227745056,
0.0695853903889656,
0.0470980666577816,
-0.04396515712141991,
-0.035123392939567566,
-0.0009779463289305568,
0.023357577621936798,
-0.019319606944918633,
0.06203160062432289,
-0.019337011501193047,
-0.030371814966201782,
0.02193036489188671,
0.011583061888813972,
0.003048059530556202,
-0.03536706417798996,
0.0007451537530869246,
-0.00699247932061553,
-0.022208845242857933,
0.01867561973631382,
-0.0010687789181247354,
-0.015368659980595112,
0.012392396107316017,
0.003326540347188711,
0.05137971043586731,
-0.01394144631922245,
0.04619300365447998,
-0.04525313153862953,
-0.009477050043642521,
0.0068227797746658325,
-0.036655038595199585,
0.05472148209810257,
-0.017561696469783783,
0.03992718830704689,
0.043512627482414246,
0.035715166479349136,
0.017927203327417374,
0.00419461727142334,
-0.07518982142210007,
-0.056009452790021896,
-0.01975473202764988,
0.10234169661998749,
-0.036655038595199585,
0.008484962396323681,
-0.03916136547923088,
0.006840185262262821,
-0.06512969732284546,
-0.02765662595629692,
-0.024053780362010002,
0.022765805944800377,
0.015307742170989513,
0.033087000250816345,
-0.06603476405143738,
-0.03373098745942116,
-0.01583859696984291,
0.010669296607375145,
-0.016996031627058983,
-0.01966770738363266,
-0.05621831491589546,
-0.04511389136314392,
-0.0026934316847473383,
0.019859163090586662,
0.016456475481390953,
-0.002401896985247731,
0.021390806883573532,
-0.016082266345620155,
-0.056810084730386734,
0.03138130530714989,
-0.029466751962900162,
0.012958060950040817,
0.01272309198975563,
-0.0365506075322628,
-0.02034650556743145,
0.0019450144609436393,
-0.02621200680732727,
-0.01258385181427002,
-0.02913605608046055,
-0.05426894873380661,
-0.03449681028723717,
-0.01952846720814705,
-0.032268963754177094,
0.04570566490292549,
0.043686676770448685,
-0.01850156858563423,
-0.003235163865610957,
0.05409489944577217,
-0.05583540350198746,
0.021773718297481537,
0.004233778454363346,
-0.03686389699578285,
0.058933503925800323,
-0.043547436594963074,
-0.07031640410423279,
0.07525943964719772,
-0.0048560090363025665,
-0.032773710787296295,
-0.019772138446569443,
-0.010921669192612171,
0.012314073741436005,
-0.03472307696938515,
-0.015446982346475124,
0.0636676773428917,
0.011330688372254372,
-0.03063288889825344,
-0.00027100209263153374,
-0.0299540925770998,
0.03477529063820839,
0.003770369105041027,
0.013227839022874832,
-0.017152678221464157,
0.025916121900081635,
-0.02802213281393051,
0.012209643609821796,
0.01898891106247902,
-0.04908224567770958,
0.02238289639353752,
0.008006323128938675,
-0.017805367708206177,
-0.011295878328382969,
-0.036202505230903625,
-0.00711431447416544,
-0.01904112659394741,
-0.033226244151592255,
-0.01592562161386013,
0.027621816843748093,
-0.048246800899505615,
-0.030615484341979027,
0.014011066406965256,
0.0625537559390068,
-0.05566135421395302,
0.05774996057152748,
0.03996199741959572,
0.015751570463180542,
0.028318017721176147,
-0.028787953779101372,
-0.004908224567770958,
0.03319143131375313,
0.021895553916692734,
-0.029797447845339775,
-0.0148204006254673,
0.013297459110617638,
0.06613919138908386,
0.013680370524525642,
0.0123401815071702,
-0.020242074504494667,
-0.05277211591601372,
0.053120214492082596,
-0.05318983644247055,
0.06787969917058945,
-0.024837007746100426,
-0.03992718830704689,
-0.024018971249461174,
0.0017165731405839324,
-0.015151096507906914,
0.024332260712981224,
-0.013845718465745449,
-0.05211072415113449,
-0.01283622533082962,
0.08855690062046051,
-0.03352212905883789,
-0.05437337979674339,
0.1006011962890625,
-0.008132509887218475,
0.050544269382953644,
0.02462814748287201,
-0.008015026338398457,
-0.00436431635171175,
0.009546670131385326,
-0.026490487158298492,
-0.028178777545690536,
-0.0177096389234066,
0.04347781836986542,
0.0027826325967907906,
-0.002044005785137415,
0.06707906723022461,
0.013567237183451653,
-0.001803598366677761,
0.05580059438943863,
-0.04347781836986542,
-0.015081476420164108,
0.0018873602384701371,
0.011783219873905182,
-0.06352843344211578,
0.017962012439966202,
0.015560115687549114,
-0.02896200492978096,
-0.025602830573916435,
0.05520882084965706,
0.014742078259587288,
0.03783858194947243,
-0.05621831491589546,
-0.015333849936723709,
0.037594910711050034,
0.029797447845339775,
0.00806288979947567,
0.003718154039233923,
-0.04020566865801811,
0.03707275912165642
]
|
40,295 | pyglove.core.symbolic.base | _notify_field_updates | Notify field updates. | def _notify_field_updates(
self,
field_updates: List[FieldUpdate],
notify_parents: bool = True) -> None:
"""Notify field updates."""
per_target_updates = dict()
def _get_target_updates(
target: 'Symbolic'
) -> Dict[object_utils.KeyPath, FieldUpdate]:
target_id = id(target)
if target_id not in per_target_updates:
per_target_updates[target_id] = (target, dict())
return per_target_updates[target_id][1]
for update in field_updates:
target = update.target
while target is not None:
target_updates = _get_target_updates(target)
if target._subscribes_field_updates: # pylint: disable=protected-access
relative_path = update.path - target.sym_path
target_updates[relative_path] = update
target = target.sym_parent
# Trigger the notification bottom-up, thus the parent node will always
# be notified after the child nodes.
for target, updates in sorted(per_target_updates.values(),
key=lambda x: x[0].sym_path,
reverse=True):
# Reset content-based cache for the object being notified.
target._set_raw_attr('_sym_puresymbolic', None) # pylint: disable=protected-access
target._set_raw_attr('_sym_missing_values', None) # pylint: disable=protected-access
target._set_raw_attr('_sym_nondefault_values', None) # pylint: disable=protected-access
target._on_change(updates) # pylint: disable=protected-access
# If `notify_parents` is set to False, stop notifications once `self`
# is processed.
if target is self and not notify_parents:
break
| (self, field_updates: List[pyglove.core.symbolic.base.FieldUpdate], notify_parents: bool = True) -> NoneType | [
0.023333866149187088,
-0.020650383085012436,
-0.05676189437508583,
0.07691467553377151,
-0.05445161089301109,
-0.05594440922141075,
-0.014243788085877895,
0.0373910553753376,
0.012617703527212143,
-0.002621283521875739,
0.011586961336433887,
-0.05526909604668617,
0.09660540521144867,
-0.022018780931830406,
-0.01321304589509964,
-0.0375332236289978,
-0.0737869068980217,
0.004493946209549904,
0.026888148859143257,
-0.019424155354499817,
-0.01834009774029255,
-0.030975572764873505,
0.07591947913169861,
0.0330192856490612,
0.025217635557055473,
-0.010325191542506218,
-0.0051892525516450405,
0.045636989176273346,
0.032415058463811874,
0.018100185319781303,
-0.03948808088898659,
-0.016669586300849915,
0.03586271405220032,
0.006846437230706215,
0.018997641280293465,
0.0028389832004904747,
-0.022676322609186172,
0.05537572503089905,
-0.09013660997152328,
-0.0047582960687577724,
0.03410334140062332,
-0.017007242888212204,
-0.009418848901987076,
0.00007212694617919624,
0.06355057656764984,
0.05832577869296074,
-0.03614705428481102,
0.04677436128258705,
0.04034110903739929,
-0.024613408371806145,
-0.0008702438790351152,
-0.03499191254377365,
0.025999577715992928,
0.012253389693796635,
-0.009338878095149994,
0.05054190009832382,
0.04485504701733589,
0.011231533251702785,
0.02882523275911808,
-0.02534203603863716,
0.03595156967639923,
-0.010147477500140667,
-0.0007036369061097503,
-0.02013501152396202,
-0.038101911544799805,
-0.04848041757941246,
0.08025570213794708,
-0.011053819209337234,
-0.04037665203213692,
-0.006597637198865414,
-0.06440360099077225,
-0.03955916687846184,
-0.004018560983240604,
-0.028789689764380455,
0.010671733878552914,
-0.0070108226500451565,
0.004651667550206184,
0.0070419227704405785,
0.0011484775459393859,
-0.014688072726130486,
-0.009285563603043556,
-0.024613408371806145,
0.009196706116199493,
-0.025999577715992928,
0.051856983453035355,
0.005344752687960863,
0.04393093287944794,
0.029536088928580284,
0.05885891988873482,
0.03452985733747482,
-0.057757094502449036,
-0.004467288963496685,
-0.007903835736215115,
0.007415122352540493,
-0.025519749149680138,
0.01387058850377798,
-0.009392191655933857,
-0.03355242684483528,
-0.06923742592334747,
0.07122782617807388,
0.05523355305194855,
-0.035631682723760605,
-0.037355512380599976,
0.0001648020843276754,
0.023973636329174042,
-0.04723641648888588,
-0.05779263749718666,
-0.025964034721255302,
0.020028382539749146,
-0.02916288934648037,
0.007246293593198061,
-0.05949869379401207,
-0.005247009918093681,
0.010618419386446476,
0.016945043578743935,
-0.005846795160323381,
-0.030797859653830528,
-0.009285563603043556,
0.05985412001609802,
-0.0752086192369461,
0.02806106209754944,
0.015656614676117897,
-0.03948808088898659,
-0.014439273625612259,
-0.03657357022166252,
-0.036609113216400146,
0.014892444014549255,
0.03129545971751213,
0.07076577097177505,
-0.009241134859621525,
-0.061311375349760056,
-0.012759874574840069,
-0.018428955227136612,
0.058645665645599365,
0.0698416531085968,
0.0019859555177390575,
-0.009783162735402584,
-0.021752210333943367,
-0.021521180868148804,
-0.0644746869802475,
0.012057904154062271,
0.015665501356124878,
0.0743555948138237,
0.007552850525826216,
-0.030797859653830528,
0.004089646507054567,
0.00838810671120882,
0.01915758289396763,
-0.08153524249792099,
-0.042900193482637405,
-0.06344394385814667,
-0.019672954455018044,
0.030762316659092903,
0.0008635796257294714,
-0.0376753956079483,
0.05420280992984772,
-0.08508952707052231,
-0.009329992346465588,
0.017211614176630974,
0.040980879217386246,
-0.0010412937263026834,
-0.04012785106897354,
0.019832897931337357,
-0.0007347368518821895,
-0.02129015326499939,
0.017744755372405052,
-0.05711732432246208,
-0.07328931242227554,
-0.049120187759399414,
0.06564760208129883,
-0.006428808905184269,
-0.0011984596494585276,
-0.0013683987781405449,
0.003452097065746784,
-0.025519749149680138,
0.028452033177018166,
0.021112438291311264,
-0.029251746833324432,
-0.012368903495371342,
0.046987615525722504,
-0.03115328773856163,
-0.03397894278168678,
0.03831516578793526,
0.024257978424429893,
0.0020559304393827915,
0.04990212991833687,
-0.028292089700698853,
0.005233681295067072,
0.004116303753107786,
-0.0012939809821546078,
-0.03852842375636101,
-0.018304556608200073,
0.03365905582904816,
0.009605448693037033,
0.004749410320073366,
0.025146549567580223,
0.009667648933827877,
-0.0016094236634671688,
-0.010129706002771854,
0.03824407979846001,
-0.009303335100412369,
-0.01482135895639658,
0.022854037582874298,
0.01126707624644041,
-0.04265139251947403,
0.06849102675914764,
0.06340840458869934,
0.01663404330611229,
-0.006393265910446644,
-0.036466941237449646,
0.028096605092287064,
0.059320978820323944,
-0.0843786671757698,
-0.03383677080273628,
-0.02260523848235607,
-0.010520677082240582,
0.024186894297599792,
0.03458316996693611,
-0.04975995793938637,
-0.014465930871665478,
0.000362092541763559,
0.033445801585912704,
-0.08985226601362228,
-0.05320761352777481,
-0.027083633467555046,
0.00979204848408699,
-0.014234902337193489,
0.05025755614042282,
0.05374075472354889,
-0.07161879539489746,
-0.011578075587749481,
0.015798786655068398,
-0.01786027103662491,
-0.011160447262227535,
0.08238827437162399,
-0.05974749103188515,
-0.016260843724012375,
-0.024826664477586746,
0.015549986623227596,
0.0033876756206154823,
0.00540695246309042,
-0.03335694223642349,
-0.02436460740864277,
-0.03031803108751774,
0.05462932586669922,
-0.0698416531085968,
0.03948808088898659,
-0.03867059573531151,
-0.016740672290325165,
0.0027323549147695303,
0.03129545971751213,
-0.020863639190793037,
0.025306493043899536,
0.03827962279319763,
-0.0058156950399279594,
-0.01677621342241764,
0.028523119166493416,
0.022551923990249634,
0.055624522268772125,
-0.01300867460668087,
-0.009294449351727962,
0.011746903881430626,
-0.04773401468992233,
-0.011720247566699982,
-0.001313973916694522,
-0.016145329922437668,
0.04595687612891197,
-0.02260523848235607,
-0.03881276771426201,
0.05061298608779907,
0.04780510067939758,
-0.030371345579624176,
0.0005262004560790956,
0.03580939769744873,
-0.03991459310054779,
-0.03387231379747391,
0.013852817006409168,
-0.0002267243544338271,
-0.021752210333943367,
-0.041123051196336746,
0.03094003163278103,
-0.014092730358242989,
0.04297127574682236,
0.034672029316425323,
0.05299435555934906,
-0.03524071350693703,
-0.005193695425987244,
0.05800589174032211,
-0.06735365837812424,
-0.04034110903739929,
0.06497228890657425,
0.03429882600903511,
0.054735954850912094,
-0.023493807762861252,
-0.03628922626376152,
-0.008850163780152798,
-0.01786915585398674,
0.014350416138768196,
0.02129015326499939,
-0.030637916177511215,
0.047271959483623505,
0.04229596257209778,
-0.028309861198067665,
-0.025111006572842598,
0.04353996366262436,
0.007748336065560579,
0.017647013068199158,
-0.00458946730941534,
0.049049101769924164,
-0.019886212423443794,
-0.02251638099551201,
0.04503276199102402,
-0.03486751392483711,
0.020828096196055412,
-0.007401793729513884,
-0.046383388340473175,
-0.01246664673089981,
-0.023369409143924713,
0.024666721001267433,
0.0461345873773098,
0.020348267629742622,
0.04510384798049927,
-0.025093235075473785,
0.09916448593139648,
-0.06223548948764801,
0.0033321399241685867,
0.04634784534573555,
0.03923927992582321,
-0.005775709170848131,
-0.02772340551018715,
0.07275616377592087,
-0.06610965728759766,
0.04702315852046013,
-0.04417973384261131,
-0.007957150228321552,
0.03785311058163643,
0.01807352714240551,
-0.050222013145685196,
0.03086894564330578,
0.0010190794710069895,
0.031331002712249756,
-0.0007003047503530979,
-0.05736612156033516,
0.015869872644543648,
-0.009676534682512283,
-0.024595636874437332,
0.0694151371717453,
0.028469804674386978,
0.057828180491924286,
0.025964034721255302,
-0.014021645300090313,
-0.013230817392468452,
-0.04784064367413521,
0.012786531820893288,
0.030033688992261887,
-0.05647755041718483,
-0.01249330397695303,
-0.06106257811188698,
0.015256758779287338,
0.0006114476709626615,
-0.02587517723441124,
0.028469804674386978,
0.02841649018228054,
-0.02683483436703682,
-0.016660699620842934,
-0.0327349416911602,
0.03927482292056084,
0.026248376816511154,
-0.01387058850377798,
-0.001298423856496811,
0.008752421475946903,
0.0019970624707639217,
0.05697515234351158,
0.009969762526452541,
-0.01663404330611229,
0.028043290600180626,
0.013399645686149597,
0.04983104392886162,
-0.005193695425987244,
-0.018784383311867714,
-0.005717952270060778,
-0.028949633240699768,
-0.03945253789424896,
0.01126707624644041,
0.03664465621113777,
0.026514949277043343,
0.032628316432237625,
-0.011053819209337234,
0.0033587971702218056,
0.0033054829109460115,
0.035560596734285355,
0.02061484009027481,
-0.055908866226673126,
-0.03785311058163643,
-0.03047797456383705,
-0.020988039672374725,
0.065185546875,
0.010458476841449738,
-0.0187666118144989,
-0.07691467553377151,
0.002745683304965496,
-0.045565903186798096,
-0.06820668280124664,
-0.0025279836263507605,
-0.0036431397311389446,
0.03849288076162338,
-0.014768044464290142,
0.007934936322271824,
0.00175381638109684,
0.08125089854001999,
0.04229596257209778,
0.028629746288061142,
-0.012555503286421299,
-0.010716162621974945,
-0.019050955772399902,
-0.008916806429624557,
-0.06003183498978615,
-0.047058701515197754,
0.04048328101634979,
-0.018269013613462448,
-0.04922681674361229,
0.026408320292830467,
0.03197077289223671,
0.012262275442481041,
-0.009090078063309193,
-0.07762553542852402,
-0.04499721899628639,
0.01173801813274622,
0.031313229352235794,
0.10570436716079712,
0.032290659844875336,
0.008401435799896717,
-0.014590330421924591,
0.0005825691623613238,
0.0208103246986866,
-0.02541312202811241,
0.05608658120036125,
-0.01896209828555584,
-0.04154956340789795,
-0.02232089452445507,
-0.03046020306646824,
-0.011622504331171513,
0.05999629199504852,
-0.048160530626773834,
-0.026408320292830467,
0.025661921128630638,
-0.0104051623493433,
-0.004031889606267214,
-0.07133445143699646,
0.007548407651484013,
-0.01793135702610016,
-0.017984669655561447,
0.057188406586647034,
0.020863639190793037,
-0.04066099226474762,
-0.04752076044678688,
-0.01407495979219675,
-0.022232038900256157,
0.018153497949242592,
-0.017007242888212204,
-0.04044773802161217,
-0.006690937094390392,
0.016251957044005394,
-0.04688099026679993,
-0.04944007098674774,
-0.011027161963284016,
0.0007230743649415672,
-0.014128273352980614,
-0.020934725180268288,
-0.0026568262837827206,
0.09930665791034698,
-0.03191746026277542,
-0.04936898499727249,
0.03134877234697342,
-0.029109574854373932,
-0.04410864785313606,
-0.004522824659943581,
0.004242924973368645,
-0.04432190582156181,
-0.06483011692762375,
-0.011462561786174774,
-0.006522108800709248,
0.006228880491107702,
-0.039950136095285416,
0.041940536350011826,
-0.10605979710817337,
0.0347786545753479,
-0.06763800233602524,
-0.011684704571962357,
-0.003534289775416255,
-0.025430891662836075,
-0.043575506657361984,
0.0505063571035862,
-0.003023361787199974,
-0.01732712797820568,
-0.041194137185811996,
0.002830097684636712,
0.014625873416662216,
0.03540065512061119,
-0.04865812882781029,
-0.004780509974807501,
0.015185672789812088,
-0.0020459338556975126,
0.016482986509799957,
-0.01642078533768654,
-0.01944192685186863,
0.030104774981737137,
0.04688099026679993,
0.01676732860505581,
0.01290204655379057,
0.022978438064455986,
-0.029802659526467323,
0.04058991000056267,
0.009872020222246647,
-0.026941463351249695,
-0.0656120553612709,
-0.02347603626549244,
0.031526487320661545,
0.02553752064704895,
-0.006046723574399948,
0.021343467757105827,
0.007859407924115658,
0.021201295778155327,
-0.022072095423936844,
0.021236838772892952,
0.024044722318649292,
-0.03182860091328621,
0.0114981047809124,
-0.0017882484244182706,
-0.02438237890601158,
0.0023280552122741938,
0.012546617537736893,
0.032148487865924835,
-0.05537572503089905,
-0.025519749149680138,
0.011142675764858723,
0.03838625177741051,
0.013088646344840527,
-0.1471472978591919,
0.007637264672666788,
0.04396647587418556,
0.056939609348773956,
-0.02868306078016758,
-0.014234902337193489,
0.04272247850894928,
-0.03671573847532272,
-0.0027923332527279854,
-0.07954484969377518,
0.03088671714067459,
-0.009196706116199493,
-0.025892948731780052,
-0.012164532206952572,
-0.02205432392656803,
0.03339248523116112,
0.009472163394093513,
0.006642065942287445,
0.0002635167329572141,
0.016145329922437668,
0.010191905312240124,
0.009023435413837433,
-0.016198642551898956,
-0.03991459310054779,
0.06330177187919617,
0.02479112148284912,
-0.0413363091647625,
0.029180660843849182,
0.04037665203213692,
0.022960666567087173,
0.0070863510482013226,
0.052674468606710434,
0.018517812713980675,
0.07577730715274811,
0.000721408287063241,
-0.03586271405220032,
0.04759184643626213,
-0.04826715961098671,
0.0001016302703646943,
-0.030833402648568153,
-0.002441347809508443,
-0.09049203991889954,
0.0009374420624226332,
-0.0176025852560997,
0.000081776270235423,
-0.024009179323911667,
0.006122251972556114,
0.029287289828062057,
-0.004280689172446728,
0.0682777687907219,
0.00927667785435915,
0.07620382308959961,
-0.03376568481326103,
-0.041869450360536575,
-0.01903318427503109,
0.03362351283431053,
-0.024062493816018105,
0.03264608606696129,
-0.051181670278310776,
0.016731785610318184,
0.021947694942355156,
-0.030104774981737137,
-0.04464178904891014,
0.009569905698299408,
-0.005064853001385927,
-0.07126336544752121,
-0.002534647937864065,
-0.08473409712314606,
0.04752076044678688,
0.006886422634124756,
0.0186955276876688,
0.028594203293323517,
0.032823801040649414,
0.034956369549036026,
0.06344394385814667,
0.0304068885743618,
0.004076317884027958,
0.013577359728515148,
-0.009365534409880638,
0.0186955276876688,
0.029873745515942574,
-0.01683841459453106,
-0.029251746833324432,
0.008014907129108906,
0.009116735309362411,
-0.011000504717230797,
-0.05381184071302414,
0.01472361572086811,
-0.0019704054575413465,
-0.043717678636312485,
-0.006548766046762466,
0.03874168172478676,
0.02164558134973049,
0.002481333678588271,
-0.00559799512848258,
-0.006366608664393425,
0.021325696259737015,
-0.05366966873407364,
-0.013470731675624847,
-0.06006737798452377,
-0.03948808088898659,
-0.021005811169743538,
0.020170554518699646,
0.013959445059299469,
0.0033121472224593163,
-0.026959234848618507,
-0.02779448963701725,
0.008619135245680809,
-0.008765749633312225,
-0.06006737798452377,
0.031650885939598083,
-0.0025413120165467262,
-0.037817567586898804,
0.027883347123861313,
-0.08608472347259521,
0.007837193086743355,
0.038101911544799805,
0.09880905598402023,
-0.04894247278571129,
-0.049333442002534866,
-0.007886064238846302,
0.008836835622787476,
0.011329276487231255,
0.011764675378799438,
0.051110584288835526,
-0.0008191510569304228,
0.02390255033969879,
0.01328413188457489,
0.042402591556310654,
0.025964034721255302,
0.04304236173629761,
-0.00016438557941000909,
0.05160818621516228,
0.0066953799687325954,
0.02136123925447464,
0.025022150948643684,
0.053029898554086685,
-0.034672029316425323,
0.03149094432592392,
0.04961778596043587,
0.020170554518699646,
-0.005931209307163954,
0.08231718838214874,
-0.019939525052905083,
-0.004274025093764067,
0.01499907299876213,
0.00787273608148098,
0.01515901554375887,
0.07826530188322067,
0.053989555686712265,
0.023813694715499878,
0.009027877822518349,
-0.00047427459503524005,
-0.013683988712728024,
0.04975995793938637,
-0.02470226399600506,
0.0021958802826702595,
-0.028469804674386978,
-0.036395855247974396,
0.0017782520735636353,
0.026799291372299194,
-0.008863492868840694,
0.04869367182254791,
0.025573063641786575,
-0.03365905582904816,
0.018046870827674866,
0.0011040490353479981,
0.02527095004916191,
-0.024471236392855644,
-0.01290204655379057,
-0.007450664881616831,
0.04101642221212387,
-0.03381900116801262,
0.019744040444493294,
-0.03195299953222275,
-0.11565636098384857,
0.030513517558574677,
0.007312936708331108,
0.036466941237449646,
-0.025448663160204887,
0.04108750820159912,
0.01407495979219675,
0.010529562830924988,
0.07261399179697037,
-0.015318958088755608,
-0.02937614545226097,
-0.01300867460668087,
-0.01013859175145626,
0.03278825804591179,
-0.005580223631113768,
-0.048018358647823334,
-0.02191215194761753,
0.0278655756264925,
0.01314195990562439,
-0.018926555290818214,
-0.07400016486644745,
0.04154956340789795,
-0.008188178762793541,
0.02143232524394989,
0.0076816934160888195,
-0.06003183498978615,
0.03867059573531151,
-0.011871304363012314,
-0.02354712225496769,
0.007637264672666788,
0.04723641648888588,
-0.019744040444493294,
0.01533672958612442,
-0.03257500007748604,
-0.0012617703760042787,
0.009561019949615002,
-0.022782951593399048,
0.03332139924168587,
0.03355242684483528,
0.007846078835427761,
-0.0753507912158966,
0.037959739565849304,
0.002033716067671776,
-0.0343521423637867,
0.008125978522002697,
-0.01290204655379057,
0.02690592035651207,
0.025661921128630638,
0.0017760306363925338,
-0.005291438195854425,
0.057543836534023285,
-0.01889101229608059,
0.048373788595199585,
-0.037284426391124725,
0.04346887767314911
]
|
40,296 | pyglove.core.symbolic.object | _on_bound | Event that is triggered when any value in the subtree are set/updated.
NOTE(daiyip): This is the best place to set derived members from members
registered by the schema. It's called when any value in the sub-tree is
modified, thus making sure derived members are up-to-date.
When derived members are expensive to create/update, you can implement
_init, _on_rebound, _on_subtree_rebound to update derived members only when
they are impacted.
_on_bound is not called on per-field basis, it's called at most once
during a rebind call (though many fields may be updated)
and during __init__.
| def _on_bound(self) -> None:
"""Event that is triggered when any value in the subtree are set/updated.
NOTE(daiyip): This is the best place to set derived members from members
registered by the schema. It's called when any value in the sub-tree is
modified, thus making sure derived members are up-to-date.
When derived members are expensive to create/update, you can implement
_init, _on_rebound, _on_subtree_rebound to update derived members only when
they are impacted.
_on_bound is not called on per-field basis, it's called at most once
during a rebind call (though many fields may be updated)
and during __init__.
"""
| (self) -> NoneType | [
0.022430580109357834,
0.013633109629154205,
0.010417832992970943,
0.044046737253665924,
-0.023923689499497414,
0.02551860176026821,
0.00405515031889081,
-0.006892906967550516,
0.06342322379350662,
-0.042553626000881195,
-0.03006579913198948,
0.008178168907761574,
0.08246037364006042,
-0.020750831812620163,
-0.041671331971883774,
0.03634364530444145,
-0.026451794430613518,
0.02923440933227539,
0.007151655852794647,
-0.030642682686448097,
-0.05202129855751991,
-0.04567558318376541,
0.0295228511095047,
0.03804036229848862,
-0.023160167038440704,
-0.021565254777669907,
-0.03590250015258789,
-0.011418895795941353,
0.0650860071182251,
-0.01104561798274517,
-0.050901465117931366,
-0.050867531448602676,
0.015635233372449875,
-0.08083152770996094,
0.031762514263391495,
-0.06902238726615906,
0.030744485557079315,
0.024839915335178375,
-0.028386050835251808,
0.051478348672389984,
0.0009347842424176633,
-0.033985212445259094,
-0.048559997230768204,
0.02529802918434143,
0.09345509111881256,
0.056195218116045,
0.062235526740550995,
0.06976894289255142,
0.008118784055113792,
-0.010409349575638771,
-0.016076380386948586,
0.049408357590436935,
0.01917288638651371,
0.016305435448884964,
-0.025060487911105156,
0.04194280877709389,
0.020530257374048233,
0.0682419016957283,
0.0571453794836998,
-0.008038190193474293,
0.01168188638985157,
0.014702039770781994,
-0.03247513622045517,
-0.09121542423963547,
0.022210005670785904,
-0.03171161189675331,
0.003440090687945485,
0.007520691491663456,
-0.0365133173763752,
0.025230159983038902,
-0.0384136401116848,
-0.02117501012980938,
0.015372242778539658,
0.06613796949386597,
-0.022142138332128525,
0.019037147983908653,
-0.01971583440899849,
-0.00043133689905516803,
0.025450732558965683,
-0.01029906328767538,
0.06881878525018692,
-0.0068504889495670795,
0.03025243803858757,
-0.00048356392653658986,
-0.04465755447745323,
-0.007567351218312979,
-0.04245182126760483,
0.0179342832416296,
0.0936587005853653,
-0.025722207501530647,
-0.020309684798121452,
0.03422275185585022,
-0.0031919460743665695,
0.07316237688064575,
-0.010146358981728554,
-0.011342543177306652,
-0.018409363925457,
-0.04024609178304672,
-0.06420371681451797,
0.033696770668029785,
-0.012623563408851624,
0.02945498190820217,
0.011037134565412998,
0.05100326985120773,
0.046490006148815155,
0.019732801243662834,
0.005353137385100126,
-0.05062999203801155,
-0.028148511424660683,
-0.008118784055113792,
0.01600002683699131,
0.002846240298822522,
0.0023202584125101566,
0.03695446625351906,
-0.0006659608334302902,
0.031626779586076736,
-0.031508006155490875,
-0.012598113156855106,
0.022786889225244522,
0.0037942801136523485,
0.0580955408513546,
-0.017798546701669693,
0.015126219019293785,
-0.003970314282923937,
-0.023245003074407578,
0.005717931315302849,
0.020716896280646324,
0.030167602002620697,
0.022243941202759743,
-0.054905716329813004,
0.025416798889636993,
-0.01689080335199833,
-0.037734951823949814,
0.0016914133448153734,
0.015151670202612877,
-0.017815513536334038,
0.011164388619363308,
-0.001582187251187861,
-0.03902445733547211,
0.022617219015955925,
0.008984108455479145,
0.022464513778686523,
0.06216765567660332,
-0.04886540770530701,
0.032050956040620804,
0.05161408707499504,
-0.02215910516679287,
0.07343384623527527,
-0.02361828088760376,
-0.05667030066251755,
-0.051512282341718674,
-0.05310719832777977,
0.020360587164759636,
0.029913095757365227,
-0.07404466718435287,
0.04910294711589813,
-0.013751879334449768,
-0.04764377325773239,
0.007215282879769802,
0.02390672266483307,
-0.012072131037712097,
0.0028483611531555653,
-0.017883382737636566,
-0.07370532304048538,
-0.0303203072398901,
0.07350172102451324,
-0.011910943314433098,
-0.11870221793651581,
-0.044046737253665924,
0.05762045830488205,
0.025790076702833176,
-0.04486116021871567,
-0.0466596782207489,
0.06814009696245193,
0.07730235904455185,
0.023058364167809486,
0.03189825266599655,
0.01676354929804802,
-0.028148511424660683,
0.04934048652648926,
0.03451119363307953,
-0.027944905683398247,
0.028148511424660683,
0.0006829280173406005,
-0.0033722221851348877,
0.01415909081697464,
-0.022243941202759743,
-0.0026532388292253017,
0.03983888030052185,
0.018748706206679344,
0.03069358505308628,
-0.07004041969776154,
-0.04119625315070152,
-0.06766501814126968,
0.028080642223358154,
0.05113900825381279,
0.0045217471197247505,
-0.017951250076293945,
-0.04805098474025726,
0.01964796520769596,
-0.019834604114294052,
-0.06040307506918907,
0.00036824028939008713,
-0.004133623093366623,
-0.0333404615521431,
0.04414853826165199,
0.01796821691095829,
0.0457095168530941,
0.036716923117637634,
-0.056364890187978745,
0.0017910953611135483,
-0.018409363925457,
-0.0017444356344640255,
0.049476224929094315,
0.0052343676798045635,
-0.09393016993999481,
-0.07723449170589447,
-0.057790130376815796,
0.002111350418999791,
0.014549335464835167,
0.0365133173763752,
0.010646889917552471,
0.004216338042169809,
-0.07601285725831985,
-0.01847723312675953,
-0.021124107763171196,
-0.004665967542678118,
-0.05124080926179886,
0.016585394740104675,
-0.011605534702539444,
0.03848150745034218,
0.04917081817984581,
-0.036140039563179016,
-0.023737050592899323,
0.00026630479260347784,
0.017323466017842293,
0.04964589700102806,
-0.006837763823568821,
-0.020055178552865982,
-0.0019491020357236266,
-0.038583312183618546,
0.008339356631040573,
-0.03583463281393051,
-0.020038209855556488,
-0.039601340889930725,
-0.020055178552865982,
0.006328749004751444,
0.06060668081045151,
0.0069013903848826885,
0.029862193390727043,
-0.03844757378101349,
-0.031066861003637314,
-0.036173976957798004,
0.03215276077389717,
0.016899287700653076,
-0.052394576370716095,
-0.05609341710805893,
0.05870635807514191,
-0.019325589761137962,
-0.00723649188876152,
-0.008424192667007446,
-0.018341494724154472,
-0.02266811951994896,
0.07770957052707672,
0.0027677672915160656,
0.012360572814941406,
0.04343591630458832,
-0.006587497889995575,
-0.047575902193784714,
0.015075317583978176,
0.04625246673822403,
-0.024449670687317848,
0.007490999065339565,
0.010103940963745117,
-0.06060668081045151,
-0.04869573563337326,
-0.03980494663119316,
0.01774764433503151,
-0.01577945426106453,
-0.008530237711966038,
0.06552715599536896,
-0.011215290054678917,
0.02260025031864643,
0.0201569814234972,
-0.022260908037424088,
-0.02244754694402218,
-0.019037147983908653,
0.00795335415750742,
-0.04041576385498047,
-0.053412605077028275,
0.0028483611531555653,
-0.015847323462367058,
0.006328749004751444,
0.048526063561439514,
0.035189881920814514,
-0.05415916070342064,
-0.0463542677462101,
0.05456637218594551,
-0.006400859449058771,
0.020564192906022072,
0.012182417325675488,
0.008882305584847927,
-0.037667084485292435,
0.022006399929523468,
0.027978839352726936,
-0.0030413626227527857,
0.053412605077028275,
-0.006481453310698271,
-0.005047728773206472,
0.004831397440284491,
-0.019885506480932236,
0.021480418741703033,
-0.03123653307557106,
0.031219566240906715,
0.08415709435939789,
0.0104772187769413,
0.006456002593040466,
-0.04245182126760483,
-0.006536596454679966,
0.04516656696796417,
-0.05500751733779907,
-0.016721131280064583,
0.008848371915519238,
-0.021293779835104942,
-0.01866387017071247,
0.01085897907614708,
0.03305201977491379,
0.05375194922089577,
-0.011698853224515915,
-0.01803608611226082,
-0.0280976090580225,
-0.043639522045850754,
0.07784531265497208,
-0.010120907798409462,
0.02387278713285923,
-0.0025896120350807905,
0.04784737899899483,
-0.009357386268675327,
0.019580097869038582,
-0.06199798732995987,
0.00032131551415659487,
0.08904363214969635,
0.0032004297245293856,
-0.006294814869761467,
0.04296083748340607,
0.013989419676363468,
-0.02317713387310505,
0.0025175015907734632,
0.06118356063961983,
-0.021327713504433632,
-0.055278994143009186,
-0.04374132677912712,
-0.03902445733547211,
0.004848364740610123,
0.013785813935101032,
-0.07092271000146866,
0.015711585059762,
-0.013726429082453251,
-0.01997034251689911,
0.0068504889495670795,
0.044012799859046936,
0.00204772362485528,
0.004222700837999582,
-0.04818672314286232,
0.032424233853816986,
0.014693556353449821,
-0.03160981088876724,
0.004424185957759619,
0.03980494663119316,
-0.0295228511095047,
0.021921563893556595,
-0.05646669492125511,
-0.03505414351820946,
0.04075510799884796,
-0.0017444356344640255,
-0.01202971301972866,
-0.017247114330530167,
0.012055164203047752,
-0.02193853259086609,
-0.03546135500073433,
0.04533623903989792,
-0.0009485700284130871,
-0.01676354929804802,
-0.0333404615521431,
0.0019363765604794025,
-0.014990481548011303,
0.060301270335912704,
0.017544038593769073,
-0.004827155731618404,
0.008496303111314774,
-0.01612728089094162,
0.042553626000881195,
-0.051953431218862534,
0.018205758184194565,
-0.07451974600553513,
-0.003444332629442215,
0.027639497071504593,
-0.06016553193330765,
0.0492047518491745,
0.0076649123802781105,
-0.004415702074766159,
-0.03135530278086662,
-0.06352502852678299,
0.01503289956599474,
0.04869573563337326,
-0.020750831812620163,
0.015015932731330395,
0.04238395392894745,
0.01341253612190485,
-0.03634364530444145,
-0.05117294192314148,
0.02438180148601532,
-0.006316023413091898,
-0.007580076809972525,
0.003588553285226226,
-0.07282303273677826,
0.05402342230081558,
-0.03641151636838913,
0.023295903578400612,
0.008661733008921146,
-0.013641593046486378,
0.04564164951443672,
0.007189832162111998,
0.04465755447745323,
-0.013098644092679024,
-0.03210185840725899,
0.0017073199851438403,
-0.036818727850914,
0.04268936440348625,
0.07899907231330872,
0.010943815112113953,
0.04727049544453621,
-0.040551502257585526,
-0.014260893687605858,
0.009374353103339672,
-0.025705240666866302,
-0.010621439665555954,
-0.011138937436044216,
-0.02860662341117859,
-0.005599161144345999,
-0.029064737260341644,
0.014354213140904903,
0.038685113191604614,
-0.07085484266281128,
0.037124134600162506,
0.005179224070161581,
0.00013653257337864488,
0.04910294711589813,
-0.026197288185358047,
-0.03922806307673454,
-0.015737036243081093,
-0.00688018137589097,
0.013870649971067905,
0.019630998373031616,
-0.030897190794348717,
-0.05694177374243736,
-0.07635220140218735,
-0.057348985224962234,
0.013098644092679024,
-0.027605561539530754,
-0.0914190337061882,
0.014184542000293732,
-0.03210185840725899,
-0.012589629739522934,
-0.047949180006980896,
0.02041148766875267,
0.025739174336194992,
-0.0011346784885972738,
-0.04228215292096138,
0.019071083515882492,
0.053412605077028275,
0.0006219522911123931,
0.00046898279106244445,
-0.06970107555389404,
0.04567558318376541,
-0.029353179037570953,
-0.0536501444876194,
-0.04319837689399719,
-0.035664960741996765,
-0.07825252413749695,
0.02974342368543148,
0.06671485304832458,
0.05792586877942085,
-0.0091283293440938,
0.0008345719543285668,
-0.024772046133875847,
-0.039160195738077164,
-0.0014199388679116964,
-0.029115639626979828,
-0.015465562231838703,
-0.014447532594203949,
0.01862993650138378,
0.018494199961423874,
-0.0005524929729290307,
-0.03021850436925888,
0.0020180309657007456,
0.004950167611241341,
0.006294814869761467,
0.06053880974650383,
0.02599368244409561,
-0.03378160670399666,
0.02463630959391594,
-0.0035843115765601397,
0.05263211578130722,
-0.008814437314867973,
-0.048424262553453445,
-0.019698867574334145,
0.031423170119524,
-0.01319196354597807,
-0.023957623168826103,
0.050935398787260056,
-0.05667030066251755,
0.03576676547527313,
-0.00811030063778162,
0.016016995534300804,
-0.017247114330530167,
0.020530257374048233,
0.07289090007543564,
-0.041026581078767776,
-0.01415909081697464,
-0.015134702436625957,
-0.016933221369981766,
0.008865338750183582,
-0.00404666643589735,
0.00017987836326938123,
-0.017179245129227638,
-0.03892265632748604,
0.010918364860117435,
0.00353977270424366,
-0.007940628565847874,
0.07255155593156815,
-0.026214255020022392,
0.02993006259202957,
-0.016271501779556274,
-0.006922599393874407,
0.05324293300509453,
0.03539348766207695,
-0.044555749744176865,
-0.06864911317825317,
0.03800642862915993,
-0.013242864981293678,
0.01580490544438362,
0.04835639148950577,
0.03532561659812927,
-0.0015811268240213394,
-0.006795345805585384,
-0.006167560815811157,
-0.05402342230081558,
0.04828852415084839,
-0.02139558270573616,
0.008182411082088947,
-0.011953361332416534,
0.04628640040755272,
-0.020258784294128418,
0.0029204715974628925,
-0.04044969752430916,
-0.0182566586881876,
0.011877008713781834,
0.024008525535464287,
0.014931096695363522,
-0.007300118450075388,
0.033628903329372406,
0.06898845732212067,
0.07519843429327011,
0.011071069166064262,
0.031117763370275497,
-0.043537721037864685,
0.021412549540400505,
0.03123653307557106,
0.004538713954389095,
0.0188844446092844,
0.0466596782207489,
-0.03003186546266079,
-0.02500958740711212,
-0.007550384383648634,
0.013217413797974586,
-0.050494253635406494,
-0.0006940626772120595,
-0.04275723174214363,
-0.07234795391559601,
0.0014591753715649247,
-0.023058364167809486,
-0.007949111983180046,
0.043605588376522064,
-0.02059812657535076,
0.051478348672389984,
-0.03456209599971771,
0.10981143265962601,
-0.04482722282409668,
-0.00120042625349015,
-0.02478901483118534,
-0.028487853705883026,
-0.0009639465133659542,
-0.0422142818570137,
0.05103720352053642,
-0.014914129860699177,
-0.08361414074897766,
-0.0317455492913723,
0.02358434535562992,
-0.048967208713293076,
-0.0016214237548410892,
0.04194280877709389,
-0.018833542242646217,
-0.013556757010519505,
-0.04089084640145302,
-0.05504145100712776,
0.02460237592458725,
0.03844757378101349,
0.007457064930349588,
0.010400866158306599,
-0.017951250076293945,
0.04041576385498047,
0.018103955313563347,
0.01093533169478178,
-0.004320261999964714,
-0.03415488451719284,
-0.034646932035684586,
0.02784310281276703,
0.023092297837138176,
-0.015278923325240612,
-0.04044969752430916,
0.02183672972023487,
-0.027452858164906502,
0.011622501537203789,
0.0009183472720906138,
-0.05324293300509453,
0.05772226303815842,
-0.029624653980135918,
-0.012224835343658924,
0.00012155376316513866,
-0.017628874629735947,
-0.021005338057875633,
-0.010434800758957863,
-0.06427158415317535,
0.04723656177520752,
-0.012852620333433151,
-0.018086988478899002,
-0.01727256365120411,
-0.02037755399942398,
-0.021853696554899216,
0.024110328406095505,
-0.014931096695363522,
0.05521112307906151,
-0.010027589276432991,
-0.002500534523278475,
0.04526837170124054,
-0.045607712119817734,
-0.001723226741887629,
-0.02237967774271965,
-0.058400947600603104,
-0.001555676106363535,
-0.013607658445835114,
-0.015185603871941566,
0.04384312778711319,
0.027062613517045975,
-0.021802794188261032,
0.0012417837278917432,
-0.023855820298194885,
0.023058364167809486,
0.02981129288673401,
-0.06097995489835739,
-0.029624653980135918,
0.03181341663002968,
-0.02945498190820217,
0.08239250630140305,
0.03922806307673454,
0.001957585569471121,
0.027351055294275284,
-0.018545100465416908,
0.0393638014793396,
0.0017677654977887869,
-0.01146131381392479,
-0.021734926849603653,
-0.004538713954389095,
-0.052903588861227036,
-0.039160195738077164,
0.03882085159420967,
0.009510090574622154,
0.02558647096157074,
0.03525774925947189,
0.015703102573752403,
0.03388340771198273,
-0.021412549540400505,
0.007418888621032238,
0.05772226303815842,
0.02438180148601532,
-0.03025243803858757,
0.028369084000587463,
0.08931510895490646,
-0.008848371915519238,
-0.019088050350546837,
-0.0764879360795021,
0.003331925254315138,
0.03430758789181709,
-0.04336804896593094,
-0.02901383489370346,
0.0066129486076533794,
-0.06291421502828598,
0.009026526473462582,
0.019953375682234764,
0.07526630163192749,
0.02945498190820217,
-0.02304139733314514,
-0.021056240424513817,
0.03973707929253578,
-0.022549349814653397,
-0.024958685040473938,
0.025179259479045868,
0.06396617740392685,
0.03929593041539192,
-0.01133405975997448,
0.019444359466433525,
-0.06291421502828598,
-0.06834369897842407,
-0.0027189867105334997,
0.024772046133875847,
0.011342543177306652,
0.04872966930270195,
-0.0062905726954340935,
-0.016144247725605965,
0.0031283192802220583,
-0.012878070585429668,
0.03432455658912659,
-0.025637371465563774,
0.06688452512025833,
0.07404466718435287,
0.08700757473707199,
-0.0290477704256773,
-0.047032956033945084,
0.009238616563379765,
0.05208916589617729,
0.014651138335466385,
0.0006230127182789147,
0.018070019781589508,
0.011622501537203789,
-0.025790076702833176,
-0.0179342832416296,
0.046014927327632904,
-0.06566289067268372,
0.023414675146341324,
0.0100021380931139,
-0.02241361141204834,
0.07594498991966248,
-0.00838177464902401,
0.011105002835392952,
0.019003214314579964,
-0.03895658999681473,
0.008602348156273365,
0.02197246626019478,
0.03597037121653557,
0.04021215811371803,
0.08470004051923752,
0.03311988711357117,
-0.0209544375538826,
0.01701805740594864,
0.020309684798121452,
-0.03357800096273422,
0.0070837875828146935,
-0.023635247722268105,
-0.029387112706899643,
-0.010595988482236862,
0.0008388137212023139,
-0.00040482572512701154,
-0.031117763370275497,
0.0349184051156044,
0.04591312259435654,
0.0031007477082312107,
0.021056240424513817
]
|
40,297 | pyglove.core.symbolic.object | _on_change | Event that is triggered when field values in the subtree are updated.
This event will be called
* On per-field basis when object is modified via attribute.
* In batch when multiple fields are modified via `rebind` method.
When a field in an object tree is updated, all ancestors' `_on_change` event
will be triggered in order, from the nearest one to furthest one.
Args:
field_updates: Updates made to the subtree. Key path is relative to
current object.
Returns:
it will call `_on_bound` and return the return value of `_on_bound`.
| def _on_change(self,
field_updates: Dict[object_utils.KeyPath, base.FieldUpdate]):
"""Event that is triggered when field values in the subtree are updated.
This event will be called
* On per-field basis when object is modified via attribute.
* In batch when multiple fields are modified via `rebind` method.
When a field in an object tree is updated, all ancestors' `_on_change` event
will be triggered in order, from the nearest one to furthest one.
Args:
field_updates: Updates made to the subtree. Key path is relative to
current object.
Returns:
it will call `_on_bound` and return the return value of `_on_bound`.
"""
del field_updates
return self._on_bound()
| (self, field_updates: Dict[pyglove.core.object_utils.value_location.KeyPath, pyglove.core.symbolic.base.FieldUpdate]) | [
0.009323835372924805,
-0.006467558443546295,
-0.03776835650205612,
0.06534871459007263,
-0.04733779653906822,
-0.04268042743206024,
-0.01222559530287981,
0.024669505655765533,
0.04118861258029938,
-0.05210432410240173,
-0.01941177062690258,
-0.054796863347291946,
0.10107947885990143,
-0.014799883589148521,
0.0017578841652721167,
-0.014836269430816174,
-0.11184964329004288,
0.010297153145074844,
0.04206186905503273,
-0.01593693718314171,
-0.039296556264162064,
-0.028053374961018562,
0.05930869281291962,
0.025542762130498886,
-0.02328684739768505,
-0.004434507340192795,
0.014981811866164207,
0.02135840617120266,
0.03729534149169922,
-0.00046676030615344644,
-0.02134021371603012,
-0.030473023653030396,
0.015382055193185806,
-0.03507581353187561,
-0.012061859481036663,
-0.031109774485230446,
0.005398728419095278,
0.06251063197851181,
-0.06040026247501373,
-0.004634628538042307,
0.007786539848893881,
-0.016546396538615227,
-0.007418134715408087,
0.021267442032694817,
0.08434205502271652,
0.04759249463677406,
-0.020103098824620247,
0.012644031085073948,
-0.008327777497470379,
-0.00811855960637331,
-0.009915103204548359,
-0.011279567144811153,
0.04726502299308777,
0.008355066180229187,
-0.0010375609854236245,
0.04908430948853493,
0.04384477064013481,
0.035257741808891296,
0.042789582163095474,
-0.028762895613908768,
0.006540329661220312,
-0.008987268432974815,
-0.02754397504031658,
-0.03560340777039528,
-0.0036021843552589417,
-0.05148576572537422,
0.0647665485739708,
0.01748332940042019,
-0.025597339496016502,
0.00407519843429327,
-0.043953925371170044,
0.013580963015556335,
0.02044876292347908,
-0.012252884916961193,
-0.07510008662939072,
0.03856884315609932,
-0.0039933305233716965,
0.0311825443059206,
0.0006049122894182801,
-0.0009187389514409006,
-0.015409343875944614,
-0.02976350300014019,
0.04235295578837395,
-0.03625835105776787,
-0.007077018730342388,
-0.06058219075202942,
-0.011343241669237614,
0.009255612269043922,
0.09169196337461472,
0.025597339496016502,
-0.04646454006433487,
0.010206189006567001,
-0.026597946882247925,
0.018429357558488846,
-0.04413585364818573,
-0.011597941629588604,
-0.0213765986263752,
-0.02134021371603012,
-0.036312930285930634,
0.052359022200107574,
0.06516678631305695,
0.030491216108202934,
0.03542147949337959,
0.07142513245344162,
0.010115224868059158,
-0.024633118882775307,
-0.036312930285930634,
-0.006049122661352158,
-0.0028903891798108816,
-0.021176477894186974,
0.043808382004499435,
-0.0527956523001194,
0.0314190536737442,
0.01953912153840065,
-0.02512432634830475,
0.022686483338475227,
-0.0481746681034565,
-0.010369924828410149,
0.028835667297244072,
-0.06003640592098236,
0.0473741814494133,
0.002355974167585373,
-0.025797462090849876,
-0.01992117054760456,
-0.03467557206749916,
-0.044317781925201416,
0.01630079373717308,
0.028180724009871483,
-0.007636448834091425,
-0.00034651695750653744,
-0.015600369311869144,
-0.027525782585144043,
-0.014463315717875957,
0.048065509647130966,
0.08128565549850464,
-0.009787753224372864,
-0.023523354902863503,
0.019084298983216286,
-0.018574900925159454,
-0.00407519843429327,
0.009978778660297394,
0.0193026140332222,
0.06589450687170029,
-0.017365075647830963,
-0.007340814918279648,
0.01657368615269661,
0.008314132690429688,
0.020157678052783012,
-0.06200123205780983,
-0.023068534210324287,
-0.060509420931339264,
-0.0024719536304473877,
0.040715597569942474,
-0.015500308014452457,
-0.057780493050813675,
0.06200123205780983,
-0.06942391395568848,
-0.022067926824092865,
0.04628261178731918,
0.061273518949747086,
-0.0005662524490617216,
0.02212250605225563,
0.030181938782334328,
-0.06993331760168076,
0.017092183232307434,
0.050139494240283966,
-0.08244999498128891,
-0.09125533699989319,
-0.05330505222082138,
0.05366890877485275,
0.012107341550290585,
0.02275925502181053,
-0.028926631435751915,
0.014181327074766159,
0.06931475549936295,
0.010178899392485619,
0.02548818290233612,
0.005166769493371248,
-0.024414805695414543,
0.06163737550377846,
-0.028653739020228386,
-0.01145239919424057,
0.06105520576238632,
0.05625229328870773,
-0.017774414271116257,
0.05490602180361748,
-0.022850219160318375,
-0.0008823532261885703,
-0.016882965341210365,
-0.014536087401211262,
-0.026343246921896935,
-0.06946030259132385,
-0.010015163570642471,
-0.06320196390151978,
0.030582180246710777,
0.02483323961496353,
-0.005485144443809986,
-0.019702857360243797,
0.0020387363620102406,
0.04857490956783295,
-0.0341297872364521,
-0.0411522276699543,
-0.0006600593333132565,
0.03594907373189926,
-0.06367497891187668,
0.08616133779287338,
0.04999395087361336,
0.03485750034451485,
0.03838691487908363,
-0.04948455095291138,
0.003529412904754281,
0.04460886865854263,
-0.03200122341513634,
0.020230449736118317,
-0.02603396773338318,
-0.03776835650205612,
-0.03594907373189926,
-0.013535480946302414,
-0.028180724009871483,
-0.00919648539274931,
0.0017465136479586363,
0.028399039059877396,
-0.04526381194591522,
-0.07997576892375946,
-0.008323228918015957,
-0.02459673397243023,
-0.029872659593820572,
0.025197098031640053,
0.03740449994802475,
-0.03867799788713455,
-0.011315952986478806,
0.013935723342001438,
-0.033584002405405045,
-0.017456039786338806,
0.051194678992033005,
-0.004223015159368515,
0.01854761131107807,
-0.03691329434514046,
0.011279567144811153,
-0.04879322275519371,
-0.014445123262703419,
0.00867798924446106,
-0.025178905576467514,
-0.005976351443678141,
-0.007313525769859552,
-0.04766526818275452,
0.0000856343176565133,
0.013944819569587708,
-0.0305457953363657,
0.007049729581922293,
0.008755309507250786,
-0.015482115559279919,
0.0010688299080356956,
0.056725308299064636,
-0.014890847727656364,
-0.0016089301789179444,
-0.021194670349359512,
0.05563373491168022,
0.018447550013661385,
-0.024014562368392944,
0.0009284038678742945,
-0.03596726432442665,
-0.07888419926166534,
0.01630079373717308,
0.005298667587339878,
-0.002353699877858162,
0.0847059115767479,
-0.03107338771224022,
0.001320118666626513,
0.043808382004499435,
0.08718013763427734,
-0.00556701235473156,
-0.02292299084365368,
0.035130392760038376,
-0.03294725343585014,
-0.040169812738895416,
0.013362648896872997,
-0.008204975165426731,
0.0011603627353906631,
-0.004311705473810434,
0.03547605872154236,
-0.015354765579104424,
-0.01845664717257023,
0.021904191002249718,
0.04697393998503685,
-0.06094604730606079,
-0.010469985194504261,
0.011570652946829796,
-0.04046089947223663,
-0.017810801044106483,
0.07208007574081421,
-0.010606431402266026,
0.02212250605225563,
0.010124321095645428,
-0.0044572483748197556,
-0.03465737774968147,
0.005275926552712917,
0.0029245007317513227,
-0.008314132690429688,
-0.0015805038856342435,
0.015291090123355389,
0.013881145045161247,
-0.05989086255431175,
-0.03671317175030708,
0.029708923771977425,
0.041479699313640594,
0.02354154735803604,
-0.03560340777039528,
0.03649485856294632,
0.011343241669237614,
-0.04493634030222893,
0.033074602484703064,
-0.060109175741672516,
0.023359619081020355,
0.013826565816998482,
-0.009660403244197369,
0.013135237619280815,
-0.0017726658843457699,
-0.003477108431980014,
0.04060644283890724,
-0.02783505991101265,
0.02912675403058529,
-0.01771983690559864,
0.052213478833436966,
-0.05552458018064499,
0.00944208912551403,
0.047301411628723145,
0.03505762293934822,
0.019211649894714355,
-0.023396005854010582,
0.025160711258649826,
-0.07313525676727295,
0.08303216844797134,
-0.016100673004984856,
0.02059430629014969,
0.00508035346865654,
0.03223773092031479,
-0.0291085597127676,
0.012798669748008251,
-0.03507581353187561,
0.024778662249445915,
0.01125227753072977,
-0.020903585478663445,
-0.008737116120755672,
0.036312930285930634,
-0.0011757129104807973,
0.030636759474873543,
0.028671931475400925,
0.05097636580467224,
0.008946334011852741,
-0.014081265777349472,
-0.029181331396102905,
-0.07157067209482193,
0.002144482219591737,
0.04027897119522095,
-0.045736826956272125,
0.015118258073925972,
-0.06276533007621765,
0.005221347790211439,
-0.016155250370502472,
0.02199515514075756,
0.0034179817885160446,
0.027653131633996964,
-0.04282597079873085,
0.038750771433115005,
-0.021030934527516365,
0.01191631704568863,
-0.024924205616116524,
0.013135237619280815,
-0.008455127477645874,
0.029308682307600975,
0.00650394381955266,
0.05952700600028038,
0.0419527143239975,
-0.02059430629014969,
-0.023978177458047867,
-0.02368709072470665,
0.0015873261727392673,
0.004368558060377836,
0.009310191497206688,
0.01697392947971821,
0.0026038517244160175,
-0.019902978092432022,
0.006958764977753162,
0.027362046763300896,
0.015509405173361301,
0.05126745253801346,
-0.010588238947093487,
0.014317773282527924,
-0.02446938306093216,
0.005175865720957518,
0.04748333990573883,
-0.04260765388607979,
-0.013335359282791615,
-0.07237115502357483,
-0.014008495025336742,
0.06931475549936295,
-0.01968466304242611,
0.024523962289094925,
-0.05483325198292732,
-0.014417833648622036,
-0.025797462090849876,
-0.07946637272834778,
0.021049126982688904,
0.0027539427392184734,
-0.014945426024496555,
-0.016792001202702522,
0.04839298129081726,
0.00996968150138855,
0.04013342782855034,
-0.03443906456232071,
0.0473741814494133,
-0.0044572483748197556,
-0.025178905576467514,
-0.0157913938164711,
-0.0494481660425663,
-0.026306862011551857,
-0.050394196063280106,
0.021649491041898727,
-0.0263978261500597,
-0.051303837448358536,
0.04981202259659767,
-0.0008846273412927985,
0.017456039786338806,
0.002328684786334634,
-0.0847059115767479,
0.007986661046743393,
-0.02017587050795555,
0.04580959677696228,
0.1038447916507721,
0.037204377353191376,
0.003336113877594471,
-0.0395512580871582,
-0.01992117054760456,
0.018702249974012375,
-0.012798669748008251,
0.021121898666024208,
0.03200122341513634,
-0.004930262453854084,
-0.027216503396630287,
-0.04595514014363289,
-0.02315949834883213,
0.0461006835103035,
-0.07371743023395538,
-0.030582180246710777,
-0.02716192603111267,
0.0037340824492275715,
-0.0028130693826824427,
-0.04733779653906822,
-0.021795034408569336,
0.000550617987755686,
0.007240754552185535,
0.007413586601614952,
0.03725895658135414,
-0.033856894820928574,
-0.05046696588397026,
-0.050794437527656555,
-0.029581574723124504,
0.03414798155426979,
-0.0114433029666543,
-0.09205581992864609,
-0.0005472068442031741,
0.025597339496016502,
-0.024305647239089012,
-0.06676775962114334,
0.03329291567206383,
0.035385094583034515,
0.008577928878366947,
-0.013253491371870041,
0.0003266185231041163,
0.06294725835323334,
-0.025797462090849876,
-0.031892064958810806,
-0.003661310998722911,
0.0010864542564377189,
-0.02032141387462616,
-0.025015169754624367,
-0.029945431277155876,
-0.05108552426099777,
-0.04744695499539375,
-0.012398427352309227,
0.022158890962600708,
0.045882366597652435,
-0.022486362606287003,
0.025815654546022415,
-0.05177685245871544,
-0.021940577775239944,
0.00305867288261652,
-0.0018863711738958955,
-0.0023673446848988533,
-0.021158285439014435,
-0.0398787260055542,
0.04140692576766014,
-0.002318451413884759,
-0.0971498191356659,
-0.03336568549275398,
0.02483323961496353,
0.00776379881426692,
0.025943003594875336,
-0.021649491041898727,
-0.010469985194504261,
0.04999395087361336,
0.01657368615269661,
0.0073499116115272045,
-0.03338387981057167,
-0.037986669689416885,
0.0018488484201952815,
0.04915708303451538,
-0.0035089459270238876,
-0.011506977491080761,
0.009787753224372864,
-0.07058826088905334,
0.07611888647079468,
0.0027471203356981277,
-0.012152823619544506,
-0.03671317175030708,
-0.015973322093486786,
0.06458462029695511,
-0.025597339496016502,
0.01583687588572502,
0.012553066946566105,
-0.028435423970222473,
0.04158885404467583,
0.003336113877594471,
0.020648885518312454,
0.017747124657034874,
-0.043007899075746536,
0.00660400465130806,
-0.017301401123404503,
-0.03400243818759918,
0.035785336047410965,
-0.0036271994467824697,
0.05497879162430763,
-0.040933914482593536,
-0.021795034408569336,
0.016337178647518158,
0.02628866769373417,
-0.006417527794837952,
-0.16038817167282104,
0.05577927827835083,
0.03329291567206383,
0.032419659197330475,
0.015909647569060326,
0.03896908462047577,
0.011734388768672943,
-0.03420255705714226,
0.02548818290233612,
-0.08718013763427734,
0.03249242901802063,
-0.011798063293099403,
0.002849455224350095,
0.010724685154855251,
0.028544582426548004,
0.033711351454257965,
0.019975749775767326,
-0.0020899036899209023,
-0.06105520576238632,
0.027780482545495033,
-0.0046983035281300545,
-0.00019884217181243002,
-0.008618862368166447,
0.00048466891166754067,
0.0602911040186882,
0.07157067209482193,
-0.006149183493107557,
0.06946030259132385,
0.015291090123355389,
0.05159492418169975,
0.03362038731575012,
0.014790787361562252,
0.014827173203229904,
0.06767740100622177,
-0.02379624731838703,
-0.03001820296049118,
0.004570953547954559,
-0.022540941834449768,
-0.044208627194166183,
-0.03454822301864624,
-0.04468163847923279,
-0.09460282325744629,
0.005926320794969797,
-0.03300182893872261,
-0.014263194985687733,
0.040315356105566025,
0.0024492123629897833,
0.02899940311908722,
0.002203608863055706,
0.08186782896518707,
-0.018365683034062386,
0.037986669689416885,
-0.019211649894714355,
-0.06931475549936295,
-0.04493634030222893,
0.018220139667391777,
0.003900092327967286,
0.02499697543680668,
-0.0773559957742691,
0.010178899392485619,
-0.0022081572096794844,
-0.01902972161769867,
-0.027234695851802826,
0.013226201757788658,
0.019884785637259483,
-0.04661008343100548,
-0.030764110386371613,
-0.06272894889116287,
0.060109175741672516,
0.0057716816663742065,
0.03805944323539734,
0.009201033972203732,
0.015090969391167164,
0.03580353036522865,
0.02163129858672619,
0.025433603674173355,
0.03649485856294632,
0.021704070270061493,
-0.008514253422617912,
0.013344455510377884,
0.0411522276699543,
-0.02383263409137726,
-0.010961192660033703,
0.02563372626900673,
-0.02055792137980461,
0.014599761925637722,
-0.031764715909957886,
-0.03673136606812477,
0.055997591465711594,
-0.04966647922992706,
0.009423896670341492,
0.02512432634830475,
0.0008755309390835464,
0.015654947608709335,
0.020121293142437935,
-0.030582180246710777,
0.052468180656433105,
-0.04751972481608391,
0.005375987384468317,
-0.030727723613381386,
-0.04271681234240532,
-0.06021833419799805,
0.020466957241296768,
0.002503790892660618,
0.04024258628487587,
-0.017265014350414276,
0.024014562368392944,
0.005412372760474682,
-0.004411766305565834,
-0.005175865720957518,
0.0213765986263752,
-0.05134022235870361,
-0.01727411150932312,
0.036567628383636475,
-0.07419044524431229,
0.0029472417663782835,
0.04409946873784065,
0.028835667297244072,
-0.003788660978898406,
-0.07742877304553986,
0.011543363332748413,
0.0218496136367321,
-0.016564590856432915,
-0.020030327141284943,
0.044063083827495575,
-0.021558526903390884,
0.06618558615446091,
0.02383263409137726,
0.03947848454117775,
0.044863566756248474,
0.045627668499946594,
0.0299090463668108,
0.009141907095909119,
-0.004316253587603569,
-0.003897818038240075,
-0.00937841460108757,
-0.0026629783678799868,
-0.04668285325169563,
0.07611888647079468,
0.0427531972527504,
0.017328688874840736,
0.026179511100053787,
0.034384485334157944,
0.04271681234240532,
-0.02303214743733406,
0.003129170276224613,
0.0669860765337944,
0.007263495586812496,
0.028781088069081306,
0.06294725835323334,
0.07684659957885742,
0.020648885518312454,
0.019975749775767326,
-0.05101275071501732,
0.016273504123091698,
-0.042389340698719025,
-0.007959372363984585,
-0.02849000319838524,
-0.003479382488876581,
-0.02212250605225563,
-0.017365075647830963,
0.03724076598882675,
0.0507216677069664,
0.02057611383497715,
-0.04271681234240532,
0.009560342878103256,
0.02745301090180874,
-0.04868406802415848,
-0.026561561971902847,
-0.02576107531785965,
0.04766526818275452,
0.025779269635677338,
-0.06640390306711197,
-0.016837483271956444,
-0.03947848454117775,
-0.08870834112167358,
0.029399646446108818,
0.008514253422617912,
-0.005971802864223719,
0.010324442759156227,
0.04282597079873085,
0.006412979681044817,
-0.01474530529230833,
0.04362645372748375,
0.020466957241296768,
-0.015218319371342659,
0.0299090463668108,
-0.005989995785057545,
0.054796863347291946,
-0.004459522198885679,
-0.09089148044586182,
-0.03040025196969509,
0.05898122116923332,
0.005626138765364885,
0.015090969391167164,
-0.0789569690823555,
0.03483930975198746,
-0.025560954585671425,
0.005316860508173704,
0.005398728419095278,
-0.05472409352660179,
0.01583687588572502,
-0.01481807604432106,
-0.05872651934623718,
0.03969679772853851,
-0.01852032169699669,
-0.010542756877839565,
0.018283814191818237,
-0.03149182349443436,
0.03580353036522865,
0.010433599352836609,
-0.007063373923301697,
0.040570054203271866,
0.026834454387426376,
0.06305641680955887,
-0.033092793077230453,
0.019902978092432022,
0.03183748945593834,
-0.06000002101063728,
0.007527291774749756,
-0.005316860508173704,
-0.00249014631845057,
0.01735597848892212,
0.043953925371170044,
-0.008959978818893433,
-0.0007720590801909566,
0.015154643915593624,
0.009624017402529716,
-0.024032754823565483,
0.013226201757788658
]
|
40,298 | pyglove.core.symbolic.object | _on_init | Event that is triggered at then end of __init__. | def _on_init(self):
"""Event that is triggered at then end of __init__."""
self._on_bound()
| (self) | [
-0.013067212887108326,
0.03467167168855667,
-0.012448698282241821,
0.004704196937382221,
-0.012718753889203072,
0.036727581173181534,
0.0278767216950655,
0.0328596867620945,
0.06240900978446007,
0.0001156992802862078,
-0.0044232518412172794,
0.04104847088456154,
0.04348768666386604,
-0.020559081807732582,
-0.05746089294552803,
0.022318800911307335,
-0.006250483449548483,
0.028782714158296585,
-0.034497443586587906,
-0.09317794442176819,
-0.02672680653631687,
-0.0023237860295921564,
0.03444517403841019,
0.01704835705459118,
-0.018903901800513268,
0.017257433384656906,
-0.051815856248140335,
0.012466121464967728,
0.060074333101511,
-0.017771409824490547,
-0.04651927947998047,
-0.030507586896419525,
0.007086785510182381,
-0.017449084669351578,
0.02580339089035988,
-0.055753443390131,
0.05948195606470108,
0.014069032855331898,
-0.034793633967638016,
0.06756620109081268,
0.0654754489660263,
-0.04083939641714096,
0.0009800409898161888,
0.01824183017015457,
0.030995430424809456,
0.032981645315885544,
0.008271546103060246,
0.030507586896419525,
-0.002635221229866147,
0.00364357465878129,
-0.021517343819141388,
0.032319575548172,
0.035089824348688126,
0.025280700996518135,
-0.03700634837150574,
0.07310669869184494,
0.038992565125226974,
0.06641628593206406,
0.007169544231146574,
-0.02308540977537632,
-0.023834597319364548,
0.008685341104865074,
-0.0020863984245806932,
-0.04035155475139618,
0.005732150748372078,
-0.028991790488362312,
-0.0016083561349660158,
0.0290963277220726,
0.029723554849624634,
0.009704583324491978,
0.004852291662245989,
0.031134814023971558,
-0.006180791649967432,
0.04394068196415901,
-0.009086068719625473,
-0.014382646419107914,
-0.053941454738378525,
-0.0017923860577866435,
0.01834636740386486,
-0.003208000911399722,
0.028573639690876007,
0.013624747283756733,
-0.012797157280147076,
0.014853065833449364,
0.005514363758265972,
-0.07526715099811554,
-0.03418383002281189,
-0.00653796223923564,
0.056345824152231216,
-0.007343773730099201,
-0.07063264399766922,
0.04843580350279808,
0.009748141281306744,
0.06216508895158768,
-0.01904328539967537,
-0.015131833031773567,
0.0028377631679177284,
-0.003904918907210231,
-0.008092960342764854,
0.020454544574022293,
-0.01855544187128544,
0.00455174595117569,
0.004647572059184313,
0.024008827283978462,
0.028625909239053726,
0.0031535541638731956,
-0.0013121659867465496,
-0.025472354143857956,
-0.05143254995346069,
0.014530740678310394,
0.045857205986976624,
-0.014286819845438004,
0.00246099173091352,
0.041257549077272415,
-0.020994655787944794,
0.018259253352880478,
-0.009260298684239388,
-0.005383691750466824,
0.03446259722113609,
-0.02944478765130043,
0.009922370314598083,
0.010715114884078503,
-0.04651927947998047,
-0.022109724581241608,
0.002774604829028249,
0.009652314707636833,
0.007330706808716059,
0.016734743490815163,
0.038888026028871536,
-0.05676397308707237,
0.07937896251678467,
-0.01163853146135807,
-0.0762428343296051,
-0.013459229841828346,
-0.008776811882853508,
-0.026569999754428864,
-0.0012577192392200232,
-0.013589901849627495,
-0.054429300129413605,
0.04561328515410423,
-0.01939174346625805,
0.041710544377565384,
0.019217515364289284,
-0.009652314707636833,
0.032093074172735214,
0.07603375613689423,
-0.005562277045100927,
0.05331423133611679,
0.03444517403841019,
-0.04495121166110039,
0.03451486676931381,
-0.04045609384775162,
0.009826544672250748,
0.026256386190652847,
-0.03665788844227791,
-0.01501858327537775,
-0.04198931157588959,
-0.03221503645181656,
0.04341799393296242,
-0.02200518734753132,
-0.0022432049736380577,
0.04557843878865242,
-0.038853179663419724,
-0.058575961738824844,
-0.06031825765967369,
0.059760723263025284,
-0.031343888491392136,
-0.07119017839431763,
-0.018067600205540657,
0.05422022193670273,
-0.03444517403841019,
-0.04488152265548706,
-0.0002467797603458166,
0.007901308126747608,
0.0762428343296051,
0.059516798704862595,
0.013389538042247295,
0.015506425872445107,
-0.03930617868900299,
0.030159128829836845,
0.04198931157588959,
-0.042546845972537994,
-0.020855272188782692,
0.03385279327630997,
-0.004521255847066641,
0.03655334934592247,
0.009904947131872177,
0.007966644130647182,
0.028678176924586296,
-0.004704196937382221,
0.03416640684008598,
-0.019356898963451385,
-0.04679804667830467,
-0.03773811087012291,
0.043836142867803574,
0.05188554897904396,
0.01928720623254776,
0.0007998223300091922,
-0.045787513256073,
0.002391299931332469,
-0.045857205986976624,
0.01909555494785309,
-0.028486525639891624,
-0.037668418139219284,
-0.005009098444133997,
0.05460352823138237,
0.028050951659679413,
0.06721774488687515,
-0.006564096547663212,
-0.048017654567956924,
-0.0019992836751043797,
-0.040072787553071976,
-0.0016050894046202302,
0.06341954320669174,
0.010915478691458702,
-0.0673571303486824,
-0.006359376944601536,
-0.023172523826360703,
0.04108331725001335,
0.03202338516712189,
0.033469486981630325,
0.007535426411777735,
-0.018973592668771744,
-0.04477698355913162,
-0.04620566591620445,
0.00500474264845252,
0.004586591850966215,
-0.029166020452976227,
0.0071564773097634315,
-0.03413156047463417,
-0.0021332225296646357,
0.05641551688313484,
-0.009713294915854931,
-0.018137291073799133,
0.008737609721720219,
0.03725026920437813,
0.047425273805856705,
0.009835255332291126,
-0.09854421019554138,
-0.04059547558426857,
0.0027615376748144627,
0.051815856248140335,
-0.033364951610565186,
-0.058680497109889984,
-0.02204003371298313,
0.027197226881980896,
-0.00420982064679265,
0.04509059712290764,
-0.0289569441229105,
0.020541658625006676,
-0.01651695743203163,
-0.023364176973700523,
-0.014164859429001808,
-0.012004413641989231,
-0.03008943609893322,
-0.04965541139245033,
-0.0007987333810888231,
0.03822595253586769,
-0.011124554090201855,
0.031883999705314636,
-0.02836456336081028,
0.027998682111501694,
-0.032093074172735214,
0.08098187297582626,
0.016612783074378967,
0.027650222182273865,
0.02421790175139904,
0.02278921939432621,
-0.019914433360099792,
0.012910407036542892,
0.1476072371006012,
-0.04495121166110039,
-0.017091915011405945,
0.005566632840782404,
-0.012239622883498669,
-0.06631175428628922,
-0.017013510689139366,
-0.000051690356485778466,
-0.05139770358800888,
0.05153708904981613,
0.12251818925142288,
0.019705357030034065,
-0.00011304500367259607,
0.03437548130750656,
-0.04899333789944649,
-0.010061753913760185,
0.01364217046648264,
0.028416832908988,
-0.0280161052942276,
-0.05115378275513649,
0.03571704775094986,
0.0038570058532059193,
0.0530703067779541,
0.06777527928352356,
0.0460662804543972,
-0.061328787356615067,
-0.011481724679470062,
0.0449860580265522,
-0.0028638974763453007,
0.004340492654591799,
0.006285329349339008,
-0.03693665564060211,
-0.02599504217505455,
0.03329525887966156,
-0.026569999754428864,
-0.02510647289454937,
0.011621108278632164,
0.016882838681340218,
-0.011725645512342453,
-0.023259639739990234,
0.001093834638595581,
0.044672444462776184,
-0.012919117696583271,
0.02230137772858143,
0.021186308935284615,
0.028486525639891624,
0.017126761376857758,
-0.0538717657327652,
0.021778687834739685,
0.05258246511220932,
-0.052512772381305695,
0.028225179761648178,
0.00615465734153986,
-0.03979402035474777,
0.008262834511697292,
0.010079177096486092,
0.04380130022764206,
0.028033528476953506,
-0.023015718907117844,
-0.025768544524908066,
-0.03278999403119087,
-0.01447847206145525,
0.025420084595680237,
-0.03902741149067879,
-0.011037439107894897,
-0.030699240043759346,
0.017928216606378555,
-0.03221503645181656,
-0.017231298610568047,
-0.10544370114803314,
0.010070465505123138,
0.011873740702867508,
-0.02491481974720955,
0.03251122683286667,
-0.0005749574047513306,
0.004177152644842863,
-0.045264825224876404,
-0.017841102555394173,
0.004473342560231686,
-0.06233931705355644,
-0.02111661620438099,
-0.027685068547725677,
-0.03092573769390583,
0.04198931157588959,
0.011734357103705406,
-0.03728511556982994,
-0.011473013088107109,
0.000451907777460292,
0.0007067184196785092,
-0.0006773172062821686,
0.03014170564711094,
0.03561251237988472,
-0.04906303063035011,
-0.06878580898046494,
0.04491636902093887,
0.016708610579371452,
0.011098419316112995,
-0.013816400431096554,
0.024095941334962845,
-0.04819188266992569,
-0.028730446472764015,
-0.06551029533147812,
-0.0013176106149330735,
0.08843889832496643,
0.01656922698020935,
-0.05219916254281998,
0.02564658410847187,
0.011080997064709663,
0.01618592068552971,
0.0030816844664514065,
-0.017449084669351578,
-0.00010726004256866872,
-0.002545928815379739,
-0.040281862020492554,
-0.019897010177373886,
-0.02130826935172081,
0.00996592827141285,
0.02717980369925499,
0.021134039387106895,
0.0030032810755074024,
0.015027294866740704,
-0.008833436295390129,
-0.05446414276957512,
0.0005466450820676982,
-0.0149488914757967,
0.0023760548792779446,
0.036379121243953705,
-0.010636711493134499,
0.04613597318530083,
0.04258169233798981,
0.010567019693553448,
-0.010183715261518955,
-0.0004540856461971998,
0.020297737792134285,
0.05192039534449577,
0.01933947578072548,
0.040072787553071976,
-0.002236671280115843,
0.02362552098929882,
-0.030124282464385033,
-0.04878426343202591,
0.03049016371369362,
-0.04049093648791313,
-0.09854421019554138,
0.006855931133031845,
-0.04306953400373459,
0.043627068400382996,
-0.024636052548885345,
0.0020297737792134285,
0.005030876956880093,
0.005810554139316082,
0.04394068196415901,
0.04320891946554184,
0.021883226931095123,
0.01637757383286953,
0.003763357410207391,
0.00595429353415966,
0.007583339232951403,
0.06369830667972565,
0.025089049711823463,
-0.06380284577608109,
0.0759640634059906,
-0.02974097803235054,
-0.02569885179400444,
-0.017980486154556274,
-0.002713624620810151,
0.01874709501862526,
0.0013557233614847064,
-0.03273772448301315,
0.02540266327559948,
-0.008249767124652863,
0.03273772448301315,
0.028469102457165718,
-0.00006880704313516617,
0.03630942851305008,
0.007857751101255417,
0.020437121391296387,
0.0409439355134964,
-0.007910019718110561,
-0.0670783594250679,
-0.028521370142698288,
-0.02559431456029415,
0.011873740702867508,
-0.019025862216949463,
0.042546845972537994,
-0.04631020501255989,
-0.04571782425045967,
-0.02752826176583767,
-0.012527101673185825,
-0.036866962909698486,
-0.0918537974357605,
0.046345047652721405,
-0.04223323240876198,
-0.05599736422300339,
-0.012953964062035084,
0.04923725873231888,
0.016159787774086,
0.021569613367319107,
-0.061189401894807816,
0.038992565125226974,
0.02362552098929882,
0.02160445973277092,
0.02771991491317749,
-0.053941454738378525,
0.02486255019903183,
-0.028730446472764015,
-0.0166998989880085,
0.0058846017345786095,
-0.00937354750931263,
-0.04359222203493118,
0.01650824584066868,
0.03496786206960678,
0.03913194686174393,
0.015253793448209763,
-0.04725104197859764,
0.005414181854575872,
-0.035298898816108704,
-0.03655334934592247,
0.022074878215789795,
-0.010741249658167362,
-0.045752670615911484,
0.03927133232355118,
0.031849153339862823,
0.004647572059184313,
0.004283868242055178,
-0.0024348574224859476,
0.017553623765707016,
0.014704970642924309,
0.07603375613689423,
0.016394997015595436,
-0.025960197672247887,
0.03294679895043373,
-0.013790265657007694,
0.002072242321446538,
-0.020036393776535988,
-0.04746011644601822,
-0.08314232528209686,
0.008829080499708652,
-0.04547390341758728,
-0.008341237902641296,
0.08014557510614395,
-0.03319071978330612,
-0.015576117672026157,
-0.0008156119147315621,
0.06219993531703949,
-0.014495895244181156,
-0.03097800724208355,
0.02984551526606083,
-0.036866962909698486,
0.03275514766573906,
0.014565587043762207,
0.021343115717172623,
0.04867972433567047,
-0.02998489886522293,
-0.002776782726868987,
-0.03676242753863335,
0.0035477483179420233,
-0.008097316138446331,
0.004418896045535803,
0.020837849006056786,
0.07666098326444626,
-0.03975917398929596,
-0.010837075300514698,
0.006420357618480921,
-0.028695600107312202,
0.05613674968481064,
-0.012074105441570282,
-0.06714805215597153,
-0.0347413644194603,
0.035142090171575546,
-0.014896622858941555,
0.01050603948533535,
0.09248102456331253,
-0.019147822633385658,
0.032772570848464966,
-0.025280700996518135,
-0.029113750904798508,
-0.028469102457165718,
-0.020036393776535988,
-0.03630942851305008,
-0.0027354033663868904,
-0.03348691016435623,
0.009120915085077286,
-0.017327124252915382,
-0.004839224740862846,
-0.05111893638968468,
0.017231298610568047,
-0.021761266514658928,
0.007500580511987209,
0.047285888344049454,
-0.02491481974720955,
0.08474523574113846,
-0.009948505088686943,
0.042093850672245026,
-0.017396816983819008,
0.041501469910144806,
0.008249767124652863,
0.011281360872089863,
-0.007666098419576883,
-0.023242216557264328,
0.022858912125229836,
-0.01074996031820774,
-0.0276153776794672,
0.00575828505679965,
-0.022353645414114,
0.043731607496738434,
-0.0033778746146708727,
-0.009634891524910927,
-0.0008177897543646395,
-0.06662536412477493,
0.035926125943660736,
-0.006947401445358992,
-0.035438280552625656,
0.005984783638268709,
-0.014469760470092297,
0.022998295724391937,
-0.007740146014839411,
0.06854189187288284,
-0.04146662354469299,
-0.04529967159032822,
-0.04129239544272423,
0.008811657316982746,
-0.026413192972540855,
-0.04477698355913162,
0.05721697211265564,
-0.01864255778491497,
-0.03392248600721359,
-0.028434256091713905,
0.019217515364289284,
-0.02728434093296528,
-0.015968134626746178,
0.06578906625509262,
-0.03916679322719574,
0.016961243003606796,
0.01504471804946661,
-0.06098032742738724,
-0.030315933749079704,
0.042302925139665604,
-0.016935108229517937,
0.02238849177956581,
-0.03561251237988472,
0.014487183652818203,
-0.010392790660262108,
-0.012344161048531532,
0.00615465734153986,
-0.05766996741294861,
-0.044358834624290466,
0.0014265041099861264,
0.0937354788184166,
0.053592998534440994,
-0.01904328539967537,
0.02524585649371147,
0.013607325032353401,
0.025733698159456253,
0.0033560958690941334,
-0.0289569441229105,
0.04331345483660698,
-0.05875018984079361,
-0.024392131716012955,
0.013380826450884342,
0.008589514531195164,
0.005030876956880093,
-0.00927772093564272,
-0.08760260045528412,
0.07052810490131378,
0.0056973048485815525,
-0.031047698110342026,
0.006389867048710585,
0.01220477744936943,
-0.008724542334675789,
-0.01437393482774496,
-0.05261731147766113,
0.09269009530544281,
-0.03442775085568428,
0.013093347661197186,
0.04178023710846901,
-0.021987764164805412,
-0.007779347710311413,
0.018903901800513268,
-0.07401269674301147,
0.01307592447847128,
-0.005152837838977575,
-0.027493417263031006,
0.06899488717317581,
-0.03078635409474373,
-0.04543905705213547,
-0.010932901874184608,
-0.011316206306219101,
0.039933402091264725,
-0.0208726953715086,
-0.04644958674907684,
0.023764904588460922,
0.008467554114758968,
-0.008750677108764648,
0.09519900381565094,
0.01154270488768816,
-0.015846174210309982,
-0.007526714820414782,
-0.04805249720811844,
0.04477698355913162,
-0.0024675254244357347,
0.009112203493714333,
-0.016090095043182373,
0.018172137439250946,
0.00019614431948866695,
-0.02475801296532154,
-0.01284942589700222,
-0.0009370280895382166,
0.03197111561894417,
0.00008629805233795196,
-0.020681042224168777,
0.009870101697742939,
-0.03244153410196304,
-0.049690257757902145,
0.022336222231388092,
0.004996031057089567,
-0.026204118505120277,
-0.017004800960421562,
0.11310979723930359,
-0.026848766952753067,
-0.015210236422717571,
-0.012100239284336567,
0.008937973529100418,
0.04833126440644264,
-0.03853956609964371,
-0.04840095713734627,
-0.05338392034173012,
-0.1177094578742981,
-0.026465462520718575,
-0.011577551253139973,
0.08084249496459961,
-0.0018000085838139057,
-0.017327124252915382,
-0.040769703686237335,
-0.0003204189706593752,
0.0062766182236373425,
-0.0439058355987072,
-0.022911179810762405,
0.043522533029317856,
-0.004512544255703688,
0.005244308151304722,
0.035926125943660736,
-0.03289453312754631,
-0.07798513025045395,
-0.005710372235625982,
0.014975026249885559,
-0.006267906632274389,
0.035490550100803375,
-0.015497715212404728,
-0.020454544574022293,
-0.004249022342264652,
-0.03927133232355118,
0.007500580511987209,
-0.029026636853814125,
0.08704506605863571,
0.03167492523789406,
0.00044183514546602964,
-0.016438554972410202,
-0.02960159443318844,
0.020593928173184395,
-0.016787013038992882,
-0.05592767149209976,
-0.07108563929796219,
0.0834907814860344,
0.013476652093231678,
-0.03111739084124565,
-0.01977504976093769,
0.043383147567510605,
-0.050387173891067505,
-0.0208726953715086,
-0.0199318565428257,
-0.06101517379283905,
0.05732150748372078,
0.03648366034030914,
0.05895926430821419,
0.03244153410196304,
-0.009434527717530727,
-0.009539065882563591,
0.025977618992328644,
0.03212792053818703,
0.01710933819413185,
0.07477930188179016,
0.02554204687476158,
-0.043731607496738434,
-0.014643990434706211,
-0.009521642699837685,
-0.042198386043310165,
0.02880013734102249,
-0.06812373548746109,
-0.026744229719042778,
-0.03202338516712189,
-0.01447847206145525,
0.03550797328352928,
-0.045648131519556046,
0.09638376533985138,
0.03418383002281189,
0.05463837459683418,
0.006794950924813747
]
|
40,299 | pyglove.core.symbolic.object | _on_parent_change | Event that is triggered after the symbolic parent changes. | def _on_parent_change(
self,
old_parent: Optional[base.Symbolic],
new_parent: Optional[base.Symbolic]):
"""Event that is triggered after the symbolic parent changes."""
del old_parent, new_parent
| (self, old_parent: Optional[pyglove.core.symbolic.base.Symbolic], new_parent: Optional[pyglove.core.symbolic.base.Symbolic]) | [
-0.008953211829066277,
0.02298307791352272,
0.01567891426384449,
0.06924278289079666,
-0.07632246613502502,
-0.01921875588595867,
0.0055515095591545105,
0.0870973989367485,
0.09683628380298615,
-0.013347798027098179,
-0.0030865701846778393,
-0.10588447004556656,
0.057362720370292664,
-0.008996381424367428,
-0.03971530869603157,
-0.03733238950371742,
-0.013598176650702953,
-0.005810522474348545,
0.019909458234906197,
-0.038195766508579254,
-0.034172434359788895,
-0.0004489556886255741,
0.014919142238795757,
-0.04061322286725044,
-0.023380229249596596,
0.05888226255774498,
-0.021947026252746582,
0.038230303674936295,
-0.018787067383527756,
-0.04938512295484543,
-0.009894292801618576,
-0.028836768120527267,
0.01569618098437786,
-0.01566164568066597,
0.055256083607673645,
0.038472048938274384,
-0.0431688167154789,
0.02084190398454666,
-0.02488250471651554,
0.03384435176849365,
0.007243727333843708,
0.0004840303445234895,
-0.03861018642783165,
0.0009583476930856705,
0.038748327642679214,
0.08240063488483429,
-0.007312797475606203,
0.04082043096423149,
0.026384780183434486,
0.018424449488520622,
0.0135118393227458,
-0.014772368595004082,
0.015428534708917141,
0.029890088364481926,
-0.0528731644153595,
0.04271985962986946,
0.028957640752196312,
-0.006781820673495531,
0.027887053787708282,
-0.019080616533756256,
0.0696917325258255,
0.014660129323601723,
-0.0063889846205711365,
-0.06658358126878738,
0.012864306569099426,
-0.06720521301031113,
0.09352091699838638,
-0.02267226204276085,
-0.016568191349506378,
0.008396334946155548,
-0.1112719401717186,
-0.036296337842941284,
0.00642783660441637,
-0.001999795436859131,
0.018821602687239647,
-0.009540308266878128,
-0.042581718415021896,
-0.005352932959794998,
0.03639994561672211,
-0.03298097476363182,
-0.01759560965001583,
-0.06623823195695877,
0.024416280910372734,
0.03223847225308418,
0.009712982922792435,
0.025590473785996437,
0.06931184977293015,
0.010757668875157833,
0.0661000907421112,
0.029251189902424812,
-0.04137299209833145,
-0.0014483137056231499,
-0.008875508792698383,
0.037677742540836334,
0.0696917325258255,
0.03733238950371742,
0.006449420936405659,
-0.05756993219256401,
0.04917791485786438,
-0.004437754396349192,
0.06053994596004486,
0.044722892343997955,
0.01584295555949211,
-0.01042095199227333,
0.033654406666755676,
-0.03988798335194588,
-0.007157389540225267,
-0.019840387627482414,
0.038472048938274384,
0.018269043415784836,
-0.053598400205373764,
-0.02729995921254158,
-0.00514140585437417,
0.036054592579603195,
-0.011975029483437538,
-0.009678448550403118,
-0.03289463743567467,
-0.014755100943148136,
0.01042095199227333,
-0.0356401726603508,
0.011517439968883991,
0.034224238246679306,
-0.027230888605117798,
-0.007968963123857975,
0.027507169172167778,
0.0165250226855278,
0.02458895742893219,
0.03154776990413666,
0.019892189651727676,
0.015445802360773087,
0.03135782852768898,
-0.01189732551574707,
-0.017474737018346786,
-0.02431267686188221,
0.05639573931694031,
0.027956124395132065,
-0.019857654348015785,
0.023950058966875076,
-0.036572620272636414,
-0.014452919363975525,
-0.009540308266878128,
0.01813090220093727,
0.039335425943136215,
0.01432341244071722,
0.005150039680302143,
0.04413579776883125,
-0.013062883168458939,
-0.0076754153706133366,
-0.10940704494714737,
0.009920193813741207,
-0.027369027957320213,
-0.0063501326367259026,
0.007878309115767479,
-0.04966140538454056,
-0.021739814430475235,
0.029337527230381966,
-0.06658358126878738,
-0.04513731226325035,
0.011672847904264927,
0.017923692241311073,
-0.03536389395594597,
-0.05919307842850685,
0.04672592505812645,
-0.03802309185266495,
-0.008659664541482925,
-0.031236954033374786,
-0.024433549493551254,
-0.053391192108392715,
-0.041994623839855194,
-0.0066998000256717205,
-0.02056562341749668,
-0.0018756850622594357,
0.023017611354589462,
0.025279657915234566,
-0.03570924326777458,
0.0368143655359745,
0.03477679565548897,
-0.027887053787708282,
-0.019840387627482414,
0.0057975719682872295,
0.02971741184592247,
-0.03871379420161247,
0.035243019461631775,
0.08882415294647217,
0.05725911632180214,
0.0035786947701126337,
-0.05774260684847832,
0.014176638796925545,
0.03747053071856499,
-0.03235934302210808,
-0.07418128848075867,
-0.005400418769568205,
-0.019546840339899063,
0.008901409804821014,
0.05142269283533096,
0.01731932908296585,
0.003908936399966478,
-0.013589543290436268,
-0.042858000844717026,
0.023984594270586967,
-0.011128920130431652,
0.0024455133825540543,
0.02733449451625347,
-0.03223847225308418,
-0.005339982453733683,
0.046864066272974014,
0.01778555102646351,
0.023173019289970398,
0.018027296289801598,
-0.01416800543665886,
0.01443565171211958,
0.04106217622756958,
0.01080083753913641,
-0.013304628431797028,
-0.029872819781303406,
-0.07418128848075867,
-0.06388984620571136,
0.01068859826773405,
-0.0037017259746789932,
-0.02053108811378479,
-0.027196353301405907,
0.023587441071867943,
-0.030701661482453346,
-0.04479196295142174,
-0.03512214869260788,
-0.03791948780417442,
0.02429540827870369,
0.007692683022469282,
0.03439691290259361,
-0.003949946723878384,
-0.016853105276823044,
-0.015747983008623123,
-0.03667622432112694,
-0.07673688232898712,
0.017500637099146843,
-0.0016825045458972454,
-0.026125766336917877,
0.016162404790520668,
-0.05394374951720238,
0.004588845185935497,
-0.06872475147247314,
-0.037643205374479294,
-0.006030683405697346,
0.0062810624949634075,
0.04026786983013153,
-0.033101845532655716,
0.05159536749124527,
0.01994399167597294,
-0.054185494780540466,
0.011275694705545902,
0.04703674092888832,
-0.07749665528535843,
-0.021947026252746582,
0.03888646885752678,
0.04209822788834572,
-0.004267237149178982,
-0.014945044182240963,
0.014288878068327904,
0.01890794187784195,
-0.0004168488667346537,
-0.011526073329150677,
0.0661000907421112,
-0.006384667940437794,
0.03056352026760578,
-0.001139656757004559,
0.0029354793950915337,
0.0639243796467781,
-0.005361566785722971,
-0.038541119545698166,
0.0015940085286274552,
0.03919728472828865,
-0.011517439968883991,
-0.04140752553939819,
0.02001306228339672,
0.012942010536789894,
-0.07936155050992966,
-0.039611704647541046,
0.03892100229859352,
-0.030097298324108124,
-0.02997642569243908,
0.04320335015654564,
0.024416280910372734,
0.027230888605117798,
0.03843751177191734,
-0.06886289268732071,
-0.022067898884415627,
0.0009038470452651381,
-0.01418527215719223,
0.0012486579362303019,
0.009825222194194794,
-0.0010414476273581386,
0.01887340657413006,
-0.03399975970387459,
0.043341491371393204,
0.006734335329383612,
0.0028642509132623672,
-0.009471237659454346,
0.04123485088348389,
-0.00404491787776351,
0.021929757669568062,
0.0546344518661499,
0.0020688653457909822,
-0.020582890138030052,
-0.02135992981493473,
-0.025279657915234566,
0.01999579556286335,
0.052044324576854706,
-0.016723599284887314,
-0.015583942644298077,
-0.02565954439342022,
-0.03436237573623657,
0.046587783843278885,
-0.07335244864225388,
0.009074084460735321,
-0.01024827640503645,
-0.007541591767221689,
0.0568101592361927,
-0.06136878579854965,
0.04776197671890259,
0.0641661286354065,
-0.04330695420503616,
0.015134986490011215,
-0.0740431547164917,
0.044412076473236084,
-0.03750506788492203,
0.00763224670663476,
0.023328427225351334,
0.06872475147247314,
-0.004653598181903362,
0.0038916687481105328,
0.014591059647500515,
-0.0176733136177063,
0.000043708423618227243,
-0.06126518175005913,
-0.07777293771505356,
0.006902693305164576,
0.015178155153989792,
-0.03215213492512703,
0.022361446171998978,
0.009833856485784054,
0.04486103355884552,
0.017716482281684875,
-0.01639551669359207,
-0.04109671339392662,
-0.018269043415784836,
-0.017086217179894447,
0.04479196295142174,
-0.018735265359282494,
0.0307879988104105,
0.035260289907455444,
-0.05211339518427849,
0.05750086158514023,
-0.027472633868455887,
0.0009108619997277856,
0.027455367147922516,
-0.033464465290308,
-0.012113169766962528,
-0.020721031352877617,
-0.020168470218777657,
-0.06682532280683517,
0.040958572179079056,
-0.01946050114929676,
0.015031381510198116,
-0.0394044928252697,
-0.027472633868455887,
-0.004213276319205761,
0.02431267686188221,
-0.02814606763422489,
0.02320755459368229,
-0.011810988187789917,
0.013425501063466072,
-0.047416627407073975,
0.077634796500206,
-0.0033304740209132433,
-0.0012087267823517323,
0.019374163821339607,
0.007222142536193132,
0.017483370378613472,
-0.024416280910372734,
-0.08861694484949112,
-0.0029549053870141506,
-0.01255349162966013,
-0.01835538074374199,
0.03399975970387459,
-0.02678193338215351,
0.004804688971489668,
0.03462139144539833,
0.011724649928510189,
0.027714379131793976,
0.02890583872795105,
0.003123263828456402,
0.008577643893659115,
0.06765417009592056,
-0.00035830115666612983,
0.020479286089539528,
-0.02674739807844162,
0.0026721495669335127,
-0.010766302235424519,
-0.018476253375411034,
-0.023621976375579834,
-0.03639994561672211,
-0.02239598147571087,
-0.09925373643636703,
-0.019028814509510994,
0.03995705395936966,
-0.0071876076981425285,
0.0028620923403650522,
0.03185858577489853,
-0.017353864386677742,
-0.05325305089354515,
-0.003695250488817692,
-0.0007764990441501141,
0.00014299669419415295,
0.002803814597427845,
0.01337369903922081,
-0.03220393508672714,
0.015100451186299324,
-0.035536568611860275,
0.0701061561703682,
-0.021532604470849037,
-0.030977942049503326,
0.050352104008197784,
0.06613462418317795,
0.01605016551911831,
0.04265078902244568,
0.019097883254289627,
-0.021515337750315666,
0.014150737784802914,
0.015212690457701683,
0.05394374951720238,
0.06516764312982559,
0.03279103338718414,
0.031219687312841415,
0.007377550471574068,
-0.023950058966875076,
0.01687900722026825,
0.030390845611691475,
0.027075480669736862,
-0.03802309185266495,
0.02458895742893219,
-0.008603544905781746,
0.007390500977635384,
-0.03424150496721268,
0.0032678793650120497,
0.0330500453710556,
0.06364809721708298,
0.016559557989239693,
0.02780071645975113,
-0.036365408450365067,
-0.01916695386171341,
-0.042547184973955154,
-0.048280004411935806,
-0.02053108811378479,
0.0022749966010451317,
-0.03646901622414589,
-0.02324208989739418,
-0.025296924635767937,
-0.02293127402663231,
-0.02674739807844162,
-0.008728734217584133,
-0.04893616959452629,
0.03995705395936966,
0.05273502320051193,
-0.008331581018865108,
0.017751017585396767,
0.042581718415021896,
0.0409931056201458,
-0.04233997315168381,
-0.05611946061253548,
-0.0014267293736338615,
0.05853691324591637,
-0.026954608038067818,
-0.015100451186299324,
0.03482859954237938,
-0.05895133316516876,
-0.057431790977716446,
-0.03595098853111267,
-0.03139236196875572,
-0.026143034920096397,
-0.000893054879270494,
-0.024174535647034645,
0.04503370821475983,
0.01783735491335392,
-0.009030915796756744,
0.00019628320296760648,
-0.033464465290308,
-0.008927310816943645,
-0.03698704019188881,
-0.025020645931363106,
0.019512305036187172,
-0.0666871890425682,
-0.036330875009298325,
-0.0015260175568982959,
0.012734800577163696,
0.014107569120824337,
-0.02643658220767975,
0.021722547709941864,
-0.04541359469294548,
0.03829937428236008,
-0.024209070950746536,
-0.039300888776779175,
0.013485937379300594,
-0.018735265359282494,
0.01418527215719223,
0.03517394885420799,
-0.026540188118815422,
-0.037125181406736374,
0.022844936698675156,
-0.06665264815092087,
0.02108364924788475,
0.04997222125530243,
-0.006332864984869957,
0.12170152366161346,
-0.001037130830809474,
0.004796055145561695,
-0.04427393525838852,
0.010438219644129276,
0.07915434241294861,
0.0740431547164917,
-0.008137322030961514,
0.015324929729104042,
-0.05694830045104027,
0.04033694043755531,
-0.0213771965354681,
0.028422348201274872,
-0.04883256182074547,
-0.0399915911257267,
-0.011612411588430405,
-0.005845057312399149,
-0.046346038579940796,
0.019581373780965805,
-0.013943526893854141,
-0.0065228077583014965,
0.04845267906785011,
-0.0178200863301754,
0.06019459664821625,
0.026937341317534447,
-0.00206346926279366,
-0.041960086673498154,
-0.009151788428425789,
-0.021446267142891884,
0.03888646885752678,
0.02080736868083477,
0.09151788800954819,
0.04748569801449776,
0.014634228311479092,
0.009557575918734074,
-0.027161817997694016,
-0.015463069081306458,
0.029337527230381966,
-0.03001096099615097,
-0.004886710084974766,
0.027161817997694016,
0.030390845611691475,
-0.0009016886469908059,
0.0337580144405365,
0.04140752553939819,
0.011931860819458961,
0.007377550471574068,
-0.01244125235825777,
0.0016317812260240316,
0.018735265359282494,
0.06575474143028259,
-0.02785251848399639,
0.095040462911129,
-0.0021390148904174566,
0.009074084460735321,
0.017923692241311073,
0.09904652833938599,
0.03867925703525543,
0.03486313670873642,
0.018286310136318207,
0.036054592579603195,
-0.010455487295985222,
-0.0014267293736338615,
-0.02835327759385109,
0.010136038064956665,
0.007122854236513376,
-0.05919307842850685,
-0.057466328144073486,
0.02809426560997963,
-0.03406883031129837,
-0.02833601087331772,
0.05197525396943092,
-0.011051217094063759,
0.010714500211179256,
-0.003688775235787034,
0.09759605675935745,
-0.005767353810369968,
0.01894247531890869,
-0.0572245828807354,
-0.009341731667518616,
-0.009911559522151947,
0.010274178348481655,
-0.004981681238859892,
-0.032031260430812836,
-0.002054835669696331,
-0.02593582309782505,
-0.0016490487614646554,
0.011267060413956642,
-0.02486523799598217,
-0.026695596054196358,
0.047174882143735886,
0.010222375392913818,
-0.01186279021203518,
-0.025538671761751175,
0.03320545330643654,
-0.016550922766327858,
-0.020669229328632355,
0.017716482281684875,
0.030615324154496193,
0.03539842739701271,
-0.015868855640292168,
-0.046069759875535965,
-0.012199507094919682,
-0.0245544221252203,
-0.023086681962013245,
-0.055774107575416565,
0.000022714215447194874,
0.004860808607190847,
-0.012294478714466095,
-0.012890208512544632,
-0.01487597357481718,
-0.0337580144405365,
-0.08509436994791031,
0.010619528591632843,
0.015877490863204002,
0.01728479377925396,
-0.03196218982338905,
-0.04399765655398369,
0.037125181406736374,
-0.03291190415620804,
-0.04758930206298828,
-0.050904665142297745,
0.053080376237630844,
-0.03750506788492203,
0.008793487213551998,
-0.03161684051156044,
-0.034966740757226944,
-0.036330875009298325,
0.016188304871320724,
-0.033464465290308,
-0.010507289320230484,
-0.014496088027954102,
0.00044922548113390803,
0.0027584873605519533,
0.0027088432107120752,
-0.004735618829727173,
-0.051491763442754745,
-0.06078169122338295,
0.021826153621077538,
0.02945839986205101,
-0.04948873072862625,
-0.00855174195021391,
0.06516764312982559,
0.014806903898715973,
-0.027472633868455887,
-0.04465382173657417,
0.007921477779746056,
0.038472048938274384,
0.05625759810209274,
0.01429751142859459,
0.029337527230381966,
0.07079685479402542,
0.0815717950463295,
0.026557454839348793,
0.08523251116275787,
0.006937228608876467,
0.0009594269213266671,
-0.021532604470849037,
-0.0384029783308506,
-0.06516764312982559,
-0.03109881468117237,
-0.02054835669696331,
0.0025858120061457157,
-0.08136457949876785,
0.06005645543336868,
0.06958813220262527,
0.021981559693813324,
-0.023639243096113205,
-0.06292286515235901,
0.02918211929500103,
0.02054835669696331,
-0.07155662775039673,
0.023673778399825096,
0.07687502354383469,
0.031513236463069916,
0.00984248984605074,
0.0609889030456543,
-0.0343451090157032,
0.018510788679122925,
0.015722082927823067,
0.02163621038198471,
-0.017129385843873024,
-0.02540053054690361,
-0.02733449451625347,
-0.043065208941698074,
-0.03895553946495056,
-0.06824126094579697,
0.0160847008228302,
0.11900778859853745,
0.007334381807595491,
-0.017017146572470665,
-0.03208306431770325,
-0.0018012188374996185,
0.006354449782520533,
-0.02351837046444416,
-0.0491088442504406,
0.0256422758102417,
0.04061322286725044,
-0.014772368595004082,
-0.057673536241054535,
-0.04002612456679344,
-0.052562348544597626,
0.02453715354204178,
0.03360260650515556,
-0.0036369727458804846,
-0.03705611079931259,
0.02945839986205101,
-0.02945839986205101,
-0.02892310544848442,
0.031133349984884262,
0.03747053071856499,
0.0020397265907377005,
-0.002413136651739478,
0.0034427130594849586,
0.056326668709516525,
-0.02372558042407036,
-0.011854156851768494,
0.0318758524954319,
-0.03574378043413162,
0.036089129745960236,
-0.03380981460213661,
-0.0399915911257267,
0.055532362312078476,
0.009030915796756744,
-0.015756618231534958,
0.03213486447930336,
0.001974973361939192,
-0.061783209443092346,
0.0037988557014614344,
0.0027174768038094044,
-0.011741917580366135,
-0.02191249094903469,
0.0635790303349495,
0.0008946736925281584,
-0.04707127436995506,
0.028681360185146332,
0.01780281960964203,
0.004278029780834913,
0.01621420681476593,
0.04303067550063133,
0.017405666410923004,
-0.02186068706214428,
-0.03747053071856499,
-0.01975405029952526,
-0.021808885037899017,
0.06112704053521156,
0.034137897193431854,
0.02567681111395359,
0.0058364239521324635,
0.00593571225181222,
0.014288878068327904,
0.0033499000128358603,
0.09676721692085266,
-0.015324929729104042,
-0.007688365876674652,
-0.003902460914105177
]
|
40,300 | pyglove.core.symbolic.object | _on_path_change | Event that is triggered after the symbolic path changes. | def _on_path_change(
self, old_path: object_utils.KeyPath, new_path: object_utils.KeyPath):
"""Event that is triggered after the symbolic path changes."""
del old_path, new_path
| (self, old_path: pyglove.core.object_utils.value_location.KeyPath, new_path: pyglove.core.object_utils.value_location.KeyPath) | [
0.04138438403606415,
0.016903238371014595,
-0.020726794376969337,
0.057093843817710876,
-0.06096930429339409,
-0.04148819297552109,
-0.014714640565216541,
0.07494864612817764,
0.06114231422543526,
0.008944702334702015,
0.022162791341543198,
-0.08242274820804596,
0.07391057163476944,
0.015960324555635452,
-0.054014235734939575,
-0.020467277616262436,
-0.006224093958735466,
0.007746596354991198,
0.0008272119448520243,
-0.02283753640949726,
-0.01842574030160904,
-0.012231923639774323,
0.020432675257325172,
-0.018616052344441414,
-0.02081330120563507,
0.05615957826375961,
0.004163092467933893,
0.041072964668273926,
0.04467160627245903,
-0.06775136291980743,
-0.028789136558771133,
-0.03916983678936958,
0.008062342181801796,
-0.008572726510465145,
-0.0011797231854870915,
0.025813337415456772,
0.029308171942830086,
0.016410155221819878,
0.014965507201850414,
0.0019301611464470625,
0.005709384102374315,
0.041349783539772034,
-0.030225133523344994,
0.0013981503434479237,
0.05346059799194336,
0.05629798769950867,
-0.08297638595104218,
0.03416980057954788,
0.023616088554263115,
0.026799503713846207,
-0.009835711680352688,
-0.025623023509979248,
-0.02017315849661827,
0.015389385633170605,
0.030000219121575356,
0.004506953526288271,
0.0592045858502388,
0.020951710641384125,
-0.0032374802976846695,
-0.029671497642993927,
0.06917005777359009,
0.008032065816223621,
0.01996554434299469,
-0.053114574402570724,
0.018494945019483566,
-0.06117691844701767,
0.0776476263999939,
-0.008767365477979183,
-0.00045496656093746424,
0.004132815636694431,
-0.09377230703830719,
-0.0006920465966686606,
0.0049913860857486725,
-0.03190334886312485,
0.004792422521859407,
-0.014048545621335506,
-0.03913523256778717,
0.006474960595369339,
0.035328976809978485,
-0.037508923560380936,
-0.011911851353943348,
-0.08283797651529312,
-0.027993284165859222,
-0.015173121355473995,
-0.029429281130433083,
0.030796073377132416,
0.08643661439418793,
-0.057751286774873734,
0.04889309033751488,
0.03813176602125168,
-0.02801058441400528,
-0.020155856385827065,
-0.04577888175845146,
0.004217159003019333,
0.041765011847019196,
-0.03941205143928528,
-0.013434354215860367,
-0.04397955909371376,
0.0674053356051445,
0.012387633323669434,
0.06460254639387131,
-0.015891119837760925,
0.004567507188767195,
0.0566440112888813,
0.027647260576486588,
-0.03200715407729149,
0.002547596348449588,
-0.04186881706118584,
-0.0032245044130831957,
-0.014385918155312538,
-0.05003496631979942,
0.051834288984537125,
0.0034645581617951393,
0.017872102558612823,
-0.0326819010078907,
0.036609262228012085,
-0.0017647187924012542,
-0.06429112702608109,
0.013062379322946072,
-0.04557126760482788,
0.00862895604223013,
0.01017308421432972,
-0.045017629861831665,
0.03802796080708504,
0.05062320828437805,
0.011254407465457916,
0.037820346653461456,
0.06148833781480789,
-0.0007563852705061436,
0.010683468542993069,
-0.026539986953139305,
0.01376307662576437,
-0.019844435155391693,
0.041765011847019196,
0.053529802709817886,
0.02327006682753563,
-0.02470606192946434,
-0.007192959077656269,
0.007988812401890755,
0.021799467504024506,
-0.032768405973911285,
-0.010917034931480885,
0.005367686040699482,
-0.01708490028977394,
0.041938021779060364,
0.06342606991529465,
0.01131496112793684,
0.0020437000785022974,
-0.06878942996263504,
0.027647260576486588,
-0.01686863601207733,
0.026712996885180473,
0.011842646636068821,
-0.05595196411013603,
-0.01587381772696972,
0.0298618096858263,
-0.07370296120643616,
0.004349080380052328,
0.01623714342713356,
0.02673029899597168,
-0.009775158017873764,
-0.07654035091400146,
0.04982735216617584,
-0.033789172768592834,
0.0005979714915156364,
0.028045186772942543,
-0.02358148619532585,
-0.03584801405668259,
-0.03754352778196335,
0.0027963006868958473,
-0.007089152000844479,
0.019411906599998474,
0.004506953526288271,
0.014792495407164097,
-0.0045848083682358265,
0.036920685321092606,
0.027924079447984695,
0.011115998029708862,
0.008365113288164139,
-0.03916983678936958,
0.006911815144121647,
-0.05339139327406883,
-0.013728474266827106,
0.10449903458356857,
0.015519144013524055,
0.03557119518518448,
-0.0668862983584404,
0.004545880947262049,
-0.007231886498630047,
0.01953301392495632,
-0.07605592161417007,
0.024481147527694702,
0.026972515508532524,
0.011332262307405472,
0.041453588753938675,
-0.01767313852906227,
0.015052013099193573,
-0.005263879429548979,
-0.06245720386505127,
0.09024287015199661,
0.003122860100120306,
-0.015302879735827446,
0.017552031204104424,
0.012465489096939564,
-0.006756104528903961,
0.015856517478823662,
0.059654414653778076,
0.05155747011303902,
0.01768179051578045,
0.031488120555877686,
0.002612475771456957,
0.014870351180434227,
0.017560681328177452,
-0.028391210362315178,
-0.007889331318438053,
-0.02698981575667858,
-0.04335671663284302,
0.0461249053478241,
0.00044847861863672733,
0.0045848083682358265,
0.02006935141980648,
0.05211110785603523,
-0.052733950316905975,
-0.016410155221819878,
-0.0036937985569238663,
-0.03167843073606491,
0.015683505684137344,
-0.00032358584576286376,
0.02327006682753563,
-0.03754352778196335,
0.017534730955958366,
-0.0003489969240035862,
-0.02401401661336422,
-0.047682009637355804,
0.057093843817710876,
0.024688761681318283,
-0.0027725116815418005,
-0.01773369312286377,
-0.014117750339210033,
-0.004974084906280041,
-0.03451582416892052,
-0.03154002130031586,
-0.0018004024168476462,
-0.006570117082446814,
0.015207723714411259,
-0.005077891517430544,
0.020588384941220284,
-0.004835675470530987,
-0.017058948054909706,
-0.0440833680331707,
0.026488082483410835,
-0.01858144998550415,
0.0017517429077997804,
0.039377450942993164,
0.004375032149255276,
-0.02321816235780716,
-0.03190334886312485,
0.005635854322463274,
0.014117750339210033,
0.02044997550547123,
-0.02337387390434742,
0.02465415932238102,
-0.03674767166376114,
0.037508923560380936,
0.014161002822220325,
-0.013546811416745186,
0.05809731036424637,
0.029792604967951775,
0.0025454338174313307,
0.0015365596627816558,
0.045917291194200516,
-0.023737197741866112,
-0.09640208631753922,
0.013849581591784954,
0.011548527516424656,
0.0047837719321250916,
-0.016730226576328278,
0.025311604142189026,
-0.017430923879146576,
-0.007530331611633301,
0.01629769615828991,
-0.029481183737516403,
0.04647092893719673,
0.032353177666664124,
-0.07757841795682907,
0.01878906413912773,
0.007504379842430353,
-0.026695696637034416,
0.007058875169605017,
0.01814892143011093,
0.07827046513557434,
0.0018696070183068514,
-0.03145351633429527,
0.055190715938806534,
0.0784088745713234,
0.014853050000965595,
-0.037612732499837875,
-0.01852954737842083,
0.00993086863309145,
0.03539818152785301,
0.002597337355837226,
0.024688761681318283,
-0.04429098218679428,
-0.019844435155391693,
0.004189044237136841,
-0.029913712292909622,
0.05750907212495804,
-0.016271745786070824,
0.020034749060869217,
0.00921287015080452,
-0.03647085279226303,
-0.007409223821014166,
-0.08588297665119171,
0.028529619798064232,
0.050242580473423004,
-0.0033823775593191385,
0.013460305519402027,
-0.005268204491585493,
-0.009169616736471653,
0.03278570622205734,
-0.05276855081319809,
0.03154002130031586,
-0.12062371522188187,
0.013443004339933395,
-0.03423900529742241,
0.010735372081398964,
0.03633244335651398,
0.06128072366118431,
0.022699126973748207,
0.008784666657447815,
0.0030536556150764227,
0.007422199472784996,
0.008386739529669285,
-0.009835711680352688,
-0.03882381319999695,
-0.04802803322672844,
-0.00370677444152534,
-0.0566440112888813,
-0.03354695811867714,
0.034896448254585266,
0.04456780105829239,
-0.012802861630916595,
-0.004171743057668209,
-0.04436018690466881,
0.02704172022640705,
0.021366937085986137,
0.020519180223345757,
0.023356571793556213,
-0.009264773689210415,
0.04110756516456604,
-0.020571084693074226,
0.04256086423993111,
-0.0599658340215683,
-0.004666989203542471,
0.02022506110370159,
-0.020190458744764328,
-0.03121129982173443,
-0.012180020101368427,
-0.022802934050559998,
-0.06027725711464882,
0.04387575387954712,
0.03195524960756302,
-0.03550199046730995,
-0.04799342900514603,
0.04252626374363899,
-0.002355121076107025,
-0.02065758965909481,
-0.012084863148629665,
0.03557119518518448,
-0.023097055032849312,
0.005999178625643253,
-0.02327006682753563,
0.055190715938806534,
0.022958645597100258,
0.03923904150724411,
-0.002597337355837226,
0.052526336163282394,
0.024775266647338867,
-0.02970610000193119,
0.022595319896936417,
0.029584990814328194,
-0.009091761894524097,
0.005778588820248842,
0.03847778961062431,
-0.00595160061493516,
0.028443114832043648,
0.04148819297552109,
-0.011410118080675602,
0.03688608109951019,
0.0009639992495067418,
-0.028148993849754333,
-0.025103989988565445,
0.04730138182640076,
-0.02224929817020893,
0.04449859634041786,
-0.02299324795603752,
0.002031805459409952,
0.007396247703582048,
-0.01482709776610136,
0.004684290383011103,
-0.03827017545700073,
0.040761541575193405,
-0.11799394339323044,
0.024619556963443756,
0.022802934050559998,
0.002120473887771368,
-0.004476676229387522,
0.08297638595104218,
-0.013131584040820599,
0.000462265481473878,
-0.0014511351473629475,
-0.00037684099515900016,
-0.016678322106599808,
-0.04695535823702812,
0.06273402273654938,
-0.022439610213041306,
-0.03321823477745056,
-0.06968908756971359,
0.06086549535393715,
0.03157462552189827,
-0.05235332250595093,
0.04667854309082031,
-0.005129795055836439,
-0.006366828456521034,
0.030363542959094048,
-0.005480143707245588,
-0.009524291381239891,
0.06847801059484482,
0.01970602571964264,
0.08678264170885086,
0.06553681194782257,
0.035121362656354904,
-0.03288951516151428,
0.019083185121417046,
-0.05359900742769241,
0.004982735496014357,
0.030467350035905838,
-0.01666967198252678,
0.004336104262620211,
-0.019930941984057426,
-0.05027718469500542,
0.008425666950643063,
0.00700264610350132,
-0.02657458931207657,
0.025674927979707718,
-0.014463772997260094,
-0.012958572246134281,
0.005839142948389053,
0.010735372081398964,
-0.0158219151198864,
-0.060727085918188095,
-0.04366813972592354,
-0.038996823132038116,
-0.02134963683784008,
0.007331368513405323,
-0.041972626000642776,
-0.03162652999162674,
-0.03986188396811485,
-0.023183559998869896,
0.01745687425136566,
-0.060242652893066406,
0.057855091989040375,
0.018235426396131516,
-0.04733598604798317,
0.0333220437169075,
0.0042647370137274265,
0.020726794376969337,
0.014576231129467487,
-0.031107492744922638,
-0.029100557789206505,
0.0339621864259243,
-0.05207650363445282,
-0.04207643121480942,
0.04657473415136337,
-0.018806366249918938,
-0.0296022929251194,
-0.0029498485382646322,
0.014749242924153805,
-0.0556059405207634,
-0.018408438190817833,
-0.013460305519402027,
-0.0025562469381839037,
0.01681673154234886,
-0.02022506110370159,
0.030899878591299057,
0.010051976889371872,
-0.0076168375089764595,
-0.014100449159741402,
-0.01751742884516716,
0.0079109575599432,
-0.02406591922044754,
-0.0285815242677927,
-0.04425637796521187,
-0.013667919673025608,
-0.010873781517148018,
-0.021488046273589134,
-0.03363346308469772,
0.0025065061636269093,
0.03288951516151428,
-0.0063495272770524025,
-0.024930978193879128,
-0.03584801405668259,
-0.019083185121417046,
0.045398253947496414,
0.021747563034296036,
0.03328743949532509,
0.014965507201850414,
0.004221484065055847,
-0.042353250086307526,
-0.02460225485265255,
0.017802897840738297,
-0.007949884980916977,
0.10747483372688293,
0.031332407146692276,
0.010311493650078773,
-0.02683410607278347,
-0.04231864959001541,
0.051626674830913544,
0.04532904922962189,
0.012257874943315983,
-0.048685476183891296,
-0.05159207060933113,
0.04110756516456604,
-0.05629798769950867,
-0.021176625043153763,
-0.07494864612817764,
-0.041072964668273926,
-0.022214695811271667,
0.04190342128276825,
-0.01461948361247778,
0.02975800260901451,
0.026211263611912727,
0.04003489390015602,
0.025225097313523293,
0.01709355041384697,
0.11453370749950409,
0.032076358795166016,
-0.055294521152973175,
-0.06204197555780411,
0.011557177640497684,
-0.021470744162797928,
0.006042431574314833,
-0.05245713144540787,
0.06349527090787888,
-0.0034602328669279814,
0.00840836577117443,
0.030415447428822517,
-0.06467175483703613,
0.0326819010078907,
-0.02102091535925865,
-0.035432785749435425,
-0.007050224579870701,
0.031488120555877686,
0.029187064617872238,
-0.006094335112720728,
0.012733656913042068,
0.04287228360772133,
-0.0037694911006838083,
-0.004917855840176344,
-0.01773369312286377,
-0.07861649245023727,
-0.004809723701328039,
0.03219746798276901,
0.012811511754989624,
0.0628032237291336,
0.02237040549516678,
0.01980983279645443,
0.011911851353943348,
0.07633274048566818,
-0.008127221837639809,
0.059066176414489746,
0.013408401980996132,
0.05418724566698074,
-0.04802803322672844,
-0.008585702627897263,
0.0011570153292268515,
0.03501755744218826,
-0.03057115711271763,
-0.03434281051158905,
-0.048097237944602966,
0.01953301392495632,
0.03214556351304054,
0.004290688782930374,
0.04083074629306793,
-0.01863335445523262,
-0.010415300726890564,
0.025363506749272346,
0.056471001356840134,
-0.04723217710852623,
0.0016468545654788613,
-0.08498331904411316,
-0.04830485209822655,
-0.01703299582004547,
-0.027647260576486588,
-0.0397234745323658,
-0.02327006682753563,
-0.008265631273388863,
-0.015026060864329338,
-0.030796073377132416,
0.022024381905794144,
-0.01490495353937149,
-0.008585702627897263,
0.05913538113236427,
0.000013846000001649372,
-0.05328758433461189,
-0.0026427528355270624,
0.030000219121575356,
-0.009256122633814812,
-0.009723254479467869,
0.03806256130337715,
0.00507356645539403,
0.05522531643509865,
0.047578200697898865,
-0.006665273569524288,
0.013858232647180557,
0.02183406986296177,
0.03264729678630829,
-0.04287228360772133,
-0.030519254505634308,
0.07211125642061234,
-0.03930824622511864,
-0.02570953033864498,
-0.005436890758574009,
-0.018252728506922722,
-0.05429105460643768,
-0.015899769961833954,
0.037785742431879044,
0.025207797065377235,
-0.03262999653816223,
-0.03432551026344299,
-0.0026297769509255886,
-0.05307997390627861,
-0.05138445645570755,
-0.017015695571899414,
0.05339139327406883,
-0.06833960115909576,
-0.007729295175522566,
-0.020847903564572334,
0.0068469359539449215,
-0.007642789278179407,
-0.028148993849754333,
0.009074460715055466,
-0.01827002875506878,
-0.007058875169605017,
-0.023737197741866112,
0.020692192018032074,
-0.0030601434409618378,
-0.04010409861803055,
0.026661094278097153,
-0.007058875169605017,
0.005216300953179598,
0.0031379987485706806,
-0.0376819372177124,
0.0022880788892507553,
0.06110771372914314,
0.03328743949532509,
0.012474139221012592,
-0.0827687680721283,
0.009385881945490837,
0.033252838999032974,
-0.013304595835506916,
-0.0002277536113979295,
0.019256195053458214,
0.04366813972592354,
0.06491396576166153,
-0.0031444865744560957,
0.06757834553718567,
0.01720600761473179,
-0.009290724992752075,
-0.025225097313523293,
-0.018391137942671776,
-0.09218060225248337,
-0.016098733991384506,
-0.026816803961992264,
-0.024671459570527077,
-0.07923933118581772,
0.08692105114459991,
0.0285815242677927,
0.015891119837760925,
-0.018927473574876785,
-0.07543307542800903,
0.0033585885539650917,
-0.02034616842865944,
-0.0466439388692379,
-0.00836078729480505,
0.06889323890209198,
0.04546745866537094,
0.03475803881883621,
0.02880643866956234,
-0.008551100268959999,
-0.004357730969786644,
-0.02693791314959526,
0.010804576799273491,
-0.007249187678098679,
-0.06584823131561279,
-0.02411782369017601,
-0.022162791341543198,
-0.06090009957551956,
-0.022456910461187363,
-0.01017308421432972,
0.09211140125989914,
0.037301309406757355,
-0.00011455263302195817,
-0.04446399211883545,
0.007197284139692783,
-0.03813176602125168,
-0.051730480045080185,
-0.10823608189821243,
-0.025000182911753654,
0.036401648074388504,
-0.01837383583188057,
-0.05633259192109108,
0.0035726905334740877,
-0.06415271759033203,
0.0571630485355854,
-0.019394604489207268,
-0.04449859634041786,
-0.08353002369403839,
0.03019053116440773,
-0.02949848584830761,
-0.014013943262398243,
-0.04913530498743057,
0.00913501437753439,
0.0315227210521698,
-0.022612622007727623,
-0.00042360820225439966,
0.04425637796521187,
0.005506095476448536,
0.014567580074071884,
0.02949848584830761,
-0.05660941079258919,
0.028443114832043648,
-0.01096893846988678,
0.0278029702603817,
0.03723210468888283,
-0.012413585558533669,
-0.01086513139307499,
0.035432785749435425,
0.03451582416892052,
0.03486184775829315,
0.017802897840738297,
-0.009619447402656078,
0.0049221813678741455,
-0.015129867941141129,
0.04546745866537094,
-0.033996786922216415,
-0.03685148060321808,
0.06806278228759766,
-0.009031208232045174,
-0.00953294150531292,
0.017422271892428398,
0.03295871987938881,
0.014065846800804138,
-0.01750877872109413,
-0.010423951782286167,
-0.019463809207081795,
-0.02667839452624321,
0.01131496112793684,
0.03806256130337715,
0.029377376660704613,
-0.02816629596054554,
0.04058853164315224,
0.011306311003863811,
-0.018494945019483566,
0.11453370749950409,
-0.0012910993536934257,
-0.04626331478357315,
0.010484505444765091
]
|
40,301 | pyglove.core.symbolic.base | _relocate_if_symbolic | Relocate if a symbolic value is to be inserted as member.
NOTE(daiyip): when a symbolic value is inserted into the object tree,
if it already has a parent, we need to make a shallow copy of this object
to avoid multiple parents. Otherwise we need to set its parent and root_path
according to current object.
Args:
key: Key used to insert the value.
value: formal value to be inserted.
Returns:
Formalized value that is ready for insertion as members.
| def _relocate_if_symbolic(self, key: Union[str, int], value: Any) -> Any:
"""Relocate if a symbolic value is to be inserted as member.
NOTE(daiyip): when a symbolic value is inserted into the object tree,
if it already has a parent, we need to make a shallow copy of this object
to avoid multiple parents. Otherwise we need to set its parent and root_path
according to current object.
Args:
key: Key used to insert the value.
value: formal value to be inserted.
Returns:
Formalized value that is ready for insertion as members.
"""
if isinstance(value, Symbolic):
# NOTE(daiyip): make a copy of symbolic object if it belongs to another
# object tree, this prevents it from having multiple parents. See
# List._formalized_value for similar logic.
root_path = object_utils.KeyPath(key, self.sym_path)
if (value.sym_parent is not None and
(value.sym_parent is not self
or root_path != value.sym_path)):
value = value.clone()
if isinstance(value, TopologyAware):
value.sym_setpath(object_utils.KeyPath(key, self.sym_path))
value.sym_setparent(self._sym_parent_for_children())
return value
| (self, key: Union[str, int], value: Any) -> Any | [
0.08775217086076736,
-0.035662829875946045,
-0.02047910913825035,
0.07046110183000565,
-0.004737032577395439,
-0.003998559433966875,
0.02923271246254444,
0.037644095718860626,
0.013544670306146145,
-0.030511531978845596,
-0.011887609958648682,
-0.026476949453353882,
0.04304755479097366,
-0.029268736019730568,
-0.016687681898474693,
0.039517298340797424,
0.015570967458188534,
0.08162825554609299,
-0.030961818993091583,
-0.012004684656858444,
0.024243518710136414,
-0.009465059265494347,
0.011167148128151894,
-0.05724064260721207,
-0.011500362306833267,
-0.02397334575653076,
0.01682276837527752,
0.04484871029853821,
0.0032848527189344168,
-0.022640492767095566,
0.027053317055106163,
-0.014823488891124725,
0.013409583829343319,
-0.028926517814397812,
0.07485591620206833,
-0.00831232126802206,
-0.02667507529258728,
0.05904179438948631,
0.022280262783169746,
-0.029052598401904106,
0.035356633365154266,
0.021289627999067307,
-0.032222628593444824,
-0.035356633365154266,
0.05417868122458458,
0.09711816906929016,
-0.03099784255027771,
0.041858796030282974,
0.06541787832975388,
-0.016840780153870583,
-0.017750361934304237,
-0.046397700905799866,
-0.006047371309250593,
-0.02182997390627861,
0.011275217868387699,
0.02552233822643757,
0.024819888174533844,
-0.009311961010098457,
0.008199748583137989,
-0.014220102690160275,
0.02761167474091053,
-0.012445966713130474,
-0.04402017965912819,
-0.04935159161686897,
0.020353028550744057,
-0.029160667210817337,
-0.004737032577395439,
-0.05547551065683365,
-0.038364559412002563,
0.0020488116424530745,
-0.055403467267751694,
-0.0628962591290474,
0.016345463693141937,
-0.04747839272022247,
0.03611311689019203,
-0.020190924406051636,
0.00548451067879796,
-0.03922911360859871,
0.02698127180337906,
-0.0546109601855278,
-0.04239914193749428,
-0.048631131649017334,
-0.04960375279188156,
-0.006610231474041939,
-0.06332854181528091,
0.06970462203025818,
0.08126801997423172,
-0.0037058722227811813,
0.03778818994760513,
0.007353207096457481,
-0.027341501787304878,
-0.05216139182448387,
-0.013580693863332272,
0.017750361934304237,
-0.005997839383780956,
0.024891933426260948,
0.050144098699092865,
-0.10770894587039948,
-0.006754323840141296,
0.002740004099905491,
0.07046110183000565,
0.010401658713817596,
-0.03926513344049454,
0.015967221930623055,
0.022892653942108154,
-0.012779180891811848,
0.03793228045105934,
-0.007006485015153885,
-0.02282060869038105,
-0.011428316123783588,
-0.06909222900867462,
-0.005097263026982546,
-0.014823488891124725,
0.01461635623127222,
-0.0012957043945789337,
-0.003919759299606085,
0.00742525327950716,
-0.01855187490582466,
0.017651299014687538,
-0.024873923510313034,
-0.003539265599101782,
-0.003068714402616024,
-0.00846541952341795,
0.019614556804299355,
0.00402557710185647,
0.03449207916855812,
0.06217580288648605,
0.005709655117243528,
-0.007582854013890028,
0.014715420082211494,
0.004273235332220793,
-0.014220102690160275,
-0.042903464287519455,
0.04585735499858856,
0.012013690546154976,
0.021091502159833908,
-0.023523058742284775,
0.0085149509832263,
-0.04747839272022247,
-0.01666967011988163,
0.02934078313410282,
-0.017885448411107063,
-0.009708214551210403,
-0.00021684193052351475,
-0.0000022338517737807706,
-0.015859151259064674,
-0.0372118204832077,
0.09682998806238174,
-0.04855908453464508,
-0.0071325660683214664,
-0.03861672058701515,
0.012166788801550865,
0.05208934471011162,
0.05036023631691933,
-0.0418948195874691,
0.010059439577162266,
-0.012004684656858444,
0.008510448038578033,
-0.002467579673975706,
0.03789626061916351,
0.0073487041518092155,
-0.020244959741830826,
-0.0032375724986195564,
-0.06793949007987976,
-0.04257925599813461,
-0.027521617710590363,
0.032168593257665634,
-0.020298995077610016,
0.005142292007803917,
0.053061965852975845,
-0.0305835772305727,
-0.04340778663754463,
-0.010797912254929543,
0.04099424183368683,
-0.008690563030540943,
-0.0014172822702676058,
-0.006299532484263182,
-0.013472624123096466,
0.04809078574180603,
0.012175793759524822,
-0.007929575629532337,
-0.008861673064529896,
-0.042903464287519455,
-0.01688580960035324,
0.01130223460495472,
0.05414265766739845,
-0.018101587891578674,
0.02501801587641239,
0.1025216281414032,
0.06163545697927475,
-0.01018552016466856,
0.027683721855282784,
0.030025219544768333,
0.010644813999533653,
-0.008478927426040173,
-0.045461103320121765,
0.010122479870915413,
0.00010419951286166906,
-0.07082133740186691,
0.10792508721351624,
-0.03150216490030289,
-0.05569165199995041,
0.033789630979299545,
0.029268736019730568,
-0.015615995973348618,
-0.004498379770666361,
0.042903464287519455,
0.03548271209001541,
-0.004187680780887604,
0.019866717979311943,
-0.03094380907714367,
-0.023739196360111237,
-0.01179755199700594,
-0.0006793724023737013,
-0.025720464065670967,
-0.0677233561873436,
-0.04935159161686897,
0.0049936966970562935,
0.053422197699546814,
0.006920930463820696,
0.0006011347868479788,
0.038112398236989975,
-0.000606200541369617,
-0.01432817243039608,
0.02339697815477848,
-0.04221902787685394,
-0.050612397491931915,
-0.04542507976293564,
-0.005074748769402504,
-0.02318083867430687,
0.05378242954611778,
-0.04355188086628914,
-0.059474073350429535,
-0.05115274339914322,
0.06988473236560822,
-0.06440923362970352,
0.024729831144213676,
-0.008816643618047237,
0.04996398463845253,
0.03876081109046936,
-0.02979107014834881,
-0.016597624868154526,
0.004890130367130041,
0.009519093669950962,
-0.02438761107623577,
-0.015588979236781597,
0.008605008013546467,
0.026801155880093575,
-0.013364555314183235,
-0.009573128074407578,
0.04459654912352562,
-0.022118158638477325,
0.013643734157085419,
-0.01146433874964714,
0.023829253390431404,
-0.046181563287973404,
-0.06520173698663712,
-0.004295750055462122,
0.012283863499760628,
-0.005110771395266056,
-0.08134006708860397,
0.010554756969213486,
0.03225864842534065,
-0.026603030040860176,
-0.0376080758869648,
-0.026639053598046303,
-0.011761529371142387,
0.05360231176018715,
-0.022856632247567177,
-0.009969381615519524,
-0.020335016772150993,
-0.021235594525933266,
-0.05298992246389389,
0.02078530564904213,
0.02741354890167713,
0.03036743961274624,
0.012211817316710949,
0.039733435958623886,
-0.005853747017681599,
-0.03369957208633423,
-0.006610231474041939,
-0.017831414937973022,
0.020100867375731468,
-0.02406340464949608,
-0.040345825254917145,
0.026296833530068398,
-0.013616716489195824,
-0.0047460380010306835,
-0.01041967049241066,
-0.00313850911334157,
0.06567003577947617,
0.024657784029841423,
-0.012463978491723537,
0.03818444162607193,
0.01467039156705141,
0.04380404204130173,
-0.10561960935592651,
0.011014050804078579,
0.005169309210032225,
0.018110593780875206,
0.02490994520485401,
0.01578710600733757,
-0.03485231101512909,
0.04726225510239601,
0.040093664079904556,
-0.004669489338994026,
0.046649862080812454,
0.029394816607236862,
-0.0018259187927469611,
0.047118160873651505,
0.002667957916855812,
0.01927233673632145,
-0.03575288504362106,
0.041138336062431335,
0.06458934396505356,
-0.053638335317373276,
-0.041138336062431335,
-0.06631845235824585,
0.006979467812925577,
0.0817723423242569,
-0.027899859473109245,
-0.00371262663975358,
-0.11916428059339523,
0.000704138248693198,
-0.014139050617814064,
-0.004027828574180603,
0.02849424071609974,
-0.0071325660683214664,
0.02047910913825035,
0.020569168031215668,
-0.010014411062002182,
-0.024297554045915604,
0.004243966657668352,
0.03458213806152344,
-0.023541070520877838,
0.009122840128839016,
-0.017183000221848488,
-0.002740004099905491,
-0.01120317168533802,
-0.005907781887799501,
0.019290348514914513,
0.03333934023976326,
-0.03323127329349518,
-0.06048271805047989,
0.04182277247309685,
-0.017155982553958893,
0.022010089829564095,
0.014229108579456806,
-0.00831232126802206,
0.048378970474004745,
-0.04520893841981888,
0.05828531086444855,
-0.028944527730345726,
-0.03584294393658638,
0.031862396746873856,
-0.0029111134354025126,
-0.025540350005030632,
-0.028620321303606033,
-0.017678316682577133,
-0.055043235421180725,
0.09675794094800949,
0.01231988612562418,
-0.03625721111893654,
-0.021019455045461655,
-0.012409944087266922,
-0.015967221930623055,
-0.08112393319606781,
0.007101045455783606,
0.03840058296918869,
-0.06649857014417648,
-0.0068353754468262196,
-0.04211095720529556,
0.028061963617801666,
-0.012274857610464096,
0.03141210973262787,
0.0728026032447815,
0.045100871473550797,
0.006069885566830635,
0.003976045176386833,
-0.043948132544755936,
0.09243517369031906,
0.007672911509871483,
0.01500360481441021,
0.05479107424616814,
0.02645893767476082,
0.019452452659606934,
0.08731989562511444,
-0.0017392383888363838,
0.05371038243174553,
0.012094742618501186,
-0.03620317578315735,
0.015345823019742966,
0.039877526462078094,
0.018786026164889336,
0.047694530338048935,
-0.00020868045976385474,
0.017020896077156067,
-0.003915256354957819,
-0.022838620468974113,
0.004142651800066233,
0.09092220664024353,
-0.025234153494238853,
-0.015345823019742966,
0.04589337855577469,
0.008938221260905266,
-0.02505403757095337,
-0.000483778421767056,
0.01096902135759592,
-0.040922194719314575,
0.038940928876399994,
0.005007205531001091,
-0.06138329207897186,
0.01442723535001278,
-0.042543232440948486,
0.03512248396873474,
-0.01222082320600748,
0.03184438496828079,
0.013607710599899292,
0.01793047785758972,
-0.038112398236989975,
0.012590059079229832,
-0.03822046518325806,
-0.0568804107606411,
0.036383289843797684,
-0.030349427834153175,
-0.008740094490349293,
0.02651297114789486,
-0.03234870731830597,
-0.053422197699546814,
0.038112398236989975,
0.023487035185098648,
-0.001205646782182157,
0.08595102280378342,
0.029935162514448166,
0.013247480615973473,
-0.04765850678086281,
0.03631124272942543,
-0.05064842104911804,
-0.03919309005141258,
0.017210016027092934,
-0.026242798194289207,
0.0005265558138489723,
-0.05280980467796326,
0.04203891009092331,
-0.019524497911334038,
0.03487032279372215,
0.009492076002061367,
0.04311960190534592,
0.005430476274341345,
-0.004048091359436512,
-0.007010987959802151,
-0.08955332636833191,
0.02427954226732254,
0.029322771355509758,
-0.024819888174533844,
-0.04027378186583519,
-0.034041792154312134,
-0.035410668700933456,
0.04391210898756981,
0.021127523854374886,
-0.020857350900769234,
0.009834295138716698,
0.030655624344944954,
-0.03661743924021721,
-0.04074208065867424,
0.0366714745759964,
0.01146433874964714,
0.006367075722664595,
0.04211095720529556,
-0.04787464812397957,
0.021685881540179253,
-0.05652018263936043,
-0.0028885991778224707,
-0.01467039156705141,
-0.018191644921898842,
-0.009852306917309761,
0.0183357372879982,
-0.0068353754468262196,
-0.05255764350295067,
-0.05868156626820564,
0.00034756623790599406,
-0.026530982926487923,
-0.011194165796041489,
-0.009456053376197815,
0.04459654912352562,
-0.0010806918144226074,
0.032384730875492096,
0.0008482304983772337,
0.009050793945789337,
0.024675795808434486,
0.012049713172018528,
0.04380404204130173,
-0.024873923510313034,
0.05194525048136711,
-0.008650037460029125,
0.0031812863890081644,
-0.04311960190534592,
-0.001816913136281073,
0.05720461905002594,
-0.03674352169036865,
-0.034095827490091324,
-0.017183000221848488,
-0.012869237922132015,
0.05479107424616814,
0.022064123302698135,
0.04074208065867424,
-0.03251081332564354,
-0.006659763399511576,
-0.020461097359657288,
-0.009915347211062908,
0.049675799906253815,
-0.017047913745045662,
0.03423991799354553,
0.027521617710590363,
0.003455962287262082,
0.01033861842006445,
-0.011194165796041489,
-0.0023685162886977196,
-0.03324928507208824,
-0.06080692633986473,
-0.02042507566511631,
-0.09171470999717712,
0.011491356417536736,
-0.05914986506104469,
-0.00977125484496355,
-0.028043951839208603,
-0.046289630234241486,
0.0031024860218167305,
0.016804756596684456,
-0.03818444162607193,
-0.03521253913640976,
-0.003926513716578484,
-0.03324928507208824,
0.03598703816533089,
0.06336456537246704,
0.040561966598033905,
0.05028819292783737,
0.013697768561542034,
-0.018948130309581757,
-0.044416431337594986,
-0.02761167474091053,
0.02979107014834881,
-0.04131845012307167,
-0.03463617339730263,
0.022370319813489914,
-0.009852306917309761,
-0.02725144475698471,
-0.048523060977458954,
-0.033879686146974564,
-0.04052594304084778,
-0.03679755702614784,
0.021974066272377968,
0.06105908751487732,
0.014130045659840107,
-0.0010835060384124517,
0.0014859512448310852,
0.019470464438199997,
0.012202811427414417,
-0.00932997278869152,
0.02505403757095337,
0.034095827490091324,
0.008105188608169556,
0.09474064409732819,
-0.036473348736763,
0.012238834984600544,
-0.0033568989019840956,
-0.05615995079278946,
-0.048631131649017334,
0.08018732815980911,
0.038724787533283234,
0.025180118158459663,
-0.024297554045915604,
0.034311965107917786,
-0.0007716814870946109,
-0.001494957017712295,
0.02485591173171997,
0.030493520200252533,
0.05036023631691933,
-0.011716499924659729,
-0.03890490531921387,
-0.012860232032835484,
0.011914626695215702,
0.043263696134090424,
0.0390850193798542,
0.0002572271623648703,
0.01921830326318741,
0.022334296256303787,
0.09149856865406036,
-0.033321332186460495,
-0.0456412173807621,
-0.05623199790716171,
0.0027917870320379734,
-0.03494236618280411,
-0.013085376471281052,
-0.008357349783182144,
-0.05724064260721207,
-0.04106628894805908,
0.013391572050750256,
0.039877526462078094,
0.0013722534058615565,
0.003721632296219468,
-0.028007928282022476,
0.019776659086346626,
-0.007479287683963776,
-0.007267652545124292,
-0.0007953215972520411,
0.02964697778224945,
-0.001501711318269372,
0.007249640766531229,
-0.072946697473526,
0.020713258534669876,
0.008861673064529896,
0.013508647680282593,
-0.007898055948317051,
-0.04311960190534592,
0.01359870471060276,
0.010608791373670101,
-0.01010446809232235,
-0.05623199790716171,
-0.04110231250524521,
-0.05288185179233551,
-0.009987393394112587,
-0.013445607386529446,
-0.001247298438102007,
-0.024135449901223183,
0.036851588636636734,
0.053998567163944244,
0.04250720888376236,
0.006227486301213503,
-0.031141934916377068,
-0.008537464775145054,
0.013904901221394539,
-0.031484153121709824,
0.03351945802569389,
-0.03031340427696705,
-0.008195246569812298,
0.016894815489649773,
0.02953890897333622,
0.019614556804299355,
0.06084294989705086,
-0.02364913932979107,
-0.03724784404039383,
-0.029412828385829926,
0.05817724019289017,
-0.058069173246622086,
0.032438766211271286,
0.05140490457415581,
-0.0503242127597332,
-0.045821331441402435,
0.04344381019473076,
-0.03177233785390854,
0.014085016213357449,
-0.05266571417450905,
-0.008537464775145054,
0.10504323989152908,
-0.003645083401352167,
0.024351587519049644,
-0.03933718055486679,
-0.027521617710590363,
-0.00872658658772707,
-0.02235230803489685,
-0.029683001339435577,
-0.046397700905799866,
0.012157782912254333,
0.05136888474225998,
0.02640490233898163,
-0.0013587448047474027,
-0.0027805299032479525,
0.04888329282402992,
-0.01135626994073391,
0.0028210559394210577,
-0.07507205754518509,
-0.05216139182448387,
-0.012797191739082336,
0.014283142983913422,
-0.07028099149465561,
0.025558361783623695,
0.05464698001742363,
0.0008099559927359223,
-0.030385451391339302,
0.009356989525258541,
-0.01583213545382023,
0.02271253988146782,
0.016750723123550415,
-0.07064121961593628,
0.028674354776740074,
0.05778098851442337,
0.03976945951581001,
0.011365275830030441,
-0.07644093036651611,
-0.018479829654097557,
-0.02835014835000038,
0.031538188457489014,
0.025504326447844505,
-0.08587897568941116,
-0.010644813999533653,
-0.03432997688651085,
0.018191644921898842,
0.044992800801992416,
0.01817363314330578,
0.02599063701927662,
0.034311965107917786,
0.01927233673632145,
-0.039877526462078094,
0.02177594043314457,
-0.03731989115476608,
-0.0030416972003877163,
-0.00870407186448574,
0.01995677500963211,
0.030133290216326714,
0.016507567837834358,
-0.004637968726456165,
-0.04167868196964264,
-0.061347272247076035,
0.007137068547308445,
-0.012202811427414417,
-0.016327451914548874,
-0.02546830289065838,
-0.008217760361731052,
0.02835014835000038,
0.05140490457415581,
-0.030565565451979637,
0.06847983598709106,
0.003870227374136448,
-0.00013093538291286677,
0.0017707585357129574,
0.06361672282218933,
-0.028926517814397812,
-0.019920751452445984,
0.04841499403119087,
0.049675799906253815,
0.08242075890302658,
-0.016057278960943222,
0.061815571039915085,
0.03496037796139717,
0.01511167362332344,
0.0023932820186018944,
0.05716859549283981,
-0.04365994781255722,
0.09848704189062119,
0.03220461681485176,
0.028746401891112328,
-0.028872482478618622,
-0.0076819173991680145,
0.017831414937973022,
0.0017032152973115444,
-0.031754326075315475,
0.022964701056480408,
-0.0030349427834153175,
0.06574208289384842,
-0.005394453182816505,
0.02422550693154335,
0.041858796030282974,
0.00759185990318656,
0.03739193454384804,
-0.011185159906744957,
-0.053890496492385864,
0.04549712315201759,
0.03865274414420128,
-0.03658141568303108,
-0.04311960190534592,
-0.04891931638121605,
-0.04167868196964264,
0.008087176829576492,
0.010455693118274212,
-0.015570967458188534,
-0.04917147755622864,
0.036077093333005905
]
|
40,302 | pyglove.core.symbolic.base | _set_item_of_current_tree | Set a field of current tree by key path and return its parent. | def _set_item_of_current_tree(
self, path: object_utils.KeyPath, value: Any) -> Optional[FieldUpdate]:
"""Set a field of current tree by key path and return its parent."""
assert isinstance(path, object_utils.KeyPath), path
if not path:
raise KeyError(
self._error_message(
f'Root key \'$\' cannot be used in '
f'{self.__class__.__name__}.rebind. '
f'Encountered {path!r}'))
parent_node = path.parent.query(self)
if not isinstance(parent_node, Symbolic):
raise KeyError(
f'Cannot rebind key {path.key!r}: {parent_node!r} is not a '
f'symbolic type. (path=\'{path.parent}\')')
if treats_as_sealed(parent_node):
raise WritePermissionError(
f'Cannot rebind key {path.key!r} of '
f'sealed {parent_node.__class__.__name__}: {parent_node!r}. '
f'(path=\'{path.parent}\')')
return parent_node._set_item_without_permission_check(path.key, value) # pylint: disable=protected-access
| (self, path: pyglove.core.object_utils.value_location.KeyPath, value: Any) -> Optional[pyglove.core.symbolic.base.FieldUpdate] | [
0.07473153620958328,
-0.03225145861506462,
-0.0330168679356575,
0.0622067004442215,
-0.023623237386345863,
0.0037857196293771267,
0.049960192292928696,
0.021883677691221237,
0.11049690842628479,
-0.011837712489068508,
0.013899091631174088,
-0.05396118015050888,
0.03421716392040253,
0.03261676803231239,
-0.030720645561814308,
0.025780294090509415,
0.026458721607923508,
0.049647070467472076,
0.0005373612511903048,
0.026563094928860664,
0.028546195477247238,
-0.03882700204849243,
0.06954764574766159,
-0.0066755651496350765,
-0.009828519076108932,
-0.01883944496512413,
0.02751985378563404,
0.07946314662694931,
0.06843432784080505,
-0.054169926792383194,
0.007532299030572176,
-0.02108347788453102,
-0.01814362034201622,
-0.03286030516028404,
0.0431063212454319,
0.020561611279845238,
-0.05483096092939377,
0.02993784472346306,
0.02085733599960804,
-0.0441848486661911,
-0.013751229271292686,
0.011733338236808777,
-0.06645122915506363,
-0.017613055184483528,
0.04428922012448311,
0.06763412803411484,
0.03482601046562195,
0.053543686866760254,
0.0777931660413742,
0.012837959453463554,
-0.008284659124910831,
0.0029724747873842716,
-0.027624227106571198,
-0.01892642304301262,
-0.051212675869464874,
0.015847399830818176,
0.0017841372173279524,
0.024162501096725464,
0.02170972153544426,
-0.05002977326512337,
0.03166000917553902,
0.010263409465551376,
-0.03691348433494568,
-0.00727136479690671,
-0.01790008135139942,
-0.024527808651328087,
-0.008315101265907288,
-0.017656544223427773,
-0.044637132436037064,
0.02830265648663044,
-0.09769374132156372,
-0.03597411885857582,
-0.008293356746435165,
0.008075911551713943,
-0.0014057826483622193,
0.013933883048593998,
-0.013420713134109974,
0.010115547105669975,
0.022283775731921196,
-0.016308384016156197,
-0.012229113839566708,
-0.02691100724041462,
-0.019813599064946175,
-0.007971538230776787,
-0.04007948562502861,
0.08774345368146896,
0.05169975012540817,
0.024249479174613953,
0.038966163992881775,
-0.025467172265052795,
-0.013751229271292686,
-0.009080507792532444,
-0.032147087156772614,
0.04620273783802986,
0.011159283109009266,
-0.014490542933344841,
0.03117293305695057,
-0.08927426487207413,
-0.061684831976890564,
0.05065601319074631,
0.025449777022004128,
0.03202531859278679,
0.02070077508687973,
-0.005262171849608421,
0.030216174200177193,
0.016569318249821663,
0.02823307365179062,
-0.0071322000585496426,
0.04860333353281021,
-0.047803133726119995,
-0.030668459832668304,
0.0319383405148983,
-0.040044691413640976,
0.04651585966348648,
-0.014273097738623619,
0.02536279894411564,
-0.03680910915136337,
-0.047107309103012085,
0.07591444253921509,
-0.016108334064483643,
0.026650073006749153,
0.0032834212761372328,
-0.03233843669295311,
0.03580016270279884,
0.032773327082395554,
0.006701658479869366,
0.019326522946357727,
0.0051795425824820995,
-0.01705639436841011,
-0.03541745990514755,
-0.028180887922644615,
0.017717428505420685,
-0.017969664186239243,
-0.019587457180023193,
0.05420472100377083,
0.0356610007584095,
-0.00926316250115633,
-0.017934873700141907,
-0.06443333625793457,
0.021135665476322174,
-0.005340452305972576,
-0.02023109421133995,
0.02891150303184986,
-0.026006435975432396,
0.04428922012448311,
0.011759432032704353,
0.013568575493991375,
0.06297210603952408,
-0.03402581065893173,
0.004757699090987444,
-0.053369730710983276,
-0.01713467575609684,
0.062380656599998474,
0.06286773085594177,
-0.03016398660838604,
0.022910017520189285,
-0.051908500492572784,
-0.01279447041451931,
0.03611328452825546,
-0.011585475876927376,
0.0005957996472716331,
-0.033069055527448654,
0.02210981957614422,
-0.031155535951256752,
0.009828519076108932,
0.02466697432100773,
-0.05507449805736542,
-0.030651064589619637,
-0.027102360501885414,
0.04519379511475563,
0.04328027740120888,
-0.016325779259204865,
-0.07744525372982025,
0.019100379198789597,
-0.050516851246356964,
-0.018265390768647194,
0.00372048607096076,
0.024058127775788307,
0.03983594477176666,
0.011002723127603531,
0.0012807517778128386,
0.023762403056025505,
0.030981579795479774,
0.0345824733376503,
0.015482092276215553,
0.013246756978332996,
-0.019256940111517906,
0.02628476545214653,
0.05831008404493332,
0.06756454706192017,
-0.023466676473617554,
-0.002155968453735113,
0.04582003504037857,
-0.047559596598148346,
-0.02689361199736595,
0.011411519721150398,
0.0372266061604023,
-0.08085479587316513,
-0.007088711019605398,
0.1121668890118599,
-0.011211470700800419,
-0.07507944852113724,
0.051838915795087814,
0.033295195549726486,
-0.0193961039185524,
-0.0015068947104737163,
0.07093929499387741,
0.013316338881850243,
-0.005723155569285154,
0.04248007759451866,
-0.031433865427970886,
0.013151080347597599,
-0.012194322422146797,
-0.024527808651328087,
-0.021605346351861954,
-0.049125202000141144,
-0.07438362389802933,
-0.006923452485352755,
0.030738042667508125,
0.011081003583967686,
0.03280812129378319,
0.07076533883810043,
-0.010498249903321266,
-0.04248007759451866,
-0.0006583150825463235,
-0.0893438532948494,
-0.019744016230106354,
-0.035556625574827194,
-0.005836226977407932,
-0.04738564044237137,
0.030842415988445282,
-0.009297952987253666,
-0.01823059841990471,
-0.06332001835107803,
0.0006969115929678082,
-0.09324046969413757,
0.025136655196547508,
-0.04254966229200363,
-0.007645370438694954,
0.02588466741144657,
-0.009063112549483776,
-0.04032302275300026,
0.014568823389708996,
0.01729123666882515,
-0.05149100348353386,
0.008036771789193153,
-0.006392886396497488,
-0.013855602592229843,
0.010611321777105331,
0.01652582921087742,
0.03660036250948906,
-0.004218435380607843,
-0.03110335022211075,
0.04582003504037857,
0.019135169684886932,
-0.017195560038089752,
-0.02195325866341591,
-0.004046653863042593,
-0.021048687398433685,
0.014490542933344841,
-0.06481604278087616,
-0.03666994348168373,
-0.00027357315411791205,
-0.01790008135139942,
-0.040218647569417953,
0.0004604400310199708,
0.028789734467864037,
0.011524591594934464,
-0.022683875635266304,
-0.012872750870883465,
0.020996499806642532,
0.007432274054735899,
0.027972139418125153,
0.033295195549726486,
-0.01698681339621544,
-0.012490048073232174,
-0.03611328452825546,
0.06659039109945297,
-0.07076533883810043,
-0.03466945141553879,
0.009489305317401886,
-0.03045971319079399,
0.028807129710912704,
0.02924202010035515,
-0.07111325114965439,
0.0019678783137351274,
-0.009115299209952354,
0.035695791244506836,
-0.02193586342036724,
-0.00006339884566841647,
0.03924449533224106,
0.02899848110973835,
-0.04317590221762657,
0.062067534774541855,
0.019744016230106354,
0.0016623679548501968,
-0.15266387164592743,
-0.02210981957614422,
0.04595920071005821,
0.029276810586452484,
0.032303646206855774,
0.010280805639922619,
-0.05117788165807724,
0.042306121438741684,
0.09776332229375839,
0.03425195440649986,
0.023779798299074173,
0.04063614457845688,
0.0028681012336164713,
0.027119755744934082,
-0.03666994348168373,
0.01868288405239582,
-0.05107351019978523,
0.024162501096725464,
0.037330977618694305,
-0.05552678555250168,
-0.013690344989299774,
-0.04968186095356941,
-0.013655553571879864,
0.0383051335811615,
-0.05559636652469635,
-0.005557897035032511,
-0.0468289814889431,
0.0002359279606025666,
-0.019709225744009018,
0.016934625804424286,
0.05302181839942932,
0.049194782972335815,
-0.004909910727292299,
0.057718630880117416,
-0.011507195420563221,
0.007554043550044298,
0.008145494386553764,
-0.008245519362390041,
-0.004298890009522438,
0.014873245730996132,
0.0033769228029996157,
-0.034147582948207855,
-0.0002337534970138222,
0.0008926122100092471,
0.02713715098798275,
0.0014905863208696246,
-0.018856840208172798,
-0.07264406234025955,
0.018091434612870216,
0.00026963194250129163,
0.07111325114965439,
0.03442591056227684,
0.060815051198005676,
0.017613055184483528,
-0.06418979912996292,
-0.007514903321862221,
-0.013925185427069664,
-0.05145621299743652,
-0.044150058180093765,
-0.029015876352787018,
-0.028946293517947197,
-0.024684369564056396,
-0.01105490978807211,
-0.033451758325099945,
0.07431404292583466,
-0.008823922835290432,
-0.018543720245361328,
-0.011098398827016354,
-0.05187370628118515,
-0.005201287101954222,
-0.08113311976194382,
0.026249974966049194,
0.01783050037920475,
-0.024788742884993553,
0.036391615867614746,
-0.054622214287519455,
0.028946293517947197,
0.04352381452918053,
0.011698547750711441,
0.07765400409698486,
0.009167485870420933,
0.033069055527448654,
-0.038270339369773865,
-0.017308631911873817,
0.0777931660413742,
-0.028894107788801193,
0.02922462485730648,
0.004331506788730621,
0.046794191002845764,
0.0017123803263530135,
0.08948301523923874,
-0.044706717133522034,
0.024927908554673195,
-0.013707740232348442,
-0.04404568299651146,
0.018195807933807373,
0.04543733224272728,
0.019500479102134705,
0.0006936499266885221,
0.002561503555625677,
0.030111800879240036,
-0.04481108859181404,
-0.006810381077229977,
-0.008576035499572754,
0.031294699758291245,
-0.025380194187164307,
-0.030494503676891327,
-0.000923054525628686,
0.07153074443340302,
-0.015925681218504906,
-0.0020918219815939665,
0.05201287195086479,
-0.030842415988445282,
-0.017813103273510933,
0.007166991010308266,
-0.010767882689833641,
0.01581260934472084,
0.02567591890692711,
0.010515646077692509,
-0.03583495691418648,
0.046481069177389145,
-0.013629459775984287,
0.03393883258104324,
0.02969430573284626,
-0.0314512625336647,
0.023936359211802483,
-0.0643637552857399,
-0.009958986192941666,
-0.0029355091974139214,
-0.03886179253458977,
-0.0036095890682190657,
-0.039348870515823364,
0.009306651540100574,
0.07800191640853882,
-0.006484213285148144,
-0.015490789897739887,
0.0537872239947319,
0.03583495691418648,
-0.007662766147404909,
-0.03442591056227684,
0.01906558871269226,
-0.03359092026948929,
-0.015690838918089867,
0.029502954334020615,
-0.003966198768466711,
-0.010741788893938065,
-0.015377718955278397,
-0.0569184347987175,
0.005614432971924543,
-0.01318587176501751,
-0.008467312902212143,
0.06283294409513474,
0.016386663541197777,
-0.0014036082429811358,
0.03498256951570511,
-0.007458367384970188,
0.017734823748469353,
0.02466697432100773,
-0.0415407158434391,
-0.030981579795479774,
-0.06345918029546738,
-0.029433371499180794,
0.05761425942182541,
0.03680910915136337,
-0.03063366748392582,
0.04185383766889572,
0.0579969622194767,
-0.014673196710646152,
0.003650903468951583,
0.02085733599960804,
0.016169218346476555,
0.01271619088947773,
0.0049186088144779205,
-0.058797162026166916,
-0.008284659124910831,
-0.055318038910627365,
-0.07410530000925064,
-0.004392391536384821,
0.014081746339797974,
-0.04324548691511154,
0.0007904130034148693,
-0.026702260598540306,
-0.06923452764749527,
-0.058031752705574036,
-0.010376481339335442,
-0.023675424978137016,
0.040740516036748886,
-0.022753456607460976,
-0.008815225213766098,
-0.039975110441446304,
0.0019004703499376774,
0.04495025426149368,
-0.0032508044969290495,
-0.002628911519423127,
0.01769133470952511,
-0.01976141333580017,
-0.055944278836250305,
0.03750493377447128,
-0.004216260742396116,
-0.01758696138858795,
-0.029276810586452484,
0.0019678783137351274,
0.005053424742072821,
-0.03374748304486275,
-0.011950783431529999,
-0.03736576810479164,
0.01843934692442417,
0.03181656822562218,
0.016708482056856155,
0.02466697432100773,
-0.022962205111980438,
-0.005623130593448877,
0.03677431866526604,
-0.014499240554869175,
0.035226110368967056,
-0.010759184136986732,
0.007088711019605398,
0.00441848486661911,
0.003026836086064577,
0.023049183189868927,
-0.015229856595396996,
0.03294728323817253,
-0.005140402819961309,
-0.041505925357341766,
-0.023014390841126442,
-0.03809638321399689,
0.05604865401983261,
-0.0527086965739727,
-0.005540501791983843,
-0.02124003879725933,
-0.012185624800622463,
0.0002951817587018013,
0.028494007885456085,
0.00034682496334426105,
-0.006614680401980877,
0.020057138055562973,
0.01955266483128071,
0.05827529355883598,
0.031903546303510666,
0.030146591365337372,
0.019639642909169197,
-0.012037761509418488,
-0.08774345368146896,
-0.04254966229200363,
-0.00848470814526081,
0.02030067704617977,
-0.02464957907795906,
-0.02666747011244297,
0.05364805832505226,
-0.02063119225203991,
-0.02511925995349884,
-0.0415407158434391,
0.00907181017100811,
-0.03959240764379501,
-0.050516851246356964,
-0.043767355382442474,
0.044393595308065414,
0.027554646134376526,
-0.012011668644845486,
0.009819821454584599,
-0.003450853982940316,
0.016795460134744644,
0.013664251193404198,
-0.009567584842443466,
-0.013272849842905998,
0.005988438613712788,
0.039279285818338394,
0.03176438435912132,
0.07855857163667679,
-0.04804667457938194,
-0.050516851246356964,
0.008515151217579842,
0.08649097383022308,
0.018595905974507332,
0.004557649604976177,
0.004831630736589432,
0.04282798990607262,
-0.012081250548362732,
0.02141399495303631,
-0.010654810816049576,
-0.03200792148709297,
0.014142630621790886,
-0.027311107143759727,
-0.02263168804347515,
0.01814362034201622,
0.003407364943996072,
0.051143091171979904,
0.043767355382442474,
-0.00833684578537941,
-0.014247003942728043,
0.027954744175076485,
0.10346908867359161,
-0.05023851990699768,
0.0072496202774345875,
-0.04227133095264435,
-0.02821567840874195,
-0.0022038063034415245,
0.012707492336630821,
0.04582003504037857,
-0.02844182215631008,
-0.049647070467472076,
-0.03712223097681999,
0.04651585966348648,
-0.03543485701084137,
-0.0156734436750412,
-0.0314512625336647,
-0.0162127073854208,
0.0231187641620636,
-0.043141111731529236,
-0.02985086664557457,
0.022057631984353065,
-0.005057773552834988,
0.014768872410058975,
-0.001399259315803647,
0.035313088446855545,
0.017195560038089752,
0.033851854503154755,
0.0626937747001648,
-0.05963214859366417,
-0.014951526187360287,
0.005466570146381855,
0.010924442671239376,
-0.05236078426241875,
-0.040914472192525864,
-0.06892140209674835,
-0.010593926534056664,
-0.027032777667045593,
-0.043697770684957504,
-0.01969183050096035,
-0.03178177773952484,
0.05490054190158844,
-0.030877206474542618,
-0.01364685595035553,
0.0027898207772523165,
0.021222643554210663,
-0.055874697864055634,
-0.04529816657304764,
0.028598381206393242,
-0.007745394948869944,
-0.0010529779829084873,
-0.0042532263323664665,
-0.010089453309774399,
-0.011098398827016354,
0.050829969346523285,
-0.021918468177318573,
-0.003657426917925477,
-0.04331506788730621,
0.018717676401138306,
-0.023223139345645905,
0.0090370187535882,
-0.002818088745698333,
-0.061754412949085236,
-0.0361480750143528,
0.025867272168397903,
-0.04543733224272728,
-0.004364123567938805,
-0.04456755146384239,
-0.011489800177514553,
0.07514902949333191,
0.023066578432917595,
0.0367395281791687,
-0.025936853140592575,
-0.04557649791240692,
0.017952268943190575,
-0.029903052374720573,
-0.024371249601244926,
-0.0018406729213893414,
0.006201534997671843,
0.018178412690758705,
0.012037761509418488,
0.011724640615284443,
-0.0062145814299583435,
0.026267370209097862,
0.029729096218943596,
-0.0036900436971336603,
-0.07960230857133865,
-0.08475141227245331,
0.014899339526891708,
-0.019900577142834663,
-0.08196811378002167,
0.06300690025091171,
0.010332992300391197,
0.01984838955104351,
-0.00202550133690238,
-0.040218647569417953,
0.025989040732383728,
-0.025101864710450172,
0.07285281270742416,
-0.004085793625563383,
0.04501983895897865,
0.05730113759636879,
0.05274348706007004,
0.051908500492572784,
-0.06192836910486221,
-0.009402327239513397,
-0.0553528293967247,
0.0027137151919305325,
0.025867272168397903,
-0.06954764574766159,
-0.038409505039453506,
0.0014036082429811358,
-0.00641463091596961,
-0.03618286922574043,
0.03176438435912132,
0.05117788165807724,
0.03200792148709297,
0.04171467199921608,
-0.06714705377817154,
0.011046212166547775,
-0.029572535306215286,
-0.026493513956665993,
0.022910017520189285,
-0.024092918261885643,
0.019500479102134705,
0.02023109421133995,
0.01123756356537342,
0.0030529294162988663,
-0.04561128839850426,
0.0367395281791687,
0.036391615867614746,
-0.011707245372235775,
-0.016612807288765907,
-0.05566595122218132,
-0.0009882880840450525,
-0.015429905615746975,
0.005992787424474955,
0.03292988985776901,
-0.03209489956498146,
0.05837966501712799,
-0.00548396585509181,
0.071322001516819,
-0.028093909844756126,
-0.003233409021049738,
0.03258197754621506,
0.007623625919222832,
0.03635682538151741,
0.0021092176903039217,
-0.05980610474944115,
0.06196315959095955,
-0.047733552753925323,
-0.01588219217956066,
0.012281300500035286,
-0.005014284513890743,
0.06989555805921555,
0.031503450125455856,
0.04147113487124443,
-0.03479121997952461,
0.0006610331474803388,
-0.025067074224352837,
-0.024301666766405106,
-0.03931407630443573,
0.026858821511268616,
-0.02435385249555111,
0.014020861126482487,
0.030494503676891327,
0.026632677763700485,
0.01745649427175522,
0.028024327009916306,
0.0378180555999279,
-0.030424920842051506,
-0.02558894082903862,
0.03402581065893173,
0.061615247279405594,
0.02644132636487484,
-0.019830994307994843,
-0.018595905974507332,
-0.0023549306206405163,
0.014281795360147953,
0.022196797654032707,
0.018334971740841866,
-0.0426192432641983,
0.037574514746665955
]
|
40,303 | pyglove.core.symbolic.object | _set_item_without_permission_check | Set item without permission check. | def _set_item_without_permission_check( # pytype: disable=signature-mismatch # overriding-parameter-type-checks
self, key: str, value: Any) -> Optional[base.FieldUpdate]:
"""Set item without permission check."""
return self._sym_attributes._set_item_without_permission_check(key, value) # pylint: disable=protected-access
| (self, key: str, value: Any) -> Optional[pyglove.core.symbolic.base.FieldUpdate] | [
0.06239903345704079,
0.00028658314840868115,
-0.01675594411790371,
0.07231421023607254,
-0.0298856683075428,
-0.06937118619680405,
0.033336710184812546,
0.023894520476460457,
0.08906139433383942,
-0.032653506845235825,
0.015731142833828926,
0.012735568918287754,
0.02559376321732998,
0.025120778009295464,
-0.00933708157390356,
0.02128434181213379,
-0.023474087938666344,
0.04565184563398361,
0.04302414879202843,
-0.034790702164173126,
0.020093118771910667,
0.03437026962637901,
0.005942973308265209,
0.027818545699119568,
0.009074311703443527,
0.016720907762646675,
0.028466710820794106,
0.05668817088007927,
0.06387054175138474,
-0.02286095917224884,
0.022755851969122887,
0.022685779258608818,
0.06141802668571472,
0.006578000262379646,
0.0298856683075428,
-0.0040378933772444725,
-0.042078178375959396,
0.07385578751564026,
-0.06632305681705475,
-0.055882345885038376,
-0.0017342796782031655,
0.014539920724928379,
0.041517604142427444,
-0.03459800407290459,
0.03997602313756943,
0.04750875383615494,
0.006634933408349752,
0.09536786377429962,
0.013550154864788055,
0.015634793788194656,
-0.024104734882712364,
0.08184398710727692,
0.03703300282359123,
0.03668264299631119,
-0.06243406981229782,
0.004326940048485994,
0.0037181905936449766,
0.030060848221182823,
0.03465055674314499,
0.01348884217441082,
0.0005715239676646888,
0.05451594293117523,
-0.03857458382844925,
-0.11926238238811493,
0.004572191741317511,
-0.019427435472607613,
-0.03204037994146347,
0.015520927496254444,
-0.009897656738758087,
0.05647795647382736,
-0.053429827094078064,
-0.0422883965075016,
-0.013637744821608067,
0.043479617685079575,
0.015082977712154388,
-0.008798403665423393,
0.007221785839647055,
0.01580997370183468,
0.028536783531308174,
-0.027450669556856155,
0.04530148580670357,
0.009240732528269291,
0.014785172417759895,
0.018604090437293053,
-0.07171859592199326,
0.06330996751785278,
0.04344458132982254,
-0.006989672780036926,
0.030866675078868866,
-0.0028619994409382343,
-0.04656277969479561,
-0.0075458684004843235,
-0.02767840214073658,
-0.012297619134187698,
0.04933062195777893,
0.0390300527215004,
0.019672688096761703,
-0.0701419785618782,
-0.07017701119184494,
0.02053106762468815,
0.026767468079924583,
-0.02286095917224884,
0.0814235508441925,
-0.010685965418815613,
0.02925502136349678,
-0.026679879054427147,
0.035106025636196136,
-0.03361699730157852,
-0.013961827382445335,
-0.027135346084833145,
0.01279688160866499,
0.028676927089691162,
-0.027888618409633636,
0.03242577612400055,
-0.020040564239025116,
0.06436104327440262,
-0.069931760430336,
-0.08787017315626144,
0.06401068717241287,
0.006367784459143877,
0.004602848086506128,
-0.001421145861968398,
-0.04260371997952461,
-0.013874237425625324,
0.05553198605775833,
-0.017115062102675438,
-0.028484228998422623,
0.04628249257802963,
0.07763966917991638,
0.006293333135545254,
-0.08310528099536896,
-0.028361603617668152,
-0.005382398143410683,
0.028256496414542198,
-0.008377972058951855,
0.0024634653236716986,
0.030481278896331787,
0.007738566026091576,
-0.012429004535079002,
0.01279688160866499,
-0.02242301031947136,
-0.020285816863179207,
0.05111745372414589,
0.029552826657891273,
0.03797897323966026,
-0.01799096167087555,
-0.049365658313035965,
0.052974361926317215,
0.0006355741061270237,
-0.02843167632818222,
-0.044810984283685684,
0.023088693618774414,
-0.03083163872361183,
0.02818642370402813,
-0.01693112403154373,
0.09123361855745316,
-0.019672688096761703,
-0.018639126792550087,
0.017036231234669685,
0.007392586208879948,
0.000585209927521646,
-0.013970586471259594,
0.017903372645378113,
-0.023859484121203423,
0.022966066375374794,
0.010396919213235378,
-0.0018897517584264278,
-0.036822784692049026,
0.041202280670404434,
0.04365479573607445,
0.0035627183970063925,
0.012490317225456238,
0.011605659499764442,
-0.006989672780036926,
0.037908900529146194,
0.03906508907675743,
0.008237828500568867,
-0.04712335765361786,
0.015827491879463196,
0.00696777505800128,
-0.007834915071725845,
-0.0020616468973457813,
0.027433151379227638,
0.008018854074180126,
0.038714729249477386,
0.027818545699119568,
-0.02196754328906536,
0.015179326757788658,
-0.009853861294686794,
0.06930111348628998,
-0.0076860119588673115,
-0.01215747557580471,
0.02692512981593609,
-0.03843444213271141,
-0.039800841361284256,
-0.012297619134187698,
0.008754609152674675,
-0.031374696642160416,
-0.02203761413693428,
0.008080166764557362,
-0.005075833760201931,
-0.04922551289200783,
0.04354969039559364,
0.0832454264163971,
-0.07122809439897537,
0.008526874706149101,
0.04463580250740051,
0.008377972058951855,
-0.005487506277859211,
0.02179236337542534,
0.002417480805888772,
0.03146228566765785,
-0.017053749412298203,
-0.019777795299887657,
0.017202652990818024,
-0.05136270821094513,
-0.0035145441070199013,
0.0034707491286098957,
-0.05010141432285309,
0.05693342164158821,
-0.0059823887422680855,
0.006043701898306608,
0.0011222453322261572,
-0.04862990230321884,
0.06131291761994362,
0.03216300532221794,
0.0009985247161239386,
-0.013234831392765045,
-0.030253544449806213,
0.036752715706825256,
0.00508459284901619,
0.024735381826758385,
-0.015065459534525871,
-0.0024152910336852074,
-0.027275489643216133,
-0.09683937579393387,
0.012998338788747787,
-0.09298542141914368,
-0.02356167882680893,
0.007637837901711464,
0.008789644576609135,
-0.027380596846342087,
0.006455374415963888,
0.1010436862707138,
-0.02380692958831787,
0.026312001049518585,
-0.005868521984666586,
0.023404017090797424,
0.014793931506574154,
-0.020548585802316666,
0.06050708889961243,
0.0278010293841362,
-0.05321961268782616,
0.04617738723754883,
0.018831824883818626,
-0.03242577612400055,
-0.04628249257802963,
-0.010642170906066895,
0.013734093867242336,
0.0030393688939511776,
-0.04901529848575592,
-0.0007133100880309939,
-0.03146228566765785,
-0.049295585602521896,
0.005277290474623442,
-0.02690761163830757,
0.047543786466121674,
0.06330996751785278,
-0.02457772009074688,
0.07567765563726425,
-0.036192137748003006,
-0.05998155102133751,
0.06110270321369171,
0.00007109835132723674,
-0.0226157084107399,
0.03261847048997879,
0.021704772487282753,
0.018323803320527077,
0.01608150266110897,
-0.013418770395219326,
0.07862067967653275,
-0.012937025167047977,
0.053359758108854294,
0.0701419785618782,
-0.041517604142427444,
-0.027836063876748085,
0.018061034381389618,
0.039240267127752304,
-0.0318126454949379,
-0.005443711299449205,
0.02019822597503662,
0.034668076783418655,
-0.006740041542798281,
0.03990595042705536,
0.003626221092417836,
-0.004883136134594679,
-0.059175726026296616,
-0.02862437441945076,
0.05840493366122246,
0.0042743864469230175,
-0.018393876031041145,
0.06751427799463272,
-0.07834038883447647,
0.00300871254876256,
0.11085375398397446,
-0.003709431504830718,
0.022265348583459854,
0.026189375668764114,
-0.023579197004437447,
0.05420061945915222,
-0.0076159401796758175,
-0.001545961364172399,
-0.02925502136349678,
0.025313476100564003,
0.05647795647382736,
0.010502027347683907,
0.02925502136349678,
0.037908900529146194,
0.014355981722474098,
0.0710529088973999,
-0.008474321104586124,
-0.03773372247815132,
-0.07385578751564026,
0.020741283893585205,
-0.032320667058229446,
-0.046702925115823746,
0.03077908419072628,
-0.002166754798963666,
-0.02862437441945076,
0.0433044396340847,
0.004786787088960409,
0.010274292901158333,
-0.0051897005178034306,
-0.020741283893585205,
-0.0535699725151062,
0.03242577612400055,
-0.010528303682804108,
-0.04642263799905777,
0.05080213025212288,
0.011772080324590206,
-0.015696106478571892,
0.02571638859808445,
0.00840424932539463,
-0.03829429671168327,
-0.000546615628991276,
-0.036262210458517075,
0.030744047835469246,
0.02361423149704933,
0.02673243172466755,
0.011991054750978947,
0.02279088646173477,
0.0040378933772444725,
0.002012377604842186,
-0.01228886004537344,
0.055882345885038376,
-0.05269407480955124,
-0.03223307803273201,
0.004922551568597555,
-0.006179466377943754,
-0.0433044396340847,
0.07848053425550461,
0.017307760193943977,
0.020285816863179207,
0.008951686322689056,
-0.01342752855271101,
-0.029079841449856758,
-0.022825922816991806,
-0.06215377897024155,
0.024420058354735374,
-0.04547666758298874,
-0.01823621429502964,
-0.07553751766681671,
-0.022685779258608818,
-0.002982435515150428,
0.0241397712379694,
0.0483846515417099,
-0.02198505960404873,
0.05858011171221733,
-0.06288953870534897,
-0.0010565529810264707,
0.046772997826337814,
-0.03274109959602356,
-0.015696106478571892,
0.036262210458517075,
0.03741839900612831,
0.013882996514439583,
-0.003832057351246476,
0.006888944189995527,
0.02450764924287796,
-0.0003268197469878942,
0.014452330768108368,
0.008321038447320461,
-0.03361699730157852,
0.0002555161190684885,
-0.009626127779483795,
0.019409917294979095,
-0.04887515306472778,
-0.048034291714429855,
-0.02053106762468815,
-0.01983034983277321,
0.007646596524864435,
-0.001851431094110012,
-0.0303411353379488,
-0.014399776235222816,
0.0064947898499667645,
0.028221460059285164,
-0.058159682899713516,
0.03920523077249527,
-0.02356167882680893,
-0.013059651479125023,
0.032005343586206436,
-0.00969619955867529,
0.03356444463133812,
-0.02722293511033058,
0.029500272125005722,
-0.02971048839390278,
0.018831824883818626,
-0.04239350184798241,
0.005540059879422188,
-0.0022970447316765785,
0.006135671399533749,
0.0009842913132160902,
-0.02971048839390278,
-0.006696246564388275,
-0.02387700229883194,
-0.023263873532414436,
0.02089894562959671,
-0.04547666758298874,
0.009582333266735077,
0.04989119619131088,
0.007226165384054184,
-0.0107998326420784,
0.008618844673037529,
0.04705328494310379,
-0.034230124205350876,
-0.016099020838737488,
0.007484555244445801,
-0.06401068717241287,
-0.04593213275074959,
0.018761752173304558,
-0.07588787376880646,
-0.0421832874417305,
0.00633274856954813,
-0.003921837080270052,
0.016545727849006653,
0.040501561015844345,
-0.04855982959270477,
0.082544706761837,
0.07252442091703415,
0.00435321731492877,
0.04039645195007324,
0.06702377647161484,
0.03375713899731636,
-0.004232781007885933,
-0.04099206626415253,
-0.05118752643465996,
-0.06639312952756882,
-0.05371011421084404,
0.013874237425625324,
-0.006056840531527996,
-0.004624745808541775,
0.02482297271490097,
-0.08009219169616699,
-0.059175726026296616,
0.01736031472682953,
0.06390558183193207,
0.025891568511724472,
-0.004488981328904629,
-0.014671305194497108,
0.007633458357304335,
-0.012201271019876003,
-0.06544715911149979,
0.04820946976542473,
0.005237875040620565,
-0.04750875383615494,
0.004611607175320387,
0.035614047199487686,
-0.010992529802024364,
-0.00519408006221056,
-0.03640235587954521,
0.009810066781938076,
0.016790980473160744,
-0.017053749412298203,
0.022142721340060234,
-0.00498824380338192,
-0.0618034191429615,
-0.02692512981593609,
-0.0036875340156257153,
0.012674256227910519,
0.030673976987600327,
0.010615893639624119,
-0.03724321722984314,
0.001003451645374298,
0.016239164397120476,
0.011421720497310162,
-0.04551170393824577,
-0.042533647269010544,
-0.009521020576357841,
0.03279365226626396,
-0.025120778009295464,
-0.03286372497677803,
-0.009240732528269291,
-0.0011802737135440111,
-0.02685505710542202,
0.016291718930006027,
-0.036507461220026016,
-0.061838455498218536,
-0.002303613815456629,
0.00779112009331584,
-0.03706803917884827,
0.031199516728520393,
-0.01944495365023613,
0.08065276592969894,
-0.02152959257364273,
0.03368707001209259,
0.005548818968236446,
-0.02133689448237419,
-0.0007012665155343711,
0.00014069124881643802,
-0.03552645444869995,
0.03515857830643654,
-0.040046095848083496,
0.014426053501665592,
-0.06001658737659454,
-0.0067225233651697636,
-0.0688106119632721,
-0.0381191149353981,
-0.028729481622576714,
0.021809881553053856,
-0.05942097678780556,
-0.007313755340874195,
0.008413008414208889,
0.009004239924252033,
-0.024017145857214928,
0.03521113097667694,
0.02317628264427185,
0.02944771759212017,
0.03664760664105415,
-0.04761385917663574,
0.01738659106194973,
0.039870914071798325,
0.033529408276081085,
0.026960166171193123,
-0.04365479573607445,
-0.023158764466643333,
-0.006805733777582645,
-0.07834038883447647,
0.014671305194497108,
-0.003978770226240158,
-0.027958691120147705,
-0.0895518958568573,
0.019427435472607613,
0.016694631427526474,
-0.024174807593226433,
0.02145952172577381,
-0.026294482871890068,
0.01047575008124113,
0.025926604866981506,
-0.009310804307460785,
0.04260371997952461,
-0.02046099677681923,
-0.04239350184798241,
0.03994098678231239,
-0.04603724181652069,
0.010431954637169838,
-0.02053106762468815,
-0.02279088646173477,
-0.019217221066355705,
0.04519638046622276,
-0.01590632274746895,
-0.019304810091853142,
-0.021371930837631226,
-0.003455420956015587,
0.03591185063123703,
-0.026487180963158607,
-0.029587863013148308,
0.010370641946792603,
-0.018726717680692673,
-0.06274939328432083,
-0.047648895531892776,
-0.0012810020707547665,
0.02564631775021553,
0.0056714448146522045,
-0.016291718930006027,
-0.005010141059756279,
-0.05080213025212288,
0.039485517889261246,
0.022650742903351784,
-0.051783137023448944,
0.001102537615224719,
-0.02538354881107807,
0.005312326364219189,
0.02545361965894699,
-0.036577533930540085,
0.012166234664618969,
0.02576894313097,
-0.021319378167390823,
-0.04039645195007324,
-0.01339249312877655,
0.05952608585357666,
0.02811635285615921,
0.02140696719288826,
0.021897470578551292,
0.011176468804478645,
0.013085928745567799,
0.0002802876115310937,
-0.028414158150553703,
-0.0118421521037817,
-0.021196750923991203,
-0.03825926035642624,
-0.008487459272146225,
0.010204221121966839,
0.012262583710253239,
0.04621242359280586,
0.008772126398980618,
-0.02811635285615921,
0.004764889366924763,
0.0211441982537508,
-0.006621795240789652,
-0.049435731023550034,
-0.07483679801225662,
0.0030809741001576185,
-0.06937118619680405,
-0.023018620908260345,
-0.040886957198381424,
-0.04365479573607445,
0.025155814364552498,
0.029272539541125298,
-0.035946886986494064,
-0.012192511931061745,
-0.01685229316353798,
-0.013664022088050842,
0.013217313215136528,
0.06239903345704079,
0.027328044176101685,
0.027450669556856155,
-0.019742758944630623,
0.02533099427819252,
0.036752715706825256,
0.07504700869321823,
0.0597713366150856,
-0.017955925315618515,
0.00274594291113317,
0.027643367648124695,
-0.0596662275493145,
0.04705328494310379,
-0.010659689083695412,
-0.02710030972957611,
-0.04155264049768448,
0.00811082310974598,
-0.08576801419258118,
-0.04130738973617554,
-0.020058082416653633,
-0.05794946476817131,
0.039170194417238235,
-0.013094687834382057,
-0.03349437192082405,
-0.06737414002418518,
-0.027205416932702065,
-0.06614787876605988,
-0.04453069716691971,
-0.01767563819885254,
-0.012718050740659237,
0.03983587771654129,
0.024174807593226433,
0.0007598422234877944,
-0.007011570036411285,
-0.040816884487867355,
0.04291904345154762,
0.021862434223294258,
0.035614047199487686,
-0.013112205080688,
-0.05889543518424034,
0.02855430170893669,
0.001028633676469326,
-0.02957034483551979,
0.040816884487867355,
0.008456802926957607,
0.0340023934841156,
0.028974732384085655,
-0.02976304292678833,
-0.02673243172466755,
-0.02135441266000271,
0.027468187734484673,
-0.011920982971787453,
0.031199516728520393,
0.0037050519604235888,
0.012726809829473495,
-0.006775077432394028,
-0.07897103577852249,
0.013147241435945034,
-0.07336528599262238,
-0.027695920318365097,
0.0010713337687775493,
-0.009477225132286549,
-0.07392586022615433,
-0.02196754328906536,
0.01165821310132742,
0.04225336015224457,
0.07883089035749435,
0.01016042660921812,
0.0019871953409165144,
-0.0015711435116827488,
-0.02951779030263424,
-0.005180941428989172,
-0.027520740404725075,
-0.043479617685079575,
0.002713096560910344,
0.002851050579920411,
-0.006910841912031174,
-0.00006579505861736834,
0.006669969763606787,
-0.024928079918026924,
-0.06846024841070175,
0.00311819976195693,
-0.005767793860286474,
-0.04435551539063454,
-0.060121696442365646,
-0.000954729737713933,
-0.01276184618473053,
-0.005815968383103609,
0.018078552559018135,
-0.026767468079924583,
-0.03007836639881134,
0.03668264299631119,
-0.032653506845235825,
-0.03836436942219734,
-0.07728931307792664,
0.017938407137989998,
0.036752715706825256,
0.08892124891281128,
0.03345933556556702,
-0.010344364680349827,
-0.013664022088050842,
0.09424671530723572,
-0.007011570036411285,
-0.0442153736948967,
0.012849436141550541,
-0.008540013805031776,
0.059175726026296616,
0.026644842699170113,
0.04673796147108078,
-0.0070641241036355495,
0.00034762235009111464,
-0.018201177939772606,
0.028834588825702667,
-0.04351465404033661,
0.04488105699419975,
0.023404017090797424,
0.00509773101657629,
0.023071175441145897,
0.016186609864234924,
-0.004066360183060169,
0.07721924036741257,
0.10041303932666779,
-0.03228563070297241,
-0.003659067442640662,
0.08443664759397507,
0.02710030972957611,
0.008031992241740227,
-0.031690020114183426,
0.0411672443151474,
-0.003413815749809146,
0.0019291671924293041,
-0.015477132052183151,
0.012358932755887508,
-0.012201271019876003,
0.024052182212471962
]
|
40,304 | pyglove.core.symbolic.base | _set_raw_attr | Set raw property without trigger __setattr__. | def _set_raw_attr(self, name: str, value: Any) -> 'Symbolic':
"""Set raw property without trigger __setattr__."""
# `object.__setattr__` adds a property to the instance without side effects.
object.__setattr__(self, name, value)
return self
| (self, name: str, value: Any) -> pyglove.core.symbolic.base.Symbolic | [
0.038888853043317795,
-0.03317093104124069,
0.06690141558647156,
0.06109606474637985,
-0.03154473379254341,
-0.010194335132837296,
-0.011549499817192554,
0.03107261285185814,
0.04462425783276558,
0.0038316186983138323,
-0.02238207310438156,
0.017791999503970146,
0.037315111607313156,
0.07022375613451004,
-0.024830112233757973,
0.04546358808875084,
-0.009285063482820988,
0.035741373896598816,
-0.00814847368746996,
-0.018028059974312782,
0.017774512991309166,
0.04553353041410446,
-0.009914559312164783,
-0.004651274532079697,
0.024620281532406807,
0.03477964550256729,
-0.019724201411008835,
0.05182848870754242,
-0.015256530605256557,
-0.08477210253477097,
-0.008734254166483879,
-0.016157058998942375,
0.04074236750602722,
-0.010570283979177475,
0.10141877084970474,
-0.06025673821568489,
-0.04899575561285019,
0.03150976449251175,
-0.061585672199726105,
-0.04035767540335655,
0.01995152048766613,
0.02079084701836109,
-0.05214323475956917,
-0.027033347636461258,
0.001970452954992652,
0.01916464976966381,
0.02159520424902439,
0.07833725959062576,
0.055605463683605194,
-0.0028939321637153625,
-0.00049889727961272,
0.06228511407971382,
0.010788858868181705,
0.029988480731844902,
-0.022941624745726585,
0.020930735394358635,
-0.012712318450212479,
0.04980011284351349,
0.010412910021841526,
0.023745980113744736,
-0.026578711345791817,
0.020511072129011154,
-0.008817313238978386,
-0.11589717119932175,
-0.005853436887264252,
-0.06651672720909119,
-0.024462906643748283,
0.043330296874046326,
-0.003477527294307947,
0.005538688972592354,
-0.026963403448462486,
-0.022976597771048546,
0.00027458477416075766,
-0.002127826912328601,
-0.004751819185912609,
-0.0009267576970160007,
-0.059627242386341095,
-0.005923380609601736,
0.015448876656591892,
-0.04420459643006325,
0.01594722643494606,
0.046862464398145676,
0.0032021228689700365,
0.003704845206812024,
-0.08791958540678024,
0.033328305929899216,
-0.028414741158485413,
-0.004229424986988306,
0.0016447764355689287,
-0.02827485278248787,
0.020983193069696426,
0.09617297351360321,
-0.0176083967089653,
0.050079889595508575,
-0.00029097788501530886,
-0.00224039307795465,
0.04144180938601494,
-0.023046541959047318,
0.022242184728384018,
-0.008117873221635818,
-0.024987487122416496,
0.005320114083588123,
-0.00727417366579175,
-0.00293327565304935,
0.012808491475880146,
0.009967016987502575,
0.026403851807117462,
-0.062040310353040695,
0.012651117518544197,
-0.011033662594854832,
0.023815924301743507,
0.03026825748383999,
-0.041686613112688065,
0.0016677267849445343,
0.009022773243486881,
0.013709019869565964,
0.019356995820999146,
-0.05955730006098747,
0.055640436708927155,
0.0017387636471539736,
0.01911219209432602,
0.00559551827609539,
-0.003175893798470497,
0.030792836099863052,
0.021455315873026848,
0.058053500950336456,
0.044099677354097366,
0.01998649165034294,
0.06263483315706253,
0.0020349326077848673,
-0.032104287296533585,
-0.014714464545249939,
0.017774512991309166,
0.05329731106758118,
0.05221318081021309,
0.017337363213300705,
0.010727657936513424,
0.028991779312491417,
0.016078371554613113,
-0.022609392181038857,
0.002828359603881836,
-0.026159048080444336,
0.04056750610470772,
-0.025249777361750603,
0.0022994084283709526,
0.009424950927495956,
-0.012834720313549042,
0.06637683510780334,
-0.03025077097117901,
-0.045673418790102005,
-0.023221401497721672,
0.02152526006102562,
0.014049996621906757,
0.06406868249177933,
-0.021822521463036537,
0.08113501220941544,
-0.05630490183830261,
-0.012257682159543037,
0.021717606112360954,
0.03654572740197182,
-0.030408145859837532,
-0.01709255948662758,
-0.0271732360124588,
-0.08183445781469345,
-0.0004609198949765414,
-0.0039518349803984165,
-0.002983547979965806,
-0.08987801522016525,
0.0009130967664532363,
0.01195167750120163,
0.008402020670473576,
-0.06155070289969444,
0.025599496439099312,
0.08064540475606918,
0.048855870962142944,
0.03738505765795708,
0.00858562346547842,
-0.0014535232912749052,
-0.03311847522854805,
-0.00994078814983368,
0.015107899904251099,
-0.008235903456807137,
-0.03194691240787506,
-0.03303104266524315,
0.052492957562208176,
-0.006968169007450342,
-0.014696978963911533,
0.0064567034132778645,
0.03693041950464249,
0.07050353288650513,
0.06826532632112503,
0.015011726878583431,
0.003451298223808408,
0.01869252882897854,
0.007151771802455187,
-0.05056949704885483,
0.015212815254926682,
-0.028204910457134247,
-0.00820093136280775,
0.059207577258348465,
-0.014522118493914604,
0.03696539252996445,
-0.0034993847366422415,
0.049625251442193985,
0.006076383404433727,
-0.05696937069296837,
0.026596197858452797,
0.0007311331573873758,
-0.034447409212589264,
-0.022084811702370644,
0.011654415167868137,
0.005901523400098085,
0.01300083752721548,
0.007540835067629814,
0.03313596174120903,
0.01313198171555996,
-0.002367166569456458,
-0.00040572971920482814,
0.039273545145988464,
0.03857410326600075,
0.05305250734090805,
0.03143981844186783,
-0.018098004162311554,
-0.04675754904747009,
0.014696978963911533,
-0.022259671241044998,
-0.03395780175924301,
-0.06798554956912994,
-0.041266947984695435,
0.002187935169786215,
0.01675158366560936,
0.00529388478025794,
-0.009591068141162395,
0.0188149306923151,
-0.016620438545942307,
0.009975760243833065,
0.057983558624982834,
0.022556932643055916,
-0.07095816731452942,
0.016917699947953224,
-0.03437746688723564,
-0.008117873221635818,
-0.0039518349803984165,
0.015081670135259628,
-0.05466121807694435,
0.027383068576455116,
0.0054031722247600555,
0.07840719819068909,
-0.002738744020462036,
-0.011934191919863224,
0.05780869722366333,
-0.006072011776268482,
-0.040532536804676056,
0.03700036555528641,
0.01638437621295452,
-0.014522118493914604,
-0.05539563298225403,
0.007859954610466957,
0.01711878925561905,
-0.0041463663801550865,
-0.03672058880329132,
-0.00017144471348728985,
0.0005885130376555026,
-0.007042484357953072,
0.050044916570186615,
-0.011077377945184708,
-0.003477527294307947,
0.052073292434215546,
-0.07484006136655807,
0.0010568097932264209,
-0.009503638371825218,
-0.043260350823402405,
-0.015413904562592506,
0.03581131622195244,
-0.03783969208598137,
-0.03198188543319702,
-0.008231531828641891,
0.00244366773404181,
-0.017652111127972603,
-0.03477964550256729,
0.03112507052719593,
-0.008052300661802292,
0.08246394991874695,
0.020073922351002693,
-0.024148158729076385,
-0.0009934230474755168,
0.0023759095929563046,
0.04077734053134918,
-0.02241704612970352,
-0.06032668054103851,
0.036860477179288864,
0.029831107705831528,
-0.0018720943480730057,
-0.0031343644950538874,
0.10078927129507065,
-0.02907921001315117,
-0.09568336606025696,
-0.0022065138909965754,
-0.0028196165803819895,
-0.02591424435377121,
0.016935186460614204,
-0.004734333138912916,
-0.01797560229897499,
0.0631943866610527,
0.013184440322220325,
-0.05137385427951813,
0.012825977057218552,
0.028589600697159767,
-0.010307993739843369,
0.014084968715906143,
0.061270926147699356,
0.06980409473180771,
-0.0501498319208622,
0.04497397691011429,
0.08533165603876114,
-0.0017901287646964192,
0.00976592767983675,
-0.02951635979115963,
0.03707030788064003,
0.0668664425611496,
-0.018430238589644432,
-0.08302350342273712,
-0.034884560853242874,
-0.01098994817584753,
-0.020213810727000237,
-0.00918014720082283,
0.007977984845638275,
-0.006552876438945532,
-0.029289040714502335,
-0.01196042075753212,
-0.03818941116333008,
-0.015282759442925453,
0.020825820043683052,
0.006155070383101702,
-0.020860791206359863,
-0.019864089787006378,
-0.014714464545249939,
-0.019759174436330795,
-0.02066844515502453,
-0.05189843103289604,
0.020546043291687965,
0.11393874138593674,
0.006670907139778137,
-0.05025474727153778,
-0.03301355987787247,
0.012047850526869297,
-0.022224700078368187,
0.009442437440156937,
0.030810322612524033,
-0.006994397845119238,
-0.026228992268443108,
-0.044519342482089996,
-0.025249777361750603,
0.003811946837231517,
0.0015212815487757325,
-0.008786712773144245,
-0.022836709395051003,
0.047631848603487015,
-0.07882686704397202,
-0.06861504167318344,
0.012686089612543583,
0.004205381963402033,
0.0032196086831390858,
-0.017774512991309166,
-0.01710130274295807,
0.00419445289298892,
-0.0461280532181263,
-0.00016434103599749506,
-0.012817233800888062,
0.02066844515502453,
-0.038923826068639755,
-0.043610069900751114,
-0.0022731793578714132,
-0.026386365294456482,
0.023658551275730133,
0.04182649776339531,
-0.029656246304512024,
-0.013280613347887993,
0.012065336108207703,
-0.031737081706523895,
0.06602711975574493,
0.009669755585491657,
0.023693522438406944,
0.038504160940647125,
0.07532966881990433,
-0.012922150082886219,
0.015719909220933914,
-0.0031627793796360493,
0.03026825748383999,
0.028991779312491417,
-0.024550337344408035,
-0.021018166095018387,
0.005101539194583893,
-0.00248519703745842,
0.0009600904304534197,
0.005717920139431953,
-0.016900213435292244,
-0.019234593957662582,
-0.023308830335736275,
-0.03110758401453495,
0.004996622912585735,
-0.03558399900794029,
0.010133134201169014,
-0.0006344137364067137,
0.004830506164580584,
-0.001309263869188726,
0.039063710719347,
-0.004799905698746443,
-0.01314946822822094,
-0.011252237483859062,
-0.03233160451054573,
0.0525628998875618,
0.008909114636480808,
-0.053192395716905594,
0.05151373893022537,
-0.008559394627809525,
0.07239201664924622,
-0.09204627573490143,
0.040532536804676056,
0.011846761219203472,
-0.026159048080444336,
0.013324327766895294,
-0.03394031524658203,
0.021717606112360954,
0.022854195907711983,
0.03544411063194275,
0.026491282507777214,
-0.046093083918094635,
0.008760483004152775,
0.06113103777170181,
0.01632317528128624,
0.008340819738805294,
-0.001126753748394549,
0.02600167505443096,
0.017267419025301933,
-0.0430854894220829,
0.019024763256311417,
-0.05371697619557381,
-0.05857808142900467,
-0.002251321915537119,
-0.01914716511964798,
-0.03156222030520439,
-0.01872749999165535,
0.01592974178493023,
-0.04336526617407799,
-0.023676037788391113,
-0.045708391815423965,
0.06452332437038422,
0.02600167505443096,
-0.00656599085777998,
0.018098004162311554,
0.011470812372863293,
0.04095219820737839,
-0.02554703876376152,
0.017687084153294563,
-0.021280456334352493,
-0.007706952281296253,
-0.0630195289850235,
0.02427056059241295,
-0.008008585311472416,
-0.03735008463263512,
0.02991853654384613,
-0.01036919467151165,
-0.01794063113629818,
-0.017354849725961685,
0.02631642296910286,
-0.005136510822921991,
0.003293924266472459,
-0.038888853043317795,
-0.02066844515502453,
0.028397254645824432,
-0.0589977465569973,
0.01918213628232479,
0.009687241166830063,
-0.015510077588260174,
-0.02070341818034649,
-0.06826532632112503,
-0.029970994219183922,
-0.09372492879629135,
-0.06941939890384674,
-0.0541716106235981,
0.007995471358299255,
0.01681278459727764,
-0.0016884913202375174,
0.017013872042298317,
0.031702108681201935,
0.057668812572956085,
-0.015859797596931458,
0.03822438418865204,
0.024427935481071472,
0.016550494357943535,
0.08791958540678024,
-0.019811632111668587,
0.060816291719675064,
-0.006915710866451263,
0.000791241240222007,
0.016620438545942307,
0.004235982429236174,
0.02631642296910286,
-0.014871838502585888,
-0.05263284593820572,
-0.05773875489830971,
-0.03948337584733963,
0.03180702403187752,
0.04780671000480652,
0.02865954488515854,
-0.054101668298244476,
-0.013560389168560505,
0.025844300165772438,
-0.00939872208982706,
0.03362556919455528,
-0.03937846049666405,
-0.0013956009643152356,
-0.024480393156409264,
0.005551803391426802,
-0.03283869847655296,
0.007234830409288406,
-0.005180226173251867,
-0.03180702403187752,
-0.026036646217107773,
0.015046698972582817,
-0.0286945179104805,
-0.05714423209428787,
-0.059277523308992386,
-0.02750547043979168,
-0.008944086730480194,
-0.01418114174157381,
0.001151889911852777,
0.020178837701678276,
-0.007628265302628279,
0.050464581698179245,
0.00134423584677279,
-0.04420459643006325,
-0.0003584628866519779,
0.042910631746053696,
0.08966818451881409,
0.015317731536924839,
0.008537537418305874,
0.017066331580281258,
-0.0203362125903368,
0.02913166768848896,
0.015099156647920609,
0.027225693687796593,
0.0551508292555809,
-0.005241427104920149,
-0.03322339057922363,
-0.05906768888235092,
-0.007938642054796219,
0.005997696425765753,
-0.03801455348730087,
-0.042875658720731735,
-0.013945081271231174,
-0.029796134680509567,
0.004273139871656895,
-0.0374549999833107,
-0.043645042926073074,
0.06522276252508163,
-0.031999371945858,
-0.030617976561188698,
0.06595717370510101,
0.010474110953509808,
0.009293805807828903,
0.08386283367872238,
-0.006434846203774214,
0.004417399410158396,
0.02629893645644188,
-0.020878277719020844,
-0.009879587218165398,
-0.019864089787006378,
-0.022521961480379105,
-0.014207370579242706,
0.062390029430389404,
0.03794460743665695,
0.042106274515390396,
0.01839526742696762,
0.04616302624344826,
0.043645042926073074,
0.0622151680290699,
-0.05056949704885483,
-0.03839924558997154,
0.005927752237766981,
0.014251085929572582,
-0.10470613837242126,
-0.042840685695409775,
-0.035339195281267166,
-0.06896476447582245,
0.020965708419680595,
0.06392879784107208,
-0.06074634566903114,
-0.03591623157262802,
-0.07400073111057281,
-0.05585026741027832,
-0.022452017292380333,
-0.022032354027032852,
0.002758415648713708,
-0.014268571510910988,
-0.03797958046197891,
-0.021700119599699974,
0.04231610894203186,
0.048436205834150314,
-0.002450224943459034,
0.0005710269906558096,
-0.000686325307469815,
0.04595319554209709,
0.003455669619143009,
-0.03072289377450943,
0.00010559901420492679,
0.022486988455057144,
-0.02664865553379059,
-0.0034185119438916445,
-0.017888173460960388,
0.05186346173286438,
-0.0004852363490499556,
0.033363278955221176,
0.010526568628847599,
-0.013175697065889835,
-0.0438898466527462,
0.04997497424483299,
-0.016471806913614273,
-0.055605463683605194,
-0.032069314271211624,
-0.0271732360124588,
-0.057563893496990204,
-0.036475785076618195,
-0.0398680679500103,
-0.020948221907019615,
0.029358984902501106,
0.014268571510910988,
-0.021752577275037766,
-0.043330296874046326,
-0.011671901680529118,
-0.03463975712656975,
-0.014216113835573196,
-0.024865085259079933,
0.02719072252511978,
-0.01752096600830555,
0.0013081709621474147,
0.026194021105766296,
-0.00917140394449234,
0.0374549999833107,
0.02668362855911255,
-0.014906810596585274,
0.0005360550130717456,
0.02197989635169506,
-0.07316140085458755,
0.03637086972594261,
-0.010482854209840298,
-0.02633390761911869,
-0.031195014715194702,
0.02715574949979782,
-0.04025276005268097,
-0.015518820844590664,
0.005835950840264559,
-0.003916862886399031,
0.05224815383553505,
-0.01673409715294838,
-0.036091092973947525,
-0.018570126965641975,
0.05868299677968025,
-0.036895450204610825,
-0.08435244113206863,
-0.009722213260829449,
-0.011112350039184093,
0.0262814499437809,
0.03561897203326225,
0.042455993592739105,
-0.04829631745815277,
-0.016445579007267952,
-0.009722213260829449,
0.012843463569879532,
0.004183524288237095,
0.030600490048527718,
-0.06406868249177933,
-0.03591623157262802,
-0.046827495098114014,
-0.0055649178102612495,
0.012065336108207703,
-0.08043557405471802,
0.059242550283670425,
0.024410448968410492,
-0.08736003190279007,
-0.004992251750081778,
-0.01632317528128624,
-0.015658708289265633,
-0.005748520605266094,
0.02666614204645157,
0.03156222030520439,
0.01877995766699314,
0.051688600331544876,
-0.09652268886566162,
-0.030600490048527718,
-0.03152724727988243,
-0.021385371685028076,
0.05931249260902405,
-0.07567938417196274,
-0.044519342482089996,
0.02066844515502453,
-0.056829482316970825,
0.06245997175574303,
0.042875658720731735,
0.036091092973947525,
0.04042762145400047,
-0.017354849725961685,
-0.07127291709184647,
0.015816083177924156,
0.0014895881759002805,
0.014023767784237862,
-0.0035583998542279005,
0.019864089787006378,
-0.0013486073585227132,
0.033328305929899216,
0.057284120470285416,
-0.013805192895233631,
-0.06270477920770645,
0.048890840262174606,
0.017223704606294632,
-0.022084811702370644,
-0.026858488097786903,
-0.029726190492510796,
0.019619286060333252,
0.009320035576820374,
0.04266582801938057,
0.022941624745726585,
0.010701429098844528,
-0.03623098134994507,
0.012021621689200401,
-0.03224417567253113,
0.01059651281684637,
0.004343084059655666,
0.024218102917075157,
0.04357510060071945,
0.07686842978000641,
-0.024130672216415405,
-0.008423877879977226,
0.015763623639941216,
0.003879705211147666,
0.012651117518544197,
0.027802731841802597,
-0.02671859972178936,
0.08582126349210739,
-0.02035369724035263,
0.051129050552845,
-0.026596197858452797,
-0.01634066179394722,
-0.01598219946026802,
0.03547908365726471,
-0.00917140394449234,
0.05903271958231926,
0.05777372792363167,
0.06476812809705734,
0.011470812372863293,
0.002391209825873375,
-0.017634626477956772,
0.06172556057572365,
0.08819935470819473,
-0.05186346173286438,
-0.02792513370513916,
0.02229464426636696,
0.016620438545942307,
-0.02867703139781952,
-0.06298455595970154,
0.0029048610012978315,
-0.023763466626405716,
0.04826134443283081,
0.000722936587408185,
0.03273378312587738,
-0.002937647048383951,
0.03474467247724533
]
|
40,305 | pyglove.core.symbolic.object | _sym_clone | Copy flags. | def _sym_clone(self, deep: bool, memo: Any = None) -> 'Object':
"""Copy flags."""
kwargs = dict()
for k, v in self._sym_attributes.sym_items():
if deep or isinstance(v, base.Symbolic):
v = base.clone(v, deep, memo)
kwargs[k] = v
return self.__class__(allow_partial=self._allow_partial,
sealed=self._sealed,
**kwargs) # pytype: disable=not-instantiable
| (self, deep: bool, memo: Optional[Any] = None) -> pyglove.core.symbolic.object.Object | [
0.026812506839632988,
-0.07991452515125275,
0.08123945444822311,
-0.008738472126424313,
-0.09093240648508072,
-0.012970419600605965,
0.008934596553444862,
0.02393600344657898,
0.015079855918884277,
0.0004638908139895648,
-0.023482736200094223,
0.03744685649871826,
-0.020588798448443413,
0.05613541975617409,
-0.06000562384724617,
-0.008341862820088863,
-0.0008286294178105891,
0.022367000579833984,
-0.059970758855342865,
0.0032927258871495724,
0.017145710065960884,
0.06436396390199661,
-0.0045980485156178474,
-0.003994418773800135,
0.00562225840985775,
0.03462265431880951,
0.0176774263381958,
0.05101001262664795,
-0.023413002490997314,
0.0013369207736104727,
-0.0188803281635046,
0.013528287410736084,
-0.0010830474784597754,
0.042223598808050156,
0.05672815442085266,
-0.05156787857413292,
-0.030804747715592384,
0.10731976479291916,
-0.045745138078927994,
-0.059552356600761414,
-0.008293921127915382,
-0.004672140348702669,
-0.011383984237909317,
0.00516027444973588,
0.012970419600605965,
-0.0033798925578594208,
-0.015376223251223564,
0.021233832463622093,
0.025522438809275627,
-0.08026318997144699,
0.0008558690315112472,
0.0237093698233366,
0.013842088170349598,
0.001199633115902543,
-0.01413845457136631,
0.006214992608875036,
0.04187493026256561,
0.027910809963941574,
-0.04947587475180626,
0.007400461472570896,
-0.07991452515125275,
-0.005134124308824539,
-0.009361714124679565,
-0.059970758855342865,
-0.02393600344657898,
-0.05561241880059242,
-0.0682690367102623,
-0.01637864112854004,
0.04082892835140228,
-0.017014959827065468,
-0.041735462844371796,
-0.02386626973748207,
0.011314250528812408,
0.00003340258990647271,
-0.026254640892148018,
-0.05310201272368431,
0.015210606157779694,
-0.06391070038080215,
0.0088430717587471,
-0.059970758855342865,
-0.09602294862270355,
-0.019420763477683067,
-0.0787290558218956,
0.030787313356995583,
-0.10962096601724625,
0.07266224175691605,
0.033297717571258545,
-0.005417416803538799,
0.0466168038547039,
0.006833876948803663,
0.008607721887528896,
0.04323473200201988,
-0.04797660559415817,
0.006886177230626345,
0.016901642084121704,
-0.00039334018947556615,
-0.002887400332838297,
0.00500337453559041,
0.0642593652009964,
-0.011776234954595566,
-0.011227083392441273,
-0.06321336328983307,
-0.1260780543088913,
0.029357777908444405,
-0.008673097006976604,
0.03317568451166153,
0.028503542765975,
-0.03470981866121292,
0.006428551394492388,
-0.03223428130149841,
-0.0458148717880249,
0.07342930883169174,
0.009753964841365814,
-0.004051077179610729,
-0.004356160759925842,
0.007260994520038366,
0.016831908375024796,
-0.021094365045428276,
0.029950512573122978,
0.0029331627301871777,
-0.018531661480665207,
0.0514284111559391,
-0.00006745212158421054,
0.019856596365571022,
0.03279215097427368,
0.07621864974498749,
0.05481048300862312,
-0.013022719882428646,
-0.017224159091711044,
0.03845799341797829,
-0.021007198840379715,
-0.012639186345040798,
0.02658587321639061,
0.08486559987068176,
-0.018740862607955933,
-0.0019470883999019861,
-0.012979136779904366,
0.024284670129418373,
-0.04455966874957085,
-0.006132184527814388,
0.019246429204940796,
-0.025417838245630264,
-0.007766562048345804,
0.05118434503674507,
-0.03493645414710045,
-0.02186143398284912,
-0.04138679802417755,
0.008734113536775112,
-0.025574738159775734,
0.04665167257189751,
0.004606765229254961,
0.03568608686327934,
-0.015254190191626549,
0.10453042387962341,
-0.03028174676001072,
0.08061185479164124,
-0.013894387520849705,
-0.004092481452971697,
-0.04532673582434654,
0.02280283533036709,
-0.02714374102652073,
0.010102632455527782,
0.0007289323839358985,
-0.07998425513505936,
-0.00018795341020449996,
-0.01975199766457081,
0.0505916103720665,
-0.11143403500318527,
-0.009527331218123436,
0.015550557523965836,
-0.027021707966923714,
-0.02932291105389595,
0.05296254903078079,
0.01784304343163967,
0.0002312644210178405,
0.04058486223220825,
0.018531661480665207,
-0.010451299138367176,
-0.010834833607077599,
-0.044385332614183426,
0.004972865805029869,
-0.04267686605453491,
-0.0746845155954361,
0.019228996708989143,
0.059238556772470474,
0.02803284302353859,
-0.004602407105267048,
-0.008934596553444862,
0.05101001262664795,
0.027126308530569077,
-0.027980541810393333,
0.05317174643278122,
0.043583400547504425,
0.01830502785742283,
0.005099257919937372,
-0.08347092568874359,
-0.00911764707416296,
0.01688420958817005,
-0.05927342548966408,
0.11561804264783859,
-0.0184793621301651,
-0.00409466028213501,
0.019490497186779976,
-0.010651783086359501,
-0.0066116019152104855,
-0.014722472056746483,
-0.03516308590769768,
-0.014469688758254051,
0.04271173104643822,
0.0024646413512527943,
0.013414970599114895,
-0.005648408550769091,
0.06307389587163925,
0.04027106240391731,
-0.011959284543991089,
0.01910696178674698,
0.001553748152218759,
-0.002532195532694459,
0.0029549545142799616,
0.00862951297312975,
0.0036631848197430372,
-0.026638174429535866,
-0.08263412863016129,
0.011122483760118484,
-0.04187493026256561,
-0.0007676126551814377,
-0.01999606378376484,
0.003312338376417756,
-0.023238668218255043,
-0.017171859741210938,
-0.004781099036335945,
-0.043897200375795364,
-0.019490497186779976,
-0.012377685867249966,
0.019717130810022354,
0.0017291713738813996,
0.04448993504047394,
0.006999494042247534,
0.002854712773114443,
0.008904088288545609,
-0.01613457500934601,
0.02280283533036709,
0.01664014160633087,
0.03176358342170715,
0.02025756426155567,
-0.02290743589401245,
0.0010558078065514565,
0.01718057692050934,
0.03164154663681984,
-0.003817905904725194,
0.029148578643798828,
-0.028712743893265724,
-0.01782561093568802,
0.017659993842244148,
0.045919470489025116,
-0.030490946024656296,
-0.008224187418818474,
-0.0009533868869766593,
0.00803242065012455,
-0.010128782130777836,
-0.0002758011978585273,
0.04089866206049919,
0.010843549855053425,
-0.012796086259186268,
0.017320042476058006,
-0.008446462452411652,
-0.02346530184149742,
-0.011139917187392712,
-0.04829040542244911,
0.007391744758933783,
0.06296929717063904,
-0.010215949267148972,
-0.008049854077398777,
0.09574401378631592,
-0.01750309392809868,
-0.02289000153541565,
-0.007008210755884647,
0.027335507795214653,
-0.02843381091952324,
-0.05094027891755104,
0.03528511896729469,
0.026080306619405746,
0.04361826553940773,
-0.05331121385097504,
-0.028154876083135605,
0.032025083899497986,
0.015402373857796192,
-0.0004096839693374932,
0.0007006031810306013,
-0.030002811923623085,
0.03681925684213638,
0.08172759413719177,
0.07335957884788513,
0.021756833419203758,
0.08542346209287643,
0.043653134256601334,
-0.047279272228479385,
0.011183500289916992,
-0.020030930638313293,
0.022767968475818634,
0.006511359941214323,
0.00560482544824481,
-0.0008199127041734755,
0.041072994470596313,
-0.004497807007282972,
-0.03174614906311035,
0.03319311887025833,
0.029671577736735344,
0.024633336812257767,
0.07137217372655869,
0.04884827509522438,
0.0244938712567091,
0.008546704426407814,
0.065863236784935,
-0.02954954467713833,
-0.05341581627726555,
0.02064109779894352,
-0.0747542455792427,
0.042223598808050156,
0.04640760272741318,
-0.04323473200201988,
-0.03950399532914162,
-0.05334608256816864,
-0.03898099437355995,
-0.007522494997829199,
-0.020780565217137337,
0.005970925558358431,
-0.020519064739346504,
-0.00035738389124162495,
0.004064152017235756,
-0.01032926607877016,
0.02547013945877552,
0.027126308530569077,
0.05470588430762291,
0.002699991688132286,
0.006001434288918972,
-0.0033101593144237995,
-0.03765605762600899,
-0.05156787857413292,
-0.07245304435491562,
0.059656959027051926,
0.04836013913154602,
-0.01792149432003498,
-0.07893825322389603,
-0.034430887550115585,
-0.025731639936566353,
0.003118392312899232,
0.013258070684969425,
-0.0004815965658053756,
0.0051210494711995125,
-0.008023703470826149,
0.013083736412227154,
-0.017703577876091003,
0.020466765388846397,
0.0586458221077919,
0.01164548471570015,
-0.04428073391318321,
0.01514087338000536,
-0.04797660559415817,
-0.09190867096185684,
0.04393206536769867,
0.011985435150563717,
0.002042971784248948,
-0.0075835115276277065,
0.05397368222475052,
-0.014949106611311436,
-0.03516308590769768,
0.0008596825646236539,
-0.022593634203076363,
-0.05226521193981171,
-0.0433741994202137,
-0.012168485671281815,
-0.010076481848955154,
-0.07566078007221222,
-0.023761669173836708,
0.015402373857796192,
-0.029444944113492966,
-0.023796536028385162,
-0.008228546008467674,
0.00761401979252696,
0.07280170917510986,
-0.022489033639431,
-0.005382549948990345,
0.024964570999145508,
0.04403666779398918,
0.008864863775670528,
0.05477561801671982,
0.005447925068438053,
0.10780789703130722,
0.021059498190879822,
-0.02313406951725483,
-0.015864357352256775,
0.03769092261791229,
0.054113149642944336,
0.02770160883665085,
-0.009387864731252193,
0.00151561270467937,
-0.0031227506697177887,
-0.08451692759990692,
-0.0019547154661267996,
0.015785908326506615,
-0.00895202998071909,
0.009902148507535458,
-0.04079406335949898,
-0.025749072432518005,
-0.011959284543991089,
0.03282701596617699,
0.012822235934436321,
0.003998776897788048,
-0.012185918167233467,
0.02266336791217327,
-0.006419834680855274,
0.004016210325062275,
-0.016823193058371544,
0.024842537939548492,
-0.029741311445832253,
0.0923270732164383,
-0.03019457869231701,
0.027283208444714546,
0.011227083392441273,
0.03580811992287636,
-0.04532673582434654,
-0.03491901978850365,
-0.013711337931454182,
0.011401417665183544,
0.03905072808265686,
-0.005844533909112215,
0.04459453374147415,
-0.0028198459185659885,
0.005578675307333469,
-0.0450129359960556,
0.026132605969905853,
0.000018659142369870096,
0.010425149463117123,
0.012229502201080322,
-0.05585648491978645,
0.0034975677262991667,
-0.057878755033016205,
-0.026463840156793594,
0.0699077770113945,
-0.005116691347211599,
-0.020710831508040428,
-0.0088430717587471,
-0.02386626973748207,
-0.03800472617149353,
0.02845124341547489,
0.05327634885907173,
0.04609380289912224,
0.01272635255008936,
0.013458553701639175,
0.03671465441584587,
0.011880834586918354,
0.056030817329883575,
-0.03477955237030983,
-0.0377606563270092,
0.0007376490393653512,
0.018339894711971283,
-0.01277865283191204,
-0.02465077117085457,
-0.011305534280836582,
-0.004199260380119085,
0.010050332173705101,
0.015498257242143154,
-0.005578675307333469,
-0.030979080125689507,
-0.02618490718305111,
0.03127544745802879,
0.008834355510771275,
0.032094813883304596,
-0.006982060614973307,
0.031693849712610245,
-0.019490497186779976,
0.03737712278962135,
-0.01616072468459606,
0.022715667262673378,
-0.015925373882055283,
-0.038771793246269226,
-0.0489877425134182,
-0.07642784714698792,
-0.04842987284064293,
-0.04829040542244911,
-0.042049262672662735,
-0.008524913340806961,
-0.02466820366680622,
0.011584467254579067,
0.01332780346274376,
0.04058486223220825,
0.014678888954222202,
-0.013859521597623825,
0.05672815442085266,
-0.02039703167974949,
0.059970758855342865,
-0.06112135946750641,
0.029270611703395844,
0.018915195018053055,
0.026533573865890503,
-0.03399505093693733,
0.03887639194726944,
0.029776178300380707,
-0.04595433548092842,
-0.0626903623342514,
-0.0071215275675058365,
-0.0023077409714460373,
0.03713305667042732,
-0.005561241880059242,
0.02747497521340847,
-0.04787200689315796,
-0.0225064679980278,
-0.01744207739830017,
-0.005260516423732042,
0.0313451811671257,
-0.025609605014324188,
-0.011279383674263954,
0.01742464303970337,
0.01912439614534378,
-0.02050163224339485,
-0.014792205765843391,
-0.026864808052778244,
-0.012961703352630138,
-0.08005399256944656,
0.04274659976363182,
-0.013040153309702873,
-0.048569340258836746,
-0.1060645654797554,
0.002086555352434516,
-0.03995726257562637,
-0.019943764433264732,
0.01622174121439457,
0.05617028474807739,
-0.050487011671066284,
0.024563604965806007,
-0.004157856572419405,
-0.0313103161752224,
0.03188561648130417,
0.011880834586918354,
-0.005142841022461653,
0.023813970386981964,
0.01421690545976162,
0.0034910303074866533,
-0.009937015362083912,
-0.012691485695540905,
-0.004737515468150377,
0.0022990242578089237,
0.0184619277715683,
-0.025993140414357185,
0.07349904626607895,
0.014757338911294937,
-0.012517152354121208,
-0.027614442631602287,
-0.021268699318170547,
0.006855668965727091,
0.0019351029768586159,
-0.0369238555431366,
-0.025156337767839432,
0.000016216088624787517,
-0.007256635930389166,
0.050975143909454346,
-0.004306039772927761,
-0.013144753873348236,
0.010974300093948841,
0.045257002115249634,
-0.021948600187897682,
0.0425722636282444,
-0.08451692759990692,
-0.028102576732635498,
-0.013763637281954288,
-0.0200832299888134,
0.02562703937292099,
0.0070125688798725605,
0.0377606563270092,
0.015602856874465942,
0.029776178300380707,
0.052090879529714584,
0.03880665823817253,
0.05983129143714905,
0.019420763477683067,
0.0313103161752224,
0.029462378472089767,
-0.012081318534910679,
-0.017973793670535088,
0.018113261088728905,
0.00472008204087615,
-0.0570419542491436,
-0.011819818057119846,
-0.03061298094689846,
0.0001575812348164618,
0.00636317627504468,
0.007892954163253307,
0.01776459440588951,
-0.05421774834394455,
-0.00048922369023785,
0.052753347903490067,
-0.026324372738599777,
-0.04428073391318321,
-0.08563266694545746,
-0.002865608548745513,
-0.05226521193981171,
0.0019721488934010267,
0.01164548471570015,
0.03919019177556038,
-0.03790012374520302,
0.020693399012088776,
0.018688561394810677,
0.00048268615501001477,
-0.025905972346663475,
0.014460972510278225,
-0.003613063832744956,
0.0021966034546494484,
0.03542458638548851,
-0.017215443775057793,
-0.00038516829954460263,
-0.011540884152054787,
0.013371387496590614,
-0.049441009759902954,
-0.0029920004308223724,
0.009658081457018852,
-0.0353548526763916,
0.010076481848955154,
-0.03423912078142166,
0.010146215558052063,
-0.08891013264656067,
-0.03195535019040108,
-0.05352041497826576,
-0.011915701441466808,
-0.06495670229196548,
0.03396018594503403,
-0.014147171750664711,
0.08821280300617218,
-0.032025083899497986,
-0.041072994470596313,
-0.03219941630959511,
0.00288304197601974,
-0.014870655722916126,
0.028643010184168816,
0.028643010184168816,
0.005417416803538799,
0.042467664927244186,
0.012813519686460495,
-0.0076793949119746685,
0.12642672657966614,
-0.017381059005856514,
-0.043513666838407516,
-0.008564137853682041,
0.03807445988059044,
-0.10425148904323578,
-0.01983916386961937,
0.01695394329726696,
-0.027265774086117744,
-0.00303122540935874,
-0.02578393928706646,
-0.025592172518372536,
0.014670172706246376,
-0.033698685467243195,
0.004807249177247286,
0.05198628082871437,
0.0237093698233366,
-0.014548138715326786,
-0.027335507795214653,
0.07538184523582458,
-0.023343268781900406,
-0.02845124341547489,
-0.013388819992542267,
-0.00967551488429308,
-0.009971882216632366,
0.027910809963941574,
0.047593072056770325,
-0.0014121021376922727,
-0.04595433548092842,
0.043653134256601334,
-0.008694888092577457,
-0.042781464755535126,
-0.01181110180914402,
-0.04675627127289772,
0.0465819388628006,
-0.06882690638303757,
0.03228658437728882,
-0.00770990364253521,
0.03887639194726944,
0.029619278386235237,
0.011680351570248604,
-0.018357327207922935,
-0.0160648413002491,
0.03978292644023895,
-0.04490833356976509,
-0.022994602099061012,
0.03591272234916687,
0.03165898099541664,
0.03929479420185089,
-0.041909798979759216,
-0.03838825970888138,
-0.04511753469705582,
-0.014129738323390484,
0.05735575407743454,
0.04860420897603035,
-0.02531323954463005,
-0.0009986046934500337,
-0.055054549127817154,
-0.0529974140226841,
0.05986615642905235,
0.01529777329415083,
-0.008616438135504723,
0.021582499146461487,
0.02754470892250538,
-0.018984928727149963,
0.041421663016080856,
-0.0002699446922633797,
-0.016892924904823303,
-0.005151557736098766,
0.012342819012701511,
0.04187493026256561,
0.008324429392814636,
0.013284220360219479,
0.02041446417570114,
0.016605274751782417,
0.02836407721042633,
-0.041805196553468704,
0.024685638025403023,
-0.04951074346899986,
-0.011837251484394073,
0.004046718589961529,
0.029357777908444405,
-0.042781464755535126,
0.04082892835140228,
0.05198628082871437,
0.0016627067234367132,
0.032739851623773575,
0.003704589093104005,
0.033541783690452576,
0.050661344081163406,
-0.010451299138367176,
0.007539927959442139,
0.03678438812494278,
-0.024772804230451584,
0.0037176639307290316,
-0.0015679127536714077,
-0.006459059659391642,
0.03138004615902901,
0.038527727127075195,
-0.026411540806293488,
0.07726465165615082,
-0.031118547543883324,
0.038597457110881805,
0.008555421605706215,
0.06785063445568085,
-0.06296929717063904,
-0.0012061705347150564,
-0.034744687378406525,
0.010695366188883781,
0.04114272817969322,
-0.04121246188879013,
0.007186902686953545,
0.008816922083497047,
0.04225846379995346,
0.0018904299940913916,
-0.0023469661828130484,
0.0028568918351083994,
-0.045257002115249634,
0.0037699639797210693,
0.000006720526016579242,
-0.025156337767839432,
-0.006293443031609058,
-0.05934315547347069,
0.00787552073597908,
0.07545158267021179,
-0.007775278761982918,
0.005800950340926647,
0.02707400731742382,
-0.002139945048838854
]
|
40,306 | pyglove.core.symbolic.object | _sym_getattr | Get symbolic field by key. | def _sym_getattr( # pytype: disable=signature-mismatch # overriding-parameter-type-checks
self, key: str) -> Any:
"""Get symbolic field by key."""
return self._sym_attributes.sym_getattr(key)
| (self, key: str) -> Any | [
0.09381832927465439,
-0.07192054390907288,
0.027543310075998306,
0.07472620159387589,
0.008583761751651764,
-0.04033983126282692,
0.06993605941534042,
-0.016021311283111572,
0.02829604782164097,
-0.024344181641936302,
-0.00658644363284111,
-0.007578687276691198,
0.07499992102384567,
0.00019326293841004372,
-0.00142314238473773,
0.03187154605984688,
-0.009101267904043198,
0.07554736733436584,
-0.019844869151711464,
0.016406232491135597,
-0.0010259241098538041,
0.035310182720422745,
-0.00878477655351162,
-0.0447193868458271,
0.014156577177345753,
0.06627502292394638,
0.06928596645593643,
0.023608552291989326,
0.050330694764852524,
-0.054710254073143005,
0.0066334898583590984,
0.008168901316821575,
0.019228994846343994,
0.026978759095072746,
-0.02001594565808773,
-0.026054944843053818,
-0.0022731784265488386,
0.04509575664997101,
-0.044650956988334656,
-0.032196588814258575,
0.024019135162234306,
0.00697136577218771,
0.06802000105381012,
-0.08245885372161865,
0.0015311343595385551,
-0.026841897517442703,
-0.05385487154126167,
0.031187240034341812,
0.0018102028407156467,
-0.02803943306207657,
0.021162157878279686,
-0.018270965665578842,
-0.005380354821681976,
-0.015918664634227753,
0.002467778045684099,
-0.016423340886831284,
-0.01991330087184906,
0.03012656606733799,
0.00739050330594182,
0.03619977831840515,
-0.026773465797305107,
-0.0319741927087307,
-0.06846480071544647,
-0.0019791407976299524,
-0.0003744970599655062,
-0.0583028569817543,
-0.013369625434279442,
0.02093975991010666,
-0.011368030682206154,
-0.037089377641677856,
-0.013874300755560398,
-0.015029067173600197,
-0.04762768745422363,
-0.015704819932579994,
0.005696846172213554,
-0.06914910674095154,
-0.007779702078551054,
-0.07568422704935074,
0.02114505134522915,
-0.041947949677705765,
-0.026927435770630836,
-0.023676982149481773,
-0.07349444925785065,
-0.012394489720463753,
-0.08820702135562897,
0.013489379547536373,
0.06179281696677208,
-0.038218483328819275,
-0.02904878370463848,
0.02608915977180004,
-0.05255468934774399,
-0.0033146063797175884,
-0.06056106835603714,
0.06052685156464577,
-0.03308618813753128,
-0.048175133764743805,
0.03880014270544052,
-0.006009060889482498,
0.03308618813753128,
0.0023073938209563494,
0.049201589077711105,
-0.038115836679935455,
-0.025661470368504524,
0.06234026327729225,
0.0011504892027005553,
-0.031067484989762306,
-0.03599448874592781,
-0.030041027814149857,
0.009289451874792576,
-0.013249872252345085,
-0.02533642388880253,
0.02685900405049324,
0.0001686706964392215,
0.02513113245368004,
0.003355237189680338,
0.019075024873018265,
0.009221021085977554,
0.0005159024731256068,
0.011145631782710552,
-0.008002101443707943,
0.0006335175130516291,
0.023625658825039864,
-0.04335077479481697,
-0.0010184395359829068,
0.038218483328819275,
0.04222167283296585,
-0.016115402802824974,
-0.005927799269556999,
0.029527798295021057,
0.047661904245615005,
0.008767669089138508,
0.022325478494167328,
0.02665371261537075,
0.0785583108663559,
0.005696846172213554,
0.03907386586070061,
0.05508662015199661,
0.06990184634923935,
-0.01756955310702324,
0.03293221816420555,
0.025610147044062614,
-0.007903732359409332,
-0.012548458762466908,
-0.03773946687579155,
-0.03002391941845417,
0.0044094957411289215,
-0.003611851716414094,
0.03022921085357666,
-0.022701846435666084,
-0.022599201649427414,
-0.02783413976430893,
0.0357549823820591,
-0.0035348674282431602,
0.02793678641319275,
0.026568174362182617,
0.04509575664997101,
-0.033325694501399994,
0.04417194426059723,
-0.017347153276205063,
-0.01904080994427204,
-0.014917867258191109,
0.007112503983080387,
-0.06387995183467865,
-0.12529639899730682,
0.029219860211014748,
0.013515040278434753,
0.024173105135560036,
-0.036644577980041504,
0.014721130020916462,
0.01934874802827835,
-0.06435896456241608,
0.0016968647250905633,
-0.03161492943763733,
0.00006054502955521457,
0.023403260856866837,
0.029750196263194084,
-0.01898948661983013,
0.018732871860265732,
0.02165828086435795,
-0.01699644699692726,
0.01644900254905224,
-0.022479446604847908,
-0.04995432868599892,
0.001179358339868486,
0.032555852085351944,
0.07732655853033066,
-0.006770350970327854,
-0.01210366003215313,
0.0016744108870625496,
0.027611741796135902,
-0.0019267486641183496,
0.013438056223094463,
0.014062485657632351,
-0.020187022164463997,
-0.0442061573266983,
-0.050364911556243896,
0.005431677680462599,
0.02312953770160675,
-0.04054512083530426,
0.08861760795116425,
0.030417395755648613,
-0.018869733437895775,
-0.05173352360725403,
0.10346704721450806,
-0.059979408979415894,
-0.04509575664997101,
0.07821615785360336,
-0.00564124621450901,
-0.013463717885315418,
-0.003862051060423255,
0.014883652329444885,
-0.029955489560961723,
0.019485609605908394,
-0.005679738707840443,
-0.004236280918121338,
0.029322504997253418,
-0.03058847226202488,
-0.0021309712901711464,
0.01772352121770382,
0.02788546308875084,
0.06025313213467598,
-0.0076086255721747875,
0.02194911055266857,
-0.026687927544116974,
0.026619497686624527,
-0.042358532547950745,
0.009494743309915066,
0.023403260856866837,
-0.07951634377241135,
-0.04947531223297119,
0.020358098670840263,
0.015619280748069286,
0.014148023910820484,
-0.0027094234246760607,
-0.0008505707955919206,
-0.04294019192457199,
0.022085972130298615,
0.02798810973763466,
0.06192968040704727,
-0.014635591767728329,
0.001345088705420494,
0.03691830113530159,
-0.021076619625091553,
0.05156244710087776,
-0.0397239550948143,
-0.02181224897503853,
0.03849220275878906,
0.06346936523914337,
-0.010658063925802708,
-0.02287292294204235,
0.05943196266889572,
-0.0047259870916605,
0.03951866179704666,
0.036131348460912704,
0.002884776797145605,
-0.04502732679247856,
-0.07369974255561829,
0.009298006072640419,
0.03763682022690773,
-0.03063979372382164,
-0.06552228331565857,
0.02145298756659031,
-0.025712791830301285,
-0.03358231112360954,
0.035104889422655106,
-0.0000503205374116078,
0.04324812814593315,
0.02773149497807026,
0.0033424063585698605,
-0.0025212394539266825,
0.0010152319446206093,
-0.028706630691885948,
-0.03125566989183426,
0.02410467341542244,
0.008318592794239521,
0.013420948758721352,
0.03927915543317795,
0.04417194426059723,
0.03043450228869915,
-0.02165828086435795,
0.0018690103897824883,
-0.02210307866334915,
-0.012676766142249107,
0.02819340117275715,
-0.04355606809258461,
0.041742656379938126,
0.0008361362270079553,
-0.012266182340681553,
0.0039048201870173216,
-0.019023703411221504,
0.0856066644191742,
0.03681565448641777,
0.05258890613913536,
0.023471690714359283,
0.032401882112026215,
-0.001140866195783019,
-0.045985352247953415,
-0.012796519324183464,
0.052520472556352615,
0.006453859619796276,
-0.0031264224089682102,
0.05950039252638817,
-0.019536932930350304,
0.002294562989845872,
-0.004781587049365044,
0.008109024725854397,
0.024994270876049995,
0.03568654879927635,
-0.022804493084549904,
0.04146893322467804,
-0.028278939425945282,
0.0588160865008831,
-0.03927915543317795,
0.030041027814149857,
-0.025011379271745682,
-0.007283580489456654,
-0.056352585554122925,
0.06545385718345642,
0.021914895623922348,
0.10415135324001312,
0.004418049473315477,
-0.0093236668035388,
-0.03481405973434448,
0.019844869151711464,
-0.005970568396151066,
0.012497135438024998,
-0.029117213562130928,
-0.06470111757516861,
0.003988219890743494,
0.017860382795333862,
0.012137874960899353,
0.002951069036498666,
-0.004734541289508343,
-0.014481622725725174,
-0.026362882927060127,
0.02456657961010933,
0.0008623322937637568,
-0.021333234384655952,
-0.02338615246117115,
-0.021076619625091553,
-0.0362682119011879,
-0.036747224628925323,
0.007377672474831343,
-0.03897121921181679,
-0.007694163825362921,
-0.03507067635655403,
0.03017788752913475,
0.0026452697347849607,
0.03691830113530159,
-0.02343747578561306,
0.027457771822810173,
-0.08533293753862381,
0.010136280208826065,
0.032042622566223145,
0.007112503983080387,
-0.00278213107958436,
-0.03578919544816017,
0.030297640711069107,
-0.010837693698704243,
0.011316708289086819,
0.0498516820371151,
-0.0028719461988657713,
-0.041537366807460785,
-0.03166625276207924,
0.021863572299480438,
-0.02951068989932537,
-0.05840550363063812,
0.019827762618660927,
0.029271183535456657,
-0.036541931331157684,
-0.04684073477983475,
0.0012809350155293941,
-0.02420732006430626,
0.002972453599795699,
-0.0286382008343935,
0.04947531223297119,
0.047422394156455994,
-0.0025554546155035496,
-0.00017374953313264996,
-0.023505905643105507,
0.01792881265282631,
-0.026003621518611908,
0.029544904828071594,
0.08485392481088638,
0.019314533099532127,
0.004249111749231815,
-0.02400202862918377,
-0.03457455337047577,
0.05423123762011528,
0.024703441187739372,
-0.013763101771473885,
-0.032042622566223145,
-0.02297556959092617,
0.048277776688337326,
0.010273141786456108,
-0.03773946687579155,
0.026431312784552574,
-0.08218513429164886,
-0.020512068644165993,
-0.0037850667722523212,
0.0028569770511239767,
-0.010067849420011044,
-0.04461674019694328,
0.02768017165362835,
0.005239216610789299,
0.03313751146197319,
-0.0051878937520086765,
0.044650956988334656,
-0.03358231112360954,
-0.02680768258869648,
-0.01008495781570673,
0.056249942630529404,
-0.016457555815577507,
-0.06620658934116364,
0.025456177070736885,
0.009280897676944733,
0.06685668230056763,
0.015850234776735306,
-0.0060133375227451324,
0.024292858317494392,
0.009135482832789421,
-0.06665138900279999,
-0.055531419813632965,
-0.0032568681053817272,
-0.00970003567636013,
0.009032837115228176,
0.016868138685822487,
0.03149517625570297,
0.008109024725854397,
0.08218513429164886,
-0.024891626089811325,
0.03084508702158928,
0.0060689374804496765,
0.005444508511573076,
0.012394489720463753,
-0.025610147044062614,
-0.022274155169725418,
-0.04116099700331688,
-0.0004466699610929936,
-0.014917867258191109,
-0.03330858796834946,
0.028775060549378395,
-0.016765493899583817,
-0.031734682619571686,
-0.03739731386303902,
-0.0417768731713295,
0.032555852085351944,
0.10285116732120514,
0.05525769665837288,
-0.06856744736433029,
0.010606740601360798,
0.0017300107283517718,
0.048585716634988785,
-0.01276230439543724,
0.004377419129014015,
-0.03732888400554657,
0.01919477991759777,
-0.03927915543317795,
0.050330694764852524,
0.022650523111224174,
-0.04160579666495323,
0.03661036491394043,
-0.010478433221578598,
-0.04047669097781181,
-0.052315182983875275,
0.05515505000948906,
0.009238128550350666,
0.006877273786813021,
0.006111706607043743,
-0.008168901316821575,
0.01818542741239071,
-0.004013881552964449,
-0.005782384425401688,
-0.009092713706195354,
-0.004576295614242554,
0.01301891915500164,
-0.014678360894322395,
0.01725306175649166,
-0.07691597938537598,
-0.10223529487848282,
-0.026054944843053818,
-0.04773033410310745,
-0.0402371846139431,
-0.03880014270544052,
0.0335138775408268,
0.018305182456970215,
-0.005923522636294365,
0.047422394156455994,
-0.039244942367076874,
-0.02655106782913208,
0.005803768988698721,
0.11106283962726593,
0.03312040492892265,
0.031529393047094345,
0.02981862798333168,
0.026687927544116974,
-0.017791952937841415,
0.0001004405930871144,
0.015841679647564888,
0.004345342051237822,
-0.06162174046039581,
-0.04636172205209732,
0.03424950689077377,
0.024686332792043686,
-0.003821420483291149,
0.00501681724563241,
-0.04068198427557945,
0.014438853599131107,
0.025370638817548752,
-0.04403508082032204,
0.016423340886831284,
-0.03477984666824341,
0.03231634572148323,
-0.015200143679976463,
0.034335047006607056,
-0.01996462233364582,
0.00038064512773416936,
-0.03424950689077377,
-0.03503645956516266,
0.04543790966272354,
0.03212815895676613,
-0.04824356362223625,
-0.04020296782255173,
-0.05317056551575661,
-0.0009879665449261665,
-0.006244291085749865,
-0.054607607424259186,
0.00388771272264421,
-0.0029745919164270163,
-0.006402536761015654,
0.015388327650725842,
0.02502848580479622,
-0.038526419550180435,
0.0061886911280453205,
0.00615447573363781,
0.045882705599069595,
-0.03794476017355919,
0.03619977831840515,
-0.046498581767082214,
0.009366435930132866,
0.0017353568691760302,
-0.0020689559169113636,
-0.02706429734826088,
0.012873504310846329,
0.02194911055266857,
-0.01975933089852333,
-0.04492468014359474,
0.00793794821947813,
0.020666036754846573,
-0.015739034861326218,
-0.025456177070736885,
0.0639483854174614,
-0.00726219592615962,
-0.05224675312638283,
0.02042653039097786,
0.0026859005447477102,
0.00540173938497901,
-0.02793678641319275,
-0.053136348724365234,
-0.005217832047492266,
0.017176076769828796,
-0.024121781811118126,
0.04263225570321083,
-0.01256556622684002,
-0.029698874801397324,
-0.021316127851605415,
0.024344181641936302,
-0.005217832047492266,
0.02145298756659031,
-0.031375423073768616,
-0.028894813731312752,
0.011051539331674576,
0.04304283857345581,
0.037192024290561676,
0.05026226490736008,
0.013386732898652554,
0.004249111749231815,
0.010931786149740219,
-0.037602607160806656,
-0.032966434955596924,
0.03688408434391022,
0.016568755730986595,
-0.006731858942657709,
0.04684073477983475,
-0.0442061573266983,
-0.023369044065475464,
0.03481405973434448,
0.005128017161041498,
-0.02608915977180004,
-0.04554055631160736,
-0.04088727384805679,
-0.09518694132566452,
-0.03691830113530159,
0.008023486472666264,
-0.01726161502301693,
0.02542196214199066,
-0.07000448554754257,
0.05457339063286781,
0.010256034322082996,
-0.014644145034253597,
0.027765709906816483,
-0.02899746038019657,
0.050878141075372696,
0.0033146063797175884,
0.022736061364412308,
0.031067484989762306,
0.05748169124126434,
0.008083363063633442,
-0.0012745195999741554,
-0.044650956988334656,
-0.03691830113530159,
-0.004956940654665232,
0.0058465381152927876,
0.04345342144370079,
0.004033127799630165,
0.022787384688854218,
0.01179572194814682,
0.02986995130777359,
0.01049554068595171,
-0.029117213562130928,
-0.04759347066283226,
0.03211105242371559,
-0.030451610684394836,
0.030314749106764793,
-0.020922651514410973,
0.03910807892680168,
0.037807896733284,
0.02052917517721653,
-0.011094308458268642,
-0.006073214579373598,
-0.03334280103445053,
0.019434286281466484,
0.04844885319471359,
0.01120550837367773,
-0.011299600824713707,
-0.02328350581228733,
0.058131780475378036,
-0.0005870060995221138,
-0.041332073509693146,
0.09511851519346237,
-0.01720173843204975,
-0.0013547117123380303,
-0.08156925439834595,
0.04673808813095093,
-0.008570930920541286,
0.08088494837284088,
-0.03927915543317795,
-0.048483069986104965,
0.015567958354949951,
0.01094889361411333,
-0.07000448554754257,
-0.020802898332476616,
-0.06398259848356247,
-0.012249074876308441,
0.0744524747133255,
-0.07903732359409332,
-0.029801519587635994,
-0.05525769665837288,
0.001113066216930747,
-0.02379673533141613,
-0.03105037845671177,
-0.027184050530195236,
-0.03241898864507675,
-0.023505905643105507,
-0.03804740682244301,
-0.05515505000948906,
-0.03452323004603386,
-0.04937266558408737,
0.06076635792851448,
-0.026003621518611908,
0.04721710458397865,
-0.012377382256090641,
0.006988473702222109,
-0.038013190031051636,
-0.04242696240544319,
0.048072487115859985,
0.07068879157304764,
0.0072664725594222546,
0.06275084614753723,
-0.0007265403401106596,
0.04170844331383705,
-0.017501121386885643,
-0.006248567719012499,
0.01919477991759777,
-0.024532364681363106,
-0.017689306288957596,
0.06117694452404976,
0.04998854175209999,
0.01644900254905224,
-0.09128639847040176,
-0.013472271151840687,
-0.04810670018196106,
0.004922725260257721,
-0.0044266036711633205,
-0.05789227411150932,
-0.055326126515865326,
0.0017578107072040439,
0.006406813394278288,
0.04988589510321617,
0.03838955983519554,
-0.022393908351659775,
-0.0038641896098852158,
0.023369044065475464,
-0.021008189767599106,
0.026585282757878304,
-0.00713388854637742,
0.024994270876049995,
-0.0020657482091337442,
-0.04519840329885483,
-0.01955403946340084,
-0.011701630428433418,
-0.06665138900279999,
-0.028775060549378395,
-0.036781441420316696,
0.07691597938537598,
-0.001399619271978736,
-0.08054279536008835,
-0.0009628396946936846,
-0.01991330087184906,
0.059876762330532074,
0.021641172468662262,
-0.02400202862918377,
0.052007243037223816,
0.024121781811118126,
-0.005021094344556332,
0.015867341309785843,
-0.023215075954794884,
0.034745629876852036,
-0.015567958354949951,
0.06596708297729492,
0.06648031622171402,
0.02778281830251217,
-0.004039543215185404,
0.03241898864507675,
-0.0005581369623541832,
-0.018407827243208885,
-0.014233562164008617,
-0.018749980255961418,
0.034796953201293945,
0.10723073035478592,
-0.038013190031051636,
0.0885491743683815,
-0.007895179092884064,
0.034181077033281326,
0.038526419550180435,
0.04738818109035492,
-0.03886857256293297,
0.030930625274777412,
0.026106268167495728,
-0.05070706456899643,
-0.009058498777449131,
0.05371800810098648,
0.036952514201402664,
-0.007664225529879332,
0.020494960248470306,
-0.017945921048521996,
-0.025250885635614395,
0.02246234007179737,
0.038834355771541595,
0.014789559878408909,
-0.033325694501399994,
0.011017324402928352,
-0.05163087695837021,
0.040374044328927994,
-0.010658063925802708,
-0.03269271180033684,
-0.035618118941783905,
0.008716345764696598
]
|
40,307 | pyglove.core.symbolic.base | _sym_inferred | null | def _sym_inferred(self, key: Union[str, int], **kwargs) -> Any:
v = self.sym_getattr(key)
if isinstance(v, Inferential):
v = v.infer(**kwargs)
return v
| (self, key: Union[str, int], **kwargs) -> Any | [
0.09961831569671631,
-0.10335753113031387,
0.08924728631973267,
0.028238123282790184,
0.012496383860707283,
0.004274962469935417,
0.07030428200960159,
-0.03647497668862343,
-0.014304258860647678,
-0.0012368509778752923,
-0.007394649088382721,
-0.0002597442071419209,
0.018078748136758804,
-0.024445995688438416,
-0.012981423176825047,
0.031307101249694824,
-0.020583316683769226,
0.07951121777296066,
-0.0033732298761606216,
0.030460486188530922,
0.015027408488094807,
-0.006040947511792183,
-0.03615749627351761,
-0.04063750058412552,
0.011799690313637257,
-0.005048821214586496,
0.05330144241452217,
-0.014912762679159641,
0.0010097642662003636,
-0.05732285976409912,
-0.018166936933994293,
0.017064575105905533,
0.002927875379100442,
0.027197493240237236,
0.01692347228527069,
-0.06642396748065948,
-0.02488694153726101,
0.07605420798063278,
-0.028361588716506958,
-0.06621231138706207,
0.004462364129722118,
-0.00031996078905649483,
0.016914652660489082,
-0.012064257636666298,
-0.029807887971401215,
0.01747906394302845,
-0.04614049196243286,
-0.029984265565872192,
0.04204852506518364,
-0.024710562080144882,
0.018078748136758804,
-0.08310932666063309,
0.02118300274014473,
0.00787086971104145,
0.006406932137906551,
0.019189929589629173,
-0.033423636108636856,
-0.0010477957548573613,
-0.029966628178954124,
0.02583938278257847,
-0.010300477035343647,
-0.022629301995038986,
-0.024675287306308746,
0.0015829928452149034,
-0.009480318985879421,
-0.009383311495184898,
-0.021288828924298286,
0.055559080094099045,
-0.04215434938669205,
-0.015653550624847412,
-0.03599875792860985,
-0.07019845396280289,
-0.04931529983878136,
-0.007487247698009014,
0.03164222091436386,
-0.07302050292491913,
-0.05344254523515701,
-0.06480129063129425,
0.012752131558954716,
-0.018449142575263977,
-0.04977388307452202,
-0.04293041303753853,
-0.09044665843248367,
-0.015935756266117096,
-0.0478689968585968,
0.020600954070687294,
0.0106267761439085,
-0.03640442714095116,
-0.009568508714437485,
0.00036047259345650673,
-0.038238756358623505,
0.010582681745290756,
-0.050126638263463974,
0.04882143810391426,
0.012602210976183414,
0.009577327407896519,
0.048398133367300034,
-0.060744594782590866,
0.007787090260535479,
-0.021994341164827347,
0.03905009850859642,
-0.04275403544306755,
-0.024622373282909393,
0.005022364668548107,
0.010291658341884613,
-0.0516434870660305,
0.021712135523557663,
-0.020283473655581474,
-0.009859532117843628,
0.0007931499858386815,
-0.03954395651817322,
-0.00811338983476162,
-0.01922520622611046,
0.031377650797367096,
-0.02583938278257847,
0.03520505502820015,
-0.009780162014067173,
0.020971348509192467,
0.026915287598967552,
0.06585955619812012,
-0.028414500877261162,
0.02181796357035637,
-0.029560958966612816,
-0.0018938591238111258,
0.0440945103764534,
0.040037814527750015,
0.013087250292301178,
0.012205359525978565,
0.04046111926436424,
0.06547152996063232,
0.04314206540584564,
0.01012409944087267,
-0.0034592142328619957,
0.10180540382862091,
-0.02377575822174549,
0.08811846375465393,
0.0025376388803124428,
0.05443026125431061,
0.014480636455118656,
0.04504695162177086,
0.02504568174481392,
-0.0024825208820402622,
-0.02213544398546219,
-0.018396228551864624,
-0.01873134635388851,
0.015653550624847412,
-0.019242843613028526,
0.05386584997177124,
-0.06518932431936264,
0.016588354483246803,
-0.03679245710372925,
0.039967261254787445,
0.014577644877135754,
0.020742056891322136,
0.023370089009404182,
0.012020163238048553,
-0.019736701622605324,
0.030583951622247696,
-0.012514021247625351,
-0.021994341164827347,
-0.023246625438332558,
-0.02165922336280346,
-0.00020076781220268458,
-0.05361892282962799,
0.00964787881821394,
0.007998744025826454,
-0.020442213863134384,
-0.0290494617074728,
0.01772599294781685,
0.04007308930158615,
-0.03522269427776337,
-0.03241828456521034,
-0.012302367947995663,
-0.008902681060135365,
0.06476601213216782,
0.0392264761030674,
-0.023176074028015137,
-0.01929575763642788,
0.03834458440542221,
0.023246625438332558,
0.005820475053042173,
-0.029084738343954086,
-0.1064617782831192,
-0.02952568233013153,
0.02331717684864998,
0.07570145279169083,
-0.0091363824903965,
-0.03365292772650719,
0.0025685052387416363,
0.00795464962720871,
-0.024992767721414566,
0.03150111809372902,
0.056970104575157166,
0.03308852016925812,
-0.05354836955666542,
-0.049562226980924606,
-0.006279057823121548,
0.022646939381957054,
-0.04966805502772331,
0.04049639776349068,
-0.0116938641294837,
-0.04832758009433746,
0.008924728259444237,
0.08007562905550003,
-0.053195614367723465,
0.0011365360114723444,
0.02984316274523735,
-0.01818457618355751,
0.0277089886367321,
-0.01582992821931839,
-0.02211780473589897,
-0.036263324320316315,
0.04197797179222107,
-0.006667089648544788,
-0.021712135523557663,
0.0006994491559453309,
0.016791189089417458,
-0.0034195291809737682,
0.014771660789847374,
0.03584001585841179,
0.09425642341375351,
0.003188032889738679,
0.02377575822174549,
0.011014807969331741,
0.07944066822528839,
-0.05883971229195595,
-0.019648512825369835,
0.008400003425776958,
-0.07704192399978638,
-0.016835283488035202,
0.014568825252354145,
-0.011235280893743038,
0.011094178073108196,
-0.0220472551882267,
-0.011376382783055305,
-0.015186148695647717,
0.011438115499913692,
-0.012558115646243095,
0.03749797120690346,
0.00010196855146205053,
-0.000585354573559016,
0.04487057030200958,
-0.020900797098875046,
0.022029615938663483,
-0.03338836133480072,
-0.02575119212269783,
0.056970104575157166,
0.060356564819812775,
-0.020812608301639557,
-0.010970713570713997,
0.07873515784740448,
-0.02449890971183777,
0.048398133367300034,
0.052243173122406006,
0.02670363523066044,
0.022646939381957054,
-0.05739341303706169,
0.022788042202591896,
0.01346646249294281,
-0.026280326768755913,
-0.04151938855648041,
0.050585221499204636,
-0.02195906452834606,
0.04127246141433716,
-0.024146152660250664,
0.004907718859612942,
-0.0056573254987597466,
-0.013951502740383148,
-0.021218277513980865,
-0.050832148641347885,
-0.10145264863967896,
-0.01811402477324009,
0.0005090159829705954,
0.04197797179222107,
-0.011050083674490452,
0.0419074222445488,
0.024675287306308746,
0.02952568233013153,
-0.004793073050677776,
-0.027444422245025635,
-0.0013162210816517472,
-0.027232768014073372,
-0.0074255154468119144,
0.001463937689550221,
-0.06741168349981308,
0.05975687876343727,
-0.011799690313637257,
-0.04039056971669197,
0.03608694672584534,
-0.04543498158454895,
0.08035783469676971,
0.018837174400687218,
0.09870114922523499,
0.047057658433914185,
0.03961450606584549,
0.03266521170735359,
-0.054465536028146744,
-0.026915287598967552,
0.048398133367300034,
0.005317797884345055,
0.026738910004496574,
0.004947403911501169,
-0.03291214257478714,
0.014815755188465118,
0.03880316764116287,
-0.005961577408015728,
0.009409768506884575,
0.008514649234712124,
-0.003221103921532631,
0.02552190236747265,
-0.030460486188530922,
0.03462300822138786,
-0.08134555071592331,
0.002150709740817547,
-0.03070741519331932,
-0.03229481726884842,
-0.04931529983878136,
0.031060172244906425,
0.014039691537618637,
0.09665516018867493,
0.023599380627274513,
0.009365673176944256,
-0.037215765565633774,
0.00996535923331976,
-0.03573419153690338,
0.029631510376930237,
0.021994341164827347,
-0.05125545710325241,
0.018131662160158157,
0.005555908195674419,
0.011402839794754982,
-0.006265829782932997,
0.005004726815968752,
-0.007932602427899837,
-0.0779590904712677,
-0.0010880320332944393,
0.03031938336789608,
0.0306368637830019,
0.01717040129005909,
0.011923154816031456,
-0.006786144804209471,
-0.020600954070687294,
0.0046387421898543835,
-0.010803154669702053,
-0.009894807823002338,
0.018237488344311714,
0.020424576476216316,
-0.03612222149968147,
0.08684854209423065,
0.030425211414694786,
-0.03375875577330589,
-0.05573545768857002,
0.02038929983973503,
-0.013651659712195396,
0.038309309631586075,
0.013290084898471832,
-0.016112133860588074,
0.004682836588472128,
-0.033670566976070404,
-0.050514668226242065,
0.03215371444821358,
0.01984252966940403,
-0.024692924693226814,
-0.009753705002367496,
0.06159120798110962,
-0.016508983448147774,
-0.004197797272354364,
0.008232444524765015,
-0.007985515519976616,
-0.015239061787724495,
-0.04490584880113602,
-0.05425388365983963,
-0.02448127046227455,
0.002597166458144784,
-0.004674017895013094,
0.05450081080198288,
0.011702682822942734,
0.021482843905687332,
0.025645365938544273,
0.015212605707347393,
0.018096385523676872,
-0.002389922272413969,
0.060920972377061844,
0.07887625694274902,
0.0012633076403290033,
0.0029477179050445557,
-0.025857020169496536,
-0.03213607892394066,
0.06448380649089813,
0.04321261867880821,
0.006869924254715443,
-0.029120013117790222,
0.009912445209920406,
0.03809765726327896,
0.047445692121982574,
-0.024869302287697792,
0.04257765784859657,
-0.058698609471321106,
-0.042965687811374664,
0.028449777513742447,
0.023687569424510002,
-0.008369137533009052,
-0.01820221357047558,
0.03880316764116287,
0.014665833674371243,
0.009824256412684917,
0.0033445684239268303,
0.048010099679231644,
-0.023264262825250626,
-0.013634022325277328,
0.023881586268544197,
0.00811338983476162,
0.001570866908878088,
0.011270556598901749,
0.0013592132600024343,
0.014030872844159603,
0.007862051017582417,
-0.005952758714556694,
-0.0032718125730752945,
-0.007328507490456104,
0.05333671718835831,
-0.03024883382022381,
-0.011958430521190166,
0.007888508029282093,
0.02432253025472164,
0.0035319700837135315,
-0.002381103578954935,
0.000372598588000983,
-0.008840949274599552,
0.06903436034917831,
-0.01591811701655388,
-0.011861423030495644,
0.026580169796943665,
0.0007220475818030536,
0.02575119212269783,
0.005278112832456827,
0.005560317542403936,
-0.05534742772579193,
0.0196132380515337,
-0.00929512269794941,
-0.04151938855648041,
0.04095498099923134,
-0.007531342096626759,
-0.0016700795385986567,
-0.04391812905669212,
-0.04462364315986633,
0.007465200498700142,
0.09778398275375366,
-0.024869302287697792,
-0.06219089403748512,
0.039014820009469986,
-0.07351436465978622,
0.025133870542049408,
-0.02913765050470829,
-0.0022818907164037228,
-0.021800324320793152,
0.013440006412565708,
0.03859151527285576,
0.018166936933994293,
-0.0025111823342740536,
-0.008069295436143875,
-0.01216126512736082,
-0.038873717188835144,
-0.060991525650024414,
-0.0035650411155074835,
0.05316033959388733,
-0.014348353259265423,
-0.009286303073167801,
-0.02000126987695694,
-0.0034305527806282043,
0.009418587200343609,
0.035469621419906616,
-0.0074255154468119144,
0.009665516205132008,
-0.017531976103782654,
0.04843340814113617,
-0.03125418722629547,
-0.026897650212049484,
-0.027991194278001785,
-0.0715036541223526,
-0.018696071580052376,
-0.0314834788441658,
-0.0133077222853899,
-0.028202848508954048,
0.03778017312288284,
0.03566363826394081,
-0.025098593905568123,
0.026121586561203003,
-0.02047749049961567,
0.0032122849952429533,
-0.008479374460875988,
0.13418841361999512,
0.06938711553812027,
0.02654489502310753,
0.01701166108250618,
0.03291214257478714,
-0.018678434193134308,
-0.0007666932651773095,
0.07464318722486496,
0.027444422245025635,
-0.03317670896649361,
0.0017174810636788607,
-0.005833703558892012,
0.054606638848781586,
-0.004085356369614601,
0.02945513091981411,
-0.04254238307476044,
-0.002720631193369627,
-0.04289513826370239,
0.005851341411471367,
0.06180286407470703,
-0.010044729337096214,
0.04906836897134781,
0.025945208966732025,
0.0699162557721138,
-0.01670300029218197,
0.009471500292420387,
-0.03379403054714203,
-0.018449142575263977,
-0.025645365938544273,
0.0017395283794030547,
-0.041554663330316544,
-0.020177647471427917,
-0.04420033469796181,
0.02811465784907341,
-0.007152129430323839,
-0.04116663336753845,
-0.004828348755836487,
0.017108669504523277,
0.011173548176884651,
0.014224888756871223,
-0.011482209898531437,
-0.026103949174284935,
0.039579231292009354,
-0.021147726103663445,
0.0015642526559531689,
0.00009066933125723153,
-0.005617640446871519,
-0.052313726395368576,
-0.0023237806744873524,
-0.017761267721652985,
0.010344571433961391,
-0.02511623129248619,
0.029384581372141838,
0.06561262905597687,
-0.009162838570773602,
-0.05312506482005119,
0.010653233155608177,
-0.024710562080144882,
0.01670300029218197,
-0.08663689345121384,
-0.004416064824908972,
-0.005754333455115557,
0.030830880627036095,
-0.0516434870660305,
-0.04430616274476051,
0.007791499607264996,
-0.016738275066018105,
-0.032241903245449066,
0.02008945867419243,
0.04095498099923134,
0.009427405893802643,
0.10363972932100296,
-0.05534742772579193,
0.010882524773478508,
-0.01654426008462906,
-0.000299567065667361,
0.011517485603690147,
0.011050083674490452,
-0.016050400212407112,
-0.003342363750562072,
-0.026192137971520424,
0.060427114367485046,
0.004347718320786953,
-0.00025409460067749023,
0.02008945867419243,
-0.0037568521220237017,
0.009259846992790699,
-0.03047812357544899,
-0.04966805502772331,
-0.013951502740383148,
0.03852096199989319,
-0.010177012532949448,
0.03954395651817322,
-0.020671505481004715,
-0.017355598509311676,
0.03841513767838478,
0.0233877282589674,
-0.04638742282986641,
-0.025063319131731987,
-0.06635341793298721,
-0.08035783469676971,
-0.025786468759179115,
0.028696706518530846,
-0.002923466032370925,
-0.025468988344073296,
-0.04631687328219414,
0.046493250876665115,
0.04663435369729996,
-0.06677672266960144,
-0.005498585291206837,
-0.051925692707300186,
0.015591817907989025,
0.012822682969272137,
0.0007286617765203118,
0.045470256358385086,
0.046105217188596725,
0.0430009663105011,
0.007778271101415157,
-0.06349609047174454,
0.00456819124519825,
-0.006803782656788826,
0.02543371170759201,
0.03155403211712837,
-0.006111498922109604,
0.05266648158431053,
0.005419215187430382,
0.05291340872645378,
-0.029508044943213463,
-0.0009766933508217335,
-0.06748223304748535,
0.004612285643815994,
-0.04053167253732681,
0.02261166460812092,
0.0011172445956617594,
0.09164602309465408,
0.02261166460812092,
0.02552190236747265,
-0.015053865499794483,
-0.05347782000899315,
-0.0010075594764202833,
0.04042584449052811,
0.03968505933880806,
0.02495749108493328,
0.02520442195236683,
-0.016120951622724533,
0.029349304735660553,
0.007081578020006418,
-0.02566300332546234,
0.06508349627256393,
-0.014454180374741554,
0.003567245788872242,
-0.01788473315536976,
0.04377702996134758,
0.008038428612053394,
0.006693546194583178,
-0.04741041734814644,
-0.007125672418624163,
0.0017957488307729363,
0.048080652952194214,
-0.028996549546718597,
-0.01118236780166626,
-0.024675287306308746,
-0.004144883714616299,
0.030037179589271545,
-0.011596855707466602,
-0.0033622062765061855,
-0.07753578573465347,
0.033194344490766525,
-0.022505836561322212,
-0.05125545710325241,
0.019736701622605324,
-0.05714648216962814,
-0.004850395955145359,
0.02936694212257862,
-0.02834394946694374,
-0.06437798589468002,
-0.08212161064147949,
0.05958050116896629,
-0.03243592008948326,
0.005106144119054079,
-0.023740483447909355,
-0.005234017968177795,
-0.025998122990131378,
-0.06575372815132141,
-0.005454490892589092,
0.06183813884854317,
0.03954395651817322,
0.028061745688319206,
-0.03266521170735359,
0.00019318907288834453,
-0.08155719935894012,
0.052807584404945374,
0.0039486633613705635,
-0.08473201096057892,
-0.03243592008948326,
-0.005617640446871519,
0.03402332216501236,
-0.0032188990153372288,
-0.07189168781042099,
-0.0013338589342311025,
-0.026333240792155266,
-0.002727245446294546,
-0.05573545768857002,
-0.041237182915210724,
-0.08924728631973267,
-0.0516434870660305,
-0.010335752740502357,
0.031007258221507072,
-0.020812608301639557,
0.024146152660250664,
-0.014621739275753498,
0.03292977809906006,
-0.05629986897110939,
0.04010836407542229,
0.011764414608478546,
0.019648512825369835,
-0.011155910789966583,
-0.04857451096177101,
-0.024869302287697792,
0.0007286617765203118,
-0.07294995337724686,
-0.03520505502820015,
-0.01453355047851801,
0.05778144299983978,
0.038238756358623505,
-0.06420160084962845,
-0.002389922272413969,
-0.010953076183795929,
0.035540174692869186,
0.04314206540584564,
-0.052313726395368576,
0.01247874554246664,
0.048786163330078125,
0.0034636235795915127,
0.022100167348980904,
0.019577961415052414,
0.034658282995224,
0.02786772884428501,
0.02245292440056801,
0.0715036541223526,
0.03536379709839821,
0.007826775312423706,
0.019560324028134346,
0.003333544824272394,
0.019260480999946594,
-0.022258907556533813,
0.0024406311567872763,
0.009780162014067173,
0.06116790324449539,
-0.03785072639584541,
0.07044538855552673,
-0.05520632490515709,
0.03608694672584534,
0.0266154445707798,
0.022100167348980904,
0.005811656359583139,
-0.009533233009278774,
0.03472883626818657,
-0.0357518270611763,
-0.01913701742887497,
0.053901128470897675,
0.03333544731140137,
-0.013016698881983757,
0.03749797120690346,
-0.010617957450449467,
-0.009109925478696823,
-0.009665516205132008,
0.025133870542049408,
-0.013731029815971851,
-0.047128211706876755,
-0.06095624715089798,
-0.021288828924298286,
0.02449890971183777,
-0.029225841164588928,
-0.00482393940910697,
0.020459851250052452,
0.05076159909367561
]
|
40,308 | pyglove.core.symbolic.object | _sym_missing | Returns missing values. | def _sym_missing(self) -> Dict[str, Any]:
"""Returns missing values."""
# Invalidate the cache of child attributes' missing values before calling
# `Dict.sym_missing`.
setattr(self._sym_attributes, '_sym_missing_values', None)
return self._sym_attributes.sym_missing(flatten=False)
| (self) -> Dict[str, Any] | [
0.05410323664546013,
-0.05396806076169014,
0.06903991848230362,
0.020512593910098076,
-0.0006690037553198636,
-0.021762950345873833,
0.02166157029569149,
-0.016888251528143883,
0.08137451112270355,
-0.009174908511340618,
0.00030466861790046096,
0.007459893357008696,
0.05454254895448685,
0.010290090925991535,
-0.013931329362094402,
0.013973571360111237,
0.024973323568701744,
0.058597758412361145,
-0.009031286463141441,
-0.02666299417614937,
0.006205313373357058,
0.021053288131952286,
-0.06322745233774185,
0.013137185014784336,
-0.044201768934726715,
-0.021948814392089844,
0.02368917502462864,
-0.021222256124019623,
0.012672525830566883,
-0.008701800368726254,
-0.04372866079211235,
0.009428358636796474,
0.005981431808322668,
-0.029586123302578926,
0.014387540519237518,
-0.048763878643512726,
-0.03808516263961792,
0.014480472542345524,
-0.03832171857357025,
-0.011303892359137535,
0.05096044763922691,
-0.004460728727281094,
-0.04795283451676369,
-0.056164633482694626,
0.0021131436806172132,
-0.014032709412276745,
0.045418329536914825,
0.029163705185055733,
-0.009174908511340618,
-0.020512593910098076,
0.07867103815078735,
0.05021699517965317,
0.030245093628764153,
0.039234139025211334,
-0.013492015190422535,
0.02201640047132969,
-0.043965213000774384,
0.013677879236638546,
-0.022236058488488197,
0.03009302355349064,
-0.0061166053637862206,
0.03345546871423721,
0.0028027400840073824,
-0.06552540510892868,
0.008642662316560745,
-0.00013134544133208692,
0.01127854734659195,
-0.006805146113038063,
-0.007768257986754179,
0.007147304248064756,
-0.01755567267537117,
-0.07252063602209091,
-0.040450699627399445,
0.021222256124019623,
0.04146450385451317,
-0.07279098778963089,
0.020225349813699722,
-0.017657052725553513,
0.04497901722788811,
-0.07238546758890152,
-0.0504535473883152,
0.0022979513742029667,
-0.06735024601221085,
0.0323064923286438,
-0.0444045290350914,
0.08130691945552826,
0.042985204607248306,
-0.00205822940915823,
-0.009909914806485176,
0.05248115211725235,
-0.040450699627399445,
0.03200235217809677,
0.005056337453424931,
0.05126458778977394,
0.03649687394499779,
0.0033899005502462387,
0.007671101950109005,
-0.013880639337003231,
0.06038880720734596,
-0.039200346916913986,
0.05014940723776817,
-0.07225029170513153,
-0.04230933636426926,
0.04278244450688362,
-0.011041994206607342,
-0.03168131411075592,
0.001657988759689033,
-0.09130977094173431,
0.054035648703575134,
0.010399919003248215,
-0.0666743814945221,
0.02063087187707424,
0.013247013092041016,
-0.0028280853293836117,
0.007865414023399353,
-0.04416797682642937,
-0.042072784155607224,
0.0011426393175497651,
0.017927398905158043,
-0.006310917437076569,
-0.004693058785051107,
0.04751352220773697,
-0.013247013092041016,
-0.01540979091078043,
0.026274370029568672,
0.0463983379304409,
-0.006868508644402027,
0.006669972557574511,
0.05744878202676773,
0.07914414256811142,
0.04237692430615425,
-0.005863155238330364,
0.02346951700747013,
0.03438478708267212,
-0.054711516946554184,
0.016457386314868927,
0.07427789270877838,
0.021239152178168297,
0.048797670751810074,
0.023756761103868484,
0.030380267649888992,
-0.04521556943655014,
-0.018214643001556396,
0.014150986447930336,
-0.006851612124592066,
0.03059992380440235,
-0.015004269778728485,
0.06947923451662064,
-0.04737835004925728,
-0.0491018109023571,
0.011565791442990303,
0.025108497589826584,
-0.01511409878730774,
0.00027879554545506835,
0.0021670018322765827,
0.03271201252937317,
0.014717025682330132,
0.022895028814673424,
-0.031563036143779755,
-0.06988475471735,
-0.045823853462934494,
-0.043120380491018295,
-0.0005855762865394354,
-0.07569722086191177,
0.017082564532756805,
0.00846102274954319,
0.04129553586244583,
-0.05930741876363754,
0.02847094088792801,
0.041903816163539886,
-0.04602661356329918,
-0.02576746791601181,
0.010399919003248215,
-0.020546387881040573,
0.02368917502462864,
0.026105402037501335,
-0.004697282798588276,
-0.01719239354133606,
0.03389478102326393,
0.025598501786589622,
0.0410589836537838,
-0.04967629909515381,
-0.07096613943576813,
-0.013948226347565651,
0.05096044763922691,
-0.0031301137059926987,
-0.016127901151776314,
-0.03521272540092468,
0.021002598106861115,
0.02649402618408203,
0.010974407196044922,
0.04129553586244583,
0.023891935124993324,
0.10475954413414001,
0.010796991176903248,
-0.0041924938559532166,
0.009690257720649242,
0.026561612263321877,
-0.04230933636426926,
0.01697273552417755,
-0.03068440780043602,
-0.05359633266925812,
-0.03443547710776329,
0.03811895474791527,
-0.06910750269889832,
-0.05082527548074722,
-0.06231503188610077,
-0.04224175214767456,
-0.019464999437332153,
0.0026633425150066614,
-0.0063362629152834415,
0.010230951942503452,
0.026240576058626175,
-0.026950236409902573,
-0.015071856789290905,
0.007164201233536005,
0.013677879236638546,
0.007548600900918245,
-0.03832171857357025,
0.01164182648062706,
-0.00021279281645547599,
-0.05528600513935089,
0.05234597995877266,
0.005901172757148743,
-0.02598712593317032,
-0.00536892656236887,
0.010332331992685795,
0.01405805442482233,
-0.06153778359293938,
0.01750498265028,
0.000998489442281425,
0.0046677133068442345,
-0.0068009220995008945,
-0.01646583527326584,
0.015426687896251678,
0.01080544013530016,
0.03279649466276169,
-0.0054576341062784195,
0.06011845916509628,
0.005584359634667635,
-0.028859565034508705,
0.01619548723101616,
-0.009377668611705303,
0.04335693269968033,
0.04322176054120064,
-0.014142538420855999,
0.03926793113350868,
0.07657584547996521,
-0.0029252413660287857,
-0.031073031947016716,
0.04829077050089836,
-0.007687998935580254,
0.010247848927974701,
0.02598712593317032,
0.04572247341275215,
-0.08434832841157913,
-0.024753665551543236,
0.049439746886491776,
0.05542117729783058,
-0.015443583950400352,
0.016643250361084938,
0.020478801801800728,
-0.036564458161592484,
0.05930741876363754,
0.013120288029313087,
0.03274580463767052,
0.02309778891503811,
0.0008353306329809129,
-0.0969194769859314,
0.00115953607019037,
0.020090177655220032,
-0.03345546871423721,
-0.041396915912628174,
-0.014742371626198292,
0.0015692810993641615,
0.05248115211725235,
0.024973323568701744,
-0.004870473872870207,
0.008275158703327179,
-0.01285838894546032,
0.0036539114080369473,
-0.03987621143460274,
0.020816735923290253,
0.029231291264295578,
-0.011041994206607342,
0.03582100570201874,
-0.0605577751994133,
-0.07164201140403748,
0.0030329576693475246,
-0.024669183418154716,
0.05427220091223717,
0.028690597042441368,
-0.0149789247661829,
-0.000410273001762107,
0.07704895734786987,
-0.007582394406199455,
-0.06816128641366959,
-0.018248436972498894,
0.02201640047132969,
0.06072674319148064,
0.01637290231883526,
0.04896663874387741,
0.0537990927696228,
0.022844338789582253,
-0.014987373724579811,
-0.03239097446203232,
0.05210942402482033,
0.06488332897424698,
-0.019549481570720673,
0.013094943016767502,
-0.018282229080796242,
0.032661322504282,
0.04683765396475792,
0.02260778471827507,
-0.011658723466098309,
-0.038152750581502914,
-0.019059477373957634,
-0.01760636270046234,
0.02820059284567833,
0.04491142928600311,
-0.016575662419199944,
-0.01292597595602274,
-0.052683912217617035,
0.019431205466389656,
-0.04051828756928444,
0.013627189211547375,
0.024483319371938705,
-0.019921209663152695,
0.009115769527852535,
-0.007692222949117422,
0.016043417155742645,
-0.05369771271944046,
-0.04274865239858627,
0.011295444332063198,
-0.0010264745214954019,
0.05464392900466919,
-0.0061841923743486404,
-0.031106825917959213,
0.0376458503305912,
-0.013669430278241634,
-0.018062572926282883,
-0.00530133955180645,
-0.019532585516572,
-0.010163364931941032,
-0.04197140410542488,
-0.038287922739982605,
0.019887415692210197,
-0.0028238610830157995,
-0.012968217954039574,
0.01922844536602497,
-0.028285076841711998,
0.03646307811141014,
-0.0065179020166397095,
0.021830536425113678,
0.06292331218719482,
-0.008604644797742367,
-0.04967629909515381,
0.05075768753886223,
0.0009916251292452216,
0.0279302466660738,
0.08583524078130722,
0.03500996530056,
-0.036801014095544815,
0.010053536854684353,
0.03916655108332634,
-0.0572122260928154,
-0.0011077899252995849,
0.008575075305998325,
-0.0631936565041542,
-0.05410323664546013,
-0.04126174375414848,
-0.017994986847043037,
-0.028994737192988396,
-0.04399900883436203,
0.011455963365733624,
0.02242192067205906,
0.034807201474905014,
-0.003508177353069186,
0.007379633840173483,
-0.04413418099284172,
-0.024398835375905037,
-0.028285076841711998,
-0.04829077050089836,
0.023266756907105446,
0.008063950575888157,
-0.01127854734659195,
0.03555065765976906,
-0.031208205968141556,
0.015781518071889877,
0.03081958182156086,
0.004010854288935661,
-0.03254304453730583,
-0.0046254717744886875,
0.04332314059138298,
-0.03146165609359741,
-0.029586123302578926,
0.04318796470761299,
-0.065322645008564,
-0.024212971329689026,
-0.04051828756928444,
0.031292688101530075,
-0.04751352220773697,
-0.008207572624087334,
-0.02585195191204548,
0.015916692093014717,
-0.03424961119890213,
-0.0076668779365718365,
-0.012038898654282093,
0.0013401195174083114,
-0.01646583527326584,
-0.001721351407468319,
-0.0009726163116283715,
-0.005994104314595461,
-0.053765300661325455,
0.033235810697078705,
-0.022405024617910385,
0.06735024601221085,
0.01430305652320385,
0.04818939045071602,
0.014041158370673656,
0.007844293490052223,
-0.07731930166482925,
-0.01885671727359295,
0.06322745233774185,
-0.006902302149683237,
0.011895277537405491,
-0.020191557705402374,
-0.012089589610695839,
-0.0019082711078226566,
0.07062821090221405,
0.023841245099902153,
0.02598712593317032,
-0.014607197605073452,
-0.023908831179142,
0.0020550612825900316,
-0.050656307488679886,
0.007544376887381077,
-0.06691093742847443,
-0.02527746371924877,
0.06799232214689255,
-0.05842879042029381,
0.04707420617341995,
0.011658723466098309,
0.052278392016887665,
0.02874128706753254,
0.006619282532483339,
-0.001848076586611569,
0.057381194084882736,
0.0739399641752243,
-0.009571980684995651,
-0.02274295873939991,
-0.04747973009943962,
0.06383573263883591,
-0.04464108124375343,
-0.04616178572177887,
0.04173485189676285,
-0.0027267050463706255,
-0.06407228857278824,
-0.040450699627399445,
0.013280806131660938,
-0.03778102248907089,
0.04643213376402855,
-0.04896663874387741,
0.004473401233553886,
-0.030971651896834373,
0.05755016207695007,
-0.009107321500778198,
-0.061706751585006714,
-0.052143216133117676,
0.025159187614917755,
0.04251210018992424,
0.006454539485275745,
0.020546387881040573,
-0.061436403542757034,
-0.04764869436621666,
-0.05427220091223717,
-0.03213752433657646,
-0.00235286564566195,
-0.05069010332226753,
-0.06900612264871597,
-0.027000928297638893,
0.011793896555900574,
-0.03832171857357025,
-0.05761775001883507,
0.023266756907105446,
0.03443547710776329,
0.0016854458954185247,
-0.0022979513742029667,
-0.013939778320491314,
0.015713931992650032,
-0.017302220687270164,
-0.0094114625826478,
-0.0030266214162111282,
0.004281201399862766,
0.010112674906849861,
0.029400259256362915,
0.053089432418346405,
-0.020833631977438927,
0.029298879206180573,
-0.015713931992650032,
-0.039200346916913986,
0.004243183881044388,
0.02649402618408203,
0.07306133210659027,
-0.028082316741347313,
-0.039200346916913986,
-0.038558270782232285,
-0.01777532882988453,
0.014649439603090286,
-0.006682645063847303,
0.01181924156844616,
-0.026561612263321877,
0.06657300144433975,
-0.015249271877110004,
0.009969052858650684,
-0.005009871907532215,
0.003166019218042493,
-0.038287922739982605,
0.012528903782367706,
0.014717025682330132,
0.012849940918385983,
-0.011565791442990303,
-0.011861483566462994,
-0.03696998208761215,
-0.06187571585178375,
0.023435723036527634,
-0.021458810195326805,
-0.019549481570720673,
-0.018028778955340385,
-0.033370982855558395,
0.031563036143779755,
-0.013339945115149021,
-0.01611100323498249,
0.030887167900800705,
-0.029755089432001114,
0.04470866918563843,
0.04024793952703476,
0.03252614662051201,
-0.08455108851194382,
0.0022895028814673424,
0.05437358096241951,
0.011954415589571,
0.05004802718758583,
0.031833384186029434,
0.040721047669649124,
-0.02179674431681633,
-0.06424125283956528,
-0.007878086529672146,
0.023976417258381844,
0.012241659685969353,
-0.03649687394499779,
0.0009694481850601733,
0.005715309176594019,
-0.03497616946697235,
0.02576746791601181,
-0.03582100570201874,
0.057381194084882736,
0.016524972394108772,
-0.02847094088792801,
0.020292937755584717,
0.04720938205718994,
-0.027643002569675446,
0.055792905390262604,
-0.1076657772064209,
-0.02247261255979538,
-0.01502961479127407,
-0.032880980521440506,
0.026020918041467667,
0.01606031320989132,
0.046634893864393234,
-0.05420461669564247,
0.042174164205789566,
0.031698208302259445,
0.003590548876672983,
0.0424107164144516,
-0.022590888664126396,
-0.003943267278373241,
0.019211549311876297,
-0.012816146947443485,
-0.04116036370396614,
0.04230933636426926,
0.04055207967758179,
-0.010416815988719463,
0.011363031342625618,
0.020225349813699722,
-0.02020845375955105,
-0.03151234611868858,
0.05890189856290817,
0.011591136455535889,
-0.022641578689217567,
-0.046229373663663864,
-0.06876957416534424,
0.007164201233536005,
-0.03673342615365982,
0.00843990221619606,
0.026916444301605225,
-0.0383555106818676,
0.013872191309928894,
-0.02820059284567833,
-0.012664076872169971,
0.03913275897502899,
0.01976913958787918,
0.03435099124908447,
0.03348926082253456,
0.0023296326398849487,
0.011582688428461552,
0.03798378258943558,
0.016313765197992325,
-0.038423098623752594,
-0.012672525830566883,
-0.03298236057162285,
-0.018079468980431557,
-0.00467193778604269,
-0.006551695521920919,
0.020276039838790894,
-0.018400507047772408,
-0.0016632690094411373,
0.028775081038475037,
-0.023114686831831932,
0.008228693157434464,
-0.07022269070148468,
-0.08252348750829697,
-0.08914699405431747,
0.032880980521440506,
0.002574634738266468,
0.0021670018322765827,
0.01899189129471779,
0.09610842913389206,
-0.03578720986843109,
0.007527479901909828,
-0.0004482905787881464,
-0.0005296059534884989,
0.019296031445264816,
-0.024044005200266838,
-0.013069598004221916,
0.0376458503305912,
0.048088010400533676,
-0.00257885898463428,
-0.0011130701750516891,
0.09097183495759964,
-0.026882650330662727,
-0.02314847894012928,
-0.06613368541002274,
0.058766722679138184,
-0.049034226685762405,
0.0370037741959095,
-0.03892999887466431,
-0.0208505280315876,
0.02852163091301918,
-0.0067460075952112675,
-0.0248719435185194,
-0.044472116976976395,
-0.015333755873143673,
-0.06295710802078247,
0.0017319117905572057,
0.0049507333897054195,
-0.07150683552026749,
-0.009639567695558071,
-0.014142538420855999,
-0.009428358636796474,
-0.05890189856290817,
-0.017259979620575905,
-0.08286141604185104,
0.011227857321500778,
0.049439746886491776,
0.01527461688965559,
-0.02003948763012886,
-0.021374326199293137,
0.048358358442783356,
-0.020225349813699722,
-0.012723215855658054,
0.04193761199712753,
0.02820059284567833,
-0.0006288740551099181,
-0.11489756405353546,
0.01831602305173874,
-0.01566324196755886,
0.0672488659620285,
0.05312322452664375,
0.003218821482732892,
0.02760920859873295,
-0.007979466579854488,
-0.026274370029568672,
0.008836974389851093,
-0.01841740310192108,
-0.016820665448904037,
0.012579593807458878,
0.007692222949117422,
0.012731663882732391,
-0.037206534296274185,
-0.02428055927157402,
-0.05210942402482033,
0.050115615129470825,
0.056603945791721344,
-0.051197003573179245,
-0.05069010332226753,
0.00540272006765008,
0.031292688101530075,
0.01836671307682991,
0.00566461868584156,
-0.006813594605773687,
0.0531570203602314,
-0.023993315175175667,
-0.027355758473277092,
0.052683912217617035,
0.02079983800649643,
0.015620999969542027,
0.016094107180833817,
-0.03419892117381096,
0.026325060054659843,
-0.031917866319417953,
0.010687163099646568,
-0.05863155052065849,
-0.0430527925491333,
-0.024263661354780197,
-0.021019496023654938,
0.04606040567159653,
-0.01728532463312149,
-0.017302220687270164,
0.023891935124993324,
0.00037542355130426586,
0.04673627391457558,
0.00649678148329258,
0.05183907598257065,
-0.016330661252141,
0.11489756405353546,
-0.03818654268980026,
-0.04430314898490906,
0.002608428243547678,
0.03784861043095589,
0.02500711753964424,
0.06407228857278824,
-0.004232623614370823,
0.06718128174543381,
0.013078046031296253,
-0.03059992380440235,
-0.017259979620575905,
0.022489508613944054,
-0.03582100570201874,
0.04822318255901337,
-0.008651110343635082,
0.04524936527013779,
0.02450021542608738,
0.029619915410876274,
0.047716282308101654,
0.012174072675406933,
-0.026189886033535004,
0.03994379937648773,
0.002238812856376171,
-0.012824595905840397,
0.03257684037089348,
0.024939529597759247,
0.002992828143760562,
0.015604102984070778,
0.014657887630164623,
0.02401021122932434,
0.0011933294590562582,
0.0165080763399601,
0.030312681570649147,
-0.01831602305173874,
-0.047006621956825256,
-0.021813640370965004,
-0.03862585872411728,
0.09333737194538116,
0.0030160611495375633,
0.00803015660494566,
0.00008949971379479393,
0.002106807427480817
]
|
40,309 | pyglove.core.symbolic.object | _sym_nondefault | Returns non-default values. | def _sym_nondefault(self) -> Dict[str, Any]:
"""Returns non-default values."""
# Invalidate the cache of child attributes' non-default values before
# calling `Dict.sym_nondefault`.
setattr(self._sym_attributes, '_sym_nondefault_values', None)
return self._sym_attributes.sym_nondefault(flatten=False)
| (self) -> Dict[str, Any] | [
0.07101541757583618,
-0.03521496802568436,
0.09209273755550385,
0.0031964685767889023,
-0.027242092415690422,
-0.03068609908223152,
0.004063927568495274,
-0.015971580520272255,
0.10146043449640274,
-0.016522621735930443,
0.0002270891855005175,
0.023746425285935402,
0.011967922560870647,
0.016927292570471764,
-0.010211479850113392,
0.0012613674625754356,
0.001595005509443581,
0.025468427687883377,
-0.008833876810967922,
0.0026626475155353546,
0.030410578474402428,
0.0017069358145818114,
-0.047699492424726486,
-0.012958074919879436,
-0.03471558541059494,
-0.003351448802277446,
-0.014628417789936066,
-0.016023240983486176,
0.010357850231230259,
-0.015205289237201214,
-0.04218908026814461,
-0.010151209309697151,
0.005312379915267229,
-0.010840010829269886,
0.04287788271903992,
-0.060752276331186295,
-0.043497804552316666,
0.10139155387878418,
-0.06319752335548401,
-0.04949037358164787,
0.05217669904232025,
-0.01144271157681942,
-0.06302531808614731,
-0.05048913508653641,
-0.007899690419435501,
0.004356668330729008,
0.0554485060274601,
0.0339062437415123,
0.042740121483802795,
-0.0291362963616848,
0.08589352667331696,
0.027465952560305595,
0.028826335445046425,
0.0637485608458519,
-0.02503792755305767,
-0.020336858928203583,
-0.03177095949649811,
0.042705681174993515,
-0.04501316696405411,
0.03836623206734657,
-0.011967922560870647,
0.014757568016648293,
0.013681315816938877,
-0.09333258122205734,
0.0022493668366223574,
-0.0024710746947675943,
-0.003997200168669224,
0.008696116507053375,
-0.009591558016836643,
0.033596284687519073,
-0.06195767968893051,
-0.08286280184984207,
-0.035783227533102036,
0.015653010457754135,
0.03805627301335335,
-0.08789104968309402,
0.009798198938369751,
-0.01952751725912094,
0.021128980442881584,
-0.054380863904953,
-0.05465638265013695,
-0.016505401581525803,
-0.06987889111042023,
0.03964051604270935,
-0.04604636877775192,
0.041431400924921036,
0.053209900856018066,
0.0072840740904212,
0.00933325756341219,
0.006677067838609219,
-0.022007202729582787,
0.030427798628807068,
0.02291986346244812,
0.06460956484079361,
0.01797771453857422,
-0.013405795209109783,
0.019837478175759315,
-0.0021029964555054903,
0.0610966756939888,
-0.07308182120323181,
0.015050308778882027,
-0.0801764726638794,
-0.03750523179769516,
-0.006367106921970844,
-0.022041641175746918,
-0.04711401090025902,
0.021301180124282837,
-0.05503522604703903,
0.025520088151097298,
0.0031555709429085255,
-0.0861690416932106,
0.008308665826916695,
0.03127158060669899,
-0.005312379915267229,
0.004576223902404308,
-0.022334381937980652,
-0.0499725341796875,
-0.004933539312332869,
0.04866381362080574,
0.022058861330151558,
-0.03960607573390007,
0.027620932087302208,
-0.03130602091550827,
-0.010004838928580284,
0.0062207370065152645,
0.05889251083135605,
0.01457675825804472,
0.03466392681002617,
0.05506966635584831,
0.09767202287912369,
0.04849161207675934,
0.0074304440058767796,
0.0006624331581406295,
0.045598648488521576,
-0.04032931849360466,
-0.0042016878724098206,
0.08527360111474991,
0.06953449547290802,
0.04249903932213783,
0.03970939666032791,
0.03815959393978119,
-0.037608552724123,
-0.011701012030243874,
0.05334766209125519,
-0.02016465924680233,
0.008140770718455315,
0.01144271157681942,
0.053795382380485535,
-0.05234890058636665,
-0.048939332365989685,
0.035714346915483475,
0.051866739988327026,
-0.05820371210575104,
0.02162836119532585,
-0.007955655455589294,
0.04742396995425224,
0.004221060778945684,
-0.01935531757771969,
-0.02353978529572487,
-0.05496634542942047,
-0.03626538813114166,
-0.010159819386899471,
0.016884243115782738,
-0.09112841635942459,
0.03140933811664581,
0.015437759459018707,
0.05045469477772713,
-0.07590590417385101,
0.058616992086172104,
0.032907482236623764,
-0.05407090485095978,
-0.023953065276145935,
-0.011873212642967701,
0.021800560876727104,
0.0640929639339447,
0.0665726438164711,
0.01954473741352558,
-0.032322000712156296,
0.017116712406277657,
0.041362520307302475,
0.04577084630727768,
-0.02700101211667061,
-0.05276218056678772,
0.019148675724864006,
0.038469552993774414,
0.0055190203711390495,
0.019269216805696487,
-0.0152741689234972,
0.014077376574277878,
0.006229347083717585,
0.0006441368605010211,
0.03805627301335335,
-0.0006446749903261662,
0.06440292298793793,
0.014172087423503399,
-0.02090512029826641,
0.017702193930745125,
0.0017133932560682297,
-0.04814721271395683,
0.005454445257782936,
-0.01529138907790184,
-0.05558626726269722,
-0.020991219207644463,
0.011365221813321114,
-0.050936855375766754,
-0.019803037866950035,
-0.03323466330766678,
-0.01762470416724682,
-0.058582551777362823,
0.014809228479862213,
-0.00973792839795351,
0.006758863106369972,
-0.004132807720452547,
-0.019958017393946648,
0.0023569921031594276,
-0.028206413611769676,
0.010685030370950699,
0.02211052179336548,
-0.07425278425216675,
0.04174135997891426,
0.006414462346583605,
-0.02915351651608944,
0.054587505757808685,
-0.006199211813509464,
0.00573427090421319,
-0.007766234688460827,
0.010960550978779793,
-0.014731737785041332,
-0.02564062923192978,
0.0008529297774657607,
0.004739813972264528,
-0.006608187686651945,
-0.04738952964544296,
-0.02023353800177574,
0.02915351651608944,
-0.023798085749149323,
0.05303770303726196,
-0.03809071332216263,
0.030858298763632774,
0.0202163178473711,
-0.00748640950769186,
0.009824029169976711,
-0.004713984206318855,
0.023918624967336655,
0.019131457433104515,
0.014249577187001705,
0.02646719105541706,
0.05400202423334122,
0.02908463589847088,
-0.03829735144972801,
0.06708924472332001,
-0.030221156775951385,
-0.020009677857160568,
0.0298423171043396,
0.03950275480747223,
-0.017684973776340485,
-0.07590590417385101,
0.06578052788972855,
0.019286436960101128,
-0.019286436960101128,
0.02564062923192978,
0.020285198464989662,
-0.07315070182085037,
0.017047831788659096,
0.05765267089009285,
0.012303713709115982,
0.0004789321683347225,
-0.0030307257547974586,
-0.0637485608458519,
0.01488671824336052,
0.033010803163051605,
-0.035111647099256516,
-0.04866381362080574,
-0.039950475096702576,
-0.025244567543268204,
0.031030498445034027,
-0.004653713665902615,
-0.023264264687895775,
0.01114997174590826,
-0.038538433611392975,
-0.027242092415690422,
-0.005674000829458237,
0.014731737785041332,
0.003951997496187687,
0.019837478175759315,
0.004847439471632242,
-0.0499725341796875,
-0.060821156948804855,
0.014077376574277878,
-0.0349566675722599,
0.07287517935037613,
0.0678124874830246,
-0.0062250420451164246,
0.02164558134973049,
0.04594304785132408,
-0.030927179381251335,
-0.04594304785132408,
-0.028223633766174316,
0.024469666182994843,
0.058823633939027786,
0.003493514144793153,
0.03557658940553665,
0.061475519090890884,
0.03321744501590729,
0.004051012918353081,
0.01109831128269434,
0.053141020238399506,
0.029015755280852318,
0.025365108624100685,
0.02211052179336548,
-0.031030498445034027,
0.014034327119588852,
0.0349566675722599,
0.034422844648361206,
-0.016126560047268867,
-0.011666572652757168,
0.01949307695031166,
-0.03146100044250488,
0.0418446809053421,
0.07039549201726913,
-0.03173651918768883,
0.0014507877640426159,
-0.07776566594839096,
0.000409244850743562,
-0.017573043704032898,
-0.009806809015572071,
-0.0016133018070831895,
-0.02149060182273388,
0.016341811046004295,
0.019940797239542007,
0.016376251354813576,
-0.03182262182235718,
-0.05083353817462921,
0.0035214966628700495,
-0.000957864336669445,
0.046804048120975494,
-0.002049183938652277,
-0.01393100619316101,
-0.011279121972620487,
-0.06367968022823334,
-0.03550770878791809,
-0.012441474013030529,
0.0003532797272782773,
-0.03936499357223511,
-0.05224557965993881,
-0.022351602092385292,
0.02574394829571247,
0.00047059121425263584,
0.019820258021354675,
-0.0015272016171365976,
-0.003327771322801709,
0.035146087408065796,
-0.0080331452190876,
0.04632188752293587,
0.043394483625888824,
0.00043426771298982203,
-0.027242092415690422,
0.0404326356947422,
-0.0008098796824924648,
0.006095891818404198,
0.04845717176795006,
0.044048845767974854,
-0.04108699783682823,
0.020715700462460518,
0.08148519694805145,
-0.02510680817067623,
0.009953179396688938,
0.01861485466361046,
-0.023798085749149323,
-0.0679846927523613,
-0.025433989241719246,
-0.009944569319486618,
-0.026174450293183327,
-0.07948767393827438,
0.024435225874185562,
0.02009577862918377,
-0.027948113158345222,
-0.01322498545050621,
0.003353601321578026,
-0.04380776360630989,
-0.004653713665902615,
-0.04253347963094711,
-0.008170905523002148,
0.0685012936592102,
-0.005648170597851276,
-0.0034052615519613028,
0.03829735144972801,
0.014593977481126785,
0.01938975788652897,
0.0053468202240765095,
-0.01734057255089283,
-0.025847269222140312,
-0.0404326356947422,
0.048284973949193954,
-0.012028193101286888,
-0.02855081483721733,
0.024641867727041245,
-0.04986921697854996,
-0.03270084410905838,
-0.02428024634718895,
-0.0018942035967484117,
-0.0023074843920767307,
-0.011666572652757168,
-0.025468427687883377,
-0.010865841060876846,
-0.010125379078090191,
0.008868317119777203,
-0.00799870491027832,
0.01952751725912094,
-0.00784802995622158,
-0.005015334580093622,
0.03753967210650444,
-0.008786521852016449,
-0.05300326272845268,
0.06808800995349884,
-0.022782104089856148,
0.06598716229200363,
0.051763419061899185,
0.06615936756134033,
-0.022420482710003853,
-0.018959255889058113,
-0.03795295208692551,
0.008356020785868168,
0.04191356152296066,
0.023160943761467934,
0.03306246176362038,
0.013044174760580063,
-0.03623094782233238,
-0.02994563803076744,
0.06860461086034775,
0.018287675455212593,
0.0034892091061919928,
-0.02095678076148033,
-0.0188042763620615,
0.04387664422392845,
-0.04594304785132408,
0.025502867996692657,
-0.07914327085018158,
-0.041362520307302475,
0.046253006905317307,
-0.06051119416952133,
0.026863250881433487,
-0.010090939700603485,
0.021783340722322464,
0.04146583750844002,
0.012243443168699741,
-0.02572673000395298,
0.08327607810497284,
0.06547056138515472,
-0.012648114003241062,
-0.01938975788652897,
-0.04229240119457245,
0.09767202287912369,
-0.03344130516052246,
-0.054380863904953,
0.027999773621559143,
-0.035783227533102036,
-0.04721733182668686,
0.0031211308669298887,
0.0015132103580981493,
-0.0026712575927376747,
0.028120312839746475,
-0.018322115764021873,
-0.002320399507880211,
-0.02080179937183857,
0.05689498782157898,
-0.009272987954318523,
-0.044703204184770584,
-0.03561102971434593,
0.011726842261850834,
0.03984715789556503,
0.00005041568147134967,
0.00932464748620987,
-0.09650106728076935,
-0.019579177722334862,
-0.015532469376921654,
-0.03795295208692551,
-0.025571748614311218,
-0.046769607812166214,
-0.07011997699737549,
-0.04032931849360466,
0.015756329521536827,
-0.03598986938595772,
-0.05024805665016174,
0.023436464369297028,
0.006715812720358372,
-0.0009761606343090534,
-0.013689925894141197,
-0.013870736584067345,
0.03177095949649811,
-0.002052412601187825,
0.040639277547597885,
-0.002369906986132264,
0.0075638992711901665,
0.008416291326284409,
0.026897691190242767,
0.04528868570923805,
-0.01734057255089283,
0.01875261589884758,
-0.011201631277799606,
-0.0418446809053421,
-0.01279448438435793,
-0.01808103360235691,
0.06615936756134033,
-0.030410578474402428,
-0.024641867727041245,
-0.08403375744819641,
-0.012880584225058556,
-0.00591077608987689,
-0.019751377403736115,
0.03197760134935379,
-0.039296116679906845,
0.05465638265013695,
-0.026191670447587967,
0.021817781031131744,
-0.02915351651608944,
0.040019355714321136,
-0.030703319236636162,
0.02698379196226597,
-0.017702193930745125,
0.008640151470899582,
-0.004178010392934084,
-0.04528868570923805,
-0.014327066950500011,
-0.028292514383792877,
0.028292514383792877,
-0.03273528069257736,
0.011382441967725754,
0.003047945909202099,
-0.010383679531514645,
0.04181024059653282,
-0.010633369907736778,
-0.019579177722334862,
0.06367968022823334,
-0.038676194846630096,
0.04105255752801895,
0.0415002778172493,
0.03729858994483948,
-0.05286550149321556,
0.006797607988119125,
0.02634664997458458,
0.016746481880545616,
0.037608552724123,
0.032373663038015366,
0.0299284178763628,
-0.003017810871824622,
-0.06312864273786545,
0.05052357539534569,
0.014215136878192425,
-0.015222509391605854,
-0.017805514857172966,
0.007955655455589294,
0.004571918863803148,
-0.07122205942869186,
0.00899746734648943,
-0.03981271758675575,
0.0556207075715065,
0.015454979613423347,
-0.02989397756755352,
0.032270342111587524,
0.04305008053779602,
-0.0038981849793344736,
0.051763419061899185,
-0.09105953574180603,
0.008571271784603596,
0.017151152715086937,
-0.02973899617791176,
0.022041641175746918,
0.00592369120568037,
0.057928189635276794,
-0.05513854697346687,
0.00575579609721899,
0.05947799235582352,
0.0014367965050041676,
0.03964051604270935,
-0.004145722836256027,
0.001595005509443581,
0.0029317105654627085,
-0.04518536478281021,
-0.03130602091550827,
0.03964051604270935,
0.05045469477772713,
-0.017891613766551018,
-0.001681105699390173,
0.01071947067975998,
-0.03481890633702278,
-0.023092065006494522,
0.05765267089009285,
0.00022480214829556644,
-0.04029487818479538,
-0.05255553871393204,
0.012062633410096169,
-0.004653713665902615,
-0.028171973302960396,
-0.036472029983997345,
0.008377546444535255,
-0.038572873920202255,
0.03197760134935379,
0.0035214966628700495,
0.004559003747999668,
0.002905880566686392,
0.01074530091136694,
0.03189150243997574,
0.04645964875817299,
-0.00391109986230731,
-0.006268091965466738,
0.03526662662625313,
0.0003578538016881794,
-0.01455092802643776,
-0.00552763044834137,
-0.04911153391003609,
-0.01114997174590826,
-0.002731527667492628,
-0.003004895756021142,
0.01455092802643776,
-0.019923578947782516,
-0.00897163711488247,
0.029515136033296585,
-0.02422858588397503,
-0.0305483378469944,
-0.08024535328149796,
-0.022782104089856148,
-0.0723930150270462,
0.012036803178489208,
-0.014197916723787785,
-0.01740945316851139,
0.015592739917337894,
0.09078401327133179,
-0.006629712879657745,
0.04986921697854996,
0.00941074825823307,
-0.012372593395411968,
0.004632188938558102,
-0.007925519719719887,
-0.019820258021354675,
0.02505514770746231,
0.03182262182235718,
0.002146046608686447,
0.001727384515106678,
0.09574338048696518,
0.0015358116943389177,
-0.015721889212727547,
-0.00782219972461462,
0.04098367691040039,
-0.051005735993385315,
0.022386042401194572,
-0.005850506015121937,
-0.008132160641252995,
0.019682496786117554,
-0.02362588420510292,
-0.06195767968893051,
-0.04738952964544296,
-0.0024495497345924377,
-0.07060213387012482,
-0.02493460848927498,
0.004356668330729008,
-0.04222352057695389,
-0.024555766955018044,
0.013362745754420757,
-0.04418660327792168,
-0.07335734367370605,
-0.035817667841911316,
-0.07349509745836258,
0.014482047408819199,
0.027620932087302208,
0.004890489391982555,
-0.028154753148555756,
-0.007327124010771513,
0.0339062437415123,
-0.0582725927233696,
0.028051434084773064,
0.0542086623609066,
0.008963027037680149,
-0.027517613023519516,
-0.08272504061460495,
0.02426302619278431,
-0.002456007292494178,
0.07618142664432526,
0.04942149296402931,
-0.0038508297875523567,
0.046804048120975494,
-0.01493837870657444,
-0.030875518918037415,
0.006931063253432512,
-0.021714461967349052,
-0.02293708361685276,
0.002496904693543911,
-0.0011257596779614687,
0.025313448160886765,
-0.029342936351895332,
-0.01744389347732067,
-0.06257759779691696,
0.05021361634135246,
0.04442768543958664,
-0.053209900856018066,
-0.04212019965052605,
-0.000017035052223945968,
0.03946831449866295,
0.01453370787203312,
0.0372641496360302,
-0.005828981287777424,
0.04566752538084984,
-0.033544622361660004,
-0.025313448160886765,
0.05066133663058281,
-0.009505458176136017,
0.019648058339953423,
-0.006470427382737398,
0.0068105231039226055,
0.032270342111587524,
-0.004890489391982555,
0.02781035378575325,
-0.05513854697346687,
-0.03939943388104439,
-0.038676194846630096,
0.0016972494777292013,
-0.0194241963326931,
-0.017099492251873016,
-0.04880157485604286,
0.036540910601615906,
-0.014860888011753559,
-0.005983961280435324,
-0.008308665826916695,
0.05534518510103226,
0.010796960443258286,
0.07831671088933945,
-0.04742396995425224,
-0.024693526327610016,
0.024504106491804123,
0.028654133901000023,
0.0340784452855587,
0.044909846037626266,
-0.004326533060520887,
0.021318400278687477,
-0.0036226643715053797,
-0.028877995908260345,
0.02369476482272148,
-0.02627776935696602,
-0.05830703303217888,
0.04356668144464493,
-0.02768981270492077,
0.06161327660083771,
0.02908463589847088,
0.06450624018907547,
0.03128879889845848,
-0.0019749226048588753,
-0.01317332498729229,
0.04356668144464493,
0.03318300470709801,
0.005290855187922716,
0.0028176279738545418,
0.04580528661608696,
0.001507829176262021,
-0.021714461967349052,
0.01574772037565708,
0.008248395286500454,
0.002632512478157878,
0.01693590171635151,
0.019803037866950035,
-0.0115202022716403,
-0.03199481964111328,
-0.023436464369297028,
-0.058582551777362823,
0.06020123511552811,
-0.0072539388202130795,
-0.008876927196979523,
0.015532469376921654,
-0.010039279237389565
]
|
40,310 | pyglove.core.symbolic.base | _sym_parent_for_children | Returns the symbolic parent for children. | def _sym_parent_for_children(self) -> Optional['Symbolic']:
"""Returns the symbolic parent for children."""
return self
| (self) -> Optional[pyglove.core.symbolic.base.Symbolic] | [
0.033725932240486145,
-0.061721321195364,
0.06923844665288925,
0.03252926096320152,
-0.050698451697826385,
0.017360175028443336,
0.047630928456783295,
0.07766571640968323,
0.08831778168678284,
-0.02445593662559986,
0.0209501925855875,
-0.03274836763739586,
0.028433607891201973,
0.010357114486396313,
-0.009286850690841675,
-0.005654697772115469,
0.026967262849211693,
0.009522814303636551,
-0.028281915932893753,
0.018641119822859764,
0.007921633310616016,
0.005410307087004185,
0.005427161697298288,
-0.1200043186545372,
-0.05221536010503769,
0.07153066247701645,
-0.0029495442286133766,
0.04173183813691139,
-0.075440913438797,
-0.05649641528725624,
0.004186246078461409,
0.038091257214546204,
-0.01505953073501587,
-0.023174989968538284,
0.06232808530330658,
0.06408095359802246,
-0.07213742285966873,
0.05838412418961525,
-0.009927323088049889,
-0.021556954830884933,
0.005123779643326998,
-0.00757190166041255,
-0.006893506273627281,
-0.024624481797218323,
-0.012952713295817375,
0.03603500500321388,
0.01811862923204899,
-0.005781106650829315,
0.064957395195961,
-0.021573809906840324,
0.06374386698007584,
0.00019303713634144515,
0.007900564931333065,
-0.02870327979326248,
-0.05110296234488487,
0.03640580549836159,
0.008444123901426792,
-0.029293188825249672,
0.007357005961239338,
-0.007639319635927677,
0.039743002504110336,
-0.010879605077207088,
0.007453919854015112,
-0.00805225595831871,
0.002302751410752535,
-0.020967045798897743,
0.052619870752096176,
-0.05838412418961525,
-0.021320991218090057,
0.040316056460142136,
-0.06775524467229843,
-0.07759829610586166,
-0.04125991091132164,
0.0023975581862032413,
0.04550725594162941,
-0.09687989205121994,
0.0011482154950499535,
-0.010079014115035534,
0.05208052322268486,
-0.052619870752096176,
-0.0710587352514267,
-0.003295062342658639,
-0.05285583436489105,
0.005785320419818163,
-0.020680518820881844,
0.03234386071562767,
0.0708564817905426,
0.03525969386100769,
-0.016862966120243073,
0.006354161072522402,
-0.05268728733062744,
-0.004904670640826225,
0.013660604134202003,
0.030759533867239952,
0.0550469234585762,
0.038563184440135956,
0.028416752815246582,
-0.04166442155838013,
0.02693355269730091,
-0.019938919693231583,
0.0021563274785876274,
0.05703575909137726,
-0.0023111787158995867,
-0.014014548622071743,
-0.003158119274303317,
0.01725904829800129,
-0.003276101080700755,
-0.032428134232759476,
0.04520387202501297,
-0.042641982436180115,
-0.08110404014587402,
-0.017082074657082558,
0.004588648211210966,
0.053058087825775146,
-0.0053049661219120026,
-0.03822609409689903,
-0.037821583449840546,
-0.011098713614046574,
0.031652823090553284,
-0.030641552060842514,
-0.04715900123119354,
0.051271505653858185,
-0.013433067128062248,
-0.033152878284454346,
-0.0024481217842549086,
0.06886764615774155,
0.02049511857330799,
-0.031248314306139946,
-0.025989698246121407,
0.00921100564301014,
0.07065422832965851,
0.004474880173802376,
0.020444555208086967,
-0.019551264122128487,
-0.00062151113525033,
0.02533237263560295,
0.051440052688121796,
0.03220902383327484,
-0.03863060474395752,
0.005637843161821365,
0.029512297362089157,
-0.0074707744643092155,
-0.018523138016462326,
-0.000869588868226856,
-0.060372959822416306,
0.031821370124816895,
-0.003535239491611719,
0.018405156210064888,
-0.054642416536808014,
-0.008233441971242428,
-0.024236826226115227,
-0.0099526047706604,
0.0584852509200573,
0.05659754201769829,
-0.003653221298009157,
0.03906882181763649,
-0.06347419321537018,
-0.0022732559591531754,
0.01294428575783968,
-0.028062807396054268,
-0.012076277285814285,
-0.02251766435801983,
0.0012609302066266537,
-0.0600021593272686,
-0.01901192031800747,
-0.029461733996868134,
-0.02224799059331417,
-0.055619977414608,
0.017596138641238213,
0.0459117628633976,
-0.014680303633213043,
-0.010609932243824005,
-0.026444772258400917,
-0.0016675458755344152,
-0.061957284808158875,
0.016197212040424347,
0.05312550812959671,
0.031046060845255852,
-0.008064896799623966,
0.03718111291527748,
0.055518850684165955,
-0.003849155269563198,
-0.006156120449304581,
0.026967262849211693,
0.10079014301300049,
0.03290006145834923,
0.009834622964262962,
0.012017286382615566,
0.09094709157943726,
-0.002399665070697665,
-0.06708106398582458,
0.05558626726269722,
0.03160225972533226,
0.018388301134109497,
-0.006826088298112154,
-0.044394854456186295,
0.02883811667561531,
0.007630892563611269,
-0.060642629861831665,
-0.0037543484941124916,
-0.0038723303005099297,
0.007858429104089737,
-0.011376813985407352,
0.005671552382409573,
-0.012977994978427887,
0.03802384063601494,
-0.03042244166135788,
0.0018487322377040982,
-0.06586753576993942,
0.036945149302482605,
-0.04008009284734726,
0.012236394919455051,
-0.009185723960399628,
-0.01592753827571869,
-0.0336248055100441,
-0.051136672496795654,
-0.02605711668729782,
0.0033940826542675495,
-0.017360175028443336,
-0.00783314649015665,
-0.005979147739708424,
0.008494687266647816,
0.022264845669269562,
-0.024641335010528564,
-0.030489860102534294,
-0.06674397736787796,
-0.0031412646640092134,
-0.006687038112431765,
0.007357005961239338,
0.004491734784096479,
-0.001935111708007753,
-0.05679979547858238,
0.014014548622071743,
-0.06185615807771683,
-0.010154860094189644,
-0.04436114430427551,
-0.026394207030534744,
0.029192062094807625,
-0.03687773272395134,
0.033422552049160004,
-0.04385551065206528,
-0.014806712046265602,
0.02196146361529827,
0.05720430612564087,
0.01162120420485735,
0.020747937262058258,
0.0634404867887497,
-0.001856106100603938,
0.009935750626027584,
-0.0026314149145036936,
0.046585943549871445,
-0.07058680802583694,
-0.027186371386051178,
-0.01859055645763874,
0.024354808032512665,
-0.04196780174970627,
-0.013256094418466091,
0.002041506115347147,
0.026090826839208603,
0.005646270699799061,
-0.01769726537168026,
0.058013323694467545,
0.0302876066416502,
-0.03478776663541794,
-0.05090070888400078,
0.017629846930503845,
-0.02823135256767273,
-0.03160225972533226,
-0.09957661479711533,
0.008654805831611156,
0.014435912482440472,
-0.0019003492780029774,
-0.017495011910796165,
0.0025260739494115114,
0.01580112986266613,
-0.05154117941856384,
-0.04196780174970627,
0.04415889084339142,
-0.04122620075941086,
-0.03842834755778313,
-0.0156662929803133,
0.004698202479630709,
-0.00043295096838846803,
0.018978210166096687,
-0.04415889084339142,
-0.014174667187035084,
-0.02314128167927265,
-0.053765978664159775,
-0.023326681926846504,
-0.006619620136916637,
0.025838008150458336,
0.029950516298413277,
-0.026107680052518845,
-0.008806496858596802,
0.07692411541938782,
-0.015337630175054073,
-0.010694204829633236,
-0.01023070514202118,
0.02211315557360649,
-0.0069145746529102325,
0.0403834767639637,
0.006788165308535099,
0.06340677291154861,
0.02280419133603573,
-0.0360012948513031,
0.04405776411294937,
0.0166691392660141,
0.02957971580326557,
-0.0009027712512761354,
-0.006910360883921385,
-0.04291165620088577,
0.05400194227695465,
0.004017700906842947,
0.013020130805671215,
-0.03674289584159851,
-0.011629631742835045,
0.02898980677127838,
-0.07065422832965851,
0.062395501881837845,
0.07786796987056732,
-0.054945796728134155,
-0.007677242625504732,
-0.04129362106323242,
-0.019871501252055168,
-0.009826196357607841,
0.040316056460142136,
-0.01695566624403,
-0.022585082799196243,
0.0014768789988011122,
0.019635537639260292,
0.021759210154414177,
-0.0016896674642339349,
-0.00007709634519414976,
-0.04823768883943558,
-0.03482147678732872,
0.038259804248809814,
0.0584852509200573,
0.0300010796636343,
-0.006362588610500097,
-0.06886764615774155,
0.044260017573833466,
-0.002738862531259656,
0.021691791713237762,
0.0027746784035116434,
-0.061721321195364,
-0.020579392090439796,
0.07254193723201752,
-0.012556631118059158,
0.0339956060051918,
0.024978427216410637,
-0.02663017064332962,
0.05521547049283981,
-0.016913529485464096,
-0.008600028231739998,
-0.01237123180180788,
0.02283789962530136,
-0.058316703885793686,
0.04142845794558525,
-0.035799041390419006,
0.010711058974266052,
0.10719486325979233,
-0.015725284814834595,
-0.01977037452161312,
0.035023730248212814,
-0.06044037640094757,
-0.012868440710008144,
0.0020741617772728205,
0.039271075278520584,
0.009253141470253468,
-0.020680518820881844,
-0.02401771768927574,
-0.004727697931230068,
0.03072582371532917,
-0.048675909638404846,
-0.012716749683022499,
0.09020549058914185,
0.01074476819485426,
0.011579068377614021,
0.04166442155838013,
-0.07483415305614471,
0.01855684630572796,
-0.022349119186401367,
-0.00849890150129795,
0.02678186260163784,
-0.027304353192448616,
-0.025382936000823975,
0.05255245044827461,
-0.024034572765231133,
0.051709726452827454,
-0.0026440557558089495,
-0.000054645573982270434,
-0.033843912184238434,
0.036776602268218994,
0.016888247802853584,
0.005578852258622646,
-0.03264724090695381,
0.024793026968836784,
0.008161810226738453,
-0.025686318054795265,
-0.015598875470459461,
0.03603500500321388,
-0.042776819318532944,
0.04503532871603966,
-0.04122620075941086,
-0.007597183343023062,
-0.053159214556217194,
0.01855684630572796,
0.004377966281026602,
-0.018539993092417717,
-0.02634364366531372,
-0.028905533254146576,
-0.03627096861600876,
-0.017309611663222313,
-0.0009654490277171135,
0.0007300121942535043,
-0.05882234126329422,
0.08292432874441147,
0.06300226598978043,
0.05804703012108803,
-0.042810529470443726,
-0.014865702949464321,
-0.02106817439198494,
0.010449813678860664,
0.030388733372092247,
0.038664311170578,
0.029529152438044548,
-0.007437065243721008,
0.016289912164211273,
-0.036338385194540024,
0.008511542342603207,
-0.020242301747202873,
0.016028666868805885,
0.07449705898761749,
-0.003486782778054476,
0.001554831163957715,
0.03718111291527748,
0.01684611104428768,
-0.01640789397060871,
-0.06428321450948715,
0.055822230875492096,
0.0360012948513031,
0.00760561041533947,
-0.08049727976322174,
0.0156662929803133,
0.06313709914684296,
0.033574242144823074,
0.02093333750963211,
0.04682190716266632,
-0.019264737144112587,
0.011081859469413757,
-0.004660279955714941,
-0.06664284318685532,
0.057575102895498276,
-0.004660279955714941,
-0.06630575656890869,
0.012817876413464546,
0.050563614815473557,
-0.02283789962530136,
-0.022500809282064438,
0.012312240898609161,
0.005688406992703676,
0.047900598496198654,
0.10409363359212875,
-0.01610451191663742,
-0.055384013801813126,
0.02472560852766037,
0.00870536919683218,
-0.027843698859214783,
-0.02046141028404236,
-0.043080199509859085,
0.07800280302762985,
0.0072348108515143394,
-0.01345834881067276,
-0.014874130487442017,
-0.019972627982497215,
-0.06556415557861328,
-0.02927633374929428,
-0.060372959822416306,
-0.02882126159965992,
-0.054642416536808014,
-0.06836201250553131,
-0.009961032308638096,
0.009994741529226303,
-0.018792809918522835,
0.009320559911429882,
-0.029158351942896843,
0.009489105083048344,
-0.04624885320663452,
-0.005047934595495462,
0.004150430206209421,
-0.002416519448161125,
0.07840731739997864,
-0.0028083876240998507,
0.0681934654712677,
0.02750660665333271,
0.046451110392808914,
0.024624481797218323,
-0.056833505630493164,
0.005633629392832518,
-0.026562754064798355,
-0.012463930994272232,
0.0232424084097147,
0.007993265055119991,
0.0212367195636034,
0.009994741529226303,
-0.002129992237314582,
-0.07496898621320724,
-0.0398104190826416,
-0.03525969386100769,
0.04365325719118118,
0.046316273510456085,
-0.021405264735221863,
0.04156329110264778,
-0.03674289584159851,
-0.03224273398518562,
0.03436640650033951,
0.006788165308535099,
0.03940591216087341,
0.04695674404501915,
-0.039574455469846725,
0.02150639146566391,
-0.05369856208562851,
-0.011823458597064018,
-0.04550725594162941,
-0.002660910366103053,
-0.005903302226215601,
0.007875283248722553,
-0.004131468944251537,
0.004955234471708536,
-0.021186156198382378,
0.010298123583197594,
-0.027540316805243492,
-0.06084488332271576,
0.0784747302532196,
-0.03802384063601494,
0.01522807590663433,
-0.032849494367837906,
0.04520387202501297,
-0.03436640650033951,
-0.009387978352606297,
-0.007588756270706654,
0.02824820764362812,
0.018995065242052078,
0.038832858204841614,
0.038698021322488785,
-0.021405264735221863,
-0.03234386071562767,
-0.008890769444406033,
-0.01813548430800438,
0.026293080300092697,
-0.00486253434792161,
0.0029537579976022243,
0.008342997170984745,
-0.01265775877982378,
0.026663880795240402,
0.0377204567193985,
0.03704627603292465,
0.013913421891629696,
-0.008646378293633461,
0.013407785445451736,
0.05049619823694229,
0.021894045174121857,
0.04641740024089813,
-0.11717275530099869,
0.03728223964571953,
-0.037956420332193375,
0.006514279171824455,
0.018219755962491035,
0.05299067124724388,
0.05177714303135872,
-0.019702956080436707,
-0.004752980079501867,
0.030102206394076347,
0.038091257214546204,
0.02270306460559368,
0.004643425345420837,
-0.013441494666039944,
0.03409673273563385,
-0.064957395195961,
-0.009413260035216808,
0.04055202007293701,
-0.01067735068500042,
-0.03252926096320152,
0.018489429727196693,
-0.0027009397745132446,
0.009387978352606297,
-0.00022582447854802012,
0.075440913438797,
-0.06044037640094757,
-0.033287715166807175,
-0.01074476819485426,
-0.008983469568192959,
-0.01580112986266613,
0.029360607266426086,
0.00584852509200573,
-0.018843375146389008,
-0.05497950688004494,
-0.009387978352606297,
0.02459077164530754,
0.024337954819202423,
-0.0212367195636034,
0.007394928950816393,
0.024793026968836784,
0.04961976408958435,
0.07274419069290161,
-0.012261676602065563,
0.016020238399505615,
-0.03920365869998932,
-0.055518850684165955,
-0.04941750690340996,
0.016357330605387688,
-0.004300014115869999,
0.012472358532249928,
-0.04169812798500061,
-0.07739604264497757,
-0.03670918568968773,
-0.03227644041180611,
-0.006160333752632141,
-0.020259154960513115,
-0.028265060856938362,
-0.027877407148480415,
-0.0365743488073349,
-0.02811337076127529,
-0.014242085628211498,
-0.0459117628633976,
0.05174343287944794,
0.036372095346450806,
0.0054524433799088,
-0.011798176914453506,
0.01229538582265377,
0.05197939649224281,
-0.00336248055100441,
0.007158965338021517,
-0.030810097232460976,
-0.011216695420444012,
-0.008187091909348965,
0.016070803627371788,
-0.011739186011254787,
-0.012674612924456596,
0.04142845794558525,
-0.061822447925806046,
-0.01845571957528591,
-0.04769834503531456,
0.03352367877960205,
-0.046316273510456085,
-0.016913529485464096,
-0.004089332651346922,
0.012219540774822235,
-0.06542932242155075,
-0.022585082799196243,
-0.011747613549232483,
0.00446223933249712,
-0.03291691467165947,
-0.049518633633852005,
0.07550833374261856,
-0.010239132679998875,
-0.025517771020531654,
-0.02369748242199421,
-0.018034355714917183,
-0.022500809282064438,
0.05197939649224281,
-0.027304353192448616,
-0.022601936012506485,
0.06091230362653732,
0.01053408719599247,
0.018792809918522835,
0.008949760347604752,
-0.039743002504110336,
0.02167493663728237,
-0.021691791713237762,
-0.013407785445451736,
-0.0004779841983690858,
-0.05588965117931366,
-0.023158136755228043,
-0.016062375158071518,
0.003299275878816843,
0.028012244030833244,
0.04334987327456474,
0.050395071506500244,
0.0056252023205161095,
-0.020815355703234673,
-0.0072938017547130585,
0.019416429102420807,
0.016070803627371788,
-0.0030738464556634426,
0.009413260035216808,
0.04520387202501297,
0.0245739184319973,
0.02239968255162239,
-0.08413785696029663,
0.022012026980519295,
-0.009834622964262962,
0.06944070011377335,
0.05079957842826843,
-0.0038175529334694147,
0.03630467504262924,
-0.05076587200164795,
-0.024911008775234222,
-0.00893290527164936,
0.033574242144823074,
0.07483415305614471,
-0.004811970982700586,
0.0059327976778149605,
-0.024793026968836784,
0.03074267879128456,
-0.020393991842865944,
0.03785529360175133,
0.022939028218388557,
0.026309935376048088,
0.05049619823694229,
-0.015472467057406902,
-0.016441602259874344,
-0.006779738236218691,
-0.05521547049283981,
-0.01067735068500042,
-0.017377030104398727,
0.03704627603292465,
-0.0018381981644779444,
-0.005224906839430332,
-0.003790164366364479,
-0.0006020230357535183,
0.0007589809247292578,
0.08643007278442383,
0.014587603509426117,
0.015126948244869709,
0.0497208908200264,
0.018759101629257202,
-0.025972845032811165,
-0.013551048934459686,
0.03323715180158615,
-0.04173183813691139,
0.0464848168194294,
-0.011713904328644276,
-0.00842305552214384,
0.0371474027633667,
-0.002095229923725128,
0.03217531368136406,
0.0199052095413208,
-0.06880022585391998,
-0.0027704648673534393,
0.005785320419818163,
0.019534410908818245,
-0.038866568356752396,
0.011570640839636326,
0.060507792979478836,
0.018101774156093597,
-0.038866568356752396,
0.03596758469939232,
0.04341729357838631,
-0.011284113861620426,
-0.0022058377508074045,
0.0365743488073349,
0.07058680802583694,
0.0114779407158494,
-0.058754920959472656,
0.014326358214020729,
-0.03630467504262924,
0.030253896489739418,
-0.005106925033032894,
0.0172421932220459,
-0.03207418695092201,
-0.003958710003644228,
-0.01492469385266304,
0.05497950688004494,
0.004318975377827883,
-0.030388733372092247,
0.0033835486974567175,
0.03539453074336052
]
|
40,311 | pyglove.core.symbolic.object | _sym_rebind | Rebind current object using object-form members. | def _sym_rebind(
self, path_value_pairs: Dict[object_utils.KeyPath, Any]
) -> List[base.FieldUpdate]:
"""Rebind current object using object-form members."""
if base.treats_as_sealed(self):
raise base.WritePermissionError(
f'Cannot rebind a sealed {self.__class__.__name__}.')
return self._sym_attributes._sym_rebind(path_value_pairs) # pylint: disable=protected-access
| (self, path_value_pairs: Dict[pyglove.core.object_utils.value_location.KeyPath, Any]) -> List[pyglove.core.symbolic.base.FieldUpdate] | [
0.0476032979786396,
-0.0228158887475729,
-0.04222641885280609,
0.013209198601543903,
-0.052442487329244614,
-0.05194064602255821,
0.025540173053741455,
0.021650897338986397,
0.03276311233639717,
-0.011210791766643524,
-0.0236761886626482,
-0.009857610799372196,
0.05695906654000282,
0.0481409877538681,
-0.05706660449504852,
0.012770086526870728,
-0.019876528531312943,
0.025916554033756256,
-0.043803635984659195,
-0.02862291783094406,
0.010045801289379597,
-0.007980183698236942,
0.03324703127145767,
0.0021048239432275295,
-0.024769486859440804,
0.026149552315473557,
0.016166482120752335,
0.07577814161777496,
0.06807128340005875,
-0.03760230541229248,
-0.0022963753435760736,
0.017080551013350487,
0.012814894318580627,
0.019930297508835793,
0.09843272715806961,
-0.0446280911564827,
-0.03767399489879608,
0.0455600842833519,
0.006622522138059139,
-0.03342626243829727,
0.02830030396580696,
0.017107434570789337,
-0.01785123720765114,
-0.017501739785075188,
0.06907496601343155,
0.05631384253501892,
-0.003062580479308963,
0.08882603049278259,
0.062228407710790634,
-0.024841178208589554,
0.004875036422163248,
0.009436422027647495,
0.009776957333087921,
0.02781638503074646,
0.03663446754217148,
0.004875036422163248,
0.030110519379377365,
0.08058148622512817,
0.009427460841834545,
-0.0471731498837471,
0.004812306258827448,
-0.0465637668967247,
-0.006371601019054651,
-0.08509806543588638,
-0.009893456473946571,
-0.0448431670665741,
-0.01881907507777214,
-0.025809017941355705,
-0.010637258179485798,
-0.0038668718189001083,
-0.06470177322626114,
-0.021077364683151245,
-0.03600716218352318,
-0.0022370056249201298,
-0.026490088552236557,
-0.000459835137007758,
0.030128443613648415,
0.00946330651640892,
0.02326396107673645,
-0.07301801443099976,
-0.00914517417550087,
-0.03304988145828247,
-0.04161703959107399,
0.007048191502690315,
-0.10510005056858063,
0.03658069670200348,
0.020306678488850594,
-0.03677785024046898,
0.013881308026611805,
-0.01885492168366909,
-0.013307774439454079,
0.040219053626060486,
-0.044448863714933395,
0.028873838484287262,
0.019679374992847443,
-0.025898631662130356,
-0.03222542628645897,
-0.07929103821516037,
-0.02407049387693405,
-0.012555011548101902,
0.0067121367901563644,
-0.0465637668967247,
-0.03749476745724678,
0.014902914874255657,
0.01123767625540495,
-0.025755248963832855,
0.0226008128374815,
-0.04961066693067551,
-0.020754750818014145,
-0.0037010847590863705,
-0.014562379568815231,
0.03695707768201828,
0.007774070370942354,
0.039287060499191284,
-0.0454167015850544,
0.02313850075006485,
0.004789902828633785,
-0.030755745247006416,
0.07179924845695496,
-0.011936670169234276,
0.007052672561258078,
0.006635964382439852,
-0.020700981840491295,
-0.013424273580312729,
0.046169463545084,
0.06821466982364655,
0.0034927306696772575,
-0.0018270185682922602,
0.016865475103259087,
0.005327590741217136,
-0.06932588666677475,
-0.011757440865039825,
-0.03598923981189728,
0.03695707768201828,
0.025110023096203804,
-0.010404259897768497,
0.010520759038627148,
-0.0026436320040374994,
-0.03857014328241348,
0.049503128975629807,
0.02263665944337845,
0.03299611061811447,
0.039143677800893784,
0.053697094321250916,
0.035792089998722076,
0.00019939258345402777,
0.014634070917963982,
0.10115700960159302,
-0.039681363850831985,
0.019697299227118492,
-0.030110519379377365,
0.02781638503074646,
0.04968235641717911,
0.09893456846475601,
-0.062228407710790634,
0.06986357271671295,
-0.06925419718027115,
0.0011806729016825557,
-0.030863283202052116,
-0.0017855718033388257,
-0.030899129807949066,
-0.008688139729201794,
-0.03839091211557388,
-0.053087715059518814,
0.022278200834989548,
-0.02715323679149151,
0.04140196368098259,
-0.09742903709411621,
0.00033409459865652025,
0.05172557011246681,
-0.021184900775551796,
-0.0450582429766655,
0.0053634364157915115,
0.05043512210249901,
0.07714028656482697,
0.027027776464819908,
0.006362639833241701,
-0.03575624153017998,
0.03373095020651817,
-0.03667031228542328,
0.015279296785593033,
-0.05484416335821152,
-0.029429448768496513,
0.007321516517549753,
0.02727869711816311,
0.0954216718673706,
-0.014589264057576656,
0.010655181482434273,
0.039717208594083786,
0.01898038201034069,
0.005869759246706963,
0.020306678488850594,
0.05115203931927681,
-0.01798565872013569,
-0.00007673254003748298,
-0.0012590857222676277,
-0.034304484724998474,
0.013021007180213928,
-0.039358749985694885,
0.07463107258081436,
-0.029931290075182915,
-0.026633471250534058,
0.0024599218741059303,
0.012788009829819202,
0.014275612309575081,
0.039824746549129486,
0.020808519795536995,
-0.03831922262907028,
0.006416408345103264,
-0.012563972733914852,
0.030845360830426216,
0.01867569237947464,
0.02715323679149151,
-0.017528623342514038,
0.004359752405434847,
-0.01822761818766594,
0.024877024814486504,
-0.04154535010457039,
0.024285567924380302,
0.0008513391367159784,
0.019267147406935692,
0.053768787533044815,
-0.053625401109457016,
-0.044592246413230896,
0.0060131424106657505,
-0.05584784597158432,
-0.057460907846689224,
-0.004117792937904596,
-0.020629290491342545,
-0.021310362964868546,
0.01906999573111534,
-0.024859102442860603,
-0.06319624930620193,
-0.011793287470936775,
0.07498953491449356,
-0.004875036422163248,
0.026651395484805107,
-0.014974607154726982,
-0.008526833727955818,
0.03328287973999977,
-0.021238669753074646,
0.00226837070658803,
-0.01790500618517399,
0.0468146912753582,
-0.03313949331641197,
-0.034662943333387375,
0.016417402774095535,
0.008540275506675243,
0.00928407721221447,
-0.01797669753432274,
0.04996912553906441,
0.014804339036345482,
-0.04165288433432579,
0.04297918453812599,
-0.024877024814486504,
-0.057532601058483124,
-0.05921735614538193,
0.016399480402469635,
-0.011999400332570076,
-0.024536488577723503,
0.012322013266384602,
-0.004919843748211861,
-0.03265557438135147,
0.0115244435146451,
0.021453745663166046,
0.05154634267091751,
0.024393105879426003,
0.019482223317027092,
-0.05125957727432251,
-0.010207108221948147,
-0.0005575711256824434,
-0.0462411567568779,
-0.025755248963832855,
0.0892561823129654,
-0.0455959290266037,
0.04039828106760979,
0.05165388062596321,
-0.0039788903668522835,
-0.009857610799372196,
-0.02824653498828411,
0.02754754200577736,
-0.021220747381448746,
0.0469580739736557,
0.0060624307952821255,
-0.017089512199163437,
0.0023994320072233677,
0.004216368775814772,
0.01876530610024929,
-0.017528623342514038,
-0.009086924605071545,
0.06903912127017975,
0.026257090270519257,
0.06376978009939194,
0.013684156350791454,
0.044448863714933395,
0.021632974967360497,
-0.0960668995976448,
0.014123267494142056,
0.008266950957477093,
-0.014992529526352882,
-0.021991433575749397,
0.04244149476289749,
-0.011927708983421326,
0.03674200549721718,
0.08022303134202957,
-0.0938444510102272,
0.06810712814331055,
0.010511797852814198,
-0.007585879415273666,
0.030200134962797165,
0.01397988386452198,
0.048678673803806305,
-0.0459902361035347,
0.05140295997262001,
0.014436919242143631,
-0.05154634267091751,
-0.016757939010858536,
0.016032058745622635,
-0.01426665112376213,
0.053231097757816315,
-0.058034442365169525,
-0.03170565888285637,
-0.029752060770988464,
-0.014651994220912457,
-0.010601412504911423,
0.03749476745724678,
0.049359746277332306,
0.007747185882180929,
0.01802150532603264,
-0.015225527808070183,
-0.054019708186388016,
-0.004061783663928509,
0.016489094123244286,
0.03197450563311577,
0.0019502387149259448,
0.0023411824367940426,
0.001104500493966043,
-0.03156227618455887,
-0.011873940005898476,
-0.044090405106544495,
0.011497559025883675,
0.047137301415205,
-0.034089408814907074,
-0.06860896944999695,
-0.015816984698176384,
-0.00448297243565321,
0.006385043263435364,
0.05491585284471512,
0.058357056230306625,
-0.03355172276496887,
-0.0464562326669693,
-0.0064881001599133015,
-0.0231743473559618,
0.03606093302369118,
0.020521752536296844,
-0.026185398921370506,
-0.0463486947119236,
0.027189083397388458,
0.010592450387775898,
-0.05036342889070511,
0.03788907080888748,
-0.026705164462327957,
-0.034591253846883774,
-0.009606690146028996,
0.03720799833536148,
0.005341032519936562,
-0.08165686577558517,
-0.028981376439332962,
-0.0021317084319889545,
-0.017573431134223938,
-0.0464562326669693,
-0.017053667455911636,
0.006586676463484764,
-0.017107434570789337,
-0.03401771932840347,
0.06387731432914734,
0.03763815015554428,
0.021650897338986397,
-0.007025788072496653,
0.0044740112498402596,
0.08724881708621979,
-0.025862785056233406,
0.062443483620882034,
0.035308171063661575,
0.04240565001964569,
0.004839190747588873,
0.07534798979759216,
-0.010475952178239822,
0.05004081502556801,
0.024912871420383453,
0.007845762185752392,
-0.0238016489893198,
-0.020181218162178993,
0.035128939896821976,
-0.004785421770066023,
0.016874438151717186,
0.006161006633192301,
-0.004265657160431147,
-0.02727869711816311,
-0.006362639833241701,
0.008275912143290043,
0.0015436122193932533,
-0.047531608492136,
-0.017241857945919037,
-0.03799660876393318,
0.0024666429962962866,
0.0458110049366951,
0.092625692486763,
-0.0023098173551261425,
-0.010825448669493198,
0.025719402357935905,
-0.013997807167470455,
0.009974109940230846,
-0.029787907376885414,
0.05143880471587181,
-0.0063178325071930885,
0.017456931993365288,
-0.029088912531733513,
0.02727869711816311,
0.053948014974594116,
0.045882698148489,
-0.003313501365482807,
-0.06402070075273514,
0.013433234766125679,
-0.038892753422260284,
-0.02810315228998661,
-0.015082144178450108,
0.008374487981200218,
0.015718407928943634,
0.06090211123228073,
0.014105345122516155,
0.03629393130540848,
0.006532907485961914,
-0.016686245799064636,
-0.002778053982183337,
-0.05878720432519913,
0.014714724384248257,
-0.006389523856341839,
-0.01871153712272644,
0.03138304874300957,
-0.008289354853332043,
-0.014669917523860931,
-0.010529720224440098,
-0.03824752941727638,
0.01384546235203743,
-0.02781638503074646,
-0.02276211977005005,
0.040147360414266586,
0.010171261616051197,
0.006098276469856501,
0.02756546437740326,
-0.03168773651123047,
0.030737822875380516,
0.005923527758568525,
-0.07577814161777496,
-0.019804835319519043,
0.016094790771603584,
-0.053732939064502716,
0.008186297491192818,
-0.014114306308329105,
-0.02299511805176735,
-0.03595339506864548,
0.013997807167470455,
0.02720700576901436,
-0.039394598454236984,
0.00683311652392149,
-0.00455242395401001,
-0.02709946781396866,
-0.009328884072601795,
-0.04201134294271469,
0.01939260959625244,
-0.057317525148391724,
0.014902914874255657,
-0.039322905242443085,
-0.026490088552236557,
0.005040823481976986,
0.015028375200927258,
0.026364628225564957,
-0.07015034556388855,
-0.07477445900440216,
-0.019930297508835793,
-0.031060434877872467,
0.029357757419347763,
-0.0046868459321558475,
0.0038623912259936333,
-0.0234431903809309,
0.022744195535779,
0.014920838177204132,
-0.00896594487130642,
-0.0039408039301633835,
0.023084731772542,
0.0067435018718242645,
-0.05269341170787811,
0.043982867151498795,
-0.0239271093159914,
0.01384546235203743,
-0.06215671822428703,
-0.03279896080493927,
0.00476301833987236,
-0.039788901805877686,
-0.028981376439332962,
-0.04050581902265549,
-0.010682065039873123,
0.017636161297559738,
0.012178629636764526,
0.05118788406252861,
-0.011327290907502174,
-0.008114606142044067,
0.02769092470407486,
-0.03136512637138367,
0.011578211560845375,
-0.02396295592188835,
0.004193965345621109,
0.04222641885280609,
0.025360943749547005,
-0.005775663536041975,
-0.024769486859440804,
-0.019661452621221542,
-0.048606980592012405,
-0.06660160422325134,
0.029196450486779213,
-0.03394602611660957,
-0.016372594982385635,
-0.034627098590135574,
-0.0007225180743262172,
-0.05928904935717583,
-0.02407049387693405,
0.00006273025064729154,
0.017447970807552338,
-0.02301304042339325,
0.04168873280286789,
0.012017323635518551,
0.013074776157736778,
-0.03774568811058998,
0.010932986624538898,
0.05072188749909401,
0.0037794974632561207,
-0.048320215195417404,
-0.0954216718673706,
0.01130040641874075,
0.004843671340495348,
0.011094292625784874,
-0.03584585711359978,
0.019428454339504242,
-0.009382653050124645,
-0.02765507809817791,
-0.00948122888803482,
-0.10689234733581543,
-0.020199140533804893,
-0.06638652831315994,
-0.08603005856275558,
-0.010180223733186722,
-0.008396891877055168,
0.02299511805176735,
-0.01426665112376213,
-0.04211888089776039,
0.008047395385801792,
-0.04176042228937149,
-0.04201134294271469,
0.024106338620185852,
-0.008101163432002068,
-0.021328285336494446,
0.06739021092653275,
-0.0022818129509687424,
0.021149056032299995,
0.030325595289468765,
-0.01165886502712965,
0.039537981152534485,
0.021991433575749397,
0.034806326031684875,
0.004955689888447523,
-0.0116499038413167,
0.057819366455078125,
0.022170662879943848,
0.062479328364133835,
-0.0002195558772655204,
0.027189083397388458,
-0.006931692827492952,
0.016049982979893684,
-0.0932709202170372,
0.015458526089787483,
0.02254704385995865,
-0.04168873280286789,
-0.03629393130540848,
-0.007814397104084492,
-0.004736133851110935,
-0.013056853786110878,
0.09814595431089401,
0.013038930483162403,
-0.03296026587486267,
-0.06735436618328094,
-0.020360447466373444,
-0.029501140117645264,
-0.05677983909845352,
-0.0238016489893198,
0.002860947512090206,
-0.06710344552993774,
0.01787812076508999,
0.010305684059858322,
0.06154733523726463,
0.0062371790409088135,
0.015879714861512184,
0.039036139845848083,
-0.005636760964989662,
-0.04964651167392731,
-0.03154435381293297,
0.03742307424545288,
0.01910584233701229,
0.015368911437690258,
0.029644524678587914,
0.008343122899532318,
0.011381059885025024,
0.048678673803806305,
-0.024930793792009354,
-0.001658991095609963,
0.03158019855618477,
-0.02794184535741806,
0.05516677349805832,
0.006851039361208677,
0.00004421222547534853,
-0.06423577666282654,
-0.034071486443281174,
-0.038534294813871384,
0.010431144386529922,
-0.05007666349411011,
0.0226008128374815,
0.028981376439332962,
0.04685053601861,
-0.01189186330884695,
-0.010959871113300323,
-0.02279796451330185,
-0.03313949331641197,
0.007361842785030603,
0.0467071533203125,
0.04240565001964569,
0.029232297092676163,
0.012465396896004677,
-0.0015312902396544814,
-0.026472166180610657,
0.024733642116189003,
0.01881907507777214,
-0.05660060793161392,
0.01881907507777214,
0.048356059938669205,
-0.07936272770166397,
0.03346210718154907,
0.034878019243478775,
-0.08007964491844177,
-0.016023097559809685,
-0.00034725674777291715,
-0.03358756750822067,
-0.0036092298105359077,
-0.04093596711754799,
-0.014356265775859356,
0.058213673532009125,
0.020521752536296844,
-0.029698291793465614,
-0.05964750796556473,
0.0057398178614676,
-0.021901817992329597,
-0.048069294542074203,
-0.01803046651184559,
0.02398087829351425,
-0.020270831882953644,
0.06172656640410423,
0.053231097757816315,
-0.006649406626820564,
0.048714518547058105,
0.044807322323322296,
0.008163893595337868,
0.010592450387775898,
-0.01928507164120674,
-0.04236980155110359,
0.06061534583568573,
-0.038964446634054184,
-0.021113209426403046,
0.03299611061811447,
0.020306678488850594,
0.02783430740237236,
0.03292442113161087,
-0.034376177936792374,
-0.025522250682115555,
-0.012447473593056202,
-0.006434331182390451,
0.014876030385494232,
0.03301403298974037,
0.028551224619150162,
0.04143781214952469,
0.05258587375283241,
-0.058607976883649826,
0.001281489385291934,
-0.06348301470279694,
0.025127945467829704,
-0.013504927046597004,
-0.05208402872085571,
-0.0467071533203125,
0.014858108013868332,
-0.03141889348626137,
0.04032658785581589,
0.024321414530277252,
0.04118689149618149,
0.05480831488966942,
0.0480334497988224,
-0.02396295592188835,
0.04082843288779259,
-0.00455242395401001,
-0.00043211059528402984,
0.01155132707208395,
-0.012501242570579052,
0.009427460841834545,
0.029429448768496513,
-0.0006631483556702733,
-0.00032233266392722726,
-0.03763815015554428,
0.08144178986549377,
-0.021812204271554947,
0.025307174772024155,
-0.0470656119287014,
0.00964253582060337,
-0.006721098441630602,
-0.006931692827492952,
0.015324103645980358,
0.031096281483769417,
-0.01828138716518879,
0.05032758414745331,
0.00003857630508719012,
0.009920340962707996,
0.01919545605778694,
-0.013513888232409954,
0.008222143165767193,
0.0459185428917408,
0.019804835319519043,
-0.06319624930620193,
0.03892860189080238,
0.03735138475894928,
0.007272228132933378,
0.0004561945388559252,
0.07749874144792557,
-0.039502136409282684,
0.09807426482439041,
-0.014410034753382206,
0.021077364683151245,
0.009257192723453045,
0.008056356571614742,
-0.08273223787546158,
0.007030268665403128,
-0.024715717881917953,
-0.016166482120752335,
0.019643530249595642,
0.0019031909760087729,
0.07068803161382675,
0.06455838680267334,
0.0076172444969415665,
-0.017188088968396187,
0.0477108359336853,
-0.05921735614538193,
-0.05477247014641762,
-0.021023595705628395,
0.012832816690206528,
-0.04233395680785179,
-0.013621426187455654,
0.02276211977005005,
0.013755847699940205,
0.05251418054103851,
0.025522250682115555,
0.02715323679149151,
-0.02756546437740326,
0.0060624307952821255
]
|
40,312 | pyglove.core.symbolic.object | _update_children_paths | Update children paths according to root_path of current node. | def _update_children_paths(
self,
old_path: object_utils.KeyPath,
new_path: object_utils.KeyPath) -> None:
"""Update children paths according to root_path of current node."""
self._sym_attributes.sym_setpath(new_path)
self._on_path_change(old_path, new_path)
| (self, old_path: pyglove.core.object_utils.value_location.KeyPath, new_path: pyglove.core.object_utils.value_location.KeyPath) -> NoneType | [
0.047438569366931915,
-0.02570933848619461,
-0.006046355701982975,
0.017856694757938385,
-0.08741892129182816,
0.026139620691537857,
0.016108674928545952,
0.0830443874001503,
0.0685582384467125,
0.02538662776350975,
0.019470252096652985,
-0.047581996768713,
0.09100460261106491,
0.038079939782619476,
-0.05733505263924599,
-0.026085834950208664,
0.022679436951875687,
-0.008977650664746761,
-0.0016785472398623824,
0.008045373484492302,
-0.025906549766659737,
-0.020510099828243256,
0.022069871425628662,
-0.009672376327216625,
-0.041880764067173004,
0.016108674928545952,
0.01116939913481474,
0.05174138769507408,
0.07630331069231033,
-0.06715981662273407,
-0.016305888071656227,
0.006346656940877438,
-0.003489316673949361,
-0.015230183489620686,
-0.0063645849004387856,
0.014620617032051086,
-0.0021480475552380085,
-0.003446736605837941,
0.05249438062310219,
0.02612169086933136,
0.03153607249259949,
0.015266040340065956,
-0.05500435829162598,
-0.02838067151606083,
0.053892794996500015,
0.05776533484458923,
-0.013724196702241898,
0.0814666897058487,
0.02902609296143055,
-0.010515011847019196,
0.007350647822022438,
-0.023880640044808388,
0.014217228628695011,
0.01108872052282095,
0.02465156279504299,
0.027071896940469742,
0.00693381205201149,
0.015266040340065956,
0.02296629175543785,
-0.032289065420627594,
0.07888499647378922,
-0.008202247321605682,
-0.02033081464469433,
-0.030352795496582985,
-0.028488241136074066,
-0.059056177735328674,
0.028972309082746506,
-0.03499625250697136,
-0.03377712145447731,
0.029295019805431366,
-0.101546511054039,
-0.023593785241246223,
-0.010873580351471901,
-0.013320807367563248,
-0.02845238521695137,
0.007538896054029465,
-0.013446306809782982,
0.030908577144145966,
-0.004175078123807907,
-0.0270001832395792,
-0.052530236542224884,
-0.05514778569340706,
-0.011904463171958923,
-0.013016024604439735,
-0.02264358103275299,
0.04037477821111679,
0.06084901839494705,
-0.005755019374191761,
0.0564386323094368,
0.01326702255755663,
-0.023737212643027306,
0.01765948347747326,
0.002989562228322029,
0.021657517179846764,
0.04403217136859894,
-0.027681462466716766,
-0.0009625314269214869,
-0.05084496736526489,
0.020743168890476227,
0.012388530187308788,
-0.002034874400123954,
-0.0035206913016736507,
0.023432429879903793,
0.03612574189901352,
0.03133885934948921,
-0.05604420602321625,
-0.028183458372950554,
-0.03689666464924812,
0.02015153132379055,
-0.014539939351379871,
-0.04747442528605461,
0.027430465444922447,
0.01749812625348568,
0.03718351945281029,
-0.07131920754909515,
0.013715232722461224,
0.014055872336030006,
-0.06135101616382599,
0.025906549766659737,
-0.0387253612279892,
-0.009439307264983654,
0.021424448117613792,
0.020671455189585686,
0.020205317065119743,
0.021747160702943802,
0.021173451095819473,
0.025099772959947586,
0.05604420602321625,
-0.036071959882974625,
-0.02007981762290001,
-0.022858720272779465,
0.01152796670794487,
0.0003123464994132519,
0.016547922044992447,
0.05740676447749138,
-0.031231287866830826,
0.008937311358749866,
-0.01796426624059677,
-0.014002087526023388,
0.021065879613161087,
0.004157149698585272,
-0.010084729641675949,
0.041307054460048676,
-0.005759501364082098,
-0.00817983690649271,
0.01635967381298542,
-0.0019306655740365386,
0.02079695463180542,
-0.13345907628536224,
0.011545895598828793,
-0.045179590582847595,
0.02033081464469433,
0.045502301305532455,
-0.052673663944005966,
0.006127033848315477,
-0.017533984035253525,
-0.03840265050530434,
-0.01839454658329487,
0.0032203905284404755,
-0.012146497145295143,
-0.034476328641176224,
-0.05772947520017624,
0.033579908311367035,
-0.02691054157912731,
-0.012989131733775139,
0.01839454658329487,
-0.020904524251818657,
-0.07282519340515137,
-0.04829913377761841,
0.024292994290590286,
0.02854202687740326,
0.006171854678541422,
-0.03150021284818649,
0.00309265055693686,
0.0007042502984404564,
-0.015283968299627304,
0.04037477821111679,
-0.019380610436201096,
0.06160201132297516,
-0.003081445349380374,
-0.019954318180680275,
-0.0096813403069973,
0.017453305423259735,
0.06916780024766922,
0.05263780802488327,
0.05184895917773247,
-0.06296457350254059,
0.03218149393796921,
-0.010452262125909328,
0.004040615167468786,
-0.05296051874756813,
0.045753300189971924,
0.021388592198491096,
0.031231287866830826,
0.006705224979668856,
0.019649535417556763,
0.014244120568037033,
-0.03363369405269623,
-0.0073147909715771675,
0.111227847635746,
-0.007780929561704397,
-0.02974322997033596,
0.048801127821207047,
-0.0004109527508262545,
0.04560987278819084,
-0.0027027076575905085,
0.005840179044753313,
0.033418554812669754,
-0.029079878702759743,
0.0057953582145273685,
-0.04424731433391571,
0.05633106082677841,
0.017533984035253525,
-0.06626340001821518,
-0.060490451753139496,
-0.013849696144461632,
-0.03619745746254921,
0.009735126048326492,
-0.016252102330327034,
-0.030585864558815956,
0.00687106279656291,
0.0540362223982811,
-0.03829508274793625,
-0.0362512432038784,
-0.03587474673986435,
-0.021890586242079735,
0.04295646771788597,
-0.002292595338076353,
0.02635476179420948,
-0.0278069619089365,
0.006978633347898722,
0.008188800886273384,
-0.013258058577775955,
-0.03094443306326866,
0.040338918566703796,
-0.027340823784470558,
0.018555903807282448,
0.0012561090989038348,
0.0038949467707425356,
0.03158985450863838,
-0.06267771869897842,
-0.06343071162700653,
0.0008891370380297303,
-0.02886473760008812,
-0.02119137905538082,
-0.014701295644044876,
0.04532301798462868,
-0.02266150899231434,
0.01782083883881569,
-0.023073861375451088,
-0.00218726578168571,
-0.05084496736526489,
-0.00822017528116703,
0.013383557088673115,
0.02725118212401867,
-0.02669540047645569,
-0.00995923113077879,
0.06246257573366165,
-0.010255049914121628,
0.007668877020478249,
0.00802296306937933,
0.020348744466900826,
-0.03314962610602379,
0.03650224208831787,
-0.019541965797543526,
0.026085834950208664,
0.05798047408461571,
0.005629520397633314,
-0.04650629311800003,
-0.01627899520099163,
0.10592103749513626,
-0.03297034278512001,
-0.0669088214635849,
0.035014182329177856,
0.036233313381671906,
0.011680358089506626,
-0.013159452006220818,
-0.0076061272993683815,
-0.040195491164922714,
-0.052745379507541656,
0.024526063352823257,
-0.05923546105623245,
0.031876709312200546,
0.04747442528605461,
-0.015346718020737171,
-0.022392582148313522,
-0.04134291037917137,
0.009022471494972706,
-0.02764560654759407,
-0.008457726798951626,
0.02572726644575596,
-0.014351691119372845,
-0.05030711367726326,
0.03451218828558922,
0.0564386323094368,
0.010237121023237705,
-0.052279241383075714,
-0.007561306469142437,
0.006741081830114126,
0.008861116133630276,
-0.01999017596244812,
0.007099649868905544,
0.003016454866155982,
0.005938785616308451,
0.053641799837350845,
-0.005078221671283245,
0.028559954836964607,
0.023665498942136765,
0.018152514472603798,
0.0161176398396492,
-0.045825012028217316,
-0.011752071790397167,
-0.03072929196059704,
-0.02572726644575596,
-0.0021637347526848316,
-0.051633816212415695,
0.026641614735126495,
-0.035265181213617325,
-0.026641614735126495,
0.02151408977806568,
-0.08720377832651138,
-0.00015883448941167444,
-0.09803254157304764,
0.018645545467734337,
-0.03564167767763138,
0.059127893298864365,
0.06977736949920654,
0.04015963524580002,
0.007287898100912571,
-0.012280959635972977,
0.02264358103275299,
0.007888499647378922,
-0.0032203905284404755,
-0.03314962610602379,
-0.01406483631581068,
-0.005934303160756826,
-0.008031927049160004,
-0.04288475215435028,
-0.027681462466716766,
0.024059925228357315,
0.04926726594567299,
0.027376679703593254,
-0.02457984909415245,
-0.019882604479789734,
0.04127119854092598,
0.02725118212401867,
0.06748253107070923,
0.002498771995306015,
-0.04715171456336975,
0.020510099828243256,
-0.054860930889844894,
0.012245102785527706,
-0.05733505263924599,
-0.013580769300460815,
0.008175354450941086,
-0.020187389105558395,
0.003816510085016489,
-0.018663473427295685,
-0.03886878862977028,
-0.028344813734292984,
0.05894860625267029,
0.015050899237394333,
0.0008723291684873402,
-0.008977650664746761,
0.008995579555630684,
-0.026300976052880287,
-0.024472277611494064,
0.03175121173262596,
0.029474303126335144,
-0.03797236829996109,
0.0411277711391449,
0.008005034178495407,
0.04797642305493355,
0.03829508274793625,
-0.0034041565377265215,
0.05181309953331947,
-0.024472277611494064,
0.03015558421611786,
0.0065528335981070995,
0.01635070890188217,
0.003408638760447502,
-0.07408018410205841,
0.01317738089710474,
0.022536009550094604,
0.02312764711678028,
-0.037111807614564896,
0.10914815217256546,
-0.08261410892009735,
0.020259102806448936,
0.00586707191541791,
-0.03340062499046326,
0.009824767708778381,
0.010640510357916355,
0.003047829493880272,
-0.01990053430199623,
-0.04055406153202057,
0.06551040709018707,
0.0016034720465540886,
0.0022051942069083452,
-0.01909375563263893,
-0.0025346288457512856,
0.0005871554021723568,
-0.06981322169303894,
0.0035632711369544268,
0.03718351945281029,
-0.011572787538170815,
0.020671455189585686,
0.04987683147192001,
-0.005454718600958586,
0.03635881468653679,
0.015418431721627712,
-0.0010443298378959298,
-0.0002064568252535537,
0.01523914746940136,
0.04299232363700867,
-0.06583311408758163,
0.03883293271064758,
-0.007978142239153385,
0.07246662676334381,
0.057514335960149765,
-0.00658869044855237,
0.013329772278666496,
0.00871320627629757,
-0.00015561298641841859,
0.06393270939588547,
-0.02362964302301407,
-0.025261128321290016,
0.016252102330327034,
0.006140479817986488,
0.047510284930467606,
0.02538662776350975,
0.03714766353368759,
-0.06913194060325623,
0.024041995406150818,
-0.028398599475622177,
0.017507091164588928,
0.021657517179846764,
-0.028165530413389206,
-0.01342837791889906,
0.01173414383083582,
-0.03531896695494652,
-0.014253084547817707,
-0.011626573279500008,
-0.031069932505488396,
0.017614660784602165,
-0.032217349857091904,
0.007789893541485071,
-0.014217228628695011,
0.016628598794341087,
-0.005634002387523651,
-0.03908393159508705,
-0.022195370867848396,
-0.020528027787804604,
0.015588751062750816,
-0.03718351945281029,
-0.037864800542593,
0.061781298369169235,
-0.03876122087240219,
-0.012980167753994465,
0.012756062671542168,
-0.03270141780376434,
0.03972935304045677,
0.027376679703593254,
0.0034220849629491568,
0.03331098333001137,
-0.04037477821111679,
0.017614660784602165,
-0.0362512432038784,
-0.016413457691669464,
-0.059378888458013535,
0.07716387510299683,
-0.07074549794197083,
-0.03569546341896057,
0.005409897305071354,
0.0005585819599218667,
-0.07881328463554382,
-0.042275186628103256,
-0.016323816031217575,
-0.10018394887447357,
-0.027914533391594887,
-0.01846626028418541,
0.005253023933619261,
0.0491596981883049,
-0.019936390221118927,
-0.010864615440368652,
-0.05095253884792328,
0.027466321364045143,
0.021316878497600555,
-0.03379505127668381,
-0.02739460952579975,
0.01806287094950676,
-0.05095253884792328,
-0.022858720272779465,
0.017363663762807846,
-0.012487136758863926,
0.0022724259179085493,
-0.009537913836538792,
0.010909437201917171,
0.027538035064935684,
-0.024167494848370552,
-0.05923546105623245,
-0.04984097555279732,
0.020420458167791367,
0.059845030307769775,
-0.008045373484492302,
0.07443875074386597,
-0.028165530413389206,
0.012845705263316631,
0.008394977077841759,
0.013482163660228252,
0.04037477821111679,
-0.04367360472679138,
0.023073861375451088,
-0.0197391789406538,
0.006960704922676086,
-0.018573831766843796,
-0.0229842197149992,
0.05665377154946327,
0.051633816212415695,
-0.011752071790397167,
-0.0685223788022995,
-0.04249032959342003,
0.04496444761753082,
-0.047438569366931915,
-0.019846748560667038,
-0.03096236288547516,
-0.02072524093091488,
-0.020420458167791367,
0.0306217223405838,
0.0025391108356416225,
0.007310308516025543,
0.02377307042479515,
0.05296051874756813,
0.045502301305532455,
-0.01588457077741623,
0.07780929654836655,
0.052279241383075714,
-0.037864800542593,
-0.03617952764034271,
-0.0031554000452160835,
0.0070548290386796,
0.030083870515227318,
-0.08053441345691681,
0.033095844089984894,
-0.01342837791889906,
0.004733100067824125,
0.07110407203435898,
-0.06586897373199463,
0.04048234596848488,
-0.0007938923663459718,
-0.02183680236339569,
-0.0016919935587793589,
-0.010497082956135273,
0.05489678680896759,
0.014808865264058113,
-0.029779087752103806,
0.024777060374617577,
-0.03314962610602379,
-0.03539067879319191,
-0.004656904377043247,
-0.058805182576179504,
0.010174372233450413,
0.04127119854092598,
-0.00022480543702840805,
0.06375341862440109,
0.011904463171958923,
-0.03094443306326866,
0.04869356006383896,
0.06543869525194168,
0.035587891936302185,
0.050737395882606506,
0.05798047408461571,
0.021406520158052444,
-0.04295646771788597,
0.015938354656100273,
-0.037362802773714066,
0.0014936605002731085,
-0.03458390012383461,
-0.006848652381449938,
-0.02192644402384758,
0.016628598794341087,
0.05184895917773247,
0.013553877361118793,
0.05776533484458923,
0.021944371983408928,
0.014037944376468658,
0.02967151626944542,
0.09545084834098816,
-0.00878043845295906,
-0.011070792563259602,
-0.08562608063220978,
-0.027753176167607307,
-0.004302818328142166,
-0.008896972984075546,
-0.013589734211564064,
-0.046721432358026505,
-0.046721432358026505,
-0.030101798474788666,
0.011017006821930408,
0.011958248913288116,
-0.008435316383838654,
0.0011356526520103216,
0.035175539553165436,
0.05902032181620598,
-0.034225333482027054,
-0.017695339396595955,
0.04277718439698219,
-0.02750217914581299,
-0.052924662828445435,
0.06726738810539246,
0.03940664231777191,
0.028721310198307037,
0.11079756915569305,
-0.011133542284369469,
-0.030747221782803535,
-0.01467440277338028,
-0.006584207993000746,
-0.031213359907269478,
-0.005172345787286758,
-0.01548118144273758,
-0.06565383076667786,
-0.03858193755149841,
-0.019380610436201096,
-0.024292994290590286,
-0.07508417963981628,
-0.01627899520099163,
0.02280493639409542,
-0.006032909732311964,
-0.05489678680896759,
-0.009708233177661896,
0.018071835860610008,
-0.07637502253055573,
-0.03585681691765785,
-0.029617730528116226,
0.02651611715555191,
-0.05070153996348381,
0.009493092074990273,
-0.02506391517817974,
0.01837661862373352,
0.008471173234283924,
-0.007422361057251692,
-0.01911168359220028,
-0.0229842197149992,
-0.022374654188752174,
-0.028559954836964607,
0.009349665604531765,
-0.0020449592266231775,
-0.04306403920054436,
-0.0330779142677784,
-0.0015452047809958458,
0.00024189346004277468,
-0.019613679498434067,
-0.07838300615549088,
0.00761957373470068,
0.02201608568429947,
0.017238164320588112,
-0.022213298827409744,
-0.05729919299483299,
0.020169459283351898,
-0.00477792089805007,
0.01309670228511095,
-0.010945293121039867,
0.006821759510785341,
0.006225639954209328,
0.08584122359752655,
-0.0010673005599528551,
0.03782894089818001,
0.044211454689502716,
0.04697243124246597,
-0.008390495553612709,
0.015534966252744198,
-0.05475335940718651,
-0.05765776336193085,
0.011707250960171223,
-0.04223933070898056,
-0.0781678631901741,
0.034225333482027054,
0.018663473427295685,
0.02685675583779812,
0.02997629903256893,
-0.07117578387260437,
0.022697364911437035,
-0.04288475215435028,
0.02070731297135353,
0.0038344385102391243,
0.06393270939588547,
0.051956526935100555,
0.024526063352823257,
0.027753176167607307,
-0.009439307264983654,
0.022428439930081367,
-0.04948240891098976,
0.03216356411576271,
0.03972935304045677,
-0.016969239339232445,
0.026426473632454872,
0.0012908454518765211,
-0.039299070835113525,
-0.010004051961004734,
-0.014862651005387306,
0.050988394767045975,
0.026462331414222717,
-0.034942470490932465,
-0.02475913241505623,
0.039370786398649216,
-0.035749245434999466,
-0.0725024864077568,
0.008175354450941086,
-0.06396856158971786,
0.07408018410205841,
-0.0009888637578114867,
-0.007274451665580273,
-0.009439307264983654,
-0.06160201132297516,
0.02411370910704136,
-0.005916374735534191,
0.025117700919508934,
-0.08727549761533737,
0.017291950061917305,
-0.0036641184706240892,
-0.007552342023700476,
-0.0394783578813076,
0.031016146764159203,
0.0015743384137749672,
-0.02040252834558487,
0.019864676520228386,
0.0572274811565876,
0.008085712790489197,
0.028649596497416496,
0.011268004775047302,
-0.0733271911740303,
0.033741265535354614,
0.019613679498434067,
-0.019541965797543526,
0.028649596497416496,
-0.03291655704379082,
-0.01686166785657406,
0.005589181557297707,
-0.010344691574573517,
0.022392582148313522,
0.03883293271064758,
0.00903143547475338,
-0.005701234098523855,
0.020133603364229202,
0.005893964320421219,
-0.03678909316658974,
-0.023181432858109474,
0.06328728049993515,
0.016404494643211365,
-0.011859642341732979,
0.022912506014108658,
0.06988494098186493,
0.005275434348732233,
0.011106649413704872,
0.02314557507634163,
-0.0018421439453959465,
0.004697243217378855,
-0.012675384990870953,
0.041809048503637314,
0.006180819123983383,
-0.004284889902919531,
0.01390348095446825,
0.022141585126519203,
0.03980106860399246,
0.111227847635746,
0.035175539553165436,
-0.029312947764992714,
0.035175539553165436
]
|
40,313 | pyglove.core.symbolic.base | clone | Clones current object symbolically.
Args:
deep: If True, perform deep copy (equivalent to copy.deepcopy). Otherwise
shallow copy (equivalent to copy.copy).
memo: Memo object for deep clone.
override: An optional dict of key path to new values to override cloned
value.
Returns:
A copy of self.
| def clone(
self,
deep: bool = False,
memo: Optional[Any] = None,
override: Optional[Dict[str, Any]] = None
) -> 'Symbolic':
"""Clones current object symbolically.
Args:
deep: If True, perform deep copy (equivalent to copy.deepcopy). Otherwise
shallow copy (equivalent to copy.copy).
memo: Memo object for deep clone.
override: An optional dict of key path to new values to override cloned
value.
Returns:
A copy of self.
"""
return self.sym_clone(deep, memo, override)
| (self, deep: bool = False, memo: Optional[Any] = None, override: Optional[Dict[str, Any]] = None) -> pyglove.core.symbolic.base.Symbolic | [
0.019844282418489456,
-0.08181843161582947,
0.09876802563667297,
-0.02061154879629612,
-0.09625697880983353,
-0.0013961185468360782,
-0.011491548269987106,
0.037072885781526566,
0.011805430054664612,
0.0018462332664057612,
-0.012668604031205177,
0.0444665402173996,
-0.04582669213414192,
0.0389213003218174,
-0.041502103209495544,
-0.011012007482349873,
0.0036423327401280403,
-0.004398699849843979,
-0.05831219628453255,
0.029801299795508385,
0.02894684486091137,
0.06420619040727615,
0.023593422025442123,
-0.02674967423081398,
0.016452619805932045,
0.025720840319991112,
0.03170202672481537,
0.03407357633113861,
-0.05702179670333862,
0.036584626883268356,
-0.03114401549100876,
0.019111892208456993,
-0.00473873782902956,
0.06410156935453415,
0.05726592615246773,
-0.07170446962118149,
-0.04690783843398094,
0.12304152548313141,
-0.05290646106004715,
-0.06741476058959961,
-0.0017612236551940441,
-0.01733323186635971,
0.012607571668922901,
0.005462408997118473,
0.005536519922316074,
-0.005527800880372524,
-0.01415954064577818,
0.01278194971382618,
0.01624336466193199,
-0.08732879161834717,
-0.005475487560033798,
0.015013995580375195,
-0.03742164373397827,
-0.024151433259248734,
-0.014264168217778206,
0.018710821866989136,
0.05848657712340355,
-0.009093843400478363,
-0.043803900480270386,
0.005357781890779734,
-0.07076282799243927,
-0.029993116855621338,
-0.002111070789396763,
-0.035346537828445435,
-0.04069996252655983,
-0.03297498822212219,
-0.04809361323714256,
-0.010453996248543262,
0.0556965209543705,
-0.03156252205371857,
-0.056568410247564316,
-0.01007036305963993,
0.020332543179392815,
-0.003507189219817519,
-0.003180229337885976,
-0.007166959811002016,
0.02847602218389511,
-0.07602906227111816,
0.005288030486553907,
-0.05471999943256378,
-0.10274386405944824,
-0.018117934465408325,
-0.0781913548707962,
-0.003302294295281172,
-0.10950975120067596,
0.06546171754598618,
0.0332539938390255,
0.0037883745972067118,
0.050325658172369,
0.0005634608096443117,
0.024918699637055397,
0.037038009613752365,
-0.0332714319229126,
-0.013322523795068264,
0.000718766706995666,
-0.030463937669992447,
-0.015022714622318745,
0.00023650095681659877,
0.0391305536031723,
-0.011622332036495209,
-0.03192871809005737,
-0.041502103209495544,
-0.09290891140699387,
0.022076329216361046,
-0.023070286959409714,
0.01220650039613247,
0.01337483711540699,
-0.011064320802688599,
0.010453996248543262,
-0.027185620740056038,
-0.07295999675989151,
0.058765582740306854,
-0.02125674858689308,
-0.014333919622004032,
-0.0070536136627197266,
0.0390956774353981,
0.011264855973422527,
-0.025825468823313713,
0.033219121396541595,
-0.0020315104629844427,
-0.05782393738627434,
0.04219961538910866,
0.02169269509613514,
-0.011840305291116238,
0.02167525701224804,
0.07051870226860046,
0.04861674830317497,
-0.01145667303353548,
-0.04882600158452988,
0.03267854452133179,
0.00390825979411602,
-0.006648183334618807,
0.03735189139842987,
0.08711954206228256,
-0.0001504015235695988,
0.01667931117117405,
-0.011883900500833988,
0.0075287953950464725,
-0.025720840319991112,
0.0009732504840940237,
0.010427839122712612,
-0.042618125677108765,
-0.01722860336303711,
0.08398072421550751,
-0.02446531504392624,
-0.03574761003255844,
-0.03470133617520332,
-0.0015803058631718159,
-0.014918087981641293,
0.051999691873788834,
-0.020280228927731514,
0.04683808609843254,
-0.007166959811002016,
0.09883777797222137,
-0.05803319066762924,
0.08997935056686401,
-0.019757093861699104,
0.008509675040841103,
-0.026924053207039833,
0.03496290743350983,
-0.032573919743299484,
0.00555831752717495,
0.018030745908617973,
-0.053290095180273056,
-0.02399449236690998,
-0.028598086908459663,
0.02952229417860508,
-0.11048626899719238,
-0.00697514321655035,
0.0278656966984272,
-0.03393407166004181,
-0.049244511872529984,
0.03804940730333328,
-0.002247303957119584,
-0.008640458807349205,
0.0037033651024103165,
0.015109904110431671,
0.0017187189077958465,
-0.023070286959409714,
-0.012511663138866425,
-0.017498889937996864,
-0.04858187213540077,
-0.07658707350492477,
-0.01904214173555374,
0.012930171564221382,
0.018745698034763336,
-0.007855755276978016,
0.0031366348266601562,
0.04021169990301132,
0.04662883281707764,
-0.031109139323234558,
0.03194615617394447,
0.03996757045388222,
-0.00447281077504158,
0.029748985543847084,
-0.08977009356021881,
0.02336673066020012,
0.002946997992694378,
-0.026435792446136475,
0.09925629198551178,
0.0062950667925179005,
0.009268221445381641,
0.0222332701086998,
-0.022111203521490097,
-0.008575066924095154,
-0.00319984694942832,
-0.0390956774353981,
-0.01886776275932789,
0.02946997992694378,
0.007057973183691502,
-0.019233956933021545,
-0.009555946104228497,
0.028598086908459663,
0.06434569507837296,
0.002905583009123802,
0.020768489688634872,
-0.03013261966407299,
-0.008104244247078896,
-0.006948986556380987,
0.003258699784055352,
0.02673223614692688,
-0.034300267696380615,
-0.059881605207920074,
0.03672412782907486,
-0.04805873706936836,
0.01721988432109356,
-0.022146079689264297,
-0.00952978990972042,
-0.004603594541549683,
-0.02680198848247528,
-0.027464626356959343,
-0.0501861572265625,
0.007398011162877083,
-0.008474798873066902,
0.03641024976968765,
-0.0036924665328115225,
0.014142102561891079,
0.0013797705760225654,
0.009207189083099365,
0.037142638117074966,
-0.02277384325861931,
0.043734148144721985,
0.0501512810587883,
0.015510974451899529,
0.026505544781684875,
-0.007463403511792421,
-0.02293078415095806,
0.01839694008231163,
0.018623633310198784,
-0.019914034754037857,
0.011343326419591904,
-0.019390897825360298,
-0.009555946104228497,
0.009599541313946247,
0.06835640221834183,
0.013993881642818451,
-0.009346691891551018,
0.018274875357747078,
0.0033589673694223166,
0.015955640003085136,
0.02347135730087757,
0.038781795650720596,
0.010506309568881989,
0.0006048757350072265,
0.003644512267783284,
-0.02676711231470108,
-0.04673346132040024,
0.005632427986711264,
-0.03119632788002491,
0.013897973112761974,
0.03968856483697891,
0.0075287953950464725,
0.007066692225635052,
0.05649866163730621,
-0.011552580632269382,
-0.02277384325861931,
0.013008642010390759,
0.01789124310016632,
-0.060997627675533295,
-0.03557322919368744,
0.020942866802215576,
0.014604206196963787,
0.044187530875205994,
-0.08635227382183075,
-0.008740726858377457,
0.00811732280999422,
0.020262790843844414,
-0.015851013362407684,
-0.014342638663947582,
-0.012999922968447208,
0.04830286651849747,
0.0832134559750557,
0.028040075674653053,
0.03393407166004181,
0.03246929123997688,
0.03944443538784981,
-0.05608015134930611,
0.011709521524608135,
-0.024290936067700386,
0.007899349555373192,
0.008444283157587051,
-0.02057667262852192,
-0.008313498459756374,
0.014630363322794437,
-0.018763136118650436,
-0.0388166718184948,
0.028284205123782158,
0.02055923454463482,
0.05503388121724129,
0.08056290447711945,
0.031440459191799164,
0.016871128231287003,
0.0018941872986033559,
0.05677766725420952,
-0.03665437921881676,
-0.043245889246463776,
0.036549750715494156,
-0.08844481408596039,
0.06452007591724396,
0.020506922155618668,
-0.02845858410000801,
-0.02505820244550705,
-0.04638470336794853,
-0.030429063364863396,
-0.012938890606164932,
-0.029626920819282532,
-0.011875181458890438,
0.007476481609046459,
-0.012973766773939133,
0.04192060977220535,
0.030359311029314995,
-0.004913116339594126,
0.04028145223855972,
0.043803900480270386,
0.005815525539219379,
-0.031475335359573364,
-0.0032761376351118088,
-0.029086347669363022,
-0.05140680447220802,
-0.07337851077318192,
0.060927875339984894,
0.03187640383839607,
-0.009643135592341423,
-0.10448765009641647,
-0.007219273131340742,
0.01608642376959324,
0.03804940730333328,
0.001519273384474218,
-0.014107227325439453,
0.04185086116194725,
-0.019111892208456993,
0.018501566722989082,
0.007877552881836891,
-0.02899915911257267,
0.03403870016336441,
0.022093765437602997,
-0.03773552551865578,
-0.019321147352457047,
-0.035991739481687546,
-0.1227625235915184,
0.018832886591553688,
0.006478164345026016,
-0.00035093689803034067,
0.0005190487718209624,
0.044815294444561005,
-0.022686652839183807,
-0.031423021107912064,
0.031056825071573257,
-0.016286959871649742,
-0.05126730352640152,
-0.03274829685688019,
-0.03496290743350983,
0.0052967495284974575,
-0.06957705318927765,
0.0055495984852313995,
0.02109980769455433,
-0.019669903442263603,
-0.024133995175361633,
0.006591510493308306,
-0.013348680920898914,
0.07142546772956848,
-0.018693383783102036,
-0.009050248190760612,
0.013793345540761948,
0.034893155097961426,
0.01787380501627922,
0.02943510375916958,
0.02336673066020012,
0.09667548537254333,
0.017577361315488815,
-0.0015225430252030492,
0.0018614913569763303,
0.04725659638643265,
0.05625453218817711,
0.0069664241746068,
-0.01731579378247261,
0.04063021019101143,
0.003476673038676381,
-0.09423418343067169,
-0.013662561774253845,
0.02294822223484516,
-0.01278194971382618,
0.011543862521648407,
-0.029626920819282532,
-0.03954906389117241,
0.007533154916018248,
0.009276940487325191,
0.0034112809225916862,
-0.003831969341263175,
-0.0003487571666482836,
0.024674570187926292,
-0.024709444493055344,
-0.012284970842301846,
-0.011892619542777538,
0.010567341931164265,
-0.0023802677169442177,
0.06769376248121262,
-0.02831908129155636,
0.0390956774353981,
0.007629062980413437,
0.011517705395817757,
-0.027761070057749748,
-0.02172757126390934,
0.011038164608180523,
0.01335739903151989,
0.05077904462814331,
-0.006665621418505907,
0.02851089835166931,
-0.02122187428176403,
-0.01832718960940838,
-0.025755716487765312,
0.02779594622552395,
0.019181644544005394,
0.02498845010995865,
0.0166357159614563,
-0.03742164373397827,
0.005889636464416981,
-0.0557662695646286,
-0.04181598499417305,
0.044780418276786804,
0.014307762496173382,
-0.04812848940491676,
0.005335984751582146,
-0.030847571790218353,
-0.061102256178855896,
0.04784948378801346,
0.05538263916969299,
0.030865009874105453,
-0.022756405174732208,
0.015903327614068985,
0.016836252063512802,
0.003670669160783291,
0.03456183522939682,
-0.026889177039265633,
-0.02511051669716835,
-0.01951296254992485,
-0.008527113124728203,
-0.009608259424567223,
-0.004394340328872204,
0.02892940677702427,
0.022128641605377197,
0.025302331894636154,
0.048198241740465164,
0.007716252468526363,
-0.04910500720143318,
-0.0614161379635334,
0.04851211979985237,
0.026522982865571976,
0.0444316640496254,
-0.028789903968572617,
0.018519004806876183,
-0.01531915832310915,
0.021622944623231888,
0.00542753329500556,
0.0036314339376986027,
-0.01450829766690731,
-0.028545774519443512,
-0.044780418276786804,
-0.07062332332134247,
-0.04125797376036644,
-0.05956772342324257,
-0.055522140115499496,
-0.009930860251188278,
-0.010244742035865784,
0.017167571932077408,
-0.014848336577415466,
0.03864229470491409,
0.026871738955378532,
-0.022093765437602997,
0.04589644446969032,
-0.016487494111061096,
0.0446409173309803,
-0.055417511612176895,
0.011587456800043583,
0.018135372549295425,
0.014665238559246063,
-0.023000534623861313,
0.04886087775230408,
0.008287342265248299,
-0.0501512810587883,
-0.06354355812072754,
0.011814149096608162,
0.015031433664262295,
0.05074416846036911,
-0.009337972849607468,
0.044257283210754395,
-0.028650401160120964,
-0.014072351157665253,
-0.04247862100601196,
-0.012276251800358295,
0.002582982648164034,
-0.0556965209543705,
-0.020733613520860672,
0.025895219296216965,
0.013514339923858643,
-0.021570630371570587,
-0.044361911714076996,
-0.029661796987056732,
-0.016391586512327194,
-0.0834227129817009,
0.038223784416913986,
-0.02505820244550705,
-0.043734148144721985,
-0.10134883224964142,
0.013026080094277859,
-0.01789124310016632,
-0.013444588519632816,
0.039828069508075714,
0.047605354338884354,
-0.0307255070656538,
0.023017972707748413,
0.005261873826384544,
-0.03220772370696068,
0.03853766620159149,
0.027115870267152786,
-0.003993269521743059,
0.02333185449242592,
0.02169269509613514,
0.004930554423481226,
-0.00513544911518693,
-0.02898172102868557,
-0.002576443599537015,
-0.014264168217778206,
-0.008139120414853096,
-0.00045638144365511835,
0.0558708980679512,
0.027080994099378586,
0.002362829865887761,
0.011168948374688625,
-0.03161483630537987,
0.012973766773939133,
-0.0038297895807772875,
-0.02845858410000801,
-0.021535754203796387,
-0.008265544660389423,
0.0335330031812191,
0.02456994168460369,
-0.0015868451446294785,
0.00726722739636898,
0.006186080165207386,
0.05304596573114395,
0.005898355506360531,
0.057719308882951736,
-0.04586156830191612,
0.0021830019541084766,
-0.027098432183265686,
-0.031440459191799164,
0.0025132312439382076,
0.017559923231601715,
0.03124864213168621,
0.027604129165410995,
0.050953421741724014,
0.07484328746795654,
0.04718684405088425,
0.043106384575366974,
0.06197414919734001,
0.05810294300317764,
0.011910057626664639,
-0.012476787902414799,
-0.0002627939684316516,
0.0019257934764027596,
-0.012110592797398567,
-0.05869583040475845,
0.00001351263745164033,
-0.028685277327895164,
0.016836252063512802,
-0.008173995651304722,
0.013993881642818451,
-0.003644512267783284,
-0.051616061478853226,
0.0011672466062009335,
0.06978631019592285,
-0.028702715411782265,
-0.014011318795382977,
-0.08209743350744247,
-0.016478776931762695,
-0.04837261885404587,
-0.021012619137763977,
0.04886087775230408,
0.010236022993922234,
-0.0667172446846962,
0.0006168642430566251,
-0.02179732359945774,
-0.008082447573542595,
-0.018519004806876183,
0.015589444898068905,
-0.019704779610037804,
0.0010201147524639964,
0.06246240809559822,
-0.013322523795068264,
0.006656902376562357,
-0.028127266094088554,
0.018693383783102036,
-0.031492773443460464,
-0.012197782285511494,
0.025825468823313713,
-0.020193040370941162,
-0.026662485674023628,
-0.033201683312654495,
-0.004638470243662596,
-0.06839127838611603,
-0.017481453716754913,
-0.04279250279068947,
-0.014987839385867119,
-0.06891441345214844,
0.02735999971628189,
-0.0279528871178627,
0.07644756883382797,
-0.03248672932386398,
-0.037596020847558975,
-0.028179578483104706,
0.0012936710845679045,
-0.01898982748389244,
0.052732083946466446,
0.04746584966778755,
-0.007716252468526363,
0.03867717087268829,
0.008492236956954002,
-0.001407017232850194,
0.0947921946644783,
-0.01780405268073082,
-0.006844359450042248,
0.005222638603299856,
0.03560810536146164,
-0.09576871991157532,
-0.05130217969417572,
0.03440489247441292,
0.00383632886223495,
0.021378813311457634,
-0.006499961484223604,
-0.05290646106004715,
0.033062178641557693,
-0.015929482877254486,
0.02674967423081398,
0.08565475791692734,
0.027551816776394844,
0.013897973112761974,
-0.0500117763876915,
0.062148526310920715,
-0.007934225723147392,
-0.03220772370696068,
-0.009678011760115623,
-0.03002799116075039,
0.003701185341924429,
0.008256825618445873,
0.037038009613752365,
0.014865773729979992,
-0.06633361428976059,
0.005253154784440994,
0.00951235182583332,
-0.04805873706936836,
-0.014246730133891106,
-0.03166715055704117,
0.032556481659412384,
-0.030551128089427948,
0.030830133706331253,
-0.023541107773780823,
0.04913988336920738,
0.01726347953081131,
0.03839816525578499,
0.001731797237880528,
-0.015903327614068985,
0.04069996252655983,
-0.004073919728398323,
-0.017446577548980713,
0.07051870226860046,
0.03396894782781601,
0.031423021107912064,
-0.06835640221834183,
-0.01089866179972887,
-0.03756114840507507,
0.01031449344009161,
0.04300175979733467,
0.04188573360443115,
-0.009311816655099392,
0.017647111788392067,
-0.061032503843307495,
-0.05342959612607956,
0.04502455145120621,
0.0023759081959724426,
0.000032287283829646185,
0.02451762929558754,
0.034858278930187225,
-0.018274875357747078,
0.03124864213168621,
0.004642829764634371,
-0.009834951721131802,
0.0028619884978979826,
0.035416290163993835,
0.0555570162832737,
0.03717751428484917,
0.007894990034401417,
0.043245889246463776,
0.04401315376162529,
0.023070286959409714,
-0.04920963570475578,
0.03947931155562401,
-0.031510211527347565,
-0.011125353164970875,
0.023052848875522614,
0.052766960114240646,
-0.06186952069401741,
0.04851211979985237,
0.013758470304310322,
0.003903900505974889,
0.02345391921699047,
0.013810783624649048,
0.03505009412765503,
0.05782393738627434,
-0.0028772465884685516,
-0.01570279151201248,
0.020785927772521973,
0.010113957338035107,
-0.028144702315330505,
-0.00542753329500556,
-0.023192351683974266,
0.07944688200950623,
0.02781338430941105,
-0.004468451254069805,
0.0502559058368206,
-0.021518316119909286,
0.021343939006328583,
0.012860420159995556,
0.06186952069401741,
-0.04056045785546303,
-0.021361377090215683,
-0.03515472263097763,
-0.003958393819630146,
0.0389910526573658,
-0.0166705921292305,
-0.0037077246233820915,
-0.018641069531440735,
0.03609636798501015,
0.0016936520114541054,
0.005649866070598364,
0.01607770472764969,
-0.05914921686053276,
-0.009276940487325191,
-0.00305816438049078,
-0.004616673104465008,
0.016016673296689987,
-0.05796344205737114,
0.004782332573086023,
0.055487263947725296,
-0.020751051604747772,
-0.0055757551454007626,
0.040351204574108124,
-0.009085124358534813
]
|
40,314 | pyglove.core.symbolic.object | format | Formats this object. | def format(self,
compact: bool = False,
verbose: bool = False,
root_indent: int = 0,
**kwargs) -> str:
"""Formats this object."""
return self._sym_attributes.format(
compact,
verbose,
root_indent,
cls_name=self.__class__.__name__,
key_as_attribute=True,
bracket_type=object_utils.BracketType.ROUND,
**kwargs)
| (self, compact: bool = False, verbose: bool = False, root_indent: int = 0, **kwargs) -> str | [
0.044463492929935455,
-0.02905518375337124,
0.07757169753313065,
0.004895259626209736,
0.04624203220009804,
-0.08133398741483688,
-0.03539977967739105,
-0.06696885824203491,
0.024865353479981422,
-0.004878158215433359,
-0.044463492929935455,
-0.05390343442559242,
0.03495514765381813,
0.006280468311160803,
-0.0011703731724992394,
0.03495514765381813,
0.002462593372911215,
-0.08666960895061493,
0.04271915555000305,
0.046105220913887024,
0.0975460633635521,
0.02607954852283001,
-0.008294152095913887,
-0.005793080199509859,
0.018914086744189262,
0.005895688198506832,
0.04432668164372444,
0.039675116539001465,
-0.025019265711307526,
-0.04617362841963768,
0.009927329607307911,
0.03471572697162628,
0.006015397608280182,
0.025737522169947624,
-0.0011938875541090965,
-0.01598975621163845,
-0.03892265632748604,
0.010303559713065624,
-0.0553741492331028,
-0.02811460942029953,
-0.010782397352159023,
0.0151945436373353,
-0.06696885824203491,
-0.02467723935842514,
0.002359985373914242,
0.01463874988257885,
0.06840537488460541,
0.05561356991529465,
0.026575487107038498,
-0.0412142388522625,
0.030218074098229408,
-0.006673799362033606,
-0.012518183328211308,
0.030731113627552986,
-0.06717407703399658,
-0.04914925992488861,
0.02837112918496132,
-0.0000469284932478331,
0.017511775717139244,
-0.021992327645421028,
-0.04042757675051689,
0.06402742862701416,
0.050175342708826065,
-0.021650301292538643,
-0.05462169274687767,
-0.03334762156009674,
-0.06033353880047798,
0.04802057147026062,
-0.019940165802836418,
-0.006485684774816036,
0.03878584876656532,
-0.006896116770803928,
-0.0030825173016637564,
0.010115444660186768,
-0.06546394526958466,
-0.006130831781774759,
-0.045147545635700226,
-0.030731113627552986,
0.00021109470981173217,
-0.07018391788005829,
-0.06751610338687897,
-0.02447202242910862,
-0.01833263970911503,
-0.020196687430143356,
-0.00457033421844244,
-0.011825579218566418,
0.04466870799660683,
0.027789684012532234,
-0.013022673316299915,
0.052432719618082047,
0.0017593007069081068,
0.052911557257175446,
-0.012800355441868305,
0.03769136220216751,
-0.010115444660186768,
-0.020624220371246338,
0.01621207408607006,
-0.04713130369782448,
0.07148361951112747,
0.018674667924642563,
0.02578882686793804,
-0.09186841547489166,
-0.04299277812242508,
-0.00846516527235508,
-0.0585549995303154,
-0.0026421574875712395,
0.0007225317531265318,
0.004660116042941809,
0.00709278229624033,
0.04877303168177605,
-0.038991063833236694,
-0.00572039932012558,
0.00743053387850523,
-0.05746051296591759,
0.0661821961402893,
-0.00903805997222662,
0.030542999505996704,
0.05055157095193863,
0.04066699370741844,
-0.058897025883197784,
0.003950410522520542,
0.007746908813714981,
0.017734093591570854,
0.03666527941823006,
-0.0420009009540081,
0.04702869430184364,
-0.007896545343101025,
0.04138525202870369,
-0.000251844001468271,
0.014903821051120758,
-0.004839680157601833,
-0.0011554094962775707,
0.0145190404728055,
0.010431819595396519,
0.06436945497989655,
0.005416850559413433,
0.03936729207634926,
0.012535285204648972,
-0.020743930712342262,
0.09590433537960052,
0.050209544599056244,
-0.03615223988890648,
-0.04360842704772949,
-0.013561365194618702,
-0.0142796216532588,
-0.0014835415640845895,
0.0008657555445097387,
0.024985063821077347,
-0.031671687960624695,
-0.015185993164777756,
0.027345048263669014,
0.0466182641685009,
0.06720828264951706,
-0.009679360315203667,
0.02082943730056286,
-0.008084660395979881,
-0.01602395810186863,
-0.020932044833898544,
0.08372817933559418,
0.002699874574318528,
-0.025087671354413033,
0.020487409085035324,
0.02127407118678093,
-0.032834578305482864,
0.02970503456890583,
0.00926037784665823,
-0.07394620776176453,
-0.021393781527876854,
-0.008456614799797535,
-0.0009576752199791372,
0.016631057485938072,
-0.057734135538339615,
-0.017101343721151352,
0.06101759523153305,
0.015083384700119495,
0.025258684530854225,
-0.0022274500224739313,
0.019478430971503258,
-0.026575487107038498,
-0.0766824260354042,
0.05301416665315628,
-0.04935447871685028,
-0.000686191429849714,
0.050619978457689285,
0.021838415414094925,
-0.03673368692398071,
0.027310846373438835,
-0.042206116020679474,
0.005660544615238905,
-0.011312538757920265,
0.0548953115940094,
0.052706342190504074,
-0.026199258863925934,
0.02997865527868271,
0.0055322847329080105,
-0.02970503456890583,
0.05150924623012543,
-0.05941006913781166,
0.025498103350400925,
0.01809322088956833,
-0.03796498104929924,
-0.002864475129172206,
-0.018349742516875267,
-0.04552377760410309,
0.030235175043344498,
-0.037828173488378525,
0.006485684774816036,
-0.05120142176747322,
-0.003901243908330798,
-0.008328353986144066,
0.006964522413909435,
0.009123566560447216,
-0.002590853488072753,
-0.029191993176937103,
0.028439534828066826,
-0.027276642620563507,
0.08352296054363251,
0.025327090173959732,
-0.009773418307304382,
0.03892265632748604,
0.026438677683472633,
-0.04737072065472603,
0.01575033739209175,
-0.021325375884771347,
-0.051338233053684235,
0.006716552656143904,
0.03040618821978569,
0.023822171613574028,
-0.024147097021341324,
-0.025019265711307526,
0.01735786348581314,
-0.042616549879312515,
-0.05376662313938141,
0.02170160599052906,
-0.08824293315410614,
-0.0025224480777978897,
0.018845681101083755,
-0.016827723011374474,
-0.009046610444784164,
-0.05342459678649902,
0.03134676441550255,
0.004826854448765516,
-0.014681503176689148,
0.0038734544068574905,
0.00502351950854063,
-0.07052594423294067,
0.015673382207751274,
-0.007930748164653778,
-0.010098343715071678,
0.003884142730385065,
-0.0011297574965283275,
0.02512187324464321,
0.04114583134651184,
0.03926468640565872,
-0.03314240276813507,
-0.008097486570477486,
-0.0668320506811142,
0.052227504551410675,
-0.01339035201817751,
0.010200951248407364,
-0.03290298581123352,
-0.02149638906121254,
-0.0370757132768631,
0.034168485552072525,
0.10411298274993896,
0.0602993369102478,
0.003905519377440214,
-0.01646004244685173,
0.005344169680029154,
-0.0034908116795122623,
-0.04186408966779709,
-0.012518183328211308,
-0.02766997367143631,
0.042650751769542694,
-0.019717849791049957,
-0.022077834233641624,
0.011030366644263268,
-0.022454064339399338,
-0.03721252456307411,
-0.05253532901406288,
-0.006207787897437811,
-0.03909367322921753,
-0.012304416857659817,
0.00824284739792347,
0.055921394377946854,
0.033535733819007874,
-0.010500225238502026,
-0.0064643076620996,
0.01304832473397255,
0.013202236965298653,
0.041282642632722855,
0.02423260360956192,
0.04456610232591629,
0.017434820532798767,
0.08058153092861176,
-0.0351603627204895,
0.021085957065224648,
-0.008285600692033768,
-0.01406585518270731,
-0.02035059966146946,
-0.008832843974232674,
-0.011150076054036617,
0.07257810235023499,
0.035331375896930695,
0.012535285204648972,
0.03604963421821594,
0.020949145779013634,
0.008730235509574413,
0.004001714289188385,
0.014553243294358253,
0.0029606700409203768,
0.038101792335510254,
0.03138096630573273,
0.02358275279402733,
-0.03478413447737694,
0.03399747237563133,
-0.039880331605672836,
-0.0319795124232769,
0.008935452438890934,
0.04877303168177605,
-0.02079523354768753,
-0.014647300355136395,
-0.04367683082818985,
0.03435659781098366,
0.02584012970328331,
-0.042616549879312515,
-0.019478430971503258,
-0.01922190934419632,
0.01415991224348545,
0.012749051675200462,
0.009080813266336918,
-0.03543398529291153,
0.006930319592356682,
0.0056135160848498344,
-0.02262507751584053,
0.011731522157788277,
0.005138953682035208,
0.008486541919410229,
-0.05958108231425285,
-0.008755887858569622,
0.05301416665315628,
0.024061590433120728,
0.012107751332223415,
-0.027704177424311638,
-0.10869614034891129,
-0.028969675302505493,
-0.017272356897592545,
-0.016784967854619026,
-0.006866189651191235,
-0.006331772543489933,
-0.04480551928281784,
-0.007956400513648987,
0.0493202768266201,
0.05140664055943489,
-0.012654994614422321,
-0.04702869430184364,
-0.012424126267433167,
0.00903805997222662,
-0.025737522169947624,
0.0048012020997703075,
0.00319795124232769,
0.01373237930238247,
0.042411331087350845,
0.01007269136607647,
0.047439128160476685,
-0.01987176202237606,
-0.010560079477727413,
-0.01028645783662796,
0.021137259900569916,
-0.005211634561419487,
-0.040530186146497726,
0.00043234333861619234,
0.0049850414507091045,
-0.07969225943088531,
-0.03591282293200493,
0.08653280138969421,
0.006391627248376608,
0.002238138346001506,
-0.026866210624575615,
-0.06084658205509186,
0.06241990253329277,
-0.005998296197503805,
0.03546818718314171,
0.05003853142261505,
0.003978200256824493,
0.0014247556682676077,
0.025754623115062714,
-0.023599853739142418,
0.02081233449280262,
0.015870047733187675,
-0.06604538857936859,
0.001719753840006888,
0.005669095553457737,
0.07209926843643188,
-0.03683629259467125,
0.013347598724067211,
0.024745645001530647,
-0.04477131739258766,
-0.03478413447737694,
0.0002757591719273478,
0.025669116526842117,
-0.09877736121416092,
0.004732796922326088,
-0.06344598531723022,
0.014767009764909744,
-0.04983331635594368,
0.04990172013640404,
0.013681074604392052,
-0.005690472200512886,
0.0785977765917778,
0.002036128658801317,
0.034373700618743896,
-0.0451817512512207,
0.04600261524319649,
0.048157382756471634,
-0.025070570409297943,
-0.03126125782728195,
0.018657565116882324,
-0.0488414391875267,
0.007469011936336756,
0.0044035958126187325,
0.030457492917776108,
-0.03382645919919014,
0.013424554839730263,
0.016066713258624077,
-0.06040194630622864,
0.009029509499669075,
0.028935473412275314,
0.07449345290660858,
0.05899963527917862,
-0.01944422721862793,
0.016041060909628868,
0.027550265192985535,
0.025498103350400925,
0.02055581472814083,
-0.03160328418016434,
0.04545537009835243,
-0.04405306279659271,
0.01404875423759222,
0.033535733819007874,
0.049286071211099625,
-0.028405331075191498,
-0.022761888802051544,
-0.016613954678177834,
-0.04063279181718826,
-0.0024796947836875916,
-0.028439534828066826,
0.00428174901753664,
0.019974369555711746,
0.0075801704078912735,
0.0671398714184761,
-0.016622506082057953,
0.012124852277338505,
-0.014604547061026096,
-0.018896983936429024,
-0.036254849284887314,
0.016280479729175568,
-0.02584012970328331,
-0.01918770745396614,
-0.019256113097071648,
-0.021889720112085342,
-0.0013616945361718535,
-0.018589161336421967,
0.019769152626395226,
-0.037588752806186676,
-0.019341619685292244,
-0.017665687948465347,
0.02676360309123993,
-0.02515607699751854,
-0.021188564598560333,
0.0029029531870037317,
0.008687482215464115,
-0.03425399214029312,
0.06915783137083054,
0.017905106768012047,
0.026678096503019333,
-0.029414311051368713,
-0.017922207713127136,
-0.10527586936950684,
-0.04819158464670181,
-0.029140690341591835,
-0.04525015503168106,
-0.04271915555000305,
-0.035331375896930695,
0.044497694820165634,
0.08482266217470169,
0.05352720618247986,
0.027037223801016808,
-0.0010314247338101268,
-0.0015519469743594527,
-0.02330913208425045,
0.06690045446157455,
-0.0356392003595829,
0.025942739099264145,
-0.01598120480775833,
0.05007273331284523,
-0.026832008734345436,
-0.07244129478931427,
-0.054279666393995285,
0.03172299265861511,
-0.00014482700498774648,
0.0024412167258560658,
0.0053484453819692135,
0.007896545343101025,
0.004848231095820665,
0.02373666502535343,
-0.03322790935635567,
0.043095387518405914,
0.04299277812242508,
-0.01826423592865467,
0.0008550671627745032,
-0.04716550558805466,
0.030491694808006287,
0.02493375912308693,
-0.014031652361154556,
-0.023411739617586136,
0.0019645169377326965,
-0.00697307288646698,
0.027704177424311638,
-0.022300152108073235,
-0.02763577178120613,
0.02631896734237671,
-0.05284315347671509,
0.01648569479584694,
-0.04644725099205971,
0.03591282293200493,
0.05007273331284523,
-0.003155197948217392,
-0.014707155525684357,
-0.0028131711296737194,
0.049286071211099625,
0.03888845443725586,
0.0034288193564862013,
0.010739644058048725,
-0.05164605751633644,
0.04367683082818985,
-0.032082121819257736,
0.035981226712465286,
-0.015160340815782547,
-0.04076960310339928,
0.0424797385931015,
0.00231936969794333,
0.021103058010339737,
-0.03775976598262787,
0.015818743035197258,
0.01269774790853262,
0.06358279287815094,
-0.03567340224981308,
-0.008926901035010815,
-0.022471165284514427,
-0.011457900516688824,
-0.023240726441144943,
0.012535285204648972,
-0.0015487404307350516,
0.01199659239500761,
0.012501082383096218,
0.04076960310339928,
0.015707584097981453,
0.015399759635329247,
0.01963234320282936,
-0.02604534663259983,
0.03817019984126091,
0.06741349399089813,
-0.03652847185730934,
0.0012227460974827409,
0.014006000012159348,
0.013304845429956913,
-0.0049850414507091045,
-0.0008876665960997343,
0.057699933648109436,
-0.028627648949623108,
0.017229603603482246,
0.04364262893795967,
0.006883290596306324,
-0.0018629776313900948,
-0.01430527400225401,
-0.050859395414590836,
0.07196245342493057,
-0.04357422515749931,
0.005203083623200655,
-0.0069388700649142265,
0.01578453928232193,
0.022676382213830948,
-0.031175749376416206,
-0.003903381759300828,
0.01990596391260624,
0.04412146657705307,
-0.007511765230447054,
0.0012088512303307652,
-0.03042329102754593,
-0.02700302191078663,
-0.07688763737678528,
0.007203941233456135,
-0.023394638672471046,
0.020863639190793037,
-0.03273197263479233,
-0.02105175331234932,
-0.010209501720964909,
0.007297998294234276,
0.04596841335296631,
-0.028849966824054718,
0.015228746458888054,
-0.020726827904582024,
0.04357422515749931,
-0.004561783280223608,
0.024865353479981422,
0.0585549995303154,
0.025686217471957207,
-0.03748614341020584,
-0.04244553670287132,
-0.020846538245677948,
0.08318093419075012,
-0.058657608926296234,
-0.014938023872673512,
-0.006985899060964584,
-0.01761438325047493,
-0.014570345170795918,
0.03502355143427849,
-0.05120142176747322,
-0.03483543545007706,
-0.02035059966146946,
0.030081262812018394,
-0.0937153622508049,
0.01406585518270731,
0.00010882066271733493,
0.03994873911142349,
-0.015245847404003143,
0.012586588971316814,
0.01804191805422306,
-0.04846520721912384,
0.025019265711307526,
0.018435249105095863,
-0.026678096503019333,
-0.020897841081023216,
-0.06833697110414505,
-0.038033388555049896,
-0.01084225159138441,
0.04634464159607887,
-0.062283094972372055,
0.06830276548862457,
0.01646859385073185,
-0.06033353880047798,
-0.024557529017329216,
0.07230447977781296,
-0.014903821051120758,
0.00959385372698307,
-0.028439534828066826,
-0.061735849827528,
0.009568201377987862,
0.009294580668210983,
-0.0698418840765953,
-0.02265927940607071,
-0.025241583585739136,
-0.05578458309173584,
-0.008208644576370716,
0.013689626008272171,
-0.005570762790739536,
0.004561783280223608,
-0.03745194151997566,
0.008978205733001232,
-0.036938901990652084,
-0.027362149208784103,
-0.05811036750674248,
0.012039345689117908,
0.005724674556404352,
-0.022043632343411446,
-0.042206116020679474,
0.0010308903874829412,
0.027721278369426727,
-0.05055157095193863,
-0.006413003895431757,
0.05920485034584999,
0.023907678201794624,
0.03656267374753952,
-0.11067989468574524,
0.003292008535936475,
-0.0006717621581628919,
0.06495090574026108,
0.03868323937058449,
-0.05927325785160065,
0.036015428602695465,
-0.021308274939656258,
-0.01805901899933815,
-0.0025010714307427406,
0.0003655412292573601,
-0.05482690781354904,
-0.00365541223436594,
0.03425399214029312,
-0.017751194536685944,
-0.030064161866903305,
-0.035981226712465286,
-0.0652245283126831,
0.01642584055662155,
-0.023890577256679535,
-0.019615240395069122,
-0.05811036750674248,
0.03676788881421089,
0.04542116820812225,
0.04039337486028671,
-0.061599038541316986,
-0.007627199403941631,
0.02972213551402092,
0.04955969378352165,
0.021188564598560333,
0.08625917881727219,
0.013296294957399368,
0.04384784400463104,
-0.017272356897592545,
-0.00021710690634790808,
0.0346815250813961,
0.039675116539001465,
0.07572475075721741,
-0.01970074698328972,
0.0036639629397541285,
-0.02236855775117874,
0.03632325306534767,
0.026866210624575615,
-0.044258277863264084,
0.010833701118826866,
0.02560071088373661,
-0.08188123255968094,
0.026165055111050606,
-0.013800784014165401,
-0.011988041922450066,
0.016169320791959763,
0.062488310039043427,
0.012407024390995502,
0.038478024303913116,
-0.014390780590474606,
-0.03146647289395332,
-0.023001307621598244,
0.016631057485938072,
-0.00938008725643158,
-0.009448491968214512,
0.02924329787492752,
0.04282176494598389,
-0.014613098464906216,
-0.015690483152866364,
0.018640464171767235,
0.01763148605823517,
-0.004711420275270939,
0.09761446714401245,
-0.013629770837724209,
-0.005570762790739536,
-0.013330497778952122,
0.012449778616428375,
-0.004818303510546684,
0.05434807017445564,
-0.01531425304710865,
0.0009790519252419472,
0.0019367272034287453,
0.02466013841331005,
0.01247543003410101,
-0.014732807874679565,
0.09891416877508163,
0.004835404921323061,
-0.0388200506567955,
0.008807191625237465,
0.07736647874116898,
-0.045626383274793625,
-0.012706298381090164,
-0.09289450198411942,
0.003648999147117138,
0.0685763880610466,
0.0015701170777902007,
0.05561356991529465,
-0.05000432953238487,
0.015254398807883263
]
|
40,315 | pyglove.core.symbolic.base | inspect | Inspects current object by printing out selected values.
Example::
@pg.members([
('x', pg.typing.Int(0)),
('y', pg.typing.Str())
])
class A(pg.Object):
pass
value = {
'a1': A(x=0, y=0),
'a2': [A(x=1, y=1), A(x=1, y=2)],
'a3': {
'p': A(x=2, y=1),
'q': A(x=2, y=2)
}
}
# Inspect without constraint,
# which is equivalent as `print(value.format(hide_default_values=True))`
# Shall print:
# {
# a1 = A(y=0)
# a2 = [
# 0: A(x=1, y=1)
# 1: A(x=1, y=2)
# a3 = {
# p = A(x=2, y=1)
# q = A(x=2, y=2)
# }
# }
value.inspect(hide_default_values=True)
# Inspect by path regex.
# Shall print:
# {'a3.p': A(x=2, y=1)}
value.inspect(r'.*p')
# Inspect by value.
# Shall print:
# {
# 'a3.p.x': 2,
# 'a3.q.x': 2,
# 'a3.q.y': 2,
# }
value.inspect(where=lambda v: v==2)
# Inspect by path, value and parent.
# Shall print:
# {
# 'a2[1].y': 2
# }
value.inspect(
r'.*y', where=lambda v, p: v > 1 and isinstance(p, A) and p.x == 1))
# Inspect by custom_selector.
# Shall print:
# {
# 'a2[0].x': 1,
# 'a2[0].y': 1,
# 'a3.q.x': 2,
# 'a3.q.y': 2
# }
value.inspect(
custom_selector=lambda k, v, p: (
len(k) == 3 and isinstance(p, A) and p.x == v))
Args:
path_regex: Optional regex expression to constrain path.
where: Optional callable to constrain value and parent when path matches
`path_regex` or `path_regex` is not provided. The signature is:
`(value) -> should_select`, or `(value, parent) -> should_select`.
custom_selector: Optional callable object as custom selector. When
`custom_selector` is provided, `path_regex` and `where` must be None.
The signature of `custom_selector` is:
`(key_path, value) -> should_select`
or `(key_path, value, parent) -> should_select`.
file: Output file stream. This can be any object with a `write(str)`
method.
**kwargs: Wildcard keyword arguments to pass to `format`.
| def inspect(
self,
path_regex: Optional[str] = None,
where: Optional[Union[Callable[[Any], bool],
Callable[[Any, Any], bool]]] = None,
custom_selector: Optional[Union[
Callable[[object_utils.KeyPath, Any], bool],
Callable[[object_utils.KeyPath, Any, Any], bool]]] = None,
file=sys.stdout, # pylint: disable=redefined-builtin
**kwargs) -> None:
"""Inspects current object by printing out selected values.
Example::
@pg.members([
('x', pg.typing.Int(0)),
('y', pg.typing.Str())
])
class A(pg.Object):
pass
value = {
'a1': A(x=0, y=0),
'a2': [A(x=1, y=1), A(x=1, y=2)],
'a3': {
'p': A(x=2, y=1),
'q': A(x=2, y=2)
}
}
# Inspect without constraint,
# which is equivalent as `print(value.format(hide_default_values=True))`
# Shall print:
# {
# a1 = A(y=0)
# a2 = [
# 0: A(x=1, y=1)
# 1: A(x=1, y=2)
# a3 = {
# p = A(x=2, y=1)
# q = A(x=2, y=2)
# }
# }
value.inspect(hide_default_values=True)
# Inspect by path regex.
# Shall print:
# {'a3.p': A(x=2, y=1)}
value.inspect(r'.*p')
# Inspect by value.
# Shall print:
# {
# 'a3.p.x': 2,
# 'a3.q.x': 2,
# 'a3.q.y': 2,
# }
value.inspect(where=lambda v: v==2)
# Inspect by path, value and parent.
# Shall print:
# {
# 'a2[1].y': 2
# }
value.inspect(
r'.*y', where=lambda v, p: v > 1 and isinstance(p, A) and p.x == 1))
# Inspect by custom_selector.
# Shall print:
# {
# 'a2[0].x': 1,
# 'a2[0].y': 1,
# 'a3.q.x': 2,
# 'a3.q.y': 2
# }
value.inspect(
custom_selector=lambda k, v, p: (
len(k) == 3 and isinstance(p, A) and p.x == v))
Args:
path_regex: Optional regex expression to constrain path.
where: Optional callable to constrain value and parent when path matches
`path_regex` or `path_regex` is not provided. The signature is:
`(value) -> should_select`, or `(value, parent) -> should_select`.
custom_selector: Optional callable object as custom selector. When
`custom_selector` is provided, `path_regex` and `where` must be None.
The signature of `custom_selector` is:
`(key_path, value) -> should_select`
or `(key_path, value, parent) -> should_select`.
file: Output file stream. This can be any object with a `write(str)`
method.
**kwargs: Wildcard keyword arguments to pass to `format`.
"""
if path_regex is None and where is None and custom_selector is None:
v = self
else:
v = query(self, path_regex, where, False, custom_selector)
object_utils.print(v, file=file, **kwargs)
| (self, path_regex: Optional[str] = None, where: Union[Callable[[Any], bool], Callable[[Any, Any], bool], NoneType] = None, custom_selector: Union[Callable[[pyglove.core.object_utils.value_location.KeyPath, Any], bool], Callable[[pyglove.core.object_utils.value_location.KeyPath, Any, Any], bool], NoneType] = None, file=<_io.TextIOWrapper name='<stdout>' mode='w' encoding='utf-8'>, **kwargs) -> NoneType | [
0.11083894968032837,
-0.07269047200679779,
0.043397895991802216,
0.020797329023480415,
0.006306319497525692,
0.0028000257443636656,
0.015337529592216015,
-0.06836270540952682,
0.0032808890100568533,
-0.0035664013121277094,
0.027208838611841202,
0.04347803816199303,
0.037427179515361786,
0.015638068318367004,
-0.026687903329730034,
0.020025944337248802,
0.0524541512131691,
0.01849319413304329,
0.05742307007312775,
0.04748523235321045,
0.03283894434571266,
-0.006100950762629509,
0.07249011099338531,
0.009316722862422466,
0.012802979908883572,
-0.02825070731341839,
0.0007757674320600927,
0.038288723677396774,
0.01398510206490755,
-0.024323659017682076,
-0.013604419305920601,
-0.03896994888782501,
-0.04027228429913521,
-0.013183663599193096,
-0.029192397370934486,
-0.020196251571178436,
-0.001859587850049138,
0.06688004732131958,
-0.012652711011469364,
-0.0367860272526741,
-0.005219368264079094,
0.06215155869722366,
-0.06531723588705063,
-0.008309915661811829,
-0.03662573918700218,
0.01042871829122305,
0.03570408746600151,
0.036164913326501846,
0.016429489478468895,
-0.03295915946364403,
0.02967326156795025,
0.0007388261146843433,
-0.03159671276807785,
-0.007563576102256775,
0.014826612547039986,
-0.028170563280582428,
0.00935178529471159,
0.05353609472513199,
0.10659132152795792,
-0.0009016183321364224,
0.004655857104808092,
0.0025620986707508564,
-0.008349987678229809,
0.021959414705634117,
-0.03043462708592415,
-0.06583817303180695,
0.016199076548218727,
0.011590804904699326,
-0.09248600155115128,
-0.009692396968603134,
-0.035664014518260956,
-0.04628307372331619,
0.03640534356236458,
-0.016329308971762657,
0.008094528689980507,
-0.0401921421289444,
-0.04199538007378578,
-0.0056801955215632915,
0.04628307372331619,
-0.015317494049668312,
0.019474955275654793,
-0.0371466763317585,
-0.07878140360116959,
-0.06006781756877899,
0.013744670897722244,
0.03175700083374977,
0.02404315583407879,
-0.01461623515933752,
0.04303724691271782,
0.04067300632596016,
-0.02881171554327011,
0.028771642595529556,
-0.026667866855859756,
0.07329155504703522,
-0.04648343473672867,
0.002882674103602767,
0.04227588325738907,
-0.018082456663250923,
0.016409453004598618,
0.050049833953380585,
0.014405857771635056,
-0.06287284940481186,
-0.0008120826096273959,
0.0038444004021584988,
-0.01684022694826126,
0.0010055549209937453,
-0.05982738733291626,
0.03981145843863487,
0.034842539578676224,
-0.016319291666150093,
-0.04880760610103607,
0.039290525019168854,
-0.02756948582828045,
-0.00955214537680149,
0.0331595204770565,
-0.00018048020137939602,
-0.06519702076911926,
-0.03420138731598854,
0.015658104792237282,
-0.046002570539712906,
0.009687388315796852,
0.04988954961299896,
-0.005424736998975277,
0.07553558051586151,
-0.024524018168449402,
-0.0039020038675516844,
-0.02899203822016716,
-0.02562599629163742,
0.00388697674497962,
-0.038348834961652756,
0.01739121600985527,
0.013033393770456314,
-0.021578732877969742,
0.02883175015449524,
0.017691755667328835,
0.08920010924339294,
-0.03470228612422943,
-0.03738710656762123,
-0.043237607926130295,
0.02688826248049736,
-0.027409197762608528,
-0.05742307007312775,
-0.03610480576753616,
-0.07028615474700928,
-0.001986064715310931,
-0.03285897895693779,
0.07753917574882507,
0.02217981033027172,
-0.000760740484111011,
-0.005234395153820515,
-0.010378628969192505,
-0.014265605248510838,
0.09240586310625076,
0.012782944366335869,
0.03221782669425011,
-0.03698638826608658,
-0.03249833360314369,
-0.03418135270476341,
-0.017030568793416023,
-0.029192397370934486,
0.011350372806191444,
-0.006862317211925983,
-0.010558952577412128,
0.005449782125651836,
0.019745441153645515,
0.04620293155312538,
0.01731107197701931,
-0.00021022108558099717,
-0.0001626356679480523,
0.00511167524382472,
0.04085332900285721,
-0.017210891470313072,
-0.09745492041110992,
0.05157256871461868,
-0.03299923241138458,
0.05545954406261444,
-0.013844850473105907,
0.025746213272213936,
-0.011240174993872643,
-0.05806422233581543,
0.015978680923581123,
0.013043412007391453,
-0.013714617118239403,
0.07858105003833771,
0.0417148731648922,
-0.044319551438093185,
0.010699204169213772,
-0.027429234236478806,
0.021398408338427544,
0.01599871553480625,
-0.02344207651913166,
0.011881326325237751,
0.06671975553035736,
0.032398153096437454,
-0.02386283129453659,
-0.05586026608943939,
-0.009181479923427105,
-0.0373670719563961,
0.0077438997104763985,
0.06327357143163681,
-0.03784793242812157,
-0.07533521950244904,
-0.027689700946211815,
0.010859492234885693,
-0.05638119950890541,
-0.007778962608426809,
0.05421731621026993,
0.030574878677725792,
-0.017160803079605103,
-0.007202928885817528,
-0.07717853039503098,
0.008695608004927635,
0.011270228773355484,
-0.06235191598534584,
0.024664269760251045,
0.02183919958770275,
0.007102748844772577,
0.016399435698986053,
-0.030454663559794426,
0.05938659608364105,
0.04183509200811386,
0.05169278383255005,
-0.012913177721202374,
-0.005049062892794609,
0.0494086854159832,
-0.05738299712538719,
0.014846649020910263,
-0.0198055487126112,
0.01831286959350109,
-0.0912037044763565,
0.07994349300861359,
-0.060468535870313644,
0.023842796683311462,
-0.019955819472670555,
-0.05413717031478882,
0.020877473056316376,
0.0146563071757555,
0.02578628435730934,
0.048206526786088943,
0.01336398720741272,
0.023983048275113106,
-0.010809401981532574,
-0.011390444822609425,
-0.027789881452918053,
0.003045466262847185,
-0.04211559519171715,
-0.007874133065342903,
-0.029372721910476685,
0.060468535870313644,
-0.023462112993001938,
0.029312614351511,
-0.002485711593180895,
0.01042871829122305,
0.03091549128293991,
-0.041634730994701385,
0.014506037347018719,
-0.02454405464231968,
-0.018743643537163734,
0.02538556419312954,
-0.011480607092380524,
-0.06956486403942108,
-0.04916825145483017,
0.029172362759709358,
-0.020316466689109802,
-0.027088621631264687,
-0.029893657192587852,
-0.008079501800239086,
-0.05445774644613266,
-0.025826355442404747,
-0.01736116223037243,
-0.07970306277275085,
0.02486463077366352,
-0.004801117815077305,
0.04948882758617401,
-0.06675983220338821,
0.005129206459969282,
-0.04972926154732704,
0.0024356218054890633,
0.0012910673394799232,
-0.06002774462103844,
-0.00037786574102938175,
0.021658876910805702,
-0.006331364158540964,
-0.02638736367225647,
0.033480092883110046,
0.0001831412228057161,
-0.02318160980939865,
0.03277883678674698,
-0.024343695491552353,
-0.03452196344733238,
0.042235810309648514,
-0.06531723588705063,
0.029472902417182922,
-0.03396095708012581,
0.03632520139217377,
0.002376766176894307,
-0.056100696325302124,
-0.054818395525217056,
0.01002299040555954,
-0.004523118492215872,
-0.009151426143944263,
-0.028170563280582428,
0.08194708824157715,
0.03554379940032959,
-0.0022640638053417206,
0.08238787949085236,
0.024263551458716393,
-0.006171076558530331,
0.020486772060394287,
-0.007197919767349958,
-0.003598959883674979,
0.015367583371698856,
0.00731312669813633,
0.03846905007958412,
-0.03311944752931595,
-0.03680606558918953,
-0.06098947301506996,
-0.022239919751882553,
0.009381840005517006,
0.015978680923581123,
-0.016349345445632935,
0.047445159405469894,
-0.05754328519105911,
-0.007698818575590849,
0.03696634992957115,
-0.02286103367805481,
-0.023922940716147423,
0.047284871339797974,
-0.019925765693187714,
-0.019975855946540833,
-0.0037367071490734816,
0.02244027890264988,
0.040452610701322556,
0.033900849521160126,
0.04888774827122688,
0.017200874164700508,
-0.02999383583664894,
0.00953711848706007,
-0.021578732877969742,
0.010093116201460361,
0.042155664414167404,
0.0016028770478442311,
0.011921398341655731,
-0.02244027890264988,
-0.020476754754781723,
-0.03149653226137161,
0.05233393609523773,
0.026166968047618866,
0.006401489954441786,
-0.03993167355656624,
0.01852324791252613,
0.017832007259130478,
0.007874133065342903,
-0.027509376406669617,
-0.03654559701681137,
-0.023742616176605225,
0.019394811242818832,
-0.023482149466872215,
-0.026247112080454826,
0.021198049187660217,
0.09104341268539429,
0.02234009839594364,
-0.025646032765507698,
-0.057262782007455826,
0.04972926154732704,
-0.01757153868675232,
-0.014425893314182758,
0.00018282816745340824,
0.02185923606157303,
-0.07685795426368713,
-0.017351143062114716,
-0.008550346828997135,
0.03494272008538246,
-0.047685593366622925,
0.014245569705963135,
0.012171847745776176,
0.005539943929761648,
0.02899203822016716,
-0.005129206459969282,
0.05966709926724434,
0.06728076189756393,
0.02588646486401558,
0.01920447126030922,
0.02791009657084942,
-0.016720011830329895,
0.0047936043702065945,
0.03512304276227951,
0.03237811475992203,
-0.0027374133933335543,
0.010188287124037743,
-0.04756537452340126,
0.007303108461201191,
0.03041459247469902,
-0.004863730166107416,
0.0054147192277014256,
-0.02109786868095398,
-0.02580632083117962,
0.029352685436606407,
-0.08399076014757156,
-0.001576579874381423,
0.004610775969922543,
-0.04235602542757988,
-0.030474700033664703,
-0.0407731831073761,
0.03520318865776062,
-0.0769781693816185,
0.06523709744215012,
0.03959106281399727,
-0.030574878677725792,
0.018613409250974655,
0.014566144905984402,
-0.07489442825317383,
-0.027870023623108864,
0.025605959817767143,
0.017661701887845993,
-0.06692011654376984,
0.07870126515626907,
0.007939250208437443,
-0.010518880560994148,
0.018372977152466774,
0.0020724700298160315,
-0.016078859567642212,
-0.0212581567466259,
0.01965527981519699,
0.08599435538053513,
-0.02227999083697796,
-0.02965322509407997,
-0.04211559519171715,
0.07629694789648056,
0.05758335813879967,
-0.04664372280240059,
-0.051652710884809494,
-0.03279887139797211,
0.022420242428779602,
0.020877473056316376,
-0.012582585215568542,
0.013113537803292274,
-0.04203544929623604,
0.046924225986003876,
0.038789622485637665,
0.007237991783767939,
0.030234267935156822,
0.004638325423002243,
0.0017043091356754303,
-0.039951711893081665,
-0.007603648118674755,
0.027950167655944824,
0.03931055963039398,
0.000045550510549219325,
-0.01504700817167759,
0.03313948214054108,
-0.009677370078861713,
0.031817108392715454,
0.008390059694647789,
0.004655857104808092,
0.022840997204184532,
-0.020476754754781723,
0.06371436268091202,
0.03261854872107506,
0.00895607564598322,
-0.001130779623053968,
0.009987927973270416,
0.022119702771306038,
-0.04199538007378578,
-0.02436373010277748,
0.012592602521181107,
0.007864115759730339,
0.050210122019052505,
-0.03630516678094864,
-0.03452196344733238,
0.013744670897722244,
-0.008059466257691383,
-0.1493881344795227,
0.03313948214054108,
0.0605086088180542,
0.015908554196357727,
0.02167891152203083,
-0.03476239740848541,
-0.07673773914575577,
-0.037607502192258835,
0.014195479452610016,
-0.03856923058629036,
-0.005559979937970638,
-0.04616285860538483,
0.030574878677725792,
0.0006849794881418347,
0.04596249759197235,
0.011670948006212711,
0.00219644233584404,
-0.03109581395983696,
-0.017902132123708725,
0.0816265121102333,
-0.0478859506547451,
-0.013734652660787106,
-0.008204726502299309,
0.007303108461201191,
0.00902620144188404,
-0.013834832236170769,
0.02344207651913166,
-0.04524120315909386,
0.00026563304709270597,
-0.01991574652493,
0.041394300758838654,
0.0169404074549675,
-0.014025174081325531,
-0.0059406631626188755,
0.03856923058629036,
0.012452350929379463,
0.02486463077366352,
0.009411893784999847,
0.03913023695349693,
0.0089059853926301,
0.015948627144098282,
-0.005184305366128683,
-0.02236013486981392,
0.01328384317457676,
0.04536142200231552,
0.03724685683846474,
-0.019134344533085823,
-0.04351811110973358,
-0.010203314013779163,
0.004205047618597746,
-0.022460315376520157,
-0.05137220770120621,
-0.006772155407816172,
0.043157465755939484,
-0.00039790169103071094,
0.018793733790516853,
0.020737221464514732,
0.003709157695993781,
0.06082918494939804,
-0.014726432971656322,
-0.010558952577412128,
0.0692843571305275,
0.01499691791832447,
0.02310146577656269,
0.01852324791252613,
0.012522476725280285,
-0.060468535870313644,
0.04383868724107742,
0.05297508463263512,
0.0934477299451828,
-0.04311739280819893,
0.01828281581401825,
0.01054893434047699,
-0.006852299440652132,
0.032137684524059296,
-0.038869768381118774,
0.009146417491137981,
-0.0002814426552504301,
0.07906191051006317,
-0.06475622951984406,
0.05077112838625908,
0.031296174973249435,
0.009396866895258427,
0.03420138731598854,
0.045000772923231125,
-0.02722887322306633,
-0.019264578819274902,
-0.026187004521489143,
0.03957102820277214,
0.004868738818913698,
0.031897254288196564,
-0.013574364595115185,
0.006727074738591909,
-0.020086053758859634,
0.021819163113832474,
0.021218085661530495,
-0.014405857771635056,
0.012873106636106968,
-0.023922940716147423,
0.043317753821611404,
0.003864436410367489,
-0.015367583371698856,
-0.021198049187660217,
0.014215515926480293,
-0.05353609472513199,
0.05762343108654022,
0.002719881944358349,
0.030855383723974228,
0.0033384922426193953,
0.029553044587373734,
0.02965322509407997,
-0.03822861611843109,
0.0031681866385042667,
-0.005539943929761648,
0.0032433215528726578,
0.02302132174372673,
-0.05766350030899048,
0.01862342841923237,
0.013614436611533165,
-0.015477781184017658,
-0.042476240545511246,
0.022800926119089127,
0.010338556952774525,
0.0064115081913769245,
-0.010779348202049732,
0.0003204188833478838,
0.008565373718738556,
-0.04764552041888237,
-0.058785516768693924,
0.0026071795728057623,
0.03344002366065979,
0.029212433844804764,
-0.05177292972803116,
-0.010278449393808842,
0.09248600155115128,
-0.018954021856188774,
0.016299255192279816,
-0.014385821297764778,
0.004235101863741875,
0.07369226962327957,
0.0037792834918946028,
0.03706653043627739,
-0.044159263372421265,
0.007298099342733622,
-0.044479839503765106,
0.0735720545053482,
-0.04073311388492584,
-0.0188638586550951,
-0.043758541345596313,
0.015407655388116837,
-0.028190599754452705,
0.014886720106005669,
-0.02488466538488865,
-0.008304907009005547,
0.009682378731667995,
-0.05714256688952446,
-0.008545338176190853,
0.02067711390554905,
0.04924839735031128,
-0.015688158571720123,
-0.029312614351511,
-0.00007396088039968163,
-0.08455176651477814,
-0.0919249951839447,
0.0020787310786545277,
-0.027509376406669617,
-0.07689802348613739,
0.028551246970891953,
-0.0650768056511879,
-0.06082918494939804,
-0.048527102917432785,
0.059947602450847626,
-0.010829438455402851,
0.032157719135284424,
-0.04119393974542618,
-0.06519702076911926,
0.03967120498418808,
0.040452610701322556,
0.008870922960340977,
0.009441947564482689,
-0.05682199075818062,
-0.0014826612314209342,
-0.012883123941719532,
0.028671463951468468,
0.03059491515159607,
0.010849473997950554,
0.0050014774315059185,
0.04932853952050209,
-0.029172362759709358,
-0.04243617132306099,
-0.028511175885796547,
-0.008149627596139908,
-0.004335281439125538,
-0.005514898803085089,
0.013183663599193096,
-0.02075725793838501,
0.044239405542612076,
0.046082716435194016,
0.02167891152203083,
-0.03624505549669266,
-0.007949268445372581,
0.009276650846004486,
-0.01936475746333599,
-0.043918829411268234,
0.021739019080996513,
0.026908298954367638,
-0.018643463030457497,
-0.06559774279594421,
0.027208838611841202,
-0.004876252263784409,
-0.005364628974348307,
0.05537940189242363,
0.01617904007434845,
0.03360031172633171,
0.015317494049668312,
0.005785384215414524,
0.06159054860472679,
-0.01702055148780346,
-0.019565118476748466,
-0.03269869089126587,
0.004255137871950865,
0.010398664511740208,
-0.018302852287888527,
0.00007720889698248357,
0.024263551458716393,
-0.04291703179478645,
0.030053945258259773,
0.0020987670868635178,
0.025746213272213936,
0.033660419285297394,
0.018002312630414963,
-0.03430156782269478,
0.003250834997743368,
-0.024403803050518036,
0.018613409250974655,
0.04123401269316673,
0.042476240545511246,
-0.027248909696936607,
-0.035243257880210876,
0.09080298244953156,
0.0028851786628365517,
-0.05662162974476814,
0.012973286211490631,
0.016539687290787697,
-0.03143642470240593,
0.019484974443912506,
-0.034662216901779175,
0.001953506376594305,
0.0013173645129427314,
0.010268431156873703,
0.011119959875941277,
0.0042501287534832954,
0.01986565813422203,
0.09513074904680252,
-0.00935178529471159,
-0.0425163134932518,
0.0169404074549675,
-0.006727074738591909,
-0.016880298033356667,
0.0593465231359005,
-0.0012729098089039326,
-0.059627026319503784,
-0.003601464442908764,
-0.06143026426434517,
-0.057783715426921844,
-0.09024197608232498,
-0.0034962755162268877,
0.013073465786874294,
-0.016669921576976776,
0.07597637176513672,
0.0017932186601683497,
0.0030354484915733337,
-0.019985873252153397,
-0.017721809446811676,
0.00956216361373663,
0.05041048303246498,
0.0017819484928622842,
-0.013965066522359848,
-0.03596455231308937,
0.023482149466872215,
0.025405600666999817,
0.016910353675484657,
-0.004180002957582474,
0.03241818770766258,
0.007438351400196552,
-0.025265349075198174,
0.03384074196219444,
-0.003729193704202771,
-0.04960904270410538,
0.021218085661530495,
-0.014696379192173481,
0.020957617089152336,
0.0356239415705204,
-0.0019359749276190996,
-0.044079117476940155,
0.01747136004269123
]
|
40,316 | pyglove.core.symbolic.base | missing_values | Alias for `sym_missing`. | def missing_values(self, flatten: bool = True) -> Dict[str, Any]:
"""Alias for `sym_missing`."""
return self.sym_missing(flatten)
| (self, flatten: bool = True) -> Dict[str, Any] | [
0.044810183346271515,
-0.06850489974021912,
0.08116041868925095,
0.010299807414412498,
-0.011486263014376163,
-0.009457251988351345,
-0.0016851103864610195,
-0.01661037467420101,
0.056640345603227615,
-0.010901632718741894,
-0.015312151052057743,
-0.009276704862713814,
0.033014409244060516,
-0.04178386181592941,
-0.0026093418709933758,
0.026807012036442757,
0.013773198239505291,
0.09312814474105835,
0.027718346565961838,
0.01865657977759838,
-0.0017968779429793358,
-0.027116522192955017,
-0.061902016401290894,
0.03635023906826973,
-0.04367531090974808,
-0.020290104672312737,
0.02747761644423008,
-0.028457732871174812,
-0.02541421726346016,
-0.00975816510617733,
-0.05584937334060669,
0.0022611431777477264,
0.003168179653584957,
0.006534101907163858,
0.008666282519698143,
-0.056605953723192215,
-0.0443975031375885,
0.017358357086777687,
-0.05361402407288551,
-0.0070929392240941525,
0.02806224673986435,
-0.024451296776533127,
-0.035937558859586716,
-0.04192142188549042,
0.014503986574709415,
0.001070926315151155,
0.03191392868757248,
0.004257912747561932,
-0.01300802081823349,
0.01896608993411064,
0.06183323636651039,
0.044191163033246994,
0.004530883859843016,
0.015028433874249458,
-0.04959039390087128,
0.02419337071478367,
-0.007677569519728422,
-0.0025814000982791185,
-0.046839192509651184,
0.03337550535798073,
-0.026445915922522545,
0.04518847167491913,
-0.00022125135001260787,
-0.030005283653736115,
0.016739336773753166,
0.04673602059483528,
0.006314865313470364,
0.0007146673742681742,
-0.008077353239059448,
0.0003936043940484524,
-0.016206292435526848,
-0.062245916575193405,
-0.06592565029859543,
0.007028458174318075,
0.058428626507520676,
-0.0859062448143959,
-0.0067662340588867664,
-0.026222381740808487,
0.006018251646310091,
-0.1006939485669136,
-0.053063783794641495,
0.011340104974806309,
-0.06420614570379257,
0.03803534805774689,
-0.01747872121632099,
0.06991488486528397,
0.04938405379652977,
0.02421056665480137,
0.02390105649828911,
0.056021325290203094,
-0.060423243790864944,
0.0031595821492373943,
0.01049755048006773,
0.049487221986055374,
0.01710043102502823,
0.02488117106258869,
0.024158980697393417,
-0.030228817835450172,
0.04666724056005478,
-0.06152372434735298,
0.055746205151081085,
-0.10798462480306625,
-0.033255137503147125,
0.006452425383031368,
0.0005636737332679331,
-0.0414055697619915,
0.011898943223059177,
-0.08851988613605499,
0.06324322521686554,
-0.008889817632734776,
-0.07359462231397629,
0.00532615277916193,
0.021424975246191025,
-0.0032949927262961864,
-0.006800624076277018,
-0.03280806913971901,
0.004767314996570349,
0.03335830941796303,
-0.0062417867593467236,
0.01715201698243618,
-0.01095321774482727,
0.06905514001846313,
-0.02243948169052601,
-0.022095581516623497,
0.04793967306613922,
0.029197117313742638,
0.008378266356885433,
0.04009874910116196,
0.09374716132879257,
0.06984610855579376,
0.05502401292324066,
0.010970412753522396,
0.010110662318766117,
0.00796988420188427,
-0.054852064698934555,
0.02627396769821644,
0.06582247465848923,
0.007277785800397396,
0.07909701764583588,
0.027924686670303345,
0.02157973125576973,
-0.034166473895311356,
-0.04549797996878624,
0.016765128821134567,
0.0009999970206990838,
0.013558261096477509,
0.02482958696782589,
0.07359462231397629,
-0.05863496661186218,
-0.017624879255890846,
0.030951008200645447,
0.02746042236685753,
-0.023264840245246887,
-0.004038676619529724,
-0.01894889399409294,
0.01362704113125801,
0.042987510561943054,
0.007651777006685734,
-0.019309990108013153,
-0.04883381351828575,
-0.00842985138297081,
-0.0502438023686409,
0.016438424587249756,
-0.01863938570022583,
-0.0031724784057587385,
0.009672190062701702,
0.04972795397043228,
-0.019567914307117462,
0.014813496731221676,
0.014684533700346947,
-0.02125302515923977,
-0.023797886446118355,
-0.008017171174287796,
-0.01680811680853367,
0.047767721116542816,
0.044500671327114105,
-0.010299807414412498,
0.001092420076020062,
-0.004965057596564293,
0.04941844195127487,
0.032928433269262314,
-0.03447598218917847,
-0.06943342834711075,
-0.04694236069917679,
0.06234908476471901,
-0.0037721539847552776,
-0.025500191375613213,
-0.04312507063150406,
-0.000054641157475998625,
0.06372468918561935,
0.009285302832722664,
0.04474140331149101,
0.048593081533908844,
0.12621133029460907,
0.003112295875325799,
-0.007565801963210106,
0.004474999848753214,
0.010317002423107624,
-0.052788663655519485,
-0.021184245124459267,
-0.019671084359288216,
-0.03614389896392822,
-0.01742713712155819,
0.011434677988290787,
-0.034407202154397964,
-0.043881651014089584,
-0.05096599459648132,
-0.041543129831552505,
0.015080018900334835,
0.005897886585444212,
-0.010557732544839382,
-0.02393544651567936,
0.0035271253436803818,
-0.0265490859746933,
-0.03665975108742714,
-0.016438424587249756,
0.02866407297551632,
0.0026243876200169325,
-0.034424398094415665,
0.0053046587854623795,
0.03662535920739174,
-0.07827165722846985,
0.061317384243011475,
0.027305666357278824,
0.009216522797942162,
0.035662438720464706,
-0.01017944235354662,
-0.02273179590702057,
-0.03899826854467392,
-0.01342929806560278,
-0.0030650096014142036,
0.009096157737076283,
-0.0472174808382988,
-0.0006372898351401091,
0.013850576244294643,
0.00695108063519001,
0.06100787594914436,
-0.00887262262403965,
0.10846608877182007,
0.00508972117677331,
-0.020307300612330437,
0.0016582432435825467,
-0.018845725804567337,
0.055127184838056564,
0.010936022736132145,
-0.022645819932222366,
0.017564697191119194,
0.08150432258844376,
-0.010136455297470093,
-0.013850576244294643,
0.018398655578494072,
-0.0019290645141154528,
0.02926589734852314,
0.03402891382575035,
0.023264840245246887,
-0.025035927072167397,
-0.010359990410506725,
0.044156771153211594,
0.045635540038347244,
-0.060148127377033234,
0.013214360922574997,
-0.0015905379550531507,
-0.03789778798818588,
0.0384824201464653,
-0.032103072851896286,
0.0048919785767793655,
0.01802036538720131,
-0.01447819359600544,
-0.06093909591436386,
0.005932276602834463,
-0.0768960565328598,
0.006981171667575836,
-0.03707243129611015,
-0.026497501879930496,
0.021373391151428223,
0.1064714640378952,
0.030366377905011177,
-0.04587627202272415,
0.023797886446118355,
0.00131111906375736,
-0.014581363648176193,
-0.0413711816072464,
0.015260566025972366,
0.01836426556110382,
0.006104226689785719,
0.06950220465660095,
-0.03779461979866028,
-0.06712929904460907,
-0.0192584041506052,
-0.03954850882291794,
0.045979440212249756,
0.010824255645275116,
0.025534581393003464,
0.002499723806977272,
0.07022439688444138,
0.007806532084941864,
-0.04195581004023552,
-0.052479155361652374,
0.009242314845323563,
0.032068684697151184,
0.019688280299305916,
0.024021420627832413,
0.058428626507520676,
0.021751681342720985,
0.018759749829769135,
-0.07558923959732056,
0.06252103298902512,
0.05079404264688492,
0.002985482569783926,
-0.009096157737076283,
-0.05124111473560333,
0.048008453100919724,
0.02632555179297924,
-0.025070317089557648,
0.025035927072167397,
-0.0383448600769043,
-0.027546396479010582,
-0.0036216978915035725,
0.024468490853905678,
0.030607108026742935,
0.0096292020753026,
-0.03045235201716423,
-0.016111718490719795,
0.007118731737136841,
-0.03495744243264198,
-0.014452401548624039,
0.0051885927096009254,
-0.030813448131084442,
0.012217050418257713,
-0.0019043467473238707,
0.016386838629841805,
-0.05230720341205597,
-0.02219875156879425,
0.008580307476222515,
-0.017642075195908546,
0.023746300488710403,
0.023539960384368896,
-0.005523895379155874,
-0.0003103160997852683,
0.018123535439372063,
-0.03985802084207535,
-0.013704418204724789,
-0.015879586338996887,
-0.007277785800397396,
-0.03375379368662834,
-0.03655657917261124,
-0.009612007066607475,
-0.036762919276952744,
0.0024846780579537153,
0.05203208327293396,
-0.01239759847521782,
0.03421805799007416,
-0.013394908048212528,
0.019447550177574158,
0.06241786479949951,
0.007041354198008776,
-0.03275648504495621,
0.03377098962664604,
0.023471180349588394,
0.01685110479593277,
0.06571930646896362,
0.026445915922522545,
-0.014185878448188305,
0.01597415842115879,
0.08948280662298203,
-0.04291873052716255,
-0.01746152713894844,
0.021167051047086716,
-0.042746782302856445,
-0.04962478205561638,
-0.04604822024703026,
-0.012036503292620182,
-0.015888184309005737,
-0.05134428292512894,
0.02747761644423008,
0.017917195335030556,
0.026480305939912796,
0.016438424587249756,
-0.04587627202272415,
-0.013179970905184746,
0.0015905379550531507,
-0.008769452571868896,
-0.05124111473560333,
0.015733428299427032,
-0.0021450768690556288,
-0.013558261096477509,
0.039789240807294846,
0.0030112750828266144,
-0.01984303444623947,
0.017848415300250053,
0.011426080018281937,
-0.013910758309066296,
0.015449711121618748,
0.04408799111843109,
-0.026961766183376312,
-0.03989240899682045,
0.01255235355347395,
-0.060457635670900345,
-0.03528415039181709,
-0.039479728788137436,
0.03745071962475777,
-0.03669413924217224,
-0.004969356115907431,
-0.01948194019496441,
0.025895677506923676,
-0.06455004960298538,
-0.016180498525500298,
-0.032360997051000595,
0.021820461377501488,
-0.0022525456734001637,
0.03923900052905083,
-0.03628145903348923,
-0.0029167025350034237,
-0.056055713444948196,
0.008580307476222515,
-0.01865657977759838,
-0.023144476115703583,
0.03370220959186554,
0.04783650115132332,
0.008055859245359898,
0.038860708475112915,
-0.11169874668121338,
-0.019671084359288216,
0.04876503348350525,
-0.0005190742085687816,
0.014684533700346947,
-0.03586877882480621,
-0.01255235355347395,
-0.004591066390275955,
0.042162150144577026,
0.007591594476252794,
0.001976350788027048,
-0.00011626778723439202,
-0.02930028736591339,
-0.005442218855023384,
-0.029162727296352386,
0.008666282519698143,
-0.07249414175748825,
0.004253614228218794,
0.06719807535409927,
-0.016713544726371765,
0.04288434237241745,
0.005532492883503437,
-0.009319692850112915,
0.024692026898264885,
0.007101536728441715,
-0.01269851066172123,
0.037691451609134674,
0.0680234357714653,
-0.004560974892228842,
-0.038895100355148315,
-0.07015562057495117,
0.05853179469704628,
-0.06874562799930573,
-0.02543141134083271,
0.05495523288846016,
-0.02273179590702057,
-0.024451296776533127,
-0.0015862392028793693,
0.01949913427233696,
-0.0016883345087990165,
0.021424975246191025,
-0.08343016356229782,
0.00799997616559267,
0.0147619117051363,
0.050690874457359314,
-0.01520898099988699,
-0.06761075556278229,
-0.04793967306613922,
0.02776993252336979,
0.005248775240033865,
-0.0013938701013103127,
0.003013424575328827,
-0.04639212042093277,
-0.02243948169052601,
-0.0325673371553421,
-0.019292794167995453,
0.0472518727183342,
-0.013687223196029663,
-0.03879192844033241,
-0.03573121875524521,
-0.011142362840473652,
-0.024640440940856934,
-0.046839192509651184,
0.020272910594940186,
0.04934966191649437,
0.00828799232840538,
-0.010102065280079842,
-0.004715729970484972,
0.032068684697151184,
0.04161190986633301,
-0.032103072851896286,
0.017848415300250053,
-0.0067662340588867664,
0.020616810768842697,
0.014753313735127449,
0.029798943549394608,
-0.0353873185813427,
0.06083592399954796,
0.0016700647538527846,
-0.035937558859586716,
0.00040461996104568243,
-0.009577617049217224,
0.05461133271455765,
-0.014108501374721527,
-0.059907395392656326,
-0.007075744215399027,
-0.003241258440539241,
-0.03187953680753708,
-0.05529913306236267,
-0.022319115698337555,
0.015578674152493477,
0.040339481085538864,
0.019395964220166206,
0.015131603926420212,
-0.0036883284337818623,
-0.01269851066172123,
-0.026222381740808487,
0.027873102575540543,
0.018845725804567337,
-0.0015969860833138227,
0.008391162380576134,
-0.011752785183489323,
-0.025500191375613213,
-0.06279615312814713,
0.030658692121505737,
0.022078385576605797,
-0.013652833178639412,
-0.008425552397966385,
0.000658783596009016,
0.030607108026742935,
-0.028457732871174812,
-0.013051008805632591,
0.03579999879002571,
-0.016928482800722122,
0.04780211299657822,
0.025053121149539948,
0.024348126724362373,
-0.11926455050706863,
0.044328723102808,
0.05241037532687187,
0.023161670193076134,
0.038895100355148315,
0.013248750939965248,
0.0709121972322464,
0.009311094880104065,
-0.058394234627485275,
0.006065537687391043,
0.03426964208483696,
-0.006375047843903303,
-0.02450288087129593,
-0.021115465089678764,
0.022250335663557053,
0.015785014256834984,
-0.004517987370491028,
-0.036797311156988144,
0.03041796199977398,
0.03222343698143959,
-0.02006657049059868,
-0.011873150244355202,
0.01316277589648962,
-0.01865657977759838,
0.01405691634863615,
-0.09374716132879257,
-0.06864245980978012,
-0.007604490499943495,
-0.04694236069917679,
0.04219654202461243,
-0.027701152488589287,
0.04704553261399269,
-0.0797848179936409,
0.021407781168818474,
0.03232660889625549,
0.03569683060050011,
0.03641901910305023,
0.014237463474273682,
0.030366377905011177,
0.0051842937245965,
-0.024949951097369194,
-0.041543129831552505,
0.010291210375726223,
0.05055331438779831,
-0.008502929471433163,
0.005717338994145393,
0.0383448600769043,
-0.028818827122449875,
-0.029919307678937912,
0.020771564915776253,
0.02393544651567936,
-0.008438448421657085,
-0.028217002749443054,
-0.04494774341583252,
0.020272910594940186,
-0.026205187663435936,
0.0040687681175768375,
0.019361574202775955,
-0.03528415039181709,
0.027873102575540543,
0.011769980192184448,
-0.012010710313916206,
-0.013025215826928616,
0.019877424463629723,
-0.012225648388266563,
0.016404034569859505,
-0.009508837014436722,
0.015458309091627598,
0.07153122127056122,
0.0073766568675637245,
-0.004045124631375074,
-0.03497463837265968,
-0.02955821342766285,
-0.03456195816397667,
-0.02187204547226429,
-0.0053089577704668045,
0.026721036061644554,
-0.009586215019226074,
0.020221324637532234,
0.015406724065542221,
-0.027426032349467278,
0.02599884755909443,
-0.05860057473182678,
-0.07558923959732056,
-0.07531411945819855,
0.011133765801787376,
0.01049755048006773,
0.00501664262264967,
0.013652833178639412,
0.11080460995435715,
-0.048661861568689346,
-0.009887127205729485,
-0.0147877037525177,
0.01286186370998621,
0.030675888061523438,
-0.0222331415861845,
-0.009431459940969944,
0.05385475233197212,
0.03377098962664604,
-0.008704970590770245,
0.008313784375786781,
0.09704860299825668,
-0.027271276339888573,
-0.019722670316696167,
-0.060801535844802856,
0.06293371319770813,
-0.03437281399965286,
0.03635023906826973,
-0.04855869337916374,
-0.02450288087129593,
0.03920460864901543,
0.0008210614905692637,
-0.009887127205729485,
0.014529778622090816,
-0.04350336268544197,
-0.02924870327115059,
-0.025053121149539948,
0.0325501449406147,
-0.05584937334060669,
-0.01137449499219656,
0.004206328187137842,
-0.013085398823022842,
-0.04075216129422188,
-0.03222343698143959,
-0.08838232606649399,
-0.003325083991512656,
0.056296445429325104,
0.011976320296525955,
-0.01982584036886692,
-0.003847382264211774,
0.07490143924951553,
-0.05529913306236267,
-0.006865105591714382,
0.0222331415861845,
0.024073006585240364,
0.017968779429793358,
-0.0769648402929306,
0.03304879739880562,
-0.032120268791913986,
0.06289932876825333,
0.024898367002606392,
-0.03346147760748863,
0.03046954795718193,
-0.027907492592930794,
-0.018708165735006332,
0.05079404264688492,
-0.07036195695400238,
-0.017796829342842102,
-0.02127022109925747,
-0.01836426556110382,
-0.004689937457442284,
0.0038215897511690855,
0.007144524250179529,
-0.03927338868379593,
0.01239759847521782,
0.04622017219662666,
-0.048627473413944244,
0.010385782457888126,
-0.005850600078701973,
0.0026243876200169325,
0.02276618592441082,
-0.0022460974287241697,
-0.002237499924376607,
0.012810278683900833,
-0.013850576244294643,
-0.009164937771856785,
0.026961766183376312,
0.002521217567846179,
0.04023630917072296,
-0.0024631842970848083,
-0.040683381259441376,
0.046529680490493774,
-0.01776243932545185,
0.028578097000718117,
-0.04346897080540657,
-0.0502438023686409,
-0.026789816096425056,
-0.03724437952041626,
0.02242228575050831,
-0.03139807656407356,
0.012638328596949577,
0.002349267480894923,
0.035026222467422485,
0.02035888470709324,
-0.01005907729268074,
0.07510778307914734,
0.018742555752396584,
0.09808030724525452,
-0.05849740654230118,
-0.04254044219851494,
0.027649566531181335,
0.018725359812378883,
0.02427934668958187,
0.06059519574046135,
-0.021648511290550232,
0.07779020071029663,
0.026445915922522545,
-0.02333362028002739,
0.005330451298505068,
0.06712929904460907,
-0.014099903404712677,
0.038000959903001785,
0.013403506018221378,
0.03576561063528061,
0.026136407628655434,
0.018450239673256874,
0.08005993813276291,
-0.011718395166099072,
0.011150960810482502,
0.03604073077440262,
-0.01373880822211504,
0.002424495527520776,
0.02458885684609413,
0.01655878871679306,
-0.015862392261624336,
0.0008092399220913649,
0.0026050431188195944,
0.008481436409056187,
0.007174615748226643,
-0.0001840402837842703,
0.024073006585240364,
-0.014134293422102928,
-0.035937558859586716,
-0.0035271253436803818,
-0.025775311514735222,
0.08680038154125214,
-0.016704946756362915,
0.03421805799007416,
0.02331642620265484,
0.010162247344851494
]
|
40,317 | pyglove.core.symbolic.base | non_default_values | Alias for `sym_nondefault`. | def non_default_values(
self, flatten: bool = True) -> Dict[Union[int, str], Any]:
"""Alias for `sym_nondefault`."""
return self.sym_nondefault(flatten)
| (self, flatten: bool = True) -> Dict[Union[int, str], Any] | [
0.06619201600551605,
-0.04570235684514046,
0.10085079073905945,
-0.010270875878632069,
-0.029171716421842575,
0.0024005891755223274,
-0.00611651036888361,
-0.020055554807186127,
0.05935055390000343,
-0.01591421291232109,
-0.015645070001482964,
0.013326960615813732,
-0.007505639921873808,
-0.03382530063390732,
0.006732936482876539,
0.009202982299029827,
-0.007861603982746601,
0.05566935986280441,
0.03271399810910225,
0.0490015409886837,
0.01589684933423996,
-0.0295537281781435,
-0.04045839235186577,
0.01657404936850071,
-0.04212534800171852,
-0.0148897310718894,
-0.008690740913152695,
-0.02194824442267418,
-0.0297794621437788,
-0.010409788228571415,
-0.06594891846179962,
-0.01007118821144104,
0.018145503476262093,
0.018371235579252243,
0.038756709545850754,
-0.0690397322177887,
-0.04535507410764694,
0.1094633936882019,
-0.062337182462215424,
-0.044313229620456696,
0.033773209899663925,
-0.04934882000088692,
-0.05500952526926994,
-0.030942857265472412,
-0.011095670983195305,
0.015297787263989449,
0.05928109586238861,
-0.001560600008815527,
0.03656883165240288,
0.00984545424580574,
0.07067196071147919,
0.021896151825785637,
0.008768878877162933,
0.034380953758955,
-0.06553217768669128,
-0.015315151773393154,
0.0016517617041245103,
0.01831914484500885,
-0.07494352757930756,
0.03823578730225563,
-0.041083503514528275,
0.026254545897245407,
0.010557383298873901,
-0.0526132769882679,
0.009584993124008179,
0.033321741968393326,
-0.003012674394994974,
0.029397450387477875,
-0.02241707593202591,
0.03023092821240425,
-0.04080567508935928,
-0.0829310268163681,
-0.0548706129193306,
0.006715572439134121,
0.06789369881153107,
-0.096197210252285,
-0.008404232561588287,
-0.023754112422466278,
-0.012450071983039379,
-0.061225879937410355,
-0.048376429826021194,
0.0030105039477348328,
-0.055738817900419235,
0.04858480021357536,
-0.012571620754897594,
0.043618664145469666,
0.04598018154501915,
0.028286147862672806,
0.028980711475014687,
0.01373501680791378,
-0.049070995301008224,
-0.003761501982808113,
0.02467441000044346,
0.06532380729913712,
0.005113732535392046,
0.01565375179052353,
0.039694372564554214,
-0.013474554754793644,
0.05421077460050583,
-0.09397460520267487,
0.01852751336991787,
-0.11119981110095978,
-0.0384441576898098,
-0.04698730260133743,
-0.01040110643953085,
-0.059176910668611526,
0.030595574527978897,
-0.04834170266985893,
0.020211832597851753,
-0.0019491221755743027,
-0.08008331060409546,
-0.011425589211285114,
0.034450408071279526,
-0.008460666052997112,
-0.01809341087937355,
-0.006277128588408232,
-0.006919601000845432,
0.02010764740407467,
0.03255771845579147,
0.04528561979532242,
-0.05032121390104294,
0.061191149055957794,
-0.023511014878749847,
-0.01805868186056614,
0.014933140948414803,
0.05219653621315956,
0.024309763684868813,
0.05421077460050583,
0.08334776014089584,
0.096197210252285,
0.06428196281194687,
0.010592111386358738,
-0.014603222720324993,
0.03155060112476349,
-0.049591921269893646,
0.014334078878164291,
0.06511543691158295,
0.050911594182252884,
0.07911092042922974,
0.036047909408807755,
0.025282155722379684,
-0.023233188316226006,
-0.034433044493198395,
0.052960559725761414,
-0.024726502597332,
-0.0010977378115057945,
0.052509091794490814,
0.05900327116250992,
-0.06688658148050308,
-0.025455797091126442,
0.03792323172092438,
0.05143251642584801,
-0.05268273130059242,
0.03153323754668236,
-0.028199326246976852,
0.024639682844281197,
0.04844588786363602,
-0.05198816955089569,
0.0016018397873267531,
-0.04028475284576416,
0.0011286676162853837,
-0.006620069965720177,
0.041291870176792145,
-0.03153323754668236,
0.019135257229208946,
0.016634823754429817,
0.05691957846283913,
-0.04400067403912544,
0.04962664842605591,
-0.0024179534520953894,
-0.02840769663453102,
-0.028216691687703133,
-0.008712446317076683,
0.0133790522813797,
0.08577874302864075,
0.07633265852928162,
0.012354569509625435,
-0.036047909408807755,
-0.01417780201882124,
0.05407186225056648,
0.035544347018003464,
-0.00971522368490696,
-0.04736931249499321,
-0.021444685757160187,
0.045459259301424026,
0.00031391068478114903,
0.013752381317317486,
-0.026167724281549454,
-0.013509283773601055,
0.017390163615345955,
0.006815416272729635,
0.03722866624593735,
0.03382530063390732,
0.08147244155406952,
0.00428459607064724,
-0.003305693855509162,
0.013865247368812561,
-0.023476287722587585,
-0.05289110168814659,
-0.0355096198618412,
-0.0171904768794775,
-0.03865252435207367,
-0.0058343433775007725,
-0.01053133700042963,
-0.012866810895502567,
-0.036013178527355194,
-0.02290327101945877,
-0.01988191530108452,
-0.008243614807724953,
0.005947210360318422,
0.0018970298115164042,
-0.025994084775447845,
-0.010053823702037334,
-0.012484800070524216,
-0.022746993228793144,
-0.05691957846283913,
0.015028643421828747,
0.007696644868701696,
-0.05750995874404907,
0.030057286843657494,
0.041500240564346313,
-0.029901010915637016,
0.06126060709357262,
0.017615897580981255,
0.044729966670274734,
0.024136124178767204,
-0.016183357685804367,
-0.055460989475250244,
-0.011495045386254787,
-0.008660353720188141,
0.003609566017985344,
-0.010913347825407982,
-0.08661221712827682,
-0.001084714662283659,
0.015714526176452637,
-0.03290500119328499,
0.0768883153796196,
-0.045876000076532364,
0.06844934821128845,
0.00961103942245245,
0.0018720689695328474,
0.009350577369332314,
-0.004492965526878834,
0.020020827651023865,
-0.009298484772443771,
0.012901538982987404,
0.004848929587751627,
0.05886435881257057,
0.031915247440338135,
-0.017746128141880035,
0.040145840495824814,
-0.024101395159959793,
0.01623545028269291,
0.042472630739212036,
0.019048437476158142,
0.029571091756224632,
-0.06348321586847305,
0.05303001403808594,
0.004089249763637781,
-0.05417604744434357,
0.004623196087777615,
0.01304913405328989,
-0.06806734204292297,
0.024118758738040924,
0.01110435277223587,
-0.0189963448792696,
-0.010635522194206715,
-0.019517267122864723,
-0.05066849663853645,
0.00008356481703231111,
-0.049591921269893646,
0.0003597628092393279,
-0.04646637663245201,
-0.039729099720716476,
-0.010913347825407982,
0.08181972056627274,
0.007457888685166836,
-0.0425073578953743,
0.024188214913010597,
-0.029640547931194305,
-0.0325750857591629,
-0.0005372024024836719,
0.009689177386462688,
-0.020923761650919914,
0.04209062084555626,
0.05285637453198433,
-0.026844926178455353,
-0.06355267018079758,
-0.015948941931128502,
-0.0521618090569973,
0.058239251375198364,
0.035388071089982986,
0.037159211933612823,
0.01546274684369564,
0.030248291790485382,
-0.011981241405010223,
-0.028546608984470367,
-0.05997566133737564,
0.007913696579635143,
0.031029677018523216,
0.01042715273797512,
0.012154881842434406,
0.05587773025035858,
0.026410821825265884,
0.035839539021253586,
-0.030942857265472412,
0.0678589716553688,
0.016487229615449905,
0.030161472037434578,
0.01717311143875122,
-0.049070995301008224,
0.03827051445841789,
0.014021525159478188,
-0.012684487737715244,
0.004675288684666157,
-0.011043578386306763,
0.018840067088603973,
-0.0005244506173767149,
0.016712963581085205,
0.04858480021357536,
-0.012380615808069706,
-0.016712963581085205,
-0.051154691725969315,
-0.014117027632892132,
-0.012823401018977165,
-0.02358047105371952,
-0.017051562666893005,
-0.024379221722483635,
0.008017880842089653,
0.01166000496596098,
0.00016916448657866567,
-0.02674074098467827,
-0.0425073578953743,
-0.0009034767281264067,
-0.010375060141086578,
0.017147066071629524,
0.019135257229208946,
0.021618327125906944,
-0.04299355670809746,
-0.022833814844489098,
-0.034259404987096786,
-0.0148897310718894,
0.008499735966324806,
-0.02194824442267418,
-0.05507897958159447,
-0.010340332053601742,
0.009888865053653717,
-0.031706877052783966,
0.03274872526526451,
0.03002255968749523,
0.02014237642288208,
0.031897883862257004,
-0.015714526176452637,
0.035388071089982986,
0.05303001403808594,
0.014394853264093399,
-0.017581168562173843,
0.030769215896725655,
0.019378354772925377,
-0.00010004716023104265,
0.027331121265888214,
0.02125367894768715,
-0.0038135943468660116,
0.020958490669727325,
0.10592111945152283,
-0.015002597123384476,
0.003995917737483978,
0.019777730107307434,
-0.009038022719323635,
-0.06285810470581055,
-0.028702886775135994,
-0.006342243868857622,
-0.023198461160063744,
-0.086820587515831,
0.0416044257581234,
0.009159572422504425,
-0.026931745931506157,
0.011833646334707737,
-0.03986801207065582,
-0.02104531042277813,
0.006780687719583511,
-0.027852043509483337,
-0.003624759614467621,
0.05285637453198433,
-0.0293279942125082,
-0.011382179334759712,
0.0295537281781435,
0.033321741968393326,
-0.017537757754325867,
0.0050486172549426556,
-0.012154881842434406,
0.003299182280898094,
-0.015610341913998127,
0.031446415930986404,
0.0037311147898435593,
-0.019291535019874573,
-0.007119288202375174,
-0.04323665425181389,
-0.04094458743929863,
-0.028477152809500694,
0.006845803465694189,
0.0010179714299738407,
-0.008734150789678097,
-0.017199158668518066,
-0.004317153710871935,
-0.035544347018003464,
-0.0006495265406556427,
-0.018232323229312897,
0.03823578730225563,
0.00020972598576918244,
0.03323492035269737,
-0.010687613859772682,
0.012493482790887356,
-0.051154691725969315,
0.05073795095086098,
-0.04684839025139809,
-0.011668686755001545,
0.06629619747400284,
0.05747522786259651,
-0.04441741108894348,
0.016791101545095444,
-0.06476815789937973,
0.0018395112128928304,
0.037402309477329254,
0.038131602108478546,
0.028303511440753937,
-0.0005141406436450779,
-0.02635873109102249,
-0.024170851334929466,
0.03868725523352623,
0.00845632515847683,
-0.020923761650919914,
0.016539322212338448,
-0.03386002779006958,
0.02745267003774643,
-0.01785031333565712,
0.027869408950209618,
-0.08418124169111252,
-0.0004411571135278791,
0.029136989265680313,
-0.039520733058452606,
0.024084031581878662,
-0.015011279843747616,
-0.023945117369294167,
0.0548706129193306,
0.006563636474311352,
-0.021357864141464233,
0.07647157460451126,
0.041986435651779175,
-0.005178847815841436,
-0.026410821825265884,
-0.07584646344184875,
0.0847368910908699,
-0.05698903277516365,
-0.01293626707047224,
0.04927936568856239,
-0.06376104056835175,
0.005647679325193167,
0.03333910554647446,
0.0033122054301202297,
0.016148628666996956,
-0.011937830597162247,
-0.05559990555047989,
0.004399633035063744,
0.02151414193212986,
0.05740577355027199,
-0.01338773500174284,
-0.06511543691158295,
-0.02427503652870655,
0.025577345862984657,
0.002103228820487857,
-0.00111564458347857,
0.004058862570673227,
-0.07494352757930756,
-0.010053823702037334,
0.0022421416360884905,
-0.015714526176452637,
0.008573533035814762,
-0.014950505457818508,
-0.047924965620040894,
-0.03410312533378601,
0.004150024149566889,
-0.01783294789493084,
-0.04969610273838043,
0.005747522693127394,
0.026844926178455353,
0.01201596949249506,
-0.028268782421946526,
-0.02149677835404873,
0.05851707607507706,
0.05476642772555351,
0.03472823649644852,
0.023945117369294167,
-0.003726773662492633,
0.013075180351734161,
0.011668686755001545,
0.023511014878749847,
-0.03931236267089844,
0.049765560775995255,
0.007735714316368103,
-0.03365166112780571,
-0.0028086460661143064,
-0.03639518842101097,
0.04827224835753441,
-0.006012325640767813,
-0.041778065264225006,
-0.04438268393278122,
-0.003099495079368353,
-0.04563290253281593,
-0.05441914498806,
-0.013066498562693596,
-0.014828956685960293,
0.0357353538274765,
0.012571620754897594,
0.02130577154457569,
-0.027417941018939018,
0.04209062084555626,
-0.020454930141568184,
0.03615209087729454,
-0.017798220738768578,
0.0004180953837931156,
0.020993217825889587,
-0.0311338622123003,
-0.007978811860084534,
-0.024795960634946823,
0.03827051445841789,
0.004399633035063744,
0.01738148182630539,
0.015957623720169067,
0.015757936984300613,
0.04823751747608185,
-0.025976719334721565,
-0.03299182280898094,
0.04577181488275528,
-0.03827051445841789,
0.027852043509483337,
0.019100530073046684,
0.03523179516196251,
-0.07025521993637085,
0.038791436702013016,
0.015471428632736206,
0.03040456958115101,
0.026445550844073296,
0.008695081807672977,
0.06834516674280167,
0.02564680203795433,
-0.04917518049478531,
0.0562250129878521,
0.010392424650490284,
-0.03290500119328499,
-0.0026328342501074076,
-0.01988191530108452,
0.018944252282381058,
-0.010548701509833336,
-0.02519533410668373,
-0.046327464282512665,
0.032818183302879333,
0.018944252282381058,
-0.01828441582620144,
0.0034858465660363436,
0.03019620105624199,
-0.0027847704477608204,
0.010166690684854984,
-0.06782424449920654,
-0.03458932042121887,
0.018405964598059654,
-0.054835882037878036,
0.039242904633283615,
-0.03340856358408928,
0.06810206919908524,
-0.06594891846179962,
-0.02262544445693493,
0.0526132769882679,
0.01670428179204464,
0.026862289756536484,
0.015375926159322262,
0.030369840562343597,
-0.004048009868711233,
-0.057996153831481934,
-0.016487229615449905,
0.009732588194310665,
0.08348667621612549,
-0.02863343060016632,
-0.006928282789885998,
0.044556327164173126,
-0.03667301684617996,
-0.012432708404958248,
0.013413780368864536,
-0.00794842466711998,
-0.03224516659975052,
-0.0231463685631752,
0.02635873109102249,
0.012467436492443085,
-0.008959884755313396,
-0.042924098670482635,
-0.004644901491701603,
-0.05313419923186302,
0.049557190388441086,
0.03162005916237831,
0.0007108435383997858,
-0.025976719334721565,
0.002502603456377983,
-0.015428018756210804,
0.026410821825265884,
0.003194997552782297,
0.004887999035418034,
0.05945473909378052,
-0.019847186282277107,
0.0203507449477911,
-0.03156796470284462,
-0.0375412218272686,
-0.026844926178455353,
-0.025820443406701088,
-0.0060210078954696655,
0.004165217746049166,
-0.008803607895970345,
0.0039503369480371475,
0.010652885772287846,
-0.039277635514736176,
-0.017798220738768578,
-0.07556863874197006,
-0.013179365545511246,
-0.04618855193257332,
-0.0008790584397502244,
-0.010670250281691551,
-0.005417604465037584,
-0.00916825421154499,
0.11863165348768234,
-0.017008153721690178,
0.033512745052576065,
0.006589682772755623,
0.0028932960703969,
0.01627017743885517,
0.003854834008961916,
-0.018145503476262093,
0.030369840562343597,
0.020680664107203484,
-0.000035338693123776466,
0.01852751336991787,
0.09703069180250168,
0.014742136001586914,
-0.009541582316160202,
-0.00925507489591837,
0.036013178527355194,
-0.024726502597332,
0.01270185224711895,
-0.020871669054031372,
-0.007757419254630804,
0.0231463685631752,
-0.010592111386358738,
-0.04997393116354942,
0.0007320060976780951,
-0.012615031562745571,
-0.03446777164936066,
-0.06289283186197281,
0.029692640528082848,
-0.027105387300252914,
-0.02814723365008831,
0.025577345862984657,
-0.03792323172092438,
-0.0654279962182045,
-0.035335980355739594,
-0.07355440407991409,
0.008933838456869125,
0.03556171432137489,
0.0003082130861002952,
-0.035596441477537155,
0.005947210360318422,
0.06567109376192093,
-0.08605656772851944,
0.021583598107099533,
0.02264280989766121,
0.018909523263573647,
-0.004341029562056065,
-0.05928109586238861,
0.027174843475222588,
-0.02285117842257023,
0.08091678470373154,
0.021791966632008553,
-0.0366382896900177,
0.057996153831481934,
-0.06532380729913712,
-0.02104531042277813,
0.026653921231627464,
-0.0759853795170784,
-0.03017883561551571,
-0.03597845137119293,
-0.022990090772509575,
0.0051441197283566,
0.016192039474844933,
0.029154352843761444,
-0.039277635514736176,
0.016756372526288033,
0.02720957249403,
-0.060288216918706894,
0.023181097581982613,
-0.008612602017819881,
0.012432708404958248,
0.014472992159426212,
0.022104522213339806,
0.000040018865547608584,
0.0019230759935453534,
-0.02333737351000309,
-0.015306469984352589,
0.02239971235394478,
-0.015080736018717289,
0.03792323172092438,
-0.020541751757264137,
0.009706541895866394,
0.05212708190083504,
-0.011755507439374924,
0.04601491242647171,
-0.05452333018183708,
-0.048168063163757324,
-0.04736931249499321,
-0.015636388212442398,
-0.024309763684868813,
-0.014004160650074482,
-0.017259933054447174,
0.016504593193531036,
0.018162867054343224,
-0.022087156772613525,
-0.03361693024635315,
0.07911092042922974,
0.044556327164173126,
0.07202635705471039,
-0.062337182462215424,
-0.023927753791213036,
0.04195170849561691,
0.004399633035063744,
0.03368638828396797,
0.03205415979027748,
-0.012892857193946838,
0.02147941291332245,
0.00962840300053358,
-0.011625276878476143,
0.05209235101938248,
0.016756372526288033,
-0.044035401195287704,
0.004792496562004089,
-0.00928112119436264,
0.051640886813402176,
0.032627176493406296,
0.07160962373018265,
0.059871476143598557,
-0.016600096598267555,
0.016982106491923332,
0.035596441477537155,
0.02514324150979519,
0.023389466106891632,
-0.009159572422504425,
0.037159211933612823,
-0.00938530545681715,
-0.03368638828396797,
0.00859523843973875,
-0.006819757167249918,
0.005856048781424761,
-0.004523352719843388,
0.007891991175711155,
-0.016712963581085205,
-0.022764358669519424,
-0.012363251298666,
-0.04601491242647171,
0.04424377158284187,
-0.02835560403764248,
0.01166000496596098,
0.05101577565073967,
-0.006159920711070299
]
|
40,318 | pyglove.core.symbolic.base | rebind | Alias for `sym_rebind`.
Alias for `sym_rebind`. `rebind` is the recommended way for mutating
symbolic objects in PyGlove:
* It allows mutations not only on immediate child nodes, but on the
entire sub-tree.
* It allows mutations by rules via passing a callable object as the
value for `path_value_pairs`.
* It batches the updates from multiple sub-nodes, which triggers the
`_on_change` or `_on_bound` event once for recomputing the parent
object's internal states.
* It respects the "sealed" flag of the object or the `pg.seal`
context manager to trigger permission error.
Example::
#
# Rebind on pg.Object subclasses.
#
@pg.members([
('x', pg.typing.Dict([
('y', pg.typing.Int(default=0))
])),
('z', pg.typing.Int(default=1))
])
class A(pg.Object):
pass
a = A()
# Rebind using path-value pairs.
a.rebind({
'x.y': 1,
'z': 0
})
# Rebind using **kwargs.
a.rebind(x={y: 1}, z=0)
# Rebind using rebinders.
# Rebind based on path.
a.rebind(lambda k, v: 1 if k == 'x.y' else v)
# Rebind based on key.
a.rebind(lambda k, v: 1 if k and k.key == 'y' else v)
# Rebind based on value.
a.rebind(lambda k, v: 0 if v == 1 else v)
# Rebind baesd on value and parent.
a.rebind(lambda k, v, p: (0 if isinstance(p, A) and isinstance(v, int)
else v))
# Rebind on pg.Dict.
#
d = pg.Dict(value_spec=pg.typing.Dict([
('a', pg.typing.Dict([
('b', pg.typing.Int()),
])),
('c', pg.typing.Float())
])
# Rebind using **kwargs.
d.rebind(a={b: 1}, c=1.0)
# Rebind using key path to value dict.
d.rebind({
'a.b': 2,
'c': 2.0
})
# NOT OKAY: **kwargs and dict/rebinder cannot be used at the same time.
d.rebind({'a.b': 2}, c=2)
# Rebind with rebinder by path (on subtree).
d.rebind(lambda k, v: 1 if k.key == 'b' else v)
# Rebind with rebinder by value (on subtree).
d.rebind(lambda k, v: 0 if isinstance(v, int) else v)
#
# Rebind on pg.List.
#
l = pg.List([{
'a': 'foo',
'b': 0,
}
],
value_spec = pg.typing.List(pg.typing.Dict([
('a', pg.typing.Str()),
('b', pg.typing.Int())
]), max_size=10))
# Rebind using integer as list index: update semantics on list[0].
l.rebind({
0: {
'a': 'bar',
'b': 1
}
})
# Rebind: trigger append semantics when index is larger than list length.
l.rebind({
999: {
'a': 'fun',
'b': 2
}
})
# Rebind using key path.
l.rebind({
'[0].a': 'bar2'
'[1].b': 3
})
# Rebind using function (rebinder).
# Change all integers to 0 in sub-tree.
l.rebind(lambda k, v: v if not isinstance(v, int) else 0)
Args:
path_value_pairs: A dictionary of key/or key path to new field value, or
a function that generate updates based on the key path, value and
parent of each node under current object. We use terminology 'rebinder'
for this type of functions. The signature of a rebinder is:
`(key_path: pg.KeyPath, value: Any)` or
`(key_path: pg.KeyPath, value: Any, parent: pg.Symbolic)`
raise_on_no_change: If True, raises ``ValueError`` when there are no
values to change. This is useful when rebinder is used, which may or
may not generate any updates.
notify_parents: If True (default), parents will be notified upon change.
Otherwisee only the current object and the impacted children will
be notified. A most common use case for setting this flag to False
is when users want to rebind a child within the parent `_on_bound`
method.
skip_notification: If True, there will be no ``_on_change`` event
triggered from current `rebind`. If None, the default value will be
inferred from the :func:`pyglove.notify_on_change` context manager.
Use it only when you are certain that current rebind does not
invalidate internal states of its object tree.
**kwargs: For ``pg.Dict`` and ``pg.Object`` subclasses, user can use
keyword arguments (in format of `<field_name>=<field_value>`) to
directly modify immediate child nodes.
Returns:
Self.
Raises:
WritePermissionError: If object is sealed.
KeyError: If update location specified by key or key path is not aligned
with the schema of the object tree.
TypeError: If updated field value type does not conform to field spec.
ValueError: If updated field value is not acceptable according to field
spec, or nothing is updated and `raise_on_no_change` is set to
True.
| def rebind(
self,
path_value_pairs: Optional[Union[
Dict[
Union[object_utils.KeyPath, str, int],
Any],
Callable]] = None, # pylint: disable=g-bare-generic
*,
raise_on_no_change: bool = True,
notify_parents: bool = True,
skip_notification: Optional[bool] = None,
**kwargs) -> 'Symbolic':
"""Alias for `sym_rebind`.
Alias for `sym_rebind`. `rebind` is the recommended way for mutating
symbolic objects in PyGlove:
* It allows mutations not only on immediate child nodes, but on the
entire sub-tree.
* It allows mutations by rules via passing a callable object as the
value for `path_value_pairs`.
* It batches the updates from multiple sub-nodes, which triggers the
`_on_change` or `_on_bound` event once for recomputing the parent
object's internal states.
* It respects the "sealed" flag of the object or the `pg.seal`
context manager to trigger permission error.
Example::
#
# Rebind on pg.Object subclasses.
#
@pg.members([
('x', pg.typing.Dict([
('y', pg.typing.Int(default=0))
])),
('z', pg.typing.Int(default=1))
])
class A(pg.Object):
pass
a = A()
# Rebind using path-value pairs.
a.rebind({
'x.y': 1,
'z': 0
})
# Rebind using **kwargs.
a.rebind(x={y: 1}, z=0)
# Rebind using rebinders.
# Rebind based on path.
a.rebind(lambda k, v: 1 if k == 'x.y' else v)
# Rebind based on key.
a.rebind(lambda k, v: 1 if k and k.key == 'y' else v)
# Rebind based on value.
a.rebind(lambda k, v: 0 if v == 1 else v)
# Rebind baesd on value and parent.
a.rebind(lambda k, v, p: (0 if isinstance(p, A) and isinstance(v, int)
else v))
# Rebind on pg.Dict.
#
d = pg.Dict(value_spec=pg.typing.Dict([
('a', pg.typing.Dict([
('b', pg.typing.Int()),
])),
('c', pg.typing.Float())
])
# Rebind using **kwargs.
d.rebind(a={b: 1}, c=1.0)
# Rebind using key path to value dict.
d.rebind({
'a.b': 2,
'c': 2.0
})
# NOT OKAY: **kwargs and dict/rebinder cannot be used at the same time.
d.rebind({'a.b': 2}, c=2)
# Rebind with rebinder by path (on subtree).
d.rebind(lambda k, v: 1 if k.key == 'b' else v)
# Rebind with rebinder by value (on subtree).
d.rebind(lambda k, v: 0 if isinstance(v, int) else v)
#
# Rebind on pg.List.
#
l = pg.List([{
'a': 'foo',
'b': 0,
}
],
value_spec = pg.typing.List(pg.typing.Dict([
('a', pg.typing.Str()),
('b', pg.typing.Int())
]), max_size=10))
# Rebind using integer as list index: update semantics on list[0].
l.rebind({
0: {
'a': 'bar',
'b': 1
}
})
# Rebind: trigger append semantics when index is larger than list length.
l.rebind({
999: {
'a': 'fun',
'b': 2
}
})
# Rebind using key path.
l.rebind({
'[0].a': 'bar2'
'[1].b': 3
})
# Rebind using function (rebinder).
# Change all integers to 0 in sub-tree.
l.rebind(lambda k, v: v if not isinstance(v, int) else 0)
Args:
path_value_pairs: A dictionary of key/or key path to new field value, or
a function that generate updates based on the key path, value and
parent of each node under current object. We use terminology 'rebinder'
for this type of functions. The signature of a rebinder is:
`(key_path: pg.KeyPath, value: Any)` or
`(key_path: pg.KeyPath, value: Any, parent: pg.Symbolic)`
raise_on_no_change: If True, raises ``ValueError`` when there are no
values to change. This is useful when rebinder is used, which may or
may not generate any updates.
notify_parents: If True (default), parents will be notified upon change.
Otherwisee only the current object and the impacted children will
be notified. A most common use case for setting this flag to False
is when users want to rebind a child within the parent `_on_bound`
method.
skip_notification: If True, there will be no ``_on_change`` event
triggered from current `rebind`. If None, the default value will be
inferred from the :func:`pyglove.notify_on_change` context manager.
Use it only when you are certain that current rebind does not
invalidate internal states of its object tree.
**kwargs: For ``pg.Dict`` and ``pg.Object`` subclasses, user can use
keyword arguments (in format of `<field_name>=<field_value>`) to
directly modify immediate child nodes.
Returns:
Self.
Raises:
WritePermissionError: If object is sealed.
KeyError: If update location specified by key or key path is not aligned
with the schema of the object tree.
TypeError: If updated field value type does not conform to field spec.
ValueError: If updated field value is not acceptable according to field
spec, or nothing is updated and `raise_on_no_change` is set to
True.
"""
return self.sym_rebind(
path_value_pairs,
raise_on_no_change=raise_on_no_change,
notify_parents=notify_parents,
skip_notification=skip_notification,
**kwargs)
| (self, path_value_pairs: Union[Dict[Union[pyglove.core.object_utils.value_location.KeyPath, str, int], Any], Callable, NoneType] = None, *, raise_on_no_change: bool = True, notify_parents: bool = True, skip_notification: Optional[bool] = None, **kwargs) -> pyglove.core.symbolic.base.Symbolic | [
0.02666967548429966,
-0.041401877999305725,
-0.026130693033337593,
-0.005888888146728277,
-0.033975888043642044,
0.0037179843056946993,
-0.00961186271160841,
0.04495517164468765,
0.04343803599476814,
-0.06280149519443512,
-0.02485310286283493,
0.014971748925745487,
0.05493633821606636,
0.0420805960893631,
-0.04228021949529648,
0.0004847103846259415,
0.017027869820594788,
0.034854233264923096,
-0.0017417134949937463,
-0.029823724180459976,
0.015939923003315926,
-0.019064027816057205,
0.057212043553590775,
0.030242932960391045,
-0.043318260461091995,
-0.04148172587156296,
0.00809472519904375,
0.07026740908622742,
0.05062447488307953,
0.003940065391361713,
-0.008573821745812893,
-0.05825008451938629,
-0.020880598574876785,
-0.010619960725307465,
0.060326166450977325,
-0.03181995823979378,
-0.03619170933961868,
0.05541543290019035,
0.023296041414141655,
-0.04479547217488289,
0.05497626215219498,
-0.007545761298388243,
-0.06419885903596878,
-0.006966853979974985,
0.08148624002933502,
0.09054914116859436,
-0.006996797397732735,
0.05773106589913368,
0.018864404410123825,
0.005689264740794897,
-0.00870856735855341,
-0.004501505754888058,
0.0037304607685655355,
0.004481543321162462,
0.016528811305761337,
0.018275514245033264,
0.025212425738573074,
0.08583802729845047,
0.05633370205760002,
-0.06619509309530258,
0.03966515511274338,
-0.011498303152620792,
-0.06008661910891533,
-0.04367758333683014,
0.005399810615926981,
-0.020271748304367065,
-0.016129564493894577,
-0.030941614881157875,
-0.01640903763473034,
-0.04255969077348709,
-0.08000902831554413,
-0.00493319146335125,
-0.007595667149871588,
-0.026290390640497208,
-0.0043318262323737144,
0.027548018842935562,
0.02043144591152668,
0.021479468792676926,
0.024174384772777557,
-0.04052353277802467,
0.03217927739024162,
-0.015480788424611092,
-0.03453483432531357,
-0.02545197308063507,
-0.07517813891172409,
0.05325950309634209,
-0.0004270067438483238,
-0.01217702217400074,
0.06340036541223526,
-0.05162259191274643,
-0.03393596410751343,
-0.018564969301223755,
-0.010220713913440704,
0.031121276319026947,
0.01570037379860878,
-0.03693031519651413,
-0.010041053406894207,
-0.10196759551763535,
-0.013803952373564243,
-0.0014797078911215067,
0.01739717274904251,
-0.0404636487364769,
-0.024912990629673004,
0.01943333074450493,
0.013764027506113052,
-0.0028171841986477375,
-0.0017704092897474766,
0.007635592017322779,
-0.00585894426330924,
-0.0316203348338604,
-0.05765121430158615,
0.02788737788796425,
0.029723912477493286,
-0.0020124525763094425,
-0.03521355241537094,
0.03313747048377991,
-0.0014385355170816183,
-0.04002447426319122,
0.06883011758327484,
-0.0026450089644640684,
0.025531822815537453,
-0.015630505979061127,
-0.0030217980965971947,
-0.010619960725307465,
0.03573257476091385,
0.06367983669042587,
0.012306777760386467,
0.023395853117108345,
0.020700938999652863,
-0.023196229711174965,
-0.0074758934788405895,
-0.00694689154624939,
-0.05733181908726692,
0.058809030801057816,
0.03914613276720047,
0.022178150713443756,
-0.01373408455401659,
0.007435968611389399,
-0.046432383358478546,
0.017736531794071198,
0.005082909017801285,
-0.017237473279237747,
0.0547766387462616,
0.04255969077348709,
0.04822899401187897,
-0.03894650936126709,
0.03681053966283798,
0.05673294886946678,
-0.04076308012008667,
0.035273440182209015,
-0.05465686321258545,
0.010929376818239689,
0.07956985384225845,
0.08384179323911667,
-0.06982823461294174,
0.08479999005794525,
-0.08176571130752563,
-0.014812050387263298,
-0.026130693033337593,
0.0003537075826898217,
-0.014832012355327606,
-0.003970008809119463,
0.013105271384119987,
-0.04727080091834068,
-0.0030866756569594145,
-0.007830224931240082,
-0.010430318303406239,
-0.07058680802583694,
-0.010679847560822964,
0.059926919639110565,
0.0283864364027977,
-0.03730959817767143,
-0.006512710824608803,
0.03714989870786667,
0.07913068681955338,
0.01709773764014244,
0.002839641645550728,
-0.031760070472955704,
-0.007585686165839434,
0.0001798169396352023,
0.025911107659339905,
-0.03030282072722912,
-0.010829565115272999,
0.012586249969899654,
0.0038901595398783684,
0.05313972756266594,
-0.040104325860738754,
0.013724103569984436,
0.05948774889111519,
0.036271557211875916,
-0.005205178167670965,
-0.012017323635518551,
0.07114575058221817,
0.007440959103405476,
0.021679092198610306,
0.0261506550014019,
-0.018065910786390305,
0.01047024317085743,
-0.009427211247384548,
0.07242333889007568,
-0.04016421362757683,
-0.046831630170345306,
0.0495465062558651,
0.02395479753613472,
-0.011967417784035206,
-0.009067889302968979,
0.026789449155330658,
-0.010979282669723034,
0.047749899327754974,
-0.03217927739024162,
0.005624386947602034,
0.0024516237899661064,
0.00497810635715723,
-0.010639922693371773,
-0.030662141740322113,
-0.00409726845100522,
-0.008134650066494942,
-0.025412049144506454,
0.02968398854136467,
-0.02201845310628414,
-0.008114688098430634,
0.0654764473438263,
-0.034075699746608734,
-0.023974761366844177,
0.007510827388614416,
-0.04515479505062103,
-0.05290018022060394,
-0.004893266595900059,
0.02988361194729805,
-0.004551411606371403,
0.03152052313089371,
-0.002727353712543845,
-0.00016328564379364252,
-0.0717046931385994,
0.09677738696336746,
-0.10292578488588333,
0.0013412191765382886,
-0.0016256824601441622,
0.0018802020931616426,
0.01933351904153824,
-0.0186148751527071,
0.04739057645201683,
-0.022258000448346138,
-0.014402822591364384,
-0.009037945419549942,
-0.04551411792635918,
0.006827117409557104,
-0.001101671252399683,
-0.012187004089355469,
-0.013714121654629707,
0.018684742972254753,
-0.00218712305650115,
-0.01297551579773426,
0.03491411730647087,
-0.04379735514521599,
-0.007455931045114994,
-0.05657324939966202,
0.03303765878081322,
-0.020501315593719482,
0.007765347138047218,
0.013524480164051056,
-0.034075699746608734,
-0.05433746799826622,
0.029763836413621902,
-0.004069820512086153,
0.01872466690838337,
0.029404515400528908,
-0.015450844541192055,
-0.029364589601755142,
-0.0010286839678883553,
0.037489257752895355,
-0.020082106813788414,
0.004294396843761206,
0.06180337816476822,
-0.062242552638053894,
0.035572875291109085,
0.03501392900943756,
-0.025611672550439835,
0.02094048634171486,
-0.05413784459233284,
0.02968398854136467,
-0.03421543538570404,
0.03297777101397514,
-0.0029269768856465816,
0.009137757122516632,
0.035872310400009155,
-0.03635140508413315,
0.006397927179932594,
-0.029823724180459976,
0.005215159151703119,
0.10827568918466568,
-0.010819584131240845,
0.026190578937530518,
0.02171901799738407,
0.0420805960893631,
0.0005907602608203888,
-0.11705911159515381,
0.006138416938483715,
-0.016628623008728027,
-0.007650563959032297,
0.016588697209954262,
0.0054197730496525764,
0.011927492916584015,
0.04515479505062103,
0.06982823461294174,
-0.056613173335790634,
0.04838869348168373,
0.00472608208656311,
-0.01900414004921913,
0.03894650936126709,
-0.007206401787698269,
0.014841994270682335,
-0.05693257227540016,
0.04327833652496338,
0.07481881976127625,
-0.06312089413404465,
0.0007585686398670077,
-0.025232387706637383,
-0.008903199806809425,
0.008389170281589031,
-0.05809038504958153,
-0.0032338977325707674,
-0.016528811305761337,
0.017856305465102196,
-0.022796982899308205,
0.03892654925584793,
0.075697161257267,
0.05557513236999512,
-0.016029752790927887,
-0.035053856670856476,
-0.020461389794945717,
-0.007550752256065607,
0.0316203348338604,
0.031660258769989014,
-0.0003905131306964904,
-0.017936155200004578,
0.0339958518743515,
-0.03643125668168068,
-0.015061579644680023,
-0.03591223433613777,
0.03906628489494324,
0.05441731587052345,
-0.02696911059319973,
-0.051582664251327515,
0.01136854849755764,
-0.0008671138202771544,
0.04243991896510124,
0.026709599420428276,
0.05142296850681305,
0.00875348225235939,
-0.034854233264923096,
-0.009991147555410862,
-0.04711110517382622,
-0.0030741991940885782,
0.014452728442847729,
-0.03521355241537094,
-0.032378900796175,
-0.0017304846551269293,
0.010240675881505013,
-0.06004669517278671,
0.034355174750089645,
-0.011218830943107605,
-0.04519471898674965,
-0.017147643491625786,
0.01515141036361456,
-0.0062082852236926556,
-0.0702274814248085,
0.008543877862393856,
-0.022297924384474754,
-0.02605084329843521,
0.014253105036914349,
-0.03856722638010979,
0.011019207537174225,
0.027827490121126175,
-0.005120337940752506,
-0.00342353992164135,
0.03483426943421364,
-0.0031266002915799618,
-0.00006246026896405965,
0.007610639091581106,
0.04739057645201683,
-0.04782974720001221,
0.0418410487473011,
-0.00794500857591629,
0.005479660350829363,
-0.005100375972688198,
0.08559847623109818,
0.009482108056545258,
0.019363462924957275,
-0.026310354471206665,
0.0016493876464664936,
0.01932353712618351,
0.017956117168068886,
0.04335818439722061,
-0.04479547217488289,
0.0024690909776836634,
0.01984255760908127,
0.0061034830287098885,
-0.028725795447826385,
-0.03429528698325157,
0.011648020707070827,
-0.024992840364575386,
-0.026390202343463898,
-0.0044890292920172215,
0.04224029555916786,
-0.007271279580891132,
0.06695365905761719,
0.059328049421310425,
0.0002440707030473277,
-0.0019138886127620935,
0.01413333136588335,
0.008459038101136684,
-0.04882786422967911,
-0.011358566582202911,
0.03341694548726082,
-0.008069772273302078,
0.011737851426005363,
-0.024413932114839554,
0.021100185811519623,
0.04038379713892937,
0.009287474676966667,
0.02233785018324852,
-0.0326184518635273,
0.029244815930724144,
0.012636155821383,
-0.0010099692735821009,
0.0011297431774437428,
-0.010550092905759811,
-0.005140300374478102,
0.09278491884469986,
0.008139641024172306,
-0.0015707860002294183,
0.002797221764922142,
-0.03233897686004639,
-0.020301692187786102,
-0.03469453379511833,
0.035473063588142395,
-0.007974951528012753,
0.0005343043012544513,
0.014303010888397694,
-0.023296041414141655,
0.023815061897039413,
0.020601127296686172,
-0.07573708891868591,
-0.0007604400743730366,
0.01640903763473034,
0.011797738261520863,
0.007635592017322779,
-0.0020062143448740244,
-0.006472785957157612,
0.030262894928455353,
-0.05789076164364815,
0.048867788165807724,
0.024114497005939484,
-0.07154499739408493,
-0.04339810833334923,
-0.05369867384433746,
-0.016878152266144753,
-0.016558755189180374,
0.01162805873900652,
-0.041521649807691574,
-0.015850091353058815,
0.0473107285797596,
-0.007221373729407787,
-0.04156157374382019,
0.040104325860738754,
0.04691148176789284,
-0.01809585466980934,
-0.03842749074101448,
-0.05022522807121277,
-0.0034060729667544365,
-0.05517588555812836,
-0.011338604614138603,
0.002862099325284362,
-0.00921261589974165,
-0.014053481630980968,
0.01423314306885004,
-0.018175702542066574,
-0.04918718710541725,
-0.07501844316720963,
0.01116892509162426,
-0.01227683387696743,
0.04567381739616394,
0.007540770806372166,
-0.0018589921528473496,
-0.019732765853405,
0.03549302741885185,
-0.002043643733486533,
-0.002797221764922142,
-0.013005459681153297,
-0.0087484922260046,
-0.022457623854279518,
-0.019283613190054893,
0.03219924122095108,
-0.022078339010477066,
-0.004698633681982756,
-0.033057622611522675,
-0.03152052313089371,
0.024094535037875175,
-0.06663426756858826,
-0.015221278183162212,
-0.01760677620768547,
0.007241336163133383,
0.03319735825061798,
-0.0044441139325499535,
0.01993238925933838,
-0.008279377594590187,
0.01741713471710682,
-0.01333483774214983,
-0.030462518334388733,
0.021180033683776855,
-0.0136941596865654,
0.03020300902426243,
0.02243766188621521,
-0.03239886462688446,
0.0030417602974921465,
0.019253669306635857,
0.001590748317539692,
-0.07489866763353348,
-0.06751260906457901,
0.02171901799738407,
-0.022557435557246208,
0.005794066935777664,
-0.019902445375919342,
0.020371560007333755,
-0.052980028092861176,
0.03070206753909588,
0.010530130006372929,
0.041521649807691574,
-0.010280600748956203,
0.030262894928455353,
0.04567381739616394,
0.041122402995824814,
-0.005354895722121,
0.01459246501326561,
0.018994158133864403,
0.023176267743110657,
-0.0404636487364769,
-0.11937474459409714,
0.021359695121645927,
-0.002996845170855522,
0.07166477292776108,
-0.020561201497912407,
0.0006593808066099882,
-0.004681166727095842,
-0.016249338164925575,
0.035353291779756546,
-0.08775441348552704,
-0.015959884971380234,
-0.0682312473654747,
-0.07517813891172409,
-0.04898756369948387,
0.04032390937209129,
0.03824782744050026,
-0.04335818439722061,
-0.0388466976583004,
-0.008813370019197464,
-0.03453483432531357,
-0.012316758744418621,
-0.009591900743544102,
-0.011208849027752876,
0.024014685302972794,
0.08088736981153488,
-0.002349316840991378,
0.06982823461294174,
0.047749899327754974,
-0.014223161153495312,
0.022677209228277206,
0.046632006764411926,
0.034554798156023026,
0.0010511415312066674,
0.011867606081068516,
0.04148172587156296,
-0.002290677512064576,
0.001197116100229323,
-0.01609962061047554,
0.009382296353578568,
-0.01832542009651661,
0.002482814947143197,
-0.10252653807401657,
0.02495291456580162,
0.015660449862480164,
-0.05022522807121277,
-0.016987944021821022,
0.020082106813788414,
0.03479434549808502,
-0.028226736932992935,
0.16417022049427032,
-0.01943333074450493,
-0.029743874445557594,
-0.054177768528461456,
-0.01535103376954794,
-0.007296232506632805,
-0.04559396579861641,
0.018455175682902336,
0.025032764300704002,
-0.09174688160419464,
0.018345383927226067,
0.030761953443288803,
-0.001337476191110909,
0.006068549118936062,
0.023176267743110657,
0.024094535037875175,
-0.01821562834084034,
-0.0692293643951416,
-0.019662896171212196,
0.04363765940070152,
0.029823724180459976,
0.04148172587156296,
0.012855742126703262,
0.03227908909320831,
0.018894346430897713,
0.058609407395124435,
-0.021399619057774544,
-0.06379961222410202,
-0.017786437645554543,
-0.023076456040143967,
0.04387720674276352,
-0.006901976186782122,
-0.025791332125663757,
-0.0577709898352623,
-0.03309754654765129,
-0.006447833031415939,
0.002792231272906065,
-0.03110131248831749,
-0.007585686165839434,
0.017846325412392616,
0.0001882385549833998,
-0.027128810063004494,
-0.03273822367191315,
-0.0017753998981788754,
-0.04778982326388359,
-0.03563276305794716,
0.03673069179058075,
0.049346886575222015,
-0.021379657089710236,
-0.003508379915729165,
0.004389217589050531,
-0.007900092750787735,
0.019603010267019272,
0.0031914778519421816,
-0.05485648661851883,
0.030342744663357735,
0.0308817271143198,
-0.017666663974523544,
-0.0041396887972950935,
0.053179651498794556,
-0.06379961222410202,
0.009472126141190529,
-0.004062334541231394,
-0.025192463770508766,
-0.00023564908769913018,
-0.05385837331414223,
-0.009876363910734653,
0.03752918541431427,
0.1070779487490654,
0.01243653241544962,
-0.07238341867923737,
-0.03239886462688446,
0.011478341184556484,
-0.03140074759721756,
-0.023575514554977417,
0.01057005487382412,
-0.015410920605063438,
0.034974005073308945,
0.044436149299144745,
0.04591336473822594,
0.017377210780978203,
0.04539434239268303,
0.05745159089565277,
-0.030522406101226807,
-0.06108473613858223,
-0.05733181908726692,
0.037489257752895355,
-0.00721638323739171,
-0.07082635164260864,
0.015870053321123123,
0.06296119838953018,
-0.005190206225961447,
0.007296232506632805,
-0.011508284136652946,
-0.0021434554364532232,
-0.014812050387263298,
0.016678528860211372,
0.009586909785866737,
0.0358523465692997,
0.041202254593372345,
0.04751035198569298,
0.058928802609443665,
-0.03966515511274338,
-0.00315903895534575,
-0.024034647271037102,
0.03615178167819977,
-0.010879470966756344,
-0.06887004524469376,
-0.050544623285532,
0.003298775292932987,
-0.06986816227436066,
-0.0011409720173105597,
-0.0030692084692418575,
0.04990582913160324,
0.034075699746608734,
0.01237664557993412,
-0.061643682420253754,
0.04228021949529648,
0.005304989870637655,
-0.029125042259693146,
-0.006667418871074915,
-0.0074209971353411674,
0.026310354471206665,
0.005160262808203697,
0.013364781625568867,
-0.0004491524596232921,
-0.0717046931385994,
0.03381618857383728,
-0.029903573915362358,
0.03038266859948635,
-0.006497738882899284,
-0.02465347945690155,
-0.0028171841986477375,
-0.006333049852401018,
0.009372314438223839,
0.0776933953166008,
-0.031121276319026947,
0.05082409828901291,
-0.0048757996410131454,
0.06463803350925446,
0.004721091594547033,
-0.03168022260069847,
-0.018165722489356995,
0.051662515848875046,
0.01720752939581871,
-0.014832012355327606,
-0.0483088418841362,
0.058729179203510284,
-0.03730959817767143,
0.014702257700264454,
0.029105080291628838,
-0.024992840364575386,
0.06348021328449249,
0.0036032008938491344,
0.015131447464227676,
-0.011228811927139759,
-0.015550656244158745,
-0.013963650912046432,
-0.005150281824171543,
-0.038786809891462326,
-0.00030582916224375367,
0.03513370454311371,
-0.01872466690838337,
0.07342145591974258,
0.045434266328811646,
-0.009522031992673874,
-0.027627866715192795,
0.0362316332757473,
-0.03944556787610054,
-0.06583577394485474,
0.0173073410987854,
-0.009951222687959671,
-0.05214161053299904,
-0.008009885437786579,
0.03780865669250488,
0.008888227865099907,
0.01303540263324976,
0.024613555520772934,
0.00641788961365819,
-0.019802633672952652,
0.025312237441539764
]
|
40,319 | pyglove.core.symbolic.base | save | Saves current object using the global save handler. | def save(self, *args, **kwargs) -> Any:
"""Saves current object using the global save handler."""
return save(self, *args, **kwargs)
| (self, *args, **kwargs) -> Any | [
-0.028228919953107834,
-0.029777342453598976,
-0.04213068634271622,
0.0766383707523346,
0.006457429379224777,
-0.07949699461460114,
-0.0499919056892395,
0.07323524355888367,
0.058431655168533325,
-0.02058890461921692,
-0.021048327907919884,
-0.0646934062242508,
0.0012602197239175439,
-0.024910874664783478,
-0.007793155964463949,
0.008278101682662964,
-0.025421341881155968,
-0.02986242063343525,
0.0003373879299033433,
-0.012038554064929485,
0.025081031024456024,
0.016445601359009743,
0.0298964511603117,
-0.04910709336400032,
0.011859890073537827,
0.05101284012198448,
0.03518830984830856,
0.0671776831150055,
0.012821272946894169,
0.029590170830488205,
0.012089600786566734,
-0.06714365631341934,
0.0573766864836216,
0.031172623857855797,
0.03141084313392639,
-0.007384780794382095,
-0.1145491823554039,
0.11747586727142334,
-0.07745511829853058,
-0.05302068591117859,
-0.04621443524956703,
0.011987507343292236,
0.013170093297958374,
0.015194952487945557,
0.03566474840044975,
0.011264343746006489,
-0.006393620744347572,
0.0670415610074997,
0.06251540035009384,
-0.020248593762516975,
-0.026544373482465744,
0.025046998634934425,
-0.012957397848367691,
-0.02246062457561493,
-0.05363324657082558,
0.039816562086343765,
0.04376418516039848,
0.0310364980250597,
0.00018012634245678782,
-0.023872921243309975,
0.059826936572790146,
0.016215890645980835,
0.06336618214845657,
-0.0086907297372818,
0.01502479612827301,
0.014863147400319576,
-0.06659915298223495,
0.010277437046170235,
0.023515593260526657,
0.07446037232875824,
-0.029624201357364655,
-0.09487912058830261,
0.013042476028203964,
0.035052187740802765,
-0.016496647149324417,
-0.02594882622361183,
-0.03580087423324585,
-0.0006779662799090147,
-0.019704092293977737,
0.07384780794382095,
0.014633436687290668,
-0.06091593578457832,
-0.024281295016407967,
0.03641343489289284,
-0.05111493542790413,
-0.035494592040777206,
0.005121702793985605,
0.01880226470530033,
-0.051795560866594315,
0.015807515010237694,
-0.007508144248276949,
0.06452324986457825,
-0.0010124295949935913,
0.011128217913210392,
-0.016113795340061188,
-0.09304143488407135,
-0.03723018616437912,
-0.0001837155723478645,
0.003332935506477952,
-0.007554937154054642,
-0.05781909078359604,
0.032704029232263565,
-0.02312423288822174,
-0.03869352862238884,
0.04291340336203575,
-0.026118982583284378,
0.04390031099319458,
-0.0429474376142025,
-0.025183124467730522,
0.02766740508377552,
0.021133406087756157,
0.022035233676433563,
-0.047439560294151306,
0.014139983803033829,
-0.027327092364430428,
-0.0550285279750824,
-0.030543046072125435,
0.03525637462735176,
0.014020874164998531,
-0.041245874017477036,
-0.07936087250709534,
0.05108090490102768,
-0.0320744514465332,
0.001595214824192226,
0.06380859017372131,
0.035052187740802765,
0.050842683762311935,
0.02440040558576584,
0.002716118935495615,
-0.03910190612077713,
0.007303956896066666,
-0.012863812036812305,
-0.011145234107971191,
0.013893256895244122,
0.05863584205508232,
-0.0037498183082789183,
0.058533746749162674,
-0.010617749765515327,
-0.060439497232437134,
0.04005477949976921,
-0.005206780973821878,
0.00572575768455863,
0.0548924058675766,
0.018002530559897423,
0.02909671701490879,
0.043253716081380844,
-0.03675374761223793,
-0.004832437261939049,
-0.012872319668531418,
-0.0002662679471541196,
0.07439231127500534,
0.01561183575540781,
-0.006729679647833109,
0.07772736996412277,
-0.08963830769062042,
0.0010368896182626486,
0.0074996366165578365,
0.02455354668200016,
0.015671389177441597,
0.0089757414534688,
-0.04015687480568886,
0.02084413915872574,
0.043219685554504395,
-0.049889810383319855,
0.03188728168606758,
0.06391068547964096,
-0.02957315556704998,
0.033844076097011566,
0.025608515366911888,
0.02004440501332283,
-0.03338465467095375,
-0.008703491650521755,
-0.03852337226271629,
0.01636052317917347,
-0.030219748616218567,
0.07228237390518188,
0.009494718164205551,
0.01854703016579151,
0.012923366390168667,
0.04682699963450432,
0.06050755828619003,
-0.06949181109666824,
-0.0011634433176368475,
0.014514327980577946,
0.042743247002363205,
0.01762818731367588,
-0.010541179217398167,
0.02909671701490879,
-0.015365108847618103,
0.029675249010324478,
0.03726421669125557,
0.02525118738412857,
0.019908281043171883,
-0.04022493585944176,
-0.025744639337062836,
-0.0137571319937706,
0.004402793012559414,
-0.0358349047601223,
0.008933202363550663,
0.052306029945611954,
0.0034137596376240253,
-0.02703782729804516,
0.008176007308065891,
-0.04679296538233757,
0.02290303073823452,
0.004483616910874844,
0.037876781076192856,
0.002254570135846734,
-0.058976154774427414,
-0.02649332769215107,
0.01769625023007393,
0.010983585380017757,
-0.0716017484664917,
0.010770889930427074,
0.09161212295293808,
-0.03668568655848503,
0.01938079670071602,
-0.016352014616131783,
0.015560788102447987,
0.04386628046631813,
0.009886077605187893,
0.03135979548096657,
-0.053735341876745224,
-0.0014314394211396575,
0.015135398134589195,
-0.01985723339021206,
0.042266812175512314,
-0.06105206161737442,
0.0595206543803215,
-0.07759124785661697,
-0.06908343732357025,
0.015271523036062717,
-0.057002343237400055,
0.009477702900767326,
-0.004243271425366402,
0.011204788461327553,
0.0062787653878331184,
-0.021099373698234558,
-0.044580936431884766,
-0.016973085701465607,
0.05196571722626686,
-0.023957999423146248,
-0.012727687135338783,
0.018155671656131744,
-0.009681889787316322,
0.0043645077385008335,
0.03163204714655876,
0.02795667015016079,
0.01972110942006111,
-0.028501171618700027,
0.08290012180805206,
0.012370359152555466,
-0.025965843349695206,
0.014310140162706375,
0.00917992927134037,
0.012710670940577984,
-0.013969827443361282,
0.03307837247848511,
0.01572243683040142,
0.02191612496972084,
-0.01766221784055233,
0.03903384134173393,
0.024315327405929565,
0.020384717732667923,
-0.028858499601483345,
-0.0161733515560627,
-0.01759415492415428,
-0.025778671726584435,
0.031751155853271484,
0.0405992791056633,
0.043253716081380844,
0.007580460514873266,
-0.028262952342629433,
0.012804257683455944,
-0.039918653666973114,
-0.06588450074195862,
-0.034388575702905655,
0.023940984159708023,
-0.08677968382835388,
-0.030866341665387154,
0.06513580679893494,
0.0050408788956701756,
0.08024568110704422,
-0.024128155782818794,
-0.016079764813184738,
-0.02166089043021202,
0.012710670940577984,
0.028092795982956886,
-0.018751218914985657,
-0.06370649486780167,
-0.01494822558015585,
0.08051793277263641,
0.008533335290849209,
0.05863584205508232,
-0.00017906285938806832,
-0.012064077891409397,
-0.0809263065457344,
-0.0261700302362442,
0.07037661969661713,
0.02268182672560215,
0.014607913792133331,
-0.010566703043878078,
0.010473117232322693,
-0.011519577354192734,
0.05832955986261368,
-0.0024842810817062855,
0.012446928769350052,
0.009818015620112419,
-0.012719179503619671,
0.0275142639875412,
-0.001059222617186606,
0.01562885008752346,
0.020248593762516975,
0.08487393707036972,
-0.02554045245051384,
-0.00720186298713088,
0.00024007982574403286,
-0.055641092360019684,
0.006287273019552231,
0.04199456050992012,
-0.018410906195640564,
-0.010345499962568283,
0.010328483767807484,
-0.004090130794793367,
0.05189765244722366,
-0.03141084313392639,
-0.025268202647566795,
0.046622809022665024,
-0.012123632244765759,
-0.005334398243576288,
-0.012472452595829964,
-0.005291859153658152,
0.06513580679893494,
0.01842792145907879,
-0.03408229723572731,
-0.001529279281385243,
0.010413561947643757,
0.013229647651314735,
0.031308747828006744,
0.0020354939624667168,
-0.003998671658337116,
0.039272062480449677,
0.0009885014733299613,
-0.019704092293977737,
-0.060881905257701874,
0.02246062457561493,
-0.00547052314504981,
-0.0040837498381733894,
0.03372496739029884,
-0.014497311785817146,
-0.038863684982061386,
-0.04104168713092804,
-0.032159529626369476,
-0.030798280611634254,
-0.03399721905589104,
-0.019516920670866966,
0.04090556129813194,
-0.010804921388626099,
-0.026544373482465744,
-0.12591561675071716,
0.026578405871987343,
-0.012030046433210373,
-0.00848228856921196,
-0.010217882692813873,
0.018700171262025833,
0.07078500092029572,
0.00923097599297762,
0.01359548419713974,
0.001803656225092709,
-0.06489758938550949,
0.017645202577114105,
-0.01214915607124567,
0.031121576204895973,
0.02986242063343525,
0.0119449682533741,
0.08371686935424805,
0.01540764793753624,
0.013867734000086784,
-0.02953912317752838,
-0.039374154061079025,
0.051727499812841415,
-0.030866341665387154,
0.013561452738940716,
-0.023940984159708023,
0.09031893312931061,
-0.01972110942006111,
0.030032576993107796,
0.01143449917435646,
-0.014905686490237713,
0.014616421423852444,
0.016249921172857285,
-0.03518830984830856,
-0.04754165560007095,
-0.01339129637926817,
0.0030755740590393543,
-0.025710608810186386,
-0.006882819812744856,
0.04580606147646904,
-0.024060092866420746,
0.010047726333141327,
0.00031106689129956067,
-0.018938390538096428,
0.035052187740802765,
-0.037978872656822205,
-0.02092921733856201,
0.009035296738147736,
-0.026135999709367752,
0.02976032719016075,
0.03011765517294407,
-0.003511599497869611,
-0.01676889695227146,
0.0006173481233417988,
-0.03617521747946739,
-0.007886742241680622,
0.06962793320417404,
0.007648522965610027,
0.0475756861269474,
0.026033904403448105,
-0.011800335720181465,
-0.019040483981370926,
-0.018972421064972878,
0.11250730603933334,
0.014208046719431877,
0.046010248363018036,
0.007078499533236027,
-0.0167433749884367,
-0.022290468215942383,
0.020793093368411064,
-0.0007428383687511086,
0.031087545678019524,
-0.025591498240828514,
-0.05832955986261368,
-0.024791764095425606,
0.026663484051823616,
0.002909671748057008,
-0.0023524099960923195,
0.033401671797037125,
-0.04396837204694748,
-0.04635056108236313,
0.09106761962175369,
-0.01042206957936287,
-0.03261895105242729,
-0.01750907674431801,
0.005504554603248835,
0.03326554596424103,
-0.08807287365198135,
-0.004045464564114809,
0.04349193722009659,
0.02337946742773056,
0.019193625077605247,
0.008933202363550663,
0.03614118695259094,
0.04829034209251404,
-0.04485318437218666,
-0.008078167214989662,
-0.07473262399435043,
0.0022077772300690413,
-0.09950736910104752,
0.028007717803120613,
-0.016088273376226425,
-0.011842874810099602,
-0.009205453097820282,
0.028960593044757843,
-0.024094123393297195,
-0.008031374774873257,
-0.03253387287259102,
-0.009988171048462391,
0.012344835326075554,
-0.01561183575540781,
-0.020248593762516975,
0.03614118695259094,
0.0040837498381733894,
-0.07847605645656586,
-0.04151812195777893,
-0.008392957039177418,
0.006776472553610802,
-0.009273515082895756,
-0.048426467925310135,
-0.04145006090402603,
-0.04713327810168266,
-0.027531279250979424,
-0.01005623396486044,
0.0032989042811095715,
0.055096592754125595,
-0.0019823203328996897,
-0.02198418602347374,
0.060371436178684235,
-0.029947498813271523,
0.051727499812841415,
0.025914795696735382,
0.02297109365463257,
0.02474071830511093,
-0.010787906125187874,
-0.0019738124683499336,
-0.003720040898770094,
0.0014378202613443136,
-0.03190429508686066,
0.003469060407951474,
-0.06370649486780167,
-0.07820381224155426,
0.017968500033020973,
-0.022698841989040375,
-0.019976342096924782,
0.01846195198595524,
-0.020367702469229698,
-0.05734265223145485,
-0.06299184262752533,
-0.0020354939624667168,
-0.033214498311281204,
0.000995413982309401,
-0.0669054314494133,
-0.02128654532134533,
-0.059963058680295944,
0.035494592040777206,
0.019738124683499336,
-0.02315826527774334,
0.0015037558041512966,
-0.02474071830511093,
0.000597673817537725,
0.0019195751519873738,
0.012965905480086803,
-0.04012284055352211,
0.06377456337213516,
-0.037502437829971313,
-0.000433366687502712,
-0.015569296665489674,
-0.03059409186244011,
0.049345310777425766,
0.016794420778751373,
0.042266812175512314,
0.01773028075695038,
0.002975607290863991,
0.005300366785377264,
0.029845405369997025,
0.0024970427621155977,
0.04692909121513367,
-0.019772155210375786,
-0.057104434818029404,
0.04587412253022194,
-0.02531924843788147,
-0.015654373914003372,
-0.03682181239128113,
-0.044648997485637665,
0.011391960084438324,
0.002535328036174178,
-0.057512808591127396,
0.01370608527213335,
-0.03736631199717522,
-0.0038859432097524405,
0.0007178466767072678,
0.010787906125187874,
-0.04151812195777893,
0.05152330920100212,
0.033435702323913574,
-0.021269530057907104,
-0.0007678300607949495,
0.014446265064179897,
0.029266873374581337,
0.002526820171624422,
0.016726357862353325,
-0.03859143704175949,
0.0237878430634737,
0.045159466564655304,
0.010081757791340351,
-0.035562653094530106,
0.00032914598705247045,
0.0359029658138752,
0.01522898394614458,
-0.020673982799053192,
-0.004721835721284151,
-0.0005402460810728371,
0.022886015474796295,
0.0275142639875412,
-0.047984059900045395,
0.03180220350623131,
0.05645783990621567,
-0.0009688271093182266,
0.014905686490237713,
-0.06377456337213516,
-0.015679897740483284,
-0.011145234107971191,
0.026118982583284378,
-0.05574318394064903,
-0.02656138874590397,
-0.05148927867412567,
-0.020146498456597328,
0.03011765517294407,
0.05029818415641785,
-0.02652735821902752,
0.011553608812391758,
-0.021677905693650246,
0.10331887006759644,
-0.0160372257232666,
-0.05213587358593941,
0.07840799540281296,
-0.04243696853518486,
-0.040327031165361404,
-0.058976154774427414,
0.012166171334683895,
-0.07003630697727203,
-0.0006045863847248256,
0.02337946742773056,
-0.006921105086803436,
0.011043139733374119,
0.026033904403448105,
-0.016853975132107735,
-0.036583591252565384,
0.020146498456597328,
-0.017866404727101326,
0.022664811462163925,
-0.048392437398433685,
0.008316386491060257,
0.016445601359009743,
0.011043139733374119,
-0.025778671726584435,
0.011587640270590782,
-0.034796953201293945,
0.02370276488363743,
-0.0356307178735733,
0.029998546466231346,
-0.005096179433166981,
-0.004683550447225571,
-0.03071320243179798,
-0.02976032719016075,
-0.03420140594244003,
-0.01807059347629547,
0.013119046576321125,
-0.005980991758406162,
0.0057512810453772545,
-0.03916996717453003,
-0.0550285279750824,
-0.01094104629009962,
0.03566474840044975,
-0.029947498813271523,
0.10876387357711792,
-0.0428113117814064,
-0.03202340379357338,
0.015160921029746532,
-0.026731545105576515,
-0.00192595599219203,
0.019993359223008156,
0.029998546466231346,
-0.005636425688862801,
-0.005998007487505674,
-0.01588408462703228,
0.06159656122326851,
-0.024672655388712883,
-0.003960386384278536,
0.00892469473183155,
-0.08010955899953842,
-0.04349193722009659,
0.005649187136441469,
-0.05431387200951576,
0.044172558933496475,
0.03392915427684784,
0.04202859103679657,
0.04965159296989441,
-0.02931792102754116,
0.02128654532134533,
-0.024434436112642288,
-0.024230249226093292,
-0.016632772982120514,
-0.018972421064972878,
0.0107028279453516,
-0.008729015477001667,
0.014182522892951965,
-0.07514099776744843,
0.02572762407362461,
0.003977402113378048,
-0.036957934498786926,
0.002507677534595132,
-0.0012836161768063903,
0.002667199121788144,
0.04359402880072594,
-0.017458030954003334,
-0.029232842847704887,
-0.004213493783026934,
0.00814623013138771,
0.03185324743390083,
-0.03763855993747711,
-0.05016206204891205,
-0.04335581138730049,
-0.008703491650521755,
0.001261283177882433,
0.010966570116579533,
0.07119337469339371,
0.03416737541556358,
0.011485546827316284,
0.018291795626282692,
-0.05101284012198448,
-0.018717186525464058,
-0.025931810960173607,
-0.005606648046523333,
-0.009477702900767326,
-0.008856632746756077,
-0.018410906195640564,
-0.004806913901120424,
-0.01100910920649767,
-0.007759124506264925,
-0.005640679504722357,
-0.0034158865455538034,
0.008158992044627666,
0.042675185948610306,
-0.022375546395778656,
0.03370795026421547,
0.007691062055528164,
-0.006865804549306631,
0.003203191328793764,
0.022783920168876648,
-0.01551824901252985,
-0.0009230975992977619,
0.015194952487945557,
0.022817952558398247,
0.02147371880710125,
-0.003390363184735179,
-0.004134796559810638,
0.028858499601483345,
-0.009060819633305073,
-0.04437674954533577,
-0.013289202935993671,
-0.06826668232679367,
-0.026986779645085335,
0.03154696896672249,
-0.10631362348794937,
0.057104434818029404,
-0.0063468278385698795,
-0.0025693592615425587,
-0.009826523251831532,
0.07364362478256226,
-0.017645202577114105,
-0.007146562449634075,
-0.03964640572667122,
-0.033656906336545944,
0.017202796414494514,
0.010124296881258488,
-0.0024800272658467293,
0.05887405946850777,
-0.03209146857261658,
-0.02052084356546402,
-0.024213233962655067,
0.018666140735149384,
0.014522835612297058,
0.006593554280698299,
0.005951214581727982,
0.013399804010987282,
0.0005248256493359804,
0.009460686706006527,
0.014590897597372532,
-0.020673982799053192,
0.0191255621612072,
0.06261749565601349,
0.0571724995970726,
0.059826936572790146,
0.0022226658184081316,
0.051863621920347214,
0.04686103016138077,
0.005100433249026537,
0.04199456050992012,
0.0380469374358654,
0.05696830898523331,
-0.029232842847704887,
-0.04090556129813194,
-0.010430578142404556,
-0.005980991758406162,
0.05193168669939041,
0.04437674954533577,
0.006019277032464743,
0.04049718752503395
]
|
40,320 | pyglove.core.symbolic.object | seal | Seal or unseal current object from further modification. | def seal(self, sealed: bool = True) -> 'Object':
"""Seal or unseal current object from further modification."""
self._sym_attributes.seal(sealed)
super().seal(sealed)
return self
| (self, sealed: bool = True) -> pyglove.core.symbolic.object.Object | [
0.02476481720805168,
-0.06687739491462708,
0.061850085854530334,
0.019666697829961777,
-0.031951747834682465,
-0.08872141689062119,
-0.01488721277564764,
-0.020073840394616127,
0.005500833969563246,
0.036855146288871765,
-0.06631094217300415,
-0.010559123009443283,
-0.023631902411580086,
0.0756220817565918,
-0.08574751764535904,
0.023596497252583504,
-0.05866376310586929,
0.011435362510383129,
-0.02593313530087471,
0.016241401433944702,
0.03455391153693199,
0.03296075016260147,
-0.01044406183063984,
0.009895305149257183,
-0.016639690846204758,
0.002318935701623559,
0.0024185082875192165,
0.04669734463095665,
0.007120548747479916,
-0.05915941298007965,
-0.0005108628538437188,
0.0069922106340527534,
0.008187081664800644,
0.013187840580940247,
0.05013149604201317,
-0.01867539808154106,
-0.05045012757182121,
0.02658810280263424,
0.0529283806681633,
0.014329606667160988,
-0.02476481720805168,
0.05508799850940704,
0.05016689747571945,
-0.026411084458231926,
0.00519990362226963,
0.01996762864291668,
0.07328544557094574,
0.0494588278234005,
0.048750754445791245,
-0.009904156439006329,
0.0431215837597847,
0.04917559772729874,
0.024676308035850525,
0.003551423316821456,
0.0011561487335711718,
0.0001450717682018876,
0.0246232021600008,
0.027030646800994873,
0.006399200297892094,
-0.01640956848859787,
-0.004463065881282091,
-0.04336940869688988,
0.028358282521367073,
-0.03968743234872818,
-0.03435919061303139,
-0.042802948504686356,
-0.06475318223237991,
0.024941835552453995,
0.02846449241042137,
0.035368192940950394,
-0.0020655787084251642,
-0.044927164912223816,
-0.037386197596788406,
0.04726380482316017,
-0.04404207691550255,
-0.03441229835152626,
-0.02009154111146927,
0.005779637489467859,
-0.015524477697908878,
-0.049671247601509094,
0.03423528000712395,
-0.05636252835392952,
-0.046130888164043427,
0.06871838122606277,
-0.03745700791478157,
0.034341491758823395,
0.02515425719320774,
-0.02184402011334896,
-0.00042180067976005375,
-0.0003230578440707177,
0.03958122059702873,
0.10316608101129532,
-0.02777412347495556,
0.026658909395337105,
0.042130280286073685,
0.016444971784949303,
-0.002060046885162592,
-0.03912097588181496,
0.03958122059702873,
-0.022976934909820557,
-0.006788639817386866,
0.009001364931464195,
-0.054556943476200104,
0.0031044529750943184,
-0.016303356736898422,
0.028411386534571648,
0.05250353738665581,
-0.020551787689328194,
0.03643030300736427,
0.006673578172922134,
0.00028198413201607764,
0.0412805937230587,
-0.044502321630716324,
0.028889335691928864,
-0.049671247601509094,
-0.02249898575246334,
-0.015126187354326248,
-0.0014150375500321388,
-0.00655409088358283,
0.007102846633642912,
-0.004921100102365017,
0.04563523828983307,
-0.020728806033730507,
0.026658909395337105,
0.041457612067461014,
0.010683035477995872,
-0.007554242853075266,
-0.009293444454669952,
0.028393685817718506,
0.04513958841562271,
-0.023773515596985817,
0.03584614396095276,
-0.003712952369824052,
0.0228884257376194,
-0.0025114426389336586,
-0.005120245274156332,
0.05282216891646385,
0.011656634509563446,
-0.04963584244251251,
0.039227187633514404,
0.031031252816319466,
0.017223849892616272,
0.04259052872657776,
0.030057653784751892,
-0.018162045627832413,
0.0308542363345623,
-0.032695222645998,
0.016781305894255638,
-0.03827128931879997,
0.009058895520865917,
0.04255512356758118,
-0.019117942079901695,
0.019277259707450867,
0.07084260135889053,
-0.03212876617908478,
0.017949623987078667,
-0.047299206256866455,
0.018117791041731834,
-0.010488315485417843,
0.011630081571638584,
-0.014320755377411842,
0.0375986211001873,
0.005726532079279423,
-0.056433334946632385,
-0.02368500642478466,
-0.03543900325894356,
0.00985105149447918,
-0.03858992084860802,
0.0041178809478878975,
-0.02210954762995243,
-0.007748962379992008,
-0.026411084458231926,
-0.04524579644203186,
0.07087800651788712,
-0.018958626314997673,
0.08036616444587708,
0.017223849892616272,
0.010939711704850197,
-0.005328241270035505,
-0.046768151223659515,
0.047440819442272186,
-0.048113491386175156,
-0.043865058571100235,
0.03827128931879997,
0.07413513213396072,
-0.021383773535490036,
-0.01648922637104988,
0.0037372922524809837,
0.021153649315238,
-0.011780546978116035,
0.019241854548454285,
0.05260974541306496,
0.015568732284009457,
-0.0028411387465894222,
-0.05777867138385773,
-0.013931315392255783,
-0.0484321229159832,
-0.04602467641234398,
-0.08928787708282471,
0.024375377222895622,
-0.019648997113108635,
-0.0030779002700001,
-0.0040603503584861755,
-0.014940318651497364,
0.01501112524420023,
-0.013187840580940247,
-0.03522657975554466,
-0.07916244119405746,
-0.000555393926333636,
0.0013475494924932718,
0.008514565415680408,
0.025614503771066666,
0.01779915951192379,
0.0026596952229738235,
0.05030851438641548,
-0.06677118688821793,
0.015028826892375946,
0.029473494738340378,
0.021401474252343178,
0.017037982121109962,
-0.0038080995436757803,
-0.03373963013291359,
-0.04726380482316017,
-0.013479920104146004,
-0.028021948412060738,
-0.03423528000712395,
0.011948714032769203,
-0.057070598006248474,
-0.022003335878252983,
-0.025632204487919807,
-0.034341491758823395,
-0.06868298351764679,
-0.009523567743599415,
-0.03837750107049942,
-0.017214998602867126,
0.04591846466064453,
-0.0018011580687016249,
-0.016710497438907623,
-0.05161844566464424,
-0.006571792997419834,
0.04244891554117203,
-0.045847658067941666,
0.028889335691928864,
0.05632712319493294,
-0.023490287363529205,
0.08171150088310242,
0.034075964242219925,
0.04195326194167137,
0.009505866095423698,
-0.026765119284391403,
0.05728302150964737,
-0.034217577427625656,
-0.028889335691928864,
0.048219699412584305,
0.02198563516139984,
-0.06960347294807434,
-0.01573689840734005,
0.029154863208532333,
-0.013922465033829212,
-0.0012479767901822925,
0.006682428997009993,
-0.005912400782108307,
-0.01917104795575142,
0.024233762174844742,
0.06510721892118454,
0.03696135804057121,
0.00006313180347206071,
-0.013665788806974888,
-0.012001819908618927,
-0.016347611322999,
0.03067721799015999,
-0.050060685724020004,
0.009744840674102306,
0.03312006592750549,
-0.02777412347495556,
0.030376287177205086,
-0.01867539808154106,
0.004460853524506092,
-0.02409214898943901,
0.0011649996740743518,
0.04262593016028404,
0.03549210727214813,
0.05792028456926346,
0.016037829220294952,
0.0007041997159831226,
0.007695856969803572,
-0.025897732004523277,
-0.03720918297767639,
-0.010355552658438683,
-0.03643030300736427,
0.012347004376351833,
0.06202710419893265,
0.05080416426062584,
0.0004887356190010905,
0.10472384095191956,
-0.006691279821097851,
-0.03071262128651142,
-0.020020734518766403,
0.04800727963447571,
-0.011789398267865181,
0.028110457584261894,
0.0031265802681446075,
0.04489176347851753,
0.03735079616308212,
0.0081738056614995,
-0.04779485613107681,
0.03028777800500393,
0.04223649203777313,
0.03602316230535507,
0.0492464043200016,
0.02582692541182041,
0.035138070583343506,
0.013134734705090523,
0.039368800818920135,
-0.043865058571100235,
-0.08914625644683838,
0.00036703574005514383,
-0.050060685724020004,
0.003226152854040265,
0.05979667603969574,
-0.029261073097586632,
-0.06670037657022476,
-0.042661335319280624,
-0.06032773107290268,
0.018091239035129547,
-0.03609396889805794,
0.010674185119569302,
0.001194871379993856,
-0.0034009581431746483,
0.0015323120169341564,
-0.041068173944950104,
-0.020604893565177917,
0.04117438569664955,
-0.00412230659276247,
-0.0631600171327591,
0.01024934183806181,
-0.0022315329406410456,
-0.01342681422829628,
-0.004761783871799707,
-0.022853022441267967,
0.04085575044155121,
0.018179748207330704,
-0.012063776142895222,
-0.05013149604201317,
-0.07555127888917923,
0.010860053822398186,
-0.0043590678833425045,
-0.0069922106340527534,
0.05115819722414017,
0.020534086972475052,
-0.04177624732255936,
0.02131296508014202,
0.0043457914143800735,
0.020728806033730507,
-0.024393079802393913,
-0.0627351775765419,
-0.03377503156661987,
0.03979364410042763,
-0.03940420597791672,
-0.09679343551397324,
-0.005133521743118763,
-0.001411718432791531,
-0.054769366979599,
0.007394926622509956,
-0.0050804163329303265,
0.03225267678499222,
-0.04110357537865639,
-0.05887618288397789,
0.004770634695887566,
-0.03508496657013893,
-0.0053990487940609455,
-0.0228884257376194,
-0.034872543066740036,
0.023454884067177773,
0.05076875910162926,
0.04772404953837395,
-0.03044709376990795,
0.023189356550574303,
0.051937077194452286,
0.03827128931879997,
0.04152841866016388,
0.00029290944803506136,
0.048892367631196976,
0.05278676375746727,
0.06985130161046982,
0.024375377222895622,
0.04379425197839737,
-0.07024073600769043,
0.0351557731628418,
0.045068781822919846,
-0.012727593071758747,
-0.006540814880281687,
0.0314737968146801,
0.05282216891646385,
-0.011196387931704521,
0.0439358651638031,
-0.02079961448907852,
-0.037386197596788406,
0.012842655181884766,
0.04138680547475815,
0.019348066300153732,
0.013674640096724033,
0.05091037228703499,
-0.08553509414196014,
-0.024570096284151077,
-0.016931770369410515,
0.07604692876338959,
-0.013444515876471996,
0.01661313883960247,
-0.0256499070674181,
-0.0014637175481766462,
-0.023773515596985817,
-0.04460853338241577,
-0.02552599459886551,
0.06687739491462708,
-0.06864757835865021,
0.11640702933073044,
0.03439459577202797,
0.039368800818920135,
-0.007616199087351561,
0.023773515596985817,
0.009426208212971687,
-0.055477436631917953,
-0.0033301508519798517,
-0.02842908911406994,
-0.023207059130072594,
-0.03503185883164406,
-0.003925373777747154,
0.019648997113108635,
0.0026641206350177526,
0.0054565793834626675,
-0.023313269019126892,
0.018427573144435883,
-0.020427875220775604,
0.008204784244298935,
-0.02697754092514515,
0.010824649594724178,
-0.056716565042734146,
-0.047051381319761276,
0.04195326194167137,
0.03735079616308212,
-0.04825510457158089,
-0.050733353942632675,
0.03650110960006714,
0.0494588278234005,
-0.008147252723574638,
0.034713227301836014,
0.08433137089014053,
0.03997066244482994,
0.0017746053636074066,
0.08029536157846451,
-0.015913916751742363,
-0.009275742806494236,
0.00985105149447918,
-0.10479465126991272,
-0.016524629667401314,
0.0858183205127716,
-0.047547031193971634,
-0.012541724368929863,
0.02090582437813282,
-0.013648087158799171,
-0.03577533736824989,
-0.0035425724927335978,
0.05278676375746727,
-0.03653651475906372,
-0.025065748021006584,
-0.030216971412301064,
-0.010222788900136948,
-0.02221575751900673,
-0.025225063785910606,
0.03823588415980339,
-0.04007687419652939,
0.0008214741246774793,
-0.04216568544507027,
0.023454884067177773,
-0.017692947760224342,
0.005854870192706585,
-0.06829354166984558,
-0.08560589700937271,
-0.03296075016260147,
-0.03251820430159569,
0.0018077961867675185,
-0.018339063972234726,
-0.01104592252522707,
0.015931619331240654,
0.016807857900857925,
0.06567367166280746,
0.0016219273675233126,
0.00645230570808053,
0.05480476841330528,
-0.0029407113324850798,
0.06779789179563522,
-0.05554824694991112,
0.054309118539094925,
0.012276197783648968,
0.020569490268826485,
-0.02343718148767948,
-0.014727897010743618,
-0.01814434304833412,
-0.05420290678739548,
-0.010585675947368145,
-0.039899855852127075,
-0.037386197596788406,
-0.0159404706209898,
-0.021082842722535133,
0.012453215196728706,
-0.06188548728823662,
-0.03625328466296196,
0.01973750628530979,
-0.004206390120089054,
0.04184705391526222,
0.00857209600508213,
0.002221575705334544,
0.020180050283670425,
0.023649603128433228,
0.014568580314517021,
0.016418417915701866,
0.012762997299432755,
0.02079961448907852,
-0.07795872539281845,
0.022321969270706177,
0.002648631576448679,
0.001559971016831696,
-0.054556943476200104,
-0.03172162547707558,
-0.029562003910541534,
-0.009558971039950848,
-0.015807706862688065,
0.020180050283670425,
0.013409112580120564,
-0.005142372567206621,
-0.0378110408782959,
-0.0786667913198471,
0.004916674457490444,
-0.004792761988937855,
0.024251464754343033,
-0.051406025886535645,
0.018728503957390785,
-0.005058289039880037,
-0.0492464043200016,
-0.0015146101359277964,
-0.019507382065057755,
-0.014064079150557518,
0.02765020914375782,
-0.025844626128673553,
-0.0038213757798075676,
-0.04432530328631401,
-0.023472584784030914,
-0.029314178973436356,
0.011550423689186573,
-0.04432530328631401,
-0.016480375081300735,
0.040537118911743164,
-0.006593920290470123,
0.018834713846445084,
-0.03014616295695305,
0.047582436352968216,
-0.013533025048673153,
-0.02195023000240326,
0.05080416426062584,
-0.008886302821338177,
0.04581225663423538,
0.05746003985404968,
-0.044502321630716324,
0.04205947369337082,
-0.01694062165915966,
0.060256924480199814,
0.03643030300736427,
0.02607475034892559,
0.04804268106818199,
-0.020073840394616127,
-0.0007882832433097064,
-0.011957565322518349,
0.005673426669090986,
0.017037982121109962,
0.03848370909690857,
-0.04368804022669792,
0.04375884681940079,
-0.046661943197250366,
-0.002213831292465329,
0.0019095815951004624,
-0.01865769550204277,
-0.09169531613588333,
-0.054592348635196686,
-0.01837446726858616,
0.031562305986881256,
-0.03462471812963486,
0.05122900754213333,
-0.023348672315478325,
0.002389742759987712,
-0.01647152379155159,
-0.01586081273853779,
-0.019401172176003456,
-0.00708071980625391,
-0.016037829220294952,
-0.009921858087182045,
0.028818529099225998,
-0.012913462705910206,
0.03635949641466141,
0.03545670211315155,
-0.027313875034451485,
0.01694062165915966,
-0.006912552285939455,
0.04443151503801346,
0.026782821863889694,
0.07328544557094574,
0.0006439029239118099,
0.002493740990757942,
-0.03770483285188675,
-0.02035706862807274,
-0.04223649203777313,
0.02009154111146927,
-0.020286262035369873,
-0.030783427879214287,
0.0002854415215551853,
0.015143889002501965,
-0.05413210019469261,
0.02538437955081463,
-0.04694516956806183,
-0.028924738988280296,
-0.031562305986881256,
-0.0032482801470905542,
-0.06595690548419952,
-0.017356613650918007,
-0.021773213520646095,
0.0022746811155229807,
0.015303204767405987,
0.03972283750772476,
0.014028675854206085,
-0.016869815066456795,
-0.02223346009850502,
-0.0029407113324850798,
0.014745598658919334,
-0.006124822422862053,
0.049812860786914825,
0.08171150088310242,
-0.009957262314856052,
0.03812967613339424,
0.016524629667401314,
0.06450535356998444,
0.02924337238073349,
-0.0165511816740036,
0.01890552043914795,
0.0309604462236166,
-0.09197854995727539,
-0.012913462705910206,
-0.017161894589662552,
0.008496863767504692,
-0.028535299003124237,
-0.0281989648938179,
-0.032642118632793427,
-0.02710145339369774,
-0.0030579857993870974,
-0.04528120160102844,
0.06163766235113144,
-0.018480679020285606,
0.01947197876870632,
-0.0043590678833425045,
0.050485529005527496,
0.022392775863409042,
-0.05282216891646385,
-0.014205693267285824,
-0.03581073880195618,
0.03543900325894356,
0.06521342694759369,
0.03165081515908241,
-0.08008293807506561,
-0.002061153296381235,
0.07441836595535278,
-0.003157558385282755,
-0.019224153831601143,
0.0038501413073390722,
-0.04708678647875786,
0.042271897196769714,
-0.02869461663067341,
-0.0165511816740036,
0.0006505411001853645,
-0.014480071142315865,
0.028411386534571648,
-0.025897732004523277,
-0.08326926082372665,
0.03273062780499458,
0.013347156345844269,
-0.05915941298007965,
-0.009249189868569374,
0.0050096092745661736,
-0.027951139956712723,
0.018073536455631256,
0.0014460156671702862,
-0.09226177632808685,
-0.0210474394261837,
-0.11371635645627975,
-0.009550120681524277,
0.017462825402617455,
-0.02088812366127968,
-0.03400515764951706,
0.014205693267285824,
-0.014674791134893894,
0.004863569047302008,
0.015338608995079994,
0.04457312822341919,
0.04818429797887802,
0.039085570722818375,
-0.010877755470573902,
0.03175702691078186,
0.03876693919301033,
0.037244584411382675,
-0.018728503957390785,
0.043192390352487564,
-0.02210954762995243,
0.018303660675883293,
0.0666295737028122,
0.0024605500511825085,
-0.004907823633402586,
0.051264408975839615,
0.023755814880132675,
0.012541724368929863,
-0.04910479113459587,
-0.035244282335042953,
-0.009612076915800571,
-0.05384887382388115,
-0.0246232021600008,
0.019011732190847397,
-0.02763250842690468,
0.027862630784511566,
0.021189052611589432,
0.014568580314517021,
0.04131599888205528,
0.03202255442738533,
0.012568277306854725,
0.007952532730996609,
0.015683794394135475,
-0.07116123288869858,
0.004204177297651768,
0.008120700716972351,
-0.0003664825635496527,
-0.02435767464339733,
0.0439358651638031,
-0.017949623987078667,
0.058946989476680756,
0.004518384113907814,
0.04952963441610336,
-0.00978024397045374,
-0.009058895520865917,
-0.03258901089429855,
0.020339367911219597,
-0.056043896824121475,
0.029420390725135803,
-0.007983511313796043,
-0.005753084551542997,
-0.002447273815050721,
0.05770786479115486,
0.043050773441791534,
0.026127854362130165,
0.04892777279019356,
0.00153895013500005,
-0.030128462240099907,
0.01959589123725891,
0.03584614396095276,
-0.012585978955030441,
-0.03265981748700142,
-0.018551485612988472,
0.023985937237739563,
0.04839671775698662,
0.009023492224514484,
0.03848370909690857,
-0.004319238942116499,
0.0039696283638477325
]
|
40,321 | pyglove.core.symbolic.base | set_accessor_writable | Sets accessor writable. | def set_accessor_writable(self, writable: bool = True) -> 'Symbolic':
"""Sets accessor writable."""
return self._set_raw_attr('_accessor_writable', writable)
| (self, writable: bool = True) -> pyglove.core.symbolic.base.Symbolic | [
0.007711055688560009,
-0.004656840115785599,
0.03446900472044945,
0.010043671354651451,
0.029971590265631676,
-0.0029724063351750374,
-0.011310666799545288,
0.06538035720586777,
-0.04349740222096443,
-0.002137531526386738,
0.02153054252266884,
0.02678312174975872,
0.0886729434132576,
0.05745952948927879,
-0.02116135135293007,
0.019281834363937378,
0.027303345501422882,
0.030928129330277443,
0.008827019482851028,
0.0408795028924942,
0.0035052159801125526,
-0.027253001928329468,
0.05135110020637512,
-0.06259464472532272,
-0.03577795624732971,
0.027722882106900215,
0.0006848910707049072,
0.06947501748800278,
0.03312649205327034,
-0.05168672651052475,
-0.04749137535691261,
-0.01475924625992775,
-0.014465571381151676,
0.004770114552229643,
0.08605504781007767,
0.0022109500132501125,
-0.013316044583916664,
0.08310151845216751,
0.004942123778164387,
0.016898874193429947,
-0.039302051067352295,
0.0496058352291584,
0.014952232129871845,
-0.026078304275870323,
-0.037053342908620834,
-0.000490593898575753,
-0.013366389088332653,
0.09592251479625702,
0.04574611037969589,
-0.059842489659786224,
0.06568241864442825,
0.03164973109960556,
-0.00877667497843504,
-0.005567231215536594,
0.025944052264094353,
-0.033965565264225006,
0.06118500232696533,
0.03950342908501625,
0.036415647715330124,
-0.019651025533676147,
-0.014222241006791592,
0.013634891249239445,
-0.023107994347810745,
-0.10048705339431763,
0.05296211317181587,
-0.010026889853179455,
-0.03638208657503128,
0.02428269386291504,
0.03401590883731842,
0.032069265842437744,
-0.018040010705590248,
-0.028427699580788612,
-0.009364023804664612,
-0.0029661133885383606,
-0.04198707640171051,
-0.016219228506088257,
-0.07021339982748032,
-0.03993974253535271,
-0.017888978123664856,
-0.06239326298236847,
0.009817121550440788,
-0.010144359432160854,
-0.020372625440359116,
0.02268845960497856,
-0.08155763149261475,
0.06088293716311455,
0.04037605971097946,
-0.004619081970304251,
-0.0033311089500784874,
-0.02829344943165779,
0.008478804491460323,
0.05091478303074837,
0.0026074107736349106,
0.01101699285209179,
-0.041047316044569016,
-0.013366389088332653,
-0.006444059778004885,
-0.0025822387542575598,
0.018258169293403625,
0.03324396535754204,
-0.057258155196905136,
0.029921244829893112,
0.03087778575718403,
0.06279601901769638,
-0.0008804993703961372,
-0.012384677305817604,
-0.01370201725512743,
0.0007404795032925904,
0.015673832967877388,
-0.09619101136922836,
-0.007480311207473278,
0.09182784706354141,
-0.005584012717008591,
-0.02765575610101223,
-0.00839909352362156,
0.05010927468538284,
0.03139800950884819,
-0.0863906741142273,
0.023611437529325485,
-0.05111616104841232,
-0.007266348227858543,
-0.0020179639104753733,
0.0216983575373888,
-0.019835621118545532,
0.04883388802409172,
0.042524080723524094,
0.0038177696987986565,
0.07732871174812317,
0.07236141711473465,
-0.0012942658504471183,
-0.04319533705711365,
0.01626957207918167,
0.03628139942884445,
0.06373577564954758,
0.027857132256031036,
0.0005076375091448426,
-0.004916951525956392,
0.0010116040939465165,
-0.06920651346445084,
-0.022134672850370407,
-0.011436527594923973,
-0.06598448753356934,
0.029703086242079735,
-0.013425123877823353,
0.01574934832751751,
0.024098098278045654,
-0.017872195690870285,
0.06423921883106232,
-0.016219228506088257,
-0.005013444926589727,
0.005768607836216688,
0.036449212580919266,
-0.04594748839735985,
0.02265489660203457,
-0.06880375742912292,
0.06353440135717392,
-0.031196631491184235,
0.03252236172556877,
0.04094662889838219,
0.019852401688694954,
-0.03685196489095688,
0.013139840215444565,
-0.041651446372270584,
-0.045779671519994736,
-0.0022424152120947838,
0.021950077265501022,
0.0036331741139292717,
-0.0900154560804367,
0.02916608192026615,
0.07377105951309204,
0.009171037934720516,
-0.013886612839996815,
-0.002632583025842905,
0.05010927468538284,
0.047659192234277725,
-0.008361334912478924,
0.030189746990799904,
0.043027523905038834,
-0.004226816352456808,
-0.025608424097299576,
0.05370049551129341,
-0.04171857237815857,
-0.0698106437921524,
-0.012921681627631187,
0.05608345568180084,
0.018090354278683662,
-0.03899998590350151,
0.039302051067352295,
0.008852191269397736,
0.04275901988148689,
0.04893457889556885,
-0.008852191269397736,
0.010135969147086143,
-0.03161616623401642,
-0.0029996761586517096,
-0.03809379041194916,
-0.006146189756691456,
-0.04893457889556885,
-0.062326136976480484,
0.08095350116491318,
0.026682434603571892,
0.017519786953926086,
-0.012292379513382912,
0.04873320087790489,
-0.004006560426205397,
0.00903678685426712,
0.0016466754022985697,
0.009666088968515396,
-0.018744830042123795,
-0.03510669991374016,
0.01767081953585148,
-0.014440399594604969,
-0.011612731963396072,
0.01654646545648575,
0.04114800691604614,
0.02104388177394867,
0.006020328961312771,
0.006775492336601019,
0.024601539596915245,
0.04574611037969589,
0.0507805310189724,
0.06309808045625687,
0.003958313725888729,
-0.0037653278559446335,
0.017385534942150116,
-0.03520738705992699,
-0.047894131392240524,
-0.06813250482082367,
-0.045041292905807495,
-0.04084594175219536,
0.008424265310168266,
0.026950936764478683,
-0.03863079473376274,
-0.013836268335580826,
0.020473314449191093,
-0.029703086242079735,
0.03190145269036293,
0.031599387526512146,
-0.0622590146958828,
0.06554816663265228,
-0.03329430893063545,
0.03564370423555374,
0.054606691002845764,
0.05178741738200188,
-0.02926677092909813,
0.03782528638839722,
0.02701806277036667,
0.029870901256799698,
0.0069516971707344055,
-0.01683175005018711,
0.02817597985267639,
-0.07867122441530228,
-0.05453956499695778,
0.0356101430952549,
0.011310666799545288,
0.010135969147086143,
-0.034435443580150604,
0.03547589108347893,
-0.04786056652665138,
-0.003062606556341052,
-0.01064780168235302,
0.014146724715828896,
-0.012049049139022827,
-0.02864585816860199,
0.05709034204483032,
-0.012015486136078835,
0.06037949398159981,
0.016110148280858994,
-0.045141980051994324,
-0.011444917879998684,
-0.02302408777177334,
0.010840787552297115,
-0.07101890444755554,
0.02003699727356434,
-0.042658332735300064,
-0.016420604661107063,
0.02542382851243019,
-0.0028402528259903193,
0.005768607836216688,
-0.003186369314789772,
0.005852514877915382,
-0.01866092160344124,
0.03136444464325905,
0.0498407743871212,
-0.045645423233509064,
0.013366389088332653,
-0.00650698971003294,
0.07659032940864563,
0.004136616364121437,
-0.046148862689733505,
0.03039112500846386,
0.04356452822685242,
0.02042297087609768,
0.0047533330507576466,
0.1190137267112732,
-0.021144570782780647,
-0.07330118119716644,
-0.017637256532907486,
0.0061294082552194595,
-0.02429947443306446,
-0.018241386860609055,
0.010144359432160854,
-0.06242682784795761,
0.05316349118947983,
-0.0059867664240300655,
-0.0473235622048378,
0.054606691002845764,
0.022268924862146378,
0.014247412793338299,
0.05870135501027107,
0.050512030720710754,
0.013811096549034119,
-0.023376496508717537,
0.0716901645064354,
0.08189325779676437,
-0.04806194454431534,
-0.028478045016527176,
0.0016854823334142566,
0.031095944344997406,
0.07061615586280823,
-0.05131753534078598,
-0.05061271786689758,
-0.0014557868707925081,
-0.05766090750694275,
-0.03473750874400139,
-0.0077907671220600605,
-0.011814109049737453,
0.013139840215444565,
-0.023124776780605316,
0.013114668428897858,
-0.06833387911319733,
-0.008067660965025425,
0.041919950395822525,
0.02144663594663143,
-0.0002923635474871844,
-0.011864453554153442,
0.0068761808797717094,
-0.053499121218919754,
-0.03822804242372513,
0.009833903051912785,
-0.031817544251680374,
0.07860410213470459,
0.0016141614178195596,
-0.0436316542327404,
-0.023695344105362892,
0.0109079135581851,
0.0013110472355037928,
0.04846469685435295,
0.025037856772542,
0.027471160516142845,
0.0012586053926497698,
0.03139800950884819,
-0.01842598244547844,
0.009187819436192513,
-0.020137686282396317,
-0.0610843151807785,
-0.028696203604340553,
0.05745952948927879,
-0.038563668727874756,
-0.03287477418780327,
-0.020355844870209694,
-0.014977403916418552,
-0.006775492336601019,
-0.00805926974862814,
-0.040409624576568604,
-0.042423393577337265,
-0.07014627009630203,
-0.03252236172556877,
0.034317974001169205,
-0.03277408331632614,
-0.0007635539514012635,
-0.04906882718205452,
-0.01792254112660885,
0.0002400527591817081,
0.02540704794228077,
0.08182612806558609,
-0.027991384267807007,
-0.0005176014383323491,
0.01370201725512743,
-0.018409201875329018,
0.050243526697158813,
-0.040812376886606216,
0.03299224376678467,
0.033462122082710266,
0.03752322122454643,
-0.005688896402716637,
0.008894144557416439,
-0.007585195358842611,
0.016143711283802986,
0.03102881833910942,
-0.005114133004099131,
0.039906181395053864,
-0.03196857497096062,
0.004149202257394791,
-0.02030549943447113,
0.006557334214448929,
0.011193197220563889,
0.005143500864505768,
0.05531151220202446,
-0.019701369106769562,
0.02990446425974369,
-0.019063675776124,
0.007232785690575838,
0.010547113604843616,
-0.024870041757822037,
0.018274949863553047,
0.041550759226083755,
0.016856921836733818,
-0.013995692133903503,
-0.059104107320308685,
-0.012250426225364208,
0.04836400970816612,
-0.010287001729011536,
0.002397643169388175,
0.024635102599859238,
0.013483858667314053,
0.08598791807889938,
-0.04322889819741249,
0.05091478303074837,
0.0463838055729866,
0.005634356755763292,
-0.011428137309849262,
-0.01755334995687008,
0.03950342908501625,
0.018862299621105194,
-0.003173783188685775,
-0.003668834688141942,
0.030240092426538467,
0.010941476561129093,
0.04534335806965828,
0.039402738213539124,
-0.009758386760950089,
-0.020775379613041878,
0.009951373562216759,
-0.018761610612273216,
-0.0668235570192337,
0.026447495445609093,
-0.03923492506146431,
-0.030172966420650482,
0.029719868674874306,
0.03587864339351654,
-0.0496058352291584,
-0.005852514877915382,
-0.02940102107822895,
-0.006586701609194279,
-0.013223747722804546,
0.01209100242704153,
0.06403784453868866,
0.0532977432012558,
-0.027806788682937622,
0.021094227209687233,
0.025121763348579407,
0.039436303079128265,
0.018291732296347618,
0.006716757547110319,
-0.0249203871935606,
0.0063769337721168995,
-0.08994833379983902,
0.025121763348579407,
-0.022017203271389008,
0.001966570969671011,
0.029216425493359566,
-0.002756345784291625,
-0.005625966005027294,
-0.066185861825943,
0.02542382851243019,
0.010404471307992935,
-0.016982782632112503,
-0.00513511011376977,
0.0071614645421504974,
0.027806788682937622,
-0.056486207991838455,
0.013475468382239342,
-0.048397570848464966,
-0.01396212913095951,
0.0015050822403281927,
-0.0436316542327404,
0.0019592291209846735,
-0.082228884100914,
-0.06175557151436806,
-0.0794767364859581,
0.001668700948357582,
-0.005625966005027294,
-0.012560881674289703,
0.020087342709302902,
-0.013248919509351254,
-0.020725036039948463,
-0.01592555269598961,
-0.0014264194760471582,
-0.009926200844347477,
0.016185665503144264,
0.02916608192026615,
-0.019751714542508125,
-0.0654810443520546,
-0.006444059778004885,
0.02267167903482914,
0.02765575610101223,
0.03473750874400139,
0.016084976494312286,
0.002269685035571456,
-0.04145007207989693,
-0.00921299122273922,
-0.03510669991374016,
0.031700074672698975,
0.020020216703414917,
-0.0050512030720710754,
-0.001853296416811645,
-0.05443887785077095,
-0.02042297087609768,
-0.03816091641783714,
0.03312649205327034,
-0.009666088968515396,
-0.05104903504252434,
0.014222241006791592,
-0.01307271420955658,
-0.02005377970635891,
-0.003962509334087372,
0.01563187874853611,
-0.04332958906888962,
-0.06058087199926376,
0.016806576400995255,
-0.06645436584949493,
-0.018358856439590454,
-0.04705506190657616,
-0.031079161912202835,
-0.005462347529828548,
-0.02129560336470604,
0.018845517188310623,
0.016731061041355133,
-0.024232348427176476,
0.06440703570842743,
-0.013483858667314053,
-0.054136812686920166,
0.008092832751572132,
-0.012468583881855011,
0.08169188350439072,
0.05571426451206207,
0.03185110539197922,
-0.013248919509351254,
0.03849654272198677,
0.0034150159917771816,
-0.0028213737532496452,
-0.025625206530094147,
-0.005617575254291296,
0.00940597802400589,
-0.04571254923939705,
-0.04799481853842735,
-0.07732871174812317,
0.08404127508401871,
-0.02604474127292633,
-0.031951796263456345,
0.02080894261598587,
0.021262040361762047,
-0.009968155063688755,
0.02941780351102352,
0.017268065363168716,
0.05900342017412186,
-0.036549899727106094,
-0.027068406343460083,
0.034049469977617264,
-0.015027748420834541,
-0.03136444464325905,
0.05990961566567421,
0.0005139305139891803,
0.029552053660154343,
0.045141980051994324,
0.01611853949725628,
-0.028226323425769806,
0.026229336857795715,
-0.06037949398159981,
0.0013068519765511155,
0.05380118638277054,
0.013299264013767242,
0.02428269386291504,
0.01021987572312355,
0.04188638553023338,
0.035073135048151016,
0.01755334995687008,
-0.020758599042892456,
-0.011327448301017284,
-0.002240317640826106,
0.018123917281627655,
-0.07437518984079361,
-0.018409201875329018,
-0.00034192114253528416,
-0.04994146153330803,
0.013752361759543419,
0.08122199773788452,
-0.055143699049949646,
-0.030122622847557068,
-0.049370892345905304,
-0.03708690404891968,
-0.0023892526514828205,
-0.0725627988576889,
-0.007455139420926571,
-0.00782433059066534,
-0.04816263169050217,
-0.040174685418605804,
0.07242854684591293,
-0.0008810237632133067,
-0.018274949863553047,
0.031196631491184235,
-0.039402738213539124,
-0.011839281767606735,
-0.021648012101650238,
-0.0012554589193314314,
0.03547589108347893,
0.017637256532907486,
-0.013458686880767345,
-0.037053342908620834,
-0.06195694953203201,
-0.015950726345181465,
0.005474933423101902,
-0.025104982778429985,
-0.011898016557097435,
-0.0012491658562794328,
0.012283988296985626,
0.030424688011407852,
-0.015044529922306538,
-0.049907900393009186,
-0.012359504587948322,
-0.021111007779836655,
-0.011042164638638496,
-0.025826582685112953,
-0.04369878023862839,
-0.02639715000987053,
0.04185282438993454,
0.0281424168497324,
0.0140124736353755,
-0.03415016084909439,
-0.0433967150747776,
-0.007262153085321188,
0.014440399594604969,
-0.027253001928329468,
0.029300333932042122,
-0.007744618691504002,
-0.011386183090507984,
0.03500601276755333,
0.0318007618188858,
0.02156410552561283,
0.0006754515343345702,
-0.001400198438204825,
0.06262820214033127,
0.02290661819279194,
-0.05141822621226311,
0.028075290843844414,
0.006557334214448929,
0.04259120672941208,
-0.01220008172094822,
-0.022973744198679924,
-0.08249738812446594,
0.00057948287576437,
-0.036180708557367325,
-0.04148363322019577,
0.06128569319844246,
-0.05111616104841232,
-0.006439864169806242,
-0.04289327189326286,
0.009850684553384781,
-0.02505463734269142,
-0.052357982844114304,
-0.012325942516326904,
-0.016051413491368294,
0.009003223851323128,
0.04007399454712868,
0.030844222754240036,
-0.046148862689733505,
0.0204397514462471,
-0.023963846266269684,
0.014952232129871845,
0.024886824190616608,
0.0311295073479414,
-0.03399912640452385,
-0.03129732236266136,
0.010203094221651554,
0.005877687130123377,
0.033076148480176926,
-0.024870041757822037,
0.05551288649439812,
0.0033877461683005095,
-0.03500601276755333,
0.05393543466925621,
-0.00763134378939867,
-0.012552491389214993,
0.0174526609480381,
-0.007463530171662569,
0.04671943187713623,
0.010060451924800873,
0.020137686282396317,
-0.06430634111166,
-0.037187594920396805,
-0.022218581289052963,
-0.002372471150010824,
0.03571083024144173,
-0.019214708358049393,
-0.04309464991092682,
-0.005898663774132729,
-0.024819698184728622,
0.011872843839228153,
0.007643930148333311,
0.006192338652908802,
0.07699308544397354,
0.00466523040086031,
-0.018392419442534447,
-0.0008726330706849694,
-0.011042164638638496,
-0.01413833349943161,
-0.01171342097222805,
0.044672101736068726,
-0.05900342017412186,
0.03216995298862457,
0.051753852516412735,
-0.016345089301466942,
-0.06803181767463684,
0.02502107433974743,
-0.0845111533999443,
-0.0070356042124331,
0.030323999002575874,
0.0013456589076668024,
0.020238375291228294,
0.0028989878483116627,
-0.005273556802421808,
0.019869184121489525,
-0.02916608192026615,
-0.04947158321738243,
-0.011923188343644142,
-0.0203222818672657,
0.042792584747076035,
-0.03889929875731468,
-0.0023955455981194973,
0.03399912640452385,
0.01793932169675827,
-0.02092641219496727,
0.000690135289914906,
0.0109079135581851,
-0.0378924123942852,
-0.0050218356773257256,
-0.0038681139703840017,
0.0010152750182896852,
0.07605332881212234,
0.03284120932221413,
0.03237133100628853,
-0.0018952499376609921,
-0.04648449271917343,
-0.033562809228897095,
0.03253914415836334,
-0.0744423121213913,
0.022722022607922554,
0.03735540807247162,
0.04631667956709862,
0.007593585643917322,
0.009993326850235462,
0.009196209721267223,
0.0009376610396429896,
0.05480806902050972,
-0.0011788937263190746,
-0.06329946219921112,
0.042020637542009354,
-0.020087342709302902,
-0.00032907287823036313,
-0.06605160981416702,
0.07450944185256958,
-0.026430713012814522,
0.012183300219476223,
0.017754726111888885,
0.025004293769598007,
-0.04309464991092682,
-0.019852401688694954
]
|
40,322 | pyglove.core.symbolic.base | sym_ancestor | Returns the nearest ancestor of specific classes. | def sym_ancestor(
self,
where: Optional[Callable[[Any], bool]] = None,
) -> Optional['Symbolic']:
"""Returns the nearest ancestor of specific classes."""
ancestor = self.sym_parent
where = where or (lambda x: True)
while ancestor is not None and not where(ancestor):
ancestor = ancestor.sym_parent
return ancestor
| (self, where: Optional[Callable[[Any], bool]] = None) -> Optional[pyglove.core.symbolic.base.Symbolic] | [
0.05452578142285347,
-0.05384335666894913,
0.06684356182813644,
0.006999124772846699,
-0.047530923038721085,
-0.037567514926195145,
-0.0036232518032193184,
0.04442588984966278,
0.014177385717630386,
0.011712124571204185,
-0.012752823531627655,
-0.06141828000545502,
0.02342424914240837,
-0.007161200512200594,
-0.07479381561279297,
0.01028756145387888,
0.0014778773766011,
0.04101376235485077,
-0.030726199969649315,
0.0007943857344798744,
0.0006099176243878901,
0.009989000856876373,
-0.017777180299162865,
-0.07438436150550842,
0.0168900266289711,
0.03947830572724342,
-0.010859092697501183,
0.02468673512339592,
-0.022281186655163765,
-0.041559699922800064,
0.02463555335998535,
-0.022366490215063095,
0.010748198255896568,
-0.03412126749753952,
0.06315845996141434,
-0.022929491475224495,
0.022673580795526505,
0.08318764716386795,
0.0209675170481205,
-0.011379442177712917,
-0.008871529251337051,
-0.040331337600946426,
0.028132984414696693,
0.011788897216320038,
-0.007301950827240944,
0.03528138995170593,
0.035929691046476364,
-0.018169574439525604,
0.031238019466400146,
0.04684849828481674,
0.004380317404866219,
-0.05572002753615379,
0.04411879554390907,
-0.020626304671168327,
-0.0315280482172966,
-0.01770893670618534,
-0.02021685056388378,
-0.03062383644282818,
-0.02187173068523407,
0.015917571261525154,
0.05520820617675781,
-0.03422363102436066,
0.03521314635872841,
0.0002293855359312147,
0.015235145576298237,
-0.024584371596574783,
-0.003175410209223628,
0.01338406652212143,
-0.07411138713359833,
0.02789413556456566,
-0.06930029392242432,
-0.022281186655163765,
-0.016864435747265816,
-0.0050499471835792065,
0.005984017159789801,
-0.041082002222537994,
-0.0017444497207179666,
-0.015576357953250408,
0.005856062285602093,
-0.014458886347711086,
0.009562484920024872,
-0.002416212111711502,
-0.04074079170823097,
0.009724561125040054,
-0.0020206186454743147,
-0.00013175340427551419,
0.047053225338459015,
0.05531057342886925,
0.005096863955259323,
-0.024737916886806488,
-0.07370193302631378,
0.017504209652543068,
0.05626596882939339,
0.031067412346601486,
0.09130850434303284,
0.07452084124088287,
0.02936134859919548,
-0.018476665019989014,
0.026699891313910484,
-0.03794284909963608,
0.019090848043560982,
0.00357207003980875,
0.03313174843788147,
0.003689361969009042,
-0.008845938369631767,
0.014390643686056137,
-0.015772555023431778,
-0.013094035908579826,
-0.017828362062573433,
-0.0014288279926404357,
-0.10277324914932251,
-0.03135744482278824,
-0.028201226145029068,
0.0315280482172966,
0.004879340995103121,
-0.04684849828481674,
-0.009903697296977043,
0.037533391267061234,
0.017026511952280998,
0.006521427072584629,
-0.024055492132902145,
0.034018900245428085,
0.017981907352805138,
-0.025232676416635513,
0.02849125675857067,
0.014177385717630386,
0.013853234238922596,
-0.02434552274644375,
-0.018459605053067207,
-0.014032370410859585,
0.09083081036806107,
-0.021411094814538956,
-0.0486910454928875,
-0.022707702592015266,
-0.02941253036260605,
0.043163400143384933,
-0.02043863758444786,
0.034360114485025406,
-0.05176195874810219,
-0.010918805375695229,
0.049475833773612976,
-0.017128875479102135,
-0.013639976270496845,
-0.041935034096241,
-0.09185444563627243,
0.026051586493849754,
-0.03620266169309616,
-0.028593620285391808,
-0.008794756606221199,
0.006815722677856684,
-0.03456484153866768,
-0.0416620671749115,
0.0619300976395607,
0.07240532338619232,
-0.06950502097606659,
0.0029600197449326515,
-0.05677778646349907,
-0.020063303411006927,
-0.020302152261137962,
-0.013921476900577545,
-0.03231284022331238,
0.009912227280437946,
0.017308011651039124,
-0.05005589872598648,
-0.034837812185287476,
0.0003436118131503463,
-0.06639998406171799,
-0.01474891696125269,
0.025181494653224945,
0.005757963750511408,
-0.017137406393885612,
0.021428154781460762,
-0.033285293728113174,
0.001825487706810236,
-0.047223832458257675,
-0.003476104000583291,
0.017487147822976112,
-0.019124969840049744,
0.027962377294898033,
0.026000404730439186,
0.06834489852190018,
-0.0012646194081753492,
-0.0006563012138940394,
0.028832469135522842,
0.03524726629257202,
-0.0013360608136281371,
0.007088692858815193,
0.0011025434359908104,
0.047394439578056335,
-0.019517363980412483,
-0.056402452290058136,
0.0385570302605629,
0.030197320505976677,
0.03521314635872841,
-0.019756212830543518,
-0.012454262003302574,
0.014996296726167202,
0.04265158250927925,
-0.09990706294775009,
-0.008845938369631767,
-0.012266594916582108,
-0.000302293075947091,
-0.0271605271846056,
0.007255034055560827,
0.02048981934785843,
0.01849372684955597,
0.013563202694058418,
0.0006323097040876746,
-0.0684131383895874,
0.0024247425608336926,
-0.0280135590583086,
0.00012828796752728522,
-0.05425281077623367,
-0.0035358162131160498,
-0.01784542202949524,
-0.005305856931954622,
0.028440074995160103,
0.0371580570936203,
-0.029651379212737083,
0.00015008026093710214,
-0.04602958634495735,
-0.005941365379840136,
0.06977798789739609,
-0.0018745370907709002,
0.017555391415953636,
-0.03465014696121216,
0.004653287585824728,
-0.0013637843076139688,
0.01880081743001938,
-0.03294408321380615,
0.04708734527230263,
-0.04360697790980339,
0.052819717675447464,
-0.08250521868467331,
0.008982422761619091,
-0.018169574439525604,
-0.034752510488033295,
0.016309965401887894,
0.0010694884695112705,
0.04824747145175934,
0.001297674374654889,
0.004730060696601868,
0.00377893028780818,
0.01840842328965664,
0.000829573255032301,
-0.014322401024401188,
0.02606864646077156,
-0.047872137278318405,
-0.004324870649725199,
-0.026392798870801926,
-0.017180057242512703,
-0.023543672636151314,
-0.004589310381561518,
-0.02260533906519413,
0.05793790891766548,
-0.029463712126016617,
-0.04292455315589905,
-0.020302152261137962,
-0.004512537270784378,
0.037396907806396484,
-0.034837812185287476,
0.0700850784778595,
0.05694839358329773,
0.002035546815022826,
-0.056300088763237,
0.0385570302605629,
-0.04428940266370773,
-0.034974295645952225,
-0.03456484153866768,
0.028644802048802376,
-0.02048981934785843,
0.03231284022331238,
-0.003066648729145527,
0.021598761901259422,
0.014066492207348347,
-0.021069882437586784,
-0.039819516241550446,
0.0360320582985878,
-0.03961478918790817,
-0.08209576457738876,
-0.019995061680674553,
0.01303432323038578,
-0.021803488954901695,
0.03381417319178581,
-0.01221541315317154,
-0.006781601347029209,
-0.05578827112913132,
-0.049782928079366684,
0.012752823531627655,
1.666077409367972e-8,
0.050943050533533096,
-0.020029183477163315,
0.007084427867084742,
-0.044664736837148666,
0.016642646864056587,
-0.020813971757888794,
0.004751386120915413,
0.005310121923685074,
0.05609536170959473,
0.0025676251389086246,
0.03729454427957535,
-0.002138976939022541,
0.036612119525671005,
0.03296114131808281,
-0.01767481490969658,
0.052853841334581375,
0.030675018206238747,
0.016881495714187622,
0.01779424026608467,
0.00664938148111105,
-0.006768805906176567,
0.008564437739551067,
0.006977798882871866,
-0.023697219789028168,
-0.05305856838822365,
-0.03203986957669258,
0.008236020803451538,
-0.04486946389079094,
-0.00017380519420839846,
0.0760221779346466,
-0.02122342772781849,
0.054935239255428314,
-0.03729454427957535,
-0.014612431637942791,
-0.03971715271472931,
-0.0018979953601956367,
-0.02854243852198124,
-0.0058987135998904705,
-0.03173277899622917,
0.01058612298220396,
0.028047680854797363,
0.03995600342750549,
0.03048735111951828,
-0.012889307923614979,
-0.04022897407412529,
0.07731878757476807,
0.020421577617526054,
0.031238019466400146,
0.015840796753764153,
-0.0616571269929409,
0.04374346137046814,
0.016855904832482338,
0.02533503994345665,
0.019432060420513153,
-0.051386624574661255,
-0.010040182620286942,
-0.02598334476351738,
-0.0027616899460554123,
0.013972658663988113,
0.014510068111121655,
-0.008137921802699566,
0.07738702744245529,
0.0071953218430280685,
-0.03647563233971596,
0.014672144316136837,
-0.005177902057766914,
-0.0057750241830945015,
0.0280135590583086,
-0.0011729184770956635,
0.00120170833542943,
0.06131591275334358,
0.01511572115123272,
-0.021922912448644638,
-0.020285092294216156,
-0.05121602118015289,
0.0168900266289711,
0.017879543825984,
0.00693941256031394,
-0.02989022806286812,
-0.03647563233971596,
-0.03777224197983742,
-0.03459896519780159,
0.017052102833986282,
-0.06315845996141434,
-0.0014682806795462966,
0.07506678253412247,
-0.011695063672959805,
-0.020950457081198692,
0.043845824897289276,
-0.013051384128630161,
0.056880149990320206,
-0.012394550256431103,
0.0017828361596912146,
0.030760321766138077,
-0.026495162397623062,
-0.04022897407412529,
0.011507396586239338,
-0.0014874739572405815,
0.04101376235485077,
0.04794037714600563,
0.03831818327307701,
-0.05561766400933266,
0.048998136073350906,
0.008598558604717255,
-0.0019896964076906443,
0.00673468504101038,
-0.0019566414412111044,
-0.015960222110152245,
-0.04439176619052887,
-0.04944171383976936,
0.030470291152596474,
-0.019022606313228607,
0.0270240418612957,
-0.03343883901834488,
0.0040902867913246155,
-0.02434552274644375,
-0.009502772241830826,
0.03174983710050583,
-0.04821334779262543,
-0.03357532620429993,
-0.041593823581933975,
0.0023309090174734592,
-0.05121602118015289,
0.02533503994345665,
0.007293420378118753,
-0.026341617107391357,
0.08195927739143372,
0.07943430542945862,
0.03343883901834488,
-0.05694839358329773,
-0.007826565764844418,
-0.031118594110012054,
0.04886165261268616,
0.022707702592015266,
0.051727838814258575,
0.03654387593269348,
-0.00026244050241075456,
-0.05339978262782097,
-0.04971468448638916,
0.03096504881978035,
-0.016395268961787224,
-0.016796192154288292,
0.02282712608575821,
0.009758681990206242,
0.005617213435471058,
0.04057018458843231,
0.03923945501446724,
-0.033285293728113174,
-0.013204929418861866,
-0.0008978158002719283,
0.01606258563697338,
0.0138617642223835,
-0.06602464616298676,
0.05872269719839096,
-0.018527846783399582,
0.0027552922256290913,
0.019824454560875893,
0.025829797610640526,
-0.024652615189552307,
-0.018050149083137512,
-0.017350664362311363,
-0.10632186383008957,
0.019329696893692017,
0.03872763738036156,
-0.0672871395945549,
0.010944396257400513,
-0.0059285699389874935,
-0.010790850035846233,
-0.03790872544050217,
0.017743058502674103,
-0.006572608835995197,
0.01711181551218033,
0.06452331691980362,
-0.0271605271846056,
-0.062203068286180496,
-0.022161761298775673,
0.04097963869571686,
-0.07001683861017227,
-0.01010842528194189,
-0.04555188864469528,
0.11546636372804642,
-0.035963814705610275,
-0.026478102430701256,
0.02685343660414219,
0.029787864536046982,
-0.00080664805136621,
0.005122454836964607,
-0.06718476861715317,
-0.027945317327976227,
-0.055447056889534,
-0.0391370914876461,
0.022161761298775673,
-0.02775765024125576,
-0.026921678334474564,
0.0484180748462677,
-0.035008419305086136,
-0.017589513212442398,
-0.04357285797595978,
-0.0008199766743928194,
-0.016139358282089233,
-0.016736481338739395,
0.0965631827712059,
0.019329696893692017,
0.05217141658067703,
0.07158641517162323,
0.026751073077321053,
0.030367925763130188,
0.0011260018218308687,
0.0265975259244442,
-0.03995600342750549,
0.0052205538377165794,
0.005182167049497366,
-0.03528138995170593,
-0.010261970572173595,
-0.03186926245689392,
0.0024716590996831656,
-0.030197320505976677,
-0.027382316067814827,
-0.022144701331853867,
0.0920591726899147,
0.08946596086025238,
0.006534222513437271,
0.060565248131752014,
-0.029207803308963776,
0.018647272139787674,
0.007609042339026928,
0.05339978262782097,
0.014023840427398682,
0.07131344825029373,
-0.02707522362470627,
0.0218205489218235,
-0.05131838470697403,
-0.0236460380256176,
-0.045927222818136215,
-0.022724762558937073,
-0.01104675978422165,
0.026409858837723732,
-0.00027616898296400905,
-0.014365052804350853,
-0.05568590760231018,
0.018988484516739845,
-0.026000404730439186,
-0.05387748032808304,
0.045278917998075485,
-0.001792432740330696,
-0.03780636191368103,
-0.03367768973112106,
0.062339551746845245,
-0.031152715906500816,
0.004147866275161505,
-0.021462276577949524,
0.0225200355052948,
-0.01710328459739685,
0.05902979150414467,
0.06377264857292175,
0.010731138288974762,
-0.07800121605396271,
-0.013904416002333164,
-0.06899319589138031,
0.0543210543692112,
0.014441825449466705,
-0.011021168902516365,
0.0472920760512352,
0.05684603005647659,
0.004167059436440468,
-0.018033089116215706,
0.027655286714434624,
0.023048914968967438,
-0.026751073077321053,
0.05435517802834511,
0.03014613874256611,
0.021359913051128387,
0.07411138713359833,
-0.05667542293667793,
0.014876872301101685,
-0.043675221502780914,
0.03876175731420517,
-0.0013595191994681954,
0.041935034096241,
0.12631691992282867,
-0.022707702592015266,
0.06131591275334358,
-0.012957550585269928,
0.008585763163864613,
0.012309246696531773,
0.05636833235621452,
-0.03192044422030449,
0.031681593507528305,
-0.054628144949674606,
-0.00617168378084898,
0.02584685944020748,
-0.03279053792357445,
-0.018391361460089684,
0.03014613874256611,
0.01944912225008011,
0.0225200355052948,
0.01338406652212143,
0.05360450968146324,
-0.09089905023574829,
0.01815251260995865,
-0.023202460259199142,
-0.00515231117606163,
0.007016185205429792,
0.038522910326719284,
-0.00216563418507576,
0.003900487208738923,
-0.0006680304068140686,
-0.015482524409890175,
-0.010415516793727875,
0.006013873033225536,
0.011490336619317532,
-0.0011547915637493134,
0.015798145905137062,
0.026017464697360992,
0.08421128243207932,
0.01366556715220213,
-0.02057512290775776,
-0.05551530048251152,
-0.06329494714736938,
-0.038181696087121964,
0.026443980634212494,
-0.01649763248860836,
0.01936381869018078,
0.017137406393885612,
-0.059132155030965805,
0.00747255701571703,
-0.021376973018050194,
-0.024737916886806488,
-0.04845219850540161,
0.010611713863909245,
0.004363256972283125,
-0.04039957746863365,
0.011166184209287167,
0.003073046449571848,
-0.028201226145029068,
0.024055492132902145,
0.043641097843647,
-0.026972860097885132,
0.024840282276272774,
0.04357285797595978,
0.038181696087121964,
0.033592384308576584,
0.018613150343298912,
-0.03169865533709526,
-0.019687971100211143,
0.0014512201305478811,
0.025949222967028618,
-0.03372887149453163,
-0.024174917489290237,
0.011567109264433384,
-0.021411094814538956,
0.017128875479102135,
-0.0003254848998039961,
0.05698251351714134,
0.026443980634212494,
-0.018203694373369217,
-0.03014613874256611,
0.024806160479784012,
-0.07083574682474136,
-0.020592184737324715,
-0.007532269228249788,
-0.011882730759680271,
-0.03349002078175545,
-0.0023820907808840275,
0.039990123361349106,
-0.015183962881565094,
-0.057664938271045685,
-0.021155184134840965,
0.04070667177438736,
-0.023270703852176666,
0.026017464697360992,
-0.0019385144114494324,
-0.07035805284976959,
0.07554448395967484,
-0.03198868781328201,
0.009767211973667145,
-0.010816440917551517,
-0.07520326972007751,
0.03082856349647045,
-0.046404920518398285,
-0.03367768973112106,
0.03301232308149338,
-0.03797696903347969,
-0.028832469135522842,
-0.04660964757204056,
-0.03784048557281494,
0.002294655190780759,
0.03906884789466858,
0.008696657605469227,
-0.06309022009372711,
0.030367925763130188,
0.006440388970077038,
0.028644802048802376,
-0.0065001011826097965,
0.004640492144972086,
0.01835724152624607,
0.01645497977733612,
0.021632881835103035,
0.01366556715220213,
-0.051591355353593826,
-0.022537095472216606,
-0.014177385717630386,
0.057972028851509094,
0.06452331691980362,
0.04022897407412529,
-0.03507666289806366,
-0.04097963869571686,
-0.01048375852406025,
0.005941365379840136,
0.029787864536046982,
0.11157654225826263,
0.0028427280485630035,
-0.037396907806396484,
-0.03582732751965523,
0.015943162143230438,
0.01706063374876976,
0.019978001713752747,
0.04507419094443321,
-0.001754046301357448,
0.07963903248310089,
-0.03524726629257202,
-0.027092285454273224,
0.016574405133724213,
-0.059609852731227875,
0.008022762835025787,
0.03140862658619881,
-0.007532269228249788,
-0.00905066542327404,
-0.006474510300904512,
0.010918805375695229,
-0.02584685944020748,
-0.026273375377058983,
0.0658881664276123,
0.010389924980700016,
0.023611916229128838,
0.042242128401994705,
0.045449525117874146,
-0.007728466764092445,
-0.05165959522128105,
0.03130626305937767,
-0.005007295869290829,
0.025778615847229958,
-0.0717911422252655,
0.018527846783399582,
0.044801220297813416,
0.034496597945690155,
-0.019978001713752747,
-0.00892271101474762,
-0.06407973915338516,
-0.016693828627467155,
-0.0010161739774048328,
0.010799380950629711,
-0.03212517127394676,
-0.015943162143230438,
0.06568343937397003,
-0.03139156475663185,
-0.028832469135522842,
-0.014493007212877274,
0.04486946389079094,
0.0014309606049209833,
-0.024618493393063545,
0.057528454810380936,
0.12481559067964554,
-0.00012568887905217707,
0.004135070834308863,
0.06162300705909729,
-0.02502794936299324,
0.0574260912835598,
0.016907086595892906,
-0.002906705252826214,
-0.01127707865089178,
0.004196915775537491,
-0.004431499168276787,
0.035144902765750885,
-0.011584170162677765,
-0.035929691046476364,
-0.011857139877974987,
0.03975127637386322
]
|
40,323 | pyglove.core.symbolic.object | sym_attr_field | Returns the field definition for a symbolic attribute. | def sym_attr_field(
self, key: Union[str, int]
) -> Optional[pg_typing.Field]:
"""Returns the field definition for a symbolic attribute."""
return self._sym_attributes.sym_attr_field(key)
| (self, key: Union[str, int]) -> Optional[pyglove.core.typing.class_schema.Field] | [
0.08782821893692017,
-0.01706606335937977,
0.05771368741989136,
0.0909724235534668,
0.03842921182513237,
-0.019721172749996185,
0.06211557984352112,
-0.05614158511161804,
-0.030079592019319534,
-0.016646835952997208,
0.004375689662992954,
-0.021502889692783356,
0.0673559233546257,
0.008720810525119305,
0.041608355939388275,
0.035162728279829025,
-0.011956725269556046,
0.0297651719301939,
-0.0534515380859375,
0.014996126294136047,
0.025083795189857483,
0.04884003475308418,
-0.006484929472208023,
-0.05135539919137955,
0.01696125604212284,
0.04646440967917442,
0.03399238362908363,
0.0188303142786026,
-0.0007653090287931263,
-0.052123986184597015,
0.027249803766608238,
0.002404009224846959,
0.03790517523884773,
0.011249278672039509,
-0.0036376742646098137,
-0.02461216226220131,
-0.0007827768567949533,
0.02010546438395977,
-0.048735227435827255,
-0.05666561797261238,
0.039582088589668274,
0.015712307766079903,
0.010830050334334373,
-0.056630682200193405,
-0.014926254749298096,
0.0006938001024536788,
0.018393617123365402,
-0.01592192053794861,
-0.01867310330271721,
-0.043809302151203156,
0.01986091583967209,
-0.009930457919836044,
0.005484896712005138,
-0.003812352428212762,
0.038219597190618515,
-0.05477909371256828,
-0.047791965305805206,
-0.00937148742377758,
-0.031180065125226974,
0.0068168179132044315,
-0.030725901946425438,
-0.01893511973321438,
-0.031197533011436462,
-0.059600211679935455,
-0.00008952259668149054,
-0.01865563541650772,
-0.0071006701327860355,
0.024454953148961067,
-0.011485094204545021,
-0.029118862003087997,
-0.04290097579360008,
-0.03713659197092056,
-0.025171132758259773,
0.016795312985777855,
0.023878514766693115,
-0.07308537513017654,
0.019389284774661064,
-0.05879669263958931,
0.02307499386370182,
-0.042376939207315445,
-0.01893511973321438,
0.017406685277819633,
-0.036787234246730804,
0.01935434900224209,
-0.029660364612936974,
0.018271343782544136,
0.06117231771349907,
-0.0004033975419588387,
-0.019651301205158234,
-0.02688298001885414,
-0.02307499386370182,
-0.01924954168498516,
-0.030062124133110046,
0.059949569404125214,
0.0016059479676187038,
-0.032280538231134415,
0.041783034801483154,
0.019616365432739258,
0.030568690970540047,
0.00027812051121145487,
0.030813241377472878,
-0.035319939255714417,
-0.026096928864717484,
0.05418518930673599,
-0.013624901883304119,
-0.04031573608517647,
-0.05387076735496521,
-0.03112766146659851,
-0.012498227879405022,
-0.03285697475075722,
-0.014646769501268864,
0.01797438971698284,
0.03444654867053032,
0.03629813715815544,
0.015249409712851048,
0.02833280898630619,
0.015118401497602463,
-0.005842986982315779,
0.0446128211915493,
0.00040585396345704794,
0.015205739997327328,
0.011004729196429253,
-0.04370449483394623,
-0.004860421642661095,
0.018638167530298233,
0.034149594604969025,
-0.0009263405227102339,
-0.0007445659721270204,
0.0011397755006328225,
0.04995797574520111,
0.009764513000845909,
0.018480956554412842,
0.0405602864921093,
0.07692829519510269,
0.015450289472937584,
0.006109371315687895,
0.062464937567710876,
0.08133018761873245,
-0.024472421035170555,
0.015546362847089767,
0.0035088490694761276,
0.03256002441048622,
0.0032621161080896854,
-0.04443814232945442,
-0.03933753818273544,
0.017144668847322464,
-0.05928579345345497,
0.02571263536810875,
-0.031180065125226974,
-0.005096237640827894,
-0.04597531259059906,
-0.0046027712523937225,
0.035075388848781586,
0.01458563283085823,
0.023965854197740555,
0.04391410946846008,
-0.06791489571332932,
0.01614900305867195,
0.01158116664737463,
-0.012035330757498741,
-0.01192178949713707,
-0.01242835633456707,
-0.026027057319879532,
-0.11619596183300018,
0.024454953148961067,
0.010969793424010277,
0.002290468430146575,
-0.05498870834708214,
0.02400078997015953,
0.04541634023189545,
-0.04164329171180725,
-0.04443814232945442,
0.02162516489624977,
0.010306015610694885,
-0.04960861802101135,
0.05201917886734009,
0.018952587619423866,
0.0018242958467453718,
0.03598371520638466,
-0.002277367515489459,
0.0583774670958519,
0.013362884521484375,
0.0072535136714577675,
0.0066814422607421875,
0.026446284726262093,
0.03605358675122261,
-0.010192475281655788,
0.021922118961811066,
0.03392251208424568,
0.03776543587446213,
-0.006236013025045395,
0.02078671008348465,
-0.0014585632598027587,
-0.03598371520638466,
-0.048141323029994965,
-0.07769687473773956,
0.051634885370731354,
0.001086826086975634,
-0.006105004344135523,
0.03654268756508827,
0.06340819597244263,
-0.02408812753856182,
-0.006297150161117315,
0.08615130186080933,
-0.05177462846040726,
-0.015214473940432072,
0.01674290932714939,
-0.005253447685390711,
-0.05355634540319443,
0.015913186594843864,
0.03079577349126339,
-0.009755779057741165,
0.002075395779684186,
-0.009677174501121044,
0.008122538216412067,
-0.026778172701597214,
-0.029293539002537727,
0.015493959188461304,
-0.015808379277586937,
0.02162516489624977,
0.057294461876153946,
-0.017756043002009392,
0.03249015286564827,
-0.03773050010204315,
0.03755582123994827,
-0.03383517265319824,
0.0004115855845157057,
0.018184004351496696,
-0.04150354862213135,
-0.020507223904132843,
-0.002253349171951413,
0.015004860237240791,
-0.0101750073954463,
-0.011214342899620533,
0.008419490419328213,
-0.03734620660543442,
-0.002014258410781622,
0.012105201371014118,
0.02553795836865902,
-0.0227431058883667,
-0.02866469882428646,
0.05132046341896057,
-0.019109798595309258,
0.06805463880300522,
-0.025083795189857483,
-0.021275809034705162,
0.018218940123915672,
0.04709325358271599,
-0.014367285184562206,
-0.03647281602025032,
-0.01678657904267311,
-0.02611439675092697,
0.03299671784043312,
0.027773838490247726,
0.0525781475007534,
-0.0025175500195473433,
-0.07979301363229752,
-0.023459287360310555,
0.017878316342830658,
0.0028254203498363495,
-0.035843972116708755,
0.017432887107133865,
-0.01352882944047451,
-0.055442869663238525,
0.06564407795667648,
-0.022201603278517723,
0.021677568554878235,
0.011336617171764374,
-0.013624901883304119,
-0.0026485587004572153,
-0.01251569576561451,
-0.0435996875166893,
-0.015677371993660927,
-0.019808512181043625,
0.00028057690360583365,
-0.04419359192252159,
0.020122932270169258,
0.023616496473550797,
0.04555608332157135,
-0.035407278686761856,
-0.04290097579360008,
-0.018550828099250793,
-0.011651038192212582,
0.03895324468612671,
-0.023302076384425163,
0.06438639760017395,
-0.03888337314128876,
0.01111826952546835,
-0.01799185760319233,
-0.014218808151781559,
0.0664825364947319,
0.04583556950092316,
0.011266745626926422,
0.033538222312927246,
0.04223719611763954,
0.009904256090521812,
0.030481351539492607,
0.02969530038535595,
0.04290097579360008,
0.014821448363363743,
0.010506895370781422,
0.08377568423748016,
0.008668407797813416,
0.014463357627391815,
-0.03710165619850159,
0.049678489565849304,
-0.004956495016813278,
0.012952391058206558,
0.017214540392160416,
0.03359062597155571,
-0.0504121370613575,
0.08370581269264221,
-0.07979301363229752,
0.05299737676978111,
0.007122504990547895,
0.01713593490421772,
-0.05023745819926262,
0.04828106239438057,
0.01907486282289028,
0.08293722569942474,
0.011057131923735142,
-0.003740297630429268,
-0.028123196214437485,
-0.01052436325699091,
-0.031162597239017487,
0.006270948797464371,
-0.02359902858734131,
-0.08286735415458679,
0.01344149000942707,
0.03713659197092056,
0.029066458344459534,
0.018201472237706184,
-0.013817048631608486,
0.006860487628728151,
-0.08615130186080933,
0.019127266481518745,
0.021607697010040283,
-0.03787023946642876,
-0.0317215658724308,
-0.03937247395515442,
-0.0385340191423893,
-0.03835934028029442,
0.024891648441553116,
-0.02291778475046158,
-0.027546757832169533,
-0.06284923106431961,
0.0034804637543857098,
-0.015939388424158096,
0.03748594969511032,
0.011092067696154118,
0.04538140445947647,
-0.06323351711034775,
-0.005502364598214626,
0.005353888031095266,
0.010716510005295277,
-0.003978296648710966,
-0.030149463564157486,
0.052892569452524185,
-0.01916220225393772,
0.04684870317578316,
0.03268229588866234,
0.017476556822657585,
-0.03717152774333954,
-0.01654202863574028,
0.010148805566132069,
0.019459154456853867,
-0.05023745819926262,
0.016926320269703865,
0.052298665046691895,
0.029241137206554413,
-0.019057394936680794,
0.008170573972165585,
-0.021310744807124138,
-0.020681902766227722,
-0.0033254369627684355,
0.06225532293319702,
0.032018519937992096,
0.015956856310367584,
-0.002028451068326831,
-0.06711138039827347,
-0.029573025181889534,
-0.031005386263132095,
-0.004369139205664396,
0.08803783357143402,
-0.014777778647840023,
0.011048397980630398,
-0.015039796009659767,
-0.04946887493133545,
0.04181797057390213,
0.009982860647141933,
-0.04174809902906418,
-0.016201406717300415,
-0.016952522099018097,
0.008851819671690464,
0.01665556989610195,
-0.01634114794433117,
0.009869320318102837,
-0.05222879350185394,
0.006624672096222639,
-0.024734437465667725,
0.009511229582130909,
-0.03860389068722725,
-0.02798345312476158,
0.02553795836865902,
-0.000486642646137625,
0.032193198800086975,
0.006768781691789627,
0.033293671905994415,
-0.02104872651398182,
0.008188041858375072,
0.018900185823440552,
0.05411531776189804,
0.004847321193665266,
-0.030324140563607216,
0.02993984892964363,
-0.02026267535984516,
0.06382742524147034,
-0.021101130172610283,
0.02290031686425209,
0.006877955514937639,
-0.004430276807397604,
-0.018358683213591576,
-0.04632466658949852,
0.01468170527368784,
-0.04422852769494057,
0.025974653661251068,
0.015581298619508743,
0.0666222795844078,
-0.02113606594502926,
0.12541897594928741,
-0.0013526645489037037,
0.041957709938287735,
0.06812451034784317,
0.02298765629529953,
0.001032239175401628,
-0.031424615532159805,
0.010009062476456165,
-0.03919779509305954,
0.00029313191771507263,
-0.03706672042608261,
-0.0014836732298135757,
-0.014795246534049511,
0.0054761627689003944,
-0.010078934021294117,
0.002390908310189843,
-0.0068299188278615475,
0.009554899297654629,
0.0992172360420227,
0.05250827595591545,
-0.03481337055563927,
0.017581364139914513,
0.0005889931926503778,
0.04286604002118111,
-0.009554899297654629,
0.012323549017310143,
-0.015074731782078743,
-0.02637641318142414,
-0.07091936469078064,
0.023861046880483627,
0.0044761295430362225,
-0.03699684888124466,
0.06777515262365341,
0.0053189522586762905,
-0.04744260758161545,
-0.05617652088403702,
0.02945074997842312,
0.010646638460457325,
-0.016987457871437073,
0.017328081652522087,
0.017782244831323624,
0.02978263795375824,
0.003884407225996256,
0.02773890271782875,
-0.02604452520608902,
0.000904505723156035,
0.006153040565550327,
-0.006886689458042383,
-0.016489624977111816,
-0.06152167543768883,
-0.10774153470993042,
0.017319347709417343,
-0.013537563383579254,
-0.06746073067188263,
-0.02206186018884182,
0.06976648420095444,
0.025485554710030556,
-0.03247268497943878,
0.018253875896334648,
-0.06033386290073395,
0.028123196214437485,
-0.012541897594928741,
0.09837878495454788,
0.03367796167731285,
0.034656163305044174,
0.032961782068014145,
0.014961190521717072,
0.011738377623260021,
-0.017240742221474648,
-0.02094392105937004,
0.0188303142786026,
-0.05743420496582985,
-0.058656949549913406,
0.00397611316293478,
0.013415288180112839,
-0.002076487522572279,
-0.011738377623260021,
-0.06812451034784317,
-0.0014421871164813638,
0.02443748526275158,
0.0003821086429525167,
0.05065668746829033,
-0.04758235067129135,
0.04251668229699135,
-0.014777778647840023,
0.0297651719301939,
0.012297348119318485,
0.014751576818525791,
-0.03166916221380234,
-0.015266877599060535,
0.00871207658201456,
-0.02010546438395977,
-0.027162466198205948,
-0.06295403838157654,
-0.06152167543768883,
-0.020507223904132843,
0.018393617123365402,
-0.012699107639491558,
-0.020419886335730553,
-0.006703277118504047,
-0.010367153212428093,
0.0515650138258934,
0.03552955389022827,
-0.02391345053911209,
0.011642304249107838,
-0.017494024708867073,
0.04681376740336418,
-0.029835041612386703,
0.08419490605592728,
-0.046115051954984665,
-0.058412402868270874,
-0.0007795016281306744,
0.014419687911868095,
-0.005637739785015583,
0.01733681559562683,
0.020157868042588234,
0.016201406717300415,
-0.058063045144081116,
0.014734108932316303,
0.0002172560489270836,
-0.034638695418834686,
-0.06889309734106064,
0.09020383656024933,
0.010000328533351421,
-0.1071825623512268,
0.023983322083950043,
0.04426346346735954,
0.03731127083301544,
0.006192343309521675,
-0.00017003834364004433,
-0.010550565086305141,
-0.01403539627790451,
-0.05278776213526726,
0.04656921699643135,
-0.04401891678571701,
-0.005550400819629431,
-0.03256002441048622,
0.01544155552983284,
-0.018550828099250793,
0.03689204156398773,
0.008912957273423672,
-0.03951221704483032,
0.007070101331919432,
0.022795509546995163,
0.037276335060596466,
0.02104872651398182,
-0.02206186018884182,
-0.023773707449436188,
0.015668638050556183,
-0.06319858133792877,
-0.01302226260304451,
0.02469950169324875,
0.023214736953377724,
-0.016664303839206696,
0.07622957974672318,
-0.07741739600896835,
-0.03208839148283005,
0.03891830891370773,
0.024489888921380043,
-0.0809808298945427,
-0.04642947390675545,
-0.03095298260450363,
-0.06550433486700058,
-0.02232387848198414,
0.0015600949991494417,
-0.04073496535420418,
0.024157999083399773,
-0.04045547917485237,
0.04234200343489647,
0.019808512181043625,
0.007201110012829304,
0.020070528611540794,
-0.011677240021526814,
0.005794950295239687,
0.005126805976033211,
0.023529158905148506,
0.008000263012945652,
0.05991463363170624,
0.020419886335730553,
-0.004816752392798662,
-0.05739926919341087,
-0.05711978301405907,
0.015039796009659767,
-0.01858576387166977,
0.015170804224908352,
-0.0173804834485054,
-0.006257847882807255,
0.00937148742377758,
0.03276963531970978,
-0.007620337884873152,
-0.02331954427063465,
-0.057469140738248825,
0.04209745302796364,
0.011004729196429253,
0.02749435417354107,
-0.01242835633456707,
0.05932072922587395,
0.021310744807124138,
0.02791358157992363,
-0.008751379325985909,
0.00013339685392566025,
-0.013948056846857071,
0.04108431935310364,
0.0014651137171313167,
0.003602738492190838,
-0.02323220483958721,
-0.004829853307455778,
0.0029804473742842674,
0.035075388848781586,
0.010061466135084629,
0.08021224290132523,
0.002167101949453354,
0.034988049417734146,
-0.07074468582868576,
0.020489756017923355,
-0.00346954632550478,
0.07032545655965805,
-0.0016834614798426628,
-0.047722093760967255,
-0.016987457871437073,
-0.0336080938577652,
-0.1012435033917427,
-0.05631626397371292,
-0.04097951203584671,
-0.061451803892850876,
0.06655240803956985,
-0.08181928843259811,
-0.029206201434135437,
-0.07175781577825546,
-0.05065668746829033,
-0.05617652088403702,
-0.001044248347170651,
-0.03435920923948288,
0.0006157407769933343,
-0.02672576904296875,
-0.0476522222161293,
-0.015223207883536816,
-0.0046202391386032104,
-0.048490677028894424,
0.024978987872600555,
-0.033171396702528,
-0.01128421351313591,
0.01599179208278656,
-0.007441292982548475,
-0.06686682999134064,
-0.04325032979249954,
0.06595849990844727,
0.06288416683673859,
0.021083662286400795,
0.05921592190861702,
0.006262214854359627,
0.0664825364947319,
-0.018463488668203354,
0.00972084328532219,
-0.004947761073708534,
-0.01242835633456707,
-0.020821645855903625,
0.05673548951745033,
0.02309246174991131,
-0.009939191862940788,
-0.03870869800448418,
-0.023127397522330284,
-0.04555608332157135,
0.020646966993808746,
-0.016638102009892464,
-0.02740701474249363,
-0.09041345119476318,
0.00852429773658514,
0.08070134371519089,
0.07420331239700317,
0.04251668229699135,
-0.020332546904683113,
0.009432625025510788,
-0.001995698781684041,
0.014157670550048351,
0.022463621571660042,
-0.015039796009659767,
0.01823640801012516,
-0.002290468430146575,
-0.013083399273455143,
0.0008078868268057704,
-0.017921986058354378,
-0.04608011990785599,
-0.07036039233207703,
-0.023476755246520042,
0.02758169360458851,
0.0015229758573696017,
-0.07357446849346161,
-0.009808182716369629,
-0.036612559109926224,
0.04726792871952057,
0.01876044273376465,
-0.0011506928130984306,
0.017039861530065536,
0.03240281343460083,
-0.030900578945875168,
0.006598470266908407,
-0.05002784729003906,
0.01654202863574028,
-0.042376939207315445,
0.002026267582550645,
0.06491043418645859,
0.049503810703754425,
-0.006467461585998535,
0.060962703078985214,
0.0010327850468456745,
0.004995797295123339,
-0.015284345485270023,
-0.0188303142786026,
-0.014664237387478352,
0.08070134371519089,
-0.04206251725554466,
0.07574047893285751,
0.008498095907270908,
0.031616758555173874,
0.024332677945494652,
0.032629892230033875,
-0.04276123270392418,
0.041852906346321106,
-0.0044673955999314785,
-0.04580063372850418,
-0.02382611110806465,
0.04524166136980057,
0.03724139928817749,
0.021939586848020554,
-0.0027686499524861574,
0.001772984047420323,
-0.009886788204312325,
0.04656921699643135,
0.043739430606365204,
0.005371355917304754,
0.017659969627857208,
-0.030568690970540047,
-0.03790517523884773,
0.012480759993195534,
-0.02986997738480568,
-0.041852906346321106,
-0.000011804427231254522,
0.030638562515378
]
|
40,324 | pyglove.core.symbolic.base | sym_clone | Clones current object symbolically. | def sym_clone(self,
deep: bool = False,
memo: Optional[Any] = None,
override: Optional[Dict[str, Any]] = None):
"""Clones current object symbolically."""
assert deep or not memo
new_value = self._sym_clone(deep, memo)
if override:
new_value.sym_rebind(override, raise_on_no_change=False)
if flags.is_tracking_origin():
new_value.sym_setorigin(self, 'deepclone' if deep else 'clone')
return new_value
| (self, deep: bool = False, memo: Optional[Any] = None, override: Optional[Dict[str, Any]] = None) | [
0.030320828780531883,
-0.0928478091955185,
0.09097978472709656,
0.006909966468811035,
-0.10149607807397842,
-0.025650763884186745,
-0.005738126114010811,
0.04642390459775925,
0.020323431119322777,
-0.021897414699196815,
-0.023298434913158417,
0.020340727642178535,
-0.04223814234137535,
0.039989590644836426,
-0.05220094695687294,
-0.02092880941927433,
0.0061575667932629585,
-0.001163192093372345,
-0.05977683141827583,
0.03372824564576149,
0.009936859831213951,
0.05479542911052704,
0.018161363899707794,
-0.030787834897637367,
-0.007338055409491062,
0.034558478742837906,
0.02120555378496647,
0.02674044482409954,
-0.04299918934702873,
0.04365645721554756,
-0.027882017195224762,
-0.006179187446832657,
-0.0037879415322095156,
0.04984861984848976,
0.06866724789142609,
-0.06935910880565643,
-0.040127962827682495,
0.10239549726247787,
-0.027882017195224762,
-0.07582801580429077,
-0.00968606024980545,
-0.014814483933150768,
0.0009253647294826806,
-0.012998347170650959,
0.011735700070858002,
0.00442791311070323,
-0.007260221056640148,
0.0158782210201025,
0.027622569352388382,
-0.09547688066959381,
-0.0010350896045565605,
-0.0018637018511071801,
-0.021482298150658607,
-0.006417015101760626,
0.0033814727794378996,
0.007562910672277212,
0.07133091986179352,
0.009383371099829674,
-0.04860326647758484,
0.01638846844434738,
-0.07402917742729187,
-0.0202715415507555,
-0.01369020901620388,
-0.04303378239274025,
-0.04081982746720314,
-0.04946809262037277,
-0.04227273538708687,
-0.014831780456006527,
0.04926053434610367,
-0.03322664648294449,
-0.04746169596910477,
-0.006520794238895178,
0.007917489856481552,
-0.0059240637347102165,
-0.03836371749639511,
-0.009513095021247864,
0.03787941485643387,
-0.044763434678316116,
0.008436385542154312,
-0.05258147045969963,
-0.08869663625955582,
-0.022156862542033195,
-0.052131760865449905,
0.02520105428993702,
-0.10820712894201279,
0.0545186847448349,
0.03442010655999184,
0.010153067298233509,
0.05493380129337311,
0.0001123599213315174,
0.041684653609991074,
0.026429107412695885,
-0.03670325130224228,
-0.004270082339644432,
-0.0171754602342844,
-0.023575179278850555,
0.002735014772042632,
0.0015123658813536167,
0.0579088032245636,
-0.008765019476413727,
-0.010637369938194752,
-0.04448669031262398,
-0.09270943701267242,
0.0232638418674469,
-0.03319205343723297,
0.018576480448246002,
0.040612269192934036,
-0.015281490050256252,
-0.006672138813883066,
-0.010974652133882046,
-0.056905604898929596,
0.062232937663793564,
-0.038329124450683594,
-0.008263420313596725,
-0.005738126114010811,
0.033676356077194214,
0.0068018632009625435,
-0.021153664216399193,
0.02713826484978199,
0.015912814065814018,
-0.05486461520195007,
0.05527973175048828,
0.0025361047592014074,
-0.036876216530799866,
0.008933661505579948,
0.06697218865156174,
0.05981142446398735,
-0.002058287849649787,
-0.06776782870292664,
0.04517855495214462,
0.0005924063734710217,
-0.027449604123830795,
0.028850622475147247,
0.08371523767709732,
-0.000568083138205111,
0.023350324481725693,
-0.01708032935857773,
0.004951133392751217,
-0.012038389220833778,
-0.0027847422752529383,
0.008812584914267063,
-0.025668060407042503,
-0.0076883104629814625,
0.07935650646686554,
-0.01744355633854866,
-0.02418055757880211,
-0.02905818074941635,
0.02288331836462021,
-0.029179256409406662,
0.042203549295663834,
-0.006373773794621229,
0.03964366018772125,
-0.006819159723818302,
0.0964454859495163,
-0.026844223961234093,
0.08662105351686478,
-0.020582878962159157,
0.016198206692934036,
-0.04898378998041153,
0.0509210042655468,
-0.021136367693543434,
-0.012047037482261658,
0.03051109053194523,
-0.0664878860116005,
-0.014399366453289986,
-0.016864122822880745,
0.05441490560770035,
-0.0928478091955185,
-0.0050505888648331165,
0.029559781774878502,
-0.037533484399318695,
-0.038329124450683594,
0.04099279269576073,
0.00513274734839797,
0.029784636572003365,
0.04068145528435707,
-0.009919563308358192,
-0.007874248549342155,
-0.014243697747588158,
-0.019406713545322418,
-0.02013316936790943,
-0.05804717540740967,
-0.04279163107275963,
0.0033966072369366884,
0.01638846844434738,
0.02002938836812973,
0.010187660343945026,
-0.021482298150658607,
0.0447288416326046,
0.040231745690107346,
-0.04417535290122032,
0.04597419500350952,
0.025806432589888573,
-0.019441306591033936,
0.01781543344259262,
-0.0697050392627716,
0.008289365097880363,
0.006352153141051531,
-0.021136367693543434,
0.09630711376667023,
0.005236526485532522,
-0.01759057678282261,
0.011441659182310104,
-0.024267040193080902,
0.015039338730275631,
-0.003323097014799714,
-0.039609067142009735,
-0.03303638473153114,
0.06372044235467911,
0.00904608890414238,
-0.006075408309698105,
0.00029836525209248066,
0.029801933094859123,
0.04289541020989418,
-0.006386746186763048,
0.02040991373360157,
-0.024509191513061523,
-0.015195007435977459,
-0.0038701000157743692,
0.014840428717434406,
0.03166995942592621,
-0.043725643306970596,
-0.0694974809885025,
0.02039261721074581,
-0.027172857895493507,
0.021897414699196815,
-0.010559535585343838,
-0.011900017037987709,
-0.005495974328368902,
-0.04680442810058594,
-0.038294531404972076,
-0.055106766521930695,
-0.016189558431506157,
-0.025131868198513985,
0.050332922488451004,
0.0030787833966314793,
0.02973274700343609,
0.002737176837399602,
0.006987800821661949,
0.04254947975277901,
-0.03542330488562584,
0.03618435561656952,
0.04770384728908539,
0.018126770853996277,
0.0057165054604411125,
-0.015990648418664932,
-0.027207452803850174,
0.025771839544177055,
0.02997489832341671,
-0.0048257336020469666,
0.02312546968460083,
-0.03265586122870445,
-0.01797110214829445,
-0.0017912725452333689,
0.07160766422748566,
-0.0035457899793982506,
0.007554262410849333,
0.03243100643157959,
0.0035847071558237076,
0.015402565710246563,
0.008224503137171268,
0.02430163323879242,
0.00636080140247941,
-0.01350859459489584,
0.0149269113317132,
-0.013811284676194191,
-0.05233931913971901,
-0.0073640001937747,
-0.026290735229849815,
0.013664264231920242,
0.049156755208969116,
-0.018645666539669037,
-0.006529442500323057,
0.07098498940467834,
-0.007895869202911854,
-0.027622569352388382,
-0.007065635174512863,
0.03957447409629822,
-0.057839617133140564,
-0.04901838302612305,
0.020582878962159157,
0.02763986587524414,
0.03784482181072235,
-0.08689779788255692,
-0.027951203286647797,
0.009781191125512123,
0.024232447147369385,
-0.020185058936476707,
-0.01721005327999592,
-0.015065283514559269,
0.0336417630314827,
0.08489140123128891,
0.023972999304533005,
0.030580276623368263,
0.037810228765010834,
0.028262540698051453,
-0.0483265221118927,
0.03397039696574211,
-0.04085442051291466,
0.05185501649975777,
-0.0032885039690881968,
-0.006347829010337591,
-0.023350324481725693,
0.03333042562007904,
0.02288331836462021,
-0.023575179278850555,
0.02582372911274433,
0.0051543680019676685,
0.042445700615644455,
0.06226753070950508,
0.04158087447285652,
0.03075324185192585,
-0.007549938280135393,
0.05527973175048828,
-0.02040991373360157,
-0.05925793573260307,
0.026723148301243782,
-0.08122453838586807,
0.04559367150068283,
0.025425909087061882,
-0.04161546751856804,
-0.04846489429473877,
-0.06586521118879318,
-0.022416310384869576,
-0.01285997498780489,
-0.012808085419237614,
-0.008613674901425838,
0.012687009759247303,
0.001829108688980341,
0.02066936157643795,
0.017374370247125626,
-0.012245947495102882,
0.029231145977973938,
0.051370713859796524,
0.027812831103801727,
-0.03467955440282822,
-0.03653028607368469,
-0.04756547510623932,
-0.05320414528250694,
-0.06600358337163925,
0.04455587640404701,
0.023350324481725693,
-0.02168985642492771,
-0.09852106869220734,
0.007472103927284479,
0.007338055409491062,
0.053169552236795425,
0.024509191513061523,
-0.015151766128838062,
0.025028089061379433,
-0.03350339084863663,
0.00969470851123333,
0.0072040073573589325,
-0.02402488887310028,
0.03531952574849129,
0.029680857434868813,
-0.043345119804143906,
-0.018887817859649658,
-0.029663560912013054,
-0.10267224162817001,
0.018939707428216934,
-0.004343592561781406,
0.02196660079061985,
0.0035111969336867332,
0.04002418369054794,
-0.006209456827491522,
-0.05507217347621918,
0.018317032605409622,
-0.020115872845053673,
-0.044521283358335495,
-0.044140759855508804,
-0.031202951446175575,
0.0020139655098319054,
-0.05479542911052704,
-0.014719352126121521,
0.017123570665717125,
-0.04078523442149162,
-0.020859623327851295,
0.02469945326447487,
-0.009227702394127846,
0.0824698880314827,
-0.02284872531890869,
-0.0033036384265869856,
0.018040288239717484,
0.03099539317190647,
0.0325520820915699,
0.0702931210398674,
0.019804533571004868,
0.08419954031705856,
-0.01847270131111145,
-0.01848999783396721,
0.0013221040135249496,
0.046562276780605316,
0.05676723271608353,
-0.0015642555663362145,
-0.025875618681311607,
0.03926313668489456,
-0.010896817781031132,
-0.09374722838401794,
-0.007069959305226803,
0.025892915204167366,
0.02234712429344654,
0.009158516302704811,
-0.03704918175935745,
-0.027812831103801727,
0.0050376164726912975,
0.008544488810002804,
0.004077658522874117,
-0.0031479697208851576,
-0.017132218927145004,
-0.0021934169344604015,
-0.026463700458407402,
-0.000025167812054860406,
-0.016976550221443176,
0.02827983722090721,
-0.006386746186763048,
0.08433791249990463,
-0.02120555378496647,
0.03763726353645325,
0.014771241694688797,
0.009461205452680588,
-0.03877883404493332,
-0.048534080386161804,
0.009322833269834518,
-0.0005756503669545054,
0.015722552314400673,
0.0015999296447262168,
0.015160414390265942,
-0.019060783088207245,
-0.010308736003935337,
-0.020755844190716743,
0.02288331836462021,
0.024630267173051834,
0.0377410426735878,
0.030528387054800987,
-0.04434831812977791,
0.012885919772088528,
-0.03474874049425125,
-0.031842924654483795,
0.05009077116847038,
0.010801686905324459,
-0.02750149369239807,
-0.009366074576973915,
-0.039851218461990356,
-0.03850208967924118,
0.04504018276929855,
0.0669030025601387,
0.022796835750341415,
-0.008306661620736122,
0.00981578417122364,
0.019337527453899384,
0.00697915256023407,
0.031306732445955276,
-0.024353522807359695,
-0.05787421017885208,
-0.015610123984515667,
0.009910915046930313,
-0.014641517773270607,
-0.00697482842952013,
0.014183159917593002,
0.0002714745351113379,
0.011104376055300236,
0.02364436537027359,
0.012064334005117416,
-0.035700052976608276,
-0.038709647953510284,
0.02120555378496647,
0.01628468930721283,
0.031981296837329865,
-0.018939707428216934,
0.03506007790565491,
-0.037810228765010834,
0.013032940216362476,
-0.010896817781031132,
0.021136367693543434,
-0.020358024165034294,
-0.026463700458407402,
-0.03926313668489456,
-0.06794079393148422,
-0.02935222163796425,
-0.08011755347251892,
-0.06289020925760269,
0.004343592561781406,
-0.026048583909869194,
0.023609772324562073,
-0.015653366222977638,
0.03452388569712639,
0.03867505490779877,
-0.012133520096540451,
0.04936431348323822,
-0.0011458955705165863,
0.0581163614988327,
-0.06998178362846375,
0.01052494253963232,
0.007882896810770035,
0.023177359253168106,
-0.022571980953216553,
0.01602524146437645,
0.02482052892446518,
-0.07243789732456207,
-0.058600664138793945,
0.0006951045361347497,
0.022520091384649277,
0.038052380084991455,
-0.0025252944324165583,
0.01629333756864071,
-0.028729546815156937,
0.0010237387614324689,
-0.04092360660433769,
0.010006045922636986,
0.029628967866301537,
-0.04095819965004921,
-0.011796237900853157,
0.007424538489431143,
0.020461803302168846,
-0.025425909087061882,
-0.027328528463840485,
-0.025529688224196434,
-0.005435436498373747,
-0.10239549726247787,
0.05054048076272011,
-0.031825628131628036,
-0.04030093178153038,
-0.09499257802963257,
0.02687881700694561,
-0.02751879021525383,
-0.030857020989060402,
0.036634065210819244,
0.034454699605703354,
-0.027103671804070473,
0.013871822506189346,
0.018126770853996277,
-0.014546386897563934,
0.050955597311258316,
0.036218948662281036,
-0.0017361398786306381,
0.02776094153523445,
0.028591174632310867,
-0.014529090374708176,
-0.015592827461659908,
-0.03102998621761799,
-0.01721005327999592,
-0.03563086688518524,
-0.003619300201535225,
-0.0166738610714674,
0.06396259367465973,
0.028764139860868454,
0.011164913885295391,
0.017746247351169586,
-0.041650060564279556,
0.032085075974464417,
0.013586428947746754,
-0.009469853714108467,
-0.02418055757880211,
-0.00871312990784645,
0.014632869511842728,
0.0237654410302639,
0.002786904340609908,
0.008241799660027027,
0.0010507645783945918,
0.05455327779054642,
0.017391666769981384,
0.04836111515760422,
-0.06551928073167801,
-0.006793214473873377,
-0.01707168109714985,
-0.041027385741472244,
0.026463700458407402,
0.03943610191345215,
0.03992040455341339,
0.02298709750175476,
0.0346449613571167,
0.07880301773548126,
0.040612269192934036,
0.06396259367465973,
0.05185501649975777,
0.04874163866043091,
0.03601139038801193,
-0.015540937893092632,
-0.005175988655537367,
-0.008765019476413727,
-0.015238248743116856,
-0.02558157779276371,
0.006468904670327902,
-0.035734646022319794,
0.01616361364722252,
-0.028089575469493866,
0.026446403935551643,
0.03680703043937683,
-0.06468904763460159,
-0.006507821846753359,
0.06046869233250618,
-0.04057767614722252,
-0.0336417630314827,
-0.07541289925575256,
0.00574677437543869,
-0.07402917742729187,
0.02079043723642826,
0.05379222705960274,
0.010109825991094112,
-0.03488711267709732,
0.004025768954306841,
-0.0052062575705349445,
-0.013577780686318874,
-0.023056283593177795,
-0.002233415376394987,
-0.021914711222052574,
-0.0074634556658566,
0.07091579586267471,
0.015964703634381294,
0.004739250987768173,
-0.01574849709868431,
0.022537387907505035,
-0.049052976071834564,
0.0010253603104501963,
0.019804533571004868,
-0.022329827770590782,
-0.007212655618786812,
-0.04251488670706749,
0.0014291263651102781,
-0.07306057214736938,
-0.01259187888354063,
-0.03992040455341339,
-0.024353522807359695,
-0.0651041641831398,
0.012202706187963486,
-0.02182822860777378,
0.09471583366394043,
-0.03691080957651138,
-0.019441306591033936,
-0.04182302579283714,
0.0010983300162479281,
-0.03410876914858818,
0.04331052675843239,
0.03294990211725235,
-0.005003022961318493,
0.0431375615298748,
0.005508946720510721,
-0.008704481646418571,
0.10121933370828629,
-0.005227878224104643,
-0.010291439481079578,
-0.0006361882551573217,
0.026653962209820747,
-0.11152806878089905,
-0.03461036831140518,
0.04829192906618118,
-0.008925013244152069,
0.001137247309088707,
-0.021897414699196815,
-0.038848020136356354,
0.007645069155842066,
-0.03296719864010811,
0.02634262479841709,
0.08011755347251892,
0.035596273839473724,
0.008310985751450062,
-0.016362523660063744,
0.08011755347251892,
-0.008622323162853718,
-0.027847424149513245,
-0.005954332649707794,
-0.026844223961234093,
-0.014529090374708176,
0.015532289631664753,
0.045939601957798004,
-0.0023350324481725693,
-0.044659655541181564,
0.0348525196313858,
-0.019078079611063004,
-0.037810228765010834,
-0.03127213940024376,
-0.05981142446398735,
0.031324028968811035,
-0.027882017195224762,
0.003005273174494505,
-0.031237544491887093,
0.04898378998041153,
0.0008318552863784134,
0.03576923906803131,
-0.0008967173052951694,
-0.01137247309088707,
0.029801933094859123,
-0.001777219120413065,
-0.010153067298233509,
0.07063905149698257,
0.04441750422120094,
0.0281587615609169,
-0.05064425989985466,
-0.00871312990784645,
-0.03587301820516586,
-0.007502372842282057,
0.042687851935625076,
0.03265586122870445,
-0.02158607728779316,
0.017642466351389885,
-0.05880822241306305,
-0.04874163866043091,
0.054068971425294876,
0.014805835671722889,
-0.006871049292385578,
0.022969800978899002,
0.03784482181072235,
-0.010179012082517147,
0.05060966685414314,
0.0014453418552875519,
-0.013404815457761288,
0.0006097028963267803,
0.03298449516296387,
0.04417535290122032,
0.02611777000129223,
-0.0026658286806195974,
0.01272160280495882,
0.02907547727227211,
0.01809217780828476,
-0.023696254938840866,
0.019199155271053314,
-0.048015184700489044,
0.0026636666152626276,
0.027605272829532623,
0.03670325130224228,
-0.0431375615298748,
0.036218948662281036,
0.024076778441667557,
0.01504798699170351,
0.04016255587339401,
-0.002136122202500701,
0.027034485712647438,
0.04611256718635559,
0.009141219779849052,
-0.019614271819591522,
0.036149762570858,
0.025633467361330986,
-0.01577444188296795,
-0.02016776241362095,
-0.011476252228021622,
0.05386141315102577,
0.03141051158308983,
-0.026463700458407402,
0.04939890652894974,
-0.05306577309966087,
-0.002594480523839593,
0.021759042516350746,
0.05787421017885208,
-0.01899159699678421,
-0.010611425153911114,
-0.028625767678022385,
0.0005451111355796456,
0.033122867345809937,
-0.03281152993440628,
0.0006524037453345954,
-0.005712181329727173,
0.045801229774951935,
-0.0019988310523331165,
-0.025010792538523674,
0.012107575312256813,
-0.06641869992017746,
0.017114922404289246,
0.012375671416521072,
-0.014442607760429382,
0.009227702394127846,
-0.03580383211374283,
-0.010196308605372906,
0.061056774109601974,
-0.03390121087431908,
0.007182386703789234,
0.039470694959163666,
0.0144772008061409
]
|
40,325 | pyglove.core.symbolic.base | sym_contains | Returns True if the object contains sub-nodes of given value or type. | def sym_contains(
self,
value: Any = None,
type: Union[None, Type[Any], Tuple[Type[Any]]] = None # pylint: disable=redefined-builtin
) -> bool:
"""Returns True if the object contains sub-nodes of given value or type."""
return contains(self, value, type)
| (self, value: Optional[Any] = None, type: Union[NoneType, Type[Any], Tuple[Type[Any]]] = None) -> bool | [
0.060570064932107925,
-0.079656682908535,
0.02354133129119873,
0.017766045406460762,
0.005401124246418476,
0.029580729082226753,
-0.021762965247035027,
-0.017149779945611954,
-0.03285573795437813,
-0.036306824535131454,
0.007254322059452534,
-0.015529883094131947,
0.0628238394856453,
-0.057576779276132584,
-0.04496975243091583,
-0.027414998039603233,
-0.02132277563214302,
0.01507208589464426,
0.001275448827072978,
-0.017017723992466927,
-0.04190603271126747,
0.040004417300224304,
0.0483856238424778,
-0.01922747492790222,
0.02491472102701664,
-0.02278420515358448,
0.01919225975871086,
-0.010863875038921833,
-0.03951140493154526,
0.022625736892223358,
-0.02715088427066803,
0.009032687172293663,
-0.017405090853571892,
-0.06673271954059601,
0.08395292609930038,
-0.011867507360875607,
-0.015635529533028603,
0.08317819237709045,
0.04243426024913788,
0.008654124103486538,
-0.020160676911473274,
-0.00041680436697788537,
-0.002262573689222336,
-0.01616375520825386,
0.028489060699939728,
0.020389573648571968,
0.029897665604948997,
0.05852758511900902,
-0.0037196006160229445,
0.00623308215290308,
0.029492691159248352,
-0.05482999607920647,
-0.03245076537132263,
-0.018135804682970047,
-0.043596360832452774,
0.004327062051743269,
-0.017044134438037872,
0.05588645115494728,
0.06933864206075668,
0.07472655922174454,
0.044371094554662704,
0.0228546354919672,
-0.00008934469951782376,
-0.006690879352390766,
-0.0007840874022804201,
-0.010097946040332317,
-0.01393639761954546,
-0.015477060340344906,
-0.046695295721292496,
0.012642240151762962,
-0.04324420914053917,
-0.03609553351998329,
-0.0022581717930734158,
0.04032135382294655,
0.004012326709926128,
-0.08409378677606583,
0.041483450680971146,
0.009129528887569904,
0.0041421824134886265,
-0.02861231379210949,
0.007936615496873856,
-0.0483856238424778,
-0.016947293654084206,
-0.010899090208113194,
-0.05004073306918144,
0.09684167802333832,
0.011823488399386406,
0.021041054278612137,
0.048913851380348206,
0.041518665850162506,
-0.01589083857834339,
0.008843406103551388,
0.010353255085647106,
0.017581166699528694,
0.0058765290305018425,
0.025073189288377762,
0.08155829459428787,
-0.10712449997663498,
-0.006105427630245686,
-0.031271059066057205,
0.07275450974702835,
-0.005053374916315079,
0.050252024084329605,
-0.008429627865552902,
0.04613185301423073,
0.03870145604014397,
-0.015309788286685944,
-0.007901400327682495,
0.011814684607088566,
0.02706284634768963,
-0.04056785628199577,
0.021868610754609108,
0.00885661132633686,
-0.000637724413536489,
-0.0011153300292789936,
-0.03542644530534744,
-0.03088369034230709,
0.0022999898064881563,
-0.04923078790307045,
-0.03287334740161896,
-0.0002682404301594943,
0.05923188850283623,
0.015477060340344906,
0.02935183048248291,
0.05430176854133606,
0.020371966063976288,
0.008337187580764294,
0.004542754963040352,
-0.026904378086328506,
-0.016498299315571785,
0.034211523830890656,
0.0018278866773471236,
-0.018716854974627495,
0.07536043226718903,
0.0037856290582567453,
0.07444483786821365,
-0.016806432977318764,
-0.012809512205421925,
-0.03091890551149845,
0.01590844616293907,
0.0035061088856309652,
-0.01618136279284954,
0.011849899776279926,
-0.05493564158678055,
-0.04901949688792229,
0.027467820793390274,
-0.05574559047818184,
-0.011541767045855522,
-0.03444042056798935,
-0.011154400184750557,
-0.057013336569070816,
-0.04542754963040352,
0.01320568285882473,
0.05947839468717575,
-0.08719272166490555,
-0.013082429766654968,
0.04394851252436638,
-0.007571258116513491,
-0.004595577716827393,
-0.0005904040881432593,
0.0002985034661833197,
0.0702190175652504,
-0.03426434472203255,
-0.007210303097963333,
-0.06507760286331177,
0.028999680653214455,
-0.01401563175022602,
0.008103887550532818,
-0.016929686069488525,
-0.011770665645599365,
-0.012897550128400326,
-0.04423023387789726,
-0.034810181707143784,
0.07106418162584305,
-0.0074127898551523685,
-0.018716854974627495,
-0.005524377338588238,
0.005181029438972473,
-0.023875875398516655,
-0.02641136571764946,
-0.015961268916726112,
-0.01208760216832161,
-0.050322454422712326,
-0.009155940264463425,
0.033313535153865814,
0.010811052285134792,
0.013513815589249134,
-0.0394761897623539,
0.06437329947948456,
0.006668869871646166,
-0.07011337578296661,
-0.011770665645599365,
0.016137344762682915,
0.026728302240371704,
0.009701775386929512,
-0.026957200840115547,
0.0025707061868160963,
-0.008711349219083786,
-0.11402667313814163,
0.03803236782550812,
0.022555306553840637,
-0.08775616437196732,
0.011682627722620964,
0.016876863315701485,
0.007205901201814413,
-0.001063607749529183,
0.05085068196058273,
0.019509196281433105,
0.03525036945939064,
-0.014896010048687458,
-0.067542664706707,
-0.05486521124839783,
0.0367998369038105,
0.020301535725593567,
0.034880612045526505,
-0.005233852192759514,
-0.10670191794633865,
-0.008654124103486538,
-0.03074282966554165,
-0.0026543422136455774,
0.02861231379210949,
0.04405415803194046,
0.029668767005205154,
-0.010326843708753586,
0.018928145989775658,
-0.018611209467053413,
0.013637068681418896,
0.005630022846162319,
0.00754924863576889,
-0.04458238556981087,
0.048068687319755554,
0.042997702956199646,
0.018681639805436134,
-0.043631576001644135,
-0.04708266258239746,
-0.011867507360875607,
0.036447685211896896,
0.07138112187385559,
0.04243426024913788,
0.015274573117494583,
0.007954223081469536,
-0.023787837475538254,
-0.0408143624663353,
-0.04863213002681732,
-0.02933422289788723,
-0.006409157998859882,
0.032538801431655884,
0.04549797996878624,
0.01066138781607151,
-0.013320132158696651,
0.00953450333327055,
-0.07310666143894196,
0.006880160886794329,
-0.05113240331411362,
0.03905360773205757,
-0.03002091869711876,
-0.04482889175415039,
-0.050146378576755524,
0.03222186490893364,
-0.016366243362426758,
-0.05641467869281769,
0.017132172361016273,
0.09198198467493057,
0.06546497344970703,
-0.04049742966890335,
-0.004472324624657631,
0.0013381758471950889,
0.04908992722630501,
-0.053174883127212524,
-0.03961705043911934,
-0.002905250294134021,
0.01064378023147583,
0.031271059066057205,
0.042997702956199646,
0.01972048729658127,
0.037116773426532745,
0.012976784259080887,
0.01218444388359785,
0.005176627542823553,
-0.008359197527170181,
-0.027749542146921158,
0.0077781472355127335,
0.03551448509097099,
-0.06356335431337357,
-0.0005477607483044267,
-0.029792020097374916,
-0.00804666243493557,
0.0351095087826252,
-0.03285573795437813,
-0.04176517203450203,
0.016137344762682915,
-0.009235174395143986,
0.01901618391275406,
-0.01654231920838356,
-0.008530871011316776,
0.0631759837269783,
0.00622868025675416,
-0.005304282531142235,
0.006189063657075167,
0.04257512092590332,
0.028929250314831734,
0.024738647043704987,
0.02119952253997326,
-0.04183560237288475,
0.039405759423971176,
-0.0008391111041419208,
0.05796414613723755,
0.04930121824145317,
0.010485311970114708,
0.02352372370660305,
-0.017132172361016273,
0.02044239640235901,
-0.03239794075489044,
-0.015389022417366505,
0.008381206542253494,
-0.0175547543913126,
-0.020671295002102852,
-0.08965778350830078,
-0.020671295002102852,
0.05958404019474983,
-0.0175547543913126,
-0.040074847638607025,
-0.06222517788410187,
-0.00001884561061160639,
-0.019526803866028786,
-0.03181689232587814,
0.026147251948714256,
-0.008381206542253494,
-0.005387918557971716,
-0.013839555904269218,
0.051026757806539536,
-0.05718941241502762,
0.0440189428627491,
0.004991748370230198,
0.028929250314831734,
-0.015573902055621147,
0.018910538405179977,
0.05197756737470627,
-0.0057136588729918,
0.008684937842190266,
-0.0036095534451305866,
0.0468713715672493,
-0.003966106567531824,
-0.01587323099374771,
0.009155940264463425,
-0.0263761505484581,
-0.01571476273238659,
0.007852979935705662,
0.0487377755343914,
0.08810831606388092,
-0.02359415404498577,
0.05500607192516327,
-0.0011830091243609786,
-0.04046221449971199,
0.0023704201448708773,
-0.015195338986814022,
0.02137559838593006,
0.037046343088150024,
-0.0226785596460104,
-0.0038186432793736458,
0.15311549603939056,
0.008720153011381626,
-0.004467922728508711,
-0.015389022417366505,
-0.037081558257341385,
0.00004615111174643971,
-0.04493453726172447,
0.027010023593902588,
0.013496208004653454,
-0.042293399572372437,
-0.011471336707472801,
-0.008878621272742748,
-0.03884231671690941,
-0.024051951244473457,
0.04169474169611931,
0.0005920547991991043,
-0.008764171972870827,
-0.020882586017251015,
0.002909652190282941,
-0.01320568285882473,
0.053984832018613815,
0.05306923761963844,
0.04120172932744026,
-0.03213382884860039,
0.01847034879028797,
0.012923961505293846,
0.047293953597545624,
0.012642240151762962,
-0.014288549311459064,
0.0032860140781849623,
0.008702545426785946,
-0.0013095635222271085,
-0.010238805785775185,
0.017757242545485497,
-0.04866734519600868,
-0.037926722317934036,
-0.001504347426816821,
-0.03245076537132263,
-0.02209750935435295,
0.03019699454307556,
0.04162431135773659,
-0.02929900772869587,
-0.009455269202589989,
0.0048156725242733955,
0.0005598659627139568,
-0.006734898313879967,
-0.013663480058312416,
-0.011576982215046883,
-0.0010014309082180262,
0.00752723915502429,
-0.02200947143137455,
-0.06328163295984268,
-0.021622104570269585,
-0.0025310893543064594,
-0.023048318922519684,
-0.06384507566690445,
0.034933432936668396,
0.052576225250959396,
0.026693087071180344,
-0.03968748077750206,
0.019473981112241745,
-0.03299659863114357,
0.02563663199543953,
0.04919557273387909,
0.026728302240371704,
-0.009076706133782864,
0.013663480058312416,
-0.053984832018613815,
0.012052386999130249,
0.02190382592380047,
-0.03884231671690941,
-0.04757567495107651,
0.05856280028820038,
-0.002762188669294119,
0.012202051468193531,
-0.020882586017251015,
-0.03606031835079193,
-0.1283240169286728,
-0.007135470863431692,
0.025372518226504326,
-0.028119301423430443,
0.044406309723854065,
-0.07486741989850998,
-0.0035985487047582865,
0.009279193356633186,
0.004679213743656874,
-0.012941569089889526,
0.0542665533721447,
0.06627491861581802,
0.005220646504312754,
-0.04912514239549637,
-0.02126995287835598,
0.01248377189040184,
0.005616817157715559,
-0.06240125373005867,
0.0033146264031529427,
0.00021101580932736397,
0.01058215368539095,
0.01655992679297924,
-0.004982944577932358,
-0.025161227211356163,
0.0018983168993145227,
-0.03919446840882301,
-0.05218885838985443,
0.013469796627759933,
-0.002511280821636319,
-0.003083527088165283,
0.009816224686801434,
0.06373942643404007,
0.0037966337986290455,
-0.007998242042958736,
-0.0347045361995697,
-0.01975570246577263,
0.002125014550983906,
0.08606583625078201,
0.013144056312739849,
-0.048209547996520996,
-0.000855067977681756,
-0.08000883460044861,
-0.056168172508478165,
-0.0028458246961236,
-0.00567404180765152,
-0.003849456552416086,
-0.044300664216279984,
0.010485311970114708,
-0.03743370994925499,
0.0351095087826252,
0.0057268645614385605,
0.014138884842395782,
-0.008764171972870827,
0.015230554156005383,
0.014535055495798588,
-0.023083534091711044,
0.04380765184760094,
0.04616706818342209,
0.004382085986435413,
-0.022537698969244957,
-0.012210855260491371,
-0.01901618391275406,
0.020917801186442375,
0.010362058877944946,
0.0715571939945221,
0.020882586017251015,
0.05669640004634857,
0.019597234204411507,
-0.013416973873972893,
0.016603944823145866,
-0.008799387142062187,
-0.027538251131772995,
0.02489711344242096,
-0.0017233416438102722,
0.004331463947892189,
0.07507871091365814,
-0.03241555020213127,
0.04849126935005188,
0.05116761848330498,
0.037081558257341385,
-0.014068454504013062,
-0.017017723992466927,
-0.06553540378808975,
-0.00023275015701074153,
-0.03771543130278587,
0.002060086466372013,
-0.015556294471025467,
0.0250379741191864,
-0.014834383502602577,
-0.048949066549539566,
-0.015529883094131947,
-0.007056236732751131,
-0.02051282674074173,
0.05447784438729286,
-0.006818534340709448,
-0.052400149405002594,
-0.004542754963040352,
0.022537698969244957,
0.03294377774000168,
0.044476740062236786,
0.005066580139100552,
0.03400023281574249,
0.01502806693315506,
0.009974692948162556,
-0.009481680579483509,
0.018012551590800285,
0.005220646504312754,
-0.013496208004653454,
0.07106418162584305,
0.044335879385471344,
-0.04310334846377373,
0.019491588696837425,
0.04627271369099617,
0.05218885838985443,
-0.012563006021082401,
0.058386728167533875,
0.018646424636244774,
0.05211842805147171,
-0.014746345579624176,
0.0007010016706772149,
0.0007857381133362651,
-0.0070122177712619305,
0.05754156410694122,
0.02058325707912445,
0.01566193997859955,
0.03986355662345886,
-0.013716302812099457,
-0.018188627436757088,
-0.038314089179039,
-0.03384176269173622,
-0.06726094335317612,
0.07585344463586807,
0.04532190412282944,
0.011136792600154877,
-0.033454395830631256,
0.004560362547636032,
-0.03426434472203255,
0.01066138781607151,
0.047470029443502426,
-0.04634314402937889,
0.026851555332541466,
-0.07507871091365814,
-0.04694180190563202,
-0.09705296903848648,
0.0038582603447139263,
0.007025423459708691,
0.03873667120933533,
0.05433698371052742,
-0.009332016110420227,
0.004331463947892189,
0.015300984494388103,
-0.07148676365613937,
0.021428421139717102,
0.004333665128797293,
-0.009393642656505108,
0.00885661132633686,
-0.014508644118905067,
0.02209750935435295,
-0.02202707901597023,
-0.009719382971525192,
-0.0038098394870758057,
-0.0011241338215768337,
-0.002006163354963064,
0.0012567408848553896,
-0.007619678974151611,
0.02729174494743347,
-0.020882586017251015,
-0.00024444269365631044,
0.003492903197184205,
0.042152538895606995,
0.018223842605948448,
-0.0026697488501667976,
-0.059091027826070786,
0.053210098296403885,
0.03019699454307556,
0.026147251948714256,
-0.008429627865552902,
-0.02121713012456894,
-0.004749644082039595,
-0.003697591135278344,
0.05137890949845314,
-0.04504018276929855,
-0.061309583485126495,
-0.017325855791568756,
-0.0005975571693852544,
0.027749542146921158,
-0.005964566953480244,
-0.029228579252958298,
0.002762188669294119,
0.04542754963040352,
-0.026235289871692657,
0.01214922871440649,
-0.05440741404891014,
-0.004718830808997154,
0.013469796627759933,
-0.00827115960419178,
0.0032243875321000814,
-0.029210971668362617,
-0.07388139516115189,
-0.011251241900026798,
-0.02642897330224514,
0.0006289206794463098,
0.062049102038145065,
-0.0809948593378067,
-0.04750524461269379,
-0.07113461196422577,
0.06159130483865738,
-0.02563663199543953,
0.06409157812595367,
0.016339831054210663,
-0.03070761449635029,
-0.0314999558031559,
0.03951140493154526,
0.010423685424029827,
0.03091890551149845,
-0.00020757682796102017,
-0.0005535382078960538,
0.0703950971364975,
0.06236603856086731,
0.014077258296310902,
0.0037416100967675447,
-0.023646976798772812,
0.007764941547065973,
0.0036051515489816666,
-0.02119952253997326,
-0.035690560936927795,
0.016718395054340363,
0.01912182942032814,
0.0008490153704769909,
0.05349181964993477,
-0.027010023593902588,
0.03525036945939064,
0.010379666462540627,
0.0016727198380976915,
0.02854188345372677,
-0.03764500096440315,
-0.034898217767477036,
-0.020213499665260315,
-0.023858267813920975,
-0.07296580076217651,
0.011101577430963516,
-0.03248598054051399,
-0.04919557273387909,
-0.01683284342288971,
-0.015353807248175144,
0.008944649249315262,
0.034792572259902954,
0.0010773636167868972,
0.03070761449635029,
0.005396722350269556,
0.0007318149437196553,
-0.003994719125330448,
-0.12276002764701843,
-0.07275450974702835,
-0.04694180190563202,
0.01589083857834339,
0.054055262356996536,
-0.017237817868590355,
0.038631025701761246,
0.023735014721751213,
0.01683284342288971,
0.03574338182806969,
0.022344015538692474,
-0.002691758330911398,
0.012871138751506805,
0.014772756956517696,
0.014103669673204422,
0.03385937213897705,
0.025161227211356163,
-0.00827996339648962,
0.0034708937164396048,
0.06645099818706512,
0.07838893681764603,
-0.042892057448625565,
-0.016322223469614983,
-0.02060086466372013,
-0.08014969527721405,
-0.03820844367146492,
-0.019579626619815826,
0.0014812374720349908,
-0.003413669066503644,
-0.003255200805142522,
-0.0015296583296731114,
0.021692534908652306,
-0.005379114765673876,
0.02489711344242096,
-0.002561902394518256,
-0.020706510171294212,
0.04380765184760094,
0.05725984275341034,
-0.03222186490893364,
-0.011136792600154877,
-0.0002836470666807145,
0.007720922585576773,
0.051097188144922256,
-0.008552880957722664,
0.08310776203870773,
-0.011207222938537598,
0.01319687906652689,
-0.06546497344970703,
0.00812589656561613,
-0.10388470441102982,
0.02128756046295166,
0.06222517788410187,
0.035690560936927795,
0.000040339233237318695,
-0.059865761548280716,
-0.0139011824503541,
-0.01834709569811821,
-0.0241928119212389,
0.044300664216279984,
0.031271059066057205,
0.0023704201448708773,
-0.006629252806305885,
0.0408143624663353,
0.03392980247735977,
0.0037063949275761843,
0.05676683038473129,
0.07585344463586807,
-0.05042809993028641,
-0.022255977615714073,
-0.02861231379210949,
-0.03458128124475479,
-0.06437329947948456,
0.01847034879028797,
-0.012334108352661133,
0.010097946040332317,
-0.018100589513778687,
-0.028295377269387245,
-0.04852648451924324,
0.055499084293842316
]
|
40,326 | pyglove.core.symbolic.base | sym_descendants | Returns all descendants of specific classes.
Args:
where: Optional callable object as the filter of descendants to return.
option: Descendant query options, indicating whether all matched,
immediate matched or only the matched leaf nodes will be returned.
include_self: If True, `self` will be included in the query, otherwise
only strict descendants are included.
Returns:
A list of objects that match the descendant_cls.
| def sym_descendants(
self,
where: Optional[Callable[[Any], bool]] = None,
option: DescendantQueryOption = DescendantQueryOption.ALL,
include_self: bool = False) -> List[Any]:
"""Returns all descendants of specific classes.
Args:
where: Optional callable object as the filter of descendants to return.
option: Descendant query options, indicating whether all matched,
immediate matched or only the matched leaf nodes will be returned.
include_self: If True, `self` will be included in the query, otherwise
only strict descendants are included.
Returns:
A list of objects that match the descendant_cls.
"""
descendants = []
where = where or (lambda x: True)
def visit(k, v, p):
del k, p
if not where(v):
return TraverseAction.ENTER
if not include_self and self is v:
return TraverseAction.ENTER
if option == DescendantQueryOption.IMMEDIATE:
descendants.append(v)
return TraverseAction.CONTINUE
# Dealing with option = ALL or LEAF.
leaf_descendants = []
if isinstance(v, Symbolic):
leaf_descendants = v.sym_descendants(where, option)
if option is DescendantQueryOption.ALL or not leaf_descendants:
descendants.append(v)
descendants.extend(leaf_descendants)
return TraverseAction.CONTINUE
traverse(self, visit)
return descendants
| (self, where: Optional[Callable[[Any], bool]] = None, option: pyglove.core.symbolic.base.DescendantQueryOption = <DescendantQueryOption.ALL: 0>, include_self: bool = False) -> List[Any] | [
0.029143471270799637,
-0.030556268990039825,
0.033073946833610535,
-0.03577275201678276,
-0.05879409983754158,
-0.021427424624562263,
-0.03609878197312355,
-0.002692012581974268,
-0.00333048845641315,
0.011057855561375618,
0.006737955845892429,
0.0016244903672486544,
0.04709324240684509,
-0.022188162431120872,
-0.039993029087781906,
0.026843147352337837,
-0.008644326590001583,
0.006787766236811876,
-0.008893377147614956,
0.029886094853281975,
0.002918422454968095,
0.042057886719703674,
0.020449334755539894,
-0.012534047476947308,
-0.0139287319034338,
-0.018837297335267067,
-0.017967883497476578,
0.03653348609805107,
-0.06553205847740173,
-0.003527464810758829,
-0.006810407154262066,
-0.0026127691380679607,
-0.03792817145586014,
-0.045137058943510056,
-0.016962623223662376,
-0.023999439552426338,
0.03792817145586014,
0.09534569829702377,
0.034269388765096664,
0.004195373971015215,
0.013747603632509708,
-0.01481625810265541,
0.029650628566741943,
-0.018067503347992897,
0.015423036180436611,
-0.006932668387889862,
0.061909500509500504,
0.013629870489239693,
-0.024325469508767128,
-0.012932528741657734,
0.03807307407259941,
0.02140931226313114,
0.010559753514826298,
-0.010777107439935207,
0.04477480426430702,
-0.012271411716938019,
-0.02423490583896637,
0.03522936627268791,
0.05455571040511131,
0.02017764188349247,
0.011773310601711273,
-0.02336549200117588,
0.007620954420417547,
0.02809293009340763,
0.015241908840835094,
-0.014770976267755032,
-0.04680343717336655,
0.00638928497210145,
-0.047129467129707336,
0.01961614564061165,
-0.04213033989071846,
0.004768190439790487,
0.013222333043813705,
0.04430387169122696,
0.008354522287845612,
-0.06321361660957336,
0.035573508590459824,
-0.01876484602689743,
-0.026571456342935562,
0.006701730657368898,
-0.013629870489239693,
0.003975756466388702,
-0.061909500509500504,
-0.011411054991185665,
-0.01896408572793007,
0.019000312313437462,
0.0018112785182893276,
-0.018013164401054382,
-0.005678358022123575,
0.005642132367938757,
-0.08846284449100494,
-0.005134974606335163,
0.020268205553293228,
0.056982822716236115,
-0.027621997520327568,
0.017089413478970528,
-0.026698244735598564,
-0.018520323559641838,
-0.0473468191921711,
0.00018692959565669298,
0.01486153993755579,
-0.007118324749171734,
0.0451732873916626,
0.05093315243721008,
0.016274336725473404,
-0.023637184873223305,
-0.08484028279781342,
-0.018293913453817368,
-0.004822528921067715,
0.01592113822698593,
-0.07288584858179092,
0.08049321919679642,
0.018583716824650764,
-0.017035074532032013,
-0.02117384597659111,
-0.028219718486070633,
-0.03781949356198311,
-0.0076571800746023655,
0.02425302006304264,
-0.059844642877578735,
-0.008481311611831188,
0.008820926770567894,
0.026571456342935562,
-0.028020478785037994,
-0.03327318653464317,
0.011592182330787182,
-0.0038285900373011827,
-0.0013652511406689882,
-0.05299801006913185,
0.007928871549665928,
0.06944441795349121,
-0.0022969276178628206,
-0.041405826807022095,
0.033726006746292114,
0.005986275617033243,
0.030139673501253128,
-0.030737396329641342,
-0.019688596948981285,
-0.01952558197081089,
0.001864484860561788,
0.014091746881604195,
-0.02128252200782299,
0.024325469508767128,
0.05118672922253609,
-0.0881730392575264,
-0.016156604513525963,
-0.0021825905423611403,
-0.029578177258372307,
-0.042057886719703674,
-0.010614092461764812,
-0.04386916384100914,
-0.005017241463065147,
0.060279347002506256,
0.041514504700899124,
-0.048759616911411285,
0.04970148205757141,
-0.06035180017352104,
0.024307357147336006,
-0.03589953854680061,
-0.0062398542650043964,
-0.06857500225305557,
0.014091746881604195,
-0.015269077382981777,
-0.03522936627268791,
-0.021119507029652596,
0.037457238882780075,
-0.022858334705233574,
0.005995331797748804,
0.025647703558206558,
0.0568016953766346,
0.03519314154982567,
0.00638928497210145,
0.025720154866576195,
0.007507749367505312,
-0.031969066709280014,
0.00523912301287055,
0.01863805577158928,
-0.04452122747898102,
0.03897871449589729,
0.014888709411025047,
0.05998954549431801,
-0.054591935127973557,
-0.01157406996935606,
-0.018475040793418884,
0.0508606992661953,
-0.01711658202111721,
-0.002424849197268486,
0.017587514594197273,
0.015522656962275505,
-0.003665574826300144,
-0.034269388765096664,
0.011483505368232727,
0.02894422970712185,
0.013041205704212189,
-0.036044441163539886,
-0.047527946531772614,
-0.051621437072753906,
0.03522936627268791,
-0.05875787511467934,
0.0010233724024146795,
-0.010722768492996693,
0.02184401825070381,
0.009491099044680595,
-0.03660593926906586,
0.025412237271666527,
0.02193458192050457,
0.019145213067531586,
-0.029143471270799637,
-0.0046232882887125015,
-0.04126092419028282,
-0.020376883447170258,
0.02994043380022049,
-0.016536973416805267,
-0.04354313388466835,
-0.02742275595664978,
0.03872513398528099,
-0.029342710971832275,
0.01425476185977459,
-0.04006548225879669,
-0.027948027476668358,
-0.0838259682059288,
0.024959417060017586,
-0.03984812647104263,
0.03423316404223442,
-0.00959977600723505,
-0.02249607816338539,
0.00981712993234396,
-0.016428295522928238,
0.02831028215587139,
-0.06705352663993835,
-0.01602075807750225,
-0.011012573726475239,
0.03256678581237793,
-0.057417526841163635,
0.033418089151382446,
0.016709044575691223,
0.001407137024216354,
0.05966351553797722,
0.07440732419490814,
0.007385488133877516,
-0.04455745220184326,
0.0017229786608368158,
-0.02863631397485733,
0.00408443296328187,
0.0017614683602005243,
0.041840534657239914,
0.013086487539112568,
-0.0069009712897241116,
0.05745375528931618,
-0.0022142878733575344,
-0.0392322912812233,
-0.06998780369758606,
0.00899752601981163,
-0.05531644448637962,
0.050824474543333054,
-0.048759616911411285,
-0.06672749668359756,
-0.0051123336888849735,
-0.009699396789073944,
0.060279347002506256,
0.010514471679925919,
0.038109298795461655,
-0.006199100520461798,
0.022097596898674965,
-0.02414434216916561,
0.014961160719394684,
-0.0239269882440567,
-0.04307220131158829,
-0.03618934378027916,
0.01360270194709301,
-0.03818175196647644,
0.0220432598143816,
0.0017671285895630717,
0.039666999131441116,
-0.02863631397485733,
0.0440865196287632,
-0.026082411408424377,
-0.006737955845892429,
-0.055678702890872955,
-0.07227001339197159,
-0.037783268839120865,
-0.012968754395842552,
0.04122469946742058,
0.032095856964588165,
0.0045621576718986034,
0.0036270851269364357,
-0.04644118249416351,
0.015821518376469612,
-0.016709044575691223,
0.009436761029064655,
0.09208539873361588,
0.007082099094986916,
0.07984115928411484,
-0.030194012448191643,
0.061257440596818924,
-0.027567658573389053,
-0.022858334705233574,
-0.027585770934820175,
0.06593053787946701,
0.051404085010290146,
-0.01645546592772007,
0.013023092411458492,
0.09179559350013733,
0.05506286770105362,
-0.005148559343069792,
0.04488348215818405,
0.056330762803554535,
-0.015875855460762978,
0.04357936233282089,
0.03160680830478668,
-0.005569681525230408,
0.015522656962275505,
0.05430212989449501,
0.02600996010005474,
-0.0225866436958313,
-0.05426590517163277,
-0.009898637421429157,
-0.04024660959839821,
-0.008078302256762981,
0.015830574557185173,
-0.039739448577165604,
0.06462641805410385,
-0.02314813993871212,
0.0032784140203148127,
-0.009491099044680595,
0.04245636984705925,
-0.020376883447170258,
0.01724337227642536,
0.014435890130698681,
-0.06216307729482651,
0.05803336203098297,
0.007113796193152666,
-0.037239886820316315,
0.038326654583215714,
0.008354522287845612,
0.06995157897472382,
0.04658608138561249,
0.005193841177970171,
-0.01190009992569685,
-0.04912187159061432,
0.027893688529729843,
0.05133163183927536,
0.017913544550538063,
0.004867810755968094,
-0.026281651109457016,
0.005805147811770439,
-0.00008971488568931818,
0.015269077382981777,
-0.007299452554434538,
0.06187327206134796,
0.03050193004310131,
0.02414434216916561,
0.024434147402644157,
0.010777107439935207,
0.009038279764354229,
-0.008517537266016006,
0.03225887194275856,
0.0278574638068676,
-0.043615587055683136,
-0.01711658202111721,
0.08954960852861404,
0.06853877753019333,
-0.020376883447170258,
-0.03191472589969635,
0.016183773055672646,
-0.034269388765096664,
0.024090003222227097,
-0.027151064947247505,
-0.02983175776898861,
-0.04796265438199043,
-0.031081538647413254,
0.00729492399841547,
0.01487059611827135,
-0.03365355357527733,
0.028237832710146904,
0.03466787189245224,
-0.011728028766810894,
0.00608589593321085,
0.041405826807022095,
0.07390016317367554,
0.007122852839529514,
-0.039993029087781906,
0.028708763420581818,
0.004818000830709934,
0.03191472589969635,
-0.030755508691072464,
0.023256815969944,
0.010170328430831432,
0.04709324240684509,
0.03742101415991783,
-0.014281931333243847,
-0.02061234973371029,
0.0139287319034338,
0.06451774388551712,
-0.05738130211830139,
-0.020775364711880684,
-0.011094081215560436,
0.00046866832417435944,
-0.039087388664484024,
-0.015730954706668854,
0.01612943597137928,
-0.0186561681330204,
0.0023252288810908794,
-0.0202863197773695,
-0.019924063235521317,
0.0011399734066799283,
-0.03738478943705559,
-0.018583716824650764,
-0.026571456342935562,
-0.02334737963974476,
-0.013475911691784859,
-0.02226061373949051,
-0.03716743364930153,
0.04100734367966652,
0.023963214829564095,
-0.031860388815402985,
0.07810232788324356,
0.08904245495796204,
0.08078302443027496,
0.020268205553293228,
0.007797554135322571,
-0.07962380349636078,
0.06995157897472382,
0.03093663603067398,
0.046658534556627274,
0.03457730636000633,
0.0497739315032959,
-0.007960569113492966,
-0.03738478943705559,
0.007860948331654072,
-0.033508650958538055,
0.01756034418940544,
-0.07227001339197159,
-0.024198681116104126,
0.02863631397485733,
0.0046640420332551,
0.021988920867443085,
-0.043035976588726044,
-0.04423142224550247,
0.037040647119283676,
-0.06832142174243927,
-0.00018211839778814465,
-0.0508606992661953,
0.01009787805378437,
0.03818175196647644,
-0.019108988344669342,
0.013213276863098145,
0.03829042613506317,
0.0038059488870203495,
-0.056656792759895325,
-0.01952558197081089,
-0.040753766894340515,
0.04180430620908737,
0.01337629184126854,
-0.06230797991156578,
0.03684140369296074,
0.02173534221947193,
-0.014472114853560925,
-0.05122295767068863,
0.030683057382702827,
0.03553728386759758,
0.005343271419405937,
0.05426590517163277,
-0.008603572845458984,
-0.013412517495453358,
0.017940713092684746,
0.052490852773189545,
-0.041188474744558334,
-0.023274928331375122,
-0.055570024996995926,
0.07053118199110031,
-0.018583716824650764,
-0.03660593926906586,
-0.027151064947247505,
0.07650840282440186,
0.022333063185214996,
-0.030646832659840584,
-0.05234595015645027,
-0.06933574378490448,
-0.08657911419868469,
0.013566476292908192,
0.018710507079958916,
-0.012814795598387718,
-0.05629453435540199,
-0.006276079919189215,
-0.05339648947119713,
0.03466787189245224,
-0.025412237271666527,
0.011863874271512032,
-0.018475040793418884,
-0.0041138664819300175,
0.045571766793727875,
-0.016754325479269028,
-0.02403566613793373,
0.08013096451759338,
0.06915461272001266,
0.015631332993507385,
0.02510431967675686,
-0.009472986683249474,
-0.06020689755678177,
-0.012624611146748066,
-0.006303249392658472,
-0.023872651159763336,
0.01976104825735092,
-0.06111253798007965,
0.07063986361026764,
0.005864014383405447,
0.020358771085739136,
-0.00101544801145792,
0.036678388714790344,
0.04390539228916168,
-0.019670484587550163,
0.027114838361740112,
-0.030791735276579857,
0.046658534556627274,
-0.002832386875525117,
0.0038376462180167437,
-0.0019912743009626865,
0.044376324862241745,
0.02215193584561348,
-0.03126266598701477,
0.010025426745414734,
-0.005311574321240187,
-0.008354522287845612,
-0.009608832187950611,
-0.01932634226977825,
-0.03432372584939003,
0.0416594073176384,
0.015250965021550655,
-0.04741927236318588,
0.043832939118146896,
0.012008776888251305,
0.0071409656666219234,
0.03901493921875954,
-0.014118916355073452,
-0.03256678581237793,
-0.035573508590459824,
0.08027586340904236,
-0.02512243203818798,
0.03367166593670845,
0.02655334211885929,
0.06151101738214493,
-0.01009787805378437,
0.02939704991877079,
-0.031969066709280014,
0.014789088629186153,
-0.018520323559641838,
-0.044158969074487686,
0.008911490440368652,
0.04242014139890671,
0.03381656855344772,
0.008377162739634514,
0.02514054626226425,
0.06288758665323257,
0.03687763214111328,
-0.029777418822050095,
0.0392322912812233,
0.02061234973371029,
-0.039993029087781906,
0.028274057433009148,
-0.023546621203422546,
0.023437943309545517,
0.03254867345094681,
-0.07918909937143326,
0.020250093191862106,
-0.010668430477380753,
0.05756242945790291,
0.006162875331938267,
-0.0048813954927027225,
0.07408129423856735,
-0.0019403321202844381,
0.06321361660957336,
0.00668814592063427,
0.016274336725473404,
0.005723639857023954,
0.048542264848947525,
-0.023981327190995216,
0.0009390346822328866,
-0.020105190575122833,
-0.014472114853560925,
-0.04002925381064415,
-0.008807341568171978,
-0.07701556384563446,
0.027277855202555656,
-0.001924483454786241,
-0.014562679454684258,
0.04100734367966652,
-0.02456093579530716,
-0.0578884594142437,
0.002572015393525362,
0.03423316404223442,
-0.003196906531229615,
0.02173534221947193,
0.041079796850681305,
0.0013822319451719522,
-0.03160680830478668,
-0.06009821966290474,
0.014245705679059029,
-0.028020478785037994,
0.001984481932595372,
0.05046221986413002,
0.04462990164756775,
0.07752271741628647,
0.008028492331504822,
0.05212859436869621,
-0.0019493885338306427,
-0.017089413478970528,
-0.0368957445025444,
-0.006158346775919199,
0.006221741437911987,
-0.02479640208184719,
0.03381656855344772,
0.07802987843751907,
0.028038591146469116,
-0.06390190869569778,
0.00410933792591095,
-0.045789118856191635,
-0.01249782182276249,
-0.041949208825826645,
-0.00578703498467803,
-0.04593402147293091,
-0.0344686284661293,
0.032095856964588165,
0.04060886427760124,
-0.06911838799715042,
-0.01311365608125925,
-0.0018248631386086345,
0.005950049962848425,
-0.002059197286143899,
0.0849127396941185,
0.00204108445905149,
0.0005614963592961431,
0.017822980880737305,
0.008205091580748558,
-0.05448325723409653,
-0.03512068837881088,
-0.033961471170186996,
-0.031643036752939224,
-0.015721896663308144,
-0.008476783521473408,
0.0037923643831163645,
0.061257440596818924,
-0.038326654583215714,
0.04198543727397919,
-0.01370232179760933,
-0.004290465731173754,
-0.016084153205156326,
-0.004102545790374279,
-0.03180605173110962,
-0.02720540389418602,
-0.043615587055683136,
-0.001242989907041192,
-0.0419129841029644,
0.02073913812637329,
-0.007394544314593077,
0.04028283432126045,
-0.057743560522794724,
-0.03205962851643562,
0.047455497086048126,
-0.017496950924396515,
0.042601268738508224,
-0.032313209027051926,
-0.03653348609805107,
-0.009744678623974323,
-0.07455222308635712,
0.0030384196434170008,
-0.017053186893463135,
-0.04970148205757141,
0.011012573726475239,
-0.03568218648433685,
0.003527464810758829,
0.05252707749605179,
-0.028980456292629242,
-0.014988329261541367,
-0.09309971332550049,
-0.008200563490390778,
-0.0660029873251915,
0.025593364611268044,
-0.0010726164327934384,
-0.05444703251123428,
0.0007069646380841732,
0.013285728171467781,
0.00042112224036827683,
0.007589256856590509,
0.00954543799161911,
0.021427424624562263,
-0.0017218466382473707,
0.018520323559641838,
0.0013256294187158346,
-0.06484377384185791,
-0.03048381768167019,
0.02293078601360321,
0.013041205704212189,
0.04644118249416351,
0.037131208926439285,
0.012950641103088856,
-0.013122713193297386,
-0.06368455290794373,
0.059192582964897156,
0.020558010786771774,
0.05531644448637962,
-0.012108396738767624,
-0.022767771035432816,
-0.0016799608711153269,
0.02367340959608555,
0.00867149606347084,
-0.005497230216860771,
0.028328396379947662,
0.034378066658973694,
0.11063288897275925,
-0.036044441163539886,
0.03265735134482384,
-0.02740464359521866,
-0.07335677742958069,
-0.04357936233282089,
-0.040572639554739,
0.024941304698586464,
-0.030338915064930916,
0.002694276859983802,
0.03158869594335556,
0.016373958438634872,
-0.029650628566741943,
0.06176459789276123,
0.02776690013706684,
0.00009098844020627439,
0.07969625294208527,
0.010106934234499931,
0.0030225710943341255,
-0.030900411307811737,
-0.019235778599977493,
0.027839351445436478,
-0.01590302586555481,
-0.03508446365594864,
0.026245426386594772,
0.008200563490390778,
-0.035482946783304214,
-0.028708763420581818,
-0.016428295522928238,
-0.05748998001217842,
0.05241839960217476,
-0.04901319742202759,
0.03807307407259941,
0.00904733594506979,
0.034378066658973694,
-0.015051724389195442,
-0.06795916706323624,
-0.004093489609658718,
0.010858614929020405,
0.06690862774848938,
-0.045354414731264114,
-0.016410183161497116,
-0.015042668208479881,
0.0714368224143982,
0.008100942708551884,
0.0502810925245285,
0.13461421430110931,
-0.04093489423394203,
-0.0016754326643422246,
-0.018710507079958916,
-0.050063736736774445,
-0.01822146214544773,
0.04397784173488617,
-0.009780904278159142,
0.00498554389923811,
-0.01079521980136633,
-0.03915984183549881,
0.034613531082868576,
0.006058726459741592
]
|
40,327 | pyglove.core.symbolic.object | sym_eq | Tests symbolic equality. | def sym_eq(self, other: Any) -> bool:
"""Tests symbolic equality."""
return self is other or (
type(self) is type(other) and base.eq(
self._sym_attributes, other._sym_attributes)) # pylint: disable=protected-access
| (self, other: Any) -> bool | [
0.07867944240570068,
-0.05845067277550697,
0.05650351941585541,
0.046371109783649445,
-0.03339008241891861,
-0.053077973425388336,
-0.03901519253849983,
0.009357156231999397,
0.02174321748316288,
0.032993439584970474,
0.009609565138816833,
-0.05066205933690071,
0.09843944758176804,
0.06306614726781845,
-0.028432052582502365,
-0.01747029647231102,
0.004092629067599773,
0.040962349623441696,
-0.019381392747163773,
-0.0033286414109170437,
-0.04056570678949356,
0.03234438970685005,
-0.009046152234077454,
0.003765849629417062,
0.012683544307947159,
0.0971413403749466,
0.017641574144363403,
0.03991665318608284,
-0.0162443108856678,
0.049940891563892365,
-0.03573387861251831,
-0.03165927901864052,
0.05455636605620384,
0.024862270802259445,
0.08711710572242737,
-0.013053142465651035,
-0.039051253348588943,
0.025276942178606987,
-0.0526813305914402,
-0.04673169180750847,
0.013837412931025028,
0.005309599917382002,
0.02192351035773754,
-0.0093661705031991,
-0.03274103254079819,
-0.01663193851709366,
-0.05333038046956062,
0.0038582494016736746,
0.014306171797215939,
-0.01943548023700714,
0.01328752189874649,
-0.04518118128180504,
0.021058108657598495,
0.06281374394893646,
0.0067384145222604275,
0.012485222890973091,
0.002001241547986865,
0.019994385540485382,
-0.05127505213022232,
-0.0014907896984368563,
-0.011565733700990677,
-0.018371757119894028,
-0.0106101855635643,
-0.05480877682566643,
-0.028395993635058403,
-0.029982563108205795,
-0.03789738193154335,
-0.0009752671467140317,
-0.008370057679712772,
0.008622465655207634,
-0.057873740792274475,
-0.020228765904903412,
-0.05913578346371651,
0.0011809127172455192,
-0.04658745974302292,
-0.01963380165398121,
-0.0034818898420780897,
0.011142047122120857,
-0.005251005291938782,
-0.0725855678319931,
-0.013386682607233524,
-0.024032926186919212,
-0.03061358630657196,
-0.015505114570260048,
-0.11942543834447861,
0.04211621731519699,
0.0005994709790684283,
0.03295738250017166,
-0.0030176378786563873,
0.00101583288051188,
-0.021112196147441864,
0.014946209266781807,
0.019525626674294472,
-0.008775714784860611,
0.03807767480611801,
0.01467577088624239,
0.019615773111581802,
-0.04568599909543991,
0.03122657909989357,
0.0002128290943801403,
0.01006930973380804,
-0.01878642849624157,
-0.023780517280101776,
0.023419933393597603,
-0.026935627683997154,
0.035986289381980896,
-0.01652376353740692,
-0.04882308095693588,
-0.03201986476778984,
-0.032055921852588654,
-0.09843944758176804,
0.07013359665870667,
-0.00833850633352995,
0.012692558579146862,
0.00003672745879157446,
-0.0027629751712083817,
0.02736832946538925,
0.009898032061755657,
0.013044128194451332,
0.0006597561296075583,
0.005566516425460577,
0.09346338361501694,
0.03692380711436272,
-0.0016733353259041905,
0.09108353406190872,
0.022554531693458557,
0.051022641360759735,
-0.00019677184172905982,
-0.04464030638337135,
0.05185198783874512,
0.040601763874292374,
0.008270896971225739,
0.013738252222537994,
0.0995211973786354,
0.018714312463998795,
0.041106581687927246,
0.03180351480841637,
0.05311403051018715,
-0.001696998719125986,
-0.008153706789016724,
0.034021105617284775,
-0.00986197404563427,
-0.014405332505702972,
-0.01371120847761631,
-0.07413607835769653,
0.046551402658224106,
-0.10579536110162735,
-0.008658524602651596,
0.005422282498329878,
0.005967665929347277,
0.00006637704791501164,
-0.00903713796287775,
0.021094167605042458,
0.03576993942260742,
-0.05177986994385719,
0.027115920558571815,
-0.010438907891511917,
0.0191650427877903,
-0.008802758529782295,
0.05607081949710846,
-0.032939352095127106,
-0.02118431217968464,
-0.006986315827816725,
-0.06566235423088074,
0.001231619855388999,
-0.027151979506015778,
-0.04146716743707657,
-0.048390381038188934,
0.016640953719615936,
0.0070268819108605385,
-0.023888694122433662,
-0.04795767739415169,
-0.0047597093507647514,
-0.015955844894051552,
0.01211562380194664,
-0.007635367102921009,
0.019309276714920998,
0.01783989556133747,
0.0028103019576519728,
-0.027584679424762726,
0.05744104087352753,
-0.08834309130907059,
-0.07175622880458832,
-0.0016462915809825063,
0.04208016023039818,
0.007603816222399473,
-0.023419933393597603,
-0.0036554208490997553,
0.057224687188863754,
0.020120590925216675,
-0.021941538900136948,
0.0015460040885955095,
-0.034489862620830536,
0.024736065417528152,
0.020264822989702225,
-0.058198265731334686,
0.030090738087892532,
-0.02150883898139,
0.024014897644519806,
0.050914466381073,
0.009185878559947014,
-0.04150322452187538,
-0.014197996817529202,
0.01718183048069477,
-0.011006828397512436,
-0.07918425649404526,
-0.009645623154938221,
-0.03499468043446541,
0.02212183177471161,
-0.013233434408903122,
-0.026178402826189995,
-0.026647161692380905,
0.011908288113772869,
0.011259237304329872,
0.013368654064834118,
0.049508191645145416,
0.0158747136592865,
-0.0050932494923472404,
0.004583924543112516,
0.04308979585766792,
0.10601171106100082,
-0.028756577521562576,
0.001400643726810813,
0.020120590925216675,
-0.00016522074292879552,
-0.0118542006239295,
-0.00821680948138237,
0.06540994346141815,
-0.022806940600275993,
-0.038582492619752884,
0.03522906079888344,
0.003946141805499792,
0.05095052719116211,
-0.024718036875128746,
0.012620441615581512,
0.0003445267793722451,
0.0254572331905365,
0.037825267761945724,
-0.046226873993873596,
0.01509945746511221,
0.00962759368121624,
0.0011341494973748922,
-0.012701572850346565,
0.014080807566642761,
-0.0014750141417607665,
-0.05423184111714363,
0.01068230252712965,
0.041539281606674194,
-0.02250044420361519,
-0.023654313758015633,
-0.0017127742758020759,
-0.0427292101085186,
-0.0036666891537606716,
-0.024303365498781204,
0.03023497201502323,
-0.008288925513625145,
-0.03605840355157852,
0.0010152694303542376,
0.06245315819978714,
0.011863214895129204,
-0.016541793942451477,
0.08899214118719101,
0.0024361959658563137,
0.025331029668450356,
0.0068465895019471645,
0.009492374956607819,
-0.016938434913754463,
0.044496070593595505,
-0.012656500563025475,
-0.0485706701874733,
0.08185257762670517,
-0.02563752606511116,
-0.03245256468653679,
0.06634746491909027,
-0.0059541440568864346,
0.0012688051210716367,
0.044532131403684616,
-0.014711828902363777,
-0.04366672784090042,
-0.03732044994831085,
-0.017740735784173012,
-0.005467355716973543,
0.026827452704310417,
-0.043738845735788345,
-0.03160519152879715,
0.01981409266591072,
-0.0241411030292511,
-0.058667026460170746,
0.017677633091807365,
-0.0608665868639946,
0.05581841245293617,
0.013828398659825325,
0.05001300945878029,
0.021112196147441864,
0.04287344217300415,
0.04236862435936928,
0.006436425261199474,
-0.027170008048415184,
0.02423124760389328,
0.03933972120285034,
0.007734527811408043,
0.048246145248413086,
0.053654905408620834,
0.02643081173300743,
0.034634098410606384,
-0.005940622184425592,
0.012232813984155655,
0.0845930203795433,
0.0286844614893198,
0.01849796250462532,
0.02244635671377182,
0.05607081949710846,
-0.012548324652016163,
0.06317432224750519,
0.024105044081807137,
0.005232975818216801,
-0.00986197404563427,
-0.06519359350204468,
0.003763596061617136,
0.07370337843894958,
-0.004453212954103947,
0.032146066427230835,
-0.05488089099526405,
-0.060181476175785065,
-0.015883726999163628,
-0.05578235164284706,
0.012710588052868843,
-0.009257995523512363,
0.04626293480396271,
0.038618553429841995,
0.0374646820127964,
-0.02089584618806839,
0.06295797228813171,
0.011700952425599098,
-0.005260020028799772,
-0.004845348186790943,
-0.02926139533519745,
0.035427384078502655,
0.0022401283495128155,
-0.04784950241446495,
0.006860111374408007,
0.0009003332816064358,
0.0348324179649353,
-0.07428031414747238,
-0.04070993885397911,
-0.013819383457303047,
-0.06129928678274155,
-0.0012090833624824882,
0.010952740907669067,
0.0003766413137782365,
-0.06807827204465866,
0.005922593176364899,
0.01812836341559887,
-0.04287344217300415,
0.002397883916273713,
0.02929745428264141,
-0.03887096047401428,
0.06010936200618744,
-0.02446562796831131,
-0.02197759784758091,
0.0755062997341156,
0.03407519310712814,
-0.004737172741442919,
-0.012124639004468918,
-0.04896731302142143,
-0.013197376392781734,
-0.02154489792883396,
0.008428651839494705,
-0.0073423925787210464,
-0.0034570996649563313,
-0.04680380970239639,
-0.03066767379641533,
-0.021941538900136948,
-0.043738845735788345,
-0.023924751207232475,
0.0380416177213192,
-0.039988771080970764,
-0.0027336778584867716,
0.025673585012555122,
-0.056791987270116806,
0.08892002701759338,
0.0004265033348929137,
0.015432997606694698,
0.04911154881119728,
0.037536799907684326,
-0.021166283637285233,
0.0031235592905431986,
-0.017542414367198944,
0.049796655774116516,
0.05156351998448372,
-0.04911154881119728,
-0.04211621731519699,
0.01835372857749462,
0.03169533982872963,
-0.021562926471233368,
-0.013594018295407295,
-0.021400664001703262,
0.010015222243964672,
-0.11077141761779785,
-0.01103387214243412,
-0.012972011230885983,
0.03578796610236168,
0.022175919264554977,
-0.042008042335510254,
0.002659307327121496,
0.04117869958281517,
0.01417996734380722,
-0.0006727146101184189,
-0.02484424039721489,
0.04554176703095436,
-0.026520956307649612,
-0.014098836109042168,
-0.01827259734272957,
-0.01855204999446869,
-0.013566974550485611,
0.00564764766022563,
0.06944848597049713,
-0.01835372857749462,
0.10839156806468964,
0.014774931594729424,
0.004737172741442919,
0.011232193559408188,
-0.006319235544651747,
0.005314107518643141,
-0.003979946486651897,
0.004031780641525984,
0.00915883481502533,
0.04568599909543991,
0.0037816253025084734,
0.0034255485516041517,
-0.05495300889015198,
-0.012620441615581512,
0.06858308613300323,
0.035986289381980896,
0.022788912057876587,
-0.006990823429077864,
0.006706863176077604,
-0.09800674766302109,
-0.012232813984155655,
0.002702126745134592,
-0.02563752606511116,
-0.0289729293435812,
-0.05131110921502113,
-0.00800496619194746,
-0.05772950500249863,
-0.030072709545493126,
0.029946506023406982,
0.04308979585766792,
0.05448424816131592,
0.020463144406676292,
-0.017812851816415787,
0.01990423910319805,
-0.053835198283195496,
-0.033840812742710114,
-0.03901519253849983,
-0.012791719287633896,
0.06371520459651947,
-0.05682804808020592,
-0.03229030221700668,
0.011205149814486504,
-0.05884731560945511,
0.00743253855034709,
-0.02625051885843277,
-0.025439204648137093,
-0.01896672137081623,
0.05657563731074333,
-0.006585166323930025,
0.003082993673160672,
0.03573387861251831,
0.044351838529109955,
0.004437437281012535,
-0.011628835462033749,
0.006684327032417059,
0.03436366096138954,
-0.00030593303381465375,
-0.008865860290825367,
-0.03879884257912636,
0.00448476430028677,
-0.09894426167011261,
-0.04370278865098953,
-0.05520541965961456,
0.0081221554428339,
-0.011971390806138515,
-0.05159957706928253,
0.07244133204221725,
-0.0377531498670578,
0.02376248873770237,
-0.02131051756441593,
-0.012809748761355877,
-0.009600549936294556,
-0.00023959120153449476,
0.0038875467143952847,
-0.0338047556579113,
0.043125852942466736,
0.04143110662698746,
0.008712612092494965,
-0.002751707099378109,
0.023870663717389107,
-0.021707160398364067,
-0.0071350568905472755,
-0.01564033329486847,
0.002907208865508437,
-0.02835993468761444,
0.04132293164730072,
0.031100373715162277,
0.016217267140746117,
-0.04788556322455406,
-0.04316191002726555,
-0.030775848776102066,
0.04319797083735466,
0.0364370197057724,
-0.02751256339251995,
0.024537744000554085,
-0.029946506023406982,
0.07085476815700531,
0.030541468411684036,
0.0041512236930429935,
-0.0757947638630867,
-0.032380446791648865,
-0.047777388244867325,
0.02704380452632904,
-0.04795767739415169,
-0.05671986937522888,
-0.03499468043446541,
-0.03872672840952873,
-0.012656500563025475,
-0.015342851169407368,
0.010808506980538368,
0.04337825998663902,
-0.06530176848173141,
-0.010321718640625477,
0.0062426114454865456,
-0.047921620309352875,
0.019183071330189705,
-0.037212274968624115,
0.05982089415192604,
0.0005836954223923385,
0.013548946008086205,
0.010970769450068474,
-0.00524649815633893,
-0.040601763874292374,
0.006968286819756031,
-0.01218774076551199,
-0.0013769803335890174,
-0.0302890595048666,
0.02066146582365036,
-0.029135191813111305,
-0.028305847197771072,
0.02855825610458851,
0.023365845903754234,
-0.02841402404010296,
0.009127283468842506,
0.038294024765491486,
-0.034580010920763016,
-0.01317033264786005,
-0.010024236515164375,
0.043558552861213684,
0.052104394882917404,
0.014558580704033375,
0.04052964597940445,
0.030216943472623825,
-0.01281876303255558,
0.06634746491909027,
-0.080193892121315,
-0.004786753095686436,
-0.039231546223163605,
0.01893066242337227,
-0.03793344274163246,
0.045938409864902496,
0.05790979787707329,
-0.017344092950224876,
-0.000863148074131459,
0.04334220290184021,
-0.007590294349938631,
0.04918366298079491,
-0.015153544954955578,
-0.026971686631441116,
0.04633504897356033,
-0.05949636921286583,
-0.0497605986893177,
0.0012350003235042095,
0.04460424557328224,
-0.028017381206154823,
0.019796064123511314,
0.02470000833272934,
-0.04471242055296898,
0.003779371501877904,
0.02929745428264141,
-0.045145124197006226,
-0.05037359148263931,
-0.0866122916340828,
-0.015369894914329052,
0.030865995213389397,
-0.06101082265377045,
-0.015432997606694698,
-0.0241411030292511,
-0.0026773365680128336,
0.01770467683672905,
0.033462200313806534,
-0.009239966049790382,
0.01012339722365141,
-0.019038837403059006,
-0.004493778571486473,
-0.0757947638630867,
0.020481174811720848,
0.02154489792883396,
-0.016127122566103935,
0.00045411052997224033,
-0.00627866992726922,
-0.0007200412801466882,
0.046695634722709656,
0.025204824283719063,
0.029874388128519058,
-0.052284687757492065,
0.03126263618469238,
-0.0076939621940255165,
-0.02938760071992874,
0.030108768492937088,
-0.049147605895996094,
0.030595555901527405,
-0.008185258135199547,
-0.01723591797053814,
-0.051202934235334396,
-0.007860732264816761,
-0.04626293480396271,
0.030829936265945435,
0.050085123628377914,
0.040457531809806824,
0.004610968753695488,
-0.05635928735136986,
-0.01218774076551199,
-0.013467813841998577,
0.010033250786364079,
-0.015802595764398575,
0.016118107363581657,
-0.06425607949495316,
0.0014952969504520297,
0.02920730784535408,
0.03398504853248596,
0.1170455813407898,
-0.005611589178442955,
0.00903713796287775,
-0.040313296020030975,
0.07774192094802856,
-0.059243958443403244,
0.028576286509633064,
-0.016172194853425026,
-0.043883077800273895,
0.01225985772907734,
0.010024236515164375,
-0.05058994144201279,
0.03192971646785736,
-0.005160859320312738,
-0.012025478295981884,
0.014829019084572792,
0.0015403699362650514,
-0.03865461051464081,
-0.030361177399754524,
0.026088256388902664,
-0.026142343878746033,
0.020354969426989555,
-0.018425844609737396,
-0.023798547685146332,
0.0118542006239295,
0.016785187646746635,
0.014026719145476818,
-0.006490512751042843,
-0.03023497201502323,
0.02066146582365036,
-0.04849855601787567,
-0.011511646211147308,
0.04738074541091919,
0.009239966049790382,
-0.015360880643129349,
0.00003707958967424929,
-0.0020902606192976236,
0.020264822989702225,
0.010042265988886356,
0.008374564349651337,
-0.01308018621057272,
-0.01751537062227726,
-0.01601894572377205,
-0.0003898814902640879,
-0.039556071162223816,
-0.007085476536303759,
0.0010890765115618706,
0.018011173233389854,
0.05581841245293617,
0.005323122255504131,
-0.06941243261098862,
-0.03560767322778702,
-0.050409648567438126,
0.047741327434778214,
0.02958592213690281,
0.008568378165364265,
-0.018750371411442757,
-0.02742241695523262,
0.006504034623503685,
0.008771207183599472,
-0.007004345301538706,
-0.007887776009738445,
-0.009212922304868698,
0.0348324179649353,
-0.017208874225616455,
0.0687633752822876,
0.02212183177471161,
-0.052428919821977615,
0.002560146851465106,
0.03991665318608284,
0.003763596061617136,
-0.026052197441458702,
-0.02230212278664112,
-0.03349825739860535,
-0.06165987253189087,
0.03034314699470997,
-0.011160076595842838,
-0.0106101855635643,
0.0012631709687411785,
-0.01760551705956459,
0.020913874730467796,
-0.022897087037563324,
-0.03061358630657196,
0.03706803917884827,
-0.005552994552999735,
-0.05390731617808342,
0.04907548800110817,
-0.007198159117251635,
0.0017308034002780914,
0.03667139634490013,
0.02888278290629387,
-0.027440445497632027,
0.0854584202170372,
-0.00821680948138237,
0.06331855803728104,
-0.06764556467533112,
0.03142489865422249,
-0.04211621731519699,
-0.014720844104886055,
-0.01281876303255558,
0.09880003333091736,
0.02441154047846794,
0.011241207830607891,
0.04117869958281517,
-0.023492051288485527,
-0.0028576285112649202,
0.01986818201839924,
-0.03915942832827568,
0.02154489792883396,
0.01864219456911087,
0.0027133950497955084,
0.03137081116437912,
0.017019568011164665,
0.03070373274385929,
-0.008207794278860092,
0.022320153191685677,
0.07182834297418594,
-0.018948690965771675,
-0.0011786591494455934,
0.02347402088344097,
-0.017596501857042313,
-0.023654313758015633,
0.03632884472608566,
0.010817521251738071,
0.046082641929388046,
-0.039844539016485214,
-0.02484424039721489,
-0.03265088424086571,
0.08170834928750992
]
|
40,328 | pyglove.core.symbolic.base | sym_get | Returns a sub-node by path.
NOTE: there is no `sym_set`, use `sym_rebind`.
Args:
path: A KeyPath object or equivalence.
default: Default value if path does not exists. If absent, `KeyError` will
be thrown.
Returns:
Value of symbolic attribute specified by path if found, otherwise the
default value if it's specified.
Raises:
KeyError if `path` does not exist and `default` is not specified.
| def sym_get(
self,
path: Union[object_utils.KeyPath, str, int],
default: Any = RAISE_IF_NOT_FOUND) -> Any:
"""Returns a sub-node by path.
NOTE: there is no `sym_set`, use `sym_rebind`.
Args:
path: A KeyPath object or equivalence.
default: Default value if path does not exists. If absent, `KeyError` will
be thrown.
Returns:
Value of symbolic attribute specified by path if found, otherwise the
default value if it's specified.
Raises:
KeyError if `path` does not exist and `default` is not specified.
"""
path = object_utils.KeyPath.from_value(path)
if default is RAISE_IF_NOT_FOUND:
return path.query(self)
else:
return path.get(self, default)
| (self, path: Union[pyglove.core.object_utils.value_location.KeyPath, str, int], default: Any = (MISSING_VALUE,)) -> Any | [
0.10974355787038803,
-0.04592997953295708,
0.03436668589711189,
0.017722005024552345,
0.01426558569073677,
-0.005341738928109407,
0.022839300334453583,
-0.006190132815390825,
0.04564269259572029,
-0.006432531401515007,
0.03386393189430237,
0.030380580574274063,
0.0212053582072258,
-0.012057067826390266,
-0.005346227902919054,
0.036485426127910614,
0.03734728321433067,
0.016590813174843788,
-0.012218667194247246,
0.05278895050287247,
0.03978922218084335,
0.006549241486936808,
0.02163628861308098,
-0.03585698455572128,
0.004311546683311462,
0.03788594901561737,
0.036000628024339676,
0.01387056615203619,
0.039358291774988174,
-0.05921699479222298,
0.000440469040768221,
0.004803076386451721,
-0.03964557871222496,
0.029985560104250908,
0.006809595040977001,
0.010198681615293026,
-0.03224794566631317,
0.025730125606060028,
-0.02215699478983879,
-0.026699718087911606,
0.02242632582783699,
0.015746908262372017,
0.009238066151738167,
-0.0634903833270073,
0.02183379791676998,
0.0039142826572060585,
-0.011697960086166859,
0.004540478345006704,
0.033253446221351624,
-0.014373318292200565,
0.05702643096446991,
-0.014965847134590149,
-0.049880173057317734,
-0.011626138351857662,
-0.022785434499382973,
-0.024796443060040474,
-0.002158017596229911,
0.05760100483894348,
0.015881573781371117,
0.02348569594323635,
0.03203247860074043,
-0.056523680686950684,
-0.014382296241819859,
-0.0036404624115675688,
-0.03007533773779869,
-0.03960966691374779,
0.018637731671333313,
-0.035587653517723083,
-0.06981069594621658,
0.010988720692694187,
-0.03154768422245979,
-0.004928764421492815,
-0.0679074227809906,
-0.024886220693588257,
0.056631412357091904,
-0.02625083178281784,
0.01809009164571762,
-0.05415356159210205,
0.024509156122803688,
-0.018907062709331512,
-0.021295133978128433,
-0.027759088203310966,
-0.04851555824279785,
-0.0084210941568017,
-0.06672236323356628,
0.04873102530837059,
0.09624107927083969,
-0.03896327316761017,
0.011293962597846985,
0.02880050241947174,
-0.03720364347100258,
0.018960928544402122,
-0.009152778424322605,
0.05989930033683777,
-0.00011958593677263707,
-0.07993755489587784,
0.026376519352197647,
-0.060761161148548126,
0.045355405658483505,
0.001961630303412676,
0.037490926682949066,
-0.01259573083370924,
-0.01822475716471672,
0.01259573083370924,
-0.002270239172503352,
0.039250560104846954,
0.004601077642291784,
0.007581678219139576,
0.005844491068273783,
-0.01971505768597126,
-0.06758422404527664,
0.0520707331597805,
0.022659746930003166,
0.046109531074762344,
-0.01849408820271492,
0.010037083178758621,
0.007711855228990316,
0.008281939662992954,
0.011356806382536888,
-0.003247687593102455,
-0.06406495720148087,
0.03363051265478134,
0.0022242283448576927,
0.03210430219769478,
0.018727509304881096,
0.06837426126003265,
-0.0016866878140717745,
0.004434990230947733,
0.015504510141909122,
0.06639916449785233,
0.07649011164903641,
-0.004136481322348118,
0.009677974507212639,
0.0715344175696373,
-0.012227645143866539,
0.05688278749585152,
0.06876927614212036,
0.06894883513450623,
-0.017865648493170738,
0.027130648493766785,
0.038927361369132996,
-0.05138842761516571,
-0.022031307220458984,
-0.028028419241309166,
-0.017147431150078773,
0.019966432824730873,
0.044565364718437195,
0.007429057266563177,
-0.024203913286328316,
0.02513759583234787,
-0.025209417566657066,
0.015190290287137032,
0.018045201897621155,
0.049664705991744995,
0.012218667194247246,
0.01187751442193985,
-0.06101253628730774,
0.007025060243904591,
0.004158925265073776,
-0.020738516002893448,
-0.044026702642440796,
-0.005516804289072752,
0.008295406587421894,
-0.09954488277435303,
0.005741247441619635,
0.008237051777541637,
-0.037060000002384186,
0.0053911167196929455,
0.006239510141313076,
0.03928647190332413,
-0.034420549869537354,
-0.0031579104252159595,
-0.05447676032781601,
-0.018215779215097427,
0.005225028842687607,
-0.04582224413752556,
-0.00969592947512865,
0.02098989300429821,
0.031062886118888855,
-0.007541278842836618,
0.013664078898727894,
-0.026322653517127037,
-0.02689722739160061,
0.005328272469341755,
0.009309887886047363,
0.08948983997106552,
0.002248917007818818,
-0.00035686406772583723,
0.02858503721654415,
0.05655958876013756,
-0.02960849739611149,
0.03644951432943344,
0.020020298659801483,
0.021007847040891647,
-0.00335542019456625,
-0.044565364718437195,
0.028405483812093735,
-0.008048519492149353,
-0.06331083178520203,
0.10801983624696732,
0.044565364718437195,
-0.006077911704778671,
-0.013538390398025513,
0.03957375884056091,
-0.03756275027990341,
-0.029428942129015923,
0.07332995533943176,
0.021438777446746826,
-0.06270034611225128,
0.044026702642440796,
-0.0857551097869873,
0.026753583922982216,
0.022121084854006767,
-0.05749327316880226,
0.011653071269392967,
-0.007051993161439896,
-0.05023927986621857,
0.04287755489349365,
0.0072629693895578384,
0.04165658727288246,
0.059073351323604584,
-0.004520278424024582,
0.046791840344667435,
0.04438581317663193,
0.021510599181056023,
-0.06270034611225128,
-0.0018853197107091546,
-0.018583865836262703,
-0.02849525958299637,
-0.018799331039190292,
0.06611187756061554,
-0.0050275190733373165,
0.07763925939798355,
-0.06675827503204346,
-0.028944145888090134,
0.0035978183150291443,
0.03327140212059021,
0.02890823595225811,
0.030218981206417084,
0.016967877745628357,
-0.01440025120973587,
0.00335542019456625,
-0.0054180496372282505,
0.013322926126420498,
-0.017318008467555046,
0.04528358206152916,
0.0007563722901977599,
-0.005494360346347094,
0.008443539030849934,
-0.03188883513212204,
0.03752683848142624,
0.031152663752436638,
0.008771225810050964,
0.016671612858772278,
0.0081876739859581,
-0.0007098003989085555,
-0.10658340901136398,
-0.03056013397872448,
-0.00503649702295661,
-0.003297064919024706,
-0.06158711016178131,
0.014427184127271175,
-0.01469651609659195,
-0.006966704968363047,
0.004455190151929855,
-0.011087475344538689,
-0.015333933755755424,
0.019643235951662064,
-0.005251961760222912,
-0.007402124349027872,
-0.10292050242424011,
0.0014499005628749728,
-0.0023095165379345417,
-0.01440025120973587,
0.04542722553014755,
-0.0023544051218777895,
-0.0041948361322283745,
0.050885677337646484,
0.030201025307178497,
-0.05246575176715851,
-0.07361724227666855,
0.032714784145355225,
-0.003499063663184643,
-0.03723955154418945,
-0.03379211202263832,
0.00946250930428505,
0.0016967876581475139,
-0.04276982322335243,
-0.028154106810688972,
-0.003297064919024706,
0.10557790100574493,
0.008816113695502281,
-0.05171162635087967,
0.01914048381149769,
0.07376088947057724,
0.0058938683941960335,
-0.050777941942214966,
-0.005076896399259567,
0.044349901378154755,
0.03996877744793892,
0.008425583131611347,
-0.009489442221820354,
0.018081113696098328,
0.020738516002893448,
0.032176122069358826,
0.028100240975618362,
0.04984426125884056,
0.035264454782009125,
0.015082557685673237,
0.04919786751270294,
-0.02768726646900177,
-0.030631955713033676,
-0.0362340472638607,
0.040471527725458145,
-0.003200554521754384,
-0.018179867416620255,
-0.04172840714454651,
-0.024509156122803688,
0.0036629068199545145,
0.04474491998553276,
-0.04618135467171669,
0.03885554149746895,
-0.0868324413895607,
0.0012703463435173035,
-0.015333933755755424,
0.003900816198438406,
-0.03501307964324951,
0.01770404912531376,
0.011284984648227692,
0.043128933757543564,
0.043452128767967224,
0.014059098437428474,
-0.010117881931364536,
-0.02052305079996586,
-0.02280339039862156,
0.013628168031573296,
0.009143800474703312,
0.014103986322879791,
-0.048228271305561066,
-0.002421738114207983,
0.031170617789030075,
-0.03178110346198082,
0.02529919520020485,
-0.0273102018982172,
0.015630198642611504,
-0.0016709767514839768,
0.0633467435836792,
0.013331903144717216,
-0.004740232136100531,
-0.02226472832262516,
0.0005953345680609345,
0.019068662077188492,
-0.044134434312582016,
-0.0009847428882494569,
-0.03224794566631317,
-0.006993638351559639,
-0.0076445224694907665,
0.010710411705076694,
0.014795270748436451,
-0.023036811500787735,
0.04560678079724312,
0.031493816524744034,
-0.05655958876013756,
-0.027992509305477142,
0.004562922287732363,
-0.03215816617012024,
-0.05368672311306,
0.06690191477537155,
0.006235021632164717,
-0.04029197618365288,
-0.02853117138147354,
-0.01012685988098383,
-0.037814125418663025,
-0.0037885948549956083,
0.03741910681128502,
0.04151294380426407,
0.007514345459640026,
-0.008165230043232441,
0.02790273167192936,
-0.008008119650185108,
0.025478748604655266,
-0.022659746930003166,
0.02689722739160061,
0.06826652586460114,
0.03427690640091896,
0.0013870566617697477,
0.02274952456355095,
-0.002272483427077532,
0.02508372999727726,
-0.0023050277959555387,
-0.037060000002384186,
-0.011958313174545765,
0.030811510980129242,
0.0027090248186141253,
-0.013107460923492908,
-0.02014598809182644,
0.05954018980264664,
-0.03950193524360657,
-0.014472072944045067,
0.03381006792187691,
-0.002803290728479624,
0.045678600668907166,
-0.01293688453733921,
0.0007260725251398981,
0.006872439291328192,
-0.016034195199608803,
0.0355696976184845,
-0.00951637513935566,
-0.04352395236492157,
0.00823256280273199,
-0.032014522701501846,
0.05070612207055092,
-0.024329600855708122,
-0.017362896353006363,
0.022839300334453583,
-0.018045201897621155,
0.05469222739338875,
0.09027987718582153,
0.01933799311518669,
0.0020895625930279493,
-0.05533862113952637,
-0.041477032005786896,
-0.022408371791243553,
-0.018673641607165337,
0.03565947338938713,
-0.0373113751411438,
0.011159297078847885,
0.006190132815390825,
-0.015746908262372017,
0.06345447152853012,
-0.002805535215884447,
-0.033343225717544556,
0.02571216970682144,
-0.0006160955526866019,
0.023575473576784134,
-0.01740778423845768,
-0.014894025400280952,
-0.06316718459129333,
-0.005431516095995903,
-0.05594910681247711,
0.01887115277349949,
0.013035639189183712,
-0.05106522887945175,
0.006634529680013657,
-0.031206529587507248,
-0.04452945664525032,
-0.008861002512276173,
0.06668645143508911,
0.06779968738555908,
-0.07228854298591614,
-0.029357120394706726,
-0.09739022701978683,
0.0746227502822876,
0.0556977316737175,
-0.023413874208927155,
-0.035264454782009125,
-0.03495921194553375,
0.007146259304136038,
0.045894067734479904,
-0.019068662077188492,
-0.024114135652780533,
0.039717402309179306,
0.04230298101902008,
-0.07512550055980682,
-0.014077053405344486,
0.010432101786136627,
-0.0006217065965756774,
0.011015653610229492,
0.019589370116591454,
-0.0746227502822876,
0.014732426963746548,
-0.0189250186085701,
-0.0736890658736229,
-0.046791840344667435,
0.04815645143389702,
-0.03921464830636978,
-0.03565947338938713,
-0.030111247673630714,
-0.07013389468193054,
-0.0720730796456337,
0.04614544287323952,
-0.042446624487638474,
0.008896913379430771,
-0.03199656680226326,
0.014974825084209442,
-0.00871735904365778,
0.009884461760520935,
0.07419181615114212,
-0.01860182173550129,
-0.0038132835179567337,
0.0520707331597805,
0.07336586713790894,
-0.030578089877963066,
0.012137867510318756,
0.013197237625718117,
0.014983803033828735,
0.0024284713435918093,
-0.04377532750368118,
0.025371016934514046,
-0.0015542665496468544,
-0.030416490510106087,
-0.044026702642440796,
0.03215816617012024,
0.0602584071457386,
-0.03867598623037338,
0.05479995906352997,
-0.053219880908727646,
-0.0109707647934556,
0.053650811314582825,
-0.015333933755755424,
0.025263283401727676,
0.025371016934514046,
0.016114994883537292,
-0.0016350658843293786,
0.037490926682949066,
0.006432531401515007,
0.03258909657597542,
0.0010240203700959682,
0.009704907424747944,
-0.020576918497681618,
0.004659432917833328,
-0.019212305545806885,
-0.0511370524764061,
-0.015504510141909122,
-0.00797220878303051,
-0.03996877744793892,
-0.034995123744010925,
-0.017695071175694466,
0.030218981206417084,
0.05602092668414116,
0.02337796427309513,
0.021708110347390175,
-0.05706234276294708,
0.08180491626262665,
0.0373113751411438,
0.027238380163908005,
-0.009130333550274372,
0.023719117045402527,
-0.04183614253997803,
-0.03454623743891716,
0.025909679010510445,
0.00429134676232934,
-0.015621219761669636,
0.02486826479434967,
0.013394747860729694,
-0.020810337737202644,
-0.034456461668014526,
-0.01187751442193985,
0.08668879419565201,
-0.01887115277349949,
0.011392717249691486,
-0.015190290287137032,
0.016123972833156586,
-0.034618061035871506,
0.011778758838772774,
-0.005189117975533009,
-0.005238495301455259,
0.011823647655546665,
-0.028782546520233154,
0.008470471948385239,
0.007684922311455011,
-0.009094422683119774,
0.053650811314582825,
-0.019786879420280457,
0.04043561965227127,
-0.012101956643164158,
-0.02576603554189205,
-0.05329170450568199,
0.06650689244270325,
0.004286857787519693,
-0.037275463342666626,
-0.02562239207327366,
0.03928647190332413,
0.02971622906625271,
0.021654242649674416,
0.05548226460814476,
-0.029698273167014122,
-0.0016866878140717745,
-0.03964557871222496,
0.006383153609931469,
0.006953238509595394,
0.039932865649461746,
0.04072290658950806,
0.027328157797455788,
0.02695109322667122,
0.008088919334113598,
-0.0055796485394239426,
0.012847106903791428,
-0.0930091068148613,
-0.02380889467895031,
-0.028154106810688972,
-0.05271713063120842,
-0.03440259397029877,
0.03555174171924591,
-0.01038721390068531,
-0.00896424613893032,
-0.03853234276175499,
0.017695071175694466,
-0.012254578061401844,
-0.006899372208863497,
-0.050454746931791306,
-0.005238495301455259,
0.04208751767873764,
0.04449354484677315,
-0.026753583922982216,
0.04542722553014755,
0.06384949386119843,
-0.018619775772094727,
0.00844802800565958,
-0.021959485486149788,
-0.010180726647377014,
0.011760803870856762,
-0.0007659111288376153,
0.05655958876013756,
-0.01765018329024315,
0.017479605972766876,
0.011276007629930973,
0.032876383513212204,
-0.06331083178520203,
-0.05138842761516571,
-0.04765370115637779,
-0.011617160402238369,
-0.020648740231990814,
-0.009965261444449425,
-0.023772982880473137,
0.04984426125884056,
0.04251844808459282,
0.04815645143389702,
-0.0013758344575762749,
0.015773842111229897,
0.012496976181864738,
-0.01976892352104187,
0.0021490398794412613,
0.028261840343475342,
-0.003115266328677535,
-0.06841017305850983,
0.03628791496157646,
0.001379201072268188,
-0.0010189703898504376,
0.08805340528488159,
-0.08539600670337677,
0.019643235951662064,
-0.023180454969406128,
0.07078028470277786,
-0.02072056196630001,
0.022121084854006767,
0.00556618208065629,
-0.008313361555337906,
0.02242632582783699,
0.05706234276294708,
-0.03777821362018585,
-0.039466023445129395,
-0.03285842761397362,
-0.012353332713246346,
0.06700965017080307,
-0.018996840342879295,
0.04212342947721481,
-0.07512550055980682,
-0.035156723111867905,
-0.005929779261350632,
-0.0582473985850811,
-0.044134434312582016,
-0.04011242091655731,
0.019068662077188492,
-0.057205986231565475,
-0.07440728694200516,
-0.02901596762239933,
-0.03799368068575859,
0.04715094715356827,
-0.06158711016178131,
0.029518719762563705,
0.0006486397469416261,
-0.03354073315858841,
0.0015475332038477063,
-0.05135251581668854,
-0.01387056615203619,
0.03885554149746895,
-0.011006675660610199,
0.010898943059146404,
-0.017614273354411125,
0.011096453294157982,
0.001692298799753189,
0.006625552196055651,
0.03688044473528862,
-0.023575473576784134,
0.006068933755159378,
0.04887466877698898,
0.015154379419982433,
0.011545338667929173,
-0.047438234090805054,
-0.0330200269818306,
-0.08661697059869766,
0.037814125418663025,
0.01870955340564251,
-0.07656193524599075,
-0.008142785169184208,
-0.016590813174843788,
0.03576720878481865,
-0.003023244673386216,
-0.0041948361322283745,
0.009000157006084919,
0.013224170543253422,
0.02858503721654415,
-0.026376519352197647,
0.010028105229139328,
-0.023898670449852943,
-0.028405483812093735,
-0.02109762467443943,
-0.021708110347390175,
0.007150748278945684,
-0.02066669426858425,
-0.009821617975831032,
-0.006549241486936808,
-0.05612865835428238,
0.0237550288438797,
0.0008702770574018359,
-0.04948515444993973,
-0.005974667612463236,
-0.06776377558708191,
0.0755564272403717,
-0.02046918496489525,
-0.07670557498931885,
0.034725792706012726,
0.01193138025701046,
-0.03280456364154816,
0.02678949572145939,
0.03628791496157646,
-0.018458178266882896,
-0.005480893421918154,
0.07993755489587784,
-0.027435889467597008,
0.03688044473528862,
0.021510599181056023,
0.011024631559848785,
-0.012272533029317856,
-0.03495921194553375,
-0.02280339039862156,
-0.014849136583507061,
0.017093565315008163,
0.08230767399072647,
-0.016860144212841988,
0.0602584071457386,
-0.009561263956129551,
0.01312541589140892,
-0.002536203945055604,
-0.050670210272073746,
-0.031906791031360626,
0.05688278749585152,
0.01246106531471014,
0.016527969390153885,
-0.00750536797568202,
0.012254578061401844,
0.05447676032781601,
0.009040556848049164,
0.0002875673526432365,
0.009058511815965176,
-0.05706234276294708,
-0.04108201339840889,
0.05339943617582321,
0.027489757165312767,
-0.032122258096933365,
0.014687538146972656,
-0.0653577521443367,
0.03614427149295807,
-0.02332409843802452,
-0.024329600855708122,
-0.053004417568445206,
0.0347617045044899
]
|
40,329 | pyglove.core.symbolic.base | sym_getattr | Gets a symbolic attribute.
Args:
key: Key of symbolic attribute.
default: Default value if attribute does not exist. If absent,
Returns:
Value of symbolic attribute if found, otherwise the default value
if it's specified.
Raises:
AttributeError if `key` does not exist and `default` is not provided.
| def sym_getattr(
self, key: Union[str, int], default: Any = RAISE_IF_NOT_FOUND
) -> Any:
"""Gets a symbolic attribute.
Args:
key: Key of symbolic attribute.
default: Default value if attribute does not exist. If absent,
Returns:
Value of symbolic attribute if found, otherwise the default value
if it's specified.
Raises:
AttributeError if `key` does not exist and `default` is not provided.
"""
if not self.sym_hasattr(key):
if default is RAISE_IF_NOT_FOUND:
raise AttributeError(
self._error_message(
f'{self.__class__!r} object has no symbolic attribute {key!r}.'
)
)
return default
return self._sym_getattr(key)
| (self, key: Union[str, int], default: Any = (MISSING_VALUE,)) -> Any | [
0.09271904826164246,
-0.0656789019703865,
0.03867369517683983,
0.04793162643909454,
0.03518013656139374,
-0.033241212368011475,
0.03804485499858856,
-0.020769206807017326,
0.017258180305361748,
-0.017817148938775063,
-0.017031099647283554,
0.015162045136094093,
0.06347796320915222,
0.0031529366970062256,
-0.007332106586545706,
0.06822919845581055,
0.016611872240900993,
0.04496210068464279,
0.00084773387061432,
0.042621415108442307,
0.019581396132707596,
0.029171215370297432,
-0.025310833007097244,
-0.06630774587392807,
0.012489472515881062,
0.06808946281671524,
0.03538975119590759,
0.02971271611750126,
0.05715462192893028,
-0.05139024928212166,
-0.007314638700336218,
-0.009292866103351116,
-0.015371657907962799,
0.04052527993917465,
0.00007990151061676443,
0.008847437798976898,
-0.021555257961153984,
0.045695748180150986,
-0.035442154854536057,
-0.053626127541065216,
0.04684862121939659,
0.006345176137983799,
0.07825571298599243,
-0.06864842772483826,
0.00009955277346307412,
-0.0274069681763649,
-0.05939049646258354,
0.007393243722617626,
0.009825633838772774,
-0.06543435156345367,
0.047058235853910446,
-0.013249321840703487,
0.005781839601695538,
-0.005816775374114513,
0.008559218607842922,
-0.008930409327149391,
-0.03773043304681778,
0.03156430274248123,
-0.021712467074394226,
0.01463801134377718,
0.01037586946040392,
-0.036053527146577835,
-0.03310146927833557,
-0.02106615900993347,
-0.011624816805124283,
-0.041957639157772064,
0.005345144774764776,
0.0050743939355015755,
-0.022306371480226517,
-0.016131507232785225,
-0.007493683602660894,
-0.0026027013082057238,
-0.06774010509252548,
-0.02396581321954727,
0.05792320519685745,
-0.05170466750860214,
-0.01558127161115408,
-0.09383698552846909,
0.0026027013082057238,
-0.02448984608054161,
-0.018847748637199402,
-0.021398046985268593,
-0.05442964658141136,
-0.010009045712649822,
-0.060718052089214325,
0.0030088273342698812,
0.062080539762973785,
-0.03526747599244118,
-0.01331045851111412,
0.014332324266433716,
-0.05638603866100311,
0.0061617642641067505,
-0.013467668555676937,
0.03556442633271217,
0.007144327741116285,
-0.053137026727199554,
0.04412364587187767,
-0.012830094434320927,
0.08230824023485184,
-0.03411459922790527,
0.011458872817456722,
-0.039826568216085434,
0.00018177423044107854,
0.02330203726887703,
-0.01190430112183094,
-0.01676034741103649,
-0.012489472515881062,
-0.011729623191058636,
-0.011502542532980442,
-0.009161857888102531,
-0.06019401550292969,
-0.0037708599120378494,
0.014891293831169605,
0.010725225321948528,
0.0022074924781918526,
0.028227955102920532,
0.011869365349411964,
0.0025022614281624556,
0.0011692504631355405,
0.02218409813940525,
-0.06564396619796753,
0.009974109940230846,
0.007646526675671339,
-0.023703796789050102,
0.05275273695588112,
0.03559936210513115,
-0.02611435204744339,
0.001640880829654634,
0.06442122161388397,
0.08391527831554413,
0.016620606184005737,
0.0020557409152388573,
0.024385040625929832,
0.10061448812484741,
-0.0177647452801466,
0.04115412011742592,
0.05114569887518883,
0.10138307511806488,
-0.026149287819862366,
0.028734520077705383,
0.04821110889315605,
-0.04506690800189972,
-0.026131819933652878,
-0.005327676888555288,
-0.02731962874531746,
0.004382232669740915,
0.009065784513950348,
0.005017623770982027,
-0.007410711608827114,
-0.005733803380280733,
0.005991453304886818,
0.04097944498062134,
-0.007393243722617626,
0.028227955102920532,
0.031442027539014816,
0.04866527393460274,
-0.024769330397248268,
0.031546834856271744,
-0.04370442032814026,
-0.010218659415841103,
-0.031878724694252014,
0.010742693208158016,
-0.02405315265059471,
-0.13219626247882843,
0.02773885615170002,
-0.0012161951744928956,
-0.007393243722617626,
0.011921769008040428,
0.04747746139764786,
0.04003618285059929,
-0.0809108167886734,
0.0034411554224789143,
0.007746966555714607,
-0.020000623539090157,
0.04807136952877045,
-0.0034870083909481764,
-0.026341432705521584,
-0.013948033563792706,
0.06145169958472252,
-0.023005085065960884,
0.017258180305361748,
-0.037765368819236755,
-0.04461274296045303,
-0.039127856492996216,
-0.0115287434309721,
0.08705948293209076,
-0.000038859016058268026,
-0.003539411583915353,
-0.0022107677068561316,
0.03926759958267212,
-0.0027817462105304003,
0.030673446133732796,
0.01735425367951393,
0.013258055783808231,
-0.012140116654336452,
-0.0559668093919754,
0.003655135864391923,
0.00876446533948183,
-0.010367135517299175,
0.07357434928417206,
0.04733772203326225,
0.015371657907962799,
-0.015467731282114983,
0.08489347994327545,
-0.03916279226541519,
-0.06592345237731934,
0.027022676542401314,
-0.019162168726325035,
-0.06008920818567276,
0.0063844784162938595,
-0.038114726543426514,
-0.0015186063246801496,
0.0031725880689918995,
-0.003384385025128722,
-0.011834430508315563,
0.04754733294248581,
-0.0067513021640479565,
0.023668861016631126,
-0.0078299380838871,
0.042726222425699234,
0.04377429187297821,
-0.024297701194882393,
0.043739356100559235,
0.02663838490843773,
0.04842072352766991,
-0.025415640324354172,
0.023232165724039078,
0.010646619834005833,
-0.03002713806927204,
-0.009476277977228165,
0.03559936210513115,
-0.005899747367948294,
0.046708881855010986,
-0.014349792152643204,
-0.007026419974863529,
-0.06920740008354187,
0.026813063770532608,
0.040490344166755676,
0.0068779438734054565,
0.007751333527266979,
-0.011913035064935684,
0.03584391251206398,
0.019686203449964523,
0.0645260289311409,
0.004011041950434446,
0.007681462448090315,
0.010533079504966736,
0.03926759958267212,
-0.027599113062024117,
-0.037416014820337296,
0.04908449947834015,
0.011563679203391075,
0.01807916723191738,
-0.002644187305122614,
0.008952244184911251,
0.007572288624942303,
-0.11752331256866455,
-0.016830218955874443,
0.014349792152643204,
0.0027162418700754642,
-0.029398296028375626,
0.04642939567565918,
-0.032140739262104034,
-0.015616207383573055,
0.027337096631526947,
-0.01893508806824684,
-0.003183505265042186,
0.027075080201029778,
0.021013755351305008,
0.0034913751296699047,
-0.024699460715055466,
-0.02040238305926323,
-0.013415265828371048,
-0.018655603751540184,
0.006227268371731043,
0.024804266169667244,
0.03849901631474495,
0.029380828142166138,
0.017319317907094955,
-0.04967840388417244,
-0.02295268140733242,
0.020018091425299644,
-0.018480924889445305,
0.0002846704446710646,
-0.04520665109157562,
0.0481412373483181,
-0.035442154854536057,
-0.03048129938542843,
-0.004497956950217485,
-0.00548052042722702,
0.11710409075021744,
0.03224554657936096,
-0.002952057169750333,
0.02134564332664013,
0.05086621642112732,
-0.013249321840703487,
-0.032053399831056595,
0.007777534890919924,
0.07455254346132278,
0.035197604447603226,
-0.017205776646733284,
0.01574721559882164,
0.021729934960603714,
0.008594154380261898,
-0.02132817544043064,
0.02780872769653797,
0.049538660794496536,
0.0076989298686385155,
-0.020087962970137596,
0.0578533336520195,
0.009921707212924957,
0.03493558615446091,
-0.014061573892831802,
0.039057984948158264,
0.009956642054021358,
-0.004059078637510538,
-0.03352069482207298,
0.007056988775730133,
0.0076989298686385155,
0.08636077493429184,
-0.011607348918914795,
0.014795221388339996,
-0.06760036200284958,
-0.022830406203866005,
-0.007039520889520645,
0.0016048535471782088,
-0.02789606712758541,
-0.031197478994727135,
0.02389594167470932,
0.029765119776129723,
0.03208833560347557,
-0.012541876174509525,
-0.03993137553334236,
-0.018987491726875305,
-0.07161795347929001,
0.014664213173091412,
-0.016026699915528297,
0.00605695741251111,
-0.0021801989059895277,
-0.008781933225691319,
-0.023179762065410614,
-0.02345924638211727,
0.01825384423136711,
-0.045625876635313034,
0.019354315474629402,
-0.029642846435308456,
0.0549536794424057,
-0.007532985880970955,
0.01215758454054594,
-0.044158581644296646,
0.0037861443124711514,
-0.005650831386446953,
-0.01937178336083889,
0.005340777803212404,
-0.0093889394775033,
0.010733959265053272,
0.007493683602660894,
0.012899965979158878,
0.020280107855796814,
-0.015100907534360886,
0.01182569656521082,
0.029887394979596138,
-0.06630774587392807,
-0.027092548087239265,
-0.009222994558513165,
-0.019511524587869644,
-0.020943883806467056,
0.014210049994289875,
0.018131569027900696,
-0.03259490430355072,
-0.03748588636517525,
-0.008450045250356197,
-0.03797498345375061,
0.01037586946040392,
0.02312735840678215,
0.045101843774318695,
0.011581147089600563,
-0.00274026021361351,
0.03825446963310242,
-0.02875198796391487,
0.009450076147913933,
-0.03500545769929886,
-0.001298075425438583,
0.06260456889867783,
0.025118686258792877,
-0.029887394979596138,
-0.03441155329346657,
-0.014314856380224228,
0.00332761462777853,
0.035634297877550125,
-0.030009670183062553,
-0.036647431552410126,
0.01735425367951393,
0.020157834514975548,
0.007620324846357107,
-0.028367696329951286,
0.041433606296777725,
-0.04883994907140732,
-0.036647431552410126,
-0.005663932301104069,
-0.00646745041012764,
0.04269128665328026,
-0.009126922115683556,
0.005842976737767458,
-0.00031059919274412096,
0.04978321120142937,
-0.002007704460993409,
0.0006566798547282815,
-0.04779188334941864,
-0.0177647452801466,
-0.01671667769551277,
0.07979287952184677,
-0.03441155329346657,
-0.041258927434682846,
0.024524781852960587,
0.007934745401144028,
0.05617642402648926,
0.04667394608259201,
0.008698960766196251,
-0.004982687998563051,
-0.02712748385965824,
-0.0662728101015091,
-0.012777690775692463,
0.005497987847775221,
-0.023861005902290344,
-0.013860694132745266,
0.03275211155414581,
0.009921707212924957,
-0.05086621642112732,
0.05240337923169136,
-0.00827100034803152,
0.0041136653162539005,
0.042202189564704895,
-0.008288468234241009,
0.0337827131152153,
-0.017258180305361748,
-0.03643781691789627,
-0.059111014008522034,
-0.021136030554771423,
-0.03636794537305832,
-0.01886521652340889,
0.0021005021408200264,
-0.038708630949258804,
0.04097944498062134,
-0.058656852692365646,
-0.04768707603216171,
0.027703920379281044,
0.08195888996124268,
0.04188776761293411,
-0.07357434928417206,
-0.028961602598428726,
-0.040665023028850555,
0.05505848675966263,
0.016445927321910858,
-0.0158782247453928,
-0.032053399831056595,
-0.034760911017656326,
-0.01211391482502222,
0.05264792963862419,
-0.011022177524864674,
-0.01860320009291172,
0.028053276240825653,
0.0070962910540401936,
-0.06473564356565475,
-0.06920740008354187,
0.03525000810623169,
0.0074631148017942905,
-0.022655729204416275,
-0.001288249739445746,
-0.013118312694132328,
0.015773417428135872,
-0.01614024117588997,
0.00004203187927487306,
-0.03269970789551735,
-0.0010617143707349896,
-0.01361614465713501,
-0.016681743785738945,
-0.004098380915820599,
-0.038289401680231094,
-0.07175769656896591,
0.0333460196852684,
-0.021013755351305008,
-0.028123147785663605,
-0.031284816563129425,
0.025363236665725708,
0.030516235157847404,
-0.005698867607861757,
0.04398390278220177,
-0.0034979255869984627,
-0.010681555606424809,
0.009493745863437653,
0.10431766510009766,
0.034097131341695786,
0.01600923202931881,
0.054324839264154434,
0.03430674597620964,
-0.017223244532942772,
-0.022463582456111908,
0.023616457358002663,
-0.029171215370297432,
-0.029852459207177162,
-0.06910259276628494,
0.019913284108042717,
0.021642595529556274,
-0.028629712760448456,
0.019598864018917084,
-0.060473501682281494,
-0.011074581183493137,
0.05317196249961853,
-0.04733772203326225,
0.04821110889315605,
0.03163417428731918,
0.03353816270828247,
-0.029171215370297432,
0.04506690800189972,
-0.02466452494263649,
0.038953181356191635,
-0.04821110889315605,
0.0011190305231139064,
0.021450450643897057,
0.0323328860104084,
-0.042446739971637726,
-0.05146012082695961,
-0.01625378243625164,
-0.040595151484012604,
-0.006930347066372633,
-0.021957015618681908,
0.0022358775604516268,
-0.004017592407763004,
0.01728438213467598,
-0.009956642054021358,
0.03166911005973816,
-0.0624997653067112,
0.041782964020967484,
0.025625253096222878,
0.03619326651096344,
-0.0105854831635952,
0.04831591621041298,
-0.05600174516439438,
-0.01581708714365959,
0.01989581622183323,
0.010882435366511345,
-0.023598989471793175,
0.0031704045832157135,
0.00024004570150282234,
-0.027459371834993362,
-0.07811596989631653,
0.010629151947796345,
0.052787672728300095,
-0.019092299044132233,
-0.03193112835288048,
0.046464331448078156,
-0.005611528642475605,
-0.042446739971637726,
0.03252503275871277,
0.01658567041158676,
0.036647431552410126,
-0.00925793033093214,
-0.03675223886966705,
0.028367696329951286,
0.01596556417644024,
-0.0076945628970861435,
0.053311705589294434,
-0.05366106331348419,
-0.009851835668087006,
-0.02815808355808258,
-0.003292679088190198,
-0.0442284531891346,
0.04241180419921875,
-0.007729498669505119,
-0.02492654137313366,
0.009729561395943165,
0.05055179446935654,
0.010061449371278286,
0.008563585579395294,
0.01980847865343094,
-0.005026357714086771,
0.006336442194879055,
-0.040665023028850555,
-0.0032686609774827957,
0.032559968531131744,
0.01998315565288067,
-0.013982968404889107,
0.003967372700572014,
0.000820440414827317,
-0.024978945031762123,
0.0028341494034975767,
0.011537477374076843,
-0.05425496771931648,
-0.06008920818567276,
-0.06396705657243729,
-0.06187092512845993,
-0.018655603751540184,
0.0035044760443270206,
0.0008717520977370441,
0.03437661752104759,
-0.021974483504891396,
0.023179762065410614,
0.011939236894249916,
0.02073427103459835,
0.022550921887159348,
-0.01860320009291172,
0.029398296028375626,
0.038429144769907,
0.01989581622183323,
0.07210705429315567,
0.027511775493621826,
-0.005838610231876373,
-0.01190430112183094,
-0.061242084950208664,
-0.041782964020967484,
-0.018987491726875305,
-0.00965095590800047,
0.05760878324508667,
-0.017162106931209564,
0.021729934960603714,
-0.0005000155651941895,
0.0350927971303463,
-0.026952804997563362,
-0.009851835668087006,
-0.025502977892756462,
0.00659409211948514,
-0.029380828142166138,
0.003591815009713173,
0.009878037497401237,
0.06284911930561066,
0.01510964147746563,
0.061486631631851196,
-0.01919710449874401,
0.009703359566628933,
-0.019074831157922745,
0.02857731096446514,
0.03636794537305832,
0.005471786484122276,
-0.019494058564305305,
-0.021118562668561935,
0.07399357110261917,
0.027703920379281044,
0.008506815880537033,
0.09865809977054596,
-0.01594809629023075,
0.021013755351305008,
-0.01066408772021532,
0.06871829926967621,
0.012681618332862854,
0.056560713797807693,
-0.011441404931247234,
-0.0034717239905148745,
0.03294425830245018,
0.026813063770532608,
-0.07203718274831772,
-0.05593187361955643,
-0.044682614505290985,
-0.04667394608259201,
0.06686671078205109,
-0.07818584144115448,
-0.02167753130197525,
-0.07594996690750122,
-0.0034411554224789143,
-0.05159986391663551,
-0.06361770629882812,
-0.034953054040670395,
-0.05058673024177551,
0.018393587321043015,
-0.04653420299291611,
-0.07406344264745712,
-0.055337969213724136,
-0.06281418353319168,
0.062255214899778366,
-0.0648055151104927,
0.06256963312625885,
0.014882559888064861,
0.02237624302506447,
-0.005594060756266117,
-0.04849059507250786,
0.028053276240825653,
0.04779188334941864,
0.012899965979158878,
0.0549536794424057,
-0.009808165952563286,
0.05617642402648926,
0.009974109940230846,
-0.018742943182587624,
0.010602951049804688,
-0.03926759958267212,
-0.012017842382192612,
0.06298886239528656,
0.002229327103123069,
-0.0004268691991455853,
-0.07462241500616074,
-0.032315418124198914,
-0.03996631130576134,
0.01715337298810482,
0.009808165952563286,
-0.0983087420463562,
-0.061311956495046616,
-0.043809227645397186,
0.04328519105911255,
0.03123241476714611,
-0.001345020136795938,
-0.00892604235559702,
-0.0007014410803094506,
0.010655353777110577,
-0.012576811015605927,
0.008100689388811588,
0.000507111893966794,
-0.03285691887140274,
0.004995788913220167,
-0.020716803148388863,
-0.0041071148589253426,
-0.015179513022303581,
-0.03432421386241913,
-0.02714495174586773,
-0.04506690800189972,
0.04517171531915665,
-0.019004959613084793,
-0.08370566368103027,
0.002010979689657688,
-0.05928569287061691,
0.08181914687156677,
-0.00041213075746782124,
-0.03397485986351967,
0.04227206110954285,
-0.009450076147913933,
-0.029974734410643578,
-0.001677999971434474,
-0.006087526213377714,
0.006135562434792519,
-0.012996038421988487,
0.07175769656896591,
0.051844410598278046,
0.03909292072057724,
0.02192208170890808,
0.044577810913324356,
0.005729436408728361,
-0.018673071637749672,
-0.018201440572738647,
-0.00020128903270233423,
0.039477214217185974,
0.09572350978851318,
-0.04241180419921875,
0.08223836869001389,
-0.03505786135792732,
0.007646526675671339,
0.048525530844926834,
0.002013163175433874,
-0.06194079667329788,
0.03752082213759422,
0.03259490430355072,
0.005161732900887728,
-0.01501356903463602,
0.02075173892080784,
0.04635952413082123,
0.013773355633020401,
0.04496210068464279,
-0.01506597176194191,
-0.03804485499858856,
0.011633550748229027,
0.09167098253965378,
0.026813063770532608,
-0.023878473788499832,
0.00403069332242012,
-0.06578370928764343,
0.03703172132372856,
-0.039721760898828506,
-0.02064693160355091,
-0.044333260506391525,
0.02200941927731037
]
|
40,330 | pyglove.core.symbolic.base | sym_gt | Returns if this object is symbolically greater than another object. | def sym_gt(self, other: Any) -> bool:
"""Returns if this object is symbolically greater than another object."""
return gt(self, other)
| (self, other: Any) -> bool | [
0.055068764835596085,
-0.013413538224995136,
-0.0036880916450172663,
0.010112781077623367,
-0.0028671121690422297,
-0.0517343245446682,
-0.05190273001790047,
0.010559056885540485,
0.0075235385447740555,
-0.0413941964507103,
0.0318455770611763,
-0.056314967572689056,
0.06167028099298477,
-0.022768491879105568,
-0.05557398125529289,
0.02809012122452259,
-0.0012977787991985679,
0.025715596973896027,
0.011182159185409546,
-0.0042901430279016495,
-0.011114796623587608,
0.039171237498521805,
-0.0018724643159657717,
-0.05287948623299599,
0.028241686522960663,
0.07234722375869751,
0.005464775022119284,
0.006647827103734016,
-0.043415069580078125,
0.05641601234674454,
-0.04240463301539421,
-0.05884105712175369,
0.03369804099202156,
-0.044021330773830414,
0.023223187774419785,
-0.034270621836185455,
-0.015914367511868477,
0.04930927976965904,
-0.025934524834156036,
-0.017817355692386627,
0.02645658329129219,
-0.053384702652692795,
-0.006424689199775457,
-0.026389220729470253,
-0.012655711732804775,
-0.029302645474672318,
0.0003073409607168287,
0.007906662300229073,
0.02068025805056095,
-0.011796840466558933,
0.041461557149887085,
-0.09275802969932556,
0.027972238138318062,
0.03694827854633331,
-0.07726467400789261,
0.015585975721478462,
0.03157612681388855,
0.04661478102207184,
-0.06409532576799393,
0.032367635518312454,
0.006332065910100937,
0.05476563423871994,
-0.0006267860881052911,
-0.07531116902828217,
0.02009083703160286,
-0.021084431558847427,
-0.07093261182308197,
0.012285218574106693,
-0.032199230045080185,
0.0313066765666008,
-0.06823811680078506,
0.014112423174083233,
-0.01503023598343134,
0.04422341659665108,
-0.0713367834687233,
-0.041832052171230316,
0.009245489723980427,
-0.019013037905097008,
0.010963231325149536,
-0.06951799988746643,
0.007792987860739231,
-0.01965298131108284,
0.026220815256237984,
-0.02150544710457325,
-0.05244163051247597,
-0.007473016623407602,
0.04223622754216194,
0.009439156390726566,
0.0209665484726429,
-0.000504428637214005,
-0.05786430463194847,
0.024890407919883728,
0.03613992780447006,
-0.024688320234417915,
0.023593680933117867,
0.004648005589842796,
-0.003923859912902117,
0.0009830701164901257,
0.009700185619294643,
-0.0226000864058733,
0.06783393770456314,
0.010786404833197594,
0.0006336275837384164,
0.030801458284258842,
0.0032270802184939384,
0.015299685299396515,
0.008281365036964417,
-0.032367635518312454,
-0.04769258201122284,
-0.02172437496483326,
-0.08137378096580505,
0.0364767424762249,
0.016764817759394646,
-0.00751090794801712,
0.03038044273853302,
-0.003041833406314254,
0.026540786027908325,
0.01673113740980625,
0.033613838255405426,
-0.015602816827595234,
-0.019501416012644768,
0.0046606361865997314,
0.040855295956134796,
0.004340664949268103,
-0.026001887395977974,
0.04634533450007439,
0.07490698993206024,
0.005835268180817366,
-0.08568497747182846,
0.03179505467414856,
0.0566180981695652,
-0.004875354003161192,
-0.02226327359676361,
0.09949427098035812,
0.025395626202225685,
-0.0077719371765851974,
0.03479268029332161,
0.046951595693826675,
0.046075884252786636,
-0.017185833305120468,
0.015299685299396515,
-0.01336301676928997,
-0.016377484425902367,
-0.007367762736976147,
-0.05591079592704773,
0.015004974789917469,
-0.1077798455953598,
0.03250236064195633,
0.005031129345297813,
0.00048758802586235106,
-0.0340348556637764,
0.007801408413797617,
0.04590747877955437,
0.0020598159171640873,
-0.03233395516872406,
0.04290984943509102,
-0.0187772698700428,
-0.021320199593901634,
-0.017935240641236305,
0.010929550044238567,
-0.002229274483397603,
0.01232731994241476,
-0.022852694615721703,
-0.02330739051103592,
-0.013497741892933846,
-0.06025566905736923,
0.019282488152384758,
0.006521522533148527,
-0.011140057817101479,
0.07032635062932968,
0.002997627016156912,
-0.023661043494939804,
-0.013632466085255146,
0.00960756279528141,
-0.019568778574466705,
-0.0002954999217763543,
-0.003163927933201194,
0.05200377479195595,
0.014390293508768082,
0.01486183051019907,
0.05254267528653145,
-0.053047891706228256,
-0.06840652227401733,
-0.03637569770216942,
0.006727819796651602,
-0.014078741893172264,
0.010247505269944668,
-0.003500739810988307,
0.0005710016121156514,
0.052340585738420486,
-0.019838226959109306,
-0.006264703348278999,
-0.004416447598487139,
-0.028511136770248413,
0.05432777851819992,
-0.0016640617977827787,
-0.02150544710457325,
0.022465361282229424,
0.03681355342268944,
0.07302084565162659,
-0.01828889176249504,
-0.02211170829832554,
-0.029959429055452347,
-0.03246867656707764,
0.047018956393003464,
-0.01606593281030655,
-0.014609221369028091,
-0.04213518276810646,
-0.024082059040665627,
-0.05264371633529663,
-0.018709907308220863,
-0.01599857024848461,
-0.006740450393408537,
0.029689978808164597,
0.022128548473119736,
0.04418973624706268,
0.0060078841634094715,
-0.006172080058604479,
-0.010710622183978558,
-0.0069467476569116116,
0.08797530084848404,
-0.07093261182308197,
0.009371793828904629,
0.008950779214501381,
0.04745681211352348,
0.025816641747951508,
0.015644917264580727,
0.04186573252081871,
0.002281901426613331,
-0.03462427482008934,
0.05483299493789673,
0.0440886914730072,
0.0576958991587162,
-0.014651322737336159,
-0.018911994993686676,
-0.00626049330458045,
-0.006715189665555954,
0.029218442738056183,
-0.03300757706165314,
0.022684289142489433,
-0.004323824308812618,
0.0625796690583229,
-0.009599142707884312,
0.030296240001916885,
-0.0187772698700428,
-0.07975708693265915,
0.0013135668123140931,
0.006769921630620956,
-0.005119542591273785,
0.016268020495772362,
-0.03420326113700867,
-0.07901609688997269,
-0.03556734696030617,
-0.04806307330727577,
-0.01921512559056282,
-0.022852694615721703,
-0.055607665330171585,
-0.04806307330727577,
0.02133704163134098,
0.024620957672595978,
-0.016082772985100746,
0.039440687745809555,
-0.03142455965280533,
0.03583679720759392,
0.003641780000180006,
0.03954172879457474,
0.0004189099417999387,
-0.0012241011718288064,
-0.0013882970670238137,
0.0026271336246281862,
-0.0010956915793940425,
-0.07126942276954651,
-0.05810007080435753,
-0.005725804250687361,
-0.0034691637847572565,
0.004568012896925211,
0.05291316658258438,
-0.02618713490664959,
-0.039002832025289536,
-0.05847056582570076,
-0.006424689199775457,
-0.05432777851819992,
-0.03455691412091255,
-0.038127120584249496,
-0.051094383001327515,
0.05911050736904144,
-0.045536983758211136,
-0.05362047255039215,
0.005081651266664267,
-0.03499476984143257,
0.02972366102039814,
0.023762088268995285,
0.032906532287597656,
0.028662702068686485,
0.04927559942007065,
-0.008824475109577179,
0.01023908518254757,
-0.012883059680461884,
0.06460054218769073,
0.059043146669864655,
0.030885661020874977,
-0.012908320873975754,
-0.023492638021707535,
0.01232731994241476,
-0.001033591921441257,
0.027837513014674187,
0.02972366102039814,
0.04530121758580208,
-0.012015768326818943,
0.03445586934685707,
0.001964034978300333,
0.010719042271375656,
-0.010390650480985641,
0.010188563726842403,
0.028241686522960663,
0.03150876238942146,
-0.013792452402412891,
-0.03718404471874237,
-0.011013752780854702,
0.0669919103384018,
-0.018053123727440834,
0.004361715633422136,
-0.07355974614620209,
-0.03603888675570488,
-0.027972238138318062,
-0.07126942276954651,
-0.053822558373212814,
-0.0242336243391037,
0.017834195867180824,
0.03211502730846405,
-0.0065004718489944935,
0.011855782940983772,
0.10548952221870422,
0.0010677992831915617,
0.013682988472282887,
0.03637569770216942,
0.013523002155125141,
0.0626133531332016,
-0.017834195867180824,
-0.0538899227976799,
-0.04055216535925865,
0.006555203814059496,
0.018911994993686676,
-0.002869217423722148,
0.00544372433796525,
0.002005083952099085,
-0.0653415322303772,
0.002281901426613331,
0.05247531086206436,
0.03026255965232849,
-0.034758999943733215,
0.0296731386333704,
0.029807863757014275,
-0.010500114411115646,
0.006681508384644985,
0.00364809506572783,
0.015468091703951359,
0.04405501112341881,
0.0014303985517472029,
0.030094154179096222,
0.06278175860643387,
0.014390293508768082,
-0.022128548473119736,
-0.018575182184576988,
-0.03489372506737709,
-0.02101706899702549,
0.004871143959462643,
0.02238115854561329,
-0.06658773869276047,
-0.016419585794210434,
-0.050757572054862976,
-0.015383888967335224,
0.02662498876452446,
-0.001325144781731069,
-0.04877037927508354,
0.020511850714683533,
-0.03147508203983307,
0.02662498876452446,
-0.01018014270812273,
-0.02531142346560955,
0.09134341776371002,
0.028763746842741966,
0.005157433915883303,
0.03128983452916145,
0.012386261485517025,
0.009397055022418499,
-0.01763210818171501,
-0.006963588297367096,
0.054967720061540604,
0.001423030742444098,
0.02574927918612957,
-0.05146487429738045,
-0.04361715540289879,
0.04590747877955437,
-0.05122910812497139,
-0.0024587276857346296,
-0.015712279826402664,
-0.031710851937532425,
-0.05298053100705147,
0.0057215942069888115,
0.0511617437005043,
0.04829884320497513,
-0.021168634295463562,
-0.012908320873975754,
0.008917097933590412,
0.018036283552646637,
0.016394324600696564,
0.035297900438308716,
-0.049848176538944244,
0.0724145844578743,
-0.07201040536165237,
-0.009767548181116581,
-0.07665841281414032,
-0.04523385316133499,
0.008344518020749092,
-0.03075093775987625,
0.03718404471874237,
0.0566180981695652,
0.06574570387601852,
-0.0021450715139508247,
0.027197569608688354,
-0.02499145083129406,
-0.00308182998560369,
-0.03145824372768402,
-0.012504146434366703,
-0.04068689048290253,
-0.005671072285622358,
0.000793087063357234,
-0.03386644646525383,
0.03947436809539795,
-0.019905589520931244,
-0.016057513654232025,
0.05203745514154434,
0.0266755111515522,
0.07645633071660995,
-0.008331887423992157,
-0.012798856943845749,
-0.08784057199954987,
0.021168634295463562,
0.046513739973306656,
0.031340356916189194,
0.00647942116484046,
0.00763721251860261,
-0.007712995167821646,
-0.030464647337794304,
-0.005995254032313824,
0.0506228469312191,
0.00007920344796730205,
0.06783393770456314,
-0.025345103815197945,
0.007927712984383106,
0.003410221543163061,
0.024570437148213387,
-0.010533795692026615,
-0.001873516826890409,
-0.07288611680269241,
-0.013059886172413826,
-0.06756448745727539,
-0.03147508203983307,
0.03627465292811394,
-0.05557398125529289,
0.02558087185025215,
-0.030969863757491112,
0.008706590160727501,
-0.08453981578350067,
0.03664514794945717,
-0.011721057817339897,
-0.012630450539290905,
0.011611593887209892,
0.01641116477549076,
0.0283090490847826,
-0.01926564797759056,
-0.02345895767211914,
0.004930085968226194,
-0.046951595693826675,
0.040147993713617325,
-0.03570207208395004,
0.023762088268995285,
-0.04981449618935585,
-0.04648005962371826,
0.025176698341965675,
-0.03125615417957306,
0.002357684075832367,
-0.011476869694888592,
0.05412568897008896,
0.014634481631219387,
-0.05159959942102432,
0.015131279826164246,
0.0043280343525111675,
-0.04109106585383415,
-0.01439871359616518,
-0.028460614383220673,
-0.00830241572111845,
0.04981449618935585,
0.01355668343603611,
0.03076777793467045,
0.01938353106379509,
0.004837462678551674,
-0.009220228530466557,
0.02221275307238102,
-0.023256869986653328,
0.053216297179460526,
-0.019686661660671234,
-0.006761501077562571,
0.057999029755592346,
0.00751511799171567,
0.05149855837225914,
-0.013211451470851898,
-0.039609093219041824,
0.028679542243480682,
0.022785332053899765,
-0.06823811680078506,
0.04422341659665108,
0.04018167406320572,
0.053047891706228256,
-0.002422941382974386,
-0.003803870640695095,
-0.05261003598570824,
0.02030976489186287,
-0.016023831441998482,
0.045267533510923386,
-0.05783062428236008,
-0.05601183697581291,
-0.07686050236225128,
0.013893495313823223,
-0.05968308821320534,
-0.013464060612022877,
0.01130004320293665,
0.03496108576655388,
-0.023661043494939804,
0.030397284775972366,
0.005548977758735418,
0.009077083319425583,
0.008049807511270046,
-0.03523053601384163,
0.07261666655540466,
-0.054967720061540604,
0.04617692530155182,
-0.014634481631219387,
0.017227934673428535,
0.012369421310722828,
-0.035904161632061005,
0.059211552143096924,
-0.0019892959389835596,
-0.014129264280200005,
0.024907248094677925,
-0.05739276856184006,
-0.009321272373199463,
-0.003690196666866541,
0.01273991446942091,
-0.03560103103518486,
0.007877190597355366,
0.0011220050510019064,
-0.017034268006682396,
0.0020987598691135645,
0.054193053394556046,
-0.01606593281030655,
0.08898573368787766,
0.06392692029476166,
0.0397438183426857,
0.00936337374150753,
0.019518256187438965,
0.07888137549161911,
-0.04769258201122284,
-0.03745349496603012,
-0.00836135819554329,
0.007666683290153742,
-0.01736265979707241,
0.02918476052582264,
0.05567502602934837,
0.022078027948737144,
-0.0039428058080375195,
-0.008773952722549438,
-0.01148528978228569,
0.04873669892549515,
0.03843025118112564,
-0.029858384281396866,
0.057999029755592346,
-0.06658773869276047,
-0.04294353350996971,
-0.022010665386915207,
0.05722435936331749,
0.010609578341245651,
-0.0018556236755102873,
0.013506161980330944,
-0.03765558451414108,
0.00014932877093087882,
0.029689978808164597,
-0.015695439651608467,
-0.027365976944565773,
-0.05395728349685669,
-0.0242167841643095,
0.02189278043806553,
-0.03876706212759018,
0.0001657746615819633,
-0.009860171936452389,
-0.018861472606658936,
0.01167895644903183,
-0.03779030963778496,
0.031929779797792435,
0.07382919639348984,
0.021926462650299072,
0.017101630568504333,
-0.047726262360811234,
0.045705389231443405,
-0.0012493620160967112,
-0.01572912186384201,
-0.025075653567910194,
-0.024183101952075958,
-0.03352963551878929,
0.03816080093383789,
0.023930493742227554,
0.005940522067248821,
0.021320199593901634,
-0.003452323144301772,
0.0085087139159441,
0.020343445241451263,
0.004069109912961721,
-0.015956468880176544,
0.006386797875165939,
-0.03221606835722923,
0.00760774128139019,
0.0017061633989214897,
0.04307825490832329,
0.02270112931728363,
-0.04008062928915024,
0.039777498692274094,
-0.038194481283426285,
0.028073281049728394,
-0.021421244367957115,
-0.0266755111515522,
-0.046749506145715714,
0.0691138282418251,
-0.0321318656206131,
-0.06904646009206772,
-0.0631859302520752,
-0.007544589228928089,
0.031929779797792435,
-0.0023408434353768826,
0.05995253846049309,
-0.08029598742723465,
0.0402827151119709,
-0.039070192724466324,
0.051094383001327515,
-0.03341175243258476,
0.012099971994757652,
-0.0007473016739822924,
0.019029878079891205,
0.011594753712415695,
-0.010845347307622433,
-0.0288479495793581,
0.06278175860643387,
0.00038496562046930194,
-0.02465463988482952,
-0.036880914121866226,
-0.004753259476274252,
-0.0008109801565296948,
-0.010727462358772755,
0.010500114411115646,
-0.04321298003196716,
0.03654410317540169,
-0.04775994271039963,
-0.015316526405513287,
-0.0022040135227143764,
0.02069709822535515,
0.012975682504475117,
-0.00015735435590613633,
-0.035735756158828735,
-0.01818784885108471,
-0.04893878474831581,
-0.005692122969776392,
0.0490061491727829,
0.006950958166271448,
-0.0838661938905716,
-0.02579979971051216,
-0.019686661660671234,
0.004094371106475592,
0.05308157205581665,
-0.018002601340413094,
-0.05432777851819992,
0.026911279186606407,
0.020343445241451263,
-0.035297900438308716,
0.006268913391977549,
-0.006942537613213062,
0.011796840466558933,
-0.022448521107435226,
0.07214513421058655,
-0.003530210815370083,
-0.039440687745809555,
0.010196983814239502,
-0.02972366102039814,
0.03211502730846405,
-0.0011704217176884413,
-0.024368349462747574,
0.02558087185025215,
0.00195666728541255,
0.03782398998737335,
0.04506544768810272,
-0.038362886756658554,
-0.00017656317504588515,
-0.03324334695935249,
0.024536754935979843,
0.02292005717754364,
0.02231379598379135,
0.02618713490664959,
-0.01437345240265131,
-0.009725446812808514,
0.06510575860738754,
-0.03103722631931305,
-0.04274144396185875,
0.015417570248246193,
0.004016483202576637,
-0.05527085065841675,
-0.02465463988482952,
0.0001639327238081023,
0.01232731994241476,
0.05432777851819992,
0.004555382300168276,
0.05018499121069908,
-0.022717969492077827,
-0.010390650480985641,
0.07039371132850647,
-0.018086805939674377,
-0.017034268006682396,
0.038127120584249496,
0.029959429055452347,
-0.03440534695982933,
-0.03674618899822235,
-0.03957541286945343,
-0.012462044134736061,
0.04206782206892967,
-0.00025155648472718894,
0.0446612723171711,
-0.036880914121866226,
0.029858384281396866,
-0.061703961342573166,
-0.028763746842741966,
0.04388660565018654,
0.09491362422704697,
0.027130207046866417,
0.018373094499111176,
0.0430108942091465,
-0.043549794703722,
0.03390013054013252,
-0.02743333764374256,
-0.041562601923942566,
0.06756448745727539,
-0.016815340146422386,
-0.017446862533688545,
0.056483373045921326,
0.0008988670888356864,
0.05570870637893677,
-0.050757572054862976,
0.08245158195495605,
0.12266693264245987,
-0.015004974789917469,
-0.007123574148863554,
-0.020511850714683533,
-0.0266755111515522,
-0.04981449618935585,
0.021101271733641624,
0.00460169417783618,
0.020612895488739014,
-0.026220815256237984,
0.003932280465960503,
-0.041293151676654816,
0.07322293519973755
]
|
40,331 | pyglove.core.symbolic.base | sym_has | Returns True if a path exists in the sub-tree.
Args:
path: A KeyPath object or equivalence.
Returns:
True if the path exists in current sub-tree, otherwise False.
| def sym_has(self, path: Union[object_utils.KeyPath, str, int]) -> bool:
"""Returns True if a path exists in the sub-tree.
Args:
path: A KeyPath object or equivalence.
Returns:
True if the path exists in current sub-tree, otherwise False.
"""
return object_utils.KeyPath.from_value(path).exists(self)
| (self, path: Union[pyglove.core.object_utils.value_location.KeyPath, str, int]) -> bool | [
0.06617864966392517,
-0.056829605251550674,
-0.020361315459012985,
0.048005785793066025,
0.02592872641980648,
0.01936338283121586,
-0.014347461983561516,
0.005090328864753246,
-0.005278535187244415,
-0.0032564098946750164,
0.023810308426618576,
-0.013568374328315258,
0.07073061913251877,
-0.03942706808447838,
-0.06271214783191681,
-0.02731182426214218,
0.04772566258907318,
0.014636336825788021,
-0.007528259418904781,
-0.025631096214056015,
-0.014592567458748817,
0.02785455994307995,
0.06586351245641708,
-0.026418937370181084,
-0.012719256803393364,
0.035050176084041595,
0.03119850717484951,
0.015380408614873886,
0.01365591213107109,
-0.021411770954728127,
-0.06204686313867569,
0.03216142579913139,
0.0012255306355655193,
0.0036284460220485926,
0.026699058711528778,
0.017656395211815834,
0.002029784955084324,
0.000708509876858443,
0.003219206351786852,
-0.0387967973947525,
0.0077077122405171394,
0.061766743659973145,
-0.004893368575721979,
-0.0014662598259747028,
0.039882268756628036,
0.017901500687003136,
-0.019520951434969902,
0.043068647384643555,
0.024843255057930946,
0.01364715863019228,
0.03347449377179146,
-0.050421830266714096,
-0.022637300193309784,
-0.03559290990233421,
-0.03907691687345505,
-0.01679852232336998,
0.033211879432201385,
0.039882268756628036,
0.015284117311239243,
-0.006416528020054102,
0.008596221916377544,
0.009462847374379635,
-0.0024773224722594023,
-0.02281237579882145,
-0.005781878251582384,
-0.03142610564827919,
-0.006981147453188896,
-0.05861537903547287,
-0.01708739809691906,
0.0009229777497239411,
-0.05147228389978409,
-0.003665649564936757,
-0.011178589425981045,
0.03575047850608826,
0.0018426728202030063,
-0.053258057683706284,
0.03191631659865379,
-0.006490935105830431,
0.018172867596149445,
-0.006258959881961346,
-0.021744413301348686,
-0.10294456779956818,
-0.02293493039906025,
-0.0066572572104632854,
-0.065303273499012,
0.11772096902132034,
0.10665617883205414,
-0.009541630744934082,
0.023337604478001595,
0.057634953409433365,
-0.012404120527207851,
0.033299416303634644,
0.0128505639731884,
0.0026742827612906694,
0.04187813028693199,
-0.06624868512153625,
0.05399337783455849,
-0.05077198147773743,
-0.009918044321238995,
-0.019941134378314018,
0.022077057510614395,
-0.05196249857544899,
0.03209139406681061,
0.015774330124258995,
0.02729431726038456,
0.07472234964370728,
-0.012579196132719517,
-0.010574578307569027,
0.002233310602605343,
-0.034927621483802795,
-0.01725371927022934,
0.05756492167711258,
0.03851667419075966,
0.0049546449445188046,
0.011283635161817074,
-0.040197402238845825,
0.025613589212298393,
-0.0066003575921058655,
-0.03324689343571663,
-0.017113659530878067,
0.010171904228627682,
0.06386765092611313,
0.02501833252608776,
0.015529223717749119,
0.05861537903547287,
0.011484972201287746,
0.005917562171816826,
0.026226354762911797,
-0.004508201964199543,
-0.0020527637097984552,
0.046044934540987015,
0.010714638978242874,
0.008556829765439034,
0.04516955465078354,
-0.025263438001275063,
0.036976009607315063,
0.037221115082502365,
-0.015511715784668922,
-0.02603377215564251,
0.026646535843610764,
0.0230574831366539,
-0.03981223702430725,
-0.030480695888400078,
-0.017919007688760757,
0.0008228562655858696,
0.055464014410972595,
-0.05886048451066017,
-0.0014782962389290333,
-0.0036021845880895853,
0.026664044708013535,
-0.047550588846206665,
-0.05766996741294861,
0.023950370028614998,
0.04236834496259689,
-0.03454245626926422,
0.01055707037448883,
-0.004042062442749739,
0.020133716985583305,
0.006587226875126362,
-0.029307689517736435,
0.014907704666256905,
0.004976529628038406,
-0.011047283187508583,
-0.020571406930685043,
-0.06470801681280136,
0.0009486919734627008,
-0.05073696747422218,
0.012386612594127655,
-0.012290321290493011,
0.05805513635277748,
0.025193408131599426,
-0.047760676592588425,
-0.06274716556072235,
-0.0069505092687904835,
-0.006797317881137133,
-0.050526876002550125,
0.01857554167509079,
0.04576481506228447,
-0.00760266650468111,
-0.0001616715599084273,
0.029850423336029053,
-0.05630437657237053,
-0.02226964198052883,
0.0070993234403431416,
0.01587062142789364,
0.05329307168722153,
-0.004193065222352743,
-0.023477664217352867,
0.05560407415032387,
0.05332808941602707,
-0.07024040818214417,
0.009384063072502613,
0.04572979733347893,
0.04944140464067459,
0.005576163996011019,
-0.05308298394083977,
0.04905623942613602,
-0.0031097838655114174,
-0.0700303167104721,
0.045029494911432266,
0.07514253258705139,
-0.05388833209872246,
0.01187889277935028,
0.013384545221924782,
-0.01067086961120367,
-0.022059550508856773,
0.028397293761372566,
0.023722771555185318,
0.02993796207010746,
0.04037247970700264,
-0.05605927109718323,
-0.075632743537426,
0.04671022295951843,
-0.012412874028086662,
0.0360305979847908,
0.030603250488638878,
-0.02869492396712303,
0.012290321290493011,
-0.001994769787415862,
0.007112454157322645,
0.09103941172361374,
0.03268665075302124,
0.015818098559975624,
0.021972013637423515,
-0.0052303895354270935,
-0.037326160818338394,
-0.017743932083249092,
0.0534331351518631,
-0.020623929798603058,
-0.026103802025318146,
0.03872676566243172,
0.06561841070652008,
0.010128134861588478,
-0.03981223702430725,
-0.047865722328424454,
-0.005085952114313841,
0.006035738158971071,
0.0667739063501358,
0.04692031443119049,
0.009515369310975075,
0.02774951420724392,
0.006372759118676186,
-0.03324689343571663,
-0.027696991339325905,
-0.047865722328424454,
-0.002930331276729703,
0.02121918648481369,
-0.00022773531964048743,
0.0056374408304691315,
-0.023215051740407944,
0.009462847374379635,
-0.02487827092409134,
-0.03272166848182678,
-0.026646535843610764,
0.018978215754032135,
-0.048250891268253326,
-0.06299227476119995,
-0.03186379373073578,
0.0010094214230775833,
0.028712430968880653,
-0.0685596838593483,
0.02475571818649769,
0.05423848330974579,
0.05745987594127655,
-0.02615632489323616,
-0.012789286673069,
0.008604975417256355,
0.01601068116724491,
-0.06561841070652008,
-0.055113863199949265,
-0.01496898103505373,
-0.021954504773020744,
-0.008119139820337296,
0.026576505973935127,
0.05206754431128502,
0.014470014721155167,
0.014890196733176708,
0.021516814827919006,
-0.005536772310733795,
-0.003400847315788269,
-0.027924589812755585,
-0.0015527034411206841,
0.031496137380599976,
-0.0335095077753067,
-0.05423848330974579,
0.017945269122719765,
-0.022217119112610817,
0.02214708924293518,
-0.031128477305173874,
-0.007195615209639072,
0.040547553449869156,
0.00023553165374323726,
-0.0054361033253371716,
0.025438513606786728,
0.065303273499012,
0.0927201434969902,
0.00043167127296328545,
-0.019888611510396004,
-0.003643765114247799,
0.014505029655992985,
0.033316925168037415,
0.055008817464113235,
-0.039742205291986465,
-0.03359704464673996,
0.045484691858291626,
0.005182243417948484,
0.02442307397723198,
0.07941438257694244,
-0.00358248851262033,
0.043418798595666885,
-0.04933635890483856,
0.013480836525559425,
-0.022882407531142235,
0.038586705923080444,
0.035260267555713654,
-0.028484832495450974,
-0.06568843871355057,
-0.07167603075504303,
-0.0557091198861599,
0.039952296763658524,
-0.03039315901696682,
0.020553898066282272,
-0.05049186199903488,
-0.02295243740081787,
-0.024002892896533012,
-0.04278852418065071,
0.03004300780594349,
-0.04320870712399483,
-0.0023613348603248596,
0.025631096214056015,
0.03168871998786926,
-0.025263438001275063,
0.08172538131475449,
-0.026226354762911797,
-0.006661633960902691,
0.0004166256985627115,
0.006302728783339262,
0.02878246083855629,
-0.0023657118435949087,
0.06561841070652008,
0.03886682912707329,
0.004407533444464207,
-0.004059569910168648,
-0.02064143680036068,
-0.006364005152136087,
-0.03571546450257301,
-0.03921698033809662,
0.040092356503009796,
0.0040639471262693405,
0.05003666505217552,
-0.012036461383104324,
0.018645573407411575,
-0.0016971409786492586,
-0.016649708151817322,
0.0008917923551052809,
0.006127653177827597,
0.021954504773020744,
0.050421830266714096,
0.00544485729187727,
-0.007663942873477936,
0.12010199576616287,
0.04093272238969803,
-0.056234344840049744,
-0.026646535843610764,
-0.053643226623535156,
-0.023652739822864532,
-0.05126219242811203,
0.04012737423181534,
-0.03568044677376747,
-0.0018853475339710712,
0.0009651053696870804,
-0.0332644023001194,
-0.006985524203628302,
-0.013060654513537884,
0.032178930938243866,
0.043628890067338943,
0.021831952035427094,
0.010627101175487041,
0.023337604478001595,
-0.020904051139950752,
0.04716541990637779,
0.041457947343587875,
0.005055313464254141,
0.014995242469012737,
0.06260710209608078,
0.031128477305173874,
0.04688530042767525,
-0.03247655928134918,
0.033562030643224716,
-0.016028190031647682,
-0.004495071247220039,
0.01266673393547535,
-0.02064143680036068,
-0.01710490509867668,
-0.04418913275003433,
-0.06022607535123825,
0.056829605251550674,
-0.007388198748230934,
0.0025867449585348368,
0.035487864166498184,
0.05742486193776131,
-0.028607385233044624,
0.012281566858291626,
0.017052382230758667,
0.010285703465342522,
0.008600598201155663,
-0.008224185556173325,
0.005493003409355879,
-0.03118100017309189,
-0.008451784029603004,
-0.012088984251022339,
-0.021481800824403763,
-0.020466361194849014,
0.01692107506096363,
-0.04923131316900253,
-0.014119863510131836,
0.010452025569975376,
0.009725460782647133,
0.005633063614368439,
-0.006477804388850927,
-0.004199630580842495,
0.0026852251030504704,
-0.057634953409433365,
0.016352079808712006,
0.005471118725836277,
-0.01915329322218895,
-0.0483909510076046,
0.005449234042316675,
0.039497099816799164,
0.0461149662733078,
-0.04068761691451073,
-0.0650581642985344,
0.09734214097261429,
0.013113177381455898,
-0.027574438601732254,
-0.021814445033669472,
-0.0192758459597826,
-0.09965314716100693,
-0.03788640350103378,
-0.01644837111234665,
0.002040727296844125,
0.031058447435498238,
-0.05245270952582359,
-0.02809966541826725,
0.007589535787701607,
-0.004626377951353788,
-0.0090076494961977,
0.04527460038661957,
0.10707636177539825,
-0.012001446448266506,
-0.05654948204755783,
-0.007869657129049301,
-0.003293613437563181,
-0.022777361795306206,
-0.030025498941540718,
-0.03405224159359932,
0.010880961082875729,
-0.005799385719001293,
-0.03718610107898712,
0.022637300193309784,
-0.07024040818214417,
0.03900688886642456,
-0.005865039303898811,
-0.03844664618372917,
0.018645573407411575,
-0.024002892896533012,
-0.01584435999393463,
0.03977722302079201,
0.04769064858555794,
-0.023127513006329536,
-0.010915976017713547,
0.002980665536597371,
-0.06894484907388687,
0.0033373823389410973,
0.06033112108707428,
-0.01880314014852047,
-0.006460296921432018,
0.025053346529603004,
-0.11653044819831848,
-0.017752686515450478,
0.02029128558933735,
-0.03645078092813492,
-0.004919630009680986,
-0.025421006605029106,
0.035382818430662155,
-0.02475571818649769,
-0.012719256803393364,
0.04086269065737724,
-0.0020472926553338766,
-0.05126219242811203,
0.06383263319730759,
-0.02247973345220089,
-0.03429735079407692,
0.035855524241924286,
0.04236834496259689,
-0.004306864459067583,
-0.027942096814513206,
-0.0010526432888582349,
-0.020571406930685043,
-0.006328990217298269,
-0.04103776812553406,
0.05413343757390976,
0.04727046564221382,
0.08858835697174072,
-0.02214708924293518,
0.032511577010154724,
-0.0076508126221597195,
-0.0018328247824683785,
0.014434999786317348,
0.006976770702749491,
0.014933966100215912,
-0.00922649446874857,
0.021726906299591064,
0.028817476704716682,
0.05826522409915924,
0.06274716556072235,
-0.024633165448904037,
-0.054413557052612305,
-0.012036461383104324,
0.007589535787701607,
-0.007147469557821751,
-0.03041066601872444,
0.025315960869193077,
-0.052942920476198196,
-0.019906118512153625,
-0.017236212268471718,
-0.04338378459215164,
-0.038936857134103775,
0.020116209983825684,
0.014776397496461868,
0.009497862309217453,
0.016658462584018707,
-0.03272166848182678,
0.0428585559129715,
0.03440239280462265,
0.04933635890483856,
0.010364486835896969,
-0.004365952685475349,
-0.024843255057930946,
-0.005348565522581339,
0.023127513006329536,
-0.007541390135884285,
0.000517567852512002,
0.008565583266317844,
0.02097408100962639,
0.038236554712057114,
-0.01044327113777399,
-0.08900853246450424,
0.08123517036437988,
0.004665770102292299,
0.0014520349213853478,
0.028047142550349236,
0.02890501357614994,
-0.03336944803595543,
0.07766362279653549,
0.014618828892707825,
0.022409701719880104,
-0.0038538561202585697,
-0.013480836525559425,
0.00912144873291254,
-0.020326299592852592,
-0.042473386973142624,
0.022794868797063828,
-0.04706037417054176,
-0.021726906299591064,
-0.06239701434969902,
-0.054168451577425,
-0.05791507288813591,
0.08837826550006866,
0.004941514227539301,
0.009874274954199791,
0.01123111229389906,
0.007388198748230934,
-0.02272483892738819,
-0.01084594614803791,
0.009305278770625591,
-0.020921558141708374,
0.04002232849597931,
-0.030323129147291183,
-0.009401570074260235,
-0.02993796207010746,
0.03531279042363167,
-0.005663702264428139,
0.0761229544878006,
0.002547352807596326,
0.0056549482978880405,
0.002608629409223795,
0.02200702764093876,
-0.07171104848384857,
-0.017962776124477386,
-0.03095340169966221,
-0.03499765321612358,
0.03673090413212776,
-0.008784428238868713,
0.021761922165751457,
-0.01531913224607706,
0.007073062472045422,
-0.005926315672695637,
0.0007128867437131703,
-0.03144361451268196,
-0.01531913224607706,
-0.02384532429277897,
0.0035737347789108753,
-0.041598010808229446,
-0.012841809540987015,
0.025263438001275063,
0.06491810828447342,
0.012684241868555546,
-0.03396470472216606,
-0.04418913275003433,
-0.004683277569711208,
0.009541630744934082,
0.02500082366168499,
0.00945409294217825,
0.011222358793020248,
0.004173369146883488,
-0.0004390572721604258,
-0.0037991448771208525,
-0.0781538337469101,
-0.011108559556305408,
-0.03701102361083031,
-0.035050176084041595,
0.009471600875258446,
0.002807778073474765,
-0.037571266293525696,
0.030445681884884834,
0.07276149839162827,
0.04828590527176857,
-0.01232533622533083,
-0.07542265206575394,
0.009576646611094475,
-0.024633165448904037,
-0.013043146580457687,
-0.0038254063110798597,
0.020256269723176956,
-0.07577280700206757,
-0.016597185283899307,
-0.010495794005692005,
0.03970719128847122,
0.08312598615884781,
-0.09419077634811401,
-0.02592872641980648,
-0.10245435684919357,
0.04254341870546341,
-0.004902122542262077,
0.06519822776317596,
-0.00456072436645627,
-0.015415424481034279,
0.02407292276620865,
0.025385990738868713,
0.0010674152290448546,
-0.006556588690727949,
-0.03462999314069748,
0.0015209709526970983,
0.07192113995552063,
0.010592086240649223,
0.03144361451268196,
-0.04194816201925278,
-0.06054121255874634,
0.018645573407411575,
0.026996688917279243,
-0.04275351017713547,
-0.07038047164678574,
0.0037247375585138798,
0.0046920315362513065,
-0.0030309997964650393,
0.025385990738868713,
-0.019065754488110542,
0.02753942273557186,
0.008224185556173325,
0.007423213683068752,
0.0073006609454751015,
-0.047305479645729065,
-0.038586705923080444,
-0.03841162845492363,
-0.0006844369345344603,
-0.011388680897653103,
-0.022112073376774788,
0.00854369904845953,
-0.033562030643224716,
-0.06540831923484802,
-0.012062722817063332,
0.01936338283121586,
0.03533029556274414,
-0.020361315459012985,
0.036065615713596344,
0.0514022558927536,
-0.0013644970022141933,
0.004013612866401672,
-0.07297158986330032,
-0.03179376572370529,
-0.07892417162656784,
0.025035839527845383,
0.08543699234724045,
-0.01508278027176857,
0.013261991553008556,
0.015476700849831104,
0.028467325493693352,
-0.008294216357171535,
-0.037326160818338394,
0.01021567266434431,
0.02808215841650963,
0.029797900468111038,
0.0032782943453639746,
-0.010802176780998707,
0.010049350559711456,
-0.02339012734591961,
-0.01742004230618477,
0.0042105731554329395,
0.03202136233448982,
-0.07976453751325607,
-0.005462364759296179,
0.028712430968880653,
-0.08277583867311478,
0.03027060627937317,
-0.05886048451066017,
0.020273776724934578,
-0.014653844758868217,
0.016868554055690765,
-0.024843255057930946,
0.03235400840640068,
-0.03142610564827919,
-0.02696167305111885,
0.006622242275625467,
-0.05024675279855728,
0.015511715784668922,
0.035838015377521515,
-0.03216142579913139,
0.0006992089911364019,
0.020028671249747276,
-0.033789630979299545,
0.023267574608325958,
-0.032389022409915924,
0.06379762291908264,
-0.00155598612036556,
-0.0010958650382235646,
-0.021604353561997414,
0.021516814827919006,
-0.015231594443321228,
0.053258057683706284,
0.054063405841588974,
0.0009344670688733459,
0.030463188886642456,
-0.06708904355764389,
0.007672696840018034,
-0.040092356503009796,
-0.008618106134235859,
0.013708434998989105,
0.007195615209639072,
0.010399502702057362,
0.040547553449869156,
0.03084835596382618,
0.03051571175456047,
-0.009445339441299438,
0.011257373727858067,
0.0740920752286911,
-0.09370056539773941,
-0.0012058345600962639,
0.021026603877544403,
0.011371172964572906,
-0.07675322890281677,
-0.030218083411455154,
-0.01939839869737625,
-0.0009612755384296179,
0.06078631803393364,
-0.00862685963511467,
-0.042963601648807526,
0.05721477046608925
]
|
40,332 | pyglove.core.symbolic.object | sym_hasattr | Tests if a symbolic attribute exists. | def sym_hasattr(self, key: Union[str, int]) -> bool:
"""Tests if a symbolic attribute exists."""
if key == '_sym_attributes':
raise ValueError(
f'{self.__class__.__name__}.__init__ should call `super().__init__`.')
return (
isinstance(key, str)
and not key.startswith('_')
and key in self._sym_attributes
)
| (self, key: Union[str, int]) -> bool | [
0.06245867535471916,
-0.03003697656095028,
0.03513957932591438,
0.04218854010105133,
0.02086631767451763,
-0.0010356444399803877,
0.03135208040475845,
0.030948782339692116,
0.0033995439298450947,
0.016614148393273354,
-0.007176084443926811,
0.012204165570437908,
0.1263902634382248,
0.02360173501074314,
-0.02944079600274563,
-0.0026345918886363506,
0.03791006654500961,
0.02581110969185829,
-0.031404685229063034,
-0.024373261258006096,
-0.0252324640750885,
0.06445763260126114,
-0.02084878273308277,
-0.02235676907002926,
0.024303123354911804,
0.09847499430179596,
0.023145832121372223,
0.057724300771951675,
0.04755416512489319,
0.007272525690495968,
-0.056146178394556046,
-0.0033578991424292326,
0.05540971830487251,
0.03563055396080017,
0.057057980448007584,
-0.028581595048308372,
-0.0029567922465503216,
0.0032811847049742937,
-0.03280746191740036,
-0.03885694220662117,
0.06123124435544014,
0.03668263554573059,
0.017613627016544342,
-0.008828732185065746,
0.01283541601151228,
-0.00628619734197855,
-0.03128194063901901,
0.04313541203737259,
-0.03301788121461868,
-0.053375691175460815,
0.01804322749376297,
-0.007662673015147448,
0.04334583133459091,
0.009442447684705257,
-0.01863940805196762,
0.008136110380291939,
-0.014948349446058273,
0.030913712456822395,
-0.03271979093551636,
0.02244444377720356,
-0.03889201208949089,
0.020550692453980446,
0.006448393687605858,
-0.08220276981592178,
-0.010555901564657688,
-0.061546869575977325,
-0.05677742511034012,
-0.010433158837258816,
0.008285155519843102,
-0.007618836127221584,
-0.028125692158937454,
-0.014360936358571053,
-0.034718748182058334,
0.05628645420074463,
0.0065886713564395905,
-0.06698263436555862,
-0.011134548112750053,
-0.03892708197236061,
0.007149782497435808,
-0.04320555180311203,
-0.013536804355680943,
-0.039032287895679474,
-0.046116314828395844,
-0.01578124798834324,
-0.0829041600227356,
0.06684235483407974,
0.036331940442323685,
-0.013773523271083832,
-0.00476067652925849,
0.048430901020765305,
-0.06887638568878174,
0.05646179988980293,
0.0014027777360752225,
0.0076276035979390144,
0.043415967375040054,
-0.0071980031207203865,
0.05569027364253998,
-0.012283071875572205,
0.06003888323903084,
-0.054953817278146744,
0.02738923393189907,
-0.07778402417898178,
0.021181942895054817,
0.04050520434975624,
-0.029125170782208443,
0.018832290545105934,
-0.045134373009204865,
-0.042434025555849075,
-0.032561976462602615,
-0.017867879942059517,
-0.035262323915958405,
0.012090190313756466,
0.04976353794336319,
0.008302690461277962,
0.007342664524912834,
-0.0436614565551281,
0.03812048211693764,
-0.0010476995958015323,
0.0012920896988362074,
-0.017096353694796562,
0.014930814504623413,
0.03392968326807022,
0.0028647349681705236,
-0.011476474814116955,
0.04541492834687233,
0.0062072910368442535,
0.002266362775117159,
0.033158157020807266,
0.05474339798092842,
0.049518052488565445,
0.002939257537946105,
0.005058766808360815,
0.032018400728702545,
0.0703492984175682,
-0.030317531898617744,
0.008833115920424461,
0.034736283123493195,
0.07006874680519104,
-0.05972325801849365,
-0.00018644340161699802,
0.05298992618918419,
-0.02186579629778862,
-0.019025173038244247,
-0.011949912644922733,
-0.053691316395998,
0.030212324112653732,
-0.09216248989105225,
0.005931119434535503,
0.01590399257838726,
-0.019551213830709457,
-0.020971525460481644,
-0.01562343630939722,
0.009994790889322758,
0.043415967375040054,
0.0079651465639472,
0.02070850506424904,
-0.04253923147916794,
0.034192707389593124,
0.0018597763264551759,
-0.021444963291287422,
-0.007347048260271549,
0.0032373478170484304,
-0.04331076145172119,
-0.10359513014554977,
-0.022760067135095596,
-0.014518748968839645,
-0.021532637998461723,
-0.05593575909733772,
0.03791006654500961,
0.06308992952108383,
-0.005707551725208759,
-0.02674045041203499,
0.03678784519433975,
0.003355707274749875,
0.004355186130851507,
0.005348090082406998,
0.019270658493041992,
-0.019463540986180305,
0.03108906000852585,
0.0022027993109077215,
0.04660728946328163,
-0.04439791291952133,
-0.05211319029331207,
-0.017946787178516388,
0.015965363010764122,
0.036367010325193405,
-0.018201040104031563,
-0.032526906579732895,
0.04464339837431908,
0.04779965057969093,
-0.02626701258122921,
0.008960242383182049,
-0.0093460064381361,
0.03156249597668648,
0.009372307918965816,
-0.054427772760391235,
0.022760067135095596,
0.024285588413476944,
-0.023777082562446594,
0.04047013446688652,
0.04103124886751175,
-0.017894182354211807,
-0.00954765547066927,
0.04660728946328163,
-0.020585762336850166,
-0.042293746024370193,
-0.023198435083031654,
-0.02126961573958397,
-0.0032526906579732895,
-0.0010126301785930991,
-0.002897612750530243,
-0.06084548309445381,
0.0535159669816494,
0.03685798496007919,
0.015158765949308872,
0.04751909524202347,
0.014974651858210564,
0.00437052920460701,
-0.020480554550886154,
0.004988627973943949,
0.09202221781015396,
0.0035135196521878242,
0.03983888775110245,
0.030352601781487465,
-0.002836241154000163,
-0.022128818556666374,
0.023742012679576874,
0.05162221938371658,
-0.040259718894958496,
0.02018246427178383,
0.017850346863269806,
0.02400503307580948,
-0.008499955758452415,
0.0240401029586792,
-0.04425763711333275,
-0.04120659455657005,
0.031369615346193314,
0.08227290958166122,
0.018727082759141922,
-0.023671872913837433,
0.01012630108743906,
0.03871666267514229,
-0.03108906000852585,
0.021602775901556015,
-0.017140189185738564,
-0.04394201189279556,
0.007675824221223593,
0.056672219187021255,
-0.046186454594135284,
-0.022076213732361794,
0.03608645498752594,
-0.02781006693840027,
-0.014054078608751297,
-0.005681249778717756,
0.03301788121461868,
-0.021567706018686295,
-0.09321457892656326,
-0.006654426455497742,
0.01424696110188961,
-0.003482833970338106,
-0.04590589925646782,
0.0460461787879467,
0.012081422843039036,
0.027476908639073372,
0.022198956459760666,
0.009100520052015781,
0.058776386082172394,
0.02179565839469433,
-0.0735756903886795,
-0.0272664912045002,
0.0008361869840882719,
-0.047834720462560654,
-0.02400503307580948,
0.029353123158216476,
0.015474391169846058,
0.007859938777983189,
0.022234026342630386,
-0.04166249558329582,
0.014545051380991936,
-0.026985935866832733,
0.025407809764146805,
-0.009696700610220432,
0.008627083152532578,
0.017718834802508354,
-0.018867360427975655,
0.018779685720801353,
-0.025530554354190826,
0.0046817706897854805,
0.00355516467243433,
-0.01742074452340603,
0.05467325821518898,
0.0317729152739048,
0.03948819264769554,
0.019989581778645515,
0.07196249812841415,
0.012204165570437908,
0.028564060106873512,
-0.000578097824472934,
0.01481683924794197,
-0.006715798284858465,
0.02126961573958397,
0.04832569137215614,
-0.020427949726581573,
-0.01093289814889431,
-0.010441926307976246,
0.0013468858087435365,
0.033666662871837616,
0.052674300968647,
-0.022812671959400177,
0.05179756507277489,
0.013492967933416367,
0.08381596952676773,
-0.053971871733665466,
0.04548506438732147,
0.01561466883867979,
-0.023408852517604828,
-0.017359374091029167,
-0.025986457243561745,
-0.01705251634120941,
0.11222221702337265,
-0.01863940805196762,
0.003498176811262965,
-0.05204305052757263,
-0.026091665029525757,
-0.05214826017618179,
0.003167208982631564,
0.03875173255801201,
-0.07757360488176346,
-0.020375344902276993,
0.006102082785218954,
0.02179565839469433,
-0.00681662280112505,
0.02574096992611885,
-0.008925173431634903,
-0.04092603921890259,
0.016807030886411667,
-0.035893574357032776,
0.008894487284123898,
0.022041143849492073,
-0.010021093301475048,
-0.03447326272726059,
0.0071980031207203865,
0.025355206802487373,
-0.05151700973510742,
-0.023391317576169968,
-0.06470312178134918,
-0.038050346076488495,
0.011362499557435513,
0.0240401029586792,
0.002638975391164422,
-0.014422307722270489,
-0.011055641807615757,
0.015518228523433208,
-0.010529600083827972,
0.03513957932591438,
-0.0019014213467016816,
-0.027178818359971046,
0.06168714910745621,
0.02244444377720356,
-0.00670264707878232,
0.08690207451581955,
0.024811631068587303,
-0.04776458069682121,
-0.03685798496007919,
-0.0448538176715374,
-0.03124687261879444,
-0.01746458187699318,
-0.001783061889000237,
0.0012405815068632364,
-0.020883852615952492,
-0.013010762631893158,
-0.03424530848860741,
-0.04152221977710724,
-0.035858504474163055,
0.009284635074436665,
0.03496423363685608,
0.028774477541446686,
0.0049184891395270824,
0.04099617898464203,
-0.03710347041487694,
0.005036848597228527,
-0.002923914697021246,
0.014062846079468727,
0.034192707389593124,
0.016614148393273354,
-0.00931970402598381,
0.0025096568278968334,
-0.022198956459760666,
0.05162221938371658,
0.017657464370131493,
-0.002481163013726473,
-0.006194140296429396,
-0.02568836696445942,
0.03545520454645157,
-0.01591276004910469,
-0.04534478858113289,
0.03384201228618622,
-0.04537985846400261,
-0.0019463540520519018,
0.021462498232722282,
0.025933852419257164,
-0.03678784519433975,
0.009144357405602932,
0.01283541601151228,
0.026670310646295547,
0.04481874778866768,
-0.014282030053436756,
-0.024759026244282722,
-0.02186579629778862,
-0.01858680509030819,
0.03294774144887924,
0.0037042098119854927,
-0.023286109790205956,
-0.01863940805196762,
0.008719139732420444,
0.00871475599706173,
0.06326527148485184,
-0.0019682724960148335,
0.04464339837431908,
0.006474695634096861,
0.0021315645426511765,
-0.02631961554288864,
-0.021111803129315376,
0.0169911440461874,
-0.040189579129219055,
0.029896698892116547,
0.0041031246073544025,
-0.023882290348410606,
0.03808541223406792,
0.036367010325193405,
-0.05400694161653519,
0.01797308959066868,
0.04432777315378189,
0.03010711632668972,
-0.012642533518373966,
-0.036998260766267776,
-0.026459893211722374,
-0.07164686918258667,
-0.056146178394556046,
-0.006391405593603849,
-0.0635458305478096,
-0.03755937144160271,
-0.02302308939397335,
0.04867638647556305,
-0.02898489311337471,
0.011248523369431496,
0.037980206310749054,
0.0953187420964241,
0.09258332848548889,
-0.036367010325193405,
-0.019884373992681503,
0.010468228720128536,
-0.021076735109090805,
-0.014615190215408802,
-0.04359131678938866,
-0.0414520800113678,
-0.016272220760583878,
-0.027617186307907104,
0.005111371167004108,
-0.012449651956558228,
-0.06572013348340988,
0.059127077460289,
-0.06564999371767044,
-0.04751909524202347,
-0.0272664912045002,
0.05404201149940491,
-0.009004078805446625,
-0.005970572587102652,
0.015640970319509506,
0.025863712653517723,
-0.019393401220440865,
-0.0017962129786610603,
0.025828644633293152,
-0.008105425164103508,
-0.013466665521264076,
0.000868516624905169,
-0.0019529295386746526,
0.0191128458827734,
-0.08809443563222885,
-0.04481874778866768,
0.004125043284147978,
-0.004528341814875603,
-0.04537985846400261,
-0.04369652643799782,
0.06919200718402863,
-0.0008498859824612737,
-0.03899721801280975,
0.005812759976834059,
-0.00045782059896737337,
0.004975477233529091,
-0.002603905973955989,
0.021743053570389748,
0.015684807673096657,
0.05467325821518898,
0.08304443955421448,
0.008482420817017555,
0.021199477836489677,
0.02239183895289898,
0.010696180164813995,
-0.009267100133001804,
-0.050044093281030655,
0.013563106767833233,
0.034175172448158264,
0.03713854029774666,
-0.0044888886623084545,
0.021532637998461723,
-0.07143644988536835,
-0.0048965709283947945,
0.014860675670206547,
-0.026074130088090897,
0.06126631423830986,
-0.012169096618890762,
0.049623262137174606,
0.010661110281944275,
0.05400694161653519,
0.032561976462602615,
-0.015649737790226936,
-0.06193263456225395,
-0.01500972080975771,
0.025986457243561745,
0.04818541184067726,
-0.029230380430817604,
-0.004993011709302664,
-0.06526423245668411,
-0.03755937144160271,
0.01199374906718731,
-0.013694616965949535,
-0.006487846840173006,
-0.0008005695999599993,
-0.023724477738142014,
0.01585138775408268,
0.017324304208159447,
-0.03938298299908638,
0.04194305092096329,
0.003658181056380272,
0.056602079421281815,
0.018236109986901283,
0.04267951101064682,
-0.00588728254660964,
-0.02621440775692463,
0.02568836696445942,
0.0032417315524071455,
0.017850346863269806,
0.00035014646709896624,
-0.014720398001372814,
0.023934893310070038,
-0.04650207981467247,
-0.0251447893679142,
0.003432421712204814,
-0.019884373992681503,
-0.03815555199980736,
0.06992846727371216,
-0.01802569255232811,
-0.05095589905977249,
0.05309513583779335,
0.01016137097030878,
0.07091040909290314,
-0.011958680115640163,
-0.029195310547947884,
0.04751909524202347,
-0.008578862063586712,
-0.04324062168598175,
0.05951284244656563,
-0.08030901849269867,
-0.036928121000528336,
-0.05095589905977249,
-0.032491836696863174,
-0.04334583133459091,
0.054497912526130676,
0.016096873208880424,
-0.02407517097890377,
0.01174826268106699,
-0.020463019609451294,
0.005795225501060486,
0.014360936358571053,
-0.019288193434476852,
-0.007868706248700619,
0.05362117663025856,
-0.043451037257909775,
-0.056531939655542374,
0.010485762730240822,
0.025004511699080467,
-0.0404350683093071,
0.04544999822974205,
-0.0316852405667305,
-0.05348090082406998,
-0.005343706347048283,
0.012502255849540234,
-0.0667722150683403,
-0.07010381668806076,
-0.06249374523758888,
-0.045099303126335144,
0.012063887901604176,
-0.0756097137928009,
-0.005128906108438969,
0.009512586519122124,
0.02961614355444908,
-0.037524301558732986,
-0.016105640679597855,
0.019025173038244247,
0.034122567623853683,
-0.016272220760583878,
0.023882290348410606,
0.0001919229980558157,
0.004276280291378498,
0.017929252237081528,
0.025372741743922234,
0.059127077460289,
-0.05137673392891884,
-0.07308471947908401,
-0.031439755111932755,
0.027178818359971046,
-0.007075259927660227,
0.02681058831512928,
0.007706509903073311,
-0.004405598621815443,
-0.002432942623272538,
0.0070007373578846455,
-0.002685004146769643,
-0.0031409068033099174,
-0.02896735817193985,
-0.041311804205179214,
0.011958680115640163,
0.03405242785811424,
-0.045169442892074585,
0.040750689804553986,
0.032018400728702545,
0.05702291429042816,
-0.023847220465540886,
-0.06901666522026062,
-0.000004285218892619014,
0.015386717393994331,
0.01751718670129776,
-0.02681058831512928,
0.013203645125031471,
-0.02084878273308277,
0.043030206114053726,
0.041907984763383865,
0.06123124435544014,
0.072032630443573,
-0.04471353814005852,
-0.022654859349131584,
-0.050570134073495865,
0.049518052488565445,
-0.03219374641776085,
0.04702812060713768,
0.016149478033185005,
-0.030212324112653732,
0.020077254623174667,
-0.02414531074464321,
-0.04320555180311203,
-0.046817705035209656,
-0.041872914880514145,
-0.04878159239888191,
0.074066661298275,
-0.04850103706121445,
-0.06877117604017258,
-0.03426284343004227,
-0.015772482380270958,
-0.04639687016606331,
0.0021666339598596096,
-0.024197915568947792,
-0.030229859054088593,
0.014396006241440773,
0.02084878273308277,
0.007141015026718378,
0.0029414494056254625,
-0.07115589827299118,
0.014422307722270489,
-0.021550172939896584,
-0.0001243184378836304,
0.05926735699176788,
-0.0033074866514652967,
-0.05106110870838165,
-0.05092082917690277,
0.04211840033531189,
-0.02195347100496292,
-0.024285588413476944,
0.04695798456668854,
-0.010845225304365158,
0.005076301749795675,
-0.004637933801859617,
0.013703384436666965,
-0.003423654241487384,
-0.02014739438891411,
-0.00789062399417162,
0.06256388127803802,
0.0014827798586338758,
-0.0036121525336056948,
-0.0929340198636055,
-0.018218575045466423,
-0.03983888775110245,
0.02512725442647934,
0.05902187153697014,
-0.013773523271083832,
-0.08136110752820969,
-0.016210850328207016,
0.06589548289775848,
0.061511799693107605,
-0.018253644928336143,
-0.007180468179285526,
0.03282499685883522,
-0.009942186996340752,
0.016105640679597855,
-0.009714235551655293,
0.005615494213998318,
-0.045730553567409515,
0.010599738918244839,
0.03124687261879444,
0.03566562384366989,
-0.032526906579732895,
-0.03780485689640045,
-0.027056073769927025,
-0.10689166188240051,
0.01807829737663269,
-0.048430901020765305,
-0.0032987194135785103,
-0.042328815907239914,
0.012142794206738472,
0.002062521642073989,
0.05239374563097954,
-0.004061479587107897,
-0.009950954467058182,
0.03498176857829094,
-0.05540971830487251,
-0.023180902004241943,
-0.02674045041203499,
0.0007698838599026203,
-0.0011583875166252255,
0.0018882702570408583,
0.03426284343004227,
0.028528990224003792,
-0.04986874759197235,
0.10878540575504303,
0.009100520052015781,
-0.005036848597228527,
-0.057654161006212234,
0.001609906554222107,
-0.003355707274749875,
0.094477079808712,
-0.004177647177129984,
0.040224649012088776,
0.026652775704860687,
-0.014746700413525105,
0.03682291507720947,
0.03545520454645157,
-0.04166249558329582,
0.01280911359935999,
0.050675343722105026,
-0.03654235973954201,
0.01699991151690483,
0.013554339297115803,
0.008460503071546555,
-0.003300911281257868,
0.05516423285007477,
0.03899721801280975,
-0.059372566640377045,
0.02032274194061756,
0.06733332574367523,
-0.010003558360040188,
-0.0074434890411794186,
-0.03387708216905594,
-0.024829164147377014,
0.03566562384366989,
-0.0010887965327128768,
0.0037327036261558533,
-0.00043014861876145005,
0.03233402594923973
]
|
40,333 | pyglove.core.symbolic.object | sym_hash | Symbolically hashing. | def sym_hash(self) -> int:
"""Symbolically hashing."""
return base.sym_hash((self.__class__, base.sym_hash(self._sym_attributes)))
| (self) -> int | [
0.06929317116737366,
-0.049854826182127,
0.055192817002534866,
0.04958624765276909,
0.0055897836573421955,
-0.04898194596171379,
-0.04038744419813156,
-0.02846928872168064,
-0.04095817357301712,
-0.01693721115589142,
-0.011699937283992767,
-0.04226749390363693,
0.04397967830300331,
0.0218555498868227,
-0.034512296319007874,
-0.00956809800118208,
-0.004385378211736679,
0.016702206805348396,
-0.025246350094676018,
-0.023047365248203278,
-0.015577535144984722,
0.023114509880542755,
0.014503221958875656,
-0.02464204840362072,
-0.0020930215250700712,
0.01660148985683918,
0.059355780482292175,
0.035284459590911865,
0.03468015789985657,
0.003965724725276232,
-0.05949006974697113,
0.0001555340422783047,
0.0062402463518083096,
0.002805383177474141,
0.049384813755750656,
-0.09420379996299744,
-0.015862898901104927,
0.07385899871587753,
0.0000017171365698231966,
-0.006592755205929279,
0.06009436771273613,
0.0029669497162103653,
-0.013378551229834557,
-0.02408810704946518,
0.03854097053408623,
0.0018150010146200657,
-0.013940886594355106,
0.013470875099301338,
-0.0009001565631479025,
-0.07641049474477768,
-0.02680746093392372,
-0.06388803571462631,
0.030852919444441795,
0.03867525979876518,
0.02328237146139145,
0.03041647933423519,
0.02464204840362072,
-0.059087201952934265,
-0.047739773988723755,
0.034226931631565094,
-0.00732714869081974,
0.004754673223942518,
0.04505399242043495,
-0.055259961634874344,
0.008128686808049679,
-0.025598859414458275,
-0.04837764427065849,
0.04105889052152634,
-0.006714454852044582,
-0.004234302788972855,
0.015308956615626812,
-0.04478541389107704,
0.002708862768486142,
-0.01699596270918846,
-0.02381952852010727,
-0.007125715259462595,
0.029677890241146088,
-0.014771800488233566,
0.03625805675983429,
-0.019992288202047348,
0.0005243045161478221,
-0.033337268978357315,
-0.02440704219043255,
-0.0029858341440558434,
-0.07238182425498962,
0.029392525553703308,
0.07479902356863022,
-0.014847338199615479,
-0.0718446671962738,
-0.034982308745384216,
-0.019169768318533897,
0.041394613683223724,
0.005514245945960283,
0.029392525553703308,
0.024558117613196373,
-0.06956174969673157,
-0.005002268590033054,
-0.03076898865401745,
0.06650667637586594,
-0.03048362396657467,
0.05059341713786125,
-0.013328192755579948,
-0.05693857744336128,
0.011162781156599522,
-0.013814990408718586,
-0.013143545016646385,
0.004922534804791212,
-0.05428636446595192,
-0.05361492186784744,
0.0033761118538677692,
-0.043341804295778275,
0.09232375025749207,
0.00955131184309721,
-0.02882179617881775,
0.04649759829044342,
-0.010063288733363152,
0.036728065460920334,
0.008611287921667099,
0.051936306059360504,
0.028133565559983253,
-0.016358090564608574,
0.05848290026187897,
-0.01579575426876545,
0.001468786969780922,
0.043576810508966446,
0.04807549715042114,
0.010315081104636192,
-0.018061883747577667,
-0.028620362281799316,
0.027831414714455605,
0.030517196282744408,
0.00849798135459423,
0.01011364720761776,
0.09809818118810654,
-0.008145472966134548,
-0.013386944308876991,
0.03786952421069145,
0.05754287540912628,
0.02796570397913456,
0.030131114646792412,
0.050492700189352036,
-0.01354641281068325,
-0.005766037851572037,
0.003913267981261015,
-0.00398460915312171,
0.015913257375359535,
-0.07359042018651962,
0.009458987973630428,
-0.01327783428132534,
0.012824608013033867,
0.039816714823246,
-0.003911169711500406,
0.05673714354634285,
0.06902459263801575,
-0.05569640174508095,
0.056871432811021805,
-0.034193359315395355,
-0.01009686104953289,
-0.026622813194990158,
-0.018045097589492798,
-0.001562159857712686,
-0.02467562071979046,
0.02017693594098091,
-0.08876509219408035,
-0.04089102894067764,
-0.0030110133811831474,
0.01853189431130886,
-0.020059432834386826,
-0.01425143051892519,
-0.024239180609583855,
-0.04780691862106323,
-0.05761002004146576,
-0.04350966587662697,
0.032481174916028976,
0.040555305778980255,
0.03368977829813957,
-0.0009510395466350019,
0.022560568526387215,
0.047974780201911926,
-0.015871291980147362,
0.04458397999405861,
-0.09077943116426468,
-0.04572543501853943,
-0.0011477520456537604,
0.023399874567985535,
0.03850739821791649,
0.04622901976108551,
0.026371020823717117,
0.04676617681980133,
0.016039153560996056,
-0.04794120788574219,
-0.023467019200325012,
-0.00539254629984498,
0.05237274616956711,
0.029258236289024353,
-0.011313856579363346,
-0.028116779401898384,
0.011834226548671722,
-0.048881229013204575,
0.053010620176792145,
0.02046230062842369,
-0.02460847608745098,
-0.019253699108958244,
-0.0032523139379918575,
0.0052582575008273125,
-0.052708469331264496,
0.01677774451673031,
-0.03766809031367302,
0.04179748147726059,
-0.028570005670189857,
0.0040958174504339695,
-0.04035387188196182,
-0.008896652609109879,
0.04015243798494339,
-0.0023500591050833464,
-0.031406860798597336,
0.029258236289024353,
-0.007213842123746872,
0.01747436821460724,
-0.005006465129554272,
0.06331730633974075,
-0.02494419924914837,
-0.007755195256322622,
-0.020277652889490128,
-0.005140754394233227,
-0.04354323819279671,
0.01693721115589142,
0.027546050027012825,
-0.015476818196475506,
-0.030852919444441795,
0.031440433114767075,
0.006882315967231989,
0.03645949065685272,
0.023064151406288147,
0.008678432554006577,
-0.0019839114975184202,
0.010273115709424019,
0.01038222573697567,
-0.022224845364689827,
0.006252835970371962,
-0.010357046499848366,
0.0502912662923336,
0.06224299594759941,
0.047169044613838196,
-0.003594331443309784,
-0.031457219272851944,
0.010348653420805931,
0.0715760886669159,
-0.010247936472296715,
-0.05918791890144348,
-0.03686235472559929,
-0.03619091212749481,
-0.0009295323397964239,
-0.020411942154169083,
0.045557573437690735,
-0.017037928104400635,
-0.035855188965797424,
0.03095363639295101,
0.0054680840112268925,
0.01628255285322666,
-0.01740722358226776,
0.024574903771281242,
-0.01770937442779541,
-0.02935895323753357,
0.04199891537427902,
-0.006084974389523268,
-0.010885809548199177,
0.08936939388513565,
-0.06660739332437515,
0.018078669905662537,
0.053010620176792145,
-0.08889938145875931,
-0.057207152247428894,
0.027193540707230568,
-0.01479697972536087,
-0.0018748017027974129,
0.025565287098288536,
0.03706378862261772,
-0.036929499357938766,
-0.006815171334892511,
0.019304057583212852,
-0.03355548903346062,
-0.0003003144811373204,
-0.04726976156234741,
-0.023668453097343445,
0.094002366065979,
-0.008426640182733536,
-0.02742854692041874,
-0.009081300348043442,
-0.03958170861005783,
0.019824426621198654,
0.02272842824459076,
-0.010231150314211845,
0.01299246959388256,
0.08346067368984222,
0.004851193632930517,
-0.0315915085375309,
0.023181654512882233,
0.044181112200021744,
0.040588878095149994,
-0.05462208762764931,
0.06140368804335594,
-0.001518096192739904,
0.004393771290779114,
-0.043073225766420364,
-0.0030718629714101553,
0.0586843341588974,
0.04142818599939346,
0.016165049746632576,
0.03656020760536194,
0.009341484867036343,
0.09292805194854736,
-0.03295118734240532,
0.055797118693590164,
0.019203340634703636,
-0.0205126591026783,
-0.03424371778964996,
-0.03434443473815918,
-0.014629118144512177,
0.09662100672721863,
-0.011842619627714157,
0.0013942985096946359,
-0.027042467147111893,
-0.02187233604490757,
0.018112242221832275,
-0.046363309025764465,
-0.013479268178343773,
-0.0492505244910717,
0.04273750260472298,
-0.003961528185755014,
0.013185510411858559,
-0.010994919575750828,
0.07211324572563171,
0.017591871321201324,
-0.02798249013721943,
0.02188912220299244,
0.045826151967048645,
0.046665459871292114,
-0.06452590972185135,
-0.04726976156234741,
0.0046245804987847805,
-0.022510210052132607,
0.013798204250633717,
-0.028855368494987488,
-0.0679502785205841,
-0.030265403911471367,
-0.06983032822608948,
-0.00929951947182417,
-0.04894837364554405,
0.011238318867981434,
0.014117141254246235,
-0.017642229795455933,
0.0001611731422599405,
0.01465429738163948,
0.06271300464868546,
-0.017910808324813843,
-0.015183060429990292,
-0.011993695050477982,
-0.04817621409893036,
0.02793213166296482,
0.012556030414998531,
-0.02323201298713684,
-0.01796116679906845,
-0.029493242502212524,
-0.0003973593411501497,
0.006580165587365627,
-0.04928409680724144,
0.028620362281799316,
0.008745577186346054,
-0.05529353395104408,
-0.04851193353533745,
-0.02764676697552204,
-0.02214091457426548,
-0.04260321334004402,
0.05636784806847572,
0.04549042880535126,
-0.0009541869512759149,
0.033102262765169144,
-0.010138826444745064,
-0.05750930309295654,
0.039715997874736786,
-0.01023954339325428,
0.01628255285322666,
0.016769351437687874,
-0.005547818262130022,
0.05008983239531517,
0.03813810274004936,
-0.0293421670794487,
0.08775792270898819,
0.05871790647506714,
-0.0603293739259243,
-0.018934762105345726,
0.02710961177945137,
-0.007847518660128117,
0.015695037320256233,
0.037231650203466415,
0.024155251681804657,
-0.020344797521829605,
-0.078424833714962,
-0.044718269258737564,
0.018347246572375298,
-0.02383631467819214,
0.04871336743235588,
-0.00041912886081263423,
-0.013949279673397541,
-0.0005258782184682786,
-0.019555849954485893,
0.030080756172537804,
-0.008132883347570896,
-0.04602758586406708,
-0.07701479643583298,
0.046061158180236816,
-0.022342348471283913,
-0.046631887555122375,
0.03295118734240532,
-0.03679521009325981,
0.04982125386595726,
-0.019169768318533897,
0.06620452553033829,
0.016139870509505272,
0.016072725877165794,
-0.030584340915083885,
-0.03964885324239731,
0.028922513127326965,
-0.016844889149069786,
0.02183876372873783,
-0.017373651266098022,
0.05371563881635666,
-0.03464658558368683,
0.03656020760536194,
0.002076235366985202,
0.03290082886815071,
0.06506306678056717,
0.016433628275990486,
0.0014446568675339222,
-0.053782783448696136,
0.03958170861005783,
-0.056569281965494156,
0.004817621316760778,
0.05529353395104408,
0.03338762745261192,
-0.0008618631982244551,
-0.015208239667117596,
0.026958536356687546,
0.030584340915083885,
-0.004290956072509289,
0.009484167210757732,
0.0011655873386189342,
0.04183105379343033,
0.00831753108650446,
0.014486435800790787,
-0.03954814001917839,
0.013504447415471077,
-0.07748480886220932,
-0.062142278999090195,
-0.01821295917034149,
-0.028032848611474037,
-0.0576435923576355,
0.006420697085559368,
-0.0003590659471228719,
-0.05428636446595192,
0.05290990322828293,
0.0035292853135615587,
0.0022178683429956436,
-0.06502949446439743,
-0.034193359315395355,
-0.027361402288079262,
-0.01797795295715332,
0.05452137067914009,
0.03927956148982048,
0.026421379297971725,
0.01384016964584589,
-0.018884403631091118,
-0.00088966527255252,
-0.0404210165143013,
0.00887986645102501,
-0.027831414714455605,
-0.017927594482898712,
-0.07345613092184067,
-0.06798385083675385,
0.008795935660600662,
-0.007138304878026247,
0.03790309652686119,
-0.03123900108039379,
0.09091371297836304,
0.0024864464066922665,
0.0182633176445961,
0.00601363368332386,
-0.01371427346020937,
0.013252655044198036,
-0.008204224519431591,
0.0012600093614310026,
-0.015460032038390636,
0.05891934037208557,
0.024541331455111504,
0.020613376051187515,
0.018917975947260857,
-0.010164005681872368,
-0.06613738089799881,
-0.02905680239200592,
-0.05529353395104408,
-0.008262976072728634,
0.01699596270918846,
0.010340260341763496,
0.0043056439608335495,
0.02818392403423786,
-0.01107045728713274,
-0.01604754664003849,
0.008292351849377155,
0.002371041802689433,
-0.0020563018042594194,
-0.06435804814100266,
0.06204156205058098,
0.0119013711810112,
0.029207877814769745,
-0.001221191487275064,
-0.02606886997818947,
-0.04226749390363693,
-0.022845931351184845,
0.010306688025593758,
0.018733328208327293,
-0.03296797350049019,
-0.04478541389107704,
-0.05361492186784744,
0.003092845669016242,
0.006068188231438398,
0.0017646426567807794,
-0.025380639359354973,
0.054722804576158524,
0.0119013711810112,
-0.03261546418070793,
0.010516515001654625,
-0.054689232259988785,
0.03880954906344414,
-0.027243899181485176,
0.05955721437931061,
-0.024843482300639153,
0.017826877534389496,
-0.008728791028261185,
-0.02682424709200859,
-0.03656020760536194,
-0.03538517653942108,
0.012556030414998531,
-0.0218555498868227,
-0.01628255285322666,
0.01910262368619442,
-0.030332548543810844,
-0.00807832833379507,
-0.04089102894067764,
-0.027210326865315437,
-0.02052944526076317,
0.018615825101733208,
0.03071863017976284,
-0.08614645153284073,
0.032816898077726364,
-0.04508756473660469,
0.06251157075166702,
0.01593843661248684,
-0.002333272946998477,
0.05556211248040199,
0.021419109776616096,
0.013764631934463978,
0.055797118693590164,
-0.11522004008293152,
-0.002501134295016527,
-0.016039153560996056,
-0.012312631122767925,
-0.02793213166296482,
-0.010566873475909233,
0.04713547229766846,
-0.03689592704176903,
0.06620452553033829,
0.0631830170750618,
0.0048302109353244305,
0.05257418006658554,
-0.00034227981814183295,
-0.03343798592686653,
0.023634880781173706,
0.00580800324678421,
-0.07909628003835678,
-0.009928999468684196,
0.058012887835502625,
-0.05918791890144348,
0.0637873187661171,
0.0029585566371679306,
-0.026371020823717117,
-0.007020801771432161,
0.03133971616625786,
-0.057207152247428894,
-0.01905226521193981,
-0.09225660562515259,
-0.05505852773785591,
-0.01769258826971054,
-0.01105367112904787,
-0.009492560289800167,
-0.0023815331514924765,
-0.02244306541979313,
0.0007123616524040699,
-0.006177298258990049,
0.024255966767668724,
0.04236821085214615,
-0.004003493580967188,
0.030517196282744408,
0.009643635712563992,
0.05949006974697113,
0.026219945400953293,
0.012807822786271572,
0.0030319958459585905,
-0.023030579090118408,
-0.027243899181485176,
-0.030231831595301628,
0.011800654232501984,
0.01883404515683651,
-0.04196534305810928,
-0.003997198771685362,
0.0023941227700561285,
0.014310181140899658,
0.03380727767944336,
-0.034881591796875,
0.005917113274335861,
-0.06452590972185135,
0.02237592078745365,
-0.03246438875794411,
0.030651485547423363,
-0.018716542050242424,
0.04458397999405861,
-0.0065591828897595406,
0.09380093216896057,
0.019186554476618767,
-0.028905726969242096,
-0.05401778966188431,
-0.0007658674730919302,
0.023651666939258575,
-0.02462526224553585,
0.06593594700098038,
-0.04099174588918686,
0.000017786092939786613,
0.03150757774710655,
-0.007251610979437828,
0.09662100672721863,
-0.02685781940817833,
0.009710780344903469,
-0.03565375506877899,
0.02487705461680889,
-0.03568732738494873,
0.012925324961543083,
0.017491154372692108,
-0.020093005150556564,
0.0069620502181351185,
-0.050794851034879684,
-0.02519599162042141,
-0.02272842824459076,
-0.006001044064760208,
-0.043610382825136185,
0.023869886994361877,
-0.008351103402674198,
-0.04233463853597641,
-0.04122675210237503,
-0.010701161809265614,
-0.038608115166425705,
-0.013647128827869892,
-0.002631227020174265,
-0.07325470447540283,
-0.0260520838201046,
0.028116779401898384,
0.016878459602594376,
0.013898921199142933,
-0.003957331646233797,
0.009542918764054775,
-0.04837764427065849,
0.005946489050984383,
0.028133565559983253,
0.021217677742242813,
-0.012203521095216274,
-0.08285637199878693,
-0.02489384077489376,
-0.010457763448357582,
0.06472734361886978,
-0.010298294946551323,
-0.03615733981132507,
-0.0038566149305552244,
-0.0249274130910635,
-0.024155251681804657,
0.005069413222372532,
0.011179567314684391,
0.0328504703938961,
-0.015057164244353771,
0.01858225278556347,
-0.021268034353852272,
-0.049720536917448044,
-0.061336543411016464,
-0.0431067980825901,
-0.0004248990735504776,
0.010650803335011005,
-0.04629616439342499,
-0.00981989037245512,
0.011809047311544418,
0.00678579555824399,
0.06701026111841202,
-0.03464658558368683,
-0.024977771565318108,
0.03412621468305588,
0.04780691862106323,
0.017910808324813843,
0.03602305054664612,
0.012665140442550182,
-0.015334135852754116,
-0.003734915517270565,
0.011347428895533085,
0.03461301326751709,
-0.027797842398285866,
-0.031725797802209854,
-0.014964841306209564,
0.017340078949928284,
0.04961981996893883,
0.002922886051237583,
-0.01720578968524933,
0.00018569664098322392,
-0.034176573157310486,
0.04753834009170532,
0.016844889149069786,
-0.013454088941216469,
0.061067964881658554,
0.04142818599939346,
-0.04179748147726059,
0.02460847608745098,
0.0679502785205841,
0.014746621251106262,
0.011641185730695724,
0.03268260881304741,
-0.0035481697414070368,
-0.002689978340640664,
-0.05344706028699875,
0.05183558911085129,
0.030819347128272057,
0.03231331333518028,
0.02494419924914837,
-0.028956085443496704,
-0.021788405254483223,
0.08930224925279617,
0.004473505541682243,
0.011414572596549988,
-0.05019054934382439,
-0.0182633176445961,
0.05902005732059479,
0.015283777378499508,
-0.0393802784383297,
0.05831503868103027,
0.0553942508995533,
-0.06113510951399803,
-0.007444651797413826,
0.04810906946659088,
0.014595545828342438,
-0.03212866559624672,
0.029778607189655304,
0.03820524737238884,
0.003099140478298068,
0.02131839282810688,
0.027243899181485176,
-0.004181846510618925,
-0.007633495610207319,
-0.0226780716329813,
-0.023718811571598053,
0.021721260622143745,
-0.017096679657697678,
-0.0016754663083702326,
0.036660920828580856,
0.030869705602526665
]
|
40,334 | pyglove.core.symbolic.base | sym_inferrable | Returns True if the attribute under key can be inferred. | def sym_inferrable(self, key: Union[str, int], **kwargs) -> bool:
"""Returns True if the attribute under key can be inferred."""
return (
self.sym_inferred(key, pg_typing.MISSING_VALUE, **kwargs)
!= pg_typing.MISSING_VALUE
)
| (self, key: Union[str, int], **kwargs) -> bool | [
0.11360856890678406,
-0.05211533606052399,
0.04717583209276199,
0.0587371326982975,
0.043023787438869476,
-0.0033444552682340145,
0.06428512930870056,
-0.04474187642335892,
-0.006469675339758396,
-0.000567382900044322,
-0.0024854112416505814,
0.010845430195331573,
0.09184612333774567,
-0.012840918265283108,
0.0043533844873309135,
-0.002975334646180272,
-0.017431434243917465,
0.07609698176383972,
0.02220986783504486,
0.017494073137640953,
-0.023766884580254555,
0.03062133863568306,
-0.023391053080558777,
-0.013673117384314537,
0.003263919847086072,
0.037296827882528305,
0.037296827882528305,
0.034361761063337326,
0.02258569933474064,
0.01724351942539215,
-0.018523136153817177,
-0.0010161998216062784,
0.09084390103816986,
0.021243441849946976,
0.03543556481599808,
-0.03969499096274376,
-0.00178408226929605,
0.03656306117773056,
-0.04960979148745537,
-0.09506753832101822,
0.012304015457630157,
0.026451395824551582,
0.02596818469464779,
0.004966347943991423,
-0.024769101291894913,
-0.006773919798433781,
-0.010049025528132915,
-0.017807265743613243,
-0.035811398178339005,
-0.020957093685865402,
0.024804895743727684,
-0.03144459053874016,
0.042952198535203934,
0.027167266234755516,
-0.001441806904040277,
0.025914493948221207,
-0.03502393886446953,
0.0183978583663702,
-0.0308539979159832,
-0.0041453349404037,
-0.026522982865571976,
0.001252772519364953,
0.0338248573243618,
-0.06482202559709549,
0.0012460611760616302,
-0.0009026673506014049,
-0.02936856634914875,
0.008402524515986443,
-0.016572389751672745,
0.01129284966737032,
-0.03232153132557869,
-0.05057621747255325,
-0.04610202834010124,
0.07674126327037811,
-0.016026539728045464,
-0.09649927914142609,
-0.044670287519693375,
-0.005230325274169445,
-0.003841090016067028,
-0.047426387667655945,
-0.014415832236409187,
-0.06142164766788483,
-0.04796329140663147,
-0.02684512548148632,
-0.0603836365044117,
0.041484665125608444,
0.0029887573327869177,
0.00885889120399952,
0.004894761368632317,
0.03167724609375,
-0.02811579406261444,
0.026684055104851723,
-0.004040191415697336,
-0.014004207216203213,
0.049538202583789825,
0.06163640692830086,
0.05637476220726967,
-0.03106875903904438,
0.007534531876444817,
-0.042773231863975525,
0.034361761063337326,
-0.06911724805831909,
0.05372604355216026,
0.027310440316796303,
0.00538692157715559,
-0.011167571879923344,
-0.006952887400984764,
-0.027793653309345245,
-0.03973078355193138,
-0.02510914020240307,
-0.04084038361907005,
-0.04159204661846161,
0.02432168275117874,
0.0068902489729225636,
-0.04434814676642418,
-0.03216046094894409,
0.008706768974661827,
-0.0016901243943721056,
0.00399321224540472,
0.028133690357208252,
-0.0004160994431003928,
0.008509905077517033,
-0.031373001635074615,
-0.06482202559709549,
0.08382837474346161,
-0.0000635124888503924,
0.018075717613101006,
0.04842860624194145,
0.02684512548148632,
0.05028986930847168,
0.012840918265283108,
0.030997171998023987,
0.007682180032134056,
0.11733109503984451,
-0.042164742946624756,
0.030585546046495438,
0.03208887204527855,
0.05616000294685364,
0.01184764876961708,
0.010809636674821377,
-0.0015995220746845007,
-0.0047336905263364315,
-0.005901453550904989,
0.004337724763900042,
0.003013365203514695,
-0.003310898784548044,
-0.08218187838792801,
0.030263405293226242,
-0.001631959923543036,
-0.01572229526937008,
-0.00021867592295166105,
0.008245927281677723,
-0.021064475178718567,
0.01900634914636612,
0.005194531753659248,
0.010621720924973488,
0.008550172671675682,
0.03631250560283661,
-0.010917017236351967,
-0.0243395809084177,
-0.017780421301722527,
-0.03063923679292202,
-0.012214532122015953,
-0.04227212443947792,
-0.03162355720996857,
0.0018030975479632616,
-0.044920843094587326,
-0.01572229526937008,
0.05322493612766266,
0.08977010101079941,
-0.005105047952383757,
0.0005648661754094064,
0.028187381103634834,
-0.012312964536249638,
0.060956332832574844,
0.03640199080109596,
-0.008362256921827793,
-0.027382027357816696,
0.016948223114013672,
0.023838471621274948,
0.0035704015754163265,
-0.057341188192367554,
-0.05204375088214874,
-0.054227154701948166,
0.03269736096262932,
0.04459870234131813,
-0.03829904645681381,
-0.047426387667655945,
0.014612696133553982,
0.010943862609565258,
-0.026558777317404747,
0.000049390837375540286,
0.04033927619457245,
0.022746769711375237,
-0.04545774683356285,
-0.05437032878398895,
0.022710975259542465,
0.002841109177097678,
0.006550210528075695,
0.000022772916054236703,
-0.012948298826813698,
-0.050433043390512466,
0.007301873993128538,
0.07344826310873032,
-0.044026006013154984,
0.007597170304507017,
-0.05726959928870201,
-0.017511969432234764,
0.04084038361907005,
-0.019990669563412666,
-0.0481780506670475,
-0.050003521144390106,
0.030478166416287422,
0.026540881022810936,
0.010236941277980804,
0.026880918070673943,
0.01943587139248848,
0.0030402103438973427,
-0.022227764129638672,
0.022335143759846687,
0.11668681353330612,
-0.005230325274169445,
0.05383342504501343,
-0.003029024926945567,
0.07981950789690018,
-0.009122868068516254,
0.009386845864355564,
0.04696107283234596,
-0.03631250560283661,
-0.003127457108348608,
-0.004185602534562349,
0.00877835601568222,
-0.02745361439883709,
0.008572543039917946,
-0.0033355068881064653,
-0.013037782162427902,
0.040446653962135315,
0.019382180646061897,
0.02258569933474064,
-0.0008651959942653775,
0.01078279223293066,
0.02723885327577591,
-0.055050402879714966,
0.0038187189493328333,
-0.02602187544107437,
-0.04728321358561516,
0.027560995891690254,
0.058665547519922256,
-0.05558730661869049,
-0.03439755365252495,
0.028992734849452972,
-0.0397665798664093,
0.016742410138249397,
0.014729025773704052,
0.04016030579805374,
-0.02874218113720417,
-0.09943434596061707,
0.015265927650034428,
0.042128950357437134,
0.00970898661762476,
-0.04796329140663147,
0.032393116503953934,
-0.021279236301779747,
0.08898264169692993,
-0.00460393913090229,
0.012957246974110603,
-0.0008433843613602221,
0.014335297048091888,
-0.03205307945609093,
-0.050003521144390106,
-0.0697973221540451,
-0.03758317604660988,
-0.0006605019443668425,
0.014648489654064178,
0.03733262047171593,
0.03958761319518089,
0.04642416909337044,
-0.025896597653627396,
-0.005333231762051582,
-0.03192780166864395,
0.009914799593389034,
-0.04370386525988579,
0.031122447922825813,
0.031122447922825813,
-0.04366806894540787,
0.011731320060789585,
-0.029314877465367317,
-0.030102333053946495,
0.027596788480877876,
-0.030066540464758873,
0.049931932240724564,
0.030692925676703453,
0.09492436051368713,
0.01861261948943138,
0.03403962031006813,
0.00914076529443264,
0.038979120552539825,
-0.04334592819213867,
0.013995259068906307,
-0.01174026820808649,
0.05426294729113579,
0.011990822851657867,
-0.005592734552919865,
-0.024554342031478882,
0.05984673276543617,
0.004254952538758516,
-0.0031207457650452852,
0.03407541289925575,
-0.030138127505779266,
0.04123411327600479,
-0.01824573613703251,
0.057376980781555176,
-0.05129208415746689,
0.013869981281459332,
0.005713537335395813,
-0.0628533884882927,
-0.009879006072878838,
0.009485277347266674,
-0.009574761614203453,
0.08203870058059692,
0.005633002147078514,
0.03208887204527855,
-0.05068359524011612,
-0.01795043982565403,
-0.07205231487751007,
-0.01117652002722025,
0.07373461127281189,
-0.07105010002851486,
-0.007525583263486624,
0.021834034472703934,
0.053582869470119476,
-0.015695448964834213,
0.030997171998023987,
0.0019932505674660206,
-0.0942084938287735,
-0.0010480784112587571,
-0.02430378645658493,
0.032411012798547745,
0.05157843232154846,
0.013691013678908348,
-0.009449483826756477,
-0.02389216236770153,
0.030997171998023987,
-0.027113577350974083,
0.01923900656402111,
-0.003583824262022972,
-0.018898967653512955,
-0.02831265889108181,
0.0679718554019928,
0.03880015388131142,
-0.05204375088214874,
-0.01382523961365223,
0.0338248573243618,
-0.007659809198230505,
0.06342608481645584,
0.005328757222741842,
-0.00603120494633913,
0.04187839478254318,
-0.005234799347817898,
0.012438241392374039,
0.09628451615571976,
-0.010147457011044025,
-0.03611564263701439,
-0.009574761614203453,
-0.004621835891157389,
0.0020849714055657387,
0.007145277690142393,
-0.010469598695635796,
-0.01350309792906046,
-0.006773919798433781,
-0.05304596573114395,
-0.05404818430542946,
-0.048893921077251434,
-0.005413766950368881,
0.0057582794688642025,
0.051220498979091644,
0.011722370982170105,
0.036867305636405945,
0.03208887204527855,
0.03257208690047264,
0.010156406089663506,
0.004416022915393114,
0.04288061335682869,
0.0473548024892807,
0.015946004539728165,
-0.015811778604984283,
-0.037296827882528305,
-0.03586508706212044,
0.007874569855630398,
0.018433652818202972,
0.02238883450627327,
-0.01403105165809393,
-0.01982959918677807,
0.03042447566986084,
-0.0068365586921572685,
-0.04373965784907341,
0.04939503222703934,
-0.05118470638990402,
-0.019686425104737282,
0.023623710498213768,
0.01129284966737032,
-0.03108665533363819,
-0.004590516444295645,
0.015203289687633514,
0.01925690285861492,
0.03019181825220585,
-0.017198776826262474,
-0.023408949375152588,
-0.026326119899749756,
0.004196787718683481,
0.06865193694829941,
-0.037296827882528305,
-0.029296979308128357,
0.01943587139248848,
0.007655334658920765,
0.005400344263762236,
0.03148038312792778,
-0.0430595800280571,
0.02577131986618042,
-0.008321988396346569,
0.05304596573114395,
-0.010469598695635796,
0.003089426551014185,
0.017413537949323654,
-0.046567343175411224,
-0.02809789776802063,
0.0061072660610079765,
-0.021046578884124756,
0.014442677609622478,
0.03631250560283661,
-0.04137728735804558,
-0.024822792038321495,
0.06546631455421448,
0.017825163900852203,
-0.0007225812878459692,
-0.02770416997373104,
-0.021261340007185936,
-0.06578845530748367,
-0.01097070798277855,
-0.020760230720043182,
-0.058414991945028305,
-0.013028834015130997,
-0.01898845098912716,
0.04030347988009453,
-0.014854302629828453,
-0.014988528564572334,
0.017386693507432938,
0.12327281385660172,
0.05240168422460556,
-0.03656306117773056,
-0.010102715343236923,
-0.016822945326566696,
-0.03106875903904438,
-0.03636619448661804,
-0.029440153390169144,
-0.03973078355193138,
-0.0170734990388155,
0.005194531753659248,
0.0005872371257282794,
-0.002168862381950021,
-0.02238883450627327,
0.02428589016199112,
-0.10652145743370056,
-0.05616000294685364,
0.03457652032375336,
0.06747075170278549,
-0.0400887206196785,
0.006080420687794685,
0.010630670003592968,
0.018666310235857964,
-0.015069063752889633,
-0.0015570172108709812,
0.029440153390169144,
-0.0007723566377535462,
-0.022872047498822212,
0.0247512049973011,
-0.0013981836382299662,
0.03507763147354126,
-0.012178738601505756,
-0.022710975259542465,
0.0035726388450711966,
0.012724589556455612,
-0.03586508706212044,
-0.01898845098912716,
0.04538615792989731,
-0.024804895743727684,
-0.06453567743301392,
0.0012427056208252907,
-0.005087151192128658,
-0.003968604374676943,
0.0025860804598778486,
0.022532008588314056,
0.0676497146487236,
0.019328489899635315,
0.05286699905991554,
0.004096118733286858,
0.0073734610341489315,
0.033073194324970245,
0.0427374392747879,
0.006867877673357725,
-0.01763724721968174,
0.04316696152091026,
0.007767189759761095,
0.030156023800373077,
-0.002299732295796275,
0.001555898692458868,
-0.028563212603330612,
-0.0017337476601824164,
-0.01374470442533493,
-0.00971793569624424,
0.06553789973258972,
-0.00141160620842129,
0.07054898887872696,
0.04062562435865402,
0.08504536002874374,
0.006062523927539587,
0.01676030643284321,
-0.07266080379486084,
0.00696631008759141,
-0.01467533502727747,
0.03289422765374184,
-0.016491854563355446,
-0.002740439958870411,
-0.03658095747232437,
-0.017261415719985962,
0.020760230720043182,
-0.007735870312899351,
-0.010979656130075455,
-0.014317399822175503,
-0.008832045830786228,
0.015176444314420223,
0.006259388290345669,
0.006934990640729666,
0.022120382636785507,
-0.028599007055163383,
0.007109484169632196,
0.025001760572195053,
0.042164742946624756,
-0.031373001635074615,
-0.01203556451946497,
0.010630670003592968,
0.02786524035036564,
-0.00021224426745902747,
-0.0035077629145234823,
0.03922967612743378,
0.0035077629145234823,
-0.052902791649103165,
-0.004445105325430632,
0.006460726726800203,
0.011033346876502037,
-0.08633392304182053,
0.044885050505399704,
0.013574684970080853,
-0.048464398831129074,
0.023552123457193375,
-0.0038097708020359278,
0.04560092091560364,
0.016026539728045464,
-0.023981645703315735,
0.04538615792989731,
0.007695602718740702,
-0.028563212603330612,
0.09728673100471497,
-0.08690661936998367,
-0.021261340007185936,
-0.05011089891195297,
-0.010755946859717369,
-0.04882233589887619,
0.05025407299399376,
-0.00009640475764172152,
-0.015480688773095608,
-0.032196253538131714,
0.03173093870282173,
0.013798394240438938,
0.0021375431679189205,
-0.012259273789823055,
-0.021279236301779747,
-0.0047873808071017265,
-0.04921606183052063,
-0.08934057503938675,
0.00949422549456358,
0.020169638097286224,
-0.008957323618233204,
0.025520766153931618,
0.006004359573125839,
-0.03779793530702591,
0.007046845275908709,
0.019149523228406906,
-0.07559587061405182,
-0.05404818430542946,
-0.055873654782772064,
-0.06364084035158157,
0.0009188862750306726,
-0.04331013560295105,
0.030245507135987282,
0.01256351824849844,
0.008581492118537426,
0.005870134104043245,
0.04012451320886612,
-0.028831664472818375,
0.019185315817594528,
-0.04101935029029846,
0.0010609417222440243,
-0.039014916867017746,
0.0049439771100878716,
0.025896597653627396,
0.03216046094894409,
0.060920536518096924,
-0.002574895042926073,
-0.05913086235523224,
-0.015561223961412907,
0.023086808621883392,
-0.0003210229624528438,
0.013010937720537186,
-0.012312964536249638,
0.04241529852151871,
0.0030223135836422443,
0.03341323137283325,
-0.0031677247025072575,
0.0082906698808074,
-0.0481780506670475,
-0.024590134620666504,
-0.00920787826180458,
0.02578921616077423,
0.0013333079405128956,
0.050612010061740875,
0.02025912143290043,
0.01510485727339983,
-0.03543556481599808,
-0.06346187740564346,
0.007771663833409548,
0.046388376504182816,
0.03402172029018402,
0.0389433279633522,
0.028563212603330612,
-0.026451395824551582,
0.018541032448410988,
0.018487343564629555,
0.04441973567008972,
0.05837919935584068,
-0.05118470638990402,
0.0011219024891033769,
-0.04782011732459068,
0.0676497146487236,
-0.003937284927815199,
0.028294762596488,
-0.02215617708861828,
-0.04248688369989395,
0.032393116503953934,
0.003156539285555482,
-0.04731900617480278,
0.005257170181721449,
0.001036333735100925,
-0.0527954138815403,
0.060741569846868515,
0.0032214149832725525,
-0.048500191420316696,
-0.07180175930261612,
-0.01206240989267826,
-0.05154263973236084,
0.017995182424783707,
-0.027346234768629074,
-0.06313973665237427,
0.006630745716392994,
0.03505973517894745,
-0.0065367878414690495,
-0.056911665946245193,
-0.08733613789081573,
0.030764512717723846,
-0.022102486342191696,
-0.02322998084127903,
0.03364589065313339,
0.021064475178718567,
-0.0574127733707428,
-0.018773691728711128,
0.0037225240375846624,
-0.007811931427568197,
-0.011829751543700695,
-0.005471931304782629,
-0.021851932629942894,
0.02283625304698944,
-0.060920536518096924,
0.050182487815618515,
0.02643349952995777,
-0.049108684062957764,
0.002617399673908949,
-0.021189752966165543,
-0.006219120696187019,
0.014934837818145752,
-0.04771273583173752,
0.01818309724330902,
-0.07122906297445297,
0.017825163900852203,
0.004447342362254858,
0.0077000767923891544,
-0.09399373084306717,
-0.05154263973236084,
0.08626233786344528,
0.04706845432519913,
-0.017279312014579773,
-0.01128390058875084,
0.0038880689535290003,
-0.006066998466849327,
-0.0287063866853714,
-0.00603120494633913,
0.013189905323088169,
-0.035614531487226486,
0.01141812652349472,
-0.017279312014579773,
-0.014263710007071495,
-0.038764361292123795,
-0.018433652818202972,
-0.04366806894540787,
-0.07387778162956238,
0.0006135229486972094,
-0.02725674957036972,
-0.02979808859527111,
-0.025914493948221207,
0.023731090128421783,
-0.00010423459025332704,
0.04935923591256142,
-0.004304168280214071,
-0.04753376916050911,
0.0055121988989412785,
-0.0495024099946022,
-0.009673193097114563,
-0.02050967514514923,
-0.02849162556231022,
0.020420191809535027,
0.004357858560979366,
0.08819518238306046,
0.03883594647049904,
-0.03235732391476631,
0.09349261969327927,
0.00575380539521575,
-0.0008299617911688983,
-0.05952459201216698,
-0.007973002269864082,
-0.014684283174574375,
0.0524732731282711,
0.009574761614203453,
0.03189200907945633,
0.011695526540279388,
0.0004054732562508434,
0.019919082522392273,
0.04187839478254318,
-0.028151588514447212,
0.0008014388149604201,
0.01676030643284321,
-0.008192237466573715,
0.021064475178718567,
0.044491320848464966,
0.017082447186112404,
0.011972925625741482,
0.0676497146487236,
0.02154768630862236,
-0.025628145784139633,
0.020652849227190018,
0.026326119899749756,
-0.01728826016187668,
-0.06127847358584404,
-0.0032840536441653967,
-0.02940436080098152,
0.013601530343294144,
-0.06217331066727638,
0.028777973726391792,
0.015364360064268112,
0.06081315875053406
]
|
40,335 | pyglove.core.symbolic.base | sym_inferred | Returns the inferred value of the attribute under key. | def sym_inferred(
self,
key: Union[str, int],
default: Any = RAISE_IF_NOT_FOUND,
**kwargs,
) -> Any:
"""Returns the inferred value of the attribute under key."""
if default is RAISE_IF_NOT_FOUND:
return self._sym_inferred(key, **kwargs)
else:
try:
return self._sym_inferred(key, **kwargs)
except Exception: # pylint: disable=broad-exception-caught
return default
| (self, key: Union[str, int], default: Any = (MISSING_VALUE,), **kwargs) -> Any | [
0.08798367530107498,
-0.07942970842123032,
0.08014852553606033,
0.051180046051740646,
0.04028990864753723,
-0.02307415008544922,
0.0710195004940033,
-0.03428775444626808,
0.024619614705443382,
-0.02363123558461666,
0.020198866724967957,
0.01996525004506111,
0.04032585024833679,
-0.030729591846466064,
0.01845572516322136,
0.07314002513885498,
-0.02258894592523575,
0.0681801587343216,
0.014439313672482967,
0.06958185881376266,
0.029417743906378746,
-0.01201329380273819,
-0.037702154368162155,
-0.05448662117123604,
0.008796569891273975,
0.016290277242660522,
0.035815250128507614,
-0.0026506518479436636,
0.013684552162885666,
-0.043237075209617615,
-0.011698809452354908,
-0.02124115638434887,
0.0007137666689231992,
0.05980589613318443,
0.021888095885515213,
-0.04481847956776619,
-0.04212290421128273,
0.09078707545995712,
-0.047873470932245255,
-0.0986941009759903,
0.002533843507990241,
-0.0019688953179866076,
0.011240561492741108,
-0.043668366968631744,
-0.03241882100701332,
0.01572420634329319,
-0.012237925082445145,
-0.011312443763017654,
0.022858504205942154,
-0.04133220016956329,
0.03365878760814667,
-0.038600679486989975,
0.018365873023867607,
0.02596740424633026,
0.01755720004439354,
0.0002497621753718704,
-0.05243798345327377,
0.0035132369957864285,
-0.05445067957043648,
0.024134410545229912,
0.046939004212617874,
-0.030801473185420036,
-0.004259013570845127,
-0.0180963147431612,
-0.026973752304911613,
-0.012768055312335491,
0.005067687015980482,
0.03184376284480095,
-0.047873470932245255,
0.003347009653225541,
-0.019066723063588142,
-0.05355215445160866,
-0.05739784613251686,
-0.00974900834262371,
0.06005748361349106,
-0.049311112612485886,
-0.03139450028538704,
-0.08022040873765945,
0.02544625848531723,
0.0004992435569874942,
-0.01361266989260912,
-0.02860907092690468,
-0.07554807513952255,
-0.029040362685918808,
-0.03202347084879875,
0.00486102607101202,
0.0005273224669508636,
-0.016820408403873444,
-0.005386664066463709,
-0.017458362504839897,
-0.022373300045728683,
0.02402658760547638,
-0.00730052450671792,
0.031753912568092346,
0.02873486466705799,
0.00014713364362251014,
0.028303571045398712,
-0.049239229410886765,
0.06979750841856003,
-0.024871202185750008,
0.011393310502171516,
-0.023936735466122627,
0.0213489793241024,
-0.0031897674780339003,
0.010234212502837181,
-0.0547022670507431,
0.03931950032711029,
-0.00853150524199009,
-0.01315442193299532,
-0.01890498958528042,
-0.06210612133145332,
-0.05829637125134468,
0.002821371890604496,
0.021151304244995117,
-0.024709466844797134,
0.007565589621663094,
0.004110756795853376,
0.008149631321430206,
0.02174433134496212,
0.06674251705408096,
-0.05233015865087509,
-0.015418707393109798,
-0.043632425367832184,
-0.034000225365161896,
0.040469612926244736,
0.0017150616040453315,
0.015930866822600365,
0.009488435462117195,
0.044674716889858246,
0.09948480874300003,
0.05074875429272652,
0.015948837623000145,
-0.004726247396320105,
0.08712109178304672,
-0.023739058524370193,
0.07270873337984085,
0.043273016810417175,
0.10113809257745743,
0.01250748336315155,
0.05488197132945061,
0.043668366968631744,
-0.0069635771214962006,
0.002749489853158593,
0.006069543771445751,
0.0023743552155792713,
-0.0009552455157972872,
0.004973341710865498,
0.043201133608818054,
-0.03698333352804184,
0.006388520356267691,
0.012228939682245255,
0.05146757513284683,
-0.023685147985816002,
0.04622018337249756,
0.03511440008878708,
0.010746371932327747,
-0.021546656265854836,
0.004506108351051807,
-0.0416916087269783,
-0.025320464745163918,
-0.026129137724637985,
-0.04381213337182999,
0.021977948024868965,
-0.06605963408946991,
0.02454773336648941,
0.012435601092875004,
-0.03939138352870941,
0.027854308485984802,
0.0416916087269783,
0.03227505832910538,
-0.05775725468993187,
-0.002630435163155198,
0.008544983342289925,
-0.026075227186083794,
0.06109977513551712,
0.03698333352804184,
-0.03568945452570915,
-0.021061452105641365,
0.04384807124733925,
0.02720736898481846,
0.030909297987818718,
-0.03608480840921402,
-0.03439557924866676,
-0.055780500173568726,
-0.0003748538438230753,
0.06530487537384033,
-0.005476516671478748,
-0.0005579285207204521,
-0.008023837581276894,
0.03419790416955948,
-0.02262488752603531,
0.029938889667391777,
0.03896009176969528,
0.02776445634663105,
-0.02686592936515808,
-0.05793696269392967,
0.002740504452958703,
-0.02077392302453518,
0.006765901576727629,
0.03139450028538704,
-0.01566131040453911,
-0.01412483025342226,
0.026578402146697044,
0.06685034185647964,
-0.04161972925066948,
-0.004187131766229868,
0.0008788708364591002,
0.0005012090550735593,
-0.05441473796963692,
0.002189034130424261,
-0.057649433612823486,
0.0018431015778332949,
-0.009299744851887226,
-0.0115460604429245,
-0.019569898024201393,
-0.011492148973047733,
0.03187970444560051,
0.00974002294242382,
-0.026524489745497704,
0.04338083788752556,
0.08611474186182022,
-0.03497063368558884,
0.05545702949166298,
0.016029704362154007,
0.11062653362751007,
-0.03849285840988159,
-0.005013775546103716,
-0.01576014794409275,
-0.021546656265854836,
0.0025315971579402685,
0.009102068841457367,
-0.02729722298681736,
0.01944410428404808,
-0.03795374184846878,
0.02318197302520275,
-0.03931950032711029,
0.05229421705007553,
-0.021151304244995117,
0.004874504171311855,
0.024637585505843163,
-0.029453685507178307,
0.03421587496995926,
-0.00898975320160389,
0.03511440008878708,
0.005211451090872288,
-0.009182936511933804,
0.014888577163219452,
0.04582482948899269,
-0.021672448143363,
-0.015607398003339767,
0.07727324217557907,
0.022984297946095467,
0.028842687606811523,
0.018815135583281517,
0.045106008648872375,
0.022409239783883095,
-0.09078707545995712,
-0.005211451090872288,
0.03103509172797203,
-0.004748710431158543,
-0.017871683463454247,
0.06566428393125534,
-0.024907143786549568,
0.025194671005010605,
-0.03896009176969528,
-0.006118962541222572,
-0.02965136058628559,
-0.002260916167870164,
0.01199532300233841,
-0.0073364656418561935,
-0.11479569226503372,
-0.01182460319250822,
0.03849285840988159,
-0.022445181384682655,
-0.005162032321095467,
0.023343708366155624,
0.008414696902036667,
0.03755839169025421,
-0.009106561541557312,
-0.04582482948899269,
-0.03651610016822815,
-0.0026731151156127453,
-0.01460104901343584,
0.011608957313001156,
-0.044207483530044556,
0.060309071093797684,
-0.034449491649866104,
-0.04812505841255188,
-0.000636268756352365,
-0.036839570850133896,
0.10408525913953781,
0.02174433134496212,
0.03378457948565483,
0.01198633760213852,
0.019264400005340576,
-0.0034683106932789087,
-0.03978673368692398,
-0.009416553191840649,
0.06027312949299812,
0.02875283546745777,
0.010818254202604294,
0.020109014585614204,
0.02222953550517559,
0.014511195942759514,
0.03276026248931885,
0.020252777263522148,
0.009012216702103615,
-0.02963338978588581,
-0.013819331303238869,
0.04133220016956329,
-0.021510714665055275,
0.02860907092690468,
-0.04528571292757988,
0.003753592725843191,
0.006743438076227903,
-0.0024844245053827763,
-0.014547137543559074,
0.036695804446935654,
0.02638072520494461,
0.07475736737251282,
0.013235289603471756,
0.02584161050617695,
-0.07432607561349869,
0.00858092401176691,
-0.020109014585614204,
0.006388520356267691,
-0.01994727924466133,
-0.02675810642540455,
0.018276020884513855,
0.02124115638434887,
0.04952675849199295,
-0.0198394563049078,
-0.04622018337249756,
-0.019785543903708458,
-0.10142562538385391,
-0.0016375638078898191,
0.009200907312333584,
0.019623810425400734,
0.028411393985152245,
-0.0051530469208955765,
-0.030388152226805687,
-0.032562583684921265,
0.030621768906712532,
-0.0019801268354058266,
0.009775963611900806,
0.005588832311332226,
0.06153106689453125,
-0.043201133608818054,
0.05538514629006386,
-0.0051126135513186455,
-0.029920918866991997,
-0.01797052100300789,
-0.017781831324100494,
0.004973341710865498,
0.043668366968631744,
0.023451531305909157,
-0.001647672150284052,
0.004887981805950403,
0.007358928676694632,
-0.007969926111400127,
0.006914158351719379,
-0.016290277242660522,
-0.026668254286050797,
-0.0030415107030421495,
0.04589671269059181,
0.017287641763687134,
-0.008248469792306423,
0.016766496002674103,
-0.034503400325775146,
-0.030873356387019157,
-0.05038934201002121,
-0.030747562646865845,
-0.03322749584913254,
-0.016838379204273224,
0.0315202958881855,
0.04862822964787483,
-0.02311009168624878,
0.03146638348698616,
0.02957947924733162,
0.016514908522367477,
0.00462291669100523,
-0.006631122436374426,
0.014735828153789043,
0.08848685026168823,
0.022445181384682655,
-0.013073554262518883,
-0.021924035623669624,
-0.024152381345629692,
0.016865335404872894,
0.03541989624500275,
-0.006056065671145916,
-0.03935544192790985,
0.029381802305579185,
0.00614142557606101,
0.012812982313334942,
-0.04082902520895004,
0.011510118842124939,
-0.06160294637084007,
-0.056211791932582855,
0.01897687092423439,
-0.00634808698669076,
0.02584161050617695,
-0.007942970842123032,
0.012678203172981739,
-0.0014578585978597403,
0.04244637116789818,
-0.013801360502839088,
0.017278656363487244,
-0.0313405878841877,
-0.001345542841590941,
0.0007710476638749242,
0.03989455848932266,
-0.012076190672814846,
-0.012264881283044815,
0.023900793865323067,
0.006711989641189575,
0.009838860481977463,
0.021097391843795776,
-0.0009614229202270508,
-0.010557681322097778,
-0.004892474506050348,
-0.041871316730976105,
0.01802443340420723,
0.001996974227949977,
-0.010557681322097778,
-0.02954353764653206,
0.0006868108757771552,
0.004539803136140108,
-0.032077379524707794,
0.027944160625338554,
0.0020823341328650713,
-0.026937812566757202,
0.04859229177236557,
0.0032032455783337355,
0.04661553353071213,
-0.007830655202269554,
-0.023361677303910255,
-0.05631961300969124,
0.007507185451686382,
-0.038672562688589096,
-0.015086253173649311,
0.00658619636669755,
-0.034880783408880234,
0.02690187096595764,
-0.049814287573099136,
-0.050640929490327835,
-0.02305617928504944,
0.09308730065822601,
-0.007030966691672802,
-0.058008842170238495,
0.013253259472548962,
-0.07784830033779144,
0.040469612926244736,
0.006428954191505909,
-0.024152381345629692,
-0.014888577163219452,
-0.03640827536582947,
0.01895890012383461,
0.022768650203943253,
-0.004865518771111965,
0.01153707504272461,
0.008185572922229767,
-0.013082539662718773,
-0.05358809605240822,
-0.013199348002672195,
0.03924762085080147,
-0.013199348002672195,
-0.028914568945765495,
-0.01758415624499321,
-0.011420266702771187,
0.033137641847133636,
-0.01297471672296524,
-0.0021149057429283857,
-0.028447335585951805,
-0.01137534063309431,
0.016901275143027306,
-0.020594216883182526,
-0.02041451260447502,
0.004735232330858707,
-0.049814287573099136,
0.04011020436882973,
-0.017278656363487244,
-0.003052742453292012,
-0.032113321125507355,
0.03096320852637291,
0.0240086168050766,
-0.03928355872631073,
0.034036166965961456,
0.010153344832360744,
0.0291841272264719,
-0.002542828908190131,
0.1117047592997551,
0.047442175447940826,
0.015472618862986565,
0.021438831463456154,
0.017224745824933052,
-0.0108362240716815,
-0.01719778962433338,
0.05301303789019585,
-0.028932539746165276,
-0.012642261572182178,
-0.052042629569768906,
-0.017368508502840996,
0.03292199596762657,
-0.018347902223467827,
0.0029067317955195904,
-0.04402777925133705,
-0.003661493770778179,
0.014978429302573204,
-0.016344189643859863,
0.07720135897397995,
0.036246541887521744,
0.04305737093091011,
-0.010027551092207432,
0.06379535049200058,
-0.039067912846803665,
0.06314841657876968,
-0.030675681307911873,
0.014843651093542576,
-0.031592175364494324,
0.02133100852370262,
-0.026488548144698143,
-0.040972787886857986,
0.005036238580942154,
-0.00927278958261013,
0.0011939165415242314,
0.0017577416729182005,
-0.009290759451687336,
-0.001793682691641152,
0.031610146164894104,
-0.0044634281657636166,
0.019785543903708458,
-0.024889172986149788,
0.034018196165561676,
-0.0032571570482105017,
0.015023356303572655,
-0.006855754181742668,
0.02819574810564518,
-0.05959025025367737,
-0.02727925218641758,
0.01364861149340868,
0.026973752304911613,
-0.04686712101101875,
0.021097391843795776,
0.05912301689386368,
-0.03734274208545685,
-0.06850362569093704,
0.027890250086784363,
0.02539234794676304,
0.0011293350253254175,
-0.06961780041456223,
0.012786026112735271,
-0.013891213573515415,
0.007201686501502991,
-0.012192999012768269,
-0.023433560505509377,
0.019084693863987923,
0.005373185966163874,
-0.01706301048398018,
0.03874444589018822,
0.025158729404211044,
0.016065645962953568,
0.10911700874567032,
-0.07978911697864532,
0.014924517832696438,
-0.028465306386351585,
-0.027584750205278397,
-0.02364920638501644,
0.009407567791640759,
-0.014987414702773094,
-0.03644421696662903,
-0.008320351131260395,
0.08208934217691422,
0.007826162502169609,
-0.009569303132593632,
0.03340720012784004,
-0.034880783408880234,
-0.019803514704108238,
-0.04212290421128273,
-0.030262358486652374,
0.00016131351003423333,
0.04445907101035118,
0.023020237684249878,
0.006676048971712589,
0.0009176197345368564,
-0.03917573764920235,
0.014654960483312607,
0.023469502106308937,
-0.08891814202070236,
-0.018815135583281517,
-0.07842335850000381,
-0.06972562521696091,
-0.026524489745497704,
0.03639030456542969,
0.015571457333862782,
-0.000016680645785527304,
0.002108166925609112,
0.02675810642540455,
0.041871316730976105,
-0.01985742710530758,
-0.0016510416753590107,
-0.022283446043729782,
0.0249251127243042,
0.038241270929574966,
0.03432369604706764,
0.05448662117123604,
0.037198979407548904,
0.016452012583613396,
0.014061933383345604,
-0.043237075209617615,
-0.01894092932343483,
-0.0012422122526913881,
0.009371627122163773,
0.044243425130844116,
-0.01849166676402092,
0.024871202185750008,
-0.0161734689027071,
0.05276145040988922,
-0.03640827536582947,
-0.005463038571178913,
-0.04305737093091011,
-0.02041451260447502,
-0.044602833688259125,
-0.005831434391438961,
0.018401814624667168,
0.07677006721496582,
-0.0012377196690067649,
0.03148435428738594,
-0.027494898065924644,
-0.012130102142691612,
-0.01899484172463417,
0.05218639597296715,
0.04812505841255188,
0.008279917761683464,
0.016784466803073883,
-0.0008642697939649224,
0.04848446696996689,
0.023703118786215782,
-0.011707794852554798,
0.05649932101368904,
-0.008967290632426739,
0.021384920924901962,
-0.016991127282381058,
0.08424580842256546,
0.014547137543559074,
0.021007539704442024,
-0.033586904406547546,
0.0022070046979933977,
0.014538152143359184,
0.049311112612485886,
-0.05976995453238487,
-0.021420862525701523,
-0.031286679208278656,
-0.041871316730976105,
0.038600679486989975,
-0.010279138572514057,
-0.00008858905493980274,
-0.1033664420247078,
-0.005332752130925655,
-0.04657959192991257,
-0.05128786712884903,
-0.0002570626966189593,
-0.06943809241056442,
0.023469502106308937,
-0.006226785946637392,
-0.05448662117123604,
-0.08208934217691422,
-0.06724569201469421,
0.06584399193525314,
-0.07127109169960022,
0.009138010442256927,
0.0005947119207121432,
0.016074631363153458,
-0.02034263126552105,
-0.03993050009012222,
-0.0180963147431612,
0.0648735836148262,
0.033497054129838943,
0.019102664664387703,
-0.03141247108578682,
0.07339160889387131,
-0.0565352626144886,
0.01890498958528042,
0.024206291884183884,
-0.07597936689853668,
-0.008868452161550522,
-0.008585416711866856,
-0.011150708422064781,
0.0029606434982270002,
-0.04798129200935364,
0.003598596900701523,
-0.0618545338511467,
0.005746074486523867,
-0.027620691806077957,
-0.09078707545995712,
-0.08848685026168823,
-0.07942970842123032,
0.036731746047735214,
0.019659750163555145,
-0.021870125085115433,
0.013567743822932243,
0.00415568333119154,
0.015984779223799706,
-0.06774886697530746,
0.017961535602808,
0.00518898805603385,
-0.018887018784880638,
0.01939019188284874,
-0.04205102100968361,
-0.015454648993909359,
-0.0053417375311255455,
-0.04115249589085579,
-0.05279739201068878,
-0.010351020842790604,
0.011671854183077812,
0.00624924898147583,
-0.06965374201536179,
-0.011411281302571297,
-0.055277325212955475,
0.0618545338511467,
0.0018543332116678357,
-0.045573242008686066,
-0.00016384061018470675,
-0.0026281888131052256,
-0.028483277186751366,
-0.006056065671145916,
0.023271825164556503,
-0.0006390766939148307,
0.016290277242660522,
0.06340000033378601,
0.09143401682376862,
0.06591587513685226,
0.029902948066592216,
0.032221145927906036,
0.027908220887184143,
-0.005072179716080427,
-0.0030752054881304502,
0.007785728666931391,
0.027944160625338554,
0.05883548781275749,
-0.05365997925400734,
0.0683598667383194,
-0.0463639460504055,
0.027602721005678177,
0.02862704172730446,
-0.017880668863654137,
-0.0065277921967208385,
0.026093197986483574,
0.01567927934229374,
0.02674013562500477,
-0.02821371890604496,
0.034018196165561676,
0.0370192751288414,
0.018599489703774452,
0.036282483488321304,
-0.030837414786219597,
-0.012714143842458725,
0.0009501913446001709,
0.06106383353471756,
0.014735828153789043,
-0.0451778918504715,
-0.04524977505207062,
-0.049778345972299576,
0.015445663593709469,
-0.041871316730976105,
0.005566369276493788,
0.0071657453663647175,
0.06149512529373169
]
|
40,336 | pyglove.core.symbolic.object | sym_items | Iterates the (key, value) pairs of symbolic attributes. | def sym_items(self):
"""Iterates the (key, value) pairs of symbolic attributes."""
return self._sym_attributes.sym_items()
| (self) | [
0.0777607187628746,
-0.03113492950797081,
0.015558953396975994,
-0.02318522334098816,
0.02422362193465233,
-0.04071883484721184,
-0.019150789827108383,
-0.02602805197238922,
0.09437509626150131,
0.029739048331975937,
-0.020853081718087196,
0.0006830448401160538,
0.05055808648467064,
0.044872429221868515,
-0.03530554473400116,
0.019167812541127205,
-0.017499566078186035,
0.02539820410311222,
-0.0487196110188961,
0.025210950523614883,
-0.01892949268221855,
0.05702679604291916,
-0.00893703568726778,
-0.05770771577954292,
0.013031048700213432,
-0.005740981083363295,
0.03731425106525421,
0.0033407488372176886,
0.06574253737926483,
-0.0032747851219028234,
-0.0547797717154026,
-0.009362608194351196,
0.023134155198931694,
-0.007217720150947571,
0.055324506014585495,
-0.029807141050696373,
-0.01572067104279995,
0.0017491055186837912,
0.012477803975343704,
0.016163267195224762,
0.04568953067064285,
-0.008677436038851738,
0.016793115064501762,
-0.0076645719818770885,
0.007145372685045004,
-0.017218688502907753,
0.006358062382787466,
-0.011609634384512901,
0.038199443370103836,
-0.07946301251649857,
0.026998357847332954,
-0.005506915971636772,
0.046540677547454834,
0.010562724433839321,
0.019457202404737473,
-0.0024427897296845913,
-0.03060721792280674,
0.0018512430833652616,
-0.014384371228516102,
0.037450432777404785,
0.001603346667252481,
-0.028019733726978302,
0.018010254949331284,
-0.07953110337257385,
0.019576363265514374,
-0.04814083129167557,
-0.04313609004020691,
0.008179515600204468,
-0.017354872077703476,
-0.025244997814297676,
-0.01097127515822649,
-0.03435226157307625,
-0.023968277499079704,
0.0008617855492047966,
-0.05243060737848282,
-0.04511075094342232,
0.010086082853376865,
0.0049877166748046875,
0.010579748079180717,
-0.08858729898929596,
-0.046438537538051605,
0.02818996272981167,
-0.056482065469026566,
0.013448110781610012,
-0.05212419480085373,
0.04388510063290596,
0.027015380561351776,
0.0018469872884452343,
-0.02914324775338173,
0.07796499133110046,
-0.03113492950797081,
0.046438537538051605,
-0.004153593443334103,
0.079803466796875,
-0.030249737203121185,
-0.0158994123339653,
-0.004213173873722553,
-0.03135622665286064,
0.030028438195586205,
-0.002574717393144965,
0.028087826445698738,
-0.04024219512939453,
-0.030454011633992195,
0.04742586612701416,
-0.0365992896258831,
-0.0013692814391106367,
-0.031594548374414444,
-0.07810118049383163,
0.03574814274907112,
0.0017342104110866785,
-0.07496895641088486,
0.07714789360761642,
0.06349550932645798,
-0.0000836517137940973,
-0.0069113075733184814,
-0.018946515396237373,
0.0017022924730554223,
-0.002423638943582773,
0.01756765879690647,
-0.009634975343942642,
-0.04020814597606659,
0.04354464262723923,
0.03365432098507881,
0.03768875449895859,
0.01787407137453556,
0.0449405200779438,
0.01326085813343525,
0.0015299353981390595,
-0.03030080534517765,
0.055426642298698425,
0.0025406714994460344,
-0.03687165305018425,
0.01838475838303566,
0.06192940101027489,
-0.0048217433504760265,
-0.04626831039786339,
0.09015341103076935,
-0.013226812705397606,
0.03009653091430664,
0.035271499305963516,
0.03802921250462532,
0.03152645751833916,
-0.056448016315698624,
0.03646310418844223,
-0.0482429675757885,
-0.011703260242938995,
-0.0285304207354784,
0.03322874754667282,
-0.005975046660751104,
-0.060329243540763855,
-0.003821646561846137,
0.030845539644360542,
0.035271499305963516,
0.05042190104722977,
-0.021159496158361435,
0.03581623360514641,
-0.05474572628736496,
0.002064029686152935,
-0.02674301527440548,
-0.015584487468004227,
-0.06856834143400192,
-0.01881033182144165,
-0.020767968147993088,
-0.03962936997413635,
0.01573769375681877,
0.013924752362072468,
0.011201084591448307,
-0.05120495706796646,
0.03190096095204353,
-0.009320051409304142,
-0.015916435047984123,
-0.08307187259197235,
-0.032326534390449524,
-0.019491247832775116,
0.015107845887541771,
0.00474939588457346,
0.013618339784443378,
0.027560114860534668,
0.051136866211891174,
0.002183190081268549,
0.011728795245289803,
-0.057299163192510605,
-0.08593172580003738,
-0.014699295163154602,
0.01755063608288765,
0.013388530351221561,
0.00684321578592062,
0.014767386950552464,
0.07326667010784149,
-0.01368643157184124,
0.03174775466322899,
0.003355643944814801,
-0.014750364236533642,
0.03687165305018425,
-0.008315698243677616,
-0.03956127539277077,
-0.012562918476760387,
0.013924752362072468,
-0.049979306757450104,
0.03799516707658768,
-0.011269176378846169,
-0.05597137659788132,
-0.04854938015341759,
0.07054299861192703,
-0.01596750319004059,
-0.02267453633248806,
-0.007515621371567249,
-0.07040681689977646,
-0.003691846737638116,
0.005409034434705973,
-0.0011756457388401031,
0.005800561513751745,
0.044566016644239426,
-0.008230583742260933,
0.0105457017198205,
0.005702679511159658,
-0.012452268972992897,
-0.0025662058033049107,
-0.0044089374132454395,
-0.01227352861315012,
0.006715543568134308,
-0.017499566078186035,
-0.005651610903441906,
-0.02372995764017105,
0.0004734500835184008,
-0.05576710030436516,
0.016946321353316307,
0.047596096992492676,
-0.052702974528074265,
0.008358255960047245,
0.028462329879403114,
0.007485831156373024,
0.006443176884204149,
0.01913376711308956,
0.025330111384391785,
0.001439501065760851,
0.019797660410404205,
0.013788568787276745,
-0.01196711603552103,
0.0018533709226176143,
-0.02779843658208847,
0.03826753422617912,
-0.022538352757692337,
0.035680048167705536,
-0.04541716352105141,
0.005532450508326292,
0.058763135224580765,
0.05181778222322464,
-0.022317053750157356,
-0.03928890824317932,
0.022810718044638634,
-0.013550247997045517,
0.032139282673597336,
0.025534387677907944,
0.028394239023327827,
-0.06250818073749542,
-0.0411614328622818,
0.003481188090518117,
0.029483705759048462,
-0.022112779319286346,
0.026708967983722687,
0.03836967051029205,
-0.03019866906106472,
0.05651611089706421,
0.07612651586532593,
0.06444878876209259,
0.03540768474340439,
0.02810484915971756,
-0.06152084842324257,
-0.005021762568503618,
0.08627218008041382,
-0.03195203095674515,
-0.06662772595882416,
0.029841186478734016,
-0.00801354181021452,
0.045076705515384674,
0.052192285656929016,
0.015856854617595673,
-0.035169363021850586,
-0.027934618294239044,
-0.0038237744010984898,
0.0025576944462955,
-0.043510593473911285,
0.002774736611172557,
-0.010009479708969593,
0.002647064859047532,
-0.024461941793560982,
-0.01221394818276167,
0.009890318848192692,
0.004187639337033033,
0.07762453705072403,
0.04902602359652519,
0.014146050438284874,
-0.024257667362689972,
0.10458885133266449,
0.008707226254045963,
-0.025994006544351578,
0.010775511153042316,
0.04180830344557762,
0.036292873322963715,
0.02361079677939415,
0.03826753422617912,
0.014963150955736637,
0.04061669856309891,
-0.02444491907954216,
0.019916821271181107,
0.08477416634559631,
0.06441474705934525,
-0.039016544818878174,
0.02759416028857231,
0.0266408771276474,
0.02192552760243416,
0.011899024248123169,
0.051341138780117035,
-0.06468711048364639,
-0.0707472711801529,
-0.05685656890273094,
-0.0019555084872990847,
0.020104072988033295,
0.06489139050245285,
-0.02265751175582409,
-0.021040335297584534,
-0.019150789827108383,
-0.032649967819452286,
-0.01164368074387312,
0.03499913215637207,
0.020767968147993088,
-0.020291326567530632,
0.03690570220351219,
0.013175743632018566,
0.014784409664571285,
-0.013933263719081879,
-0.022708581760525703,
0.037450432777404785,
-0.00462597981095314,
0.08007583767175674,
-0.001691653160378337,
0.038914404809474945,
-0.01984873041510582,
-0.07871400564908981,
-0.026572784408926964,
-0.020529646426439285,
0.007770964875817299,
-0.02539820410311222,
-0.06468711048364639,
-0.029909279197454453,
-0.03030080534517765,
0.0002904536377172917,
0.01829964481294155,
0.006945353001356125,
0.0014905697898939252,
0.0484812892973423,
0.014214142225682735,
0.053043432533741,
-0.003357771784067154,
0.011362802237272263,
-0.06152084842324257,
0.013924752362072468,
-0.015644067898392677,
0.04933243617415428,
0.06887475401163101,
0.03908463567495346,
-0.01797620765864849,
-0.03440333157777786,
0.020563693717122078,
-0.0762627050280571,
-0.02401934564113617,
0.007936938665807247,
0.04160402715206146,
-0.026623854413628578,
-0.03915272653102875,
-0.0009474321268498898,
-0.022861788049340248,
-0.03949318453669548,
0.011201084591448307,
0.020240256562829018,
0.03690570220351219,
0.0037790893111377954,
-0.004108908586204052,
-0.009583906270563602,
0.01746552065014839,
-0.041433800011873245,
0.05488190799951553,
0.045280978083610535,
0.021482931450009346,
-0.01954231783747673,
0.029909279197454453,
-0.027611183002591133,
0.008549763821065426,
0.04238708317279816,
-0.06233794987201691,
-0.030862562358379364,
-0.03362027555704117,
0.04555334523320198,
0.022402169182896614,
-0.05941000580787659,
0.03690570220351219,
-0.05127304792404175,
-0.0689428448677063,
-0.03404584899544716,
0.006358062382787466,
-0.03225844353437424,
-0.03499913215637207,
-0.042182806879282,
-0.02602805197238922,
-0.055222366005182266,
-0.012299062684178352,
0.02151697687804699,
0.007175162900239229,
-0.012086276896297932,
0.01848689652979374,
0.031322181224823,
-0.022912856191396713,
-0.07939492166042328,
0.053554121404886246,
-0.018572010099887848,
0.0205807164311409,
0.03147538751363754,
0.05702679604291916,
0.03789303079247475,
0.027032403275370598,
-0.06523184478282928,
-0.03571409732103348,
0.006396363954991102,
-0.020836059004068375,
0.0017618726706132293,
0.007907148450613022,
0.03166263923048973,
0.011677726171910763,
0.03070935606956482,
-0.005992069374769926,
0.022589420899748802,
0.02997737005352974,
-0.02580675296485424,
0.0111755495890975,
-0.02674301527440548,
-0.019797660410404205,
-0.05171564593911171,
-0.004070607014000416,
0.007604991551488638,
-0.01436734851449728,
0.02245323732495308,
-0.0018512430833652616,
-0.01258845254778862,
0.019406134262681007,
0.0002186381898354739,
-0.018163461238145828,
0.047800373286008835,
0.08906394243240356,
-0.0041152918711304665,
-0.018333690240979195,
-0.02509179152548313,
0.06114634498953819,
-0.06387001276016235,
-0.0051239002496004105,
0.056890614330768585,
-0.0017714480636641383,
-0.058252446353435516,
-0.0156610906124115,
0.0010421221377328038,
0.030164621770381927,
-0.010017991065979004,
-0.014784409664571285,
-0.036633335053920746,
0.0037918563466519117,
-0.010784022510051727,
-0.017312314361333847,
0.0348629504442215,
0.02025728113949299,
0.03438630700111389,
0.013831126503646374,
0.015073799528181553,
-0.002230003010481596,
-0.058660998940467834,
0.002221491653472185,
-0.011950093321502209,
-0.03123706579208374,
0.02035941742360592,
-0.09001722186803818,
-0.09348990023136139,
-0.012494826689362526,
-0.0399017333984375,
-0.019389111548662186,
-0.038505855947732925,
0.03377348184585571,
0.01468227244913578,
0.010511656291782856,
-0.026079120114445686,
-0.03428417071700096,
-0.005523939151316881,
0.02236812375485897,
-0.00846039317548275,
-0.015567464753985405,
0.052294425666332245,
0.05923977866768837,
0.03465867415070534,
0.004036561120301485,
-0.0176697950810194,
-0.017397429794073105,
0.019899798557162285,
-0.02257239818572998,
-0.026487670838832855,
0.03826753422617912,
0.01358429342508316,
-0.002564077964052558,
0.03935700282454491,
-0.030760424211621284,
-0.060022830963134766,
0.0035343847703188658,
-0.04545120894908905,
0.029007064178586006,
-0.04102524742484093,
0.04051456227898598,
-0.02265751175582409,
0.020104072988033295,
-0.051681600511074066,
-0.031049814075231552,
-0.026930266991257668,
0.0013565142871811986,
0.03217332810163498,
0.01092020608484745,
-0.06404024362564087,
-0.04565548524260521,
-0.0010346745839342475,
-0.043510593473911285,
-0.0020895639900118113,
-0.05488190799951553,
-0.03365432098507881,
-0.0012660800712183118,
-0.006753845140337944,
0.059818558394908905,
0.004434471949934959,
-0.03113492950797081,
0.008290164172649384,
-0.04538311809301376,
0.01227352861315012,
0.07667125016450882,
-0.004447238985449076,
-0.03585027903318405,
0.02956881932914257,
0.0691811665892601,
0.020955219864845276,
0.006575104780495167,
0.009277493692934513,
0.045485254377126694,
-0.004323822911828756,
-0.0606016106903553,
-0.07953110337257385,
-0.01899758353829384,
-0.006924074608832598,
-0.05215824022889137,
0.0017937907250598073,
-0.04031028598546982,
-0.05079640820622444,
0.018129413947463036,
-0.01326085813343525,
0.06717246025800705,
-0.01972956955432892,
-0.05780985206365585,
0.024598125368356705,
0.027134541422128677,
-0.03193500638008118,
-0.03470974415540695,
-0.06233794987201691,
0.013473644852638245,
0.011030854657292366,
0.03537363559007645,
0.016478190198540688,
-0.0058133285492658615,
0.053247708827257156,
-0.009183867834508419,
0.016171777620911598,
0.05787794291973114,
0.028036756440997124,
0.051136866211891174,
-0.026913244277238846,
-0.015627045184373856,
0.010145663283765316,
-0.0015448303893208504,
-0.05586923658847809,
0.027117518708109856,
0.06591276079416275,
-0.009762647561728954,
0.031049814075231552,
0.009745623916387558,
-0.006396363954991102,
-0.005281362216919661,
0.04460006207227707,
-0.04374891519546509,
-0.008111423812806606,
-0.05283915624022484,
-0.07462850213050842,
-0.03717806562781334,
-0.04429364949464798,
-0.01755063608288765,
-0.052294425666332245,
-0.02424064464867115,
0.03986768797039986,
-0.06877261400222778,
0.025670569390058517,
0.028360191732645035,
0.02078499086201191,
0.0436808243393898,
0.033807527273893356,
-0.012009672820568085,
-0.009030661545693874,
0.07381140440702438,
-0.0004617468221113086,
-0.022844765335321426,
0.006349551025778055,
-0.06652558594942093,
-0.005958023481070995,
0.0066389404237270355,
-0.05930786952376366,
0.009754136204719543,
0.010937228798866272,
0.01389070600271225,
0.06087397783994675,
0.0008692331030033529,
0.010375472716987133,
-0.05842267721891403,
-0.06529993563890457,
-0.06567444652318954,
0.05185182765126228,
-0.009992456994950771,
0.0028023989871144295,
0.016750557348132133,
0.058558858931064606,
-0.0015107846120372415,
-0.04119547829031944,
-0.01301402598619461,
0.0002423106925562024,
0.044974565505981445,
-0.021755296736955643,
-0.003185414709150791,
0.02515988238155842,
-0.005426057148724794,
0.004353613127022982,
-0.03728020563721657,
0.08525080978870392,
-0.004506819415837526,
0.03331386297941208,
-0.026981335133314133,
0.049979306757450104,
-0.007247509900480509,
0.04803869128227234,
-0.019916821271181107,
-0.01706548221409321,
0.025959959253668785,
-0.01618880033493042,
-0.009047684259712696,
-0.005562240723520517,
-0.028785765171051025,
-0.03207118809223175,
0.014878036454319954,
-0.009890318848192692,
-0.049162205308675766,
-0.05181778222322464,
-0.018367735669016838,
-0.03571409732103348,
-0.031168974936008453,
-0.010128640569746494,
-0.03052210435271263,
-0.034011803567409515,
0.030590195208787918,
-0.005685656797140837,
-0.029092177748680115,
0.051647551357746124,
0.027951642870903015,
-0.02820698544383049,
0.028070801869034767,
0.06935139745473862,
0.01828262023627758,
-0.0018501791637390852,
-0.04551929980516434,
0.04647258296608925,
0.013677920214831829,
0.0205807164311409,
0.09348990023136139,
-0.0007436890155076981,
-0.025670569390058517,
-0.027849504724144936,
0.005081342998892069,
0.0021565917413681746,
-0.016946321353316307,
-0.036088600754737854,
0.0005154754617251456,
0.03082851693034172,
-0.0316796638071537,
-0.07040681689977646,
-0.04640449211001396,
-0.0593419149518013,
0.05120495706796646,
-0.005404778756201267,
-0.022708581760525703,
-0.009149822406470776,
0.04616617038846016,
0.0009139182511717081,
0.08055248111486435,
0.013345972634851933,
-0.02340652048587799,
0.007213464472442865,
0.04575762152671814,
0.008609344251453876,
0.05651611089706421,
0.011984138749539852,
0.007387949153780937,
-0.015005707740783691,
0.005655866581946611,
0.03710997477173805,
-0.024581102654337883,
0.015831319615244865,
-0.07544559985399246,
-0.0351012721657753,
0.04208067059516907,
-0.011218107305467129,
-0.018742239102721214,
-0.031509432941675186,
-0.013022537343204021,
0.04054860770702362,
0.014767386950552464,
0.022521330043673515,
0.00993287656456232,
0.08062057197093964,
-0.04844724386930466,
0.055630918592214584,
-0.053417935967445374,
0.06101016327738762,
-0.02037644013762474,
0.024717286229133606,
-0.007115582469850779,
-0.005872908979654312,
-0.06553825736045837,
0.07844163477420807,
-0.0535200759768486,
0.04483838379383087,
-0.022402169182896614,
0.011575588956475258,
-0.02141483873128891,
0.07782880961894989,
0.010732954367995262,
0.0691811665892601,
-0.012792727909982204,
0.015150402672588825,
-0.01259696390479803,
-0.0038046236149966717,
-0.031049814075231552,
-0.0035152339842170477,
0.015295097604393959,
-0.046744950115680695,
0.0365992896258831,
0.05811626464128494,
0.004447238985449076,
-0.008677436038851738,
0.047289684414863586,
0.01972956955432892,
0.022946901619434357,
-0.039969827979803085,
0.003308831015601754,
-0.01775491051375866,
-0.032649967819452286,
-0.02141483873128891,
0.006277203559875488,
0.06444878876209259,
-0.0365992896258831,
-0.005340942647308111,
-0.003821646561846137,
-0.00882638618350029
]
|
40,337 | pyglove.core.symbolic.object | sym_jsonify | Converts current object to a dict of plain Python objects. | def sym_jsonify(self, **kwargs) -> object_utils.JSONValueType:
"""Converts current object to a dict of plain Python objects."""
return object_utils.merge([
{
object_utils.JSONConvertible.TYPE_NAME_KEY: (
self.__class__.__serialization_key__
)
},
self._sym_attributes.to_json(**kwargs),
])
| (self, **kwargs) -> Union[int, float, bool, str, List[Any], Dict[str, Any]] | [
0.04853381961584091,
-0.08133473992347717,
0.04662133380770683,
0.0017140196869149804,
-0.0010126247070729733,
-0.03301743045449257,
-0.0018538475269451737,
0.024663839489221573,
0.02293177880346775,
-0.017690487205982208,
0.019142892211675644,
0.013243056833744049,
0.0008970411727204919,
0.0021616944577544928,
-0.02652219869196415,
0.015164563432335854,
-0.013630966655910015,
0.02724389173090458,
0.0022225873544812202,
0.023310666903853416,
-0.007604834623634815,
0.02293177880346775,
0.01819567196071148,
-0.012864168733358383,
0.004151986911892891,
-0.0066350600682199,
0.0038903735112398863,
0.02986002527177334,
-0.029841983690857887,
-0.0064771901816129684,
-0.04239943251013756,
-0.008534013293683529,
0.043554142117500305,
0.015958424657583237,
0.08588140457868576,
-0.030473465099930763,
-0.04124472662806511,
0.08061304688453674,
-0.04802863299846649,
-0.04672958701848984,
-0.004623342305421829,
0.0216868594288826,
-0.06329242885112762,
-0.024212783202528954,
0.03577790409326553,
0.021524477750062943,
-0.007041012402623892,
0.032458119094371796,
0.08097389340400696,
-0.07779844850301743,
0.000767925928812474,
-0.034136053174734116,
0.02942701056599617,
0.050085458904504776,
-0.012232687324285507,
-0.013558797538280487,
0.003942245151847601,
-0.004975167568773031,
-0.048822496086359024,
0.03709499165415764,
-0.02367151342332363,
0.029372883960604668,
0.011673375964164734,
-0.03090647980570793,
0.001213345443829894,
-0.03400975838303566,
-0.060622166842222214,
0.011619248427450657,
-0.022588973864912987,
0.03904356434941292,
-0.020315643399953842,
-0.08840733021497726,
-0.01611178368330002,
0.021524477750062943,
0.01168239675462246,
-0.018998553976416588,
0.014424828812479973,
-0.008430270478129387,
-0.02242659404873848,
-0.03238594904541969,
0.01120427530258894,
-0.022480720654129982,
-0.09151060879230499,
-0.005683328025043011,
-0.0410282164812088,
0.04730693995952606,
-0.003179957391694188,
0.024302994832396507,
-0.0482812263071537,
-0.0228956937789917,
-0.026179393753409386,
0.05614767596125603,
-0.016373397782444954,
0.07191665470600128,
-0.013820410706102848,
-0.053477413952350616,
0.001363322138786316,
-0.04380673170089722,
0.07931400090456009,
0.010906577110290527,
0.040162187069654465,
-0.0265041571110487,
-0.06047783046960831,
-0.012701787985861301,
-0.0361567921936512,
-0.054163020104169846,
0.01757321134209633,
-0.028362514451146126,
-0.02359934337437153,
0.010040546767413616,
-0.031068861484527588,
0.06307592242956161,
0.008159635588526726,
-0.03400975838303566,
-0.00824082549661398,
0.018421201035380363,
0.002859706524759531,
0.007943128235638142,
0.030004365369677544,
-0.015759959816932678,
-0.05448778346180916,
0.059214867651462555,
0.026143310591578484,
0.026468072086572647,
0.008831711485981941,
0.03951266407966614,
0.03440668806433678,
-0.007013948634266853,
-0.005570563953369856,
0.036553725600242615,
0.02798362635076046,
0.006405020598322153,
-0.027604736387729645,
0.06246248260140419,
0.051997944712638855,
0.010311181657016277,
0.008606182411313057,
0.017185302451252937,
0.020423896610736847,
0.0349118746817112,
0.0579519048333168,
0.020911039784550667,
-0.015534430742263794,
-0.025944843888282776,
-0.06643179059028625,
0.007695046253502369,
-0.019846543669700623,
0.016662074252963066,
-0.0579519048333168,
-0.06585443764925003,
0.03933224081993103,
0.02367151342332363,
0.04373456537723541,
0.04532228782773018,
-0.022534847259521484,
0.025493787601590157,
-0.03272875398397446,
-0.013712157495319843,
-0.01555247325450182,
-0.01012173667550087,
-0.023021990433335304,
0.007695046253502369,
0.0014512784546241164,
-0.07375697046518326,
0.01665305346250534,
0.03648155555129051,
0.04867815598845482,
-0.05517338961362839,
0.0006472679669968784,
0.001267472398467362,
-0.026179393753409386,
-0.01908876560628414,
0.033883463591337204,
0.014542103745043278,
0.013721178285777569,
0.04048694670200348,
0.030202830210328102,
0.019106809049844742,
0.03720324859023094,
0.013775304891169071,
0.0747673436999321,
-0.05621984228491783,
-0.06488015502691269,
0.015390092507004738,
0.057771481573581696,
-0.030816268175840378,
0.008448312990367413,
0.002415414433926344,
0.07505601644515991,
0.0029431520961225033,
0.010211948305368423,
0.05520947277545929,
0.020351728424429893,
0.014298532158136368,
-0.011231339536607265,
-0.015597579069435596,
-0.013215993531048298,
-0.010139779187738895,
-0.09995441138744354,
0.051745351403951645,
-0.023815851658582687,
-0.016346335411071777,
-0.021091463044285774,
0.00014363371883518994,
-0.011096022091805935,
-0.02917441911995411,
0.04759562015533447,
-0.05131233483552933,
0.05495688319206238,
-0.041136469691991806,
-0.01616591215133667,
-0.025259235873818398,
-0.023455005139112473,
-0.010960704647004604,
0.01997283846139908,
-0.05495688319206238,
0.03682435676455498,
-0.02724389173090458,
-0.023256540298461914,
-0.007104160264134407,
0.0409560464322567,
0.015823107212781906,
-0.04503361135721207,
-0.05373000353574753,
-0.008470865897834301,
-0.056328099220991135,
-0.007753683719784021,
0.0058863041922450066,
-0.00475865975022316,
-0.03451494127511978,
-0.017383767291903496,
-0.0458274707198143,
-0.033414360135793686,
0.010681048966944218,
0.017068026587367058,
0.0156426839530468,
0.04124472662806511,
-0.04171382635831833,
-0.028524894267320633,
0.0017568700714036822,
0.03814144805073738,
0.0038182041607797146,
-0.011520016007125378,
0.007401858456432819,
-0.027604736387729645,
0.012476258911192417,
0.06949898600578308,
0.08386066555976868,
0.0047270855866372585,
-0.015561494044959545,
0.06780301034450531,
-0.04654916375875473,
0.017753634601831436,
0.010518668219447136,
0.005345034878700972,
-0.054415613412857056,
-0.0004738926072604954,
0.02002696692943573,
0.015823107212781906,
-0.007257519755512476,
0.000738043338060379,
0.0385383777320385,
-0.03745583817362785,
0.06801951676607132,
0.028633149340748787,
0.0025574977044016123,
0.0007887873216532171,
0.02986002527177334,
-0.05362175032496452,
0.009941313415765762,
0.045755304396152496,
-0.08479886502027512,
0.0017512318445369601,
0.005926899611949921,
0.010807344689965248,
0.00005483171480591409,
-0.0132701201364398,
-0.01786188967525959,
0.01804231107234955,
-0.012593533843755722,
0.009670679457485676,
-0.04131689295172691,
0.053946513682603836,
-0.03828578442335129,
-0.000559029751457274,
-0.004411345347762108,
0.006752335000783205,
0.01473154779523611,
0.007307136431336403,
-0.04968852549791336,
0.041569486260414124,
0.03756409510970116,
-0.008606182411313057,
0.02267918549478054,
0.05773539841175079,
0.009300812147557735,
-0.036986738443374634,
-0.017789719626307487,
0.0698598325252533,
0.022588973864912987,
-0.00621106568723917,
0.0457913875579834,
0.05354958027601242,
0.03958483412861824,
-0.005444267764687538,
-0.03262050077319145,
0.05748280510306358,
0.0027627290692180395,
-0.06491623818874359,
0.04698218032717705,
-0.025223152711987495,
0.07271051406860352,
0.008457333780825138,
0.06798343360424042,
-0.067694753408432,
-0.03781668469309807,
-0.019233103841543198,
-0.0019530802965164185,
0.04701826348900795,
0.0649884045124054,
-0.042074672877788544,
-0.034136053174734116,
-0.037239331752061844,
-0.019233103841543198,
0.047884296625852585,
-0.022967863827943802,
0.00341225229203701,
-0.012205624021589756,
0.08090172708034515,
0.003946755547076464,
0.0020523129496723413,
-0.0313575379550457,
0.01975633203983307,
0.02437516301870346,
-0.018745962530374527,
0.025854632258415222,
0.02316632866859436,
0.001341896946541965,
-0.0554259829223156,
-0.04128080978989601,
-0.03907964751124382,
-0.022047705948352814,
0.0313575379550457,
-0.018691835924983025,
-0.08768563717603683,
-0.00951731950044632,
0.03741975501179695,
-0.036986738443374634,
0.038718800991773605,
-0.027153680101037025,
-0.04893074929714203,
0.05167318135499954,
0.014172236435115337,
0.06433888524770737,
-0.04362630844116211,
-0.054415613412857056,
-0.01256647054105997,
-0.017618317157030106,
-0.06083867698907852,
0.0018538475269451737,
0.027893414720892906,
0.03911573067307472,
0.011574143543839455,
-0.01601255126297474,
0.028795529156923294,
0.005624690558761358,
0.011483931913971901,
-0.00954438280314207,
0.04698218032717705,
-0.04174990952014923,
-0.040883880108594894,
0.014316574670374393,
-0.04914725944399834,
-0.02747844159603119,
-0.022354423999786377,
0.08826299011707306,
-0.016310250386595726,
0.03693261370062828,
-0.04128080978989601,
-0.03191684931516647,
0.00621106568723917,
-0.02437516301870346,
0.017600275576114655,
0.05589508265256882,
0.06004481390118599,
0.01446091290563345,
0.06913813948631287,
-0.046440910547971725,
0.029571348801255226,
0.010220970027148724,
-0.08227293938398361,
-0.04019827023148537,
0.03227769583463669,
0.05910661444067955,
0.01841217838227749,
-0.03958483412861824,
-0.009170005097985268,
-0.02679283358156681,
-0.042110756039619446,
0.02749648317694664,
0.007911553606390953,
-0.030545633286237717,
0.03642742708325386,
-0.03716716170310974,
-0.01243115309625864,
-0.04604398086667061,
0.033432405441999435,
-0.02172294445335865,
0.02700934000313282,
0.03372108191251755,
-0.008028828538954258,
0.011032873764634132,
-0.04875032603740692,
-0.04167773947119713,
0.06224597617983818,
0.001064496347680688,
0.037275414913892746,
-0.00848439708352089,
0.015471282415091991,
0.021344054490327835,
0.014154193922877312,
0.028759445995092392,
-0.008358101360499859,
-0.001649743877351284,
-0.006423063110560179,
0.015597579069435596,
0.024483418092131615,
0.026161352172493935,
0.026576325297355652,
0.052430957555770874,
0.04294070228934288,
0.006716250441968441,
0.03550726920366287,
-0.019702205434441566,
0.0047270855866372585,
0.02484426274895668,
0.05156492814421654,
-0.09107758849859238,
-0.0014151938958093524,
0.033883463591337204,
-0.04380673170089722,
0.012936337850987911,
-0.07317961752414703,
0.030040448531508446,
-0.004436153452843428,
0.00927374791353941,
-0.02242659404873848,
0.04864207282662392,
0.05084323510527611,
0.018421201035380363,
0.05044630542397499,
-0.01544421911239624,
0.06787517666816711,
-0.07440649718046188,
-0.09129409492015839,
-0.02148839272558689,
0.04301287233829498,
-0.031934890896081924,
0.00867835246026516,
-0.022841567173600197,
0.02460971288383007,
-0.04359022527933121,
-0.020658446475863457,
0.011330571956932545,
-0.00531797157600522,
0.018980512395501137,
-0.02437516301870346,
0.008078444749116898,
-0.022101832553744316,
0.005800603423267603,
0.08465452492237091,
0.05134841799736023,
-0.003833991242572665,
-0.02581854909658432,
-0.011538058519363403,
0.04203858599066734,
-0.006021621637046337,
-0.028524894267320633,
-0.08270595967769623,
-0.08342765271663666,
-0.037744514644145966,
-0.024663839489221573,
0.007943128235638142,
-0.038502294570207596,
0.05528164282441139,
0.04503361135721207,
0.031068861484527588,
-0.01764538139104843,
0.026486113667488098,
0.05358566716313362,
-0.0035881646908819675,
0.06318417936563492,
-0.03130340948700905,
0.05806015804409981,
0.04362630844116211,
0.036030497401952744,
-0.008962518535554409,
-0.03162817284464836,
-0.01704096421599388,
-0.000535067287273705,
-0.014036918990314007,
-0.014280489645898342,
-0.033197853714227676,
0.024663839489221573,
-0.030527591705322266,
-0.010960704647004604,
-0.02991415373980999,
-0.0033288064878433943,
-0.02675674855709076,
0.0012437918921932578,
0.03130340948700905,
-0.017663422971963882,
0.08898468315601349,
-0.009932292625308037,
0.027370186522603035,
0.002913833362981677,
0.014208320528268814,
0.011754565872251987,
-0.01340543758124113,
-0.07541686296463013,
-0.05105974152684212,
-0.022083789110183716,
-0.00105773052200675,
-0.008822690695524216,
-0.039187900722026825,
0.003924202639609575,
-0.021145589649677277,
-0.001727551338262856,
0.020423896610736847,
0.03188076615333557,
0.008461844176054,
-0.005818645469844341,
-0.07386522740125656,
0.01276493538171053,
-0.049039002507925034,
0.04023435711860657,
0.03041933849453926,
0.07498385012149811,
0.03115907311439514,
-0.038935307413339615,
0.04250768572092056,
0.02870531752705574,
-0.005796092562377453,
-0.010067610070109367,
0.008588140830397606,
-0.00848439708352089,
-0.005119505804032087,
0.002196651417762041,
-0.03998176380991936,
-0.010347265750169754,
-0.03175446763634682,
-0.015065330080688,
0.02986002527177334,
-0.004151986911892891,
-0.05022979527711868,
-0.04131689295172691,
0.07758194208145142,
-0.023238496854901314,
-0.023238496854901314,
0.04918334260582924,
0.02244463562965393,
0.09576859325170517,
0.028651190921664238,
-0.0649884045124054,
-0.0010955065954476595,
0.043987154960632324,
0.0021391415502876043,
0.06469973176717758,
-0.03879097104072571,
0.033883463591337204,
0.0019621013198047876,
-0.005475841462612152,
0.07455082982778549,
-0.01422636304050684,
0.05152884125709534,
0.003051406005397439,
-0.02506077103316784,
0.055101219564676285,
-0.028993995860219002,
-0.058998361229896545,
-0.027875371277332306,
0.03664393723011017,
-0.03958483412861824,
-0.019251147285103798,
0.016427524387836456,
-0.01955786533653736,
-0.004382026381790638,
0.04073954001069069,
-0.001001348253339529,
-0.004668448120355606,
-0.06076650694012642,
0.0337030403316021,
-0.026973256841301918,
-0.010184885002672672,
0.0075507075525820255,
-0.026594366878271103,
-0.019936755299568176,
0.02340087853372097,
0.000517025007866323,
-0.029372883960604668,
-0.00805589184165001,
0.007176329381763935,
0.012277793139219284,
-0.00795665942132473,
0.03843012452125549,
0.0016745520988479257,
-0.01520966924726963,
0.0016181698301807046,
-0.018186651170253754,
-0.04243551939725876,
-0.020171305164694786,
0.03238594904541969,
0.017464958131313324,
-0.03090647980570793,
0.016607947647571564,
0.004483514465391636,
-0.030329126864671707,
0.018962468951940536,
-0.012882210314273834,
-0.01932331547141075,
0.0044609615579247475,
-0.028164049610495567,
-0.0102570541203022,
-0.02605309896171093,
-0.01314382441341877,
0.006238129455596209,
-0.027604736387729645,
0.056797198951244354,
0.015354007482528687,
-0.001273110625334084,
-0.017546148970723152,
-0.01804231107234955,
0.02677479013800621,
-0.032674625515937805,
0.010951682925224304,
-0.02800166793167591,
-0.027586694806814194,
0.012232687324285507,
-0.0005796092445962131,
0.0698959156870842,
0.018475327640771866,
-0.03586811572313309,
-0.05578682944178581,
0.0530804805457592,
-0.0747673436999321,
0.002471796702593565,
0.03447885811328888,
-0.02484426274895668,
-0.013062633574008942,
-0.005669796373695135,
-0.012313878163695335,
-0.037780601531267166,
-0.0114749101921916,
-0.05383826047182083,
0.014036918990314007,
0.01712215319275856,
-0.054163020104169846,
-0.03875488415360451,
0.020622363314032555,
-0.0072349668480455875,
-0.03112298808991909,
0.0017072537448257208,
-0.12427544593811035,
-0.001951952581293881,
0.03709499165415764,
0.0132701201364398,
-0.06693697720766068,
-0.009851102717220783,
0.08371632546186447,
-0.03067192994058132,
0.01844826340675354,
-0.0018414434744045138,
0.025277279317378998,
-0.013531734235584736,
-0.09461387991905212,
0.0002912141790147871,
-0.009815017692744732,
0.08032437413930893,
0.04766778647899628,
-0.027424314990639687,
-0.06581835448741913,
-0.037708431482315063,
-0.025277279317378998,
0.06098301336169243,
-0.05362175032496452,
-0.020694531500339508,
0.004212880041450262,
0.023256540298461914,
-0.01737474650144577,
-0.06892163306474686,
0.026865001767873764,
-0.055858999490737915,
-0.02027955837547779,
-0.03503816947340965,
-0.051997944712638855,
-0.04467276483774185,
-0.014036918990314007,
-0.02359934337437153,
0.04438408836722374,
0.0074289217591285706,
0.006184002384543419,
0.0024221802596002817,
0.06181295961141586,
-0.019467653706669807,
0.08862383663654327,
0.01218758150935173,
0.0038903735112398863,
-0.0063914889469742775,
0.05712195858359337,
-0.009336896240711212,
-0.041605569422245026,
0.03456906974315643,
-0.015047288499772549,
-0.02726193331182003,
-0.0071988822892308235,
0.03424430638551712,
-0.027658864855766296,
0.003549824934452772,
0.0016993602039292455,
0.037708431482315063,
-0.025872675701975822,
0.0016486162785440683,
0.03958483412861824,
0.002128992695361376,
0.018745962530374527,
0.015002182684838772,
0.012070306576788425,
0.004875934682786465,
-0.008908391930162907,
0.015038266777992249,
0.02939092554152012,
0.024176698178052902,
-0.06119952350854874,
0.018998553976416588,
-0.0016012551495805383,
-0.02365346997976303,
-0.003942245151847601,
0.004278283100575209,
-0.012782977893948555,
0.048858579248189926,
-0.03954874724149704,
0.07079803198575974,
-0.022498762235045433,
0.05228662118315697,
0.039909593760967255,
0.003601696575060487,
0.008168656378984451,
0.025385532528162003,
0.04229117929935455,
-0.03839404135942459,
0.005480352323502302,
0.061885129660367966,
-0.041641656309366226,
-0.043554142117500305,
0.054126936942338943,
0.022841567173600197,
-0.02677479013800621,
0.06192121282219887,
0.04539445787668228,
-0.034118011593818665,
-0.06314808875322342,
-0.044708847999572754,
-0.020856913179159164,
0.0077085779048502445,
-0.031772512942552567,
0.03301743045449257,
-0.020568234845995903,
-0.010762238875031471
]
|
40,338 | pyglove.core.symbolic.object | sym_keys | Iterates the keys of symbolic attributes. | def sym_keys(self) -> Iterator[str]:
"""Iterates the keys of symbolic attributes."""
return self._sym_attributes.sym_keys()
| (self) -> Iterator[str] | [
0.048031263053417206,
-0.03374068811535835,
0.009725058451294899,
-0.005991179030388594,
0.023625271394848824,
-0.01697217859327793,
-0.003216227749362588,
-0.004190006293356419,
0.10930082947015762,
0.018126286566257477,
-0.024490853771567345,
-0.01741345413029194,
0.05573663115501404,
0.03594707325100899,
-0.028716925531625748,
-0.019772587344050407,
-0.013815352693200111,
0.023099133744835854,
-0.05668707564473152,
-0.008040569722652435,
-0.033163636922836304,
0.0491853728890419,
0.000582357868552208,
-0.06517316401004791,
-0.011362873017787933,
0.04650376737117767,
0.031143946573138237,
0.02163952775299549,
0.07175836712121964,
0.005414124578237534,
-0.06106589734554291,
0.0010390154784545302,
0.02464360184967518,
-0.030991196632385254,
0.02983708865940571,
-0.056042131036520004,
0.002145919715985656,
0.0026264444459229708,
0.03818739950656891,
-0.011549566872417927,
0.05923290178179741,
0.020400557667016983,
0.004837070591747761,
-0.030346253886818886,
-0.014638503082096577,
-0.005910560954362154,
0.0010618219384923577,
-0.004463682882487774,
0.02774951048195362,
-0.06395116448402405,
0.017583176493644714,
-0.000763748015742749,
0.033486105501651764,
-0.009801432490348816,
0.011464706622064114,
-0.02498304657638073,
-0.0174983162432909,
-0.029277006164193153,
-0.01695520617067814,
0.018041424453258514,
-0.007845389656722546,
-0.01946708746254444,
0.030991196632385254,
-0.029803143814206123,
0.027579789981245995,
-0.06493555009365082,
-0.033435191959142685,
0.001037954818457365,
-0.017379511147737503,
-0.02532248944044113,
-0.03686356917023659,
-0.05369997024536133,
-0.016717595979571342,
0.006907676346600056,
-0.05746779590845108,
-0.057162296026945114,
-0.007433813996613026,
0.014901571907103062,
-0.000472569081466645,
-0.08445356041193008,
-0.05254586413502693,
0.01736253872513771,
-0.07712157815694809,
0.000825272174552083,
-0.03543790802359581,
0.05431097000837326,
0.03273933008313179,
-0.013424992561340332,
-0.033367302268743515,
0.0711473673582077,
-0.05855401232838631,
0.04287172108888626,
0.001768288784660399,
0.07902245968580246,
-0.031975582242012024,
-0.0030634780414402485,
-0.0139002138748765,
-0.02104550041258335,
0.06300072371959686,
-0.013246784918010235,
0.048811983317136765,
-0.012813994660973549,
0.02420232631266117,
0.06934832036495209,
-0.02274271845817566,
-0.019297366961836815,
-0.06276311725378036,
-0.0636117234826088,
0.03324849531054497,
-0.005855401512235403,
-0.084657222032547,
0.05448069050908089,
0.06408694386482239,
-0.02182622067630291,
0.024287186563014984,
-0.03944334015250206,
0.026595402508974075,
-0.008176346309483051,
0.038289234042167664,
-0.03509846329689026,
-0.010446375235915184,
0.04792943224310875,
0.0079514654353261,
0.03832317888736725,
0.022012915462255478,
0.03951122984290123,
0.03319758176803589,
0.04195522516965866,
-0.018177201971411705,
0.043346941471099854,
0.02038358524441719,
0.010081473737955093,
0.0074295708909630775,
0.08146645128726959,
0.006861003115773201,
-0.022199608385562897,
0.10128995776176453,
0.012186023406684399,
0.029429756104946136,
0.04422949627041817,
0.040733225643634796,
-0.001183809363283217,
-0.02057028003036976,
0.0430075004696846,
-0.05488802492618561,
-0.0057662976905703545,
-0.022708773612976074,
0.008456387557089329,
0.025033961981534958,
-0.05023764818906784,
0.007234390825033188,
0.018788201734423637,
0.016743052750825882,
0.02676512487232685,
-0.04331299662590027,
0.04497627168893814,
-0.06965381652116776,
0.00010647389717632905,
-0.014409379102289677,
-0.014137824065983295,
-0.04820098727941513,
-0.02111339010298252,
-0.023778021335601807,
-0.04864226281642914,
0.022182635962963104,
0.01261881459504366,
0.013611686415970325,
-0.03655807301402092,
0.04039378464221954,
-0.01426511537283659,
0.0016675165388733149,
-0.05471830070018768,
-0.015393765643239021,
-0.008600651286542416,
-0.001266548759303987,
-0.0012516981223598123,
0.01456212904304266,
0.05594030022621155,
0.04331299662590027,
0.019161589443683624,
0.03713512420654297,
-0.03740667924284935,
-0.07141892611980438,
-0.012703674845397472,
0.02800409309566021,
-0.002673118142411113,
0.002537340624257922,
0.020264780148863792,
0.0571962408721447,
-0.02834353782236576,
0.0026900903321802616,
-0.006008150987327099,
-0.015571973286569118,
0.07447391748428345,
-0.014494240283966064,
-0.026272932067513466,
-0.0074295708909630775,
-0.007505945861339569,
-0.06720982491970062,
0.022199608385562897,
-0.0008364101522602141,
-0.023302800953388214,
-0.062287893146276474,
0.04582488164305687,
0.011558053083717823,
-0.019042784348130226,
-0.007276821415871382,
-0.06147322803735733,
0.011558053083717823,
0.008231506682932377,
0.004565516021102667,
-0.029209118336439133,
0.030074698850512505,
-0.00759080657735467,
-0.0012410904746502638,
0.012635786086320877,
-0.021843193098902702,
0.013798380270600319,
0.0028322322759777308,
-0.025814682245254517,
0.03168705478310585,
0.019382227212190628,
-0.00116683728992939,
-0.02516973949968815,
0.0019804409239441156,
-0.07087581604719162,
0.030397171154618263,
0.03713512420654297,
-0.0656483843922615,
-0.025661932304501534,
0.030431115999817848,
0.012525467202067375,
-0.006903433240950108,
0.02793620526790619,
0.022063830867409706,
-0.008774615824222565,
0.011167692951858044,
0.028021065518260002,
0.011634428054094315,
-0.010005098767578602,
-0.03944334015250206,
0.04548543691635132,
-0.009606252424418926,
0.01894094981253147,
-0.02885270304977894,
0.008367284201085567,
0.03791584447026253,
0.0455193817615509,
-0.010692472569644451,
-0.03543790802359581,
0.0156738068908453,
-0.039613064378499985,
0.029667366296052933,
0.005358965136110783,
0.016386637464165688,
-0.0661236047744751,
-0.05159541964530945,
0.016743052750825882,
0.040869005024433136,
-0.012279370799660683,
0.0034220153465867043,
0.05359813943505287,
-0.04769182205200195,
0.03696540370583534,
0.07861512899398804,
0.04015617445111275,
0.04260016605257988,
0.04243044555187225,
-0.058214571326971054,
-0.016989151015877724,
0.07820779830217361,
-0.016352692618966103,
-0.09049565345048904,
0.03686356917023659,
-0.00728106452152133,
0.021266138181090355,
0.009012226946651936,
0.02715548500418663,
-0.04317722097039223,
-0.013866269029676914,
-0.015555000863969326,
-0.01834692433476448,
-0.04436527192592621,
0.017803814262151718,
-0.03312969207763672,
0.006122713442891836,
-0.034419577568769455,
-0.05431097000837326,
0.0033689772244542837,
-0.009224378503859043,
0.0853361114859581,
0.057365961372852325,
0.006525802426040173,
-0.04568910226225853,
0.07196203619241714,
-0.011447734199464321,
0.0004908671835437417,
-0.03781401365995407,
0.03601496294140816,
0.04168367013335228,
0.039341509342193604,
0.02333674393594265,
0.016802456229925156,
0.009445017203688622,
-0.03991856426000595,
0.017990509048104286,
0.06836393475532532,
0.05566874518990517,
-0.025424322113394737,
0.016505442559719086,
-0.005872373469173908,
0.03301088511943817,
-0.008876449428498745,
0.034419577568769455,
-0.04779365286231041,
-0.07644268870353699,
-0.02898848056793213,
0.021384945139288902,
0.024032603949308395,
0.08934154361486435,
-0.009122545830905437,
0.02031569741666317,
-0.0263068750500679,
-0.019501032307744026,
-0.03285813704133034,
0.018177201971411705,
0.042566221207380295,
-0.02058725245296955,
0.025288544595241547,
-0.003716906998306513,
0.016912775114178658,
-0.0414121150970459,
-0.026985762640833855,
0.03207741677761078,
-0.015495598316192627,
0.07630690932273865,
0.013611686415970325,
0.01834692433476448,
-0.014333004131913185,
-0.05346236005425453,
-0.008723699487745762,
-0.04144605994224548,
0.024236269295215607,
-0.022725746035575867,
-0.08778010308742523,
-0.01834692433476448,
-0.0031653111800551414,
-0.0034708103630691767,
0.006886461284011602,
0.03486085310578346,
0.01992533728480339,
0.04514599218964577,
0.030023783445358276,
0.02491515688598156,
0.03825528919696808,
0.015062808059155941,
-0.07216569781303406,
0.028445370495319366,
-0.03436866030097008,
0.05594030022621155,
0.0896809920668602,
0.03367280215024948,
-0.03207741677761078,
-0.05037342384457588,
0.013229812495410442,
-0.06873732060194016,
-0.03122880682349205,
-0.005244403146207333,
0.05712835118174553,
-0.022589968517422676,
-0.032654471695423126,
0.02011203020811081,
-0.02642568200826645,
-0.0464358776807785,
0.0046079461462795734,
0.006576718762516975,
0.05824851617217064,
0.016853373497724533,
-0.011498650535941124,
0.014341490343213081,
0.0021851679775863886,
-0.04148000478744507,
0.07026481628417969,
0.0631365031003952,
-0.027698595076799393,
-0.0036299244966357946,
0.030583864077925682,
-0.03418196737766266,
0.029735255986452103,
0.048811983317136765,
-0.030295338481664658,
-0.04443316161632538,
-0.014765795320272446,
0.04646982252597809,
0.033367302268743515,
-0.06317044794559479,
0.04623221233487129,
-0.05685679614543915,
-0.04477260634303093,
-0.03516635298728943,
0.0026497812941670418,
-0.025950459763407707,
-0.0544467456638813,
-0.01692974753677845,
0.003061356721445918,
-0.024083521217107773,
-0.000356680917320773,
-0.004062714986503124,
-0.009801432490348816,
-0.017990509048104286,
-0.00341989379376173,
0.01848270185291767,
-0.001987866358831525,
-0.0636117234826088,
0.0590292364358902,
-0.029039395973086357,
0.016064167022705078,
0.01580958440899849,
0.05227430909872055,
0.06171083822846413,
0.0005314412992447615,
-0.07827568799257278,
-0.014859141781926155,
0.012270884588360786,
0.008817046880722046,
0.036388348788022995,
0.0018637572648003697,
0.005952991545200348,
0.014324517920613289,
0.02688392996788025,
-0.03923967480659485,
0.03923967480659485,
0.034419577568769455,
-0.008273936808109283,
-0.018839117139577866,
-0.022250525653362274,
-0.009809918701648712,
-0.022963356226682663,
-0.010726416483521461,
0.003778431098908186,
-0.021469805389642715,
-0.0061439285054802895,
-0.007111342623829842,
-0.015979304909706116,
0.024236269295215607,
0.033163636922836304,
0.006105741020292044,
0.08567555248737335,
0.09782763570547104,
0.023031245917081833,
-0.0098947798833251,
-0.03207741677761078,
0.04728448763489723,
-0.08913788199424744,
0.0064663998782634735,
0.06571627408266068,
-0.00622878922149539,
-0.030057726427912712,
-0.023523438721895218,
0.013034632429480553,
0.025797709822654724,
0.031534306704998016,
0.0012432120274752378,
-0.022929413244128227,
0.013408021070063114,
-0.007989652454853058,
-0.017396481707692146,
0.04721659794449806,
0.03289208188652992,
0.021334027871489525,
0.020756972953677177,
0.010717930272221565,
-0.0005152646917849779,
-0.042294666171073914,
-0.015843527391552925,
-0.006933134514838457,
-0.038764454424381256,
0.038289234042167664,
-0.07603535801172256,
-0.07963345944881439,
-0.02505093440413475,
-0.056245796382427216,
0.00514257000759244,
-0.05458252504467964,
0.043041445314884186,
-0.01551257073879242,
0.00040653671021573246,
-0.03430077061057091,
-0.06534288823604584,
-0.0025797709822654724,
0.02681604214012623,
0.004302447196096182,
-0.00032008468406274915,
0.04409371688961983,
0.09321120381355286,
0.02155466563999653,
0.021147333085536957,
-0.0018149622483178973,
-0.039477284997701645,
0.019738642498850822,
-0.0242532417178154,
-0.02313307859003544,
0.03301088511943817,
0.02070605754852295,
0.0012559412280097604,
0.04568910226225853,
-0.017769871279597282,
-0.0562797412276268,
0.00321198464371264,
-0.053088974207639694,
0.03292602673172951,
-0.054141249507665634,
0.05067892372608185,
-0.015300418250262737,
0.0011137991677969694,
-0.055261410772800446,
-0.017396481707692146,
-0.015792611986398697,
-0.009080115705728531,
0.07121525704860687,
-0.003381706541404128,
-0.039680954068899155,
-0.036795683205127716,
-0.005923290271311998,
-0.02511882409453392,
0.026154126971960068,
-0.04069928452372551,
-0.0414121150970459,
0.0001418768079020083,
0.006487614940851927,
0.0494229830801487,
0.010930082760751247,
-0.008252721279859543,
0.0349966324865818,
-0.047895487397909164,
0.019738642498850822,
0.05139175429940224,
0.005223187617957592,
0.006169386673718691,
0.030753586441278458,
0.05689074099063873,
0.0052401600405573845,
0.000733516295440495,
0.019840477034449577,
0.05410730466246605,
0.013161923736333847,
-0.058757681399583817,
-0.05678890645503998,
-0.044942326843738556,
-0.014120852574706078,
-0.028954535722732544,
-0.0010581092210486531,
-0.03951122984290123,
-0.055125635117292404,
-0.00031239414238370955,
-0.008486089296638966,
0.07841145992279053,
-0.026799069717526436,
-0.05454858019948006,
0.025152767077088356,
0.0005322368815541267,
-0.032976940274238586,
-0.019891392439603806,
-0.0697895959019661,
0.015750180929899216,
-0.013340132310986519,
0.03262052685022354,
-0.016395123675465584,
0.0021406160667538643,
0.04568910226225853,
-0.015173126943409443,
0.033553995192050934,
0.05872373655438423,
0.017668036743998528,
0.012864910997450352,
-0.008638838306069374,
-0.022369330748915672,
0.0003765702131204307,
-0.015987791121006012,
-0.06259339302778244,
0.04446710646152496,
0.040461670607328415,
0.013730492442846298,
0.05247797444462776,
0.010539722628891468,
-0.010081473737955093,
0.0036278029438108206,
0.03161916881799698,
-0.05207064375281334,
-0.013798380270600319,
-0.05614396557211876,
-0.07250514626502991,
-0.032382916659116745,
-0.05580452084541321,
-0.011855066753923893,
-0.03913784399628639,
-0.0011233460390940309,
0.024219298735260963,
-0.04195522516965866,
0.003054992062970996,
0.032586582005023956,
0.009394100867211819,
0.05356419458985329,
0.04450105130672455,
-0.01328072976320982,
-0.010276653803884983,
0.07019692659378052,
0.012389689683914185,
0.0028428398072719574,
0.007942979224026203,
-0.09477264434099197,
0.010056015104055405,
0.014994919300079346,
-0.04582488164305687,
-0.0023506467696279287,
0.01768500916659832,
0.040258005261421204,
0.010539722628891468,
0.008435172028839588,
0.008464873768389225,
-0.048879873007535934,
-0.05037342384457588,
-0.03216227889060974,
0.04426344111561775,
-0.014944002963602543,
-0.008367284201085567,
0.0022657858207821846,
0.040801115334033966,
0.011558053083717823,
-0.037236958742141724,
-0.016717595979571342,
-0.018160231411457062,
0.036252573132514954,
-0.020536335185170174,
0.008715213276445866,
0.02523762919008732,
-0.003929059021174908,
-0.016878830268979073,
-0.05784118175506592,
0.06510527431964874,
-0.048947762697935104,
0.03570946305990219,
-0.038900233805179596,
0.043686386197805405,
-0.017718954011797905,
0.05801090598106384,
-0.006071796640753746,
-0.026782097294926643,
0.033638857305049896,
-0.03940939903259277,
0.00022342281590681523,
-0.0022763933520764112,
-0.02308216132223606,
-0.03811951354146004,
0.023353716358542442,
-0.014163282699882984,
-0.06788871437311172,
-0.05583846569061279,
-0.007637480273842812,
-0.038425009697675705,
0.009614738635718822,
-0.011855066753923893,
-0.02386288158595562,
-0.024473881348967552,
-0.009198920801281929,
-0.0030655995942652225,
-0.014935516752302647,
0.02130008302628994,
-0.003680841065943241,
-0.010692472569644451,
0.0070646689273417,
0.04847253859043121,
0.030736614018678665,
-0.05064497888088226,
-0.05454858019948006,
0.054344914853572845,
0.01028514001518488,
0.01718433015048504,
0.09212498366832733,
-0.02683301270008087,
-0.03720301389694214,
-0.022250525653362274,
0.02072302997112274,
0.010013584978878498,
-0.007628994062542915,
-0.041853390634059906,
0.02328582853078842,
0.011099804192781448,
-0.006687038112431765,
-0.06330622732639313,
-0.02260694094002247,
-0.04035983979701996,
0.05257980898022652,
0.006296677980571985,
-0.03219622001051903,
0.0009408951154910028,
0.03788189962506294,
0.004366092849522829,
0.04321116581559181,
-0.0009992369450628757,
-0.011727775447070599,
0.03173797205090523,
0.03017653338611126,
0.001286703278310597,
0.024439936503767967,
0.0025097609031945467,
0.02090972289443016,
0.0001699869753792882,
-0.0027410066686570644,
0.04646982252597809,
-0.02072302997112274,
-0.007713854778558016,
-0.061235617846250534,
-0.05756962671875954,
0.04694504290819168,
-0.02466057427227497,
0.0025691634509712458,
-0.04748815298080444,
0.01367957517504692,
0.04650376737117767,
0.04351666569709778,
-0.0006794175133109093,
0.012304829433560371,
0.09368642419576645,
-0.0569586306810379,
0.04548543691635132,
-0.060319121927022934,
0.06829604506492615,
-0.03642229363322258,
0.01933130994439125,
0.0025861356407403946,
-0.01821114681661129,
-0.08635444194078445,
0.07488124817609787,
-0.02315005101263523,
0.006109984125941992,
-0.00816786102950573,
-0.027783455327153206,
-0.009911752305924892,
0.07922612875699997,
-0.015444681979715824,
0.06720982491970062,
-0.02518671192228794,
0.01275459211319685,
0.028105927631258965,
-0.008320610038936138,
-0.031143946573138237,
0.00586813036352396,
0.032382916659116745,
-0.05179908871650696,
0.02136797271668911,
0.04338088631629944,
-0.0010124965338036418,
-0.04959270358085632,
0.005206215661019087,
0.0237949937582016,
0.0014161161379888654,
-0.015164640732109547,
0.0025118824560195208,
0.0029043639078736305,
-0.02386288158595562,
-0.04555332660675049,
-0.007760528475046158,
0.04718265309929848,
-0.008800074458122253,
-0.01697217859327793,
0.03168705478310585,
-0.028649035841226578
]
|
40,339 | pyglove.core.symbolic.object | sym_lt | Tests symbolic less-than. | def sym_lt(self, other: Any) -> bool:
"""Tests symbolic less-than."""
if type(self) is not type(other):
return base.lt(self, other)
return base.lt(self._sym_attributes, other._sym_attributes) # pylint: disable=protected-access
| (self, other: Any) -> bool | [
0.03260273486375809,
-0.012332933954894543,
0.051452796906232834,
0.03350931778550148,
-0.0011759905610233545,
-0.031097467988729477,
-0.004079618491232395,
-0.005028963554650545,
-0.01353030651807785,
-0.01320530567318201,
0.04344750568270683,
-0.06831864267587662,
0.08525290340185165,
0.021586911752820015,
-0.06209230422973633,
-0.015360575169324875,
-0.018747428432106972,
0.028531670570373535,
-0.032123785465955734,
-0.018559269607067108,
-0.028257984668016434,
0.0643502026796341,
-0.004199355375021696,
-0.028600091114640236,
0.032329048961400986,
0.11467405408620834,
-0.0077444324269890785,
0.026307979598641396,
-0.026479031890630722,
0.01747308298945427,
-0.02685534954071045,
-0.0011727833189070225,
0.0581238716840744,
-0.05620807409286499,
0.04587646201252937,
-0.053676486015319824,
-0.03660538047552109,
-0.00490495003759861,
-0.02771061472594738,
-0.013983597047626972,
0.018850060179829597,
-0.046081725507974625,
-0.0049947528168559074,
-0.03581853583455086,
-0.04481593146920204,
-0.05186332389712334,
-0.03930801898241043,
-0.024614552035927773,
0.03000272810459137,
-0.0387948602437973,
0.0267185065895319,
-0.04591067135334015,
0.03650274872779846,
0.03395405411720276,
-0.06872916966676712,
0.009741478599607944,
0.007111535873264074,
0.021929018199443817,
-0.06807916611433029,
0.030122464522719383,
0.0005757008329965174,
0.03814486041665077,
-0.026598770171403885,
-0.04847647249698639,
0.01550597045570612,
-0.05562649294734001,
-0.058739662170410156,
0.014445440843701363,
-0.03362905606627464,
0.011973722837865353,
-0.06479494273662567,
0.009211213327944279,
-0.049947526305913925,
0.02168954350054264,
-0.050529107451438904,
-0.026650086045265198,
-0.0191921666264534,
-0.03217510133981705,
0.019311903044581413,
-0.06127125024795532,
0.0056105442345142365,
-0.007710222154855728,
0.005991137586534023,
0.020321117714047432,
-0.08265289664268494,
0.011913853697478771,
0.018815848976373672,
0.010143453255295753,
0.0008627494680695236,
0.02550402842462063,
-0.06195545941591263,
0.06575284153223038,
-0.003395405597984791,
-0.026513243094086647,
0.06267388164997101,
0.04153171181678772,
0.03338957950472832,
0.011426351964473724,
0.03588695824146271,
0.0013278003316372633,
0.0774528756737709,
0.012427013367414474,
-0.0145309679210186,
0.010750692337751389,
0.0007905864040367305,
0.0171224232763052,
-0.0023861918598413467,
-0.03793959319591522,
-0.0288566704839468,
-0.024323761463165283,
-0.09243714064359665,
0.00866812001913786,
0.000271814176812768,
0.012521092779934406,
0.006247717421501875,
0.009647399187088013,
0.037494856864213943,
0.011409247294068336,
0.037255384027957916,
-0.013077015057206154,
0.011263852007687092,
0.016934264451265335,
0.0503922663629055,
0.0023947444278746843,
-0.002375500975176692,
0.06359757483005524,
0.06753179430961609,
-0.01661781594157219,
-0.056447550654411316,
0.02162112109363079,
0.05535280704498291,
0.011546089313924313,
0.004537185654044151,
0.0849107950925827,
-0.005396727938205004,
-0.017276370897889137,
0.018850060179829597,
0.07170549035072327,
0.01896979659795761,
-0.023451391607522964,
-0.001161023392342031,
-0.041497502475976944,
-0.002198033267632127,
-0.013042804785072803,
-0.08053183555603027,
0.028480354696512222,
-0.10482139140367508,
0.05336859077215195,
0.030977729707956314,
0.03272247314453125,
-0.008638185448944569,
-0.0029121802654117346,
0.02398165501654148,
0.003570734988898039,
-0.03636590391397476,
0.049810685217380524,
-0.03443300351500511,
-0.01610465720295906,
-0.0005874607595615089,
0.011272404342889786,
-0.0250592902302742,
-0.035339586436748505,
-0.003230766858905554,
-0.07382655143737793,
0.00987832061946392,
-0.03766591101884842,
-0.01761847734451294,
-0.04262645170092583,
-0.004789488855749369,
0.055660706013441086,
0.03917117789387703,
-0.005922716110944748,
0.041360657662153244,
-0.001675252104178071,
-0.00420576985925436,
-0.03205536678433418,
0.005401004105806351,
0.04803173243999481,
0.011939511634409428,
-0.0037396501284092665,
0.046355411410331726,
-0.019568484276533127,
-0.0777265653014183,
-0.028394827619194984,
0.02162112109363079,
-0.004934884142130613,
-0.01260661892592907,
-0.0030468846671283245,
0.017233608290553093,
0.06441862881183624,
-0.0383843332529068,
-0.022254018113017082,
-0.008043775334954262,
-0.011161220259964466,
0.014821757562458515,
0.00927108246833086,
-0.013213858008384705,
-0.0006500020972453058,
0.030036937445402145,
0.07656340301036835,
-0.005653307773172855,
0.009570425376296043,
-0.007000351324677467,
0.0008515241206623614,
0.03585274517536163,
-0.05241069570183754,
-0.03338957950472832,
-0.03101194091141224,
0.012144776061177254,
-0.025247449055314064,
-0.016575053334236145,
-0.042215924710035324,
-0.007530616130679846,
0.038555387407541275,
-0.016002025455236435,
0.030054043978452682,
-0.008539830334484577,
-0.010425691492855549,
-0.025007974356412888,
-0.021450068801641464,
0.12575829029083252,
-0.027744825929403305,
-0.01414609793573618,
-0.025965873152017593,
0.05470280721783638,
0.0014475375646725297,
-0.0009755376377142966,
0.00927108246833086,
-0.031679049134254456,
0.03578432649374008,
0.04662909731268883,
-0.019448745995759964,
0.05319754034280777,
-0.01130661554634571,
-0.008308907970786095,
0.0035044520627707243,
0.016284262761473656,
0.04409750923514366,
-0.054668594151735306,
0.0044388300739228725,
-0.009151345118880272,
0.05726860463619232,
-0.0019329008646309376,
0.018781639635562897,
0.0022493493743240833,
-0.08005288988351822,
-0.024546131491661072,
0.017704004421830177,
-0.03588695824146271,
0.024648763239383698,
-0.012298723682761192,
-0.05658439174294472,
-0.019106639549136162,
-0.0031666220165789127,
-0.00951910950243473,
-0.006038177292793989,
-0.027163244783878326,
-0.04717646539211273,
0.014693467877805233,
0.0016474559670314193,
-0.0021916187833994627,
0.08087394386529922,
-0.021176382899284363,
-0.004669751971960068,
0.01146056316792965,
0.002270730910822749,
0.00013450391998048872,
0.024443499743938446,
0.00515297707170248,
0.004981923848390579,
-0.00219375710003078,
-0.05179490149021149,
-0.04734751954674721,
0.0538475401699543,
0.010357270017266273,
-0.013171094469726086,
0.023725075647234917,
-0.01163161639124155,
-0.0427975058555603,
-0.045568566769361496,
-0.01833690144121647,
-0.015112548135221004,
-0.05117911100387573,
-0.04016328603029251,
-0.09435293078422546,
0.015728339552879333,
-0.04033434018492699,
-0.09784241765737534,
-0.02964351512491703,
-0.050084371119737625,
0.060894932597875595,
0.028223775327205658,
0.03650274872779846,
0.002533725230023265,
0.058979135006666183,
-0.023827707394957542,
0.02220270223915577,
-0.014257282018661499,
0.04926331713795662,
0.044508036226034164,
0.04115539416670799,
-0.024101393297314644,
0.019517168402671814,
0.0018281308002769947,
0.020577697083353996,
-0.003542938968166709,
-0.010690823197364807,
0.07471603155136108,
-0.049742262810468674,
0.01576255075633526,
-0.011503326706588268,
0.06455546617507935,
-0.0332014225423336,
-0.026684295386075974,
0.019671116024255753,
0.025657976046204567,
0.0070174564607441425,
-0.02168954350054264,
-0.007770090829581022,
0.08169499784708023,
-0.004725344013422728,
0.0503922663629055,
-0.06472652405500412,
-0.03674222156405449,
-0.03903433680534363,
-0.05135016515851021,
0.016344131901860237,
-0.03910275548696518,
0.009185555391013622,
0.018593480810523033,
0.03215799853205681,
0.025110606104135513,
0.07950551807880402,
-0.012375697493553162,
-0.01195661723613739,
0.045979093760252,
0.0023797773756086826,
0.043208032846450806,
-0.03020799160003662,
-0.03975275903940201,
0.008727988228201866,
0.003303464502096176,
0.0458422526717186,
-0.04272908344864845,
-0.0014678500592708588,
-0.03362905606627464,
-0.017994794994592667,
0.018576374277472496,
0.041976448148489,
0.01638689450919628,
-0.059389661997556686,
0.016942817717790604,
0.0042250133119523525,
-0.06287914514541626,
0.0329277366399765,
-0.013290831819176674,
-0.029250092804431915,
0.04355013743042946,
0.011965169571340084,
0.009117134846746922,
0.08101078867912292,
0.022664546966552734,
-0.033115893602371216,
-0.021809279918670654,
-0.04194223880767822,
-0.03296194598078728,
0.011161220259964466,
-0.014821757562458515,
-0.05607123300433159,
0.009989505633711815,
-0.06417915225028992,
-0.022750072181224823,
0.0175329502671957,
-0.04953699931502342,
-0.04676593840122223,
0.01514675933867693,
-0.01514675933867693,
0.016660580411553383,
-0.029489567503333092,
0.0038358676247298717,
0.11077404022216797,
0.029027724638581276,
0.022681651636958122,
0.0345185324549675,
0.026940874755382538,
-0.023434285074472427,
-0.020304013043642044,
-0.004000506363809109,
0.069037064909935,
0.030344834551215172,
0.009142792783677578,
-0.05422385782003403,
-0.007517787162214518,
0.043926455080509186,
-0.018422426655888557,
-0.009296740405261517,
-0.009211213327944279,
-0.023519812151789665,
-0.05035805702209473,
-0.029900096356868744,
0.034467216581106186,
0.0537106990814209,
-0.003630603663623333,
-0.005601991433650255,
0.01277767214924097,
0.03636590391397476,
0.016019130125641823,
0.007188509684056044,
-0.06352914869785309,
0.06263967603445053,
-0.051452796906232834,
0.04601330682635307,
-0.02834351174533367,
-0.03188431262969971,
0.009536215104162693,
-0.013342147693037987,
0.04526067152619362,
0.046423833817243576,
0.04803173243999481,
-0.008120750077068806,
0.010827666148543358,
-0.03862380608916283,
-0.01456517819315195,
-0.01170859020203352,
0.00515297707170248,
0.023656655102968216,
0.0018612723797559738,
0.007162851747125387,
-0.04355013743042946,
0.018713217228651047,
0.00865956675261259,
0.04026591777801514,
0.06315283477306366,
0.04416593164205551,
0.025264553725719452,
-0.004669751971960068,
-0.02463165856897831,
-0.07457918673753738,
0.010613849386572838,
-0.013547412119805813,
0.004956265911459923,
-0.0011973722139373422,
0.026256663724780083,
0.01640399917960167,
-0.02641061134636402,
-0.0072654839605093,
0.027522455900907516,
0.04437119513750076,
0.037255384027957916,
-0.01116977259516716,
-0.007081601768732071,
0.011768458411097527,
0.017704004421830177,
0.015925051644444466,
-0.05234227329492569,
-0.02375928685069084,
-0.01128095667809248,
-0.06123703718185425,
-0.038418542593717575,
0.041360657662153244,
-0.022886915132403374,
0.019893484190106392,
-0.01903821900486946,
-0.00442172447219491,
-0.03049878217279911,
0.05655018240213394,
-0.01833690144121647,
-0.0021424409933388233,
0.004567119758576155,
0.022442176938056946,
0.014736231416463852,
-0.03759748861193657,
0.0060039665549993515,
0.023177705705165863,
-0.05928703024983406,
0.04129223898053169,
-0.04259224236011505,
-0.019380325451493263,
-0.029455358162522316,
-0.056105442345142365,
0.0000016704411791579332,
-0.024751394987106323,
0.016019130125641823,
-0.012025038711726665,
0.065855473279953,
-0.0229211263358593,
-0.05583175644278526,
0.03787117451429367,
-0.03653695806860924,
0.0001348380174022168,
-0.0006521402392536402,
0.003027641214430332,
-0.013230963610112667,
0.07150022685527802,
0.04101855307817459,
0.023434285074472427,
-0.0072355493903160095,
0.011939511634409428,
0.008467132225632668,
0.033047474920749664,
-0.037768542766571045,
0.014094782061874866,
-0.015805313363671303,
0.04187381640076637,
0.07314234226942062,
0.06705284863710403,
0.03831591084599495,
-0.0007841719198040664,
-0.03155931085348129,
0.01542899664491415,
0.03128562495112419,
-0.06551336497068405,
0.06359757483005524,
0.031679049134254456,
0.051521215587854385,
-0.014744783751666546,
0.013179647736251354,
-0.011734248138964176,
0.004913502372801304,
-0.033834319561719894,
0.05542122945189476,
-0.07909499108791351,
-0.04108697175979614,
-0.10584770888090134,
-0.011888195760548115,
-0.040779076516628265,
0.003014812245965004,
-0.001877308590337634,
0.03694748505949974,
-0.0383843332529068,
0.03287642076611519,
-0.00909147597849369,
0.006145085208117962,
-0.008629633113741875,
-0.036058008670806885,
0.08340553194284439,
-0.047073833644390106,
0.06359757483005524,
-0.011614510789513588,
0.00417369743809104,
-0.006299033295363188,
-0.03287642076611519,
0.05436069890856743,
0.040710657835006714,
-0.015129653736948967,
0.004075341857969761,
-0.08662132918834686,
0.012007933109998703,
-0.05278700962662697,
0.004404619336128235,
-0.03759748861193657,
-0.002897213213145733,
-0.017567161470651627,
-0.01755005680024624,
-0.030447466298937798,
-0.0026171135250478983,
0.028035616502165794,
0.06783968955278397,
0.04030012711882591,
0.030892204493284225,
0.027761930599808693,
-0.02290401980280876,
0.056310705840587616,
-0.07334760576486588,
-0.04645804315805435,
-0.03510011360049248,
0.007192786317318678,
-0.03807643800973892,
-0.004079618491232395,
0.06195545941591263,
0.03000272810459137,
0.015839524567127228,
0.01755005680024624,
0.006093769334256649,
0.027693510055541992,
0.020440854132175446,
-0.037973806262016296,
0.062331777065992355,
-0.07505813241004944,
-0.05641333758831024,
0.01975664123892784,
0.03374879062175751,
-0.01782374083995819,
0.005837189499288797,
0.02049217000603676,
-0.07293707877397537,
-0.007026009261608124,
0.03487774357199669,
-0.0422501340508461,
-0.048236995935440063,
-0.09120555222034454,
-0.04023170843720436,
0.013769781216979027,
-0.03708432987332344,
-0.009972400031983852,
0.009390819817781448,
0.008308907970786095,
-0.011443457566201687,
-0.019739536568522453,
0.04231855645775795,
0.023075073957443237,
0.013085568323731422,
0.011477667838335037,
-0.05935545265674591,
0.03395405411720276,
-0.016361236572265625,
0.038418542593717575,
-0.012178986333310604,
-0.022014543414115906,
-0.022288229316473007,
0.0916845053434372,
0.011024377308785915,
0.015129653736948967,
-0.004248533397912979,
0.009262529201805592,
0.002375500975176692,
0.01854216493666172,
-0.018867164850234985,
0.03277378901839256,
0.0029378384351730347,
-0.017721109092235565,
-0.03272247314453125,
-0.007308247033506632,
0.02175796404480934,
-0.018815848976373672,
-0.0072312732227146626,
0.06021071970462799,
0.034193530678749084,
-0.0011791978031396866,
-0.058534398674964905,
0.003260701196268201,
-0.04649225249886513,
0.07587918639183044,
-0.027471140027046204,
-0.06079230085015297,
-0.03152510151267052,
0.02369086444377899,
0.006435875780880451,
0.014813205227255821,
0.07437392324209213,
-0.0664028450846672,
0.014659257605671883,
-0.041360657662153244,
0.046081725507974625,
-0.03746064752340317,
0.0020280492026358843,
-0.02649613656103611,
-0.011674378998577595,
0.02103954181075096,
0.01867900788784027,
-0.01790926791727543,
0.05607123300433159,
-0.014659257605671883,
-0.02112506702542305,
-0.027248771861195564,
0.009279634803533554,
-0.04440540447831154,
-0.031097467988729477,
0.031610626727342606,
-0.05200016498565674,
0.010434243828058243,
-0.021894806995987892,
0.012794777750968933,
0.029900096356868744,
0.03701590746641159,
0.009279634803533554,
0.011511879041790962,
-0.01932900957763195,
0.003748202696442604,
-0.04187381640076637,
-0.056105442345142365,
0.03217510133981705,
0.0036562616005539894,
-0.0421132929623127,
0.009681609459221363,
0.003861525561660528,
0.004682580940425396,
-0.018354006111621857,
-0.0003968968230765313,
-0.01295727863907814,
-0.023246126249432564,
0.017353344708681107,
-0.014111887663602829,
-0.03277378901839256,
-0.0350659005343914,
-0.003098200773820281,
0.0027667852118611336,
0.06749758124351501,
0.013504648581147194,
-0.023040862753987312,
-0.001530925976112485,
-0.00880923867225647,
0.028736934065818787,
0.01041713822633028,
-0.04717646539211273,
-0.02548692375421524,
-0.006384559907019138,
0.004545737989246845,
0.029164567589759827,
-0.02134743705391884,
0.022168491035699844,
-0.02635929547250271,
0.01697702705860138,
-0.0036990249063819647,
0.03328694775700569,
0.004648370202630758,
-0.01681452803313732,
-0.013812543824315071,
0.04573962092399597,
0.008578317239880562,
-0.010032269172370434,
-0.02557245083153248,
0.00123479007743299,
-0.059252820909023285,
0.009442135691642761,
-0.014659257605671883,
-0.006594100035727024,
0.012136222794651985,
0.01939743012189865,
0.04416593164205551,
-0.013735570013523102,
-0.024871131405234337,
0.04375540465116501,
0.02020138129591942,
-0.017421767115592957,
0.05675544589757919,
0.01092174556106329,
-0.05432648956775665,
-0.008428645320236683,
-0.0031773129012435675,
0.026804033666849136,
0.0764949843287468,
-0.010228980332612991,
0.03564748167991638,
-0.002480271039530635,
0.03954749554395676,
-0.07519497722387314,
-0.006807916332036257,
0.04587646201252937,
0.09661083668470383,
0.03814486041665077,
0.02570929192006588,
0.024392183870077133,
-0.04768962785601616,
0.02519613318145275,
-0.013461885042488575,
-0.026889558881521225,
0.0538475401699543,
0.004631264600902796,
0.03260273486375809,
0.016438210383057594,
-0.016737554222345352,
0.030840888619422913,
-0.056310705840587616,
0.03728959336876869,
0.10564244538545609,
-0.013487542979419231,
0.0095960833132267,
-0.0047296201810240746,
-0.014505309984087944,
-0.0250592902302742,
0.033765897154808044,
-0.019311903044581413,
0.07020022720098495,
-0.011768458411097527,
-0.029694830998778343,
-0.021997438743710518,
0.08155815303325653
]
|
40,340 | pyglove.core.symbolic.base | sym_missing | Returns missing values. | def sym_missing(self, flatten: bool = True) -> Dict[str, Any]:
"""Returns missing values."""
missing = getattr(self, '_sym_missing_values')
if missing is None:
missing = self._sym_missing()
self._set_raw_attr('_sym_missing_values', missing)
if flatten:
missing = object_utils.flatten(missing)
return missing
| (self, flatten: bool = True) -> Dict[str, Any] | [
0.045770931988954544,
-0.06501591950654984,
0.08491037786006927,
0.03481530398130417,
-0.011006901040673256,
-0.03390945866703987,
0.016706902533769608,
-0.01799730770289898,
0.05045399069786072,
0.0053282626904547215,
-0.013886812143027782,
-0.013151879422366619,
0.025107355788350105,
-0.036541543900966644,
-0.026919050142169,
0.037977226078510284,
-0.0014709337847307324,
0.07718503475189209,
0.036438994109630585,
0.029431495815515518,
0.003106372896581888,
0.0023778495378792286,
-0.060435403138399124,
0.035516053438186646,
-0.04498472437262535,
-0.026919050142169,
0.030337342992424965,
-0.017877668142318726,
-0.004495054017752409,
-0.009904501028358936,
-0.03985728695988655,
0.013040784746408463,
0.009092656895518303,
0.0011066721053794026,
0.02174033783376217,
-0.05992266163229942,
-0.03334543853998184,
0.027226697653532028,
-0.04467707872390747,
-0.01153673604130745,
0.03201230615377426,
-0.01851005107164383,
-0.02312474697828293,
-0.04252355545759201,
0.016553079709410667,
-0.004153225105255842,
0.039002712815999985,
0.02189416065812111,
-0.02004828304052353,
-0.011921294033527374,
0.0663832351565361,
0.04327557981014252,
0.0017881940584629774,
0.006806674413383007,
-0.049462687224149704,
0.022594910115003586,
0.0033371075987815857,
-0.0013587711146101356,
-0.04652295634150505,
0.02548336796462536,
-0.010169419459998608,
0.038284871727228165,
0.0022453905548900366,
-0.043822504580020905,
0.007627064362168312,
0.033977825194597244,
-0.007097228895872831,
0.006332386285066605,
-0.0070160445757210255,
0.018270771950483322,
-0.019159527495503426,
-0.05144529789686203,
-0.06669087707996368,
0.0007611041073687375,
0.04713824763894081,
-0.07930437475442886,
0.019467173144221306,
-0.04549746960401535,
0.014134638011455536,
-0.08757664263248444,
-0.05479522421956062,
0.018373319879174232,
-0.06481081992387772,
0.03307197615504265,
-0.02855983003973961,
0.07116883993148804,
0.04560001567006111,
0.016988912597298622,
0.007810797542333603,
0.048847395926713943,
-0.04850556701421738,
0.0075544253922998905,
0.017407651990652084,
0.048232100903987885,
0.01580105535686016,
0.017911851406097412,
0.0082039013504982,
-0.03606298193335533,
0.05052235722541809,
-0.06340932101011276,
0.042181726545095444,
-0.12271668761968613,
-0.048232100903987885,
0.025107355788350105,
-0.0016493259463459253,
-0.04631785675883293,
0.027653982862830162,
-0.09243062138557434,
0.05770077183842659,
0.010964171960949898,
-0.06528937816619873,
0.023808404803276062,
0.004401050973683596,
-0.003010233398526907,
0.0087465550750494,
-0.039207812398672104,
-0.005764095112681389,
0.033106159418821335,
0.002482534619048238,
0.012374217621982098,
-0.029277672991156578,
0.0735616460442543,
-0.012134936638176441,
-0.028081269934773445,
0.036951739341020584,
0.03924199193716049,
0.02020210586488247,
0.038489971309900284,
0.0697331577539444,
0.07882581651210785,
0.04628367722034454,
-0.007721067406237125,
-0.006862221285700798,
0.03842160478234291,
-0.06539192795753479,
0.017014548182487488,
0.06163180619478226,
0.007246779277920723,
0.06258893013000488,
0.0011109448969364166,
0.01635652780532837,
-0.048642296344041824,
-0.05168457701802254,
0.038182321935892105,
-0.003426837967708707,
0.022834191098809242,
0.015860876068472862,
0.06317003816366196,
-0.052846796810626984,
-0.033413805067539215,
0.016741085797548294,
0.030029697343707085,
-0.025158630684018135,
-0.011630739085376263,
-0.024799710139632225,
0.03534514084458351,
0.03855833411216736,
0.013066421262919903,
-0.048232100903987885,
-0.03729356825351715,
-0.0270386915653944,
-0.04795863851904869,
0.011946930550038815,
-0.02127886936068535,
0.001590574043802917,
0.01225457713007927,
0.062794029712677,
-0.02794453874230385,
0.011946930550038815,
0.035516053438186646,
-0.03855833411216736,
-0.025107355788350105,
0.006473390851169825,
-0.02625248394906521,
0.0451214574277401,
0.05359882116317749,
-0.017809301614761353,
-0.018424594774842262,
0.012391309253871441,
0.03129446506500244,
0.02866237983107567,
-0.04518982023000717,
-0.05636763572692871,
-0.05055654048919678,
0.05944409966468811,
-0.005905099678784609,
-0.03158501908183098,
-0.04317303001880646,
-0.011878564953804016,
0.05421411246061325,
0.01809985749423504,
0.04785608872771263,
0.03968637064099312,
0.13221953809261322,
0.011793107725679874,
-0.005435084458440542,
0.0051317112520337105,
0.019826093688607216,
-0.04419851675629616,
-0.0057897320948541164,
-0.03148246929049492,
-0.04231845587491989,
-0.007242506369948387,
0.02138141728937626,
-0.02732924558222294,
-0.056846197694540024,
-0.054897770285606384,
-0.03702010214328766,
0.011400003917515278,
0.009836135432124138,
-0.019398808479309082,
-0.003211058210581541,
0.001654667081311345,
-0.02399641089141369,
-0.03226867690682411,
-0.009853227064013481,
0.030764630064368248,
0.004900976549834013,
-0.03324289247393608,
0.01061379723250866,
0.009178114123642445,
-0.07937274128198624,
0.045668382197618484,
0.042797017842531204,
-0.011323092505335808,
0.04748007655143738,
-0.009827589616179466,
-0.004093404859304428,
-0.031978122889995575,
-0.007827889174222946,
-0.013938086107373238,
-0.004025038797408342,
-0.04573674872517586,
-0.010357425548136234,
0.027653982862830162,
0.013767171651124954,
0.06443480402231216,
-0.0028478645253926516,
0.0961223766207695,
0.009272117167711258,
-0.0202533807605505,
0.003909671679139137,
-0.02189416065812111,
0.035516053438186646,
0.0030914179515093565,
-0.0011088085593655705,
0.025295361876487732,
0.058555345982313156,
-0.009135385975241661,
-0.027363428846001625,
0.023517850786447525,
-0.0029952784534543753,
0.03698592260479927,
0.02384258806705475,
0.03852415084838867,
-0.05045399069786072,
-0.017117097973823547,
0.04296793043613434,
0.032388318330049515,
-0.037259384989738464,
0.01161364745348692,
0.006939133163541555,
-0.01933044195175171,
0.06918623298406601,
-0.021449783816933632,
0.012246031314134598,
0.0055547249503433704,
-0.012493858113884926,
-0.049462687224149704,
-0.006943406071513891,
-0.04775354266166687,
0.005229986738413572,
-0.021261777728796005,
-0.02127886936068535,
0.022475270554423332,
0.09448159486055374,
0.02594483643770218,
-0.03360181301832199,
0.016065973788499832,
-0.007562971208244562,
-0.016040336340665817,
-0.03148246929049492,
0.03155083581805229,
0.017202554270625114,
-0.0021054542157799006,
0.06525519490242004,
-0.04183989390730858,
-0.07643301039934158,
-0.02061230130493641,
-0.041771531105041504,
0.05667528510093689,
0.03606298193335533,
0.04221590608358383,
-0.007084410637617111,
0.06857094168663025,
0.00566581916064024,
-0.06067468598484993,
-0.034131646156311035,
0.017194010317325592,
0.04901830852031708,
0.011314546689391136,
0.0344734750688076,
0.06539192795753479,
0.017672570422291756,
0.028508557006716728,
-0.08231247216463089,
0.06323840469121933,
0.04532655328512192,
0.013450979255139828,
0.0022923920769244432,
-0.023620398715138435,
0.045053090900182724,
0.042079176753759384,
-0.0012081526219844818,
0.013391159474849701,
-0.035823702812194824,
-0.013425342738628387,
-0.007353601045906544,
0.016339436173439026,
0.03431965410709381,
0.006563120987266302,
-0.029346037656068802,
-0.034695666283369064,
0.01351079996675253,
-0.03702010214328766,
-0.016527442261576653,
0.004294229671359062,
-0.02568846568465233,
0.00009046456398209557,
-0.003349926322698593,
0.03866088390350342,
-0.05482940748333931,
-0.04119041934609413,
0.01825368031859398,
-0.012143482454121113,
0.03103809244930744,
0.0134595250710845,
-0.007204050663858652,
0.010101052932441235,
0.016629992052912712,
-0.03637062758207321,
-0.00020803512597922236,
-0.023654581978917122,
-0.018680967390537262,
-0.044027604162693024,
-0.01799730770289898,
0.010340333916246891,
-0.037464480847120285,
-0.023449484258890152,
0.040746040642261505,
-0.025038989260792732,
0.03650736063718796,
-0.015775417909026146,
0.0034460658207535744,
0.06146089360117912,
0.009759224019944668,
-0.043925054371356964,
0.01692909188568592,
0.030080970376729965,
0.018116949126124382,
0.0738351121544838,
0.03481530398130417,
-0.02727797068655491,
0.005930736660957336,
0.08067169785499573,
-0.05096673592925072,
-0.02471425198018551,
0.0308842696249485,
-0.06901531666517258,
-0.05312025919556618,
-0.05520541965961456,
-0.025107355788350105,
-0.008032986894249916,
-0.04652295634150505,
0.025705557316541672,
0.04385668784379959,
0.01297241821885109,
0.007280962076038122,
-0.021757429465651512,
-0.019809002056717873,
-0.002830773126333952,
-0.00572991231456399,
-0.048744846135377884,
0.016835087910294533,
0.010152327828109264,
-0.017552930861711502,
0.031670477241277695,
-0.0036938919220119715,
-0.0028692290652543306,
0.030559532344341278,
0.005375264212489128,
-0.01974063739180565,
0.02922639809548855,
0.029722049832344055,
-0.01500630285590887,
-0.038387421518564224,
0.02368876524269581,
-0.04830046743154526,
-0.0379430428147316,
-0.050761640071868896,
0.041771531105041504,
-0.02891875058412552,
-0.007139957509934902,
-0.026577221229672432,
0.008297904394567013,
-0.03893434628844261,
-0.031072275713086128,
-0.025773921981453896,
0.012904052622616291,
-0.0012968145310878754,
0.035721153020858765,
-0.02662849612534046,
0.007661247160285711,
-0.06026449054479599,
0.019552631303668022,
-0.023210203275084496,
0.006610122509300709,
0.03534514084458351,
0.056846197694540024,
0.021244686096906662,
0.024423697963356972,
-0.07964620739221573,
-0.02656012959778309,
0.05055654048919678,
-0.008861922658979893,
-0.006879312917590141,
-0.02568846568465233,
-0.008011622354388237,
-0.004512145649641752,
0.04816373437643051,
0.016493258997797966,
0.003493067342787981,
0.018373319879174232,
-0.02611575275659561,
-0.015578866004943848,
-0.040951140224933624,
0.016835087910294533,
-0.07732176780700684,
-0.017723845317959785,
0.052607517689466476,
-0.01125472690910101,
0.037259384989738464,
-0.015014848671853542,
-0.006097378674894571,
0.011323092505335808,
0.0067596728913486,
-0.00028120793285779655,
0.04662550613284111,
0.07274125516414642,
0.001276518451049924,
-0.04457452893257141,
-0.06723780930042267,
0.06429807841777802,
-0.07827889174222946,
-0.04539491981267929,
0.03831905499100685,
0.006362296175211668,
-0.045053090900182724,
-0.02908966690301895,
0.024440789595246315,
-0.014818296767771244,
0.016134338453412056,
-0.07226269692182541,
0.009460123255848885,
0.005888008046895266,
0.02891875058412552,
0.0026384941302239895,
-0.059820111840963364,
-0.04706988111138344,
0.0030978273134678602,
0.021706154569983482,
-0.00502488948404789,
0.007819343358278275,
-0.044745445251464844,
-0.018886063247919083,
-0.04477962851524353,
-0.01953553967177868,
0.036131348460912704,
-0.028730744495987892,
-0.05349627137184143,
-0.029858781024813652,
-0.003858397249132395,
-0.029841691255569458,
-0.05554724857211113,
0.01927916705608368,
0.043309763073921204,
0.0031320101115852594,
-0.009383211843669415,
0.008233810774981976,
0.020851582288742065,
0.03503749519586563,
-0.018544234335422516,
-0.0008353451266884804,
-0.00787061732262373,
0.01317751593887806,
0.025825196877121925,
0.015835238620638847,
-0.03170466050505638,
0.06320422142744064,
-0.010605251416563988,
-0.03821650519967079,
-0.006276838947087526,
-0.0013566346606239676,
0.06699852645397186,
-0.014818296767771244,
-0.053838100284338,
-0.028935842216014862,
-0.015091760084033012,
-0.018988613039255142,
-0.03831905499100685,
-0.010955626145005226,
-0.009186659939587116,
0.041156236082315445,
0.020800307393074036,
0.014032089151442051,
-0.014365372247993946,
0.001803149119950831,
-0.03708846867084503,
0.044950541108846664,
0.01422864105552435,
0.008199628442525864,
0.005768368020653725,
-0.03872925043106079,
-0.034131646156311035,
-0.0725361555814743,
0.005127438344061375,
0.0025573098100721836,
-0.011417095549404621,
-0.011400003917515278,
-0.01641634851694107,
0.04142970219254494,
-0.029209306463599205,
-0.02825218439102173,
0.029431495815515518,
-0.025808105245232582,
0.039925653487443924,
0.01958681456744671,
0.0284572821110487,
-0.11198324710130692,
0.01415172964334488,
0.05308607593178749,
0.01176747027784586,
0.032388318330049515,
0.015262674540281296,
0.07527079433202744,
0.0003501078754197806,
-0.06293075531721115,
-0.010605251416563988,
0.03975473716855049,
0.008451727218925953,
-0.01585233025252819,
-0.0021033179946243763,
0.015860876068472862,
-0.0023522123228758574,
0.015066122636198997,
-0.034900762140750885,
0.03876343369483948,
0.041771531105041504,
-0.0057341852225363255,
0.0010762278689071536,
0.011340184137225151,
-0.014818296767771244,
0.023517850786447525,
-0.10425791144371033,
-0.0566411018371582,
-0.028064178302884102,
-0.045770931988954544,
0.04071186110377312,
-0.006853675935417414,
0.06098233163356781,
-0.0663832351565361,
0.03291815146803856,
0.05277843028306961,
0.03431965410709381,
0.04795863851904869,
0.0029952784534543753,
0.017117097973823547,
0.02045847848057747,
-0.02939731255173683,
-0.04016493260860443,
0.03334543853998184,
0.04590766504406929,
-0.015826692804694176,
0.005499177612364292,
0.0202533807605505,
-0.03678082302212715,
-0.02866237983107567,
0.020270472392439842,
0.0014922982081770897,
-0.01564723253250122,
-0.04518982023000717,
-0.04877902939915657,
0.009699404239654541,
-0.01815113052725792,
-0.008558548986911774,
0.02491934970021248,
-0.014767021872103214,
0.03286688029766083,
0.0062341103330254555,
-0.02056102640926838,
0.020441386848688126,
0.03221740201115608,
-0.008819193579256535,
0.005323989782482386,
-0.007289507891982794,
0.02965368516743183,
0.054453395307064056,
-0.006118742749094963,
0.0015617322642356157,
-0.024013502523303032,
-0.020834490656852722,
-0.01881769858300686,
-0.01938171684741974,
-0.011810199357569218,
0.002154592191800475,
-0.004065631423145533,
0.007956074550747871,
0.019415900111198425,
-0.028628196567296982,
0.0258935634046793,
-0.06429807841777802,
-0.07103210687637329,
-0.08005639910697937,
-0.004717243369668722,
-0.014920845627784729,
0.010118144564330578,
0.0001499508653068915,
0.11136795580387115,
-0.03698592260479927,
-0.004001538269221783,
-0.01522849127650261,
-0.006456299219280481,
0.008990108035504818,
-0.006973315961658955,
0.0036789369769394398,
0.05113764852285385,
0.026235392317175865,
-0.005255624186247587,
0.020014099776744843,
0.12449420243501663,
-0.0243553314357996,
-0.010477065108716488,
-0.05294934660196304,
0.07219433039426804,
-0.033413805067539215,
0.03749866411089897,
-0.05605999007821083,
-0.027671074494719505,
0.04522400349378586,
-0.003952400293201208,
-0.02794453874230385,
0.01528831198811531,
-0.026748135685920715,
-0.04078022390604019,
-0.03250795975327492,
0.021654881536960602,
-0.05144529789686203,
-0.026303758844733238,
0.005678637884557247,
-0.0035144316498190165,
-0.05677783116698265,
-0.027448885142803192,
-0.08928579092025757,
-0.00989595614373684,
0.05144529789686203,
0.02739761210978031,
-0.025603007525205612,
-0.012246031314134598,
0.0789625495672226,
-0.04901830852031708,
-0.018749332055449486,
0.031311556696891785,
0.035926248878240585,
0.0312773734331131,
-0.07404020428657532,
0.0294827688485384,
-0.027517251670360565,
0.053872283548116684,
0.023346934467554092,
-0.02466297708451748,
0.03250795975327492,
-0.02922639809548855,
-0.030986817553639412,
0.026696860790252686,
-0.07807379215955734,
-0.01551904622465372,
-0.003775076474994421,
-0.017262374982237816,
0.0017176917754113674,
0.002371440175920725,
-0.00502488948404789,
-0.04590766504406929,
0.036541543900966644,
0.05055654048919678,
-0.04621531069278717,
0.004631785675883293,
-0.017347833141684532,
0.011630739085376263,
0.019193710759282112,
-0.006430662237107754,
0.0054906317964196205,
0.017672570422291756,
-0.020236289128661156,
-0.0056487275287508965,
0.034644391387701035,
0.029209306463599205,
0.02107377164065838,
0.005896553862839937,
-0.043719954788684845,
0.04348067566752434,
-0.02656012959778309,
0.0317901186645031,
-0.04908667504787445,
-0.04898412525653839,
-0.011246181093156338,
-0.034439291805028915,
0.018339136615395546,
-0.02471425198018551,
-0.003935308661311865,
0.004965069238096476,
0.034644391387701035,
0.009776315651834011,
-0.007597154472023249,
0.05954664945602417,
0.01661290042102337,
0.10651398450136185,
-0.05093255266547203,
-0.04214754328131676,
0.018441686406731606,
0.02225308120250702,
0.023346934467554092,
0.07287798821926117,
0.0016333026578649879,
0.08730318397283554,
0.028183817863464355,
-0.016083065420389175,
0.014621744863688946,
0.05930737033486366,
-0.0071570491418242455,
0.04488217458128929,
0.0033734270837157965,
0.023808404803276062,
0.04190826043486595,
0.02903839200735092,
0.059820111840963364,
-0.007789433002471924,
0.0008871536119841039,
0.030183520168066025,
-0.010032687336206436,
0.0073706922121346,
0.016809452325105667,
0.006789582781493664,
-0.008276539854705334,
0.009545580483973026,
0.006687033921480179,
0.031978122889995575,
-0.015074668452143669,
0.012109300121665001,
0.035516053438186646,
-0.022646185010671616,
-0.03534514084458351,
-0.013835537247359753,
-0.025449184700846672,
0.10384771227836609,
-0.03052534908056259,
0.04980451613664627,
0.011476916261017323,
0.007836434990167618
]
|
40,341 | pyglove.core.symbolic.base | sym_ne | Returns if this object does not equal to another object symbolically. | def sym_ne(self, other: Any) -> bool:
"""Returns if this object does not equal to another object symbolically."""
return ne(self, other)
| (self, other: Any) -> bool | [
0.03965519368648529,
-0.028451301157474518,
0.059465471655130386,
0.03510090708732605,
-0.06871257722377777,
-0.07626265287399292,
-0.07688605040311813,
0.027914484962821007,
0.0654570460319519,
-0.00032577000092715025,
-0.002655945485457778,
-0.06594190746545792,
0.054859235882759094,
-0.006303270813077688,
-0.058357205241918564,
-0.019758328795433044,
-0.033299971371889114,
0.07082521170377731,
-0.01998344622552395,
-0.04672039672732353,
-0.03906642645597458,
0.04931790009140968,
0.008324992842972279,
0.012182283215224743,
0.021732430905103683,
0.07605484873056412,
0.006026203744113445,
0.028278134763240814,
-0.04924863204360008,
0.06781210750341415,
-0.03191463649272919,
-0.026875484734773636,
0.04124832525849342,
0.0024697910994291306,
0.07453098148107529,
0.0016786354826763272,
-0.01899639517068863,
0.07176031172275543,
-0.07106764614582062,
-0.04772476479411125,
-0.007905063219368458,
-0.02457236684858799,
0.03302290663123131,
0.008303347043693066,
-0.028988119214773178,
-0.026165500283241272,
-0.005978582892566919,
-0.009099914692342281,
-0.00800030492246151,
0.0325726717710495,
0.013351158238947392,
-0.042287327349185944,
0.02202681452035904,
0.06853941082954407,
-0.03823522478342056,
0.021697796881198883,
0.0137581005692482,
0.02464163303375244,
-0.06677310913801193,
0.049387164413928986,
-0.048833031207323074,
0.013238600455224514,
0.010104281827807426,
-0.06258247047662735,
-0.01963711343705654,
-0.02600965090095997,
-0.05115346610546112,
0.0003606739337556064,
-0.006195041351020336,
0.01684046909213066,
-0.06303270906209946,
-0.004244750831276178,
-0.018892494961619377,
0.0250745490193367,
-0.024191398173570633,
-0.040901992470026016,
0.021888280287384987,
0.05430510267615318,
0.0028918851166963577,
-0.0451618954539299,
-0.020814646035432816,
-0.032364871352910995,
-0.019862229004502296,
0.01646815985441208,
-0.07328417897224426,
0.011835949495434761,
0.024399198591709137,
0.019775645807385445,
0.022684847936034203,
-0.00979258120059967,
-0.03913569077849388,
-0.008926747366786003,
-0.0010487412801012397,
-0.039343491196632385,
0.01680583506822586,
0.041386861354112625,
0.022840697318315506,
-0.04169856011867523,
0.04911009967327118,
-0.04959496483206749,
0.04117906093597412,
0.009437589906156063,
-0.006848745979368687,
-0.0006569514516741037,
-0.025784533470869064,
-0.01529928483068943,
-0.007402879651635885,
-0.04446922987699509,
-0.025230400264263153,
-0.007978659123182297,
-0.08686045557260513,
0.05316220223903656,
-0.023308249190449715,
0.010632440447807312,
0.026771584525704384,
-0.032884370535612106,
0.013654200360178947,
-0.0009957089787349105,
0.018909811973571777,
-0.004922265652567148,
-0.011151940561830997,
0.08270445466041565,
-0.024174083024263382,
-0.009714656509459019,
0.06019277125597,
0.0137407835572958,
0.07834064960479736,
0.005394145380705595,
-0.041352227330207825,
0.028226185590028763,
0.0602966733276844,
0.0020747545640915632,
-0.007056546397507191,
0.08595998585224152,
0.007671288214623928,
0.04956033080816269,
0.02599233388900757,
0.029490303248167038,
0.037300124764442444,
-0.02555941604077816,
0.012641174718737602,
-0.00729032140225172,
-0.00032062912941910326,
0.05104956775903702,
-0.043811194598674774,
0.04620089754462242,
-0.11429007351398468,
0.007515438366681337,
0.0274815671145916,
-0.0030607227236032486,
-0.012260207906365395,
0.009359664283692837,
0.03111807070672512,
0.04405362904071808,
-0.0653185099363327,
0.04297999292612076,
-0.008355297148227692,
0.0032598646357655525,
-0.026910116896033287,
0.03577625751495361,
0.00640284176915884,
-0.0006266472628340125,
0.039378125220537186,
-0.025420883670449257,
-0.008099876344203949,
-0.048348166048526764,
0.012364108115434647,
-0.012078383006155491,
0.015403185039758682,
0.031395137310028076,
-0.01851152814924717,
-0.0452657975256443,
-0.05427046865224838,
0.018875179812312126,
0.017394602298736572,
0.023169714957475662,
0.014312234707176685,
0.025732584297657013,
-0.03350777179002762,
0.02058953046798706,
0.04460776224732399,
-0.041940994560718536,
-0.05659090355038643,
0.00020644726464524865,
0.0499759316444397,
-0.01076231524348259,
-0.007723238319158554,
-0.01735997013747692,
0.03170683607459068,
0.028451301157474518,
-0.021386098116636276,
0.015810126438736916,
-0.01737728714942932,
0.030286869034171104,
0.047413066029548645,
-0.052331000566482544,
0.018217144533991814,
0.02297923155128956,
0.014537351205945015,
0.03660745546221733,
0.009983064606785774,
-0.01351566705852747,
-0.025680633261799812,
-0.014407476410269737,
0.006208029109984636,
-0.06711944192647934,
-0.03650355711579323,
-0.04263366013765335,
0.028970802202820778,
-0.01655474491417408,
0.014944292604923248,
-0.006298941560089588,
0.05427046865224838,
0.03795815631747246,
0.034269705414772034,
0.0400707945227623,
0.01757642813026905,
0.004309688229113817,
-0.01075365673750639,
0.04561213031411171,
0.062340039759874344,
-0.05108419805765152,
0.00955014768987894,
0.0038075046613812447,
0.011991799809038639,
0.012883608229458332,
-0.0014199676224961877,
0.03695379197597504,
0.01655474491417408,
-0.0652492418885231,
0.012909583747386932,
0.04460776224732399,
0.013913950882852077,
-0.026944750919938087,
0.03463335707783699,
-0.002658110111951828,
-0.018719328567385674,
0.004099723417311907,
-0.026407934725284576,
0.025316983461380005,
-0.016009269282221794,
-0.00900467298924923,
-0.014069801196455956,
0.014182358980178833,
0.03196658566594124,
-0.03461603820323944,
0.01675388589501381,
0.0704096108675003,
-0.026685001328587532,
-0.006415829062461853,
0.0016136979684233665,
-0.057941604405641556,
-0.025645999237895012,
-0.02058953046798706,
0.01897907815873623,
-0.004852999001741409,
-0.055828969925642014,
0.009342348203063011,
0.06580337882041931,
0.017134852707386017,
-0.034893106669187546,
0.03258998692035675,
-0.01399187557399273,
0.022771431133151054,
0.006857404485344887,
0.009931114502251148,
-0.032763153314590454,
0.04717063158750534,
0.006796795874834061,
-0.018355678766965866,
0.08104205131530762,
-0.0649029091000557,
-0.007515438366681337,
0.04554286226630211,
-0.0011786164250224829,
0.004987203050404787,
0.02611355111002922,
-0.015888052061200142,
-0.04952570050954819,
-0.032278288155794144,
-0.012338132597506046,
-0.0029135311488062143,
0.007000267039984465,
-0.06569947302341461,
-0.030321503058075905,
0.03452945500612259,
-0.01737728714942932,
-0.0699593797326088,
-0.01730801910161972,
-0.05070323124527931,
0.06705017387866974,
0.01800934597849846,
0.04699746519327164,
0.040832728147506714,
0.01150693278759718,
0.045854564756155014,
0.0017587251495569944,
-0.01852884516119957,
0.02157658152282238,
0.05627920478582382,
0.026200134307146072,
0.03194927051663399,
0.0060391915030777454,
-0.023256298154592514,
0.015775494277477264,
-0.012745074927806854,
0.02001808024942875,
0.09198619425296783,
0.03302290663123131,
0.010147573426365852,
0.009905139915645123,
0.03364630416035652,
-0.010805606842041016,
0.047378432005643845,
0.03364630416035652,
0.034841157495975494,
0.019152246415615082,
-0.0450926311314106,
0.007545742206275463,
0.09565732628107071,
0.017714962363243103,
0.01600060984492302,
-0.09330225735902786,
-0.027724001556634903,
-0.04124832525849342,
-0.0751543790102005,
-0.03560309112071991,
0.010182206518948078,
0.006502412725239992,
0.04117906093597412,
0.0451272614300251,
-0.03049466945230961,
0.05201930180191994,
0.0016039572656154633,
0.008299018256366253,
-0.0070955087430775166,
-0.002606160007417202,
0.04246049374341965,
0.02360263280570507,
-0.022840697318315506,
-0.004523982293903828,
0.009489539079368114,
-0.002041203435510397,
-0.06279027462005615,
-0.03423507139086723,
-0.013628225773572922,
-0.07591631263494492,
0.02157658152282238,
0.028676418587565422,
0.06472974270582199,
-0.031776104122400284,
0.04367266222834587,
0.01807861216366291,
-0.017645694315433502,
0.01103072427213192,
0.04405362904071808,
-0.022182663902640343,
0.056937236338853836,
-0.012381425127387047,
-0.041906360536813736,
0.023827748373150826,
0.02109171450138092,
-0.003080204129219055,
-0.007030571345239878,
-0.006749175023287535,
-0.014355526305735111,
-0.018650062382221222,
0.015377210453152657,
-0.05655626952648163,
-0.041871726512908936,
-0.08374345302581787,
-0.028849584981799126,
0.0018896824913099408,
-0.0698901116847992,
-0.009351005777716637,
-0.012667150236666203,
-0.03865082561969757,
-0.010667073540389538,
0.028382034972310066,
-0.035845521837472916,
0.07868698239326477,
0.0029330123215913773,
-0.010320739820599556,
0.0250918660312891,
0.038408391177654266,
0.011896558105945587,
0.012831658124923706,
0.034789204597473145,
0.04969886690378189,
0.023152397945523262,
-0.030373452231287956,
-0.06355220824480057,
0.006896366830915213,
0.03865082561969757,
-0.041386861354112625,
-0.03823522478342056,
-0.03503163903951645,
-0.018650062382221222,
-0.12786634266376495,
-0.018909811973571777,
0.020312463864684105,
0.06382927298545837,
-0.014528692699968815,
-0.006281625013798475,
0.002634299686178565,
0.053370002657175064,
-0.003762048203498125,
0.023879699409008026,
-0.00023228699865285307,
0.006368208210915327,
-0.05416657030582428,
-0.033871423453092575,
-0.03594942390918732,
-0.0601235069334507,
0.011299132369458675,
0.01553305983543396,
0.0452657975256443,
-0.002608324633911252,
0.0854058563709259,
-0.025247717276215553,
-0.008952722884714603,
-0.04076346009969711,
0.006104128900915384,
0.00041127108852379024,
-0.007212396245449781,
0.003073710249736905,
0.0251265000551939,
-0.007636655122041702,
-0.02052026428282261,
0.04405362904071808,
-0.05662553757429123,
-0.0550670363008976,
0.08104205131530762,
-0.011125965975224972,
0.04727452993392944,
-0.04201025888323784,
0.0028680746909230947,
-0.12620395421981812,
-0.010701706632971764,
0.06801991164684296,
-0.032797787338495255,
0.0047404407523572445,
-0.041837092489004135,
-0.012909583747386932,
-0.035326022654771805,
0.01600060984492302,
0.039447393268346786,
0.02207876369357109,
0.07605484873056412,
0.015628302469849586,
0.007437513209879398,
-0.001352865481749177,
-0.0201046634465456,
-0.044884830713272095,
-0.013896633870899677,
-0.028382034972310066,
-0.008043596521019936,
-0.03217438608407974,
-0.021870965138077736,
0.024191398173570633,
-0.051291998475790024,
0.037334758788347244,
-0.06258247047662735,
-0.009835872799158096,
-0.05676406994462013,
0.061889808624982834,
0.006281625013798475,
-0.013481033965945244,
0.03162025287747383,
0.030356137081980705,
-0.0001946773409144953,
-0.04900619760155678,
-0.02401823177933693,
0.008212434127926826,
-0.014113092795014381,
0.017688985913991928,
-0.04329169541597366,
-0.008944064378738403,
-0.05974254012107849,
-0.04408826306462288,
-0.05219246819615364,
-0.01483173482120037,
-0.013377133756875992,
-0.04748233035206795,
0.053924135863780975,
-0.038858626037836075,
-0.010260132141411304,
0.0027663393411785364,
0.022736798971891403,
-0.02348141558468342,
0.014303576201200485,
-0.024364566430449486,
-0.050460800528526306,
0.0551709346473217,
0.03712695837020874,
-0.0048400117084383965,
-0.041386861354112625,
-0.006285954266786575,
-0.011766682378947735,
-0.02656378410756588,
-0.025957699865102768,
0.04079809412360191,
-0.02715255133807659,
0.01280568353831768,
0.049352530390024185,
-0.005186344962567091,
-0.00295249349437654,
-0.0015888052294030786,
-0.038893260061740875,
0.03059856966137886,
0.021472681313753128,
-0.02465895004570484,
0.04564676433801651,
0.002443816279992461,
0.054374366998672485,
0.01606987789273262,
0.0009188662515953183,
-0.05416657030582428,
0.010312081314623356,
-0.02606160007417202,
0.06154347211122513,
-0.042391229420900345,
-0.04931790009140968,
-0.03653819113969803,
-0.0072730048559606075,
-0.010156231932342052,
-0.04654723033308983,
-0.011411691084504128,
0.04599309712648392,
-0.035326022654771805,
-0.014546009711921215,
-0.0021191283594816923,
-0.013792733661830425,
0.00452831108123064,
-0.04654723033308983,
0.027862533926963806,
0.005770782940089703,
0.027446934953331947,
0.022875331342220306,
0.05974254012107849,
-0.01709156110882759,
-0.01281434204429388,
0.01958516240119934,
0.01181863248348236,
-0.018199829384684563,
0.044434595853090286,
-0.040867358446121216,
0.018823228776454926,
-0.020728062838315964,
0.018407627940177917,
-0.011151940561830997,
-0.0046105654910206795,
0.023758482187986374,
-0.029438352212309837,
0.005195003468543291,
0.02401823177933693,
-0.006563020870089531,
0.08942332118749619,
0.03208780288696289,
0.037300124764442444,
0.009212472476065159,
-0.013082750141620636,
0.06389854103326797,
-0.10459273308515549,
-0.020381730049848557,
-0.006541375070810318,
0.028382034972310066,
-0.06957840919494629,
0.05603677034378052,
0.0702018141746521,
-0.010866215452551842,
0.005549995228648186,
0.019429313018918037,
0.01998344622552395,
0.013420425355434418,
0.04221805930137634,
-0.007337942253798246,
0.038754723966121674,
-0.052885133773088455,
-0.09614219516515732,
-0.026338666677474976,
0.011870582588016987,
-0.007264346349984407,
-0.003762048203498125,
0.0056885285302996635,
-0.03861619159579277,
-0.016883760690689087,
0.014216993004083633,
-0.006225345656275749,
-0.02652915008366108,
-0.038339123129844666,
-0.00792670901864767,
0.02808765135705471,
-0.05354316905140877,
-0.009255764074623585,
0.012874949723482132,
-0.0018279918003827333,
0.03156830370426178,
0.015255993232131004,
0.021351464092731476,
0.02213071472942829,
-0.00777085917070508,
0.012658491730690002,
-0.07092911005020142,
0.042841460555791855,
-0.0027641747146844864,
-0.039343491196632385,
-0.02713523432612419,
0.009030647575855255,
-0.002186230616644025,
0.04426142945885658,
0.030200285837054253,
0.006225345656275749,
-0.046443331986665726,
0.028485935181379318,
0.01181863248348236,
-0.0008923500427044928,
0.010009040124714375,
-0.06462584435939789,
0.045819930732250214,
-0.03612259030342102,
-0.00478373235091567,
-0.036330390721559525,
0.0038010107818990946,
-0.0399322584271431,
-0.019186878576874733,
0.03598405793309212,
0.0163556020706892,
0.004337827675044537,
-0.02798375114798546,
-0.03059856966137886,
-0.021905597299337387,
0.0013312195660546422,
-0.0037014398258179426,
-0.04914473369717598,
-0.0654224082827568,
0.006234004162251949,
0.017732277512550354,
-0.007459159009158611,
0.11207354068756104,
-0.023654581978917122,
0.027897167950868607,
-0.056452371180057526,
0.06268637627363205,
-0.07681678235530853,
0.00527292862534523,
0.003294497961178422,
-0.03546455502510071,
0.00981855671852827,
-0.005697187036275864,
-0.03471994027495384,
0.06213223934173584,
0.00930771417915821,
-0.01123852375894785,
-0.017333993688225746,
0.035429924726486206,
-0.011567540466785431,
0.008866138756275177,
0.038304492831230164,
-0.049421798437833786,
0.03920495882630348,
-0.033299971371889114,
-0.04297999292612076,
-0.012502641417086124,
0.032797787338495255,
0.04346486181020737,
0.020381730049848557,
-0.04301462695002556,
0.018944445997476578,
-0.05302366614341736,
-0.022892648354172707,
0.06434877216815948,
0.005307561717927456,
-0.0502530001103878,
0.010918165557086468,
-0.012199599295854568,
-0.024762850254774094,
0.02053757943212986,
-0.013836025260388851,
-0.01301348302513361,
-0.04772476479411125,
-0.015004901215434074,
-0.00663661677390337,
-0.030321503058075905,
-0.03302290663123131,
0.016139144077897072,
-0.011515590362250805,
0.04297999292612076,
0.03965519368648529,
-0.05669480189681053,
-0.037888891994953156,
-0.03761182352900505,
0.02102244645357132,
0.044815562665462494,
0.02363726496696472,
-0.010848898440599442,
-0.010338056832551956,
0.0036061981227248907,
0.014589301310479641,
0.011991799809038639,
0.014901001006364822,
-0.008935405872762203,
0.023394832387566566,
-0.015775494277477264,
0.04256439581513405,
0.0072946506552398205,
-0.001401568646542728,
-0.029957853257656097,
0.038408391177654266,
-0.004409259185194969,
-0.07591631263494492,
-0.0008257890585809946,
-0.003989329561591148,
-0.06736187636852264,
-0.0070911794900894165,
0.019948812201619148,
0.04121369495987892,
0.00009970618702936918,
-0.028468618169426918,
0.024832116439938545,
-0.005329207517206669,
-0.04962959885597229,
0.020866597071290016,
0.02852056920528412,
-0.0034828167408704758,
0.025213083252310753,
-0.03217438608407974,
-0.05364706739783287,
0.009125889278948307,
0.0033789167646318674,
0.023862382397055626,
0.09295592457056046,
-0.0029135311488062143,
0.057872336357831955,
-0.040451761335134506,
0.016961686313152313,
-0.0024264995008707047,
-0.0045629446394741535,
-0.007589034270495176,
0.09170912951231003,
0.012104357592761517,
0.005524020176380873,
0.0449540950357914,
-0.02450309880077839,
0.017637036740779877,
0.009047964587807655,
-0.000824165646918118,
0.06310197710990906,
0.002822618465870619,
-0.024468466639518738,
0.039308857172727585,
-0.00019792422244790941,
0.03527407348155975,
-0.012026432901620865,
0.02561136707663536,
0.08388198912143707,
0.00713014230132103,
0.01854616217315197,
-0.008718946948647499,
-0.030892953276634216,
-0.032884370535612106,
0.031221970915794373,
0.023238981142640114,
0.019723696634173393,
-0.05433973670005798,
-0.01806129515171051,
-0.005545665975660086,
0.07598558068275452
]
|
40,342 | pyglove.core.symbolic.base | sym_nondefault | Returns missing values. | def sym_nondefault(self, flatten: bool = True) -> Dict[Union[int, str], Any]:
"""Returns missing values."""
nondefault = getattr(self, '_sym_nondefault_values')
if nondefault is None:
nondefault = self._sym_nondefault()
self._set_raw_attr('_sym_nondefault_values', nondefault)
if flatten:
nondefault = object_utils.flatten(nondefault)
return nondefault
| (self, flatten: bool = True) -> Dict[Union[int, str], Any] | [
0.06534206122159958,
-0.03914995118975639,
0.09723562002182007,
0.012387693859636784,
-0.028731847181916237,
-0.022045603021979332,
-0.0002158290008082986,
-0.0240324717015028,
0.06489285826683044,
-0.005792153999209404,
-0.018642010167241096,
0.007416203152388334,
-0.011411536484956741,
-0.03434691205620766,
-0.01683655194938183,
0.023341385647654533,
-0.018296467140316963,
0.05369728431105614,
0.038009658455848694,
0.0499308705329895,
0.01725120283663273,
-0.01042674109339714,
-0.05062195658683777,
0.022926736623048782,
-0.03341394662857056,
-0.014124044217169285,
-0.0019285583402961493,
-0.01681063510477543,
-0.009761571884155273,
-0.007312540430575609,
-0.034778837114572525,
-0.0005658256122842431,
0.01810641959309578,
0.013363851234316826,
0.049861762672662735,
-0.06482374668121338,
-0.05072562023997307,
0.1035936027765274,
-0.07214924693107605,
-0.0511748231947422,
0.039253611117601395,
-0.0465100035071373,
-0.03742223605513573,
-0.03052866831421852,
-0.0012990232789888978,
0.011973042972385883,
0.05594330653548241,
0.021354518830776215,
0.019125768914818764,
-0.006681925617158413,
0.06617136299610138,
0.03370765596628189,
0.003120679408311844,
0.029993077740073204,
-0.07456804066896439,
0.013070140033960342,
0.007606251165270805,
0.02439529076218605,
-0.07221835106611252,
0.03204905241727829,
-0.02653765305876732,
0.027401508763432503,
0.010936415754258633,
-0.06738076359033585,
0.0028140107169747353,
0.04181062430143356,
-0.003124998649582267,
0.024879049509763718,
-0.01919487863779068,
0.03728402033448219,
-0.050069089978933334,
-0.059951599687337875,
-0.05905319005250931,
-0.0006532910047098994,
0.05594330653548241,
-0.08894260227680206,
0.00027751369634643197,
-0.04336556792259216,
0.004226414952427149,
-0.05238422378897667,
-0.050172749906778336,
0.008314613252878189,
-0.05286798253655434,
0.03911539539694786,
-0.01914304681122303,
0.055424995720386505,
0.0515894740819931,
0.031202474609017372,
0.013182440772652626,
0.013173802755773067,
-0.03230820968747139,
-0.006185208447277546,
0.04498961567878723,
0.055321332067251205,
-0.0010279885027557611,
0.022097434848546982,
0.023807868361473083,
-0.037111248821020126,
0.054595693945884705,
-0.10497576743364334,
0.014391839504241943,
-0.11962676793336868,
-0.046475447714328766,
-0.035089828073978424,
-0.014314092695713043,
-0.06230128929018974,
0.043192796409130096,
-0.0530407540500164,
0.024516230449080467,
0.011852103285491467,
-0.08175532519817352,
0.0029651853255927563,
0.01709570921957493,
-0.005485484842211008,
-0.007213196717202663,
-0.01417587511241436,
-0.019436758011579514,
0.020404277369379997,
0.029301991686224937,
0.035867296159267426,
-0.05794745311141014,
0.05673805624246597,
-0.026192111894488335,
-0.0230476763099432,
0.024049747735261917,
0.0494125559926033,
0.03693847730755806,
0.06226673349738121,
0.06986866891384125,
0.10283340513706207,
0.050691064447164536,
-0.0032480983063578606,
-0.020922590047121048,
0.0480649434030056,
-0.06430543214082718,
0.011143741197884083,
0.05884586274623871,
0.03745679184794426,
0.05670350044965744,
0.014391839504241943,
0.03286108002066612,
-0.050587400794029236,
-0.029371101409196854,
0.07145816087722778,
-0.00988251157104969,
0.00621544336900115,
0.03517621383070946,
0.053351741284132004,
-0.05774012953042984,
-0.034519683569669724,
0.03401864692568779,
0.05905319005250931,
-0.06254316866397858,
0.011878018267452717,
-0.0265203770250082,
0.0526261031627655,
0.0470283143222332,
-0.03718035668134689,
-0.040601227432489395,
-0.039875589311122894,
-0.021129915490746498,
-0.01105735544115305,
0.03403592109680176,
-0.02470627799630165,
0.025138206779956818,
0.014694188721477985,
0.06700066477060318,
-0.04087766259908676,
0.043572891503572464,
0.02506909891963005,
-0.035452645272016525,
-0.018952999264001846,
-0.01986868493258953,
0.0031444355845451355,
0.08244641125202179,
0.08541807532310486,
-0.002304335590451956,
-0.03880440816283226,
0.0051140268333256245,
0.0503455214202404,
0.018538348376750946,
-0.02366965264081955,
-0.03780233487486839,
-0.01960952952504158,
0.051624029874801636,
0.004010451026260853,
0.0030062184669077396,
-0.028420859947800636,
-0.014219067990779877,
0.013389766216278076,
-0.0006937842699699104,
0.03949549049139023,
0.021043529734015465,
0.09025566279888153,
0.019229432567954063,
-0.00852193869650364,
0.01021941564977169,
0.00951969251036644,
-0.03362127020955086,
-0.022028325125575066,
-0.008297336287796497,
-0.04146508499979973,
0.012499994598329067,
0.0017223127651959658,
-0.022028325125575066,
-0.03218727186322212,
-0.0473393052816391,
-0.026865918189287186,
-0.008958186022937298,
0.007290943991392851,
-0.013441598042845726,
-0.001355173997581005,
-0.006979955825954676,
-0.009917065501213074,
-0.015488936565816402,
-0.05183135345578194,
0.030770547688007355,
0.011489283293485641,
-0.05957150459289551,
0.030459558591246605,
0.015523490495979786,
-0.04426397755742073,
0.0476502925157547,
0.024568062275648117,
0.030390450730919838,
0.03635105490684509,
0.00024187965027522296,
-0.026831364259123802,
-0.008837246336042881,
-0.005580509081482887,
-0.006288871169090271,
-0.025086374953389168,
-0.08189354091882706,
-0.01981685496866703,
0.035867296159267426,
-0.025570135563611984,
0.07456804066896439,
-0.036489274352788925,
0.05836210399866104,
0.026088448241353035,
-0.008711987175047398,
-0.006396852899342775,
-0.010478571988642216,
0.013985826633870602,
0.0003144975344184786,
0.03265375271439552,
0.015592599287629128,
0.04761573672294617,
0.014599164947867393,
-0.03135797008872032,
0.044402193278074265,
-0.030995149165391922,
0.006526431534439325,
0.030183125287294388,
0.037629563361406326,
0.005390461068600416,
-0.06796818226575851,
0.05659984052181244,
0.008707667700946331,
-0.033517610281705856,
0.009917065501213074,
0.008150480687618256,
-0.05967516452074051,
0.046890098601579666,
0.013001031242311,
-0.008444191887974739,
-0.017363503575325012,
-0.01670697331428528,
-0.023548711091279984,
0.0024555104319006205,
-0.047304749488830566,
0.012076705694198608,
-0.02605389431118965,
-0.04087766259908676,
-0.008064094930887222,
0.07297854870557785,
0.002222269307821989,
-0.036281947046518326,
0.009899788536131382,
-0.041326865553855896,
-0.03686936944723129,
0.00434519536793232,
0.020715264603495598,
-0.005390461068600416,
0.013121970929205418,
0.03911539539694786,
-0.023030398413538933,
-0.07608842849731445,
-0.013985826633870602,
-0.04668277129530907,
0.06910847127437592,
0.07214924693107605,
0.04550793021917343,
0.009303728118538857,
0.031133366748690605,
-0.015376634895801544,
-0.03821698576211929,
-0.036592934280633926,
0.00975293293595314,
0.045058723539114,
0.004453177098184824,
0.027816159650683403,
0.058811310678720474,
0.019436758011579514,
0.05093294382095337,
-0.04395298659801483,
0.06744986772537231,
0.020939867943525314,
0.03445057198405266,
0.020006902515888214,
-0.026814086362719536,
0.028645461425185204,
0.030044907703995705,
0.0005674453568644822,
0.010919138789176941,
-0.009701102040708065,
0.03230820968747139,
-0.0124308867380023,
0.025086374953389168,
0.0513821505010128,
-0.009606077335774899,
-0.016266407445073128,
-0.06368345767259598,
-0.003794487100094557,
-0.03172078728675842,
-0.019471311941742897,
-0.022460253909230232,
-0.017553551122546196,
-0.014003104530274868,
0.02824808843433857,
0.03835520148277283,
-0.0212854091078043,
-0.06219762563705444,
-0.003960779402405024,
-0.01696613058447838,
0.02007601037621498,
0.0025591731537133455,
0.013579814694821835,
-0.02033516764640808,
-0.014996538870036602,
-0.04509327933192253,
0.004699375946074724,
-0.013623007573187351,
-0.04115409404039383,
-0.040912214666604996,
0.004587074741721153,
0.027764329686760902,
-0.036800261586904526,
0.0044661350548267365,
0.0234623271971941,
-0.005481165833771229,
0.04789217188954353,
-0.02330683171749115,
0.030252233147621155,
0.04927434027194977,
0.01389080286026001,
-0.011800271458923817,
0.015195225365459919,
0.026917750015854836,
-0.0002486285229679197,
0.027971653267741203,
0.03156529366970062,
-0.020974421873688698,
0.013916718773543835,
0.105252206325531,
-0.02829992026090622,
-0.009381474927067757,
0.019955070689320564,
-0.050069089978933334,
-0.06921213865280151,
-0.03766411915421486,
-0.022874904796481133,
-0.017916372045874596,
-0.08693845570087433,
0.04073944315314293,
0.032843802124261856,
-0.04530060291290283,
-0.0022697814274579287,
-0.023997917771339417,
-0.025812014937400818,
0.005710087716579437,
-0.03277469426393509,
-0.013864886946976185,
0.05259154736995697,
-0.005615063477307558,
-0.017596744000911713,
0.018555624410510063,
0.03604006767272949,
-0.0011921211844310164,
0.011860741302371025,
-0.011299234814941883,
-0.0027017092797905207,
-0.0016855988651514053,
0.013657561503350735,
0.0012396331876516342,
-0.031444355845451355,
0.002846405142918229,
-0.040393903851509094,
-0.04115409404039383,
-0.044402193278074265,
0.003725378541275859,
0.008586728014051914,
-0.012957838363945484,
-0.008504661731421947,
-0.007057702634483576,
-0.00871630571782589,
-0.008608324453234673,
-0.026865918189287186,
0.021820999681949615,
-0.010858668945729733,
0.03265375271439552,
0.0013648923486471176,
0.002276260405778885,
-0.05680716410279274,
0.05535588786005974,
-0.038527972996234894,
-0.0048116776160895824,
0.06461641937494278,
0.06472008675336838,
-0.0212854091078043,
-0.015229779295623302,
-0.03496888652443886,
0.0033711977303028107,
0.046268120408058167,
0.018089143559336662,
0.011091909371316433,
0.013545260764658451,
-0.02408430352807045,
-0.03161712735891342,
0.0458880253136158,
0.012318585067987442,
-0.01596405729651451,
0.020991697907447815,
-0.026779532432556152,
0.022339314222335815,
-0.0425708182156086,
0.014866960234940052,
-0.08175532519817352,
-0.02741878665983677,
0.03341394662857056,
-0.021820999681949615,
0.021458180621266365,
-0.026088448241353035,
-0.017579467967152596,
0.03265375271439552,
0.013726670295000076,
-0.01332065835595131,
0.07014510035514832,
0.03510710224509239,
0.0020397796761244535,
-0.045058723539114,
-0.06136832386255264,
0.08590183407068253,
-0.05732547864317894,
-0.03797510638833046,
0.03686936944723129,
-0.046475447714328766,
-0.023600542917847633,
0.0054250149987638,
-0.002511661034077406,
0.011705247685313225,
-0.005485484842211008,
-0.05228056013584137,
0.013312019407749176,
0.019523143768310547,
0.04156874492764473,
-0.0015916544944047928,
-0.05414648726582527,
-0.02835175022482872,
-0.005576190073043108,
0.011852103285491467,
-0.013001031242311,
-0.0016942373476922512,
-0.07926741987466812,
-0.007442118600010872,
-0.011739801615476608,
-0.013070140033960342,
0.004293364007025957,
-0.011973042972385883,
-0.05131303891539574,
-0.033102959394454956,
0.011705247685313225,
-0.026002062484622,
-0.04378021880984306,
0.011281957849860191,
0.013415682129561901,
-0.0007796299760229886,
-0.018037311732769012,
0.000618196907453239,
0.02772977389395237,
0.0454733744263649,
0.0240324717015028,
0.0019339574500918388,
-0.013363851234316826,
0.010737729258835316,
0.019678637385368347,
0.005770557560026646,
-0.033102959394454956,
0.0525224395096302,
-0.01064270455390215,
-0.04108498618006706,
-0.008245504461228848,
-0.03510710224509239,
0.055217668414115906,
-0.010815476067364216,
-0.04478228837251663,
-0.06085000932216644,
0.0030947637278586626,
-0.02757428027689457,
-0.05196957290172577,
0.0009680585353635252,
-0.017268478870391846,
0.03350033238530159,
0.007131130434572697,
0.026019340381026268,
-0.026468545198440552,
0.050380077213048935,
-0.03362127020955086,
0.059433285146951675,
-0.013286103494465351,
0.012949200347065926,
0.007809257600456476,
-0.055735982954502106,
-0.01583447866141796,
-0.03825153782963753,
0.022391144186258316,
-0.003917586524039507,
0.01732894964516163,
0.0005647458019666374,
0.007329817395657301,
0.048306822776794434,
-0.032532814890146255,
-0.02081892639398575,
0.05998615548014641,
-0.04087766259908676,
0.01852107048034668,
0.0246026162058115,
0.037318576127290726,
-0.07104350626468658,
0.01841740868985653,
0.023496881127357483,
0.021129915490746498,
0.023548711091279984,
0.012361777946352959,
0.06385622918605804,
0.018952999264001846,
-0.06492740660905838,
0.033897705376148224,
0.030511390417814255,
-0.009986174292862415,
-0.004483412019908428,
0.0047468882985413074,
0.01706979237496853,
-0.028230810537934303,
0.004595713224261999,
-0.03063233010470867,
0.03381131961941719,
0.044091206043958664,
0.00701019074767828,
0.006664648186415434,
0.014918791130185127,
0.0009680585353635252,
0.026019340381026268,
-0.10179678350687027,
-0.021199023351073265,
-0.0063882144168019295,
-0.05977882817387581,
0.0227885190397501,
-0.0007731510559096932,
0.08182442933320999,
-0.05369728431105614,
-0.010098475962877274,
0.07525912672281265,
0.018970275297760963,
0.03624739497900009,
0.018434684723615646,
0.015748092904686928,
0.0044402191415429115,
-0.06302692741155624,
-0.03156529366970062,
0.025034544989466667,
0.05725637078285217,
-0.022304760292172432,
-0.024568062275648117,
0.028230810537934303,
-0.043676555156707764,
-0.025051821023225784,
0.017000684514641762,
-0.00852193869650364,
-0.04177607223391533,
-0.04077399894595146,
0.026969581842422485,
0.0018173368880525231,
-0.0027988930232822895,
-0.044091206043958664,
0.014236344955861568,
-0.02012784220278263,
0.04053211957216263,
0.019885962828993797,
-0.010685897432267666,
-0.0063882144168019295,
0.027919823303818703,
-0.01417587511241436,
0.016439177095890045,
0.0023475284688174725,
0.018970275297760963,
0.040082912892103195,
-0.019782301038503647,
0.024827219545841217,
-0.01691429875791073,
-0.013199718669056892,
-0.011178295128047466,
-0.026226665824651718,
-0.003239459590986371,
-0.011428813450038433,
0.0025591731537133455,
0.00031800696160644293,
0.021924663335084915,
-0.03724946826696396,
-0.004094677045941353,
-0.07595021277666092,
-0.02190738543868065,
-0.06226673349738121,
-0.022149264812469482,
-0.025673797354102135,
-0.007044744677841663,
-0.008992739953100681,
0.11630956083536148,
-0.014858321286737919,
0.03880440816283226,
0.003515893593430519,
-0.01355389878153801,
-0.00680286530405283,
0.006560985464602709,
-0.012309947051107883,
0.027816159650683403,
0.023842422291636467,
-0.0037620924413204193,
0.022201096639037132,
0.12225288897752762,
-0.004686418455094099,
-0.009044571779668331,
0.007109533995389938,
0.0452660508453846,
-0.024326182901859283,
0.005286798346787691,
-0.027798883616924286,
-0.014815128408372402,
0.027073243632912636,
-0.00742484163492918,
-0.06724254041910172,
0.00587853929027915,
-0.007468034513294697,
-0.050276413559913635,
-0.06762263923883438,
0.03075326979160309,
-0.02881823293864727,
-0.032999295741319656,
0.02897372655570507,
-0.030252233147621155,
-0.07221835106611252,
-0.03890806809067726,
-0.08306838572025299,
0.0071397689171135426,
0.039460938423871994,
0.010530403815209866,
-0.026226665824651718,
-0.0062111238949000835,
0.06810639798641205,
-0.07567377388477325,
0.01580856367945671,
0.03445057198405266,
0.02912922017276287,
0.010599511675536633,
-0.0421561673283577,
0.017760876566171646,
-0.02855907566845417,
0.06755353510379791,
0.026295773684978485,
-0.02938837744295597,
0.06126466020941734,
-0.0466136634349823,
-0.02189010940492153,
0.012068066745996475,
-0.08030404150485992,
-0.028541799634695053,
-0.013277465477585793,
-0.03541809320449829,
0.015117478556931019,
0.009148233570158482,
0.007584654726088047,
-0.04115409404039383,
0.027557004243135452,
0.04592258110642433,
-0.060573577880859375,
0.00487646646797657,
-0.025103652849793434,
0.038527972996234894,
0.016750166192650795,
0.01624912954866886,
0.014314092695713043,
0.010884584859013557,
-0.026986857876181602,
-0.003023495664820075,
0.024222519248723984,
0.010158945806324482,
0.014815128408372402,
-0.015177948400378227,
-0.016214575618505478,
0.0461990125477314,
-0.009701102040708065,
0.045335158705711365,
-0.057774681597948074,
-0.04751207306981087,
-0.03624739497900009,
-0.003397113410755992,
-0.023289555683732033,
-0.011480645276606083,
-0.03621283918619156,
0.0077660647220909595,
0.020507939159870148,
-0.03432963415980339,
-0.03432963415980339,
0.06658601015806198,
0.04087766259908676,
0.07069797068834305,
-0.04799583554267883,
-0.03412230685353279,
0.03838975727558136,
0.011973042972385883,
0.041534192860126495,
0.06789907068014145,
0.006133377086371183,
0.03604006767272949,
0.019436758011579514,
-0.009441944770514965,
0.05072562023997307,
0.01950586587190628,
-0.027487894520163536,
0.029682088643312454,
-0.014486863277852535,
0.03541809320449829,
0.05290253460407257,
0.05998615548014641,
0.05618518963456154,
-0.016473732888698578,
0.0074853114783763885,
0.029474763199687004,
0.014331369660794735,
0.029457487165927887,
0.002515980275347829,
0.016491008922457695,
-0.014184514060616493,
-0.017372142523527145,
0.015376634895801544,
0.014391839504241943,
0.0016413262346759439,
0.01376122422516346,
0.03089148737490177,
-0.014547333121299744,
-0.030131293460726738,
-0.017829986289143562,
-0.04789217188954353,
0.07270210981369019,
-0.04498961567878723,
0.034727007150650024,
0.021665506064891815,
-0.008763818070292473
]
|
40,343 | pyglove.core.symbolic.base | sym_rebind | Mutates the sub-nodes of current object. Please see `rebind`. | def sym_rebind(
self,
path_value_pairs: Optional[Union[
Dict[
Union[object_utils.KeyPath, str, int],
Any],
Callable]] = None, # pylint: disable=g-bare-generic
*,
raise_on_no_change: bool = True,
notify_parents: bool = True,
skip_notification: Optional[bool] = None,
**kwargs,
) -> 'Symbolic':
"""Mutates the sub-nodes of current object. Please see `rebind`."""
assert Symbolic.DictType is not None
if callable(path_value_pairs):
path_value_pairs = get_rebind_dict(path_value_pairs, self)
elif path_value_pairs is None:
path_value_pairs = {}
elif isinstance(path_value_pairs, Symbolic.DictType):
# Rebind work on symbolic form, thus we get their symbol instead of
# their evaluated value when building the rebind dict.
sd = typing.cast(Symbolic.DictType, path_value_pairs)
path_value_pairs = {k: v for k, v in sd.sym_items()}
if not isinstance(path_value_pairs, dict):
raise ValueError(
self._error_message(
f'Argument \'path_value_pairs\' should be a dict. '
f'Encountered {path_value_pairs}'))
path_value_pairs.update(kwargs)
path_value_pairs = {object_utils.KeyPath.from_value(k): v
for k, v in path_value_pairs.items()}
if not path_value_pairs and raise_on_no_change:
raise ValueError(self._error_message('There are no values to rebind.'))
updates = self._sym_rebind(path_value_pairs)
if skip_notification is None:
skip_notification = not flags.is_change_notification_enabled()
if not skip_notification:
self._notify_field_updates(updates, notify_parents=notify_parents)
return self
| (self, path_value_pairs: Union[Dict[Union[pyglove.core.object_utils.value_location.KeyPath, str, int], Any], Callable, NoneType] = None, *, raise_on_no_change: bool = True, notify_parents: bool = True, skip_notification: Optional[bool] = None, **kwargs) -> pyglove.core.symbolic.base.Symbolic | [
0.03555752709507942,
-0.0257671307772398,
-0.028237951919436455,
-0.0056104352697730064,
-0.053169090300798416,
-0.004802309442311525,
-0.04124227166175842,
0.054692454636096954,
0.032529376447200775,
-0.03546464070677757,
0.005443236790597439,
0.014453372918069363,
0.04971366003155708,
0.02151286043226719,
-0.026045795530080795,
-0.00606558658182621,
0.00608880864456296,
0.010310567915439606,
-0.006107386201620102,
-0.014183998107910156,
0.034034162759780884,
-0.005689390003681183,
0.023742172867059708,
0.009233067743480206,
-0.017017081379890442,
-0.029389763250947,
0.009465287439525127,
0.06862565875053406,
0.02847946062684059,
-0.003620309755206108,
-0.027476271614432335,
-0.007026977371424437,
-0.01937643624842167,
0.030504420399665833,
0.08946972340345383,
-0.04072209820151329,
-0.048227451741695404,
0.07713419944047928,
-0.01174104306846857,
-0.038158390671014786,
0.020528247579932213,
-0.007983723655343056,
-0.04659262299537659,
-0.021977301687002182,
0.07364160567522049,
0.06717660278081894,
-0.048970554023981094,
0.0672137588262558,
0.041762445122003555,
0.006190985441207886,
0.013385160826146603,
-0.02428092435002327,
-0.009911149740219116,
0.008471385575830936,
0.0193021260201931,
0.044623397290706635,
0.05012236535549164,
0.05792495608329773,
0.032455068081617355,
-0.05067969486117363,
0.026714589446783066,
-0.01422115322202444,
-0.0298913586884737,
-0.05491538718342781,
-0.02366786263883114,
-0.012409836985170841,
0.004031339194625616,
-0.04358305037021637,
-0.010895762592554092,
-0.01825249195098877,
-0.07594522833824158,
-0.007208108901977539,
-0.015744516626000404,
-0.05580710992217064,
0.026714589446783066,
0.013868178240954876,
0.01665481925010681,
-0.008610717952251434,
0.02078833431005478,
-0.07196962088346481,
-0.049007710069417953,
-0.021085577085614204,
-0.03574330359697342,
-0.021680058911442757,
-0.10618956387042999,
0.08939541131258011,
0.02849803864955902,
-0.007152376230806112,
0.05201727896928787,
-0.029798470437526703,
-0.041799601167440414,
0.004330902826040983,
-0.029742738232016563,
0.023221999406814575,
0.03702515736222267,
-0.038269855082035065,
-0.003146581118926406,
-0.1046290472149849,
-0.0039036183152347803,
-0.01002261508256197,
0.04707564041018486,
-0.07980936765670776,
-0.051088400185108185,
-0.015540163032710552,
0.028702393174171448,
-0.03362545743584633,
0.0007744536851532757,
-0.0041102939285337925,
-0.0027007185854017735,
-0.038938648998737335,
-0.04774443432688713,
0.036746494472026825,
0.04662977531552315,
0.010069059208035469,
-0.056810300797224045,
0.044660549610853195,
0.011936108581721783,
-0.021605748683214188,
0.07026048749685287,
-0.035353172570466995,
-0.030374376103281975,
-0.008160211145877838,
0.00014513749920297414,
0.020231006667017937,
0.024801095947623253,
0.07698557525873184,
0.028776703402400017,
0.025358423590660095,
0.011694598942995071,
-0.002816828666254878,
-0.023277733474969864,
-0.02647308073937893,
-0.025246959179639816,
0.06301522254943848,
0.03433140367269516,
0.007254553027451038,
-0.022330274805426598,
0.005053107161074877,
-0.019785143435001373,
0.02651023492217064,
0.027346227318048477,
0.008076611906290054,
0.0023918659426271915,
0.05354064330458641,
0.028962478041648865,
-0.025339847430586815,
0.011555267497897148,
0.06123176962137222,
-0.04131658375263214,
0.041167963296175,
-0.05298331752419472,
0.048153139650821686,
0.05201727896928787,
0.09095592796802521,
-0.07936351001262665,
0.09117886424064636,
-0.05417228117585182,
0.004658333025872707,
-0.013320139609277248,
0.0013085596729069948,
-0.03957028687000275,
0.006353539414703846,
0.030560152605175972,
-0.05491538718342781,
0.016924193128943443,
-0.031098902225494385,
-0.000043214691686443985,
-0.054023660719394684,
-0.01073785312473774,
0.045255035161972046,
-0.0036644316278398037,
-0.052723228931427,
0.004923064261674881,
0.010050482116639614,
0.04923063889145851,
-0.03553894907236099,
0.03072735108435154,
-0.05796211212873459,
-0.007519283797591925,
0.00676224660128355,
0.015177899040281773,
-0.06052582338452339,
-0.04480917006731033,
0.012196194380521774,
0.02426234632730484,
0.08649730682373047,
-0.0205839816480875,
0.022274542599916458,
0.06517022103071213,
0.014379062689840794,
0.010895762592554092,
0.014118975959718227,
0.06569039076566696,
0.05342917889356613,
0.03487015515565872,
-0.0181781817227602,
0.013013608753681183,
0.02069544605910778,
-0.009799684397876263,
0.08984127640724182,
-0.011480957269668579,
-0.029687006026506424,
0.04191106557846069,
0.010756430216133595,
0.004038305953145027,
-0.0010397650767117739,
0.03923588991165161,
-0.015883848071098328,
0.039644598960876465,
-0.00894511491060257,
0.01036630105227232,
0.0006211884901858866,
0.0192092377692461,
-0.03574330359697342,
-0.030132867395877838,
0.02140139602124691,
-0.00043657360947690904,
-0.027699202299118042,
0.011100116185843945,
-0.048933397978544235,
0.016849882900714874,
0.05714469775557518,
-0.02221881039440632,
-0.03986753150820732,
0.007872258313000202,
-0.04837607219815254,
-0.05413512885570526,
-0.007691126316785812,
-0.009939015842974186,
-0.01174104306846857,
0.028163641691207886,
-0.019822299480438232,
-0.014444083906710148,
-0.06457573920488358,
0.09794110804796219,
-0.08627437800168991,
0.03875287249684334,
-0.00790476892143488,
0.01832680217921734,
0.05224021151661873,
-0.0271418746560812,
0.02574855461716652,
-0.01792738400399685,
-0.004755865782499313,
-0.006190985441207886,
-0.03576188161969185,
0.012224061414599419,
-0.0068551343865692616,
-0.0018147992668673396,
0.004918419755995274,
0.051051244139671326,
-0.016264688223600388,
-0.02639877051115036,
0.0387900285422802,
-0.01496425736695528,
0.01991518773138523,
-0.03546464070677757,
-0.01031985692679882,
0.033904120326042175,
-0.012660634703934193,
0.011852509342133999,
0.00892653688788414,
-0.05762771517038345,
0.02630588226020336,
0.006869067903608084,
0.008703605271875858,
0.00750999478623271,
-0.005763700697571039,
-0.032547954469919205,
0.018363958224654198,
0.009539597667753696,
0.004950930364429951,
-0.015187188051640987,
0.07089212536811829,
-0.019525058567523956,
0.03299381956458092,
0.07364160567522049,
-0.04276563599705696,
0.014564838260412216,
-0.03589192405343056,
0.014797058887779713,
-0.0499737448990345,
0.04012761637568474,
-0.019617944955825806,
0.010273412801325321,
0.043100032955408096,
-0.012298371642827988,
0.004435401875525713,
-0.00030478875851258636,
0.0057822782546281815,
0.09868421405553818,
0.04640684649348259,
0.015261498279869556,
0.022961914539337158,
0.04009046033024788,
0.030392954126000404,
-0.10336576402187347,
0.019562212750315666,
-0.0028354062233120203,
0.006386050023138523,
0.011471668258309364,
0.007352085318416357,
-0.003806085791438818,
0.02719760686159134,
0.088578000664711,
-0.07743144035339355,
0.08404505997896194,
0.027309073135256767,
-0.03228786960244179,
0.05261176452040672,
-0.003483300097286701,
0.043174341320991516,
-0.03934735804796219,
0.029594117775559425,
0.03633778542280197,
-0.024559587240219116,
0.018010983243584633,
-0.04191106557846069,
0.010180524550378323,
0.026974676176905632,
-0.03193489462137222,
-0.024132302030920982,
-0.06301522254943848,
-0.00045805395347997546,
-0.029798470437526703,
0.026565968990325928,
0.038975805044174194,
0.010226968675851822,
0.012400547973811626,
0.0006745990831404924,
-0.007960502058267593,
-0.002807539887726307,
0.02784782275557518,
0.024466698989272118,
0.02141997218132019,
-0.009404909797012806,
0.030597306787967682,
-0.01919066160917282,
-0.017518676817417145,
-0.011545978486537933,
0.03719235584139824,
0.02574855461716652,
-0.028349418193101883,
-0.08709178864955902,
-0.007691126316785812,
-0.005155283957719803,
0.007807236630469561,
0.011759621091187,
0.03867856413125992,
-0.007082710042595863,
-0.040424857288599014,
0.04662977531552315,
-0.03838132321834564,
0.040424857288599014,
0.001819443772546947,
0.0017660331213846803,
-0.031730540096759796,
0.023742172867059708,
0.027550581842660904,
-0.08248454332351685,
0.016143934801220894,
0.0050345296040177345,
-0.011332335881888866,
-0.011499534361064434,
0.035947658121585846,
-0.026677433401346207,
-0.07007470726966858,
0.03163765370845795,
-0.035334594547748566,
-0.021550016477704048,
-0.015437985770404339,
-0.033253904432058334,
0.029872780665755272,
-0.005707967560738325,
-0.010264123789966106,
0.051051244139671326,
0.023946527391672134,
-0.018874842673540115,
0.01110940519720316,
-0.04127942770719528,
0.04934210702776909,
-0.03226929157972336,
0.0456637404859066,
0.024503855034708977,
0.01752796582877636,
0.0055686356499791145,
0.08642299473285675,
0.008280965499579906,
0.051645729690790176,
-0.009790395386517048,
0.018800530582666397,
-0.019116351380944252,
0.012595612555742264,
0.037415288388729095,
-0.02485683001577854,
-0.015410119667649269,
0.029296875,
0.013190096244215965,
-0.06286659836769104,
-0.03520455211400986,
-0.013784579001367092,
-0.02429950051009655,
-0.024819673970341682,
-0.011313758790493011,
0.018726220354437828,
-0.006214207503944635,
0.04432615265250206,
0.04049916937947273,
0.001533813076093793,
0.0019727088510990143,
0.02285044826567173,
-0.014341907575726509,
-0.030448686331510544,
-0.022386008873581886,
0.03421993926167488,
0.012140462175011635,
-0.030430108308792114,
-0.021197041496634483,
0.030281487852334976,
0.008838293142616749,
0.019617944955825806,
-0.015828115865588188,
-0.04127942770719528,
0.02506118267774582,
0.026584545150399208,
-0.001151811215095222,
0.020212428644299507,
0.00023468733706977218,
-0.002610152820125222,
0.06353539228439331,
0.003954706713557243,
-0.008071967400610447,
0.026565968990325928,
0.0017938995733857155,
0.0010606648866087198,
-0.04588667303323746,
0.032510802149772644,
-0.02855377085506916,
0.0075053502805531025,
0.010087637230753899,
-0.05056822672486305,
-0.013831023126840591,
0.024429544806480408,
-0.062457893043756485,
-0.041725289076566696,
-0.004674588795751333,
-0.01619037799537182,
-0.008977625519037247,
-0.030857393518090248,
0.014787769876420498,
0.013422315940260887,
-0.054618146270513535,
0.04941641539335251,
-0.006348894909024239,
-0.055472712963819504,
-0.030597306787967682,
-0.04729856923222542,
-0.023742172867059708,
-0.004133515991270542,
-0.005192439071834087,
-0.013348005712032318,
-0.0365421399474144,
0.04451192915439606,
-0.005619724281132221,
-0.033885542303323746,
-0.0031372923403978348,
0.03440571576356888,
-0.012753522954881191,
-0.020992688834667206,
-0.06773392856121063,
0.0019831587560474873,
-0.058147888630628586,
0.005039174109697342,
0.016756994649767876,
-0.021066999062895775,
-0.013385160826146603,
0.0009700990631245077,
0.015280076302587986,
-0.07765436917543411,
-0.09482007473707199,
-0.031191790476441383,
-0.01318080723285675,
0.0135244932025671,
0.007129154168069363,
-0.0005129159544594586,
-0.0059262546710669994,
0.04659262299537659,
-0.019803721457719803,
-0.008949758484959602,
0.020156696438789368,
-0.004133515991270542,
-0.05090262368321419,
-0.059745561331510544,
0.05580710992217064,
-0.003197669517248869,
-0.012094018049538136,
-0.03698800131678581,
-0.04369451478123665,
0.0010873702121898532,
-0.044549085199832916,
-0.04659262299537659,
-0.023259155452251434,
0.024448122829198837,
0.047595810145139694,
0.015595895238220692,
0.049602191895246506,
-0.016106778755784035,
0.01857759989798069,
-0.013617380522191525,
-0.04488348215818405,
0.0016626951983198524,
-0.026212994009256363,
0.02350066415965557,
0.04373167082667351,
0.009103024378418922,
-0.021141309291124344,
0.014843503013253212,
-0.03559468314051628,
-0.05866806209087372,
-0.08248454332351685,
0.003773574950173497,
-0.029668428003787994,
-0.009846128523349762,
-0.017973829060792923,
0.025339847430586815,
-0.0732700526714325,
0.00571725657209754,
-0.0071709537878632545,
0.016896327957510948,
-0.03864140808582306,
0.03544606268405914,
0.048227451741695404,
0.014453372918069363,
-0.01722143590450287,
0.004498101305216551,
0.027420537546277046,
0.023909371346235275,
-0.03711804375052452,
-0.08954403549432755,
0.003093170467764139,
-0.0007152376347221434,
0.05283469334244728,
-0.018280358985066414,
0.022683249786496162,
-0.024522433057427406,
-0.011936108581721783,
0.03555752709507942,
-0.07431039959192276,
0.0025753197260200977,
-0.05651305988430977,
-0.08084971457719803,
-0.014016799628734589,
0.03072735108435154,
0.024057991802692413,
-0.03579903393983841,
-0.03957028687000275,
-0.013338716700673103,
-0.023036224767565727,
-0.03513024374842644,
0.01879124343395233,
0.006757602095603943,
0.01596744731068611,
0.07743144035339355,
-0.02205161191523075,
0.05476676672697067,
0.03765679523348808,
-0.012168328277766705,
-0.011007227934896946,
0.029649849981069565,
0.06141754612326622,
-0.007277775090187788,
0.011425224132835865,
0.06966599822044373,
0.027439115568995476,
0.038158390671014786,
0.0038594964426010847,
0.06695367395877838,
-0.00417299335822463,
-0.019747989252209663,
-0.09370541572570801,
-0.002775029046460986,
0.05276038497686386,
-0.04072209820151329,
-0.031098902225494385,
0.02922256477177143,
0.027011830359697342,
-0.025544200092554092,
0.12647630274295807,
-0.013738135807216167,
-0.02218165434896946,
-0.05268607288599014,
-0.01750938780605793,
-0.04087071865797043,
-0.03576188161969185,
-0.047484345734119415,
0.004537578672170639,
-0.08367351442575455,
0.016320422291755676,
0.017750896513462067,
0.029575539752840996,
-0.039756063371896744,
0.012567746452987194,
0.03126610070466995,
-0.00027605151990428567,
-0.05911392346024513,
-0.022646095603704453,
0.04867331311106682,
0.027401959523558617,
0.02647308073937893,
0.010867896489799023,
0.06294091045856476,
0.02207018993794918,
0.055472712963819504,
-0.025525622069835663,
-0.01739792339503765,
0.006869067903608084,
-0.02153143845498562,
0.053169090300798416,
-0.03083881549537182,
-0.021754369139671326,
-0.04763296619057655,
-0.05339202284812927,
-0.04488348215818405,
0.00855498481541872,
-0.042579859495162964,
0.034480027854442596,
0.016682684421539307,
0.021642904728651047,
-0.03299381956458092,
-0.036802224814891815,
-0.007222041953355074,
-0.042505551129579544,
-0.03262226656079292,
0.03587334603071213,
0.05785064771771431,
-0.03171196207404137,
0.020212428644299507,
0.011982551775872707,
-0.023277733474969864,
0.02647308073937893,
-0.010282701812684536,
-0.052909005433321,
0.0049602193757891655,
0.05079115927219391,
-0.04573805257678032,
-0.016199667006731033,
0.044623397290706635,
-0.07245264202356339,
0.016794150695204735,
0.014453372918069363,
-0.01459270529448986,
0.019785143435001373,
-0.05662452429533005,
-0.018698355183005333,
0.053243402391672134,
0.060377199202775955,
-0.005145995412021875,
-0.07159806787967682,
-0.030355798080563545,
-0.0031721252016723156,
-0.037619639188051224,
-0.014471950940787792,
0.010449900291860104,
0.011230159550905228,
0.0363563634455204,
0.02853519469499588,
0.055249784141778946,
0.021178463473916054,
0.032547954469919205,
0.02062113583087921,
0.009864705614745617,
-0.051051244139671326,
-0.03639351949095726,
0.061194613575935364,
0.0006554409628733993,
-0.05090262368321419,
-0.002995637943968177,
0.06806832551956177,
0.0026751745026558638,
0.03000282496213913,
-0.014509106054902077,
0.0030351155437529087,
-0.01772303134202957,
-0.009873994626104832,
-0.026658857241272926,
0.010895762592554092,
0.04915633052587509,
0.04774443432688713,
0.014889946207404137,
-0.040982186794281006,
0.004725676961243153,
-0.01933928206562996,
0.024132302030920982,
-0.0035343884956091642,
-0.08612575381994247,
-0.0341084748506546,
-0.015623761340975761,
-0.06416703015565872,
0.06078590825200081,
-0.008299542590975761,
0.03128467872738838,
0.05495254322886467,
0.023816483095288277,
-0.03219497948884964,
0.04224546253681183,
0.006014497950673103,
-0.027439115568995476,
-0.035316016525030136,
-0.01789022982120514,
0.03161907568573952,
0.0007767759379930794,
-0.0023895439226180315,
-0.010802874341607094,
-0.06609909981489182,
0.026565968990325928,
-0.034702956676483154,
0.03412705287337303,
-0.044028911739587784,
-0.015865270048379898,
0.0056847454980015755,
-0.012075440026819706,
0.009873994626104832,
0.05554702505469322,
-0.033866964280605316,
0.028386572375893593,
0.0023372943978756666,
0.0656532421708107,
0.02725333906710148,
-0.003525099717080593,
0.010031904093921185,
0.049639347940683365,
0.041130807250738144,
-0.02643592469394207,
0.0009265578119084239,
0.04090787470340729,
-0.027290495112538338,
0.0033393236808478832,
0.04848753660917282,
-0.0024940427392721176,
0.06896005570888519,
0.001357325934804976,
0.01985945552587509,
0.0017648719949647784,
-0.007974434643983841,
-0.030281487852334976,
0.006831912323832512,
-0.05866806209087372,
0.0011297502787783742,
0.0397932194173336,
-0.0027192961424589157,
0.06007995828986168,
0.03923588991165161,
0.004616533871740103,
-0.023909371346235275,
0.0397932194173336,
-0.038864340633153915,
-0.0601542703807354,
-0.02130850777029991,
-0.004721032455563545,
-0.03364403545856476,
0.00892653688788414,
0.03436855971813202,
0.016812728717923164,
0.020844068378210068,
0.011620288714766502,
0.012326237745583057,
-0.014546261169016361,
0.021642904728651047
]
|
40,344 | pyglove.core.symbolic.base | sym_seal | Seals or unseals current object from further modification. | def sym_seal(self, is_seal: bool = True) -> 'Symbolic':
"""Seals or unseals current object from further modification."""
return self._set_raw_attr('_sealed', is_seal)
| (self, is_seal: bool = True) -> pyglove.core.symbolic.base.Symbolic | [
0.056612588465213776,
-0.04921787232160568,
0.07910629361867905,
0.05699092522263527,
0.0240414347499609,
-0.05705971270799637,
-0.0018648018594831228,
-0.03181448578834534,
0.02947569265961647,
0.03707677498459816,
-0.026586592197418213,
-0.02323317341506481,
-0.016724102199077606,
0.026431819424033165,
-0.08791116625070572,
-0.017257209867239,
-0.016276979818940163,
0.010051658377051353,
-0.006646648049354553,
0.005305280908942223,
0.00856841541826725,
0.044953010976314545,
0.01305253803730011,
-0.027584020048379898,
-0.010963100008666515,
0.03573540598154068,
0.038762081414461136,
0.04251103475689888,
0.031057817861437798,
-0.03308706730604172,
-0.0033964114263653755,
0.03955314680933952,
0.03931238874793053,
0.02472931519150734,
0.06479837000370026,
0.0009538971935398877,
-0.033276233822107315,
0.04921787232160568,
0.033362217247486115,
-0.016801489517092705,
-0.01404996495693922,
0.05296682193875313,
0.058022744953632355,
-0.00955294445157051,
-0.017437778413295746,
0.02605348452925682,
0.014875422231853008,
0.0616341196000576,
0.04598483070731163,
-0.05124711990356445,
0.04185754805803299,
-0.004344397224485874,
0.031161000952124596,
-0.006676743272691965,
0.008465233258903027,
-0.021083546802401543,
0.050490450114011765,
0.021100742742419243,
0.025829924270510674,
-0.0480140782892704,
0.01472924742847681,
-0.028409477323293686,
0.003252386348322034,
-0.06624291837215424,
-0.012063710018992424,
-0.0054557546973228455,
-0.06638050079345703,
0.033327825367450714,
0.01099749468266964,
0.05372349172830582,
-0.05031847953796387,
-0.05004332959651947,
-0.0619436651468277,
0.04949302226305008,
-0.03859011456370354,
-0.06359457969665527,
-0.02342234179377556,
-0.03934678062796593,
-0.04581286013126373,
-0.04725741222500801,
0.009037033654749393,
-0.058022744953632355,
-0.03207244351506233,
0.04251103475689888,
-0.03859011456370354,
0.02687894180417061,
0.05853865668177605,
-0.006999187171459198,
0.022940825670957565,
-0.00920900423079729,
0.0025021664332598448,
0.05086878687143326,
0.020997561514377594,
0.03889966011047363,
0.021771427243947983,
0.0344800241291523,
-0.008116993121802807,
-0.06772186607122421,
0.0687192901968956,
-0.02347393147647381,
0.006328503601253033,
0.01267420407384634,
0.00820727739483118,
-0.008538320660591125,
-0.011410222388803959,
0.02135869860649109,
0.02816871926188469,
-0.00007100488437572494,
0.03215842694044113,
-0.04398997873067856,
-0.017437778413295746,
0.0481860488653183,
-0.022906430065631866,
-0.005649221129715443,
-0.06094624102115631,
-0.0049097491428256035,
0.003607074962928891,
-0.02538280189037323,
0.009518550708889961,
0.021668246015906334,
-0.043508462607860565,
0.013473865576088428,
0.0017433479661121964,
0.0017154027009382844,
0.04378361254930496,
0.03690480440855026,
-0.008783377707004547,
0.004303554072976112,
0.05224454775452614,
0.03200365602970123,
-0.018091265112161636,
0.026569396257400513,
-0.022287337109446526,
0.07346566766500473,
-0.04605361819267273,
0.002497867215424776,
0.02139309234917164,
0.018125658854842186,
-0.04935544729232788,
0.026225455105304718,
0.005369769409298897,
0.02275165729224682,
-0.005236492492258549,
0.028357885777950287,
-0.029733648523688316,
0.056543800979852676,
-0.016233986243605614,
0.015950236469507217,
-0.018039673566818237,
0.008056803606450558,
0.05423939973115921,
-0.0037403518799692392,
-0.0043207514099776745,
0.08591631054878235,
-0.05011211708188057,
0.04244224727153778,
-0.04643195495009422,
0.03711117058992386,
-0.01791929453611374,
0.022442111745476723,
-0.02870182693004608,
0.026999320834875107,
0.0010603037662804127,
-0.04598483070731163,
-0.02806553617119789,
-0.03222721442580223,
0.007020683493465185,
-0.04319891333580017,
0.006771326530724764,
0.023147188127040863,
-0.027154095470905304,
-0.020825590938329697,
-0.06407609581947327,
0.04371482506394386,
0.013792010024189949,
0.0618060901761055,
0.03955314680933952,
0.010541773401200771,
-0.0008082599379122257,
-0.03797101974487305,
0.03310426324605942,
-0.058022744953632355,
-0.0958905816078186,
0.04206391051411629,
0.0344628281891346,
0.009054231457412243,
-0.03611374273896217,
0.0011672477703541517,
0.044161949306726456,
-0.022906430065631866,
-0.004239065572619438,
0.059295326471328735,
0.018108462914824486,
-0.027635611593723297,
-0.043508462607860565,
-0.03546025604009628,
-0.04061936214566231,
-0.009251996874809265,
-0.09492754936218262,
0.040103450417518616,
-0.001706804265268147,
0.011143668554723263,
-0.04041299596428871,
-0.004365893546491861,
0.03277752175927162,
0.00582978967577219,
-0.03838374838232994,
-0.05705971270799637,
-0.0011973425280302763,
0.01066215243190527,
-0.0023559918627142906,
0.016337169334292412,
0.007871936075389385,
0.024454163387417793,
0.029785238206386566,
-0.046982258558273315,
0.033293429762125015,
0.02194339781999588,
0.0154085299000144,
0.04474664479494095,
-0.0062167225405573845,
-0.024488557130098343,
-0.006612254306674004,
0.015227961353957653,
-0.036629654467105865,
-0.02469492144882679,
0.005730906967073679,
0.0023516924120485783,
-0.018194446340203285,
-0.008976844139397144,
-0.013654434122145176,
-0.017437778413295746,
-0.0076526738703250885,
-0.029871223494410515,
-0.011436018161475658,
0.014548678882420063,
0.003959613852202892,
0.02947569265961647,
-0.0618748776614666,
0.05812592804431915,
0.029011372476816177,
0.004337948281317949,
0.018005279824137688,
0.030645089223980904,
-0.055993497371673584,
0.06665565073490143,
0.060739874839782715,
0.028495462611317635,
-0.032502368092536926,
-0.009062829427421093,
0.053895462304353714,
-0.07442869991064072,
-0.004157379735261202,
0.019793769344687462,
0.04261421412229538,
-0.025795530527830124,
-0.03590737655758858,
0.008822071366012096,
-0.0026332936249673367,
-0.00004258949411450885,
-0.0036543668247759342,
0.001547731808386743,
-0.027085306122899055,
0.029785238206386566,
0.029957208782434464,
-0.004591604229062796,
0.014643262140452862,
0.0013639386743307114,
0.017712930217385292,
-0.018813539296388626,
0.025709545239806175,
-0.04729180410504341,
-0.02268286980688572,
0.016268381848931313,
-0.012828976847231388,
0.016844481229782104,
0.016724102199077606,
0.041479211300611496,
-0.021668246015906334,
0.010163438506424427,
0.06307867169380188,
0.04395558312535286,
0.03656086325645447,
0.02204657904803753,
-0.02483249641954899,
0.008026708848774433,
-0.02873622067272663,
-0.014135950244963169,
0.0019378891447559,
-0.03339661285281181,
0.03503033146262169,
0.07380960881710052,
0.048426806926727295,
0.01645754836499691,
0.14025889337062836,
0.01236465759575367,
-0.010275219567120075,
-0.06644928455352783,
0.02137589640915394,
0.003970361780375242,
0.03382653743028641,
-0.013224508613348007,
0.00531387934461236,
0.01441110298037529,
0.03348259627819061,
-0.06111820787191391,
0.03176289424300194,
0.013800608925521374,
0.004574407357722521,
0.08110114932060242,
0.011332836002111435,
0.05537440627813339,
-0.020154908299446106,
0.0478421114385128,
-0.026328638195991516,
-0.07346566766500473,
0.01786770299077034,
-0.04877074807882309,
0.003099762834608555,
0.07773052901029587,
-0.02331915870308876,
-0.05747244134545326,
-0.057231683284044266,
-0.055340010672807693,
-0.00703788036480546,
-0.027670005336403847,
-0.011908936314284801,
-0.005885680206120014,
0.0006937923026271164,
0.01583845540881157,
-0.04474664479494095,
-0.006023256108164787,
0.02543439343571663,
-0.021616654470562935,
-0.07834962010383606,
0.02190900407731533,
0.011676776222884655,
-0.046363167464733124,
-0.022768855094909668,
-0.05282924696803093,
0.01790209859609604,
-0.015150574967265129,
0.0026268449146300554,
-0.034669190645217896,
-0.0888054147362709,
-0.0009861416183412075,
-0.0309202428907156,
0.01031821221113205,
0.03212403506040573,
0.05857304856181145,
-0.05833229050040245,
0.04684468358755112,
-0.020137710496783257,
0.022906430065631866,
-0.023663099855184555,
-0.007523696403950453,
-0.03907163068652153,
0.030576301738619804,
-0.037386320531368256,
-0.07050777971744537,
0.03023236058652401,
0.004294955637305975,
-0.03986269235610962,
-0.0029041466768831015,
-0.02067081816494465,
-0.002411882160231471,
-0.02959607169032097,
-0.03776465728878975,
0.053929854184389114,
-0.031281378120183945,
-0.007725761272013187,
-0.04598483070731163,
-0.03824617341160774,
0.0008937076199799776,
0.025795530527830124,
0.06469518691301346,
-0.04268300533294678,
0.006010358687490225,
0.04051617905497551,
0.007755856029689312,
0.04333649203181267,
-0.01507318764925003,
0.030352739617228508,
0.0411008782684803,
0.05434258282184601,
0.017558157444000244,
-0.00669394014403224,
-0.042235881090164185,
0.06497034430503845,
0.029819631949067116,
-0.003207244211807847,
-0.028994176536798477,
0.048254840075969696,
-0.004432532005012035,
0.021719835698604584,
0.012966552749276161,
-0.005184901412576437,
-0.0060834456235170364,
0.011504806578159332,
0.03210683539509773,
0.025107650086283684,
0.05262288078665733,
0.03078266605734825,
-0.05977684259414673,
-0.03776465728878975,
-0.006264014635235071,
0.05544319376349449,
0.00954434648156166,
-0.02818591520190239,
-0.017558157444000244,
0.02954448014497757,
-0.0023667397908866405,
-0.0752541571855545,
-0.05747244134545326,
0.06053351238369942,
-0.03360297903418541,
0.0887366235256195,
0.014230534434318542,
0.053173184394836426,
-0.0103268101811409,
0.04550331458449364,
0.02873622067272663,
-0.013121326453983784,
0.005429958924651146,
-0.040894512087106705,
-0.011238252744078636,
-0.029716450721025467,
0.011779958382248878,
-0.01305253803730011,
0.020791197195649147,
0.011092077940702438,
-0.016190994530916214,
0.06920080631971359,
0.020361272618174553,
-0.035357072949409485,
-0.04546892270445824,
-0.0037596984766423702,
-0.03552904352545738,
-0.055993497371673584,
0.006861610803753138,
0.04608801379799843,
-0.004208970814943314,
-0.06957914680242538,
0.04409315809607506,
0.03245077654719353,
-0.0007163633708842099,
0.035357072949409485,
0.09389572590589523,
0.03210683539509773,
0.004974238108843565,
0.02139309234917164,
-0.012467839755117893,
-0.012287271209061146,
0.01131563913077116,
-0.06459200382232666,
0.010120445862412453,
0.07669871300458908,
-0.05086878687143326,
-0.02326756902039051,
0.009071428328752518,
-0.029613269492983818,
-0.021513471379876137,
-0.0033813640475273132,
0.037386320531368256,
0.014660459943115711,
-0.0480828694999218,
-0.02945849485695362,
0.009114420972764492,
0.0019217670196667314,
-0.025056058540940285,
-0.013611441478133202,
-0.03773026168346405,
0.0342392660677433,
-0.025159239768981934,
0.0010328959906473756,
-0.02681015431880951,
-0.0009791553020477295,
-0.05633743852376938,
-0.10139363259077072,
-0.042132697999477386,
-0.04856438562273979,
-0.004557210486382246,
-0.05606228485703468,
-0.022184155881404877,
0.029802436009049416,
-0.05967365950345993,
0.018916722387075424,
-0.015640689060091972,
0.0275324285030365,
0.02185741253197193,
-0.00477217324078083,
0.04880514368414879,
-0.0022399118170142174,
0.04227027669548988,
0.02256249077618122,
0.021496275439858437,
-0.02598469704389572,
-0.03635450080037117,
0.010920107364654541,
-0.025038860738277435,
-0.02469492144882679,
-0.025898711755871773,
-0.03566661849617958,
0.003632870502769947,
0.014935611747205257,
0.005322477780282497,
-0.05417061224579811,
-0.0689944475889206,
0.003572680987417698,
-0.0032631345093250275,
0.04736059159040451,
0.00786763709038496,
0.01656072959303856,
0.0015746020944789052,
0.023491129279136658,
-0.00856841541826725,
0.030610695481300354,
-0.005739505402743816,
0.034273661673069,
-0.05616546794772148,
0.013465266674757004,
-0.04326770082116127,
-0.05396424978971481,
-0.03910602256655693,
-0.004333648830652237,
-0.038658902049064636,
-0.007755856029689312,
-0.02942410111427307,
0.022252943366765976,
0.00023511551262345165,
0.010963100008666515,
-0.018349220976233482,
-0.05761001631617546,
0.023456735536456108,
-0.017644142732024193,
0.03570101410150528,
-0.018916722387075424,
0.03546025604009628,
-0.02067081816494465,
-0.06806580722332001,
-0.02204657904803753,
0.01576966792345047,
-0.027945157140493393,
0.046913471072912216,
0.03590737655758858,
0.013981177471578121,
-0.047119833528995514,
-0.04601922631263733,
0.0004283132730051875,
-0.016767093911767006,
-0.07945023477077484,
0.01795368827879429,
0.025589166209101677,
-0.03828056529164314,
0.08371509611606598,
-0.021668246015906334,
0.06933838129043579,
0.040103450417518616,
-0.0341532826423645,
0.05059363320469856,
-0.019742179661989212,
0.0026870344299823046,
0.0755293145775795,
-0.07718022912740707,
0.03972511738538742,
-0.016062017530202866,
0.04601922631263733,
-0.002343093976378441,
0.07346566766500473,
0.0031728502362966537,
0.0077515565790236,
-0.030473120510578156,
0.033224642276763916,
0.018830737099051476,
0.03203804790973663,
0.042132697999477386,
-0.04233906418085098,
0.062115635722875595,
-0.03525388985872269,
-0.0028848000802099705,
0.007192653603851795,
-0.02116953209042549,
-0.052416518330574036,
-0.03475517779588699,
-0.006208124104887247,
0.02749803476035595,
-0.03503033146262169,
0.05406743288040161,
-0.05888259783387184,
0.051143936812877655,
-0.036664046347141266,
-0.029097357764840126,
-0.021152334287762642,
-0.018985509872436523,
-0.016156600788235664,
-0.02469492144882679,
0.05011211708188057,
-0.001015699002891779,
0.02596750110387802,
0.02956167794764042,
-0.03019796684384346,
-0.009466959163546562,
-0.022854840382933617,
0.003953164909034967,
0.025073254480957985,
0.07284657657146454,
0.03482396528124809,
0.010404197499155998,
-0.006848713383078575,
-0.021823018789291382,
-0.038108594715595245,
0.038762081414461136,
-0.027962354943156242,
-0.05210696905851364,
0.016156600788235664,
0.022854840382933617,
0.0029385408852249384,
-0.003340521128848195,
-0.05014650896191597,
-0.006848713383078575,
-0.027205685153603554,
0.007906329818069935,
-0.020945969969034195,
-0.04030981659889221,
-0.027824778109788895,
0.014565875753760338,
0.018968313932418823,
0.051797423511743546,
0.010885713621973991,
-0.05227893963456154,
-0.02201218530535698,
0.03026675619184971,
0.001255382434464991,
-0.004484123084694147,
0.08818631619215012,
0.04605361819267273,
-0.002603198867291212,
0.04646634683012962,
0.04598483070731163,
0.05544319376349449,
-0.0026139470282942057,
-0.0275152325630188,
0.006577860098332167,
0.011178063228726387,
-0.07188354432582855,
-0.004112237598747015,
0.004196072928607464,
0.0022850539535284042,
-0.0344972237944603,
-0.02529681660234928,
-0.07195233553647995,
0.016285577788949013,
-0.0034952943678945303,
-0.07078293710947037,
0.040034662932157516,
-0.04670710489153862,
0.02204657904803753,
-0.02878781221807003,
0.024127420037984848,
-0.021823018789291382,
-0.03855571895837784,
-0.029785238206386566,
-0.040103450417518616,
0.04653513804078102,
0.053138792514801025,
0.004419634118676186,
-0.049045901745557785,
0.012811779975891113,
0.06049911677837372,
-0.022992415353655815,
-0.01857278123497963,
-0.001282252836972475,
-0.04732619971036911,
-0.007871936075389385,
-0.003905873280018568,
0.009045632556080818,
-0.004742078483104706,
-0.0028848000802099705,
0.0687536895275116,
-0.00395531440153718,
-0.05884820222854614,
-0.0026440417859703302,
0.02882220596075058,
-0.04550331458449364,
-0.011539200320839882,
0.0018755500204861164,
0.0019206921570003033,
0.016887472942471504,
-0.01574387215077877,
-0.10421393811702728,
-0.03773026168346405,
-0.08364630490541458,
0.022390520200133324,
-0.02460893616080284,
0.01336208451539278,
-0.012949355877935886,
-0.012846173718571663,
0.031883276998996735,
0.0003501205937936902,
0.005464353132992983,
0.046363167464733124,
0.05764441192150116,
0.07105808705091476,
-0.025623559951782227,
0.005434258375316858,
0.029836829751729965,
0.01438530720770359,
-0.041479211300611496,
0.01444549672305584,
-0.014153147116303444,
0.004318601451814175,
0.05908896028995514,
0.003159952349960804,
-0.028323492035269737,
0.046259984374046326,
-0.007558090146631002,
-0.028254704549908638,
-0.033207446336746216,
-0.040137846022844315,
-0.007123865652829409,
-0.021496275439858437,
-0.015993228182196617,
-0.0011876692296937108,
-0.03790223225951195,
-0.03962193429470062,
-0.02945849485695362,
-0.011410222388803959,
0.05719728767871857,
0.04956181347370148,
0.012141096405684948,
0.009183208458125591,
0.02744644321501255,
-0.06785944104194641,
0.02672416903078556,
-0.02113513834774494,
-0.016311373561620712,
-0.029166145250201225,
0.08481570333242416,
0.002835358725860715,
0.04457467421889305,
0.02189180627465248,
0.03016357310116291,
-0.0240414347499609,
-0.02328476496040821,
-0.010765334591269493,
0.018813539296388626,
-0.10614001005887985,
0.016870277002453804,
0.010163438506424427,
0.02395544946193695,
0.0009087550570257008,
0.058745019137859344,
0.03155653178691864,
-0.014368110336363316,
0.05004332959651947,
0.022442111745476723,
-0.017368990927934647,
0.033413808792829514,
0.01230446808040142,
-0.00823307316750288,
0.007201252039521933,
0.0007297985139302909,
0.018744751811027527,
0.025898711755871773,
0.00393381854519248,
-0.010240825824439526,
-0.08020690083503723,
0.005167704541236162
]
|
40,345 | pyglove.core.symbolic.base | sym_setorigin | Sets the symbolic origin of current object.
Args:
source: Source value for current object.
tag: A descriptive tag of the origin. Built-in tags are:
`__init__`, `clone`, `deepclone`, `return`. Users can manually
call `sym_setorigin` with custom tag value.
stacktrace: If True, enable stack trace for the origin. If None, enable
stack trace if `pg.tracek_origin()` is called. Otherwise stack trace is
disabled.
stacklimit: An optional integer to limit the stack depth. If None, it's
determined by the value passed to `pg.set_origin_stacktrace_limit`,
which is 10 by default.
stacktop: A negative or zero-value integer indicating the stack top among
the stack frames that we want to present to user, by default it's
1-level up from the stack within current `sym_setorigin` call.
Example::
def foo():
return bar()
def bar():
s = MyObject()
t = s.build()
t.sym_setorigin(s, 'builder',
stacktrace=True, stacklimit=5, stacktop=-1)
This example sets the origin of `t` using `s` as its source with tag
'builder'. We also record the callstack where the `sym_setorigin` is
called, so users can call `t.sym_origin.stacktrace` to get the call stack
later. The `stacktop` -1 indicates that we do not need the stack frame
within ``sym_setorigin``, so users will see the stack top within the
function `bar`. We also set the max number of stack frames to display to 5,
not including the stack frame inside ``sym_setorigin``.
| def sym_setorigin(
self,
source: Any,
tag: str,
stacktrace: Optional[bool] = None,
stacklimit: Optional[int] = None,
stacktop: int = -1):
"""Sets the symbolic origin of current object.
Args:
source: Source value for current object.
tag: A descriptive tag of the origin. Built-in tags are:
`__init__`, `clone`, `deepclone`, `return`. Users can manually
call `sym_setorigin` with custom tag value.
stacktrace: If True, enable stack trace for the origin. If None, enable
stack trace if `pg.tracek_origin()` is called. Otherwise stack trace is
disabled.
stacklimit: An optional integer to limit the stack depth. If None, it's
determined by the value passed to `pg.set_origin_stacktrace_limit`,
which is 10 by default.
stacktop: A negative or zero-value integer indicating the stack top among
the stack frames that we want to present to user, by default it's
1-level up from the stack within current `sym_setorigin` call.
Example::
def foo():
return bar()
def bar():
s = MyObject()
t = s.build()
t.sym_setorigin(s, 'builder',
stacktrace=True, stacklimit=5, stacktop=-1)
This example sets the origin of `t` using `s` as its source with tag
'builder'. We also record the callstack where the `sym_setorigin` is
called, so users can call `t.sym_origin.stacktrace` to get the call stack
later. The `stacktop` -1 indicates that we do not need the stack frame
within ``sym_setorigin``, so users will see the stack top within the
function `bar`. We also set the max number of stack frames to display to 5,
not including the stack frame inside ``sym_setorigin``.
"""
if self.sym_origin is not None:
current_source = self.sym_origin.source
if current_source is not None and current_source is not source:
raise ValueError(
f'Cannot set the origin with a different source value. '
f'Origin source: {current_source!r}, New source: {source!r}.')
# NOTE(daiyip): We decrement the stacktop by 1 as the physical stack top
# is within Origin.
self._set_raw_attr(
'_sym_origin',
Origin(source, tag, stacktrace, stacklimit, stacktop - 1))
| (self, source: Any, tag: str, stacktrace: Optional[bool] = None, stacklimit: Optional[int] = None, stacktop: int = -1) | [
0.006147817708551884,
-0.022019037976861,
0.01760428585112095,
0.03661326318979263,
-0.026762161403894424,
-0.02969924919307232,
-0.029972892254590988,
0.03973278030753136,
0.01317128911614418,
-0.023971015587449074,
-0.010434871539473534,
-0.022803477942943573,
0.027747271582484245,
0.005221996456384659,
-0.07034417241811752,
0.0352632999420166,
0.039112526923418045,
-0.006074846722185612,
0.013554387725889683,
-0.002132125198841095,
-0.00432125898078084,
-0.018580274656414986,
0.03267282247543335,
-0.019902875646948814,
-0.006626690737903118,
0.053195953369140625,
-0.044621847569942474,
0.03562815487384796,
-0.032982949167490005,
-0.028732381761074066,
0.029535064473748207,
-0.045424528419971466,
-0.0180877186357975,
0.0016429906245321035,
0.07983041554689407,
-0.0588512159883976,
-0.008004020899534225,
0.0016350094228982925,
0.027017561718821526,
-0.07432109862565994,
-0.011264918372035027,
-0.013654722832143307,
-0.0014183763414621353,
-0.03969629481434822,
0.07472243905067444,
0.04068140313029289,
0.0092855766415596,
-0.002110461937263608,
0.050204139202833176,
-0.048854172229766846,
0.03743419051170349,
0.02074204385280609,
-0.016318168491125107,
-0.06702398508787155,
0.021362299099564552,
0.019610991701483727,
0.0185711532831192,
0.06815503537654877,
0.01267873402684927,
-0.03104921616613865,
0.030483689159154892,
0.045898839831352234,
-0.01587122119963169,
-0.018881279975175858,
-0.0059927538968622684,
-0.005094297230243683,
-0.0059061008505523205,
-0.021271083503961563,
-0.02373385988175869,
-0.025412196293473244,
-0.029918164014816284,
-0.014110792428255081,
-0.03309240564703941,
-0.006193424575030804,
-0.017230307683348656,
-0.04024357721209526,
-0.050568994134664536,
0.0028367526829242706,
-0.06038361042737961,
-0.07669265568256378,
-0.0035573425702750683,
0.01380066480487585,
0.018005626276135445,
-0.0016783359460532665,
-0.012797311879694462,
0.012988860718905926,
0.026689190417528152,
0.036777447909116745,
0.018343117088079453,
-0.010881819762289524,
-0.0035892673768103123,
-0.00611589290201664,
-0.03856524080038071,
-0.004984840285032988,
-0.014338826760649681,
0.003646276192739606,
0.04126517474651337,
-0.07771425694227219,
0.021362299099564552,
0.004348623100668192,
0.008948084898293018,
-0.02302239090204239,
-0.07059957087039948,
0.01810596138238907,
-0.011730109341442585,
0.04881768673658371,
0.013882757164537907,
0.01792353391647339,
-0.0017866524867713451,
-0.043344851583242416,
-0.029845193028450012,
0.0015962434699758887,
0.01497732475399971,
-0.04374619200825691,
0.006065725348889828,
-0.01573440060019493,
0.0013328633503988385,
0.03998817875981331,
-0.005408985074609518,
-0.027455387637019157,
-0.00997880194336176,
0.023752102628350258,
0.0035185767337679863,
0.006416898686438799,
-0.002672567730769515,
0.01966571994125843,
0.07337246835231781,
0.01893600821495056,
-0.021891338750720024,
-0.0422137975692749,
-0.019264377653598785,
-0.04969333857297897,
-0.03221675381064415,
0.08705455809831619,
0.050496023148298264,
0.03296470642089844,
-0.03311064839363098,
-0.013107439503073692,
-0.08136280626058578,
0.048598773777484894,
0.02174539677798748,
0.032709307968616486,
-0.0001693158264970407,
-0.01790529116988182,
-0.058340419083833694,
0.05965390056371689,
0.010672028176486492,
0.004720319993793964,
0.020796772092580795,
0.010799727402627468,
-0.02780199982225895,
-0.022985905408859253,
0.003258617129176855,
0.07501432299613953,
-0.015077659860253334,
0.025229768827557564,
-0.008875113911926746,
0.054545920342206955,
0.034241702407598495,
0.0750872939825058,
-0.023314276710152626,
-0.014721925370395184,
-0.03783553093671799,
-0.09004637598991394,
-0.04557047039270401,
-0.016865452751517296,
0.001240509212948382,
0.01769549958407879,
-0.04987576603889465,
0.007994899526238441,
-0.03592003881931305,
-0.06187951937317848,
0.04115571826696396,
0.05180950090289116,
0.03852875530719757,
0.020322458818554878,
-0.03041071817278862,
0.02245686575770378,
-0.04476778954267502,
0.0017193822422996163,
0.032344453036785126,
-0.019428564235568047,
-0.013955728150904179,
0.0071557313203811646,
-0.002121863653883338,
0.012706098146736622,
-0.02094271406531334,
-0.006991546601057053,
0.020869743078947067,
0.04232325404882431,
0.028933053836226463,
0.0015038893325254321,
0.010599056258797646,
-0.030465446412563324,
0.016245197504758835,
-0.00988758821040392,
0.013691208325326443,
-0.024937883019447327,
-0.0023054315242916346,
0.04889065772294998,
0.03951386734843254,
0.03458831459283829,
0.06089440733194351,
-0.034788984805345535,
0.09289225190877914,
0.05618777126073837,
0.013417566195130348,
-0.008432726375758648,
-0.014867867343127728,
0.02473721280694008,
0.019538020715117455,
-0.042469196021556854,
0.006284638773649931,
-0.007538829930126667,
-0.004268811084330082,
0.03933143988251686,
-0.03575585409998894,
0.020687315613031387,
0.040644917637109756,
0.01637289673089981,
0.10376494377851486,
-0.03539099916815758,
-0.07322652637958527,
-0.01326250284910202,
0.02679864689707756,
0.00418443838134408,
0.0019941641949117184,
-0.054290521889925,
0.0352085717022419,
-0.044877246022224426,
-0.01600804179906845,
-0.07910070568323135,
-0.03635786473751068,
-0.03327483683824539,
0.04392861947417259,
0.023624403402209282,
0.09340304881334305,
0.05403512343764305,
-0.024335872381925583,
-0.003710125805810094,
-0.050313595682382584,
0.042177312076091766,
0.03592003881931305,
0.023569675162434578,
-0.023496704176068306,
0.0003471829404588789,
-0.015323936939239502,
0.03716054931282997,
-0.047139350324869156,
-0.03394981846213341,
0.02679864689707756,
0.038309842348098755,
-0.017713742330670357,
-0.005171828903257847,
0.002761501120403409,
-0.0009856803808361292,
0.042979996651411057,
-0.0022883289493620396,
0.011328767985105515,
-0.004528770688921213,
-0.0320160835981369,
-0.09800022840499878,
0.011757473461329937,
-0.039659809321165085,
0.0282580703496933,
0.024846669286489487,
-0.03123164363205433,
-0.033147137612104416,
-0.047248806804418564,
0.015989799052476883,
0.0528675839304924,
-0.008738292381167412,
-0.023788588121533394,
0.0982191413640976,
0.009162437170743942,
-0.031341101974248886,
-0.07402921468019485,
0.013143924996256828,
-0.006986985914409161,
-0.0764007717370987,
0.029662763699889183,
-0.013043589890003204,
0.033439021557569504,
-0.010881819762289524,
-0.0015734400367364287,
-0.004223204217851162,
0.01028892956674099,
-0.018215417861938477,
-0.003279140219092369,
-0.011064247228205204,
0.050751421600580215,
0.07829802483320236,
0.007566194050014019,
-0.013371959328651428,
0.062499772757291794,
0.024299386888742447,
-0.03736121952533722,
0.03816390037536621,
-0.0011133798398077488,
0.036047738045454025,
0.010726756416261196,
0.010863577015697956,
-0.016354653984308243,
0.0663672462105751,
0.061660606414079666,
-0.00209221919067204,
0.03633962199091911,
-0.02833104133605957,
0.0029644521418958902,
0.03177892789244652,
0.04024357721209526,
0.10077313333749771,
-0.06753478199243546,
-0.032070811837911606,
0.039659809321165085,
0.019355591386556625,
-0.0201400313526392,
-0.06567401438951492,
0.002777463523671031,
0.03104921616613865,
0.029206695035099983,
-0.060602523386478424,
-0.04250568151473999,
-0.06454296410083771,
0.022073766216635704,
-0.006768072489649057,
-0.04257865250110626,
0.013517902232706547,
0.006156939081847668,
-0.026835132390260696,
-0.02183661051094532,
0.016610054299235344,
0.03995169326663017,
0.032453909516334534,
0.04648261144757271,
0.006731586530804634,
-0.03420521691441536,
0.01002440880984068,
-0.045533984899520874,
-0.024518299847841263,
0.033147137612104416,
-0.03221675381064415,
-0.019538020715117455,
-0.029845193028450012,
0.02752835862338543,
-0.016217833384871483,
0.04783257469534874,
-0.03980575129389763,
0.05268515646457672,
0.05534860119223595,
-0.052831098437309265,
0.04330836609005928,
0.04491373151540756,
-0.03584706783294678,
0.00803594570606947,
0.017038758844137192,
-0.03991520777344704,
0.015141509473323822,
0.019738690927624702,
-0.0713292807340622,
0.0034501662012189627,
-0.023934530094265938,
-0.002428570529446006,
-0.03723352029919624,
-0.020450159907341003,
0.012523669749498367,
-0.07297112792730331,
0.007050835527479649,
-0.013153046369552612,
0.0058194478042423725,
0.026470277458429337,
-0.08012229949235916,
-0.03363969177007675,
0.007324477192014456,
-0.01582561433315277,
0.04856228828430176,
-0.0025767930783331394,
-0.04801500216126442,
-0.043454308062791824,
-0.05772016569972038,
0.08924369513988495,
0.02752835862338543,
0.019884632900357246,
0.024427086114883423,
0.010799727402627468,
0.03228972479701042,
0.04969333857297897,
0.0271452609449625,
0.013253381475806236,
0.01787792704999447,
0.0038287038914859295,
-0.02083325758576393,
0.08917072415351868,
0.016655661165714264,
0.01506853848695755,
-0.050933849066495895,
-0.0034022789914160967,
0.03363969177007675,
-0.005263042636215687,
-0.0008961766725406051,
0.026123665273189545,
0.03581058233976364,
0.04429347440600395,
0.0058057657442986965,
0.04432995989918709,
-0.025922993198037148,
0.007821593433618546,
-0.006225349381566048,
-0.008578668348491192,
0.0426151417195797,
-0.02645203471183777,
-0.05972687155008316,
-0.0007513745804317296,
-0.033530235290527344,
0.004391950089484453,
0.010863577015697956,
0.0319613553583622,
-0.021909581497311592,
0.04465833306312561,
0.010206837207078934,
0.012897646985948086,
-0.016865452751517296,
-0.0257223229855299,
0.013153046369552612,
-0.034332916140556335,
0.011565923690795898,
0.036047738045454025,
-0.04049897566437721,
-0.002108181593939662,
0.05005819350481033,
-0.013882757164537907,
0.017841441556811333,
0.07329949736595154,
0.061222776770591736,
-0.006831922102719545,
-0.06384973973035812,
-0.0022290400229394436,
-0.00304654473438859,
-0.025466924533247948,
0.028549954295158386,
0.03327483683824539,
-0.058887701481580734,
-0.014813139103353024,
-0.014521255157887936,
-0.05808502063155174,
0.018644124269485474,
0.01776847057044506,
0.06082143634557724,
-0.03427818790078163,
0.03747067600488663,
-0.0023213941603899,
-0.010188594460487366,
-0.006982425227761269,
0.00011537134560057893,
-0.03123164363205433,
-0.02245686575770378,
0.003851507557556033,
-0.006526355631649494,
-0.04702989384531975,
0.015095902606844902,
-0.03394981846213341,
-0.03382211923599243,
0.03562815487384796,
-0.0012986580841243267,
-0.031523529440164566,
0.0932571068406105,
0.028622925281524658,
-0.035500455647706985,
-0.044804275035858154,
-0.03690515086054802,
0.022183222696185112,
-0.04349079355597496,
-0.04863525927066803,
0.012177057564258575,
0.02588650770485401,
0.0035185767337679863,
-0.030976245179772377,
0.02570408023893833,
-0.06286463141441345,
-0.018388723954558372,
-0.022055523470044136,
-0.07552511990070343,
0.05958092585206032,
0.003878871677443385,
0.010726756416261196,
-0.014274977147579193,
0.0472852922976017,
-0.022219708189368248,
0.03221675381064415,
0.06837394833564758,
0.0005059521645307541,
0.040571946650743484,
-0.03823687136173248,
-0.01866236701607704,
-0.021325813606381416,
0.03373090550303459,
-0.007616361603140831,
0.004464921075850725,
-0.029261423274874687,
-0.041739486157894135,
-0.03347550705075264,
-0.05122573301196098,
-0.041374631226062775,
-0.015497243963181973,
0.058887701481580734,
-0.012405091896653175,
-0.033439021557569504,
-0.0019861829932779074,
-0.042104341089725494,
-0.045898839831352234,
0.02698107622563839,
0.008865992538630962,
-0.01570703648030758,
0.003963244613260031,
0.008920720778405666,
0.013481415808200836,
-0.012788190506398678,
0.06388622522354126,
-0.005231117829680443,
-0.06151466444134712,
0.003899394767358899,
-0.0680820643901825,
0.050933849066495895,
0.018489060923457146,
0.03672271966934204,
-0.059434983879327774,
0.04447590559720993,
0.005249360576272011,
-0.0007183095440268517,
0.01609925553202629,
0.040389519184827805,
0.044621847569942474,
-0.057355307042598724,
0.010644663125276566,
0.04983928054571152,
0.08114389330148697,
0.013189531862735748,
-0.007392887491732836,
0.010973033495247364,
-0.05078790709376335,
-0.032891735434532166,
0.0016053648432716727,
-0.03311064839363098,
0.07632780075073242,
0.006918575149029493,
-0.047321777790784836,
-0.06538213044404984,
-0.010672028176486492,
0.010407507419586182,
-0.0828952044248581,
-0.01593507081270218,
0.0007046274840831757,
0.07278870046138763,
0.050386566668748856,
-0.04710286483168602,
-0.026743918657302856,
0.0631200298666954,
0.08581405133008957,
-0.008601471781730652,
0.03973278030753136,
-0.019829904660582542,
0.042177312076091766,
0.07880882173776627,
-0.045789383351802826,
0.02245686575770378,
0.026050694286823273,
-0.04735826328396797,
-0.03453358635306358,
0.022949419915676117,
-0.005477395374327898,
-0.007976656779646873,
-0.028768867254257202,
0.058340419083833694,
0.07501432299613953,
0.023788588121533394,
0.018507303670048714,
0.012760826386511326,
0.08450056612491608,
-0.02743714489042759,
-0.01884479448199272,
0.02535746805369854,
0.002679408760741353,
0.004216363187879324,
-0.032545123249292374,
-0.025466924533247948,
0.004702077247202396,
-0.04673800989985466,
0.03719703480601311,
-0.030830303207039833,
-0.019702205434441566,
-0.004280212800949812,
0.008441847749054432,
-0.058887701481580734,
-0.009084905497729778,
0.007903685793280602,
0.00076448661275208,
-0.03951386734843254,
-0.03681393340229988,
0.06720641255378723,
0.018881279975175858,
-0.04702989384531975,
-0.013207774609327316,
0.013207774609327316,
0.005258481949567795,
-0.026415549218654633,
-0.036777447909116745,
0.006421459373086691,
-0.00534513546153903,
0.027729028835892677,
-0.03301943466067314,
0.04035303369164467,
0.019081950187683105,
-0.021088656038045883,
-0.014384433627128601,
-0.04925551265478134,
-0.028093885630369186,
0.02256632223725319,
0.041192203760147095,
0.0035276981070637703,
-0.0059289042837917805,
0.0071192458271980286,
-0.04739474877715111,
-0.01731240004301071,
-0.05100682005286217,
-0.012012871913611889,
0.062499772757291794,
0.026032451540231705,
0.05487428978085518,
-0.01764989271759987,
-0.02679864689707756,
0.01412903517484665,
0.004512808285653591,
0.03995169326663017,
-0.012687855400145054,
-0.005313210189342499,
-0.02138054184615612,
-0.010571692138910294,
0.02924318052828312,
-0.03146880120038986,
0.03958683833479881,
-0.0017353446455672383,
-0.011027761735022068,
0.00803594570606947,
0.046701524406671524,
-0.04046249017119408,
0.010881819762289524,
0.00792192853987217,
-0.046154238283634186,
-0.008961766958236694,
0.0037420508451759815,
0.012432456016540527,
-0.013016225770115852,
-0.04104626178741455,
0.011438224464654922,
0.060602523386478424,
0.051481131464242935,
-0.028714139014482498,
-0.016591811552643776,
0.05965390056371689,
-0.009212604723870754,
0.031359344720840454,
-0.04527858644723892,
0.035245057195425034,
0.012842918746173382,
0.005586852319538593,
0.044366445392370224,
-0.01939207687973976,
0.006512673571705818,
0.04520561546087265,
0.0025676717050373554,
0.01370945107191801,
-0.052831098437309265,
-0.053013525903224945,
-0.04265162721276283,
-0.003053385764360428,
-0.03508087247610092,
0.032727550715208054,
-0.014147277921438217,
0.0019040904007852077,
-0.04166651517152786,
-0.03382211923599243,
0.006831922102719545,
0.02816685661673546,
-0.03903955593705177,
-0.023223062977194786,
0.018306631594896317,
0.031705956906080246,
0.009641310200095177,
0.029991135001182556,
-0.016619175672531128,
0.00007361247844528407,
-0.04925551265478134,
-0.002722735283896327,
-0.001860763761214912,
-0.057610705494880676,
0.004485444165766239,
-0.056990452110767365,
-0.08194658160209656,
0.034880198538303375,
-0.014320584014058113,
0.014411797747015953,
0.09354899078607559,
0.0013408445520326495,
-0.01728503592312336,
0.005450031254440546,
-0.04666503891348839,
-0.01011562254279852,
-0.021179869771003723,
0.049036599695682526,
-0.012313878163695335,
0.008897917345166206,
-0.031705956906080246,
-0.018990736454725266,
-0.03635786473751068,
0.03732473403215408,
-0.010927426628768444,
-0.020285973325371742,
0.00008964617154560983,
0.006074846722185612,
0.01475841086357832,
0.023423733189702034,
0.010188594460487366,
-0.0035550622269511223,
-0.014448284171521664,
0.09004637598991394,
-0.004501406569033861,
-0.026926346123218536,
0.040207091718912125,
-0.03856524080038071,
-0.024226415902376175,
-0.012167936190962791,
0.0890977531671524,
-0.000535596685949713,
0.012012871913611889,
-0.03838281333446503,
-0.053195953369140625,
-0.044694818556308746,
0.03440588712692261,
0.018443452194333076,
0.030574902892112732,
-0.04604478180408478,
-0.02796618640422821,
-0.03265457972884178,
-0.022438623011112213,
0.07413867115974426,
0.018826551735401154,
-0.04060843214392662,
-0.05173652991652489,
0.03258160874247551,
0.08873289078474045,
0.031359344720840454,
0.004061299376189709,
0.02968100644648075,
-0.07297112792730331,
-0.003324747085571289,
-0.054728347808122635,
-0.07713048160076141,
0.05060547962784767,
0.016354653984308243,
0.016090134158730507,
-0.052466243505477905,
-0.02355143241584301,
0.015770886093378067,
-0.022183222696185112,
0.04144760221242905,
0.021708911284804344,
-0.024500057101249695,
0.015442515723407269
]
|
40,346 | pyglove.core.symbolic.object | sym_setparent | Sets the parent of current node in the symbolic tree. | def sym_setparent(self, parent: base.Symbolic):
"""Sets the parent of current node in the symbolic tree."""
old_parent = self.sym_parent
super().sym_setparent(parent)
if old_parent is not parent:
self._on_parent_change(old_parent, parent)
| (self, parent: pyglove.core.symbolic.base.Symbolic) | [
0.006636099424213171,
0.012255307286977768,
0.07756434381008148,
0.08450726419687271,
-0.058804433792829514,
0.010037429630756378,
0.0004100991354789585,
0.07952799648046494,
0.09418527781963348,
0.018672248348593712,
-0.028613248839974403,
-0.0967099741101265,
0.05175631865859032,
0.02366904728114605,
-0.042113371193408966,
-0.01939108595252037,
0.04057050123810768,
0.01849692314863205,
0.0009325166465714574,
-0.00740315206348896,
-0.007464516442269087,
-0.020951490849256516,
0.04642639681696892,
-0.05273814499378204,
-0.03492499515414238,
0.07917734980583191,
-0.032487958669662476,
0.05101994797587395,
-0.03003339096903801,
-0.06953439861536026,
0.009678010828793049,
-0.011632898822426796,
-0.009379955939948559,
0.00045639622840099037,
0.10316198319196701,
0.015516375191509724,
-0.07223442941904068,
0.010317951440811157,
-0.04470819979906082,
0.012150110676884651,
0.01821639947593212,
-0.014166363514959812,
-0.047127705067396164,
0.003079167800024152,
0.01102802250534296,
0.06069795787334442,
0.04000945761799812,
0.022248905152082443,
0.0945359319448471,
-0.03375030681490898,
0.011045555584132671,
-0.012816350907087326,
0.03136587142944336,
-0.006618566811084747,
-0.08415661007165909,
0.04916149005293846,
0.020180054008960724,
-0.01318453624844551,
-0.0031405319459736347,
-0.020074859261512756,
0.04320039600133896,
-0.011930952779948711,
-0.037940606474876404,
-0.041517261415719986,
0.019934598356485367,
-0.02054823935031891,
0.044182222336530685,
-0.03653799742460251,
-0.01953134685754776,
-0.0006229561986401677,
-0.09502684324979782,
-0.045830290764570236,
-0.032926276326179504,
-0.009721841663122177,
0.03874710574746132,
-0.004952967166900635,
-0.05848884582519531,
-0.0036928097251802683,
0.009572815150022507,
-0.05133553594350815,
-0.033697709441185,
-0.028034672141075134,
0.01293907966464758,
0.03597695380449295,
-0.04109647870063782,
0.05168618634343147,
0.08050982654094696,
0.0633278489112854,
0.012790052220225334,
0.004707510583102703,
-0.012071214616298676,
0.005163358990103006,
-0.0025159320794045925,
0.03003339096903801,
0.030121054500341415,
0.05056409910321236,
0.04421728849411011,
-0.07805526256561279,
0.0012042723828926682,
0.01020398922264576,
0.01996966265141964,
0.04043024033308029,
-0.010922826826572418,
-0.07861630618572235,
0.009949766099452972,
-0.0325230248272419,
0.015376114286482334,
-0.016629697754979134,
0.04954720661044121,
-0.014692341908812523,
-0.06020704284310341,
-0.027193104848265648,
-0.022880079224705696,
0.02352878637611866,
0.021407337859272957,
-0.02824506349861622,
0.006557202897965908,
-0.0029871214646846056,
0.026246344670653343,
0.013070574030280113,
-0.01658586598932743,
0.07034090161323547,
-0.0069560701958835125,
0.004183723125606775,
0.010098793543875217,
0.03808086737990379,
0.05371997132897377,
0.019145630300045013,
0.03106781654059887,
0.00040297649684362113,
0.015726767480373383,
-0.010256587527692318,
-0.0059698596596717834,
-0.01584949530661106,
0.026667127385735512,
0.029928196221590042,
-0.02764895372092724,
0.011816991493105888,
-0.04916149005293846,
-0.011930952779948711,
0.02044304460287094,
0.005768234375864267,
0.020232653245329857,
0.0174800306558609,
-0.0210040882229805,
0.036327604204416275,
-0.02587815932929516,
0.01214134506881237,
-0.07405781745910645,
-0.007828318513929844,
-0.0032654518727213144,
-0.007078798487782478,
0.0470225065946579,
0.011317310854792595,
-0.00923969503492117,
0.026719724759459496,
-0.07454873621463776,
-0.01020398922264576,
0.04306013509631157,
0.008630435913801193,
-0.027175573632121086,
-0.04544457048177719,
0.05473686382174492,
-0.035415906459093094,
-0.012737453915178776,
-0.037519823759794235,
-0.05845377966761589,
-0.04800433665513992,
-0.024317754432559013,
-0.0105809411033988,
0.001538488082587719,
-0.08422674238681793,
-0.003532824572175741,
0.00872248224914074,
-0.01982940174639225,
-0.016243979334831238,
0.03313666582107544,
-0.0016009480459615588,
-0.009213396348059177,
0.03804580122232437,
0.06977985799312592,
-0.004711893852800131,
0.011063087731599808,
0.08520857244729996,
0.06346811354160309,
-0.005470179952681065,
-0.016357941552996635,
0.022757351398468018,
0.07391756027936935,
-0.008455109782516956,
-0.021933317184448242,
0.035012658685445786,
-0.019461216405034065,
-0.010984191671013832,
0.029489880427718163,
0.012413100339472294,
0.0376250185072422,
-0.050108250230550766,
-0.05035370588302612,
0.04614587500691414,
0.01428032573312521,
0.012071214616298676,
0.05175631865859032,
-0.02661452814936638,
0.03162886202335358,
0.020162522792816162,
0.010247820988297462,
-0.01486766804009676,
-0.007609160616993904,
0.005777000915259123,
0.021547598764300346,
0.023300861939787865,
0.032768480479717255,
-0.02943728119134903,
-0.029507413506507874,
-0.08878522366285324,
-0.0553329735994339,
0.020390445366501808,
0.015805663540959358,
0.006092587951570749,
-0.021810589358210564,
0.006605417467653751,
-0.029647674411535263,
-0.05400049313902855,
-0.028034672141075134,
-0.05242255702614784,
0.011255946941673756,
-0.042253632098436356,
-0.018321596086025238,
-0.0048784539103507996,
-0.04000945761799812,
-0.02961260825395584,
-0.02784181386232376,
-0.0603473037481308,
-0.02547490783035755,
-0.037800345569849014,
-0.003076976165175438,
0.04600561410188675,
-0.08471766114234924,
0.028455454856157303,
-0.044778332114219666,
-0.006899089086800814,
0.029261955991387367,
0.0026386603713035583,
-0.011492637917399406,
0.03758995234966278,
0.03860684484243393,
0.005347451660782099,
-0.04162245988845825,
0.01776931807398796,
0.04547963663935661,
-0.07496951520442963,
-0.027771681547164917,
0.018567053601145744,
0.05252775177359581,
0.0053649842739105225,
-0.0006673356401734054,
0.027736617252230644,
-0.006903472356498241,
0.009116966277360916,
-0.0316639244556427,
0.04116661101579666,
0.0039579905569553375,
-0.029384683817625046,
0.02175799198448658,
0.008069392293691635,
0.013868308626115322,
0.019356021657586098,
-0.05449140816926956,
0.000012147850611654576,
0.09846323728561401,
0.00984457042068243,
-0.0009056698181666434,
0.051721252501010895,
0.032645754516124725,
-0.06136419624090195,
-0.05873430147767067,
0.07560069113969803,
-0.07156818360090256,
-0.04726796597242355,
0.030699631199240685,
0.023037873208522797,
0.0070218173786997795,
0.03446914628148079,
-0.08156178146600723,
-0.028332727029919624,
0.009116966277360916,
0.017786851152777672,
-0.03702890872955322,
0.005264171399176121,
-0.0001849144318839535,
0.07510977983474731,
-0.02885870449244976,
0.022722285240888596,
0.009572815150022507,
0.002597020473331213,
0.010852696374058723,
0.0429549366235733,
-0.01102802250534296,
0.012342969886958599,
0.0672551617026329,
-0.009993597865104675,
0.0029257573187351227,
0.03846658393740654,
0.0036380202509462833,
0.03467953950166702,
0.01064230501651764,
0.033504851162433624,
-0.017567692324519157,
-0.024019699543714523,
-0.007425067946314812,
0.08408648520708084,
-0.0760214775800705,
-0.0017565501620993018,
-0.012693622149527073,
0.020776163786649704,
0.026316475123167038,
-0.08212282508611679,
0.05610441043972969,
0.056770648807287216,
-0.03525811433792114,
-0.020530706271529198,
-0.03061196766793728,
0.015639103949069977,
-0.034118492156267166,
0.028613248839974403,
0.02025018446147442,
0.033084068447351456,
-0.052492689341306686,
0.02221383899450302,
0.024773603305220604,
0.015551440417766571,
-0.009379955939948559,
-0.07016557455062866,
-0.06024210900068283,
0.05386023223400116,
0.0070218173786997795,
-0.006754444912075996,
-0.002340605715289712,
-0.0013982270611450076,
0.06346811354160309,
0.011992317624390125,
-0.015192021615803242,
-0.0713227316737175,
-0.055578429251909256,
-0.014148830436170101,
0.01939108595252037,
-0.01568293571472168,
0.042674414813518524,
0.04807446524500847,
-0.07489938288927078,
0.059856392443180084,
0.0072672744281589985,
-0.02973533608019352,
-0.011729327961802483,
0.0015231469878926873,
-0.029858065769076347,
-0.007074415218085051,
-0.02617621421813965,
-0.07076168805360794,
0.017488796263933182,
-0.019513815641403198,
0.0013817902654409409,
-0.0028797341510653496,
-0.0713227316737175,
-0.005926028359681368,
-0.00992346741259098,
0.007705589756369591,
0.02794700860977173,
0.00792474765330553,
0.015367348678410053,
-0.04544457048177719,
0.05147579684853554,
-0.020653435960412025,
-0.009993597865104675,
0.06795646250247955,
-0.013991037383675575,
0.012974144890904427,
-0.009397488087415695,
-0.09152031689882278,
0.07034090161323547,
-0.05624467134475708,
0.0002138158743036911,
0.025492440909147263,
0.01168549619615078,
-0.005627973470836878,
0.06213563308119774,
-0.0010497660841792822,
0.029051564633846283,
0.021407337859272957,
-0.0008843019022606313,
0.007153312209993601,
0.08268387615680695,
0.015718000009655952,
0.025527505204081535,
-0.03296133875846863,
0.019128097221255302,
0.01258842647075653,
-0.005443880800157785,
-0.04306013509631157,
0.009379955939948559,
-0.036643192172050476,
-0.014385521411895752,
-0.0064826891757547855,
0.054245948791503906,
-0.013859542086720467,
0.0067412955686450005,
-0.007455749902874231,
-0.005251022055745125,
-0.06970972567796707,
-0.009301058948040009,
0.00465929601341486,
0.01581443101167679,
-0.0030988920480012894,
-0.004293302074074745,
-0.029191825538873672,
0.05165112018585205,
-0.01250952947884798,
0.07363703846931458,
-0.005378133617341518,
-0.00592164508998394,
0.012193942442536354,
0.024159960448741913,
0.013780645094811916,
0.03583669289946556,
-0.003670893842354417,
0.008332381024956703,
-0.0167348925024271,
-0.012246540747582912,
0.03227756917476654,
0.006986752152442932,
0.004786407575011253,
0.08619039505720139,
0.008384979330003262,
-0.0264918003231287,
0.006189017556607723,
0.030997686088085175,
0.001954887993633747,
-0.07251495122909546,
0.03815099969506264,
0.06038236990571022,
-0.03005092404782772,
-0.05336931720376015,
-0.008323615416884422,
0.027929475530982018,
0.07174351066350937,
0.019654076546430588,
0.05400049313902855,
-0.06602787971496582,
0.01584949530661106,
-0.023879438638687134,
-0.02396710216999054,
0.04793420433998108,
0.004545333795249462,
-0.056910909712314606,
0.024983994662761688,
-0.019145630300045013,
-0.020022261887788773,
0.012307904660701752,
0.04214843735098839,
-0.006329278461635113,
0.020635902881622314,
0.04716276749968529,
0.01324590016156435,
-0.011141984723508358,
0.05757714807987213,
-0.0019198227673768997,
-0.029805466532707214,
-0.023879438638687134,
-0.028630781918764114,
0.02309047058224678,
-0.012562127783894539,
-0.04242895916104317,
0.003554740222170949,
-0.04849524796009064,
-0.05775247514247894,
-0.04632120206952095,
-0.045830290764570236,
-0.05221216380596161,
-0.005115143954753876,
-0.06813178956508636,
-0.005395666230469942,
0.02205604501068592,
-0.014753706753253937,
0.010151391848921776,
-0.04824979230761528,
0.017366068437695503,
-0.04516404867172241,
-0.017856981605291367,
0.03443408012390137,
-0.03224250301718712,
0.006640482693910599,
-0.011194583028554916,
0.04316532984375954,
0.025246983394026756,
0.025124255567789078,
-0.002954247873276472,
-0.031734056770801544,
0.01384200993925333,
-0.028613248839974403,
-0.041061412543058395,
0.0064826891757547855,
-0.03566136583685875,
0.017094312235713005,
0.06855257600545883,
0.025632701814174652,
-0.06430967897176743,
0.0032194287050515413,
-0.027876878157258034,
0.02323073148727417,
0.037975672632455826,
0.008056242018938065,
0.04043024033308029,
-0.009152031503617764,
-0.006820192094892263,
-0.0264918003231287,
0.01030041929334402,
0.04649652913212776,
0.04726796597242355,
-0.03829126060009003,
0.010379315353929996,
-0.08015917241573334,
0.022406699135899544,
-0.009292292408645153,
0.03154119849205017,
-0.0039886729791760445,
-0.00677197752520442,
-0.019163161516189575,
0.012115045450627804,
-0.02661452814936638,
0.01612125150859356,
0.014218960888683796,
-0.027911944314837456,
0.09825284779071808,
0.011159517802298069,
0.056314799934625626,
0.01717320829629898,
0.015428712591528893,
-0.02040797844529152,
-0.04155232757329941,
-0.03709904104471207,
0.028508052229881287,
0.02295020967721939,
0.06171485036611557,
0.07770460844039917,
-0.003931691870093346,
-0.044462744146585464,
-0.024212559685111046,
-0.03210224211215973,
-0.016629697754979134,
-0.02828012779355049,
-0.01644560508430004,
0.008937257342040539,
0.01699788309633732,
-0.023178134113550186,
0.002124735387042165,
0.040780890733003616,
0.04190298169851303,
0.01184329017996788,
0.0061846342869102955,
0.01568293571472168,
0.011501403525471687,
0.06231096014380455,
-0.05666545405983925,
0.07588121294975281,
-0.04102635011076927,
-0.014008569531142712,
-0.008069392293691635,
0.057331692427396774,
0.03285614401102066,
0.007534646894782782,
0.0062810638919472694,
0.045619897544384,
0.03460940718650818,
0.012185175903141499,
-0.0013335754629224539,
-0.004411647561937571,
0.04628613591194153,
-0.06143432855606079,
-0.010054961778223515,
0.00132261763792485,
-0.013815710321068764,
-0.04067569598555565,
0.04057050123810768,
-0.01486766804009676,
-0.005535927135497332,
-0.009520216844975948,
0.10547628998756409,
-0.014832602813839912,
-0.0038243045564740896,
-0.05073942616581917,
0.0007730792858637869,
-0.012167643755674362,
0.0393432155251503,
-0.01744496449828148,
-0.03653799742460251,
-0.01762905716896057,
-0.034854862838983536,
0.04667185619473457,
0.025509973987936974,
-0.04975759610533714,
-0.02335345931351185,
0.03418862447142601,
0.021091751754283905,
0.013017975725233555,
-0.030541837215423584,
0.0016864195931702852,
0.01758522540330887,
-0.021863186731934547,
-0.03976399824023247,
0.03962373733520508,
0.02885870449244976,
-0.024896331131458282,
-0.025808028876781464,
-0.060452502220869064,
-0.04302506893873215,
-0.04323545843362808,
-0.041797783225774765,
-0.0007599298260174692,
-0.0300158578902483,
-0.019513815641403198,
-0.04127180576324463,
0.005097611341625452,
-0.06013691425323486,
-0.06248628720641136,
0.0399743914604187,
0.025404777377843857,
0.03406589478254318,
-0.010265353135764599,
-0.045199114829301834,
0.02619374543428421,
-0.04824979230761528,
-0.030682098120450974,
-0.028490521013736725,
0.018391726538538933,
-0.030839892104268074,
-0.002159800613299012,
-0.022599557414650917,
-0.012211475521326065,
0.00685087451711297,
0.007091947831213474,
-0.024177493527531624,
0.00696045346558094,
-0.004637380130589008,
-0.016831323504447937,
-0.008406895212829113,
-0.011834523640573025,
-0.006368726957589388,
-0.08675143867731094,
-0.03091002255678177,
-0.0022945827804505825,
0.006351194344460964,
-0.05508751794695854,
-0.009502684697508812,
0.08233322203159332,
0.020776163786649704,
-0.038431521505117416,
-0.025124255567789078,
0.0028337109833955765,
-0.011141984723508358,
0.06469539552927017,
0.02780674770474434,
-0.0018091480014845729,
0.052913472056388855,
0.037835411727428436,
0.049371879547834396,
0.043130263686180115,
0.0003361333510838449,
-0.001901194336824119,
-0.03459187597036362,
-0.020635902881622314,
-0.0346444733440876,
-0.07903708517551422,
-0.03206717595458031,
0.03036651201546192,
-0.052001774311065674,
0.020180054008960724,
0.008836444467306137,
0.03334705904126167,
-0.006964836269617081,
-0.09320344775915146,
-0.007013051304966211,
0.044778332114219666,
-0.01790957897901535,
-0.02824506349861622,
0.060452502220869064,
0.022266438230872154,
0.00858660414814949,
-0.0023471806198358536,
-0.0753903016448021,
0.02010992355644703,
-0.0038374538999050856,
0.03138340264558792,
0.00792474765330553,
-0.04249909147620201,
-0.021039152517914772,
-0.046110812574625015,
-0.026298942044377327,
-0.0500030554831028,
0.0304892398416996,
0.05740182474255562,
0.007451366633176804,
0.012053681537508965,
-0.01480630412697792,
0.0070875645615160465,
-0.02472100593149662,
0.012369268573820591,
-0.0027285153046250343,
0.0010086740367114544,
0.030103521421551704,
0.02764895372092724,
-0.039728935807943344,
-0.03829126060009003,
-0.05519271269440651,
0.02310800366103649,
0.02796454168856144,
-0.013991037383675575,
-0.0416925884783268,
-0.008713715709745884,
0.01715567708015442,
-0.02070603333413601,
0.005259788129478693,
0.028069736436009407,
0.002860009903088212,
0.025860626250505447,
-0.020618369802832603,
-0.01000236440449953,
0.0067938934080302715,
0.003817729651927948,
0.020390445366501808,
-0.058979760855436325,
0.04376143962144852,
-0.03362758085131645,
-0.044743265956640244,
0.02707037702202797,
0.014245260506868362,
-0.0013565870467573404,
0.03829126060009003,
-0.007534646894782782,
-0.039027631282806396,
-0.01012509223073721,
-0.0032501108944416046,
-0.058979760855436325,
-0.020688500255346298,
0.04814459756016731,
0.01761152409017086,
-0.04926668480038643,
0.0105809411033988,
0.0023318394087255,
0.044182222336530685,
0.020951490849256516,
0.020513175055384636,
-0.00191324797924608,
-0.0066317166201770306,
-0.004264811519533396,
-0.017488796263933182,
-0.011159517802298069,
0.06904348731040955,
0.0600317157804966,
0.02191578410565853,
-0.0131670031696558,
-0.02340605854988098,
-0.016173848882317543,
0.011571533977985382,
0.04849524796009064,
-0.01644560508430004,
0.015560206957161427,
-0.0072102933190763
]
|
40,347 | pyglove.core.symbolic.base | sym_setpath | Sets the path of current node in its symbolic tree. | def sym_setpath(
self, path: Optional[Union[str, object_utils.KeyPath]]) -> None:
"""Sets the path of current node in its symbolic tree."""
if self.sym_path != path:
old_path = self.sym_path
self._set_raw_attr('_sym_path', path)
self._update_children_paths(old_path, path)
| (self, path: Union[str, pyglove.core.object_utils.value_location.KeyPath, NoneType]) -> NoneType | [
0.06107286363840103,
-0.008942934684455395,
0.05049925670027733,
0.05080822855234146,
-0.04648266360163689,
-0.011363191530108452,
-0.008711207658052444,
0.053005341440439224,
0.04198544844985008,
0.022657722234725952,
0.02349880523979664,
-0.05187245458364487,
0.052833691239356995,
0.04294668510556221,
-0.061381831765174866,
-0.000034933338611153886,
0.04929771274328232,
0.012281515635550022,
-0.01846947707235813,
-0.0022250055335462093,
0.017748549580574036,
-0.011818062514066696,
0.037179265171289444,
-0.025884732604026794,
-0.0282706581056118,
0.03312833607196808,
-0.006514095235615969,
0.06378491967916489,
0.02499215491116047,
-0.0713374987244606,
0.022039785981178284,
-0.0034801920410245657,
-0.027772875502705574,
-0.020203135907649994,
0.069483682513237,
0.0056386832147836685,
-0.010153062641620636,
0.005514237564057112,
0.01943071372807026,
-0.04545276612043381,
0.02969534881412983,
0.0252324640750885,
-0.03153199702501297,
-0.017971694469451904,
0.02792735956609249,
0.044457197189331055,
0.004969250410795212,
0.03951369598507881,
0.07545708119869232,
-0.030879730358719826,
0.015328292734920979,
-0.011860975064337254,
-0.0217308159917593,
-0.019447878003120422,
-0.004312691744416952,
0.011277366429567337,
0.04545276612043381,
0.009106001816689968,
0.018246332183480263,
-0.030879730358719826,
0.06464316695928574,
-0.005977691151201725,
-0.02018597163259983,
-0.018383651971817017,
0.001537335105240345,
-0.013628963381052017,
-0.006501221563667059,
-0.011105717159807682,
-0.010762418620288372,
0.007406672462821007,
-0.07284801453351974,
-0.019825506955385208,
-0.04785585775971413,
-0.02653699927031994,
0.021404681727290154,
-0.02097555808722973,
-0.0347418412566185,
0.012350175529718399,
-0.007363759912550449,
-0.04339297115802765,
-0.036218028515577316,
-0.021662157028913498,
-0.02018597163259983,
-0.01577458158135414,
-0.0702732726931572,
0.07380925118923187,
0.11788882315158844,
0.02947220578789711,
-0.0037505398504436016,
-0.015465612523257732,
-0.005432703997939825,
-0.01138035673648119,
-0.028253493830561638,
0.030055813491344452,
0.013397237285971642,
-0.011328861117362976,
0.03354029729962349,
-0.08486346900463104,
-0.022314423695206642,
0.02087256871163845,
0.008179094642400742,
-0.04123019054532051,
-0.009449300356209278,
0.004164644051343203,
-0.003548851702362299,
-0.009020176716148853,
0.03765988349914551,
-0.029798338189721107,
0.0020758851896971464,
-0.039239056408405304,
-0.06546708941459656,
0.0710628554224968,
-0.025816071778535843,
0.0009290524758398533,
0.01114862971007824,
0.021593496203422546,
0.011320278979837894,
-0.04250039532780647,
0.05808616429567337,
0.016006307676434517,
-0.027566896751523018,
0.04143616929650307,
-0.020203135907649994,
0.07937069237232208,
0.03256189450621605,
0.035222459584474564,
0.041779469698667526,
0.03295668959617615,
-0.009329145774245262,
-0.029334885999560356,
-0.007792883552610874,
0.008655421435832977,
0.013234170153737068,
0.07264203578233719,
0.014040922746062279,
0.02207411453127861,
-0.054962143301963806,
-0.0247690100222826,
-0.013088268227875233,
0.02895725704729557,
0.00526105472818017,
-0.03496498614549637,
-0.043152663856744766,
-0.032939523458480835,
0.02974684350192547,
0.05688461661338806,
-0.0269489586353302,
0.019636692479252815,
-0.042740706354379654,
0.018692621961236,
-0.027910195291042328,
-0.013071103021502495,
0.047100599855184555,
0.01005865540355444,
-0.01292520109564066,
0.0247690100222826,
-0.04699761047959328,
0.04960668087005615,
0.051632143557071686,
0.02844230830669403,
-0.007157780695706606,
-0.0696210041642189,
0.018589632585644722,
-0.054962143301963806,
-0.03542843833565712,
0.01955086924135685,
-0.04390792176127434,
-0.03153199702501297,
-0.03009014204144478,
0.0011393229942768812,
0.013208422809839249,
-0.07374058663845062,
-0.03604637831449509,
0.016924632713198662,
-0.023979423567652702,
-0.009929918684065342,
0.021421847864985466,
0.021078547462821007,
0.02109571360051632,
0.001386068994179368,
0.03163498640060425,
-0.012238603085279465,
-0.02540411427617073,
0.07655563950538635,
0.01984267309308052,
0.02739524655044079,
-0.023945093154907227,
-0.004480049945414066,
0.03319699689745903,
0.06532976776361465,
-0.019585197791457176,
0.03783152997493744,
0.012968113645911217,
0.010470614768564701,
0.009775434620678425,
-0.013380072079598904,
0.04600204527378082,
-0.04562441632151604,
-0.05544276162981987,
0.0816364660859108,
0.04569307342171669,
-0.044182561337947845,
0.03256189450621605,
0.019911332055926323,
0.027910195291042328,
-0.03542843833565712,
0.0669776052236557,
0.015886154025793076,
0.00614934042096138,
0.05630100890994072,
-0.01864112727344036,
-0.011414686217904091,
0.021971125155687332,
-0.05091121792793274,
-0.007441002409905195,
-0.03033045120537281,
-0.03309400752186775,
0.048027507960796356,
0.02080390974879265,
0.02452870085835457,
0.044628847390413284,
0.04672297090291977,
-0.03875843808054924,
-0.017310842871665955,
-0.019190404564142227,
-0.04740956798195839,
-0.004655990283936262,
-0.02890576235949993,
-0.021576331928372383,
-0.0204777754843235,
0.0038149082101881504,
0.007466749753803015,
-0.006544134113937616,
-0.048473794013261795,
-0.019190404564142227,
-0.02964385412633419,
0.03336864709854126,
0.026004886254668236,
-0.02849380299448967,
0.017362339422106743,
-0.02264055795967579,
-0.01680447719991207,
0.013036773540079594,
-0.01846947707235813,
-0.046070702373981476,
0.055305443704128265,
0.015577184967696667,
-0.009346310980618,
0.0037483940832316875,
-0.01800602301955223,
0.01565442606806755,
-0.01829782873392105,
-0.01324275229126215,
0.015345457941293716,
0.03920472785830498,
-0.017645560204982758,
-0.029197566211223602,
0.009784016758203506,
-0.01235875766724348,
0.03314550220966339,
-0.040955550968647,
-0.0007187819574028254,
-0.008505228906869888,
-0.038621120154857635,
0.02619370073080063,
0.0106336809694767,
-0.0055271112360060215,
0.014512958005070686,
-0.06831646710634232,
-0.004754689056426287,
0.0335574597120285,
-0.023859268054366112,
-0.03136034682393074,
0.0624803863465786,
0.03484483063220978,
0.018675455823540688,
-0.047718536108732224,
0.032081276178359985,
-0.06127884238958359,
-0.024563031271100044,
0.011543422937393188,
-0.03314550220966339,
0.05678162723779678,
0.032596223056316376,
-0.058223482221364975,
0.0239107646048069,
-0.006690036039799452,
0.001771207433193922,
-0.015697339549660683,
0.008711207658052444,
0.07236739248037338,
0.06042059510946274,
0.002059793099761009,
0.05715925619006157,
0.0886397585272789,
0.013697623275220394,
-0.058395132422447205,
0.02138751745223999,
0.026056380942463875,
0.016452597454190254,
0.016504092141985893,
0.011577753350138664,
-0.00879703275859356,
0.04507513716816902,
0.05170080438256264,
-0.011320278979837894,
0.027446741238236427,
0.06756120920181274,
0.05221575126051903,
0.025541434064507484,
-0.00906308926641941,
0.03321416303515434,
-0.0920727476477623,
0.030879730358719826,
0.06759554147720337,
0.014942081645131111,
-0.021747980266809464,
-0.06481482088565826,
-0.014109581708908081,
0.03673297539353371,
-0.03714493289589882,
-0.03493065759539604,
-0.057365234941244125,
-0.0229838564991951,
-0.046894621104002,
0.009011594578623772,
0.03796885162591934,
0.0264855045825243,
-0.027652721852064133,
0.023207001388072968,
0.022726383060216904,
0.011363191530108452,
0.0039801206439733505,
0.0005213851109147072,
-0.00701187876984477,
0.019465044140815735,
-0.020323291420936584,
-0.03235591575503349,
-0.05293668061494827,
0.017954528331756592,
0.0520441047847271,
-0.022915197536349297,
0.0013077539624646306,
-0.05722791701555252,
0.004853387363255024,
0.020769579336047173,
0.011268784292042255,
0.010247469879686832,
-0.013783448375761509,
0.07573172450065613,
-0.03549709916114807,
0.0487484335899353,
0.010170227847993374,
-0.03779720142483711,
-0.02229725942015648,
0.01091690268367529,
-0.03635534644126892,
0.02281220816075802,
-0.03875843808054924,
-0.059836987406015396,
0.03728225454688072,
0.039754003286361694,
-0.01407525222748518,
-0.02150767110288143,
0.013989427126944065,
-0.0037784327287226915,
-0.06416255235671997,
0.044628847390413284,
0.032699212431907654,
-0.02080390974879265,
0.02854529768228531,
-0.05585471913218498,
0.01771421916782856,
0.0024374218191951513,
0.029506534337997437,
0.09612367302179337,
0.020855404436588287,
0.01559434924274683,
-0.005660139489918947,
-0.03489632532000542,
0.07854676991701126,
-0.05152915418148041,
0.0565413162112236,
0.026348184794187546,
0.03951369598507881,
0.024872001260519028,
0.09406387805938721,
-0.03642400726675987,
0.05818915367126465,
0.006797316949814558,
-0.025421278551220894,
-0.003735520411282778,
0.07985130697488785,
-0.007552574388682842,
0.01550852507352829,
-0.03194395825266838,
0.04706627130508423,
0.010273217223584652,
0.004213992971926928,
0.01955086924135685,
0.022159939631819725,
-0.007737097330391407,
0.002714206464588642,
0.03089689463376999,
0.017551152035593987,
0.007007587235420942,
-0.00848806370049715,
0.03755689412355423,
-0.031343184411525726,
0.009543707594275475,
-0.017010457813739777,
-0.002765701152384281,
0.025833237916231155,
-0.024666020646691322,
0.044113900512456894,
-0.012564737349748611,
0.0632699728012085,
-0.010530691593885422,
0.0817737802863121,
0.028682617470622063,
-0.036835964769124985,
0.004746106453239918,
-0.04627668112516403,
0.023309990763664246,
0.030399112030863762,
-0.018246332183480263,
0.02626236155629158,
-0.02447720617055893,
0.010813913308084011,
0.04682596027851105,
0.007543991785496473,
-0.0026112168561667204,
0.033008184283971786,
0.048027507960796356,
-0.02660566009581089,
-0.03347163647413254,
0.021130044013261795,
-0.06481482088565826,
-0.048988744616508484,
-0.0339522548019886,
0.0037934521678835154,
-0.011646413244307041,
-0.04116152971982956,
-0.04236307740211487,
0.00045835759374313056,
-0.009509378112852573,
-0.006900306325405836,
0.06828213483095169,
0.018246332183480263,
0.0035166675224900246,
-0.045727405697107315,
-0.022726383060216904,
0.008458024822175503,
0.004591621924191713,
-0.04528111591935158,
-0.009672444313764572,
0.033917926251888275,
-0.039479367434978485,
0.008179094642400742,
0.03324849158525467,
-0.0269489586353302,
0.0313088521361351,
0.043839260935783386,
-0.023979423567652702,
0.03331715241074562,
0.016478344798088074,
-0.0025725956074893475,
0.029678184539079666,
-0.007200693245977163,
-0.07792883366346359,
-0.025730246677994728,
-0.04407957196235657,
-0.06244605779647827,
0.026914628222584724,
0.012736386619508266,
-0.04335864260792732,
-0.03608070686459541,
-0.020168807357549667,
-0.1130826324224472,
-0.05619801953434944,
-0.022228598594665527,
-0.03542843833565712,
0.025489937514066696,
-0.016066385433077812,
0.046414002776145935,
-0.019190404564142227,
0.056403998285532,
-0.027549730613827705,
-0.04390792176127434,
0.013766283169388771,
0.03462168574333191,
0.02138751745223999,
-0.05791451409459114,
0.003735520411282778,
-0.02064942568540573,
0.046414002776145935,
-0.03917039558291435,
0.022451743483543396,
-0.0005254081333987415,
-0.016838807612657547,
-0.050087299197912216,
-0.024580197408795357,
-0.008685460314154625,
0.04054359346628189,
0.027961689978837967,
0.08294099569320679,
-0.0426720455288887,
-0.022726383060216904,
0.0049907066859304905,
-0.013628963381052017,
0.042912352830171585,
-0.023824939504265785,
-0.002684167819097638,
0.011337444186210632,
0.027017617598176003,
0.014040922746062279,
-0.016298111528158188,
0.017310842871665955,
0.018898600712418556,
-0.016958963125944138,
-0.05533977225422859,
-0.053176987916231155,
0.009775434620678425,
-0.03810616955161095,
-0.007432419806718826,
-0.060008637607097626,
-0.010281800292432308,
-0.024683186784386635,
0.050945546478033066,
-0.014839092269539833,
0.029969988390803337,
0.032476071268320084,
-0.019516538828611374,
0.09385789930820465,
0.0425347238779068,
0.0956430584192276,
0.032424576580524445,
-0.0062952423468232155,
-0.012315846048295498,
-0.04304967448115349,
-0.04706627130508423,
0.0048276400193572044,
-0.049846991896629333,
0.011217289604246616,
0.009208991192281246,
-0.009123166091740131,
-0.045899055898189545,
-0.03360895439982414,
0.02907741069793701,
-0.04013163223862648,
-0.0573309063911438,
-0.007930203340947628,
0.012822211720049381,
0.004857678432017565,
-0.02293236181139946,
-0.05406956747174263,
0.05794884264469147,
0.0322357602417469,
-0.004080964718014002,
0.01005865540355444,
-0.061484821140766144,
-0.013603216037154198,
0.05228441208600998,
-0.04390792176127434,
0.07168079912662506,
-0.03937637805938721,
-0.015740251168608665,
-0.04613936319947243,
0.07737955451011658,
-0.00035456332261674106,
0.020151641219854355,
-0.008754120208323002,
0.04318699240684509,
0.014787597581744194,
0.00906308926641941,
0.024803340435028076,
0.043084003031253815,
0.04370194301009178,
-0.023859268054366112,
-0.002370907459408045,
-0.0014193260576575994,
0.06100420281291008,
-0.0016135044861584902,
0.05606069788336754,
-0.008505228906869888,
-0.03642400726675987,
0.01261623203754425,
0.06495214253664017,
-0.07889007031917572,
-0.02418540231883526,
-0.06141616031527519,
-0.0632699728012085,
0.004763271193951368,
0.010968397371470928,
-0.05544276162981987,
-0.03062225505709648,
-0.02660566009581089,
-0.0251638051122427,
0.015860406681895256,
0.025730246677994728,
-0.021181538701057434,
-0.013011026196181774,
0.011388938874006271,
0.02207411453127861,
-0.029111741110682487,
0.007646981626749039,
0.0200143214315176,
0.03920472785830498,
-0.02063225954771042,
0.00131848210003227,
-0.005754546727985144,
0.059939976781606674,
0.040337614715099335,
0.020168807357549667,
-0.05341729894280434,
-0.0039994316175580025,
0.013594633899629116,
0.006578464061021805,
-0.06876275688409805,
-0.01739666797220707,
-0.07545708119869232,
-0.046928949654102325,
-0.027601225301623344,
-0.04349596053361893,
-0.03501648083329201,
0.02092406339943409,
0.04510946571826935,
0.04201977699995041,
-0.0025811782106757164,
-0.022743547335267067,
0.008595344610512257,
-0.08397089689970016,
-0.043255653232336044,
0.014152494259178638,
0.02143901214003563,
-0.06996430456638336,
-0.015834659337997437,
0.004994998220354319,
0.03240741044282913,
0.03917039558291435,
-0.05424121394753456,
-0.00021120924793649465,
-0.025644423440098763,
-0.005951943341642618,
-0.038621120154857635,
0.04387358948588371,
-0.041024211794137955,
-0.046242352575063705,
-0.014847674407064915,
0.015354040078818798,
-0.026245195418596268,
-0.049332041293382645,
-0.031394679099321365,
-0.001258404809050262,
0.09083686769008636,
0.04328998178243637,
-0.004269779194146395,
-0.059596676379442215,
0.024099577218294144,
-0.002967389300465584,
-0.04318699240684509,
-0.00021389126777648926,
-0.009904171340167522,
0.020941229537129402,
0.027154937386512756,
0.011534840799868107,
0.003398658474907279,
-0.0015888299094513059,
0.0054670339450240135,
-0.040165964514017105,
-0.01315692812204361,
-0.019877001643180847,
-0.07367192953824997,
-0.02528395876288414,
-0.025592928752303123,
-0.042466066777706146,
0.03244173899292946,
-0.03163498640060425,
0.03673297539353371,
0.00527392840012908,
-0.10257769376039505,
-0.018212003633379936,
-0.003563870908692479,
0.006106427870690823,
-0.05479049310088158,
0.05115152522921562,
0.03642400726675987,
0.052490390837192535,
0.015431282110512257,
-0.06285801529884338,
-0.03347163647413254,
-0.05307399854063988,
0.011260202154517174,
0.03711060434579849,
-0.07264203578233719,
-0.02028896100819111,
-0.00619225250557065,
-0.06708059459924698,
0.04339297115802765,
0.00039077061228454113,
0.041367508471012115,
0.06749255210161209,
0.012118448503315449,
-0.039479367434978485,
0.018417982384562492,
-0.05056791752576828,
-0.027257926762104034,
-0.032819367945194244,
-0.04816482588648796,
0.022554732859134674,
0.008960099890828133,
-0.032201431691646576,
-0.022211434319615364,
-0.044010911136865616,
0.044972147792577744,
-0.004522962030023336,
-0.029317719861865044,
-0.07442718744277954,
-0.03211560472846031,
0.01937921904027462,
0.005509946495294571,
-0.03347163647413254,
-0.01439280342310667,
0.01436705607920885,
-0.005342588294297457,
0.016040638089179993,
0.010221722535789013,
0.04593338444828987,
0.06876275688409805,
0.012169943191111088,
-0.08857110142707825,
0.039925653487443924,
0.006690036039799452,
0.01439280342310667,
0.0022185686975717545,
-0.02947220578789711,
-0.018726950511336327,
0.02619370073080063,
0.015937648713588715,
0.07703626155853271,
0.008367909118533134,
-0.015113730914890766,
-0.032201431691646576,
-0.022348754107952118,
0.011483346112072468,
-0.017748549580574036,
-0.03937637805938721,
0.037076275795698166,
0.011740820482373238,
0.018366487696766853,
0.00494779460132122,
0.009208991192281246,
0.018932931125164032,
0.0016081404173746705,
0.025301124900579453,
-0.0024524410255253315,
-0.03129168972373009,
0.02035761997103691,
0.04600204527378082,
0.02597055584192276,
-0.045727405697107315,
0.0021831660997122526,
0.00646260054782033,
-0.017276514321565628,
0.061725128442049026,
0.009277651086449623,
-0.04219142720103264,
0.008011736907064915
]
|
40,348 | pyglove.core.symbolic.object | sym_values | Iterates the values of symbolic attributes. | def sym_values(self):
"""Iterates the values of symbolic attributes."""
return self._sym_attributes.sym_values()
| (self) | [
0.09791383147239685,
-0.044135913252830505,
0.03914516046643257,
-0.003711236175149679,
0.02539512701332569,
-0.011314071714878082,
-0.030385879799723625,
-0.04678406938910484,
0.07883353531360626,
0.037311822175979614,
-0.026362720876932144,
-0.010804811492562294,
0.05394766852259636,
0.02763587236404419,
-0.020862707868218422,
0.037176020443439484,
-0.0033929485362023115,
0.02619296684861183,
-0.023595739156007767,
0.03816059231758118,
-0.024902841076254845,
0.027737725526094437,
-0.046139005571603775,
-0.04888901114463806,
0.0037069923710078,
-0.016253899782896042,
0.04077479615807533,
-0.017671341076493263,
0.0221698097884655,
0.00701082032173872,
-0.051503218710422516,
0.01088968850672245,
0.01109339203685522,
-0.03751552850008011,
0.0717717856168747,
-0.044814929366111755,
-0.02351086214184761,
0.011933672241866589,
-0.007167842239141464,
0.02123616449534893,
0.04583344981074333,
-0.029978470876812935,
0.0044730049557983875,
-0.000573979108594358,
-0.024274753406643867,
-0.022356538102030754,
0.00861499086022377,
-0.010685984045267105,
0.021609622985124588,
-0.08650638908147812,
0.026634326204657555,
0.014675191603600979,
0.03687046468257904,
0.0006169479456730187,
0.044271718710660934,
0.012476883828639984,
-0.016814086586236954,
0.004944071173667908,
-0.009989994578063488,
0.019267024472355843,
0.004201399628072977,
-0.03165902942419052,
0.01188274659216404,
-0.07469154894351959,
0.027686798945069313,
-0.028773220255970955,
-0.010490767657756805,
0.021524745970964432,
-0.010702959261834621,
-0.007927489466965199,
-0.03754947707056999,
-0.06297855824232101,
-0.01750158704817295,
-0.004158961120992899,
-0.03349236771464348,
-0.05965138599276543,
0.02950316108763218,
0.02230561152100563,
-0.0043456899002194405,
-0.09832123667001724,
-0.04831185191869736,
0.04644456133246422,
-0.033475395292043686,
-0.0041695707477629185,
-0.051503218710422516,
0.03727787360548973,
0.017187543213367462,
0.0026481549721211195,
-0.012604198418557644,
0.09621629118919373,
-0.027296366170048714,
0.028382787480950356,
-0.0026014726608991623,
0.06759584695100784,
-0.020794805139303207,
0.007651639636605978,
0.006497316062450409,
-0.028213035315275192,
0.030233101919293404,
-0.009514684788882732,
0.0332547128200531,
-0.015761613845825195,
-0.020200667902827263,
0.044407520443201065,
-0.023154379799962044,
0.006365756969898939,
-0.03213433921337128,
-0.08175329118967056,
0.04780258983373642,
0.006798628251999617,
-0.07530266046524048,
0.09173480421304703,
0.07346932590007782,
-0.029282482340931892,
-0.027347290888428688,
-0.03315286338329315,
-0.015218403190374374,
0.00900542363524437,
-0.004252325743436813,
0.0005925458972342312,
-0.023205306380987167,
0.0632162094116211,
0.04457727447152138,
0.047734688967466354,
0.014420561492443085,
0.08521626889705658,
0.015490008518099785,
0.005028947722166777,
-0.026277843862771988,
0.056969281286001205,
0.018401281908154488,
-0.035172928124666214,
0.04019763320684433,
0.08514836430549622,
-0.0061365896835923195,
-0.028145132586359978,
0.07598167657852173,
-0.026277843862771988,
0.044135913252830505,
0.016593405976891518,
0.04332109913229942,
0.03646305575966835,
-0.03408650681376457,
0.014675191603600979,
-0.03335656598210335,
0.01831640489399433,
-0.009056350216269493,
0.0563921183347702,
-0.02176240086555481,
-0.04817604646086693,
0.0029897838830947876,
0.03369607403874397,
0.055781006813049316,
0.031319525092840195,
-0.020353447645902634,
0.03142137452960014,
-0.016364239156246185,
-0.005983811337500811,
-0.008008122444152832,
-0.02979174256324768,
-0.08046316355466843,
-0.002786079654470086,
-0.023867344483733177,
-0.0470556765794754,
0.011135830543935299,
0.024614259600639343,
0.011331046931445599,
-0.036904413253068924,
0.011908208951354027,
-0.011585677973926067,
-0.025547904893755913,
-0.09010516852140427,
-0.009905117563903332,
0.011101880110800266,
0.019793260842561722,
-0.006662825588136911,
0.007422472350299358,
0.03342446684837341,
0.0486174076795578,
0.018655911087989807,
0.006408195476979017,
-0.058564964681863785,
-0.09037677198648453,
-0.01515898946672678,
0.03877170383930206,
0.006828335113823414,
-0.0042056431993842125,
-0.013665158301591873,
0.062435343861579895,
-0.010643545538187027,
0.02643062174320221,
0.008818695321679115,
-0.0038406732492148876,
0.052012477070093155,
0.003356875851750374,
-0.04888901114463806,
-0.004570613615214825,
0.010295551270246506,
-0.05303099751472473,
0.010448329150676727,
0.016381215304136276,
-0.0742841362953186,
-0.03490132465958595,
0.045595794916152954,
-0.016542479395866394,
-0.015821028500795364,
-0.012646636925637722,
-0.04593530297279358,
-0.007876562885940075,
-0.0015606713714078069,
-0.0035436046309769154,
0.006238441914319992,
0.04152170941233635,
-0.007931733503937721,
0.009302493184804916,
0.0013696986716240644,
0.004131376277655363,
-0.01730637066066265,
-0.000008417221579293255,
-0.00774076022207737,
0.01882566511631012,
-0.026379697024822235,
0.014446023851633072,
-0.0161435604095459,
-0.005741912871599197,
-0.04678406938910484,
0.010779348202049732,
0.032915208488702774,
-0.050145190209150314,
0.006408195476979017,
0.019793260842561722,
0.018520109355449677,
-0.0033229251857846975,
0.01880868896842003,
0.026685252785682678,
0.0307253859937191,
0.02619296684861183,
0.05326865240931511,
-0.02164357341825962,
0.005457575432956219,
-0.0456976480782032,
0.014386610127985477,
-0.021168263629078865,
0.03164205700159073,
-0.03955256938934326,
0.006726483348757029,
0.0579538494348526,
0.06460818648338318,
-0.01802782341837883,
-0.0530988983809948,
0.012502346187829971,
-0.03979022428393364,
0.028213035315275192,
0.003636969020590186,
0.019929062575101852,
-0.06841066479682922,
-0.02643062174320221,
0.02030252106487751,
0.05798780173063278,
-0.01581254042685032,
0.012069474905729294,
0.0028030548710376024,
-0.02481796406209469,
0.042676035314798355,
0.051740873605012894,
0.041589610278606415,
0.017671341076493263,
0.02296765148639679,
-0.0478365421295166,
-0.0012901267036795616,
0.09268542379140854,
-0.04114825278520584,
-0.09682740271091461,
0.027958404272794724,
-0.0039934515953063965,
0.041318006813526154,
0.03700626641511917,
0.012714538723230362,
-0.02536117471754551,
-0.021983079612255096,
-0.011127343401312828,
-0.007842612452805042,
-0.030929090455174446,
-0.001555366558022797,
-0.011899721808731556,
0.012731513939797878,
-0.022135859355330467,
-0.06026249751448631,
0.009107275865972042,
-0.007685590535402298,
0.0884755328297615,
0.04328714683651924,
0.016126584261655807,
-0.03687046468257904,
0.11366695165634155,
-0.009064837358891964,
-0.005915910005569458,
0.002353208139538765,
0.03109884448349476,
0.045459993183612823,
0.025429077446460724,
0.01814665086567402,
0.029825692996382713,
0.05466063320636749,
-0.027992354705929756,
0.001090666395612061,
0.08956195414066315,
0.06562671065330505,
-0.011381973512470722,
0.025870436802506447,
0.03196458891034126,
0.039858125150203705,
0.0019351900555193424,
0.04023158177733421,
-0.04301553964614868,
-0.0628088042140007,
-0.04960197955369949,
-0.027890503406524658,
0.018655911087989807,
0.04770073667168617,
-0.004163205157965422,
-0.011449874378740788,
0.008436749689280987,
-0.028909023851156235,
-0.035342682152986526,
0.051197659224271774,
0.014938309788703918,
-0.014335684478282928,
0.02697383426129818,
-0.00757949473336339,
0.0015850734198465943,
-0.02765284851193428,
-0.004702172242105007,
0.04097849875688553,
0.04658036679029465,
0.06966684013605118,
-0.012510834261775017,
0.03510502725839615,
-0.030674461275339127,
-0.0680711567401886,
-0.031845759600400925,
-0.0135633060708642,
-0.013037069700658321,
-0.0130795082077384,
-0.06240139156579971,
-0.008203338831663132,
-0.03349236771464348,
-0.004918608348816633,
0.02709266170859337,
0.019521653652191162,
0.0030131249222904444,
0.05248778685927391,
-0.005966836120933294,
0.04488283023238182,
-0.013317163102328777,
0.01750158704817295,
-0.04892296344041824,
0.0281960591673851,
-0.024257777258753777,
0.03111582063138485,
0.0491945706307888,
0.04505258426070213,
-0.008118461817502975,
-0.03581799194216728,
0.01923307403922081,
-0.06311435997486115,
-0.051231611520051956,
0.009989994578063488,
0.03415440768003464,
-0.016695259138941765,
-0.031591128557920456,
0.015990780666470528,
-0.004990753252059221,
-0.05045074597001076,
0.013996177352964878,
0.02244141511619091,
0.010940614156425,
-0.015379668213427067,
0.0028900536708533764,
-0.013919788412749767,
0.014420561492443085,
-0.0408426970243454,
0.028009330853819847,
0.03649700805544853,
0.01802782341837883,
-0.012536297552287579,
0.03615749999880791,
-0.0429815910756588,
-0.011033978313207626,
0.05686742812395096,
-0.054694581776857376,
-0.03096304088830948,
-0.047463081777095795,
0.025480002164840698,
0.035308729857206345,
-0.0486174076795578,
0.04389825835824013,
-0.01773924194276333,
-0.03917911276221275,
-0.03126859664916992,
-0.019946038722991943,
-0.010940614156425,
-0.021032460033893585,
-0.024919817224144936,
-0.039348866790533066,
-0.06735819578170776,
0.0061493213288486,
0.005224164575338364,
0.00029070291202515364,
0.01002394501119852,
-0.0056230854243040085,
0.020098816603422165,
-0.003369607264176011,
-0.06471004337072372,
0.054287176579236984,
-0.03196458891034126,
0.03201551362872124,
0.020489249378442764,
0.07231499999761581,
0.030080324038863182,
0.023307157680392265,
-0.06732424348592758,
-0.02911272831261158,
0.0272284634411335,
-0.0063700005412101746,
0.013452966697514057,
0.019555605947971344,
0.027720749378204346,
-0.014513925649225712,
0.047327280044555664,
-0.012485370971262455,
0.030623534694314003,
0.013648183085024357,
-0.02376549318432808,
0.006760433781892061,
-0.03002939745783806,
-0.023018576204776764,
-0.025870436802506447,
-0.01535420585423708,
0.0028072986751794815,
-0.02658340148627758,
0.024614259600639343,
-0.004464517347514629,
-0.004388128407299519,
0.012307129800319672,
-0.006607655435800552,
0.00603898148983717,
0.05197852849960327,
0.049364324659109116,
-0.020642027258872986,
-0.02726241573691368,
-0.03761737793684006,
0.0513334646821022,
-0.06100941449403763,
-0.014887383207678795,
0.07747550308704376,
-0.014573339372873306,
-0.077407605946064,
-0.006633118726313114,
0.02121919021010399,
0.029163654893636703,
-0.005487282294780016,
-0.01683954894542694,
-0.058293357491493225,
-0.025615805760025978,
-0.009455271065235138,
-0.004579101223498583,
0.02030252106487751,
0.010100333951413631,
0.02442753128707409,
0.026125065982341766,
0.004097425378859043,
0.00631058681756258,
-0.05690138041973114,
-0.020387398079037666,
-0.02444450557231903,
-0.053743962198495865,
0.017552513629198074,
-0.09071628004312515,
-0.08480885624885559,
-0.045629747211933136,
-0.03393372893333435,
-0.020098816603422165,
-0.04980568215250969,
0.04223467409610748,
0.011033978313207626,
0.033458419144153595,
-0.040638990700244904,
-0.022084932774305344,
-0.007256962824612856,
0.03342446684837341,
0.004021036438643932,
0.010524718090891838,
0.019725358113646507,
0.02699080854654312,
0.039484668523073196,
0.022780921310186386,
-0.01014277245849371,
-0.012145863845944405,
0.040808744728565216,
-0.03877170383930206,
-0.0253781508654356,
0.008776256814599037,
0.016678282991051674,
-0.003895843168720603,
0.044679123908281326,
-0.016423651948571205,
-0.06732424348592758,
0.008067536167800426,
-0.03591984510421753,
0.030419830232858658,
-0.04033343493938446,
0.016270874068140984,
-0.024953767657279968,
0.00474036717787385,
-0.053200751543045044,
-0.01121221948415041,
-0.030080324038863182,
-0.030912116169929504,
0.026770129799842834,
-0.010346476919949055,
-0.06905572861433029,
-0.0678674578666687,
-0.0016943522496148944,
-0.047598887234926224,
0.008500407449901104,
-0.0744878426194191,
-0.03496922552585602,
0.001524598803371191,
-0.012273179367184639,
0.056969281286001205,
-0.018537083640694618,
-0.03911121189594269,
0.03043680638074875,
-0.03191366046667099,
-0.0029940276872366667,
0.09383974224328995,
-0.020251594483852386,
-0.05252173915505409,
0.03917911276221275,
0.03366212174296379,
0.010448329150676727,
0.0036475786473602057,
0.03860194981098175,
0.037583429366350174,
-0.03430718556046486,
-0.06277485191822052,
-0.0783582255244255,
0.015192939899861813,
-0.017145104706287384,
-0.01674618385732174,
0.006204491015523672,
-0.016661306843161583,
-0.04036738723516464,
0.014615777879953384,
0.011381973512470722,
0.07591377198696136,
0.012247716076672077,
-0.05771619454026222,
0.010117309167981148,
0.024733087047934532,
-0.04046923667192459,
0.002038103062659502,
-0.07346932590007782,
0.0005448026931844652,
0.0069726258516311646,
0.017790168523788452,
-0.004048621281981468,
-0.016245411708950996,
0.03568219020962715,
-0.014199881814420223,
0.016865011304616928,
0.049228519201278687,
0.008398555219173431,
0.07027795910835266,
0.002612082287669182,
-0.015990780666470528,
0.0032401701901108027,
0.004335080273449421,
-0.03434113785624504,
0.01750158704817295,
0.040944550186395645,
-0.019929062575101852,
0.007019307930022478,
0.023986171931028366,
0.018655911087989807,
-0.019029369577765465,
0.06233349069952965,
-0.019267024472355843,
-0.012196790426969528,
-0.045867402106523514,
-0.0649476945400238,
-0.051469266414642334,
-0.04237047955393791,
-0.03456181660294533,
-0.0408426970243454,
-0.06036435067653656,
0.04410196468234062,
-0.037990838289260864,
0.0400618314743042,
0.005432112608104944,
0.016398189589381218,
0.03809268772602081,
0.027177538722753525,
-0.025480002164840698,
-0.009692925959825516,
0.06270694732666016,
0.002043407876044512,
-0.00019773632811848074,
0.010966077446937561,
-0.038907505571842194,
0.0015256596961989999,
-0.005818301811814308,
-0.05221618339419365,
0.013054045848548412,
0.015371181070804596,
0.008356116712093353,
0.07401253283023834,
-0.02335808426141739,
0.020947584882378578,
-0.039722323417663574,
-0.05452483147382736,
-0.06657733023166656,
0.032677553594112396,
-0.0008636210113763809,
0.02539512701332569,
0.015031673945486546,
0.05673162639141083,
-0.02098153531551361,
-0.0069768694229424,
-0.013452966697514057,
-0.0033929485362023115,
0.018333379179239273,
-0.021202214062213898,
-0.03138742595911026,
0.009277029894292355,
-0.0037600405048578978,
-0.009200640954077244,
-0.027856552973389626,
0.07333351671695709,
-0.0026269357185810804,
0.04284578934311867,
-0.013054045848548412,
0.054049521684646606,
-0.016983838751912117,
0.04335504770278931,
-0.03417138382792473,
-0.03376397490501404,
0.012604198418557644,
-0.016983838751912117,
-0.012001574039459229,
0.0008880230598151684,
-0.01790899597108364,
-0.027941428124904633,
0.027279390022158623,
-0.02549697831273079,
-0.037345774471759796,
-0.025530928745865822,
0.007180573884397745,
-0.017043253406882286,
-0.04349084943532944,
-0.013266237452626228,
-0.018265478312969208,
-0.04087664559483528,
0.014446023851633072,
0.014513925649225712,
-0.03176088258624077,
0.06185818091034889,
0.03350934386253357,
-0.034935273230075836,
0.022594192996621132,
0.06409892439842224,
0.00807178020477295,
0.013045557774603367,
-0.04579949751496315,
0.03697231784462929,
0.0011670554522424936,
0.015880441293120384,
0.08840762823820114,
0.0017845338443294168,
-0.010762372985482216,
-0.014072566293179989,
0.02203400619328022,
0.0018375818617641926,
-0.028807172551751137,
-0.053370505571365356,
0.006454877555370331,
0.03975627198815346,
-0.0035075319465249777,
-0.06562671065330505,
-0.0758458748459816,
-0.06406497955322266,
0.05011123791337013,
-0.013690621592104435,
-0.030742362141609192,
0.018078749999403954,
0.03788898512721062,
0.01577010191977024,
0.0727224051952362,
0.041453808546066284,
-0.030351929366588593,
0.009421320632100105,
0.027075685560703278,
0.024206850677728653,
0.06742610037326813,
0.007341839838773012,
0.01936887577176094,
-0.0221698097884655,
-0.0039382814429700375,
0.03588589280843735,
-0.0024868890177458525,
0.03204946219921112,
-0.10225951671600342,
-0.04457727447152138,
0.017942946404218674,
0.014106517657637596,
-0.037176020443439484,
-0.023986171931028366,
-0.01195913553237915,
0.057478539645671844,
0.019946038722991943,
0.026787105947732925,
0.02765284851193428,
0.0655248612165451,
-0.05730878561735153,
0.08175329118967056,
-0.043864309787750244,
0.09390764683485031,
0.010957589372992516,
0.001152202021330595,
-0.03389977663755417,
0.002024310640990734,
-0.05435507744550705,
0.06308040767908096,
-0.07598167657852173,
0.03333958983421326,
-0.01402164064347744,
-0.00032597981044091284,
-0.03887355700135231,
0.05720693618059158,
0.019708383828401566,
0.05092605575919151,
-0.021015485748648643,
0.006590680219233036,
0.006662825588136911,
0.019453752785921097,
-0.04366060346364975,
-0.005334504414349794,
0.02750007063150406,
-0.056697674095630646,
0.018876591697335243,
0.05062049999833107,
0.014233832247555256,
-0.017467636615037918,
0.051095809787511826,
0.020506225526332855,
0.026379697024822235,
-0.04461122304201126,
-0.01101700309664011,
-0.014106517657637596,
-0.04837975278496742,
-0.013809449039399624,
-0.010261599905788898,
0.07910513877868652,
-0.041046399623155594,
0.014955285005271435,
-0.01977628469467163,
-0.013962226919829845
]
|
40,349 | pyglove.core.symbolic.base | to_json | Alias for `sym_jsonify`. | def to_json(self, **kwargs) -> object_utils.JSONValueType:
"""Alias for `sym_jsonify`."""
return self.sym_jsonify(**kwargs)
| (self, **kwargs) -> Union[int, float, bool, str, List[Any], Dict[str, Any]] | [
0.014686129055917263,
-0.10292661190032959,
0.08221404999494553,
-0.00581878237426281,
-0.004692138638347387,
-0.006901243701577187,
-0.024688955396413803,
-0.007815812714397907,
-0.0002478339592926204,
-0.049589987844228745,
0.051852110773324966,
0.007144245319068432,
-0.0067024240270257,
-0.008920365944504738,
-0.0047981757670640945,
0.03121023438870907,
0.006901243701577187,
0.0103297745808959,
0.047398556023836136,
0.06231443211436272,
-0.014703801833093166,
-0.014067579992115498,
0.02756962925195694,
-0.012114731594920158,
-0.0055227624252438545,
-0.0031479743774980307,
0.026579950004816055,
0.019758233800530434,
-0.0407535657286644,
-0.007824649102985859,
-0.04495970159769058,
-0.004265781491994858,
0.033878833055496216,
0.03341933712363243,
0.06075922027230263,
-0.028895091265439987,
-0.05718930810689926,
0.06892406940460205,
-0.0750742182135582,
-0.03721899911761284,
-0.037678491324186325,
0.026350203901529312,
-0.06807577610015869,
-0.021419480443000793,
0.04230877757072449,
-0.012256113812327385,
-0.019934963434934616,
0.03792591392993927,
0.05941608548164368,
-0.03831471502780914,
0.025625616312026978,
-0.03089212253689766,
0.02081860415637493,
0.01892761141061783,
-0.027233844622969627,
0.006746606435626745,
0.025820018723607063,
0.00587180070579052,
-0.040788911283016205,
0.0364767387509346,
-0.04361656680703163,
0.011063197627663612,
0.022250104695558548,
-0.02993778884410858,
0.0008140551508404315,
0.014041070826351643,
-0.06475327908992767,
0.011284107342362404,
0.005619962699711323,
0.04778735712170601,
-0.013961543329060078,
-0.09239359945058823,
-0.005407888907939196,
0.011010178364813328,
0.04609076306223869,
0.005465325433760881,
-0.0009869176428765059,
-0.001673396909609437,
-0.021172061562538147,
-0.04570196196436882,
0.00713540893048048,
-0.02543121576309204,
-0.04902445524930954,
0.007060299161821604,
-0.023080727085471153,
0.023699278011918068,
-0.01179661974310875,
0.008814328350126743,
-0.0391630120575428,
-0.005226742010563612,
-0.04043545573949814,
0.008460871875286102,
-0.04089495167136192,
0.055598750710487366,
-0.014518237672746181,
-0.05920401215553284,
0.01776120252907276,
-0.048458926379680634,
0.062031663954257965,
0.023787641897797585,
0.03937508538365364,
-0.01613530144095421,
-0.044500209391117096,
-0.02011169120669365,
-0.017301710322499275,
-0.0686766505241394,
0.03142230957746506,
-0.009207549504935741,
-0.02483033947646618,
0.022020356729626656,
-0.025254487991333008,
0.09211083501577377,
0.011257598176598549,
-0.06199631839990616,
0.0007809185772202909,
0.06553088873624802,
-0.010038172826170921,
0.014677292667329311,
0.04156651720404625,
0.008306234143674374,
-0.041919972747564316,
0.0504029355943203,
0.042874306440353394,
0.0348508395254612,
0.01947546936571598,
0.05775483697652817,
-0.006834970321506262,
-0.00023375090677291155,
0.030026154592633247,
0.02954898774623871,
0.03417927026748657,
0.02767566591501236,
-0.01485402137041092,
0.045065738260746,
0.0466562956571579,
0.019192703068256378,
0.007700939662754536,
-0.006733351852744818,
0.03728969022631645,
0.04372260347008705,
0.04994344338774681,
0.01866251789033413,
-0.016046937555074692,
-0.052028838545084,
-0.03926904872059822,
0.018574154004454613,
0.030114518478512764,
0.021225079894065857,
-0.07260002195835114,
-0.028523962944746017,
0.06012300029397011,
0.018839245662093163,
0.07472076267004013,
0.022020356729626656,
0.006185493897646666,
0.041813936084508896,
-0.006172238849103451,
-0.03294217213988304,
-0.007431428879499435,
-0.010798105038702488,
-0.009269404225051403,
0.006941007450222969,
-0.005717163439840078,
-0.03202318400144577,
0.01942245103418827,
0.04050614684820175,
0.07274140417575836,
-0.03835006058216095,
-0.022497523576021194,
0.012220768257975578,
-0.014094089157879353,
-0.04082425683736801,
0.012167749926447868,
0.014836348593235016,
0.01743425615131855,
0.055704787373542786,
0.01711614429950714,
0.04799943044781685,
0.0007262432482093573,
0.038597479462623596,
0.046797677874565125,
-0.06952495127916336,
-0.060476455837488174,
0.03972854092717171,
0.06701540946960449,
-0.025360524654388428,
0.00877456460148096,
-0.020624203607439995,
0.04040011018514633,
0.01421779952943325,
0.018432771787047386,
0.04732786491513252,
0.027852393686771393,
0.0135462312027812,
-0.02440619096159935,
-0.05337197333574295,
-0.0014469637535512447,
-0.010586030781269073,
-0.07931569963693619,
0.049377910792827606,
-0.03743107244372368,
-0.016329703852534294,
-0.018591826781630516,
-0.016815707087516785,
0.002266541589051485,
-0.018150005489587784,
0.041601862758398056,
-0.07199914753437042,
0.053336627781391144,
-0.058603134006261826,
-0.012326804921030998,
-0.016859889030456543,
-0.05298317223787308,
-0.0009559901664033532,
0.0067377700470387936,
-0.03760780021548271,
0.04280361533164978,
-0.018574154004454613,
-0.012512370012700558,
0.028223523870110512,
0.029301567003130913,
-0.004621447529643774,
-0.03668881580233574,
-0.0375371091067791,
0.013979216106235981,
-0.028188178315758705,
0.003709087148308754,
-0.016382722184062004,
-0.002379206009209156,
-0.023239783942699432,
-0.04573730751872063,
-0.031616710126399994,
-0.018521135672926903,
0.02071256749331951,
-0.008381344377994537,
0.016665486618876457,
0.030008481815457344,
-0.03866817057132721,
-0.01324579305946827,
0.007519793231040239,
0.02981407940387726,
-0.0067907883785665035,
-0.0024852429050952196,
0.027923086658120155,
-0.011849639005959034,
0.030008481815457344,
0.07556906342506409,
0.08292096108198166,
0.030397282913327217,
0.009393113665282726,
0.05015551671385765,
-0.04531316086649895,
0.01174360141158104,
0.01618831977248192,
-0.020041000097990036,
-0.027923086658120155,
0.044288136065006256,
0.036936234682798386,
0.013254629448056221,
-0.00659638736397028,
0.000733975088223815,
0.020730240270495415,
-0.029142512008547783,
0.02440619096159935,
0.01630319468677044,
-0.02306305430829525,
-0.006194330286234617,
0.009021984413266182,
-0.037148308008909225,
0.05422027036547661,
-0.0654248520731926,
-0.06825250387191772,
-0.011911493726074696,
-0.014058743603527546,
0.015198641456663609,
0.007329809945076704,
-0.008854092098772526,
-0.02472430281341076,
0.01882157288491726,
-0.027905413880944252,
-0.009366604499518871,
-0.03930439427495003,
0.023911351338028908,
-0.033719778060913086,
-0.011999857611954212,
0.012989536859095097,
0.006030856166034937,
0.02970804274082184,
0.0003600840864237398,
-0.04032941907644272,
0.050721049308776855,
0.025767000392079353,
-0.0009300331585109234,
0.026456240564584732,
0.08553653955459595,
-0.003709087148308754,
-0.013334156945347786,
-0.033118899911642075,
0.08178990334272385,
0.025979073718190193,
-0.04032941907644272,
0.03417927026748657,
0.046691641211509705,
0.03255337104201317,
-0.014244308695197105,
-0.03136929124593735,
0.0348508395254612,
-0.013926196843385696,
-0.043475184589624405,
0.0477520115673542,
-0.03842075169086456,
0.042026013135910034,
-0.04467693716287613,
0.04188462719321251,
-0.054361652582883835,
-0.003952088765799999,
-0.028135159984230995,
-0.006980771664530039,
0.043475184589624405,
0.038173332810401917,
-0.03147532790899277,
-0.056871198117733,
-0.0019418032607063651,
-0.02654460445046425,
0.025660961866378784,
-0.01217658631503582,
-0.020518166944384575,
0.005036759190261364,
0.08999009430408478,
-0.002452106447890401,
-0.002196954796090722,
-0.04167255386710167,
0.04898910969495773,
0.020341437309980392,
-0.026456240564584732,
-0.023893678560853004,
0.05708327144384384,
-0.004811430349946022,
-0.0702318623661995,
0.022197086364030838,
-0.03951646760106087,
-0.027799375355243683,
0.013228120282292366,
0.01252120640128851,
-0.08256750553846359,
-0.0032363387290388346,
0.028082141652703285,
-0.04252085089683533,
0.03707761690020561,
-0.01711614429950714,
-0.03626466542482376,
0.03958715870976448,
0.026774350553750992,
0.054573725908994675,
-0.04983740672469139,
-0.040788911283016205,
0.013289975002408028,
-0.03223525732755661,
-0.03796125948429108,
-0.018909938633441925,
0.003430739976465702,
0.03453272953629494,
0.01845044456422329,
0.016011592000722885,
0.058178987354040146,
0.01818535104393959,
0.022250104695558548,
-0.009578678756952286,
0.05139261484146118,
-0.030803758651018143,
-0.016965925693511963,
0.012538879178464413,
-0.02698642574250698,
-0.029460621997714043,
-0.030591685324907303,
0.08765728026628494,
-0.009905626066029072,
0.02371695078909397,
-0.05118054151535034,
-0.028117487207055092,
-0.010780432261526585,
-0.04319242015480995,
-0.008832001127302647,
0.03668881580233574,
0.04686836898326874,
0.027604974806308746,
0.05429096147418022,
-0.04177859053015709,
0.01678919792175293,
0.020535839721560478,
-0.08094160258769989,
-0.025820018723607063,
0.019934963434934616,
0.04269757866859436,
-0.015569771640002728,
-0.018362080678343773,
-0.014403363689780235,
-0.017796549946069717,
-0.030344264581799507,
0.03336631879210472,
-0.010692067444324493,
-0.03481549397110939,
0.057684145867824554,
-0.0059115649200975895,
-0.03158136457204819,
-0.06210235506296158,
0.03743107244372368,
-0.010683231055736542,
0.0321822389960289,
0.046479567885398865,
-0.015605117194354534,
-0.023504875600337982,
-0.05662377551198006,
-0.033507704734802246,
0.05156934633851051,
-0.0013188356533646584,
-0.0011862893588840961,
-0.007250282447785139,
0.009313586167991161,
0.01898062974214554,
0.0214548259973526,
0.006949843838810921,
-0.002653134986758232,
0.04011734575033188,
0.015481406822800636,
-0.01174360141158104,
0.04216739535331726,
0.03244733437895775,
0.016859889030456543,
0.06086525693535805,
0.047115787863731384,
0.011717092245817184,
0.01217658631503582,
-0.040576837956905365,
0.02831188775599003,
0.030803758651018143,
0.04520712420344353,
-0.10101795196533203,
0.009914462454617023,
0.03191714733839035,
0.007184009067714214,
0.05397285148501396,
-0.07196380198001862,
0.027233844622969627,
0.008588999509811401,
-0.028188178315758705,
-0.012830480933189392,
0.04365191236138344,
0.02670365944504738,
-0.017045453190803528,
0.057259999215602875,
-0.016859889030456543,
0.06295065581798553,
-0.0971299260854721,
-0.05128657817840576,
-0.018203023821115494,
0.02408807910978794,
-0.05863847956061363,
0.023557893931865692,
-0.01618831977248192,
0.04269757866859436,
-0.030962813645601273,
-0.034302979707717896,
-0.006468259263783693,
-0.028223523870110512,
0.03152834624052048,
-0.03718365356326103,
0.0018788437591865659,
-0.03500989452004433,
0.003868142608553171,
0.06475327908992767,
0.04697440564632416,
-0.055068567395210266,
-0.018574154004454613,
-0.0070161172188818455,
0.06033507362008095,
-0.01378481462597847,
-0.016223667189478874,
-0.06386964023113251,
-0.06984306126832962,
-0.0648946687579155,
-0.021543191745877266,
-0.0034705037251114845,
-0.009852607734501362,
0.0509684681892395,
0.08058814704418182,
0.056941889226436615,
-0.002308514667674899,
0.040046654641628265,
0.03690088912844658,
-0.009348931722342968,
0.0799519270658493,
-0.0035168949980288744,
0.017690511420369148,
0.03739572688937187,
0.05810829624533653,
-0.031015831977128983,
-0.062031663954257965,
-0.0321822389960289,
0.03760780021548271,
-0.02756962925195694,
0.011045524850487709,
-0.02762264758348465,
0.015428388491272926,
-0.031404636800289154,
-0.04322776570916176,
0.003360048634931445,
0.017292873933911324,
-0.0429096519947052,
-0.008036723360419273,
-0.0022554961033165455,
0.033560723066329956,
0.07408454269170761,
0.000893030664883554,
0.010338610969483852,
0.03686554357409477,
0.011717092245817184,
0.01786724105477333,
-0.03866817057132721,
-0.04594938084483147,
-0.06775766611099243,
-0.027057116851210594,
-0.014164780266582966,
-0.028223523870110512,
-0.03515127673745155,
-0.0027348718140274286,
-0.009587515145540237,
0.007586066145449877,
0.018627172335982323,
0.047221824526786804,
-0.003384348703548312,
0.0037223417311906815,
-0.05231160297989845,
0.03500989452004433,
-0.06397567689418793,
0.029973134398460388,
0.017142653465270996,
0.09317120909690857,
0.00955216959118843,
-0.044182099401950836,
0.014624274335801601,
0.04672698676586151,
-0.015534426085650921,
-0.03105117753148079,
-0.008098578080534935,
0.007930686697363853,
0.0036582776810973883,
0.004208344966173172,
0.007864413782954216,
-0.01963452436029911,
-0.03110419772565365,
-0.01613530144095421,
0.04552523419260979,
0.02005867287516594,
-0.027180826291441917,
-0.02746359258890152,
0.05209952965378761,
-0.024600591510534286,
-0.023469530045986176,
0.007855577394366264,
0.008955711498856544,
0.10066448897123337,
0.015145623125135899,
-0.051357269287109375,
-0.059840232133865356,
0.041601862758398056,
0.007815812714397907,
0.06365756690502167,
-0.03781987726688385,
0.012485860846936703,
-0.006220839451998472,
-0.023964369669556618,
0.08249681442975998,
0.004466810263693333,
0.040682874619960785,
0.011036688461899757,
0.014889366924762726,
0.03110419772565365,
-0.011902657337486744,
-0.03895093873143196,
-0.032146893441677094,
0.04050614684820175,
-0.06270323693752289,
-0.04121306166052818,
0.03228827565908432,
0.0022820052690804005,
-0.014933548867702484,
0.05552805960178375,
0.0048865401186048985,
-0.010170718654990196,
-0.023345820605754852,
0.030697721987962723,
-0.024070406332612038,
0.0007312137167900801,
0.00955216959118843,
-0.026615295559167862,
-0.06429378688335419,
0.031245579943060875,
0.006967516615986824,
-0.03191714733839035,
-0.03131626918911934,
0.02263890765607357,
0.0023880423977971077,
-0.025060085579752922,
0.031934820115566254,
0.024070406332612038,
-0.025837691500782967,
0.007471192628145218,
-0.01876855455338955,
-0.04442951828241348,
-0.028011450543999672,
0.03384348750114441,
-0.004700975026935339,
-0.031404636800289154,
-0.0032672660890966654,
0.018803900107741356,
-0.031722746789455414,
0.014120598323643208,
-0.046479567885398865,
-0.000051154584070900455,
-0.007351900916546583,
-0.012989536859095097,
-0.010373956523835659,
-0.016815707087516785,
0.022091049700975418,
-0.027534283697605133,
-0.023575566709041595,
0.04587868973612785,
-0.0008786714752204716,
-0.024282481521368027,
-0.03158136457204819,
-0.012150077149271965,
0.04785804823040962,
-0.0284355990588665,
0.002489661332219839,
-0.06316272914409637,
-0.04064752906560898,
0.015737663954496384,
0.02970804274082184,
0.038173332810401917,
-0.00022505255765281618,
-0.005982256028801203,
-0.061395443975925446,
0.04054149240255356,
-0.06602572649717331,
0.021949665620923042,
-0.00265534408390522,
-0.01781422272324562,
-0.011195743456482887,
-0.021437153220176697,
-0.015887882560491562,
-0.017089635133743286,
-0.017398910596966743,
-0.0321822389960289,
0.0030574011616408825,
0.04796408489346504,
-0.023151420056819916,
-0.01163756474852562,
0.04156651720404625,
-0.016444576904177666,
-0.03283613547682762,
0.026191147044301033,
-0.11777179688215256,
-0.024848012253642082,
0.013219283893704414,
0.0035102677065879107,
-0.05411423370242119,
-0.012565388344228268,
0.0799519270658493,
-0.014606601558625698,
0.030803758651018143,
0.0054388162679970264,
0.04071822017431259,
0.012503533624112606,
-0.09055563062429428,
0.0011365844402462244,
-0.00558019895106554,
0.07811395078897476,
0.035434041172266006,
-0.011328290216624737,
-0.05708327144384384,
-0.03813798725605011,
-0.02216174080967903,
0.08178990334272385,
-0.07429661601781845,
0.00219364115037024,
-0.019775906577706337,
0.060582492500543594,
-0.00024134470731951296,
-0.044924356043338776,
0.035487059503793716,
-0.04517177864909172,
-0.05482114851474762,
-0.04644422233104706,
-0.03578750044107437,
-0.004745157435536385,
-0.022886326536536217,
-0.02762264758348465,
0.042238086462020874,
0.013714123517274857,
0.0007538570207543671,
-0.009145693853497505,
0.042768269777297974,
0.013042555190622807,
0.10214900970458984,
0.012070548720657825,
0.03131626918911934,
-0.04488901048898697,
0.04269757866859436,
-0.024176444858312607,
-0.044500209391117096,
0.031669728457927704,
0.0011144934687763453,
-0.019881943240761757,
-0.03515127673745155,
0.010073518380522728,
-0.013590413145720959,
0.027799375355243683,
0.002558143576607108,
0.059734195470809937,
-0.0135462312027812,
-0.014544746838510036,
0.015375370159745216,
-0.029672697186470032,
0.022091049700975418,
0.013475540094077587,
-0.014085252769291401,
0.015534426085650921,
0.019510814920067787,
-0.012583061121404171,
0.00016499252524226904,
0.02150784432888031,
-0.0008792237495072186,
0.008482962846755981,
0.0068791527301073074,
-0.029319239780306816,
-0.01618831977248192,
-0.009640533477067947,
-0.012397496961057186,
0.043369147926568985,
-0.027958432212471962,
0.06888872385025024,
-0.011328290216624737,
0.0019727307371795177,
0.07104481011629105,
-0.00021041724539827555,
0.014553583227097988,
0.03651208430528641,
0.01630319468677044,
-0.06238512322306633,
-0.01876855455338955,
0.0632687658071518,
-0.0027878903783857822,
-0.04103633388876915,
0.071893110871315,
0.010533012449741364,
-0.03562844544649124,
0.06726282835006714,
0.020836276933550835,
-0.025979073718190193,
-0.10144209861755371,
-0.01899830251932144,
-0.0429096519947052,
0.0032429660204797983,
-0.03068004921078682,
0.03516894951462746,
-0.016329703852534294,
-0.022020356729626656
]
|
40,350 | pyglove.core.symbolic.base | to_json_str | Serializes current object into a JSON string. | def to_json_str(self, json_indent: Optional[int] = None, **kwargs) -> str:
"""Serializes current object into a JSON string."""
return json.dumps(self.sym_jsonify(**kwargs), indent=json_indent)
| (self, json_indent: Optional[int] = None, **kwargs) -> str | [
-0.0082927281036973,
-0.08371453732252121,
0.04847376048564911,
-0.01349835004657507,
0.02434302680194378,
-0.0427064448595047,
-0.03462158888578415,
-0.007549699861556292,
0.015329385176301003,
-0.03789445012807846,
0.015594752505421638,
-0.041397299617528915,
-0.036549922078847885,
0.0019217015942558646,
-0.019141828641295433,
-0.0004983929684385657,
0.01609010435640812,
-0.06701409071683884,
0.052295051515102386,
0.048155318945646286,
0.013746026903390884,
0.03585996851325035,
0.04295412078499794,
0.024696851149201393,
-0.022821588441729546,
0.02910194732248783,
-0.014435981400310993,
0.024449175223708153,
-0.014205996878445148,
-0.02064557559788227,
-0.016762368381023407,
-0.050313640385866165,
0.04925217106938362,
0.04659849777817726,
0.022874662652611732,
0.013931783847510815,
-0.035930734127759933,
0.02789894863963127,
-0.08038860559463501,
-0.08328995108604431,
-0.012304197065532207,
0.034232381731271744,
-0.06106986105442047,
-0.006249399855732918,
0.02151244319975376,
-0.0059309592470526695,
-0.010933132842183113,
0.04843837767839432,
0.0584515705704689,
-0.02715592086315155,
0.045713942497968674,
-0.0022445651702582836,
-0.019000299274921417,
-0.00911979004740715,
-0.02268005907535553,
0.0007303129532374442,
0.0385667160153389,
-0.038991302251815796,
-0.006532458588480949,
-0.009986656717956066,
-0.04606776311993599,
0.008420988917350769,
0.05339190363883972,
0.005807121284306049,
-0.04532473534345627,
-0.017841529101133347,
-0.1007688120007515,
0.02184857428073883,
0.012728785164654255,
0.01699235290288925,
0.002011263044551015,
-0.05700089782476425,
-0.00927016418427229,
0.027545126155018806,
-0.027722038328647614,
-0.002808470744639635,
-0.042104944586753845,
-0.027173612266778946,
-0.027421288192272186,
-0.05664707347750664,
-0.026430584490299225,
-0.07097690552473068,
-0.04302488639950752,
-0.02048635669052601,
-0.014374062418937683,
-0.015930883586406708,
-0.029084255918860435,
0.013577960431575775,
-0.01630239747464657,
-0.008814617060124874,
-0.040441978722810745,
0.055833280086517334,
-0.010535081848502159,
0.05880539491772652,
-0.003973875194787979,
-0.01854032836854458,
0.017425786703824997,
-0.04203418269753456,
0.07656731456518173,
0.0225916039198637,
0.025528334081172943,
-0.010561618953943253,
-0.07819490134716034,
-0.017310794442892075,
-0.0398050956428051,
-0.05339190363883972,
0.006156521383672953,
0.004820839501917362,
-0.014975561760365963,
0.020698649808764458,
-0.012675711885094643,
0.047659967094659805,
0.005457720719277859,
-0.06336971372365952,
0.05869924649596214,
0.022821588441729546,
0.008695201948285103,
0.02131783962249756,
0.07242758572101593,
-0.03531154245138168,
0.004816416651010513,
0.01271109376102686,
0.032480958849191666,
0.03088875487446785,
0.018009593710303307,
0.01953103393316269,
-0.02558140829205513,
0.027438979595899582,
0.0215655155479908,
-0.019548725336790085,
0.05289654806256294,
0.0016021551564335823,
-0.001374381477944553,
0.02752743475139141,
0.10161798447370529,
0.03884977474808693,
-0.008589055389165878,
0.006669565103948116,
0.003372376086190343,
0.09447076171636581,
0.07200299948453903,
-0.016364317387342453,
-0.03810674697160721,
0.01854032836854458,
-0.02574062906205654,
0.017222337424755096,
0.0027664541266858578,
0.014727885834872723,
-0.0393805094063282,
-0.03582458570599556,
0.07034002989530563,
0.011968065984547138,
0.03711603954434395,
-0.020840179175138474,
-0.01675352267920971,
0.032817091792821884,
-0.04076041653752327,
-0.011030434630811214,
0.028836579993367195,
-0.024059969931840897,
-0.013064917176961899,
-0.013100299052894115,
-0.020504048094153404,
-0.013931783847510815,
0.04252953454852104,
0.020220989361405373,
0.03260479494929314,
-0.03302938491106033,
-0.01214497722685337,
-0.004896027036011219,
-0.0000759475733502768,
-0.034603897482156754,
0.02724437601864338,
0.02554602548480034,
0.014674811623990536,
0.06906626373529434,
-0.000013726193174079526,
0.043520238250494,
-0.04175112396478653,
-0.010835831984877586,
0.03550614416599274,
-0.06457271426916122,
-0.021954722702503204,
0.0406188890337944,
0.06666027009487152,
-0.06747405976057053,
0.01799190416932106,
-0.032020989805459976,
0.05038440600037575,
-0.0021760119125247,
-0.015064017847180367,
0.04122038930654526,
0.010393552482128143,
0.0024878184776753187,
-0.014435981400310993,
-0.03711603954434395,
0.0398050956428051,
-0.027686655521392822,
-0.025510644540190697,
0.013905246742069721,
-0.03253403306007385,
0.009553222917020321,
-0.03637301176786423,
-0.033595502376556396,
0.03172023966908455,
-0.015117091126739979,
0.0029455770272761583,
-0.0696323812007904,
0.033312443643808365,
-0.04295412078499794,
-0.0029522113036364317,
-0.0203094445168972,
-0.003171139396727085,
-0.030835680663585663,
0.053427282720804214,
0.045997001230716705,
0.04171574115753174,
0.03138410672545433,
-0.0020565965678542852,
0.0016353260725736618,
0.03145487233996391,
-0.020380208268761635,
-0.018717240542173386,
-0.02326386794447899,
-0.040441978722810745,
-0.03292323648929596,
0.04390944540500641,
-0.029172712936997414,
-0.0025187779683619738,
-0.003812443697825074,
-0.03345397114753723,
-0.04288335517048836,
0.020663267001509666,
0.016532383859157562,
-0.00743028474971652,
0.013737181201577187,
-0.009942428208887577,
-0.060468364506959915,
-0.0030804721172899008,
-0.04337871074676514,
0.028040478006005287,
-0.024555321782827377,
-0.015285156667232513,
-0.014250224456191063,
0.01567436195909977,
0.011437331326305866,
0.06503268331289291,
0.04776611551642418,
0.019230283796787262,
-0.002574062906205654,
0.05045517161488533,
0.0034940028563141823,
-0.025599099695682526,
0.010986206121742725,
-0.024059969931840897,
-0.034020088613033295,
0.03746986389160156,
0.07034002989530563,
-0.0060282605700194836,
0.04323717951774597,
-0.030092652887105942,
-0.005882308818399906,
-0.07125996798276901,
0.019265666604042053,
0.030623387545347214,
0.005785007495433092,
-0.008911918848752975,
-0.004785457160323858,
-0.030322637408971786,
0.02641289308667183,
-0.011003897525370121,
-0.0518350787460804,
-0.0017967578023672104,
0.0020532794296741486,
-0.0027178034652024508,
-0.016019340604543686,
-0.02724437601864338,
-0.048155318945646286,
-0.0414680652320385,
-0.06266206502914429,
0.010358170606195927,
-0.02869505062699318,
0.05020749568939209,
-0.013949474319815636,
0.002653673058375716,
-0.020574811846017838,
0.025280658155679703,
-0.015444377437233925,
0.03421469032764435,
0.0013765929033979774,
0.0485091432929039,
0.0538872554898262,
0.008558095432817936,
0.04132653400301933,
0.08470524102449417,
-0.01774422638118267,
0.06248515471816063,
-0.026855170726776123,
0.0443694144487381,
0.003310457104817033,
-0.004869489930570126,
0.014940178953111172,
0.06545726954936981,
0.010172413662075996,
-0.02496221847832203,
-0.013861019164323807,
0.01848725602030754,
-0.0015413417713716626,
-0.03838980197906494,
-0.006218440365046263,
-0.02089325338602066,
0.03076491691172123,
0.015002098865807056,
0.04546626657247543,
-0.0667310357093811,
0.015037480741739273,
-0.022609295323491096,
-0.019301049411296844,
0.044050972908735275,
0.034886956214904785,
-0.02073403261601925,
-0.028429683297872543,
-0.004900449421256781,
-0.017178110778331757,
0.05770854279398918,
-0.03683298081159592,
-0.004256933927536011,
0.028995800763368607,
0.04617391154170036,
0.02558140829205513,
-0.016939280554652214,
-0.06400659680366516,
0.02690824493765831,
0.02669595181941986,
0.007722188718616962,
0.004018103238195181,
0.0004455959424376488,
-0.00634227879345417,
-0.08145007491111755,
0.00569212855771184,
0.05547945946455002,
-0.03884977474808693,
0.003801386570557952,
0.0055992500856518745,
-0.07932713627815247,
-0.006205172277987003,
0.041185006499290466,
0.00178570079151541,
0.027509743347764015,
-0.01794767566025257,
-0.04369714856147766,
0.028889654204249382,
0.06450194865465164,
0.022326236590743065,
-0.07203837484121323,
-0.02098170854151249,
0.009420539252460003,
0.014267915859818459,
-0.04826146736741066,
-0.016037030145525932,
-0.029119638726115227,
0.030481858178973198,
0.016576610505580902,
0.01986716501414776,
0.04221109300851822,
0.023316940292716026,
0.05866386741399765,
-0.00911979004740715,
0.06103448197245598,
-0.01148155890405178,
-0.031242577359080315,
0.0068597448989748955,
0.011693852953612804,
-0.01638200879096985,
-0.07267525792121887,
0.12086596339941025,
0.029420388862490654,
-0.0012704459950327873,
-0.04348485544323921,
-0.07642578333616257,
0.009217090904712677,
-0.02015022374689579,
0.06234362721443176,
0.04617391154170036,
0.03637301176786423,
0.0356653667986393,
0.028093552216887474,
-0.03456851467490196,
0.011410794220864773,
0.02061019465327263,
-0.07157840579748154,
-0.034603897482156754,
0.02098170854151249,
0.06874782592058182,
-0.038035981357097626,
-0.061140626668930054,
0.0017724324716255069,
-0.010172413662075996,
-0.05310884490609169,
0.067155621945858,
-0.016841977834701538,
-0.054453372955322266,
0.02018560655415058,
-0.04291873797774315,
-0.0069260867312550545,
-0.017894601449370384,
0.04369714856147766,
0.0018940591253340244,
0.010490854270756245,
0.07076461613178253,
-0.047199998050928116,
-0.031030284240841866,
-0.08852653205394745,
-0.0007065404788590968,
0.05282578617334366,
-0.02453763037919998,
-0.0369037464261055,
0.026235980913043022,
-0.00563020957633853,
0.020468665286898613,
0.0035271737724542618,
0.03987586125731468,
0.02416611649096012,
0.0014097638195380569,
-0.019477959722280502,
-0.018593402579426765,
-0.017487704753875732,
0.037752922624349594,
0.061176009476184845,
0.038460567593574524,
0.008067166432738304,
0.013117990456521511,
0.042352620512247086,
-0.05279040336608887,
0.02857121266424656,
0.010004347190260887,
0.058557718992233276,
-0.04122038930654526,
0.0013014054857194424,
0.038531333208084106,
0.04811993986368179,
-0.015895500779151917,
-0.07649654895067215,
0.05604557693004608,
-0.031614091247320175,
0.01940719597041607,
-0.01021664123982191,
0.040689654648303986,
0.03209175169467926,
0.030481858178973198,
0.05940689519047737,
0.021830882877111435,
-0.015789354220032692,
-0.08229924738407135,
-0.03502848371863365,
-0.04125577211380005,
0.073807492852211,
-0.01903568208217621,
-0.04366176575422287,
0.0052056219428777695,
-0.011614242568612099,
0.0002538957051001489,
0.025015290826559067,
0.0414680652320385,
-0.0024966641794890165,
-0.015125936828553677,
-0.04875681921839714,
0.04295412078499794,
-0.057531632483005524,
-0.02283927984535694,
0.050561316311359406,
0.08031783998012543,
-0.07968095690011978,
0.010959669947624207,
0.013162218034267426,
0.052755020558834076,
-0.0009210457210429013,
-0.028500448912382126,
-0.036054570227861404,
-0.02566986344754696,
-0.061211392283439636,
-0.05144587531685829,
-0.0027576086577028036,
-0.014356371015310287,
0.04705847054719925,
0.06687255948781967,
0.06294512748718262,
-0.010198949836194515,
0.04373253136873245,
0.028925037011504173,
0.005382533650845289,
0.08378530293703079,
-0.0288188885897398,
-0.01720464788377285,
0.022202398627996445,
0.052967313677072525,
-0.038283657282590866,
-0.03264017775654793,
-0.04012353718280792,
0.024148425087332726,
-0.023334631696343422,
0.028128935024142265,
-0.015373612754046917,
0.006019414868205786,
-0.038248274475336075,
-0.021335531026124954,
0.008867691271007061,
0.061671361327171326,
-0.02715592086315155,
-0.0011797788320109248,
0.03543538227677345,
0.003323725424706936,
0.03612533584237099,
0.0032794976141303778,
-0.018469564616680145,
-0.014170614071190357,
0.017257720232009888,
0.02943808026611805,
-0.00501544214785099,
-0.03913283348083496,
-0.0746566653251648,
-0.003191041760146618,
-0.026218289509415627,
-0.024802997708320618,
-0.019301049411296844,
0.016187405213713646,
0.020716341212391853,
0.02308695577085018,
-0.026059068739414215,
0.08215771615505219,
-0.02098170854151249,
0.01604587584733963,
-0.02413073368370533,
0.056576311588287354,
-0.052719637751579285,
0.0762842521071434,
-0.02126476727426052,
0.04373253136873245,
0.04606776311993599,
-0.034303147345781326,
0.03403778001666069,
0.0032419038470834494,
-0.005687706172466278,
-0.050808992236852646,
-0.01754077896475792,
0.0035382306668907404,
0.043591003865003586,
0.014338680543005466,
-0.0008768177940510213,
0.005935382097959518,
-0.01820419728755951,
-0.038212891668081284,
0.004020314663648605,
0.010234332643449306,
-0.013268365524709225,
-0.011056970804929733,
0.029951123520731926,
0.0045731631107628345,
-0.003642166266217828,
0.03697451204061508,
-0.019619489088654518,
0.10147646069526672,
0.022485457360744476,
-0.0489337295293808,
-0.005095052067190409,
0.0180361308157444,
0.004230397287756205,
0.024148425087332726,
-0.02579370141029358,
0.040937330573797226,
0.00398935517296195,
-0.02283927984535694,
0.041361916810274124,
0.006045951973646879,
-0.012852623127400875,
-0.006740329787135124,
0.007956596091389656,
0.05551484227180481,
0.02835891954600811,
-0.013383357785642147,
-0.0356476753950119,
-0.0006507027428597212,
-0.03619610145688057,
-0.049853671342134476,
-0.00269568944349885,
0.02719130367040634,
-0.003947338555008173,
0.025776011869311333,
0.04238800331950188,
-0.033436279743909836,
-0.04129115119576454,
0.019513342529535294,
0.009986656717956066,
-0.01210959441959858,
0.051516640931367874,
-0.012153822928667068,
-0.029738830402493477,
0.003394490107893944,
0.01990254782140255,
-0.031985606998205185,
-0.05158740282058716,
0.011304647661745548,
-0.0029743253253400326,
0.011056970804929733,
0.047624584287405014,
0.04748305678367615,
-0.038955919444561005,
0.023228485137224197,
-0.044510941952466965,
0.003275074763223529,
-0.04677541181445122,
0.024360718205571175,
-0.01268455758690834,
-0.04656311497092247,
-0.027686655521392822,
0.0159662663936615,
-0.022998500615358353,
0.020751724019646645,
-0.03539999946951866,
-0.013684106990695,
0.03416161611676216,
0.03361319378018379,
-0.04369714856147766,
-0.035470765084028244,
-0.03262248635292053,
-0.0006125561776570976,
-0.03246326744556427,
0.007624887395650148,
0.005860194563865662,
-0.02662518620491028,
-0.020203297957777977,
-0.015745127573609352,
0.026306746527552605,
-0.027438979595899582,
-0.007439129985868931,
-0.06701409071683884,
-0.04001738876104355,
0.014126386493444443,
-0.03333013504743576,
0.01256071962416172,
0.010375862009823322,
-0.014391753822565079,
-0.06460809707641602,
0.02271544188261032,
-0.07762878388166428,
0.021760119125247,
0.010243178345263004,
-0.028040478006005287,
-0.002779722446575761,
-0.058239277452230453,
-0.043591003865003586,
-0.042104944586753845,
0.002967691048979759,
-0.012401498854160309,
-0.0048429532907903194,
0.002797413617372513,
-0.010420089587569237,
0.012348425574600697,
0.05770854279398918,
0.0030185531359165907,
0.004648350644856691,
0.0029875936452299356,
-0.08527135848999023,
-0.0071251122280955315,
0.01931874081492424,
-0.017443478107452393,
-0.03715142235159874,
-0.03412623703479767,
0.09064947068691254,
-0.06308665126562119,
0.028925037011504173,
0.022945426404476166,
0.02305157296359539,
0.010269714519381523,
-0.0713307335972786,
-0.0048429532907903194,
-0.0010775018017739058,
0.07394902408123016,
0.04949984699487686,
-0.06828785687685013,
-0.04804917424917221,
-0.027668964117765427,
0.033400896936655045,
0.011702698655426502,
-0.024325337260961533,
0.04175112396478653,
0.0032662292942404747,
0.028182007372379303,
0.002598388120532036,
0.0007883620564825833,
-0.00010490301065146923,
-0.07193223387002945,
-0.04369714856147766,
-0.02131783962249756,
0.024183807894587517,
-0.023582307621836662,
0.011401948519051075,
-0.013206446543335915,
0.036178410053253174,
-0.027262067422270775,
0.03104797564446926,
0.018434181809425354,
0.07079999893903732,
0.0022932158317416906,
0.05770854279398918,
0.007580659352242947,
0.04776611551642418,
-0.046740029007196426,
0.0072224135510623455,
-0.036585304886102676,
0.00045112441875971854,
0.04964137822389603,
0.013524887152016163,
0.004648350644856691,
-0.03126026690006256,
0.04001738876104355,
0.005355997011065483,
-0.0016452772542834282,
0.018274961039423943,
0.010941978543996811,
-0.05958380550146103,
-0.009500149637460709,
-0.02604137919843197,
-0.05409954860806465,
0.017098499462008476,
0.023157719522714615,
-0.02002638578414917,
0.04514782503247261,
0.03386086970567703,
-0.02545757032930851,
-0.057814691215753555,
0.014435981400310993,
-0.02989804930984974,
0.00012902103480882943,
0.02061019465327263,
-0.014276761561632156,
-0.016328934580087662,
-0.03246326744556427,
-0.01749655045568943,
0.026483656838536263,
-0.028411993756890297,
0.09999039769172668,
0.013710644096136093,
0.021158620715141296,
0.054913341999053955,
0.026112142950296402,
0.004533358383923769,
0.020840179175138474,
-0.008213117718696594,
-0.022397000342607498,
0.02690824493765831,
0.06750944256782532,
-0.016939280554652214,
-0.044758617877960205,
0.07200299948453903,
0.006001723930239677,
-0.04709384962916374,
0.06612953543663025,
0.028588904067873955,
-0.010367016308009624,
-0.11506326496601105,
-0.054877959191799164,
0.004997750744223595,
0.012817241251468658,
0.007085307035595179,
0.06485576927661896,
-0.014745576307177544,
-0.035629983991384506
]
|
40,351 | pyglove.core.typing.custom_typing | CustomTyping | Interface of custom value type.
Instances of subclasses of CustomTyping can be assigned to fields of
any ValueSpec, and take over `apply` via `custom_apply` method.
As a result, CustomTyping makes the schema system extensible without modifying
existing value specs. For example, value generators can extend CustomTyping
and be assignable to any fields.
| class CustomTyping(metaclass=abc.ABCMeta):
"""Interface of custom value type.
Instances of subclasses of CustomTyping can be assigned to fields of
any ValueSpec, and take over `apply` via `custom_apply` method.
As a result, CustomTyping makes the schema system extensible without modifying
existing value specs. For example, value generators can extend CustomTyping
and be assignable to any fields.
"""
@abc.abstractmethod
def custom_apply(
self,
path: object_utils.KeyPath,
value_spec: class_schema.ValueSpec,
allow_partial: bool,
child_transform: Optional[Callable[
[object_utils.KeyPath, class_schema.Field, Any], Any]] = None
) -> Tuple[bool, Any]:
"""Custom apply on a value based on its original value spec.
Args:
path: KeyPath of current object under its object tree.
value_spec: Original value spec for this field.
allow_partial: Whether allow partial object to be created.
child_transform: Function to transform child node values into their final
values. Transform function is called on leaf nodes first, then on their
parents, recursively.
Returns:
A tuple (proceed_with_standard_apply, value_to_proceed).
If proceed_with_standard_apply is set to False, value_to_proceed
will be used as final value.
Raises:
Error when the value is not compatible with the value spec.
"""
| () | [
0.08090846240520477,
-0.05646659433841705,
-0.014539964497089386,
0.05495738610625267,
0.01998784951865673,
0.007927961647510529,
-0.024110574275255203,
-0.07196362316608429,
0.043030932545661926,
-0.029079928994178772,
0.04273645207285881,
0.05230706185102463,
0.036552365869283676,
-0.008286859840154648,
-0.017898879945278168,
0.06125190109014511,
-0.0003971457772422582,
0.07170595228672028,
0.05469971522688866,
0.03588978573679924,
0.04936225712299347,
-0.01036202535033226,
-0.03178546577692032,
0.026392797008156776,
0.04457695409655571,
0.0203559510409832,
0.0009449826320633292,
-0.02352161332964897,
-0.009846684522926807,
-0.013104372657835484,
-0.007302191108465195,
-0.005010766442865133,
0.022822221741080284,
-0.009570609778165817,
0.015635063871741295,
-0.07641763240098953,
-0.036147456616163254,
0.08223362267017365,
-0.05105552077293396,
-0.012515412643551826,
0.006796053145080805,
0.012395779602229595,
-0.06942372769117355,
-0.047779425978660583,
0.035411253571510315,
0.013822169043123722,
0.004513830877840519,
0.07314154505729675,
-0.01830379106104374,
-0.02998177520930767,
0.013546093367040157,
-0.015441810712218285,
0.012901918031275272,
-0.002514585619792342,
-0.016739364713430405,
0.021717920899391174,
-0.014631989412009716,
0.03997569903731346,
0.009294534102082253,
0.03410449996590614,
-0.0011491633486002684,
0.0443929024040699,
-0.032852958887815475,
-0.027699552476406097,
-0.04181620106101036,
-0.03224559128284454,
-0.011613566428422928,
-0.04601254686713219,
-0.03404928371310234,
0.0222332626581192,
-0.04792666807770729,
-0.0629083514213562,
0.05469971522688866,
0.03250326216220856,
0.04185301065444946,
0.007992379367351532,
-0.015865126624703407,
-0.024294624105095863,
0.07847899943590164,
-0.01884673908352852,
-0.027681147679686546,
-0.007753113750368357,
-0.039092257618904114,
-0.08620910346508026,
-0.03574254363775253,
0.021681111305952072,
-0.05031932145357132,
-0.032687313854694366,
0.13266336917877197,
0.009142693132162094,
-0.004382695071399212,
-0.013362043537199497,
0.00980067253112793,
0.012211729772388935,
0.030386684462428093,
-0.01321480330079794,
0.02330075390636921,
-0.0536322221159935,
-0.03631310164928436,
0.020429570227861404,
0.00886661745607853,
0.05352179333567619,
-0.0032484857365489006,
-0.008898826315999031,
0.06254025548696518,
-0.002721642144024372,
-0.0134264612570405,
-0.026521630585193634,
0.0021430342458188534,
0.038797777146101,
-0.018717903643846512,
-0.02162589691579342,
-0.051129139959812164,
0.009220913983881474,
-0.0296136736869812,
0.028067652136087418,
-0.017429552972316742,
0.00429527135565877,
0.015092114917933941,
-0.007840537466108799,
0.033570751547813416,
0.0101779755204916,
0.0573132261633873,
0.010702517814934254,
-0.025748619809746742,
0.04770580679178238,
0.05403713509440422,
-0.009124287404119968,
-0.014825242571532726,
0.025785431265830994,
-0.021000126376748085,
-0.00481751374900341,
0.01662893407046795,
0.014447939582169056,
0.03738059103488922,
0.04027017951011658,
0.034509409219026566,
0.004550640936940908,
-0.033920448273420334,
0.006773046683520079,
0.028178082779049873,
-0.0035130579490214586,
0.08635634928941727,
-0.038945019245147705,
-0.003301400225609541,
0.014392724260687828,
0.011475528590381145,
0.024460269138216972,
-0.03611064702272415,
0.010159569792449474,
-0.05970587953925133,
0.01442953385412693,
0.014475546777248383,
0.03754623606801033,
0.010242392309010029,
0.026484820991754532,
0.0389082096517086,
-0.07362007349729538,
-0.020098280161619186,
-0.022527743130922318,
-0.020668836310505867,
-0.007136545609682798,
0.00037644014810211957,
-0.016168808564543724,
0.03213516250252724,
0.062024910002946854,
0.0013516185572370887,
-0.07855261862277985,
-0.02810446359217167,
-0.009239318780601025,
0.0013205601135268807,
-0.03669960796833038,
0.05506781488656998,
0.044282473623752594,
0.042294733226299286,
0.03787752613425255,
0.00803379062563181,
-0.022306881844997406,
0.00046127577661536634,
-0.016021568328142166,
-0.013849776238203049,
-0.00915649626404047,
-0.045975737273693085,
0.00043625643593259156,
0.020300734788179398,
0.04553401470184326,
-0.02517806552350521,
0.015110519714653492,
0.034288547933101654,
0.03408609330654144,
0.008420296013355255,
-0.02569340541958809,
0.027460286393761635,
0.006220896262675524,
0.010279202833771706,
-0.012717867270112038,
0.0005671046092174947,
0.03677322715520859,
0.0007091683801263571,
0.10807427018880844,
-0.030110610648989677,
-0.05492057278752327,
0.043546274304389954,
0.014236281625926495,
-0.03296338766813278,
-0.013601308688521385,
0.060773368924856186,
-0.021901972591876984,
-0.06323964148759842,
-0.07627039402723312,
-0.043951183557510376,
-0.043914373964071274,
0.0019589841831475496,
0.01609518937766552,
0.01589273288846016,
-0.07465075701475143,
0.013822169043123722,
-0.0629083514213562,
-0.0024662723299115896,
0.028435753658413887,
0.07678573578596115,
0.020595215260982513,
0.03279774263501167,
0.02403695322573185,
0.111019067466259,
-0.026484820991754532,
-0.022288477048277855,
-0.0905526876449585,
0.003039128612726927,
0.004525333642959595,
0.002891888376325369,
0.00010913600999629125,
-0.014319104142487049,
-0.012543019838631153,
-0.013886585831642151,
0.02420259825885296,
0.04711684584617615,
-0.018359005451202393,
0.009460179135203362,
0.027975628152489662,
-0.022987868636846542,
-0.0004011718847323209,
-0.051313191652297974,
-0.015809910371899605,
-0.08591462671756744,
-0.04457695409655571,
0.024276219308376312,
0.03813519701361656,
0.03806157782673836,
-0.016601325944066048,
-0.0020947211887687445,
-0.02385290339589119,
0.01961974985897541,
0.021736325696110725,
0.020300734788179398,
0.00397318322211504,
-0.056687455624341965,
-0.028638208284974098,
0.02642960660159588,
0.003082840470597148,
0.011411110870540142,
-0.009202509187161922,
-0.005737764295190573,
0.0461965948343277,
-0.038208816200494766,
-0.08635634928941727,
-0.013408055528998375,
0.022822221741080284,
0.004730089567601681,
0.05580401420593262,
-0.03791433572769165,
0.0078681455925107,
0.01611359417438507,
-0.014392724260687828,
-0.049104589968919754,
0.004571346566081047,
0.0003626363759394735,
0.025619786232709885,
0.024681128561496735,
-0.05764451622962952,
-0.026319175958633423,
-0.014567571692168713,
-0.015340582467615604,
-0.04788985848426819,
0.011631971225142479,
-0.007881948724389076,
-0.04564444348216057,
0.00393407279625535,
-0.01740194484591484,
-0.0041526323184370995,
0.00969944428652525,
-0.06879796087741852,
0.01963815465569496,
0.013463270850479603,
0.03813519701361656,
0.014641191810369492,
-0.05878562852740288,
-0.05801261588931084,
0.01175160426646471,
-0.06559548527002335,
0.0185154490172863,
0.010656505823135376,
-0.040417421609163284,
0.03307381644845009,
0.0480370968580246,
0.023447994142770767,
0.013748548924922943,
-0.021938782185316086,
-0.021128961816430092,
0.06268749386072159,
-0.03495112806558609,
0.033000197261571884,
-0.06725193560123444,
0.017484767362475395,
0.06857709586620331,
0.027331452816724777,
0.018561460077762604,
-0.014208674430847168,
0.020963314920663834,
0.016702553257346153,
-0.03528241813182831,
-0.023595232516527176,
-0.04553401470184326,
-0.004983158782124519,
-0.018920358270406723,
-0.024717940017580986,
0.010941782966256142,
0.017144273966550827,
-0.009644229896366596,
-0.026135126128792763,
-0.01923324353992939,
0.034877508878707886,
0.056687455624341965,
0.028067652136087418,
-0.00772550655528903,
-0.047632187604904175,
0.0407119020819664,
-0.01869029551744461,
-0.010886568576097488,
0.013812966644763947,
0.013877383433282375,
0.021883565932512283,
0.032282400876283646,
-0.018607473000884056,
-0.009690241888165474,
-0.007753113750368357,
-0.013251612894237041,
0.027662742882966995,
0.08635634928941727,
-0.001761130173690617,
0.035797759890556335,
-0.043214984238147736,
-0.049472689628601074,
-0.02758912183344364,
-0.005075183697044849,
-0.036368317902088165,
0.008328271098434925,
-0.04590211436152458,
-0.03127012774348259,
-0.07424584031105042,
0.0778164193034172,
-0.05827028676867485,
0.02569340541958809,
0.00148045364767313,
0.03754623606801033,
0.023190323263406754,
-0.0739145502448082,
-0.00568715063855052,
0.03368118405342102,
0.016757769510149956,
0.04034379869699478,
-0.05481014400720596,
0.019122814759612083,
-0.04788985848426819,
0.04406161233782768,
-0.01052767038345337,
-0.0333314873278141,
0.0332762748003006,
-0.059448208659887314,
-0.0012457896955311298,
0.06312920898199081,
-0.017116667702794075,
-0.04155853018164635,
-0.012119704857468605,
0.017512375488877296,
-0.004046803340315819,
0.05955863744020462,
-0.012497007846832275,
0.009013857692480087,
0.020061470568180084,
-0.007863543927669525,
0.00998472236096859,
-0.022159641608595848,
-0.05701874569058418,
-0.02037435583770275,
-0.01330682821571827,
-0.06511695683002472,
0.00004461060234461911,
-0.015340582467615604,
-0.02090810053050518,
-0.004743893630802631,
-0.05009846016764641,
0.014852849766612053,
0.04549720510840416,
0.0101779755204916,
-0.021331416442990303,
0.02904311940073967,
0.019012384116649628,
-0.022454122081398964,
0.0979883149266243,
-0.005351258907467127,
-0.008769990876317024,
0.03382842242717743,
-0.0056503405794501305,
0.03347872942686081,
-0.02849096804857254,
0.024000143632292747,
-0.044282473623752594,
-0.0157362911850214,
0.013085967861115932,
0.020687241107225418,
0.004923342261463404,
-0.010223987512290478,
0.0333314873278141,
0.02736826241016388,
-0.005641138181090355,
0.01941729336977005,
0.018257778137922287,
-0.019693369045853615,
0.04214749112725258,
0.02554616518318653,
-0.040086131542921066,
-0.0832643061876297,
0.007292988710105419,
-0.016196416690945625,
-0.019748585298657417,
-0.014171863906085491,
-0.025859050452709198,
0.007495443802326918,
-0.004863526206463575,
-0.02646641619503498,
0.05274878069758415,
-0.0010571382008492947,
-0.02017189934849739,
0.021386630833148956,
-0.0106473034247756,
-0.03408609330654144,
0.051902152597904205,
-0.051681291311979294,
0.0026181137654930353,
0.04549720510840416,
0.036349911242723465,
0.07376731187105179,
0.04564444348216057,
-0.02681611105799675,
-0.015036899596452713,
-0.009110484272241592,
-0.0814238041639328,
0.01624242775142193,
0.01958294026553631,
0.02884066291153431,
0.006602800451219082,
-0.0026917338836938143,
-0.08171828091144562,
-0.02037435583770275,
-0.006110466085374355,
-0.006349731236696243,
-0.010408038273453712,
-0.00989269744604826,
-0.016380466520786285,
0.04608616605401039,
-0.019012384116649628,
0.03666279464960098,
0.0032645901665091515,
0.011889642104506493,
0.0148068368434906,
-0.005438683088868856,
-0.03865053877234459,
-0.08458946645259857,
-0.0518285296857357,
0.01976699009537697,
0.01193565409630537,
0.026760896667838097,
0.016352858394384384,
0.033018603920936584,
0.009285331703722477,
0.04306774213910103,
0.010288405232131481,
0.02904311940073967,
0.024754749611020088,
-0.03605543076992035,
0.07314154505729675,
0.07715383917093277,
0.024000143632292747,
-0.05996355041861534,
-0.06953416019678116,
0.004504628013819456,
0.035208798944950104,
0.03813519701361656,
-0.019656559452414513,
0.009570609778165817,
-0.014457141980528831,
-0.006915685720741749,
0.04976717010140419,
0.038945019245147705,
-0.02147865667939186,
0.009552204050123692,
0.022417312487959862,
0.015681074932217598,
-0.024754749611020088,
-0.04454014450311661,
-0.005227025132626295,
0.06695745885372162,
-0.011043011210858822,
-0.0023431889712810516,
-0.02346639893949032,
0.04936225712299347,
0.014263888821005821,
-0.02480996400117874,
-0.09386559575796127,
-0.03609224036335945,
-0.028362132608890533,
-0.032079946249723434,
0.014052231796085835,
0.023171918466687202,
0.02368725836277008,
-0.038797777146101,
-0.02423940971493721,
0.030625950545072556,
-0.012524615041911602,
0.04601254686713219,
-0.017254704609513283,
0.022306881844997406,
0.003480849089100957,
0.06128871068358421,
0.06614763289690018,
-0.0065567875280976295,
-0.0028711827471852303,
0.0037845319602638483,
-0.007776120211929083,
0.021920377388596535,
0.07148508727550507,
0.01593874581158161,
0.03609224036335945,
0.033736396580934525,
0.0148068368434906,
0.012598235160112381,
-0.03791433572769165,
0.015312975272536278,
-0.028159677982330322,
-0.0008782644872553647,
0.0087791932746768,
0.025012420490384102,
0.05757089704275131,
-0.04770580679178238,
-0.026171935722231865,
-0.01099699828773737,
0.00925772450864315,
0.00897244643419981,
-0.002383449813351035,
0.038392867892980576,
0.009901899844408035,
0.07229491323232651,
0.008443302474915981,
0.008599745109677315,
0.004191742744296789,
-0.04273645207285881,
0.01982220448553562,
-0.007007710635662079,
-0.024736344814300537,
0.016766970977187157,
0.037288565188646317,
0.011429516598582268,
-0.054257992655038834,
0.03182227537035942,
0.03281614929437637,
-0.06644211709499359,
-0.006188687402755022,
-0.0517917200922966,
-0.05046655982732773,
-0.08002501726150513,
-0.02606150507926941,
0.03795114904642105,
-0.06268749386072159,
-0.012837500311434269,
-0.028601398691534996,
0.016371263191103935,
0.0796569213271141,
-0.046711936593055725,
0.004401099868118763,
-0.03176706284284592,
0.023043083027005196,
-0.059853117913007736,
-0.001227384665980935,
0.022343691438436508,
-0.03809838742017746,
-0.0683930441737175,
-0.01314118318259716,
0.01165957935154438,
-0.05996355041861534,
-0.10078588128089905,
0.00020403688540682197,
-0.012147312052547932,
0.05304326117038727,
-0.02722102217376232,
0.00360968429595232,
-0.013619713485240936,
-0.015837518498301506,
0.06025803089141846,
-0.03554008901119232,
0.04527634382247925,
0.011098225601017475,
0.02333756349980831,
0.014162661507725716,
0.029098333790898323,
-0.04019656032323837,
-0.07424584031105042,
0.002650322625413537,
-0.015322177670896053,
-0.04512910544872284,
-0.042662832885980606,
0.020613620057702065,
-0.05212301015853882,
0.004481622017920017,
-0.06449118256568909,
0.01903078891336918,
0.014567571692168713,
0.003289896994829178,
-0.008765390142798424,
-0.04384075477719307,
0.006980102974921465,
0.014705609530210495,
-0.010665708221495152,
-0.02146025188267231,
-0.025822240859270096,
-0.05992674082517624,
-0.023576827719807625,
-0.00013796574785374105,
0.029926558956503868,
0.020098280161619186,
-0.0020188004709780216,
-0.0221780464053154,
-0.028785448521375656,
0.04328860342502594,
-0.032282400876283646,
-0.0175583865493536,
-0.03408609330654144,
-0.06371816992759705,
-0.0203559510409832,
0.04590211436152458,
-0.02790200710296631,
0.02517806552350521,
0.030423495918512344,
-0.03417811915278435,
0.06220896169543266,
0.0035659722052514553,
0.077742800116539,
-0.031362149864435196,
0.03165663033723831,
0.03222718834877014,
-0.03809838742017746,
-0.04862605780363083,
0.020208710804581642,
0.00022071643616072834,
0.042810071259737015,
0.00411812262609601,
-0.005065981298685074,
-0.024460269138216972,
0.05473652482032776,
-0.012662652879953384,
0.01776084303855896,
-0.023043083027005196,
-0.0389082096517086,
0.031417366117239,
-0.06743598729372025,
-0.03311062604188919,
0.014521559700369835,
0.02348480373620987,
-0.012285349890589714,
0.00105196179356426,
0.03646034002304077,
-0.028398944064974785,
-0.05344817414879799,
0.07906796038150787,
-0.048552438616752625,
-0.06769365817308426,
0.05223344266414642,
0.010039937682449818,
-0.007315994706004858,
-0.12088415771722794,
0.021717920899391174,
-0.03997569903731346,
0.013951003551483154,
0.00148045364767313,
-0.06165681034326553,
-0.04568125680088997,
-0.019748585298657417,
0.021515466272830963,
0.03964440897107124,
0.04148491099476814,
0.024368243291974068,
0.009046066552400589,
-0.020043065771460533,
-0.0406382791697979,
0.04527634382247925,
0.0240553580224514,
-0.04553401470184326,
-0.006128870882093906,
0.08716616779565811,
-0.008636554703116417,
0.0023604435846209526,
0.08068759739398956,
-0.0065107750706374645,
-0.06732555478811264,
-0.003462444059550762,
-0.004525333642959595,
-0.00689728045836091,
0.06353412568569183,
0.00998472236096859,
0.01118104811757803,
0.022325286641716957,
0.0023052284959703684,
0.04531315341591835,
-0.008355878293514252,
-0.01814734749495983,
0.019711773842573166,
0.009115085005760193,
0.009115085005760193,
0.016960224136710167,
0.024165788665413857,
0.06806175410747528,
0.0240737646818161,
0.009543001651763916,
-0.007467836141586304,
0.010187177918851376,
0.012156514450907707,
-0.019012384116649628,
-0.02331915870308876,
-0.018230170011520386,
0.029356004670262337,
-0.010500063188374043,
0.05477333441376686,
-0.001582831609994173,
-0.010058342479169369,
0.026171935722231865,
-0.004877329804003239,
0.013509283773601055,
0.07166913896799088,
0.032448045909404755,
0.039313118904829025,
-0.009368154220283031,
0.03384682908654213,
-0.010159569792449474,
0.02718421258032322,
0.07604953646659851,
0.010150367394089699,
0.00595862464979291,
-0.03160141780972481,
-0.0332762748003006,
-0.024552294984459877,
-0.028362132608890533,
-0.05109233036637306,
-0.028343727812170982,
0.007021514233201742,
0.024147383868694305,
0.004131926689296961,
-0.030073799192905426,
0.07104337215423584
]
|
40,352 | pyglove.core.typing.custom_typing | custom_apply | Custom apply on a value based on its original value spec.
Args:
path: KeyPath of current object under its object tree.
value_spec: Original value spec for this field.
allow_partial: Whether allow partial object to be created.
child_transform: Function to transform child node values into their final
values. Transform function is called on leaf nodes first, then on their
parents, recursively.
Returns:
A tuple (proceed_with_standard_apply, value_to_proceed).
If proceed_with_standard_apply is set to False, value_to_proceed
will be used as final value.
Raises:
Error when the value is not compatible with the value spec.
| @abc.abstractmethod
def custom_apply(
self,
path: object_utils.KeyPath,
value_spec: class_schema.ValueSpec,
allow_partial: bool,
child_transform: Optional[Callable[
[object_utils.KeyPath, class_schema.Field, Any], Any]] = None
) -> Tuple[bool, Any]:
"""Custom apply on a value based on its original value spec.
Args:
path: KeyPath of current object under its object tree.
value_spec: Original value spec for this field.
allow_partial: Whether allow partial object to be created.
child_transform: Function to transform child node values into their final
values. Transform function is called on leaf nodes first, then on their
parents, recursively.
Returns:
A tuple (proceed_with_standard_apply, value_to_proceed).
If proceed_with_standard_apply is set to False, value_to_proceed
will be used as final value.
Raises:
Error when the value is not compatible with the value spec.
"""
| (self, path: pyglove.core.object_utils.value_location.KeyPath, value_spec: pyglove.core.typing.class_schema.ValueSpec, allow_partial: bool, child_transform: Optional[Callable[[pyglove.core.object_utils.value_location.KeyPath, pyglove.core.typing.class_schema.Field, Any], Any]] = None) -> Tuple[bool, Any] | [
0.10752354562282562,
-0.07234923541545868,
-0.018696583807468414,
0.0687117651104927,
-0.01820552721619606,
-0.03290089592337608,
0.006006368901580572,
-0.05587150529026985,
0.05539863556623459,
0.00004834564242628403,
0.05939985066652298,
0.030227357521653175,
0.03450138121843338,
-0.019987884908914566,
-0.021224625408649445,
0.05310703068971634,
0.005906338337808847,
0.05245228484272957,
0.05077905207872391,
0.05270690843462944,
0.04637771472334862,
-0.01671416498720646,
-0.03693848475813866,
0.029954547062516212,
0.04812369868159294,
0.037756916135549545,
0.02177024446427822,
-0.02344347909092903,
0.0215156227350235,
-0.013040321879088879,
0.0036988500505685806,
0.012249172665178776,
0.018360119313001633,
0.0015709314029663801,
0.03011823259294033,
-0.0736951008439064,
-0.040666889399290085,
0.08278876543045044,
-0.038157038390636444,
-0.05525313690304756,
0.026408016681671143,
0.020115196704864502,
-0.07234923541545868,
-0.0334647037088871,
0.04059414193034172,
0.0346650667488575,
0.0014402099186554551,
0.09079119563102722,
0.006270084995776415,
-0.014613526873290539,
-0.00924371462315321,
-0.01601395197212696,
0.01986057497560978,
-0.005192485172301531,
-0.03408307209610939,
0.031209474429488182,
0.00883449986577034,
0.04437710717320442,
0.02342529222369194,
-0.003410126082599163,
0.004051229916512966,
0.027717504650354385,
-0.022715985774993896,
-0.030827539041638374,
-0.047614455223083496,
-0.04615946486592293,
0.002939528552815318,
-0.03162778168916702,
-0.027972128242254257,
0.05729011818766594,
-0.07456809282302856,
-0.041285257786512375,
0.04743257910013199,
0.023770852014422417,
-0.0007962644449435174,
0.013340413570404053,
-0.018933020532131195,
-0.026280704885721207,
0.0820612758398056,
-0.01535920798778534,
-0.04972418397665024,
-0.03073660284280777,
-0.0232070442289114,
-0.0990118756890297,
-0.05841773375868797,
-0.0007723935414105654,
-0.017041536048054695,
-0.04274024814367294,
0.13269482553005219,
0.02929980307817459,
-0.0045218272134661674,
0.008320707827806473,
-0.004733255133032799,
0.013776909559965134,
0.0472143329679966,
0.028990618884563446,
0.02215217798948288,
-0.020333444699645042,
-0.014167937450110912,
0.012085487134754658,
0.023498041555285454,
0.04597759246826172,
-0.016886943951249123,
0.00015061389422044158,
0.07162173837423325,
0.008648079819977283,
-0.013676878996193409,
-0.027335571125149727,
0.005724465008825064,
0.033773887902498245,
-0.009957567788660526,
-0.029608987271785736,
-0.03866628184914589,
0.02218855358660221,
-0.03946652635931969,
0.020824503153562546,
-0.017878154292702675,
-0.007452262099832296,
0.02402547560632229,
-0.02951805107295513,
0.031282223761081696,
-0.011776302009820938,
0.025553211569786072,
-0.02862687222659588,
-0.037756916135549545,
0.06587453931570053,
0.04535922408103943,
0.026408016681671143,
-0.0022518199402838945,
0.04179450497031212,
0.0003640309441834688,
-0.00426720455288887,
0.012694763019680977,
-0.01788724772632122,
0.05081542581319809,
0.018014559522271156,
0.03746591880917549,
0.010394063778221607,
-0.024825718253850937,
-0.008538955822587013,
0.03510156273841858,
-0.042994868010282516,
0.0697302594780922,
0.004583209287375212,
0.016268575564026833,
0.0017437110655009747,
0.023388918489217758,
0.046959709376096725,
-0.0406305156648159,
0.02760837972164154,
-0.02909974195063114,
0.050488054752349854,
0.03030010685324669,
0.04037589207291603,
0.021224625408649445,
0.010485000908374786,
0.036047305911779404,
-0.08438925445079803,
-0.011430742219090462,
-0.0344650074839592,
-0.007461355999112129,
-0.018232807517051697,
0.0039080046117305756,
0.023770852014422417,
0.05419826880097389,
0.03139134868979454,
-0.030209170654416084,
-0.07034862786531448,
-0.011039714328944683,
-0.0016436807345598936,
0.01505002286285162,
-0.038593534380197525,
0.03259171172976494,
0.036283742636442184,
0.04816007241606712,
0.06376481056213379,
0.007479543332010508,
-0.046123091131448746,
-0.03228252753615379,
-0.012512888759374619,
-0.020860876888036728,
-0.010330408811569214,
0.005865416955202818,
-0.0038511690218001604,
0.011485304683446884,
0.03497425466775894,
-0.02091543935239315,
-0.00752501143142581,
0.014786306768655777,
0.025462275370955467,
-0.0376477912068367,
-0.013276757672429085,
0.031882405281066895,
0.009020919911563396,
-0.006210976280272007,
-0.03990302234888077,
0.010012130253016949,
0.030190981924533844,
0.04775995388627052,
0.0868627279996872,
-0.04572296887636185,
-0.08991820365190506,
0.03581086918711662,
0.014504402875900269,
-0.050706300884485245,
0.008625345304608345,
0.04226737469434738,
0.022934233769774437,
-0.08889970928430557,
-0.04626858979463577,
-0.05292515456676483,
-0.017959997057914734,
0.0006865720497444272,
0.011658084578812122,
0.029190678149461746,
-0.052379537373781204,
0.04910581558942795,
-0.05045167729258537,
-0.02175205759704113,
0.02737194485962391,
0.03953927382826805,
0.026699014008045197,
0.05565325543284416,
0.02528040111064911,
0.08715372532606125,
-0.02742650732398033,
-0.022206740453839302,
-0.07307672500610352,
0.007479543332010508,
-0.004139893222600222,
-0.032482586801052094,
-0.009602914564311504,
0.001777812372893095,
-0.018351025879383087,
-0.018514711409807205,
0.010539563372731209,
0.043613240122795105,
-0.00329418177716434,
0.018114589154720306,
0.013249476440250874,
-0.012603825889527798,
-0.014995461329817772,
-0.02509852685034275,
0.0059609003365039825,
-0.03742954507470131,
-0.04888756573200226,
0.02489846758544445,
0.024207348003983498,
0.047396205365657806,
-0.013022135011851788,
0.006720221601426601,
-0.008957264013588428,
-0.010421345010399818,
0.025153089314699173,
0.007656869478523731,
-0.001093513797968626,
-0.020606255158782005,
0.0008360492647625506,
0.031264036893844604,
0.019933324307203293,
0.00407851068302989,
-0.023316169157624245,
-0.004401335958391428,
-0.003855715971440077,
-0.05732649192214012,
-0.05081542581319809,
0.015031835995614529,
0.005183391738682985,
0.000823545444291085,
0.0559806302189827,
-0.12134592235088348,
-0.0144407469779253,
-0.00060813914751634,
0.00013043731451034546,
-0.041285257786512375,
0.012676575221121311,
0.0036829360760748386,
-0.0032828147523105145,
0.01589573360979557,
-0.028590496629476547,
-0.009693851694464684,
-0.01326766423881054,
-0.0318642184138298,
-0.019787825644016266,
-0.008748110383749008,
-0.02993636019527912,
-0.01715066097676754,
0.033100955188274384,
-0.01119430735707283,
0.00012908747885376215,
-0.0003779556427616626,
-0.034010324627161026,
0.008666266687214375,
0.011066995561122894,
0.040666889399290085,
-0.012476514093577862,
-0.03490150347352028,
-0.10323133319616318,
0.007079421542584896,
-0.04655958712100983,
0.0166323222219944,
-0.007429528050124645,
-0.06230982393026352,
-0.0006615644670091569,
0.05165204405784607,
0.040666889399290085,
0.019369516521692276,
-0.0049469564110040665,
-0.03612005338072777,
0.06292819231748581,
-0.030227357521653175,
0.02157018333673477,
-0.03975752368569374,
-0.016032138839364052,
0.038375284522771835,
-0.020588068291544914,
0.04346774145960808,
0.008716282434761524,
0.015904827043414116,
0.014086093753576279,
-0.05998184531927109,
-0.0010440669720992446,
-0.07776906341314316,
0.02153380960226059,
-0.0006496289861388505,
-0.03115491196513176,
0.0318642184138298,
0.01765081286430359,
-0.009593821130692959,
0.0027667488902807236,
-0.055907879024744034,
0.04703245684504509,
0.07522283494472504,
0.025244027376174927,
-0.01645044796168804,
-0.03979389742016792,
0.028699621558189392,
-0.018214620649814606,
-0.0186238344758749,
0.01639588549733162,
0.01703244261443615,
0.036247365176677704,
0.014613526873290539,
-0.007956961169838905,
-0.018769333139061928,
-0.0010560023365542293,
-0.00824795849621296,
0.04597759246826172,
0.06569267064332962,
-0.022643236443400383,
0.011285243555903435,
-0.06914826482534409,
-0.027899377048015594,
-0.008243411779403687,
-0.014577152207493782,
0.008275238797068596,
0.0012265086406841874,
-0.04605034366250038,
-0.024734780192375183,
-0.08337076008319855,
0.13131259381771088,
-0.08635348826646805,
0.011376180686056614,
0.011112463660538197,
0.054671142250299454,
0.012694763019680977,
-0.09639289975166321,
0.01828736998140812,
0.025680523365736008,
-0.005506217014044523,
0.0336647629737854,
-0.04539559781551361,
0.02909974195063114,
-0.04226737469434738,
0.05932709947228432,
0.007033953443169594,
-0.028990618884563446,
0.031645968556404114,
-0.02468021959066391,
0.015641111880540848,
0.037538666278123856,
0.017778124660253525,
-0.02784481644630432,
-0.027863003313541412,
0.016259480267763138,
-0.005042439792305231,
0.07820555567741394,
-0.017077911645174026,
0.031045787036418915,
-0.027026385068893433,
-0.005933619569987059,
0.0017914528725668788,
-0.03786604106426239,
-0.06602004170417786,
-0.016141263768076897,
-0.01621401309967041,
-0.005342531017959118,
-0.0026280705351382494,
-0.00983935035765171,
-0.032300714403390884,
-0.010003036819398403,
-0.010903310030698776,
0.032337088137865067,
0.029972733929753304,
0.007334044668823481,
-0.04994243383407593,
0.031082162633538246,
0.05354352667927742,
-0.02444378286600113,
0.09246443212032318,
-0.007029406726360321,
-0.021060938015580177,
0.028135813772678375,
0.007952413521707058,
-0.0037284044083207846,
-0.018751146271824837,
0.012421952560544014,
-0.014540777541697025,
-0.02026069536805153,
-0.024934841319918633,
0.015404676087200642,
0.011312524788081646,
-0.01077599823474884,
0.01738709583878517,
0.03761141747236252,
-0.04081238806247711,
0.019405890256166458,
-0.029390739277005196,
-0.00580176105722785,
0.0426311232149601,
-0.0014674909180030227,
-0.07234923541545868,
-0.0822795182466507,
0.031045787036418915,
-0.016404978930950165,
-0.010794186033308506,
-0.004333133343607187,
0.009116403758525848,
0.007370419334620237,
-0.00419218186289072,
-0.015786610543727875,
0.04164900630712509,
-0.0023507135920226574,
-0.040848761796951294,
0.00035578981623984873,
-0.018896644935011864,
-0.017878154292702675,
0.02131556160748005,
-0.03204609081149101,
-0.020388007164001465,
0.04033951833844185,
0.02218855358660221,
0.020388007164001465,
0.024934841319918633,
-0.030045483261346817,
-0.003585179103538394,
0.012667481787502766,
-0.07740531116724014,
0.003364657750353217,
0.009639289230108261,
0.0460139662027359,
-0.008457113057374954,
0.01180358324199915,
-0.06485605239868164,
-0.013822377659380436,
0.00822522398084402,
-0.028954243287444115,
0.009648383595049381,
-0.018123682588338852,
-0.06507430225610733,
0.04692333564162254,
-0.03453775495290756,
0.017023349180817604,
0.021788431331515312,
0.018332837149500847,
0.013767815195024014,
0.011030620895326138,
-0.028936056420207024,
-0.07878755033016205,
-0.0384480357170105,
0.012476514093577862,
-0.007970601320266724,
0.03782966360449791,
0.0017505313735455275,
0.019060330465435982,
-0.02073356695473194,
0.024334659799933434,
0.007043046876788139,
0.06518342345952988,
0.007925133220851421,
-0.017814498394727707,
0.05485301464796066,
0.06623829156160355,
0.041685380041599274,
-0.049069441854953766,
-0.07143986970186234,
0.02597152069211006,
-0.012203704565763474,
0.03661111369729042,
-0.022534113377332687,
-0.018178245052695274,
-0.011767208576202393,
0.036501988768577576,
0.06489242613315582,
0.010439532808959484,
-0.0075386520475149155,
-0.026298891752958298,
0.004692333284765482,
0.0144407469779253,
-0.014913617633283138,
-0.033355578780174255,
-0.022625049576163292,
0.06500154733657837,
0.013531380333006382,
0.0014686275972053409,
-0.00460594380274415,
0.030445605516433716,
0.026026081293821335,
-0.02968173660337925,
-0.06769327819347382,
-0.0019073971780017018,
-0.03237346187233925,
-0.014358904212713242,
-0.03790241479873657,
0.03304639458656311,
-0.006115492898970842,
-0.03830253705382347,
-0.03761141747236252,
0.030700229108333588,
-0.031264036893844604,
0.0066611128859221935,
-0.033100955188274384,
0.04957868531346321,
0.04510460048913956,
0.03477419167757034,
0.07333134859800339,
-0.011694459244608879,
-0.034846942871809006,
-0.04554109647870064,
-0.003862536046653986,
0.03642924129962921,
0.015413769520819187,
0.0047650826163589954,
0.032300714403390884,
0.040048521012067795,
0.015704767778515816,
0.028717808425426483,
-0.0623461976647377,
0.027517443522810936,
-0.049687810242176056,
0.018341930583119392,
0.013103977777063847,
0.006679300218820572,
0.055071260780096054,
0.013749628327786922,
-0.00024126641801558435,
-0.002403002232313156,
0.004414976574480534,
-0.028899680823087692,
-0.013422256335616112,
0.03364657610654831,
0.0023268426302820444,
0.05707186833024025,
-0.007311310153454542,
0.03348289057612419,
-0.024189161136746407,
-0.05921797454357147,
0.018769333139061928,
0.023789038881659508,
-0.024425595998764038,
0.01635041832923889,
0.0505971759557724,
-0.007911492139101028,
-0.033555641770362854,
0.02240680158138275,
0.037938788533210754,
-0.03801153972744942,
-0.038993652909994125,
-0.0364474281668663,
-0.06285544484853745,
-0.06081845983862877,
-0.05117917060852051,
0.06027284264564514,
-0.057399243116378784,
-0.024552907794713974,
-0.025389526039361954,
0.026917262002825737,
0.08468025177717209,
-0.022952422499656677,
-0.003671569051221013,
-0.056380752474069595,
0.0046082171611487865,
-0.0711124986410141,
-0.01984238624572754,
0.03071841597557068,
-0.0342649482190609,
-0.054889388382434845,
-0.018532898277044296,
0.0006672479794360697,
-0.052379537373781204,
-0.0685298964381218,
-0.02864505909383297,
0.01846924237906933,
0.0898454561829567,
-0.03772054240107536,
0.021224625408649445,
-0.02466203086078167,
-0.016323136165738106,
0.018332837149500847,
0.012913011014461517,
0.037083983421325684,
0.022115804255008698,
0.05423464626073837,
0.007843289524316788,
0.029627176001667976,
-0.02007882297039032,
-0.06132770702242851,
0.012494701892137527,
-0.03570174798369408,
-0.01577751711010933,
-0.057617489248514175,
-0.0008468479500152171,
-0.08257051557302475,
0.005779027007520199,
-0.09391941875219345,
0.021006377413868904,
0.009602914564311504,
-0.006029102951288223,
-0.02862687222659588,
-0.030663853511214256,
0.014622620306909084,
0.013058509677648544,
-0.005669903010129929,
0.005488029681146145,
-0.0063155535608530045,
-0.038193412125110626,
0.004371781833469868,
0.007711431942880154,
-0.010130347684025764,
0.00007672783976886421,
-0.009784788824617863,
-0.009089122526347637,
-0.029408928006887436,
0.015240989625453949,
-0.058272235095500946,
-0.0007104429532773793,
-0.0366474874317646,
-0.0505971759557724,
-0.01904214359819889,
0.02571689710021019,
-0.03457413241267204,
-0.0029508958104997873,
-0.011285243555903435,
-0.012221891433000565,
0.07806006073951721,
-0.015413769520819187,
0.09682939201593399,
-0.02280692383646965,
0.002909974195063114,
0.05390727147459984,
-0.050051555037498474,
-0.05296153202652931,
0.049433186650276184,
-0.003755685407668352,
0.02157018333673477,
-0.002668991917744279,
0.01800546608865261,
-0.03140953555703163,
0.04008489474654198,
-0.023079732432961464,
0.024207348003983498,
-0.03808428719639778,
-0.045868467539548874,
0.04666871204972267,
-0.04852382093667984,
-0.06230982393026352,
0.021915743127465248,
0.035428937524557114,
-0.004412703216075897,
-0.002568961586803198,
0.011749020777642727,
-0.017187034711241722,
-0.04419523477554321,
0.10024861246347427,
0.011721739545464516,
-0.03435588255524635,
0.04954231157898903,
0.020660817623138428,
0.017141567543148994,
-0.06918463855981827,
0.03519250079989433,
-0.07675056904554367,
0.002523493254557252,
0.006779330782592297,
-0.034628693014383316,
-0.00909366924315691,
-0.03011823259294033,
0.027117323130369186,
0.05525313690304756,
0.055726006627082825,
0.027062760666012764,
0.004969690460711718,
-0.007725072093307972,
-0.04008489474654198,
0.03488331660628319,
-0.00658836355432868,
-0.043831486254930496,
-0.0172325037419796,
0.06270994246006012,
-0.00011715204163920134,
0.006270084995776415,
0.08795396983623505,
0.007711431942880154,
-0.04932406172156334,
0.0008707188535481691,
0.022515926510095596,
-0.005919978953897953,
0.019078519195318222,
0.02597152069211006,
-0.015768423676490784,
0.015841173008084297,
-0.013495005667209625,
0.015059116296470165,
-0.030463792383670807,
-0.026899075135588646,
0.0006655429606325924,
0.009684758260846138,
0.004801457282155752,
0.04270387068390846,
0.0288814939558506,
0.03193696588277817,
0.013513192534446716,
0.006260991562157869,
-0.03279177099466324,
0.026298891752958298,
0.010876028798520565,
-0.006715674884617329,
-0.017914528027176857,
-0.03351926431059837,
0.024534720927476883,
0.021170062944293022,
0.048596568405628204,
0.007165811490267515,
-0.006879360880702734,
0.0236071664839983,
-0.009575634263455868,
0.0038602626882493496,
0.08162477612495422,
0.023989100009202957,
0.0012196884490549564,
0.012112767435610294,
0.04346774145960808,
0.022479550912976265,
0.04241287335753441,
0.06518342345952988,
-0.006733862217515707,
-0.008011522702872753,
-0.03373751416802406,
0.005824495106935501,
0.0005996138206683099,
0.00685208011418581,
-0.044049736112356186,
-0.017378002405166626,
0.0326644591987133,
0.04990605637431145,
0.022224927321076393,
0.006483786273747683,
0.07631407678127289
]
|
40,353 | pyglove.core.geno.base | DNA | The genome of a symbolic object relative to its search space.
DNA is a hierarchical structure - each DNA node has a value, and a list of
child DNA nodes. The root node represents the genome that encodes an entire
object relative to its space. The value of a DNA node could be None, an
integer, a float number or a string, dependening on its specification
(:class:`pg.DNASpec`). A valid DNA has a form of the following.
+--------------------------------------+-----------------+-----------------------------+
| Hyper value type | Possible values | Child nodes |
| (DNASpec type) | | |
+======================================+=================+=============================+
|:class:`pg.hyper.ObjectTemplate` | None |DNA of child decision points |
|(:class:`pg.geno.Space`) |(elements > 1) |(Choices/Float) in the |
| | |template. |
+--------------------------------------+-----------------+-----------------------------+
| |None |Children of elements[0] |
| |(elements == 1 | |
| |and elements[0]. | |
| |num_choices > 1) | |
+--------------------------------------+-----------------+-----------------------------+
| |int |Children of: |
| |(elements == 1 |elements[0][0] |
| |and elements[0]. | |
| |num_choices ==1) | |
+--------------------------------------+-----------------+-----------------------------+
| |float |Empty |
| |(elements == 1 | |
| |and elements[0] | |
| |is geno.Float) | |
+--------------------------------------+-----------------+-----------------------------+
|:func:`pg.oneof` |int |Children of Space |
|(:class:`pg.geno.Choices`) |(candidate index |for the chosen candidate |
| |as choice) | |
+--------------------------------------+-----------------+-----------------------------+
|:func:`pg.manyof` |None |DNA of each chosen candidate |
|(:class:`pg.geno.Choices) |(num_choices > 1 | |
+--------------------------------------+-----------------+-----------------------------+
| |int |Children of chosen candidate |
| |(num_choices==1) | |
+--------------------------------------+-----------------+-----------------------------+
|:func:`pg.floatv` |float |Empty |
|(:class:`pg.geno.Float` ) | | |
+--------------------------------------+-----------------+-----------------------------+
|:class:`pg.hyper.CustomHyper` |string |User defined. |
|(:class:`pg.geno.CustomDecisionPoint`)|(serialized | |
| | object) | |
+--------------------------------------+-----------------+-----------------------------+
DNA can also be represented in a compact form - a tree of numbers/strs,
formally defined as::
<dna> := empty | <decision>
<decision>: = <single-decision>
| <multi-decisions>
| <conditional-choice>
| <custom-decision>
<single-decision> := <categorical-decision>
| <float-decision>
| <custom-decision>
<categorical-decision> := int
<float-decision> := float
<custom-decision> := str
<multiple-decisions> := [<decision>, <decision>, ...]
<conditional-choice> := (<categorical-decision>,
<categorical-decision>,
...
<decision>)
Thus DNA can be constructed by nested structures of list, tuple and numbers.
The numeric value for DNA can be integer (as index of choice) or float (the
value itself will used as decoded value).
Examples::
# Empty DNA. This may be generated by an empty template.
DNA()
# A DNA of a nested choice of depth 3.
DNA(0, 0, 0)
# A DNA of three choices at the same level,
# positioned at 0, 1, 2, each choice has value 0.
DNA([0, 0, 0])
# A DNA of two choices (one two-level conditional,
# one non-conditional), position 0 is with choice path: 0 -> [0, 1],
# while [0, 1] means it's a multi-choice, decodable by Sublist or Subset.
# position 1 is a single non-conditional choice: 0.
DNA([(0, [0, 1]), 0])
# A DNA with custom decision point whose encoding
# is defined by the user.
DNA('abc')
| class DNA(symbolic.Object):
"""The genome of a symbolic object relative to its search space.
DNA is a hierarchical structure - each DNA node has a value, and a list of
child DNA nodes. The root node represents the genome that encodes an entire
object relative to its space. The value of a DNA node could be None, an
integer, a float number or a string, dependening on its specification
(:class:`pg.DNASpec`). A valid DNA has a form of the following.
+--------------------------------------+-----------------+-----------------------------+
| Hyper value type | Possible values | Child nodes |
| (DNASpec type) | | |
+======================================+=================+=============================+
|:class:`pg.hyper.ObjectTemplate` | None |DNA of child decision points |
|(:class:`pg.geno.Space`) |(elements > 1) |(Choices/Float) in the |
| | |template. |
+--------------------------------------+-----------------+-----------------------------+
| |None |Children of elements[0] |
| |(elements == 1 | |
| |and elements[0]. | |
| |num_choices > 1) | |
+--------------------------------------+-----------------+-----------------------------+
| |int |Children of: |
| |(elements == 1 |elements[0][0] |
| |and elements[0]. | |
| |num_choices ==1) | |
+--------------------------------------+-----------------+-----------------------------+
| |float |Empty |
| |(elements == 1 | |
| |and elements[0] | |
| |is geno.Float) | |
+--------------------------------------+-----------------+-----------------------------+
|:func:`pg.oneof` |int |Children of Space |
|(:class:`pg.geno.Choices`) |(candidate index |for the chosen candidate |
| |as choice) | |
+--------------------------------------+-----------------+-----------------------------+
|:func:`pg.manyof` |None |DNA of each chosen candidate |
|(:class:`pg.geno.Choices) |(num_choices > 1 | |
+--------------------------------------+-----------------+-----------------------------+
| |int |Children of chosen candidate |
| |(num_choices==1) | |
+--------------------------------------+-----------------+-----------------------------+
|:func:`pg.floatv` |float |Empty |
|(:class:`pg.geno.Float` ) | | |
+--------------------------------------+-----------------+-----------------------------+
|:class:`pg.hyper.CustomHyper` |string |User defined. |
|(:class:`pg.geno.CustomDecisionPoint`)|(serialized | |
| | object) | |
+--------------------------------------+-----------------+-----------------------------+
DNA can also be represented in a compact form - a tree of numbers/strs,
formally defined as::
<dna> := empty | <decision>
<decision>: = <single-decision>
| <multi-decisions>
| <conditional-choice>
| <custom-decision>
<single-decision> := <categorical-decision>
| <float-decision>
| <custom-decision>
<categorical-decision> := int
<float-decision> := float
<custom-decision> := str
<multiple-decisions> := [<decision>, <decision>, ...]
<conditional-choice> := (<categorical-decision>,
<categorical-decision>,
...
<decision>)
Thus DNA can be constructed by nested structures of list, tuple and numbers.
The numeric value for DNA can be integer (as index of choice) or float (the
value itself will used as decoded value).
Examples::
# Empty DNA. This may be generated by an empty template.
DNA()
# A DNA of a nested choice of depth 3.
DNA(0, 0, 0)
# A DNA of three choices at the same level,
# positioned at 0, 1, 2, each choice has value 0.
DNA([0, 0, 0])
# A DNA of two choices (one two-level conditional,
# one non-conditional), position 0 is with choice path: 0 -> [0, 1],
# while [0, 1] means it's a multi-choice, decodable by Sublist or Subset.
# position 1 is a single non-conditional choice: 0.
DNA([(0, [0, 1]), 0])
# A DNA with custom decision point whose encoding
# is defined by the user.
DNA('abc')
"""
# pylint: enable=line-too-long
# Use compact format for __str__ output.
__str_format_kwargs__ = dict(compact=True)
# Allow assignment on symbolic attributes.
allow_symbolic_assignment = True
@object_utils.explicit_method_override
def __init__(
self,
value: Union[None, int, float, str, List[Any], Tuple[Any]] = None,
# Set MISSING_VALUE to use default from pg_typing.
children: Optional[List['DNA']] = None,
spec: Optional[DNASpec] = None,
metadata: Optional[Dict[str, Any]] = None,
*,
allow_partial: bool = False,
**kwargs):
"""Constructor.
Args:
value: Value for current node.
children: Child DNA(s).
spec: DNA spec that constraint current node.
metadata: Optional dict as controller metadata for the DNA.
allow_partial: If True, allow the object to be partial.
**kwargs: keyword arguments that will be passed through to
symbolic.Object.
"""
value, children, metadata = self._parse_value_and_children(
value, children, metadata, spec)
super().__init__(
value=value,
children=children,
metadata=metadata or symbolic.Dict(),
allow_partial=allow_partial,
**kwargs)
self._decision_by_id_cache = None
self._named_decisions = None
self._userdata = AttributeDict()
self._cloneable_metadata_keys = set()
self._cloneable_userdata_keys = set()
self._spec = None
if spec:
self.use_spec(spec)
def _on_bound(self):
"""Event that is triggered when any symbolic member changes."""
super()._on_bound()
self._decision_by_id_cache = None
self._named_decisions = None
def _parse_value_and_children(
self,
value: Union[
int, # As a single chosen index.
float, # As a single chosen value.
str, # As a custom genome.
List[Any], # As multi-choice. (coexisting)
Tuple[Any], # As a conditional choice.
None],
children: Optional[List['DNA']],
metadata: Optional[Dict[str, Any]],
dna_spec: Optional[DNASpec]
) -> Tuple[Union[int, None, float], Optional[List['DNA']]]:
"""Parse value (leaf) and children from maybe compositional value."""
if isinstance(value, (list, tuple)):
# The value is compositional, therefore we need to parse the decision
# for current node and construct the children.
if children is not None:
| (value: Union[NoneType, int, float, str, List[Any], Tuple[Any]] = None, children: Optional[List[ForwardRef('DNA')]] = None, spec: Optional[pyglove.core.geno.base.DNASpec] = None, metadata: Optional[Dict[str, Any]] = None, *, allow_partial: bool = False, **kwargs) | [
0.06292448937892914,
0.0022859289310872555,
-0.022259538993239403,
0.0036451960913836956,
0.021807270124554634,
-0.011385400779545307,
-0.03934747353196144,
-0.03639788553118706,
0.03468712791800499,
-0.0814085602760315,
-0.02109936811029911,
0.08376823365688324,
0.01117892935872078,
0.03842326998710632,
-0.04648546874523163,
-0.0067545510828495026,
0.011611535213887691,
0.0969037190079689,
0.00862262211740017,
0.06595273315906525,
-0.03944579139351845,
0.063907690346241,
-0.024678198620676994,
0.03431351110339165,
-0.013715572655200958,
-0.033035360276699066,
0.0032175062224268913,
0.0075263590551912785,
-0.06382903456687927,
-0.005245346575975418,
0.02589736133813858,
-0.07944217324256897,
-0.019880207255482674,
-0.020568443462252617,
0.011326408945024014,
-0.07075072824954987,
-0.01382372435182333,
0.08101528137922287,
-0.09619581699371338,
0.02971215918660164,
-0.027844088152050972,
-0.032878048717975616,
-0.04569891095161438,
-0.0396031029522419,
-0.03513939678668976,
-0.0053289178758859634,
0.017982639372348785,
0.0530138835310936,
-0.06866635382175446,
-0.05340716242790222,
0.04912043362855911,
-0.03946545347571373,
0.0014809378189966083,
0.005309253931045532,
-0.03517872467637062,
0.05352514609694481,
-0.004753748886287212,
0.06009288877248764,
0.0931282490491867,
0.00020232313545420766,
0.03279939293861389,
0.04912043362855911,
-0.015770450234413147,
-0.08919546753168106,
0.005201102700084448,
0.02971215918660164,
0.005820515565574169,
-0.03201283514499664,
-0.038757555186748505,
0.005864759441465139,
-0.044047143310308456,
-0.05100816860795021,
0.0725991353392601,
0.019595080986618996,
0.05065421760082245,
-0.04137285426259041,
-0.012181788682937622,
-0.020027685910463333,
0.06213793531060219,
-0.05246329680085182,
-0.01462994422763586,
-0.0013383744517341256,
-0.02540576457977295,
-0.07609930634498596,
-0.027529465034604073,
0.04471571743488312,
0.03376292437314987,
0.0049086022190749645,
0.03799066320061684,
-0.004205617588013411,
-0.05069354549050331,
-0.021060040220618248,
0.026565933600068092,
0.05879507213830948,
-0.027726104483008385,
0.024737190455198288,
0.06288516521453857,
-0.07145863026380539,
0.0052600945346057415,
-0.0020720837637782097,
-0.006616903468966484,
0.002659542951732874,
-0.0703967735171318,
0.03783335164189339,
-0.03612259030342102,
0.0040138945914804935,
-0.04809790849685669,
0.025484420359134674,
0.05895238369703293,
-0.03340897336602211,
-0.13914178311824799,
0.0005183282191865146,
0.047861941158771515,
0.0029766233637928963,
0.0014317779568955302,
-0.008927412331104279,
-0.025504084303975105,
-0.029495855793356895,
-0.031875189393758774,
-0.015544315800070763,
0.03901318460702896,
0.0033699015621095896,
-0.0479799248278141,
0.05733994394540787,
0.01087413914501667,
0.03671250864863396,
0.02127634361386299,
-0.008332579396665096,
-0.021138695999979973,
0.005791019648313522,
0.0479799248278141,
0.01774667389690876,
-0.011935989372432232,
0.05387909710407257,
0.026152992621064186,
0.023773659020662308,
-0.019545920193195343,
-0.036535535007715225,
-0.05576683208346367,
0.02302643097937107,
0.02762778475880623,
-0.07177324593067169,
0.06103675812482834,
-0.08227377384901047,
-0.006307197269052267,
0.006203961558640003,
-0.016517680138349533,
-0.03201283514499664,
-0.054272376000881195,
-0.03618158400058746,
-0.03712544962763786,
-0.01709776371717453,
0.00839648675173521,
0.03744007274508476,
-0.05128346011042595,
0.009350186213850975,
-0.015485323965549469,
-0.06563811004161835,
0.00822934415191412,
0.010013842955231667,
-0.033153340220451355,
-0.041490837931632996,
-0.02237752266228199,
0.029849806800484657,
-0.017225580289959908,
-0.003770553506910801,
0.01675364561378956,
-0.07350367307662964,
-0.015908097848296165,
0.01627187989652157,
-0.01255540270358324,
-0.027057532221078873,
-0.04605286195874214,
0.038305286318063736,
-0.03067569062113762,
0.04711471498012543,
0.014344817958772182,
0.03390057012438774,
0.02623164840042591,
-0.021807270124554634,
-0.004734084941446781,
-0.02428492158651352,
-0.0520700179040432,
-0.009006068110466003,
0.029043586924672127,
0.009640228934586048,
0.006926610134541988,
0.025504084303975105,
0.10060053318738937,
0.02591702528297901,
0.004965135827660561,
-0.02715585194528103,
0.033644940704107285,
0.03437250480055809,
0.04971034824848175,
-0.017618857324123383,
0.010372709482908249,
-0.005088035017251968,
-0.04396848753094673,
0.04412579908967018,
-0.0032814140431582928,
-0.03565065935254097,
-0.0032642080914229155,
-0.005083119031041861,
-0.041805461049079895,
0.03531637042760849,
-0.005014295689761639,
0.029849806800484657,
-0.028551988303661346,
-0.060171544551849365,
-0.060171544551849365,
-0.009256782941520214,
0.021610630676150322,
-0.0038590412586927414,
0.017815496772527695,
-0.11090441793203354,
0.016291543841362,
-0.011208425275981426,
0.016694653779268265,
-0.011729518882930279,
0.06941358000040054,
-0.01582944206893444,
0.016193224117159843,
-0.004149083513766527,
0.010736491531133652,
-0.016881462186574936,
-0.01712726056575775,
0.024245593696832657,
0.020568443462252617,
0.0049528456293046474,
0.03852158784866333,
-0.0399177260696888,
0.02766711264848709,
-0.0396031029522419,
0.0501822829246521,
0.013066664338111877,
0.02349836565554142,
0.0077426619827747345,
-0.043260589241981506,
0.022495506331324577,
-0.053446490317583084,
-0.009930271655321121,
-0.027863752096891403,
-0.010343213565647602,
0.011316576972603798,
0.017481209710240364,
0.0473506823182106,
0.011513215489685535,
-0.008848756551742554,
-0.060171544551849365,
-0.016350535675883293,
-0.04200210049748421,
-0.006592324003577232,
0.003659944050014019,
-0.01174918282777071,
-0.03480511158704758,
-0.037007465958595276,
-0.0132534708827734,
0.04463706165552139,
0.0014944566646590829,
0.000961687823291868,
-0.0533285066485405,
-0.022829793393611908,
0.058087173849344254,
-0.020214492455124855,
0.030911656096577644,
0.004463706165552139,
0.009084723889827728,
-0.0358276329934597,
-0.019231298938393593,
0.07495880126953125,
0.04298529401421547,
-0.02829635702073574,
0.012889688834547997,
-0.025169797241687775,
0.006100726313889027,
0.03350729122757912,
0.019260793924331665,
-0.00032875590841285884,
0.0003090919926762581,
-0.027411481365561485,
-0.004353096708655357,
0.007142913062125444,
0.013617253862321377,
-0.0029053417965769768,
-0.004008978605270386,
-0.0003080166061408818,
0.03663385286927223,
0.0008344869129359722,
0.004134336020797491,
0.019054323434829712,
0.002330172574147582,
0.03901318460702896,
0.0177565049380064,
0.07338569313287735,
0.015534483827650547,
-0.03688948228955269,
0.004994631744921207,
-0.018906842917203903,
-0.0393868014216423,
0.04506966844201088,
-0.006852870341390371,
0.09202706813812256,
0.00011160801659571007,
-0.060800790786743164,
-0.012437419034540653,
0.04687874764204025,
0.007688586600124836,
0.013705740682780743,
0.03755805641412735,
-0.017471378669142723,
0.037007465958595276,
0.031875189393758774,
0.09635312855243683,
0.013941708020865917,
-0.03201283514499664,
-0.021296007558703423,
-0.07248114794492722,
0.07051476091146469,
0.05391842499375343,
-0.05545220896601677,
0.0051863547414541245,
-0.03276006504893303,
-0.002703786827623844,
-0.0059532467275857925,
-0.03358594700694084,
0.009817204438149929,
0.04042898491024971,
0.005333833862096071,
-0.0057861036621034145,
-0.03006610833108425,
-0.028551988303661346,
0.014167842455208302,
0.022318530827760696,
0.01119859330356121,
0.03979974240064621,
0.01087413914501667,
0.003310909727588296,
0.0013027336681261659,
-0.05608145520091057,
0.022908447310328484,
0.016517680138349533,
-0.019221466034650803,
0.025051813572645187,
0.06280650943517685,
-0.061901967972517014,
0.03307468816637993,
-0.015908097848296165,
0.02188592590391636,
0.05844112113118172,
-0.016498016193509102,
0.05765456706285477,
0.009713968262076378,
0.012014645151793957,
0.037145115435123444,
-0.0358276329934597,
0.0028905938379466534,
0.012575066648423672,
-0.04412579908967018,
0.006931526120752096,
0.04125487059354782,
-0.04172680526971817,
-0.038914866745471954,
0.004800450522452593,
-0.0064399284310638905,
-0.06087944656610489,
-0.04805858060717583,
0.03773503005504608,
0.040979575365781784,
-0.03358594700694084,
0.03134426102042198,
-0.057143304497003555,
-0.03688948228955269,
-0.04204142838716507,
0.029810478910803795,
0.026133328676223755,
0.0155049879103899,
0.004222823306918144,
-0.033625274896621704,
-0.03279939293861389,
-0.007698418572545052,
0.013695908710360527,
-0.015210029669106007,
0.0654807984828949,
-0.04263134300708771,
-0.014403809793293476,
0.06473357230424881,
0.039111506193876266,
0.007177324965596199,
0.028886275365948677,
-0.0015890892827883363,
-0.011827838607132435,
0.03596527874469757,
-0.00287584587931633,
-0.010353045538067818,
-0.015898266807198524,
0.013676244765520096,
-0.007398543879389763,
-0.025386100634932518,
-0.02365567721426487,
0.02412761002779007,
-0.06331776827573776,
0.008588209748268127,
0.03818730264902115,
-0.010451365262269974,
-0.024697862565517426,
0.08990336954593658,
0.014669272117316723,
-0.03639788553118706,
0.040507640689611435,
0.00037699390668421984,
0.005230598617345095,
-0.021610630676150322,
0.018336590379476547,
-0.0067053912207484245,
-0.03152123838663101,
0.04333924502134323,
0.022829793393611908,
0.008219512179493904,
-0.020647099241614342,
0.027844088152050972,
-0.01071682758629322,
0.021217351779341698,
0.0766892284154892,
0.02239718660712242,
0.012024477124214172,
0.020175164565443993,
0.01303716842085123,
-0.0011171555379405618,
0.016173560172319412,
0.0007552168099209666,
-0.006356357131153345,
-0.007300224155187607,
-0.06662130355834961,
0.012221116572618484,
-0.03327132388949394,
-0.07035744935274124,
-0.037970997393131256,
-0.0016947827534750104,
0.025681057944893837,
-0.012309604324400425,
0.04569891095161438,
0.04200210049748421,
0.009866363368928432,
-0.000028535703677334823,
0.022003907710313797,
0.008116276003420353,
0.012221116572618484,
0.017038771882653236,
-0.03861990571022034,
0.02829635702073574,
-0.029377872124314308,
0.05391842499375343,
0.02800139971077442,
-0.05368245765566826,
-0.009635312482714653,
-0.01695028506219387,
-0.017923647537827492,
-0.0020511909388005733,
0.003977024462074041,
-0.018267767503857613,
0.017776168882846832,
0.04168747738003731,
0.008927412331104279,
-0.06402567028999329,
0.06760450452566147,
0.041294198483228683,
0.015790114179253578,
-0.07456552237272263,
-0.028807619586586952,
0.00416137371212244,
0.029023922979831696,
0.027942407876253128,
-0.05324985086917877,
0.030439723283052444,
-0.021217351779341698,
0.0004018810286652297,
-0.07204854488372803,
-0.06658197939395905,
-0.08188049495220184,
0.0473506823182106,
-0.037794023752212524,
0.03783335164189339,
0.018454574048519135,
-0.008421067148447037,
0.017009276896715164,
0.034942757338285446,
0.006739803124219179,
-0.006390768568962812,
-0.011572207324206829,
-0.06799778342247009,
0.020902730524539948,
0.0005607284838333726,
-0.020509451627731323,
-0.014334985986351967,
0.04750799015164375,
0.023242734372615814,
-0.029830142855644226,
0.01087413914501667,
-0.06469424068927765,
-0.021354999393224716,
-0.0030257832258939743,
-0.04286731034517288,
-0.01868070848286152,
0.04668210819363594,
-0.027116524055600166,
-0.053603801876306534,
-0.018906842917203903,
-0.030321739614009857,
-0.016547175124287605,
-0.01887734793126583,
-0.0344708226621151,
0.07177324593067169,
-0.004933181684464216,
-0.0009395658853463829,
0.05832313746213913,
0.032052163034677505,
-0.006405516527593136,
-0.052974555641412735,
-0.052188001573085785,
-0.030105436220765114,
-0.03627990186214447,
0.006557912100106478,
-0.01455128937959671,
0.0241472739726305,
-0.011395232751965523,
-0.01725507527589798,
-0.004965135827660561,
0.027391817420721054,
-0.03563099354505539,
0.027254171669483185,
-0.02526811696588993,
0.0010434158612042665,
0.06249188631772995,
0.008121192455291748,
0.01239809114485979,
0.08227377384901047,
0.016674989834427834,
0.03388090804219246,
0.02922056056559086,
0.035552337765693665,
0.005614044610410929,
-0.011395232751965523,
0.0037435158155858517,
0.04392915964126587,
-0.04424378275871277,
0.023695005103945732,
-0.013282966800034046,
0.0166061669588089,
0.03482477366924286,
-0.008927412331104279,
-0.032347120344638824,
0.010402205400168896,
0.006302281282842159,
0.028198039159178734,
-0.008750436827540398,
0.00535841379314661,
-0.0026693749241530895,
0.030597034841775894,
0.017166588455438614,
0.008681613951921463,
-0.012339099310338497,
0.03370393067598343,
-0.06681794673204422,
0.06316045671701431,
0.020234156399965286,
-0.02619232051074505,
0.009237118996679783,
0.03783335164189339,
-0.00917812716215849,
0.03543435409665108,
0.015219861641526222,
-0.014030195772647858,
0.018474237993359566,
-0.0511261485517025,
-0.007349384017288685,
-0.06827307492494583,
0.05089018493890762,
-0.02847333252429962,
-0.03462813422083855,
0.024383241310715675,
0.04731135442852974,
-0.03272073715925217,
-0.02139432728290558,
0.04361454024910927,
0.04998564347624779,
0.0034854270052164793,
0.07094736397266388,
-0.013184648007154465,
-0.05631742253899574,
-0.009173211641609669,
0.0045571099035441875,
-0.002703786827623844,
-0.004739000927656889,
-0.009261698462069035,
0.04208075627684593,
-0.026880556717514992,
-0.03002678044140339,
0.027549128979444504,
-0.059699613600969315,
-0.031717877835035324,
0.04440109431743622,
0.0021814643405377865,
0.01855289377272129,
0.04042898491024971,
0.03486410155892372,
0.04223806411027908,
-0.04074360802769661,
-0.007496863603591919,
-0.06528416275978088,
0.025307444855570793,
0.021964579820632935,
-0.02507147751748562,
-0.038895200937986374,
-0.04762597382068634,
-0.056474730372428894,
-0.035729315131902695,
0.005171606782823801,
-0.019919535145163536,
-0.02012600563466549,
-0.023105086758732796,
-0.024560216814279556,
-0.026605261489748955,
0.003573914524167776,
-0.018100623041391373,
-0.03466746211051941,
0.005815599579364061,
-0.02316407859325409,
0.007890141569077969,
-0.016429191455245018,
0.048019252717494965,
0.024501224979758263,
-0.04314260557293892,
-0.003994230646640062,
-0.015072382055222988,
-0.01062833983451128,
0.011768846772611141,
-0.011129769496619701,
-0.003519838908687234,
0.08337495476007462,
-0.08526268601417542,
-0.03675183653831482,
-0.05167673900723457,
0.06807643175125122,
-0.02699854038655758,
-0.021217351779341698,
-0.019093651324510574,
-0.024815846234560013,
0.0030479051638394594,
0.036535535007715225,
-0.008047453127801418,
0.0689416453242302,
-0.019368944689631462,
-0.06587407737970352,
0.037145115435123444,
0.006120390258729458,
0.02206289954483509,
0.01809079200029373,
-0.0305380430072546,
0.07157661020755768,
0.01181800663471222,
-0.024225929751992226,
0.030793674290180206,
-0.013695908710360527,
0.022967439144849777,
0.023419709876179695,
0.02013583853840828,
0.006961022038012743,
0.049631692469120026,
0.04919908940792084,
-0.02587769739329815,
-0.0122309485450387,
0.027254171669483185,
-0.015151037834584713,
-0.008593126200139523,
-0.026919884607195854,
0.04711471498012543,
0.05718263238668442,
0.049159761518239975,
0.004768496844917536,
0.049002449959516525,
0.025759713724255562,
0.013509102165699005,
-0.07570602744817734,
0.014580784365534782,
-0.03136392682790756,
0.04042898491024971,
0.0017685223137959838,
0.008657033555209637,
-0.058913055807352066,
-0.04038965702056885,
-0.04904177784919739,
0.04463706165552139,
0.011070777662098408,
-0.02223987504839897,
0.012427587062120438,
-0.0344708226621151,
0.009409178048372269,
0.009060143493115902,
-0.01174918282777071,
0.036063600331544876,
0.0003176949394401163,
-0.02668391726911068,
0.025189461186528206,
0.014167842455208302,
0.012978176586329937,
-0.022141555324196815,
0.018936339765787125,
0.0707113966345787,
-0.013282966800034046,
0.025189461186528206,
0.10209498554468155,
-0.022829793393611908,
-0.016262048855423927,
-0.01597692258656025,
-0.018493901938199997,
0.006503836251795292,
0.08361092209815979,
-0.04141218215227127,
-0.02699854038655758,
-0.01255540270358324,
-0.0016960117500275373,
0.10492659360170364,
0.02192525379359722,
-0.010923299007117748,
0.05065421760082245,
0.012575066648423672,
-0.03071501851081848,
-0.044991012662649155,
-0.03051837906241417,
0.012525906786322594,
0.07094736397266388,
-0.05033959448337555,
-0.02076508291065693,
-0.048687826842069626,
-0.04455840587615967,
0.013931876048445702,
0.011994981206953526,
-0.030636362731456757,
0.03594561666250229,
-0.03995705395936966,
0.023577021434903145,
0.0024973158724606037,
-0.020843738690018654,
-0.010569347999989986,
0.03311401605606079,
-0.026015345007181168,
0.02715585194528103,
0.01884785108268261,
-0.007221568841487169,
0.07031811773777008,
0.011405064724385738,
0.013391118496656418,
0.006636567413806915,
0.07429023087024689,
0.011542711406946182,
-0.010510357096791267,
0.01615389622747898,
-0.026349632069468498,
-0.07771174609661102,
-0.04982833191752434,
-0.007054425310343504,
0.0169207900762558,
-0.006169549655169249,
-0.002304363762959838,
0.0017525454750284553,
-0.061115413904190063,
0.013715572655200958
]
|
40,355 | pyglove.core.geno.base | __cmp__ | DNA comparison. | def __cmp__(self, other: 'DNA') -> int:
"""DNA comparison."""
if other is None:
return 1
def compare_dna_value(x, y):
if x == y:
return 0
if x is None:
return -1
if y is None:
return 1
if isinstance(x, (int, float)) and isinstance(y, str):
return -1
if isinstance(x, str) and isinstance(y, (int, float)):
return 1
return -1 if x < y else 1
result = compare_dna_value(self.value, other.value)
if result != 0:
return result
if len(self.children) != len(other.children):
raise ValueError(
f'The two input DNA have different number of children. '
f'(Left={self!r}, Right={other!r})')
for i, c in enumerate(self.children):
result = c.__cmp__(other.children[i])
if result != 0:
return result
return 0
| (self, other: pyglove.core.geno.base.DNA) -> int | [
0.0031982343643903732,
0.00924726203083992,
0.014966667629778385,
0.028329763561487198,
-0.027955597266554832,
-0.039804209023714066,
-0.04404476284980774,
0.041692860424518585,
0.04529198631644249,
-0.08602270483970642,
-0.005349692888557911,
0.03624071553349495,
0.0605437345802784,
0.03520730510354042,
-0.0052695139311254025,
-0.04878420755267143,
0.0011781796347349882,
0.06189785897731781,
0.007541240658611059,
0.023358691483736038,
-0.025318613275885582,
0.05687333643436432,
-0.012400953099131584,
-0.015501190908253193,
-0.0069799902848899364,
0.06539008021354675,
0.0036681697238236666,
-0.00817821454256773,
-0.055020321160554886,
0.06485556066036224,
0.003995565697550774,
-0.03909150883555412,
-0.017042402178049088,
-0.031394366174936295,
-0.020472262054681778,
-0.05010269954800606,
-0.017380934208631516,
0.02799123153090477,
-0.07853937149047852,
0.05783547833561897,
-0.007545694708824158,
-0.06261055916547775,
0.01267712377011776,
-0.057906750589609146,
-0.033835358917713165,
-0.04204920679330826,
-0.05551920831203461,
0.000445993326138705,
-0.05095794051885605,
0.005955486558377743,
0.01714930683374405,
-0.06293126940727234,
0.004832986276596785,
0.018957778811454773,
-0.04771516099572182,
0.08509619534015656,
0.033193930983543396,
0.025282977148890495,
0.0173542071133852,
-0.003075739135965705,
-0.01069047674536705,
0.011358631774783134,
-0.012525674887001514,
-0.06335889548063278,
-0.02143440581858158,
-0.03738103434443474,
-0.05534103512763977,
-0.031394366174936295,
-0.03504694625735283,
0.04290444776415825,
-0.023127064108848572,
-0.004309598356485367,
0.01739875040948391,
0.028864286839962006,
0.002870838390663266,
0.04411603510379791,
0.0016447743400931358,
0.05559048056602478,
0.08602270483970642,
-0.020258452743291855,
0.05231206491589546,
-0.031554725021123886,
0.05031650885939598,
-0.055554844439029694,
-0.03574182838201523,
-0.0069978078827261925,
0.013995615765452385,
0.007086895406246185,
0.030788572505116463,
-0.0241604782640934,
-0.0372028574347496,
-0.01765710487961769,
0.02759924717247486,
-0.022485636174678802,
-0.014672678895294666,
0.07173310220241547,
0.02147004008293152,
-0.03385317698121071,
0.0033652728889137506,
0.020115913823246956,
0.04482873156666756,
0.09963524341583252,
0.041585955768823624,
0.00682408781722188,
0.0028329764027148485,
-0.005385327618569136,
-0.03436988219618797,
0.006392014212906361,
-0.0424768291413784,
0.00685081398114562,
-0.10177333652973175,
-0.016000080853700638,
0.03837881237268448,
-0.006302926689386368,
0.02973734214901924,
-0.013487817719578743,
-0.00977287720888853,
-0.017363116145133972,
-0.005015615373849869,
-0.0329088494181633,
0.07925206422805786,
0.041051432490348816,
0.018565794453024864,
0.002093551680445671,
-0.015572461299598217,
0.024837540462613106,
0.02107805572450161,
-0.02098896913230419,
-0.0985661968588829,
0.026672739535570145,
0.09143920987844467,
0.020846430212259293,
-0.004227192606776953,
0.07037897408008575,
0.06980881094932556,
0.020614802837371826,
0.02768833562731743,
0.024374287575483322,
-0.0032182789873331785,
0.018779603764414787,
0.05437889322638512,
-0.06770635396242142,
0.10704730451107025,
-0.0688823014497757,
-0.013104742392897606,
0.04881984367966652,
-0.026262937113642693,
0.02212928608059883,
-0.0023541320115327835,
-0.02282416820526123,
-0.025176072493195534,
-0.006204931065440178,
0.027278533205389977,
0.0033630458638072014,
0.006579097360372543,
-0.013612540438771248,
-0.012623671442270279,
-0.060686271637678146,
0.007505605462938547,
0.013585814274847507,
0.019207222387194633,
-0.008583561517298222,
-0.01417379081249237,
0.0007628100574947894,
-0.011127004399895668,
-0.005977758206427097,
0.022931072860956192,
0.01428960356861353,
-0.0027193899732083082,
-0.007790684700012207,
0.01056575495749712,
-0.018458889797329903,
-0.05812055990099907,
-0.01273057609796524,
-0.02863265946507454,
-0.026833096519112587,
-0.017006766051054,
0.03246341273188591,
0.025639327242970467,
0.0186014287173748,
0.001655910280533135,
0.004828531760722399,
0.0072517069056630135,
-0.007331885397434235,
0.0213809534907341,
-0.012365317903459072,
0.00810694508254528,
0.03773738443851471,
0.04632540047168732,
0.0068641770631074905,
-0.014449961483478546,
-0.02207583375275135,
-0.05726531893014908,
-0.031038017943501472,
0.04222738370299339,
0.0033897720277309418,
-0.018530160188674927,
0.0022238418459892273,
0.0011759524932131171,
0.052133891731500626,
-0.02182639017701149,
-0.00962142925709486,
-0.008792917244136333,
-0.011946607381105423,
0.032142698764801025,
0.006690456531941891,
-0.005714950617402792,
0.017559107393026352,
-0.024249564856290817,
-0.09058397263288498,
-0.011697162874042988,
-0.0336037315428257,
-0.021363135427236557,
-0.015545735135674477,
0.0034320885315537453,
-0.03167944774031639,
0.0039398861117661,
-0.026191668584942818,
0.012409862130880356,
-0.01126063521951437,
0.09008508175611496,
0.016071349382400513,
0.0266549214720726,
0.0028352034278213978,
0.01993773877620697,
0.0028129317797720432,
-0.0017160442657768726,
0.014057977125048637,
0.011376448906958103,
0.006935446988791227,
0.035670556128025055,
-0.039162781089544296,
0.048748575150966644,
-0.041942302137613297,
0.003772847354412079,
-0.0030534674879163504,
-0.011474445462226868,
-0.006957718636840582,
-0.12294048070907593,
-0.015046846121549606,
-0.07383555918931961,
0.013478909619152546,
0.0011325223604217172,
-0.0024075843393802643,
0.026975635439157486,
-0.08516746759414673,
0.02057916857302189,
-0.015456647612154484,
-0.014610318467020988,
0.02207583375275135,
-0.03795119374990463,
-0.0560893677175045,
-0.033888813108205795,
-0.03007587417960167,
-0.04543452709913254,
-0.042833175510168076,
-0.07732778042554855,
-0.02107805572450161,
0.0336037315428257,
0.026191668584942818,
0.010494484566152096,
-0.04728754237294197,
-0.04033873230218887,
-0.0009749492164701223,
-0.044329844415187836,
0.022450001910328865,
0.02196892909705639,
0.03558146953582764,
0.004055699799209833,
-0.012267322279512882,
0.00558131979778409,
-0.04115833714604378,
-0.03926968574523926,
0.031447820365428925,
-0.03002242185175419,
0.033087026327848434,
0.016169346868991852,
0.009336349554359913,
-0.009826329536736012,
-0.04543452709913254,
-0.00894881971180439,
0.007487787865102291,
-0.05772857367992401,
-0.040089286863803864,
-0.028222858905792236,
-0.013924346305429935,
0.0151359336450696,
-0.07561730593442917,
-0.05395127087831497,
0.006859722547233105,
0.03178635239601135,
-0.014850853942334652,
-0.011554623953998089,
0.027367619797587395,
0.0008418750367127359,
-0.03369281813502312,
0.008908730931580067,
-0.026262937113642693,
0.026868730783462524,
0.007171527948230505,
-0.03271285817027092,
-0.031109286472201347,
0.04678865149617195,
-0.032089248299598694,
-0.04789333418011665,
-0.004850803874433041,
-0.020668255165219307,
0.018708333373069763,
0.018334167078137398,
0.045969050377607346,
-0.02173730358481407,
0.04543452709913254,
0.022895438596606255,
0.03606254234910011,
0.00742097245529294,
0.03848571702837944,
0.03185762092471123,
0.007697143126279116,
0.019706111401319504,
0.04753698781132698,
-0.013461091555655003,
0.0835995301604271,
-0.061185162514448166,
0.029113732278347015,
0.0011826340341940522,
-0.011046825908124447,
-0.02357250079512596,
0.047501351684331894,
0.07116293907165527,
0.03187543898820877,
-0.013487817719578743,
-0.004071289673447609,
0.06948810070753098,
-0.0360981747508049,
0.041336510330438614,
0.02779524028301239,
0.04782206565141678,
0.028418850153684616,
0.008392023853957653,
-0.024623731151223183,
0.00022578064817935228,
0.02610258013010025,
0.02480190619826317,
-0.010948830284178257,
0.10847270488739014,
-0.010262858122587204,
0.002080188598483801,
0.024374287575483322,
-0.006601369474083185,
0.034280795603990555,
-0.010013413615524769,
0.025069167837500572,
-0.0088508240878582,
-0.0633232593536377,
-0.006588006392121315,
-0.013897620141506195,
0.009968869388103485,
0.012418770231306553,
-0.019011231139302254,
0.04714500159025192,
0.03926968574523926,
-0.04778642952442169,
-0.03590218350291252,
-0.015118115581572056,
-0.029452264308929443,
-0.04226301982998848,
-0.027510160580277443,
-0.036561429500579834,
-0.03534984216094017,
-0.008757282048463821,
-0.010583572089672089,
-0.0008368638809770346,
0.009131449274718761,
-0.05284658819437027,
-0.024499008432030678,
0.01081519853323698,
0.00542096234858036,
0.015296290628612041,
0.0055412305518984795,
-0.029470080509781837,
0.017478929832577705,
0.021986747160553932,
-0.019100317731499672,
0.056053731590509415,
-0.05865508317947388,
-0.004465501289814711,
0.023465596139431,
0.027225080877542496,
0.020205000415444374,
0.04646793752908707,
-0.035528019070625305,
-0.037559207528829575,
0.0020100323017686605,
-0.023893214762210846,
-0.045862145721912384,
0.02455246075987816,
0.00342540699057281,
-0.03335428610444069,
-0.04098016023635864,
-0.036026906222105026,
0.023732857778668404,
-0.012400953099131584,
-0.0000056288563428097405,
0.028953375294804573,
0.04048127308487892,
0.0497107170522213,
0.06075754389166832,
0.01585754007101059,
-0.07932333648204803,
0.05569738522171974,
-0.11403175443410873,
0.03062821552157402,
0.0071670738980174065,
0.024481192231178284,
-0.03449460491538048,
-0.08310063928365707,
0.02371504157781601,
0.03485095500946045,
0.0013307416811585426,
-0.02674400992691517,
-0.03586655110120773,
-0.0011870883172377944,
-0.014182698912918568,
0.00483744079247117,
0.03321174904704094,
-0.020454445853829384,
0.048855479806661606,
0.03419170901179314,
-0.045612700283527374,
-0.010833016596734524,
0.01954575441777706,
0.04575524106621742,
0.005772857461124659,
-0.030503492802381516,
0.05056595429778099,
0.028080318123102188,
-0.01220496091991663,
-0.021149326115846634,
0.019527938216924667,
0.028151588514447212,
0.008801826275885105,
0.045327622443437576,
0.027171628549695015,
0.04347460716962814,
-0.024231746792793274,
-0.015786271542310715,
0.080534927546978,
0.008481111377477646,
0.011358631774783134,
-0.05559048056602478,
0.023679405450820923,
0.017710557207465172,
-0.006196022033691406,
-0.018672699108719826,
-0.030004603788256645,
-0.01056575495749712,
-0.043830953538417816,
-0.0053229667246341705,
-0.0416572242975235,
0.013915437273681164,
-0.020899882540106773,
0.027171628549695015,
0.03201797604560852,
0.010031230747699738,
-0.09222318232059479,
0.06695801764726639,
0.04048127308487892,
0.005518958438187838,
-0.03134091570973396,
0.04087325558066368,
0.043225161731243134,
-0.02321615256369114,
-0.014957758598029613,
-0.014521230943500996,
-0.020276270806789398,
0.03248123079538345,
-0.0030445586889982224,
-0.07846809923648834,
-0.007688234560191631,
0.007046805694699287,
0.005403145216405392,
-0.00853010918945074,
0.019777381792664528,
0.01016486156731844,
0.02357250079512596,
-0.03460150957107544,
-0.04254809767007828,
0.034013532102108,
0.002181525342166424,
-0.036115992814302444,
-0.008320754393935204,
-0.0028975645545870066,
-0.043973494321107864,
0.010102500207722187,
-0.014806310646235943,
0.02724289894104004,
0.022681627422571182,
-0.03873516246676445,
-0.04204920679330826,
-0.016668235883116722,
-0.007706052158027887,
0.008307390846312046,
-0.03629416972398758,
-0.000712141627445817,
0.05070849508047104,
0.015777362510561943,
-0.01126063521951437,
-0.03173289820551872,
-0.018316350877285004,
0.02440992183983326,
-0.017924366518855095,
-0.057799845933914185,
0.08267302066087723,
-0.017924366518855095,
0.0007422086200676858,
0.040053654462099075,
0.004935436882078648,
-0.01893996074795723,
0.0019521255744621158,
-0.008098036050796509,
-0.011973333545029163,
-0.06923865526914597,
-0.03251686692237854,
-0.07333666831254959,
0.00017497304361313581,
0.006819633301347494,
0.012044603936374187,
0.014441052451729774,
0.01885087415575981,
-0.06660167127847672,
-0.05095794051885605,
-0.01913595385849476,
-0.014334147796034813,
0.01314928662031889,
-0.02838321588933468,
0.04514944553375244,
-0.030646033585071564,
0.08538127690553665,
0.00823166687041521,
0.055911194533109665,
0.026886548846960068,
-0.017674921080470085,
0.045220717787742615,
-0.009345258586108685,
0.03570619225502014,
0.008098036050796509,
-0.03253468498587608,
0.04048127308487892,
-0.004592450801283121,
0.07347921282052994,
-0.011055734939873219,
-0.038058098405599594,
-0.02157694473862648,
-0.015527917072176933,
0.0006369742332026362,
0.011153730563819408,
-0.03281976282596588,
0.0006648140260949731,
0.06988008320331573,
0.05245460569858551,
0.05384436622262001,
0.022645993158221245,
0.03102019988000393,
-0.0746907964348793,
-0.0004835770232602954,
-0.023091429844498634,
0.009826329536736012,
-0.011697162874042988,
0.021666033193469048,
0.04917619377374649,
0.011367539875209332,
0.039198413491249084,
-0.059296511113643646,
-0.024730635806918144,
-0.03909150883555412,
0.010672659613192081,
-0.0588688924908638,
0.061470240354537964,
-0.04147905111312866,
-0.044365476816892624,
-0.01595553569495678,
0.024338651448488235,
0.011884246952831745,
0.03153690695762634,
0.011385357938706875,
-0.009817421436309814,
-0.011385357938706875,
0.030111510306596756,
-0.010984464548528194,
-0.04514944553375244,
-0.05751476436853409,
-0.03162599354982376,
0.0018786286236718297,
-0.0413721464574337,
0.013870893977582455,
0.04425857216119766,
-0.015982262790203094,
-0.00015339720994234085,
0.002875292906537652,
-0.060935717076063156,
0.05762166902422905,
-0.008253938518464565,
0.020205000415444374,
-0.0031113740988075733,
0.07059278339147568,
0.008271756581962109,
0.04404476284980774,
-0.06050809845328331,
-0.020668255165219307,
0.006547917146235704,
0.0588688924908638,
0.03852134943008423,
0.03396008163690567,
-0.06777762621641159,
0.011946607381105423,
-0.05826309695839882,
-0.01684640906751156,
-0.02963043749332428,
-0.020222818478941917,
0.011483353562653065,
-0.009888690896332264,
0.006766180973500013,
0.0031202828977257013,
0.0009816307574510574,
-0.005340783856809139,
-0.0201337318867445,
-0.00462363101541996,
0.019029049202799797,
0.05095794051885605,
0.007527877576649189,
0.050815399736166,
-0.021202778443694115,
0.02715381048619747,
-0.05363055691123009,
-0.06695801764726639,
-0.06011611595749855,
0.01439650822430849,
-0.032997939735651016,
-0.020311905071139336,
0.07312285900115967,
-0.050637226551771164,
-0.0002476348599884659,
-0.06196913123130798,
0.05808492377400398,
-0.04564833641052246,
-0.06011611595749855,
-0.021666033193469048,
0.002109142020344734,
-0.019652659073472023,
-0.03852134943008423,
0.0016291841166093946,
0.05384436622262001,
0.008686012588441372,
-0.0222183745354414,
-0.02082861214876175,
-0.03941222280263901,
0.05363055691123009,
0.02057916857302189,
0.0007388678495772183,
0.016516786068677902,
0.05534103512763977,
0.006374196615070105,
0.022948890924453735,
-0.0028953375294804573,
0.014735040254890919,
-0.020792977884411812,
0.04568396881222725,
-0.0020790749695152044,
0.02237873151898384,
-0.0007984449621289968,
-0.03417389094829559,
0.027563612908124924,
0.0010189360473304987,
-0.04457928612828255,
-0.03565273806452751,
-0.03759484365582466,
0.020543532446026802,
0.03659706562757492,
0.07298032194375992,
-0.020276270806789398,
0.023590318858623505,
0.05127865448594093,
-0.016784047707915306,
-0.042690638452768326,
0.04112270101904869,
-0.005015615373849869,
0.026761826127767563,
0.03018277883529663,
0.058441273868083954,
-0.010521210730075836,
-0.0001398253079969436,
-0.03962603211402893,
0.03894897177815437,
-0.036668334156274796,
0.0002611371746752411,
0.053381115198135376,
0.0006837450782768428,
0.030093692243099213,
-0.05523413047194481,
-0.006155932787805796,
0.0201337318867445,
-0.01829853281378746,
-0.00914926640689373,
0.018423255532979965,
-0.002481081523001194,
-0.05334547907114029,
-0.01730966381728649,
0.06268183141946793,
0.08595143258571625,
-0.02799123153090477,
-0.02710035815834999,
0.017416568472981453,
-0.01474394928663969,
-0.028953375294804573,
-0.024303017184138298,
0.008093581534922123,
0.059688493609428406,
0.060187384486198425,
0.005100248381495476,
0.02391103282570839,
-0.06435666978359222,
-0.014761766418814659,
0.09984905272722244,
0.005265059880912304,
0.018726151436567307,
0.04607595503330231,
0.055055953562259674,
-0.06321635097265244,
-0.06457047909498215,
-0.03276631236076355,
-0.018565794453024864,
0.09571540355682373,
0.03062821552157402,
-0.004420957528054714,
-0.03827190771698952,
0.014227243140339851,
-0.014209425076842308,
-0.041087064892053604,
0.02674400992691517,
0.060080479830503464,
0.018111448734998703,
0.02571059577167034,
0.04212047904729843,
-0.04743008315563202,
0.050637226551771164,
0.033087026327848434,
-0.03143000230193138,
0.06228984519839287,
-0.012935477308928967,
-0.0497107170522213,
0.03132309764623642,
0.003416498191654682,
0.03330083563923836,
-0.016392065212130547,
0.05284658819437027,
0.07547476887702942,
-0.017113670706748962,
-0.013024563901126385,
-0.014405417256057262,
-0.03223178908228874,
-0.01759474352002144,
0.020650437101721764,
-0.03057476319372654,
-0.0014810764696449041,
-0.01012031827121973,
0.019866468384861946,
-0.01779073476791382,
0.07194691151380539
]
|
40,356 | pyglove.core.geno.base | __contains__ | Returns whether child DNA(s) contains a value. | def __contains__(self, dna_or_value: Union[int, 'DNA']) -> bool:
"""Returns whether child DNA(s) contains a value."""
for child in self.children:
if isinstance(dna_or_value, (int, float, str)):
if child.value == dna_or_value:
return True
elif isinstance(dna_or_value, DNA):
if child == dna_or_value:
return True
else:
raise ValueError(
f'DNA.__contains__ does not accept '
f'{object_utils.quote_if_str(dna_or_value)!r}.')
return False
| (self, dna_or_value: Union[int, pyglove.core.geno.base.DNA]) -> bool | [
0.06316891312599182,
-0.05568838492035866,
-0.019008494913578033,
0.015945814549922943,
-0.024230411276221275,
0.02697688527405262,
-0.031132735311985016,
0.012115205638110638,
0.013840786181390285,
-0.07805769890546799,
-0.0035460239741951227,
0.04806330427527428,
0.07122764736413956,
-0.010443830862641335,
0.0192433912307024,
-0.032632455229759216,
-0.0007775278645567596,
0.08665850013494492,
0.011419552378356457,
0.03364431485533714,
-0.04694303125143051,
0.07704584300518036,
-0.010931692086160183,
-0.02146586775779724,
-0.00538001861423254,
0.02697688527405262,
-0.02085152454674244,
0.012042929418385029,
-0.044160421937704086,
0.07017965614795685,
0.009020904079079628,
-0.04712372273206711,
-0.017300983890891075,
-0.003882557386532426,
0.05073750391602516,
0.01852063462138176,
-0.04528069496154785,
0.04311242327094078,
-0.03469230979681015,
0.023290827870368958,
-0.05182163789868355,
-0.02320048213005066,
-0.007150772027671337,
-0.018059877678751945,
-0.016406571492552757,
-0.00959459226578474,
0.016623398289084435,
0.036517269909381866,
-0.05099046975374222,
0.03333714231848717,
0.03758333623409271,
-0.03234335407614708,
-0.020146837458014488,
-0.04188373684883118,
-0.07242020219564438,
0.06259071081876755,
-0.015584436245262623,
0.09063366055488586,
0.054351285099983215,
0.018665185198187828,
0.02307400107383728,
0.008018079213798046,
0.012277825735509396,
-0.0692039355635643,
0.021429728716611862,
-0.00478374445810914,
-0.005899499636143446,
-0.038956575095653534,
-0.0383060947060585,
0.04473862424492836,
-0.0186290480196476,
-0.04618413746356964,
0.018845874816179276,
0.05771210417151451,
0.0043523493222892284,
-0.015466989018023014,
0.008826663717627525,
0.05727845057845116,
0.0338972769677639,
0.004433659370988607,
0.028747638687491417,
-0.055832937359809875,
0.0023105621803551912,
-0.03801698982715607,
-0.041847601532936096,
0.044991590082645416,
-0.033481694757938385,
0.015186920762062073,
0.0709746852517128,
0.014771335758268833,
-0.022495795041322708,
-0.017581051215529442,
0.051171157509088516,
0.023435378447175026,
0.0008176182745955884,
0.04311242327094078,
0.11188270151615143,
-0.026633575558662415,
-0.018086981028318405,
0.00998307392001152,
0.04220897704362869,
0.031205011531710625,
0.1036432757973671,
-0.014906852506101131,
0.01076907105743885,
0.043509941548109055,
-0.04542524367570877,
0.019062701612710953,
0.021411661058664322,
-0.008397527039051056,
-0.09612660855054855,
-0.027284057810902596,
0.03700513020157814,
-0.027591228485107422,
-0.02858501859009266,
-0.038920436054468155,
-0.01431961264461279,
-0.009332592599093914,
-0.05839872360229492,
-0.04235352948307991,
0.07148061692714691,
0.061940230429172516,
0.010624520480632782,
0.02314627543091774,
0.03920953720808029,
0.021393591538071632,
-0.03935408964753151,
0.03400569036602974,
-0.048786062747240067,
0.024085858836770058,
0.04061891511082649,
0.018845874816179276,
-0.005375501234084368,
0.01153700053691864,
0.059699684381484985,
0.0614342987537384,
-0.004144556820392609,
0.01226879097521305,
-0.04911130294203758,
0.023507654666900635,
0.015846434980630875,
-0.04065505042672157,
0.09880080819129944,
-0.06483125686645508,
-0.02070697210729122,
0.05185777693986893,
-0.05142412334680557,
0.02296558767557144,
-0.0704326182603836,
-0.041305530816316605,
-0.05135184898972511,
0.010976864024996758,
0.006080188788473606,
0.04387131705880165,
-0.05785665661096573,
-0.029904048889875412,
0.032813142985105515,
-0.04708758369088173,
0.021357454359531403,
0.01694863848388195,
0.03595713526010513,
0.026489024981856346,
-0.03630044311285019,
0.0239232387393713,
-0.044341109693050385,
0.03330100327730179,
-0.052869636565446854,
0.02451951429247856,
0.03776402398943901,
0.013506511226296425,
0.018773598596453667,
-0.0005358561757020652,
-0.023399241268634796,
0.07357660681009293,
-0.05391763150691986,
-0.010949760675430298,
-0.01778884418308735,
-0.009865625761449337,
0.005104467738419771,
-0.019514424726366997,
-0.026543231680989265,
0.019785458222031593,
0.019713182002305984,
-0.030391909182071686,
0.023345034569501877,
0.0016849259845912457,
0.009296455420553684,
0.005822706967592239,
0.06407236307859421,
0.026633575558662415,
-0.0207431111484766,
-0.04452179744839668,
-0.0032614385709166527,
-0.010904588736593723,
-0.01620781421661377,
-0.024356892332434654,
0.0444856621325016,
-0.06233774498105049,
-0.032867349684238434,
0.006450601387768984,
0.0340779684484005,
-0.06877028197050095,
-0.007214013021439314,
0.00771994236856699,
-0.020146837458014488,
0.025856612250208855,
-0.0017504257848486304,
0.021628487855196,
-0.01346133928745985,
-0.0617956779897213,
-0.055182456970214844,
-0.05171322450041771,
0.021700764074921608,
0.031891629099845886,
0.050339989364147186,
-0.035993270576000214,
-0.028187502175569534,
-0.038992710411548615,
-0.0054703629575669765,
0.00881762895733118,
0.06353029608726501,
0.03400569036602974,
0.05099046975374222,
0.028332054615020752,
0.007019772194325924,
-0.009820453822612762,
-0.006324118934571743,
0.02005649171769619,
0.016514984890818596,
0.01616264134645462,
0.0246279276907444,
0.008049700409173965,
0.020598558709025383,
-0.017951464280486107,
0.0002679280878510326,
-0.012856030836701393,
0.02928970567882061,
0.03324679657816887,
-0.024085858836770058,
0.028765708208084106,
-0.014229267835617065,
-0.019008494913578033,
-0.008212320506572723,
-0.02854888141155243,
0.039679329842329025,
-0.028964465484023094,
0.007227564696222544,
0.017843050882220268,
0.016560157760977745,
-0.027464745566248894,
-0.011970654129981995,
-0.015448919497430325,
0.0011112380307167768,
-0.0353066548705101,
-0.013325822539627552,
-0.029560739174485207,
-0.04593117535114288,
-0.031277287751436234,
0.060458578169345856,
0.013009616173803806,
-0.03411410376429558,
-0.042028289288282394,
0.06327732652425766,
0.03855905681848526,
-0.07596170902252197,
0.03595713526010513,
0.043256975710392,
0.013660097494721413,
-0.017237741500139236,
-0.04940040409564972,
0.05727845057845116,
0.01543988473713398,
-0.018845874816179276,
0.003710902761667967,
-0.026326404884457588,
0.03377079591155052,
0.012241687625646591,
-0.007869010791182518,
-0.018809737637639046,
-0.005511017981916666,
-0.01343423593789339,
0.004937330260872841,
-0.000582722423132509,
-0.03317452222108841,
0.015972917899489403,
-0.03790857642889023,
0.013425201177597046,
0.0400768481194973,
-0.020219111815094948,
0.020508214831352234,
-0.005262570455670357,
-0.058218035846948624,
0.00047769685625098646,
-0.006292498670518398,
-0.04788261651992798,
0.012386239133775234,
0.02533261477947235,
-0.012088102288544178,
-0.01351554598659277,
-0.02403165213763714,
0.009965005330741405,
-0.00964879896491766,
0.030644875019788742,
-0.014608715660870075,
-0.07137220352888107,
0.01785208471119404,
0.06215705722570419,
0.01623491756618023,
-0.012485617771744728,
0.04249808192253113,
-0.02068890444934368,
0.010254107415676117,
0.004679847974330187,
0.038920436054468155,
0.0018814255017787218,
-0.020670834928750992,
-0.008682112209498882,
-0.054315149784088135,
-0.0384867824614048,
0.01922532171010971,
-0.03873974829912186,
0.013325822539627552,
-0.038992710411548615,
0.007195943966507912,
0.0017515551298856735,
-0.008171665482223034,
-0.008225872181355953,
0.04867764934897423,
-0.002719371346756816,
0.04600344970822334,
0.023471515625715256,
-0.08347837626934052,
0.06381939351558685,
-0.0027668022084981203,
0.08159920573234558,
-0.007638632319867611,
-0.009332592599093914,
0.06981827318668365,
0.05323101580142975,
0.006269912235438824,
-0.016496917232871056,
0.043437663465738297,
-0.010751002468168736,
0.01769849844276905,
0.08217740803956985,
-0.028819914907217026,
0.0026606472674757242,
0.035920996218919754,
0.06291595101356506,
0.017888221889734268,
-0.0032659557182341814,
0.03852292150259018,
-0.004702434409409761,
-0.03163866326212883,
-0.02244158834218979,
-0.0490751639008522,
0.05015929788351059,
0.01848449744284153,
-0.028892189264297485,
0.0430762842297554,
0.10631747543811798,
-0.05919375643134117,
0.010091487318277359,
0.0008983637089841068,
-0.06710793823003769,
-0.006179567892104387,
-0.06396394968032837,
-0.011049139313399792,
0.0008356871549040079,
0.014373819343745708,
0.024374961853027344,
0.004237159620970488,
-0.011275000870227814,
-0.020634697750210762,
0.05521859601140022,
-0.055146317929029465,
0.0065093254670500755,
-0.031259216368198395,
-0.0118712754920125,
-0.002023718087002635,
-0.007963872514665127,
0.029849842190742493,
0.018132153898477554,
0.019677044823765755,
-0.007376633118838072,
-0.010994932614266872,
0.07878045737743378,
0.011365345679223537,
-0.06548173725605011,
-0.0025793372187763453,
-0.002994922222569585,
-0.0035053689498454332,
-0.03570416942238808,
-0.003031059866771102,
-0.11303911358118057,
-0.025910818949341774,
0.009332592599093914,
-0.029741428792476654,
0.009874660521745682,
0.015494092367589474,
0.008596285246312618,
-0.029109017923474312,
-0.01120272558182478,
0.05941058322787285,
0.023489585146307945,
0.015286299400031567,
0.009237730875611305,
-0.0012365911388769746,
-0.052074603736400604,
0.022134417667984962,
-0.04152235761284828,
-0.07270929962396622,
-0.008302665315568447,
0.059627410024404526,
-0.04238966852426529,
-0.06765000522136688,
0.0039254711009562016,
0.03306610882282257,
-0.007214013021439314,
-0.0490751639008522,
-0.038089267909526825,
-0.011139484122395515,
-0.01120272558182478,
0.06530104577541351,
0.025188062340021133,
-0.019622838124632835,
0.03946250304579735,
-0.022947518154978752,
0.02009263075888157,
-0.03465617448091507,
-0.03669796139001846,
-0.03330100327730179,
0.010317348875105381,
-0.022170554846525192,
0.06016947701573372,
0.002769060665741563,
-0.058181896805763245,
-0.03613782301545143,
-0.021285178139805794,
0.004081315360963345,
-0.02688654139637947,
0.022026004269719124,
-0.016424641013145447,
0.02144779823720455,
-0.0010728416964411736,
-0.013623959384858608,
0.03913726285099983,
0.04936426877975464,
0.11542420834302902,
-0.04318469762802124,
-0.032072316855192184,
-0.023634137585759163,
-0.014111820608377457,
0.026380611583590508,
-0.02919936180114746,
-0.004801813513040543,
-0.04856923595070839,
-0.010814243927598,
0.045027729123830795,
0.013163202442228794,
-0.030590668320655823,
0.008239423856139183,
-0.017237741500139236,
-0.05030385032296181,
-0.05456811562180519,
0.05239984393119812,
0.02936198189854622,
0.010895553976297379,
0.005669121164828539,
0.03082556277513504,
0.012910237535834312,
-0.010940725915133953,
0.031277287751436234,
-0.0444856621325016,
0.03537892922759056,
0.007995493710041046,
-0.015304367989301682,
-0.029018672183156013,
-0.05608590319752693,
0.018863944336771965,
0.022170554846525192,
-0.0004912485601380467,
0.009431972168385983,
-0.013316787779331207,
-0.0019604768604040146,
-0.05839872360229492,
0.004167142789810896,
0.044160421937704086,
0.013696235604584217,
-0.015150782652199268,
0.02683233469724655,
-0.0018012446817010641,
-0.01459968090057373,
0.012088102288544178,
0.031891629099845886,
-0.012557893991470337,
0.030428048223257065,
-0.03626430779695511,
-0.03017508238554001,
-0.005533604416996241,
0.00844269897788763,
0.04567820951342583,
-0.005651052109897137,
-0.004892157856374979,
0.023453447967767715,
-0.04715986177325249,
-0.007200461346656084,
0.011455690488219261,
-0.05135184898972511,
0.027247918769717216,
-0.015340506099164486,
-0.018285738304257393,
0.04632868990302086,
-0.034330934286117554,
0.012747617438435555,
0.0598442368209362,
-0.01777980849146843,
-0.008031630888581276,
-0.029904048889875412,
-0.02786226198077202,
0.013452304527163506,
-0.018972357735037804,
-0.03163866326212883,
-0.0370774082839489,
-0.02619992196559906,
0.01834898069500923,
-0.020417870953679085,
0.0246279276907444,
-0.032686661928892136,
-0.03326486796140671,
-0.03395148366689682,
-0.014093751087784767,
-0.014147957786917686,
0.04069118946790695,
0.00422812532633543,
0.01987580396234989,
0.028765708208084106,
0.0428955964744091,
0.006780358962714672,
0.03496334329247475,
0.043256975710392,
-0.019116908311843872,
0.0446663498878479,
-0.01834898069500923,
0.012422377243638039,
0.006766807287931442,
0.011256932280957699,
-0.025169994682073593,
0.048207856714725494,
0.07437164336442947,
0.042678769677877426,
-0.008420112542808056,
0.011284035630524158,
0.02068890444934368,
0.05937444418668747,
0.01114851888269186,
-0.019622838124632835,
0.02475440874695778,
0.021411661058664322,
0.05648341774940491,
0.04177532345056534,
-0.013407132588326931,
0.04419655725359917,
-0.04697917029261589,
-0.011112380772829056,
-0.047412823885679245,
-0.06580697745084763,
-0.048966750502586365,
0.058976929634809494,
-0.004715986084192991,
-0.008727284148335457,
0.01309996098279953,
-0.05922989174723625,
-0.02296558767557144,
-0.044268835335969925,
0.01859291084110737,
-0.03913726285099983,
0.015575402416288853,
-0.04835240915417671,
-0.04332925006747246,
-0.07588943094015121,
0.008695663884282112,
-0.006224740296602249,
-0.0006973470444791019,
0.05782051756978035,
0.03877588361501694,
-0.013063822872936726,
0.03306610882282257,
-0.03438514098525047,
-0.05135184898972511,
-0.007783183827996254,
-0.005926602985709906,
-0.012919272296130657,
-0.046545516699552536,
0.038125403225421906,
0.026019232347607613,
-0.0031869043596088886,
-0.027446677908301353,
0.037294235080480576,
-0.013741407543420792,
-0.012612100690603256,
0.00884473230689764,
0.034204449504613876,
0.004359125159680843,
0.05532700940966606,
0.020978007465600967,
0.04701530933380127,
-0.03695092350244522,
-0.03134956210851669,
-0.050484538078308105,
0.014671956188976765,
0.050484538078308105,
0.03169286996126175,
-0.0070423586294054985,
-0.0073224264197051525,
-0.04473862424492836,
-0.01857484132051468,
0.006486739497631788,
-0.051135022193193436,
-0.018882011994719505,
-0.009237730875611305,
-0.015448919497430325,
-0.009052525274455547,
-0.007832873612642288,
-0.03490913659334183,
-0.08875449746847153,
0.020472077652812004,
-0.03928181529045105,
-0.0050457436591386795,
-0.02451951429247856,
0.048135582357645035,
0.02003842405974865,
-0.008551112376153469,
-0.02307400107383728,
-0.07943093776702881,
-0.04397973045706749,
0.012747617438435555,
-0.022658415138721466,
0.0036589547526091337,
0.044304970651865005,
-0.07129992544651031,
-0.017319051548838615,
-0.09894536435604095,
0.03496334329247475,
-0.021321315318346024,
-0.019749321043491364,
-0.015268230810761452,
-0.009486178867518902,
-0.04336538910865784,
-0.005244501866400242,
-0.009450040757656097,
0.041956014931201935,
-0.044377248734235764,
-0.02473634108901024,
0.0490751639008522,
-0.015819331631064415,
0.0400768481194973,
0.04679848253726959,
-0.03675216808915138,
0.06230160966515541,
0.03138570114970207,
-0.016650501638650894,
-0.021393591538071632,
-0.033517830073833466,
0.023688344284892082,
-0.01694863848388195,
-0.009269352070987225,
-0.007480529602617025,
0.03845064342021942,
0.017111260443925858,
-0.021032214164733887,
0.010362520813941956,
-0.0628436729311943,
-0.04300400987267494,
-0.015783194452524185,
-0.028837982565164566,
-0.014220234006643295,
0.014355750754475594,
0.03608361631631851,
-0.01933373510837555,
0.026452887803316116,
0.03543313592672348,
0.02079731784760952,
0.019478287547826767,
0.03172900900244713,
-0.006721635349094868,
0.02775384858250618,
-0.0039751604199409485,
0.04762965068221092,
-0.045100003480911255,
-0.015132714062929153,
-0.0753834992647171,
0.0010852640261873603,
0.047268275171518326,
-0.004666296299546957,
0.05373694375157356,
0.02762736566364765,
0.0602056160569191,
-0.03924567624926567,
0.04296787083148956,
-0.02473634108901024,
-0.0019085288513451815,
0.0024257514160126448,
0.030428048223257065,
0.011013002134859562,
-0.01993001066148281,
-0.01459968090057373,
0.059699684381484985,
0.10834119468927383,
0.03837836906313896,
-0.01688539795577526,
0.021303247660398483,
-0.0032524040434509516,
-0.051315709948539734,
-0.061289750039577484,
-0.0224235188215971,
0.024284617975354195,
0.04318469762802124,
0.020670834928750992,
-0.022839104756712914,
-0.007051392924040556,
0.011555069126188755,
0.0692039355635643,
0.0008227001526392996,
-0.033373281359672546,
-0.007259185425937176,
0.04379904270172119,
-0.05713389813899994,
-0.035053689032793045,
-0.011031070724129677,
0.008632422424852848,
0.057423003017902374,
0.0020948643796145916,
-0.017210638150572777,
-0.04770192876458168,
-0.014789404347538948,
-0.030428048223257065,
-0.026561301201581955,
-0.08767036348581314,
0.016433674842119217,
0.057459138333797455,
0.028223641216754913,
0.0464371033012867,
-0.09301875531673431,
-0.014418991282582283,
0.04220897704362869,
-0.04459407553076744,
0.029813705012202263,
0.012747617438435555,
0.003399214008823037,
0.041305530816316605,
0.052038464695215225,
0.016632433980703354,
0.025603648275136948,
0.07740721851587296,
0.055832937359809875,
-0.0338972769677639,
-0.021899521350860596,
-0.02309206873178482,
-0.04452179744839668,
-0.05015929788351059,
0.020273318514227867,
-0.03696899488568306,
-0.020959937945008278,
0.016587261110544205,
0.006432532798498869,
-0.05810961872339249,
0.05073750391602516
]
|
40,359 | pyglove.core.geno.base | __eq__ | null | def __eq__(self, other: 'DNA') -> bool:
if not isinstance(other, DNA):
return False
return not self.__cmp__(other)
| (self, other: pyglove.core.geno.base.DNA) -> bool | [
0.030285783112049103,
0.015142891556024551,
-0.005233801435679197,
0.0029096691869199276,
-0.05959867313504219,
-0.05224793031811714,
-0.055418841540813446,
0.036807768046855927,
0.035114213824272156,
-0.0398525595664978,
-0.021691899746656418,
-0.004625743720680475,
0.047383468598127365,
0.07408396154642105,
-0.010062230750918388,
-0.041438013315200806,
-0.027727436274290085,
0.1008925586938858,
0.010107272304594517,
-0.023619668558239937,
-0.04770776629447937,
0.0668773502111435,
-0.013170082122087479,
0.023817850276827812,
0.013530412688851357,
0.0895061120390892,
-0.008350661024451256,
0.011359420605003834,
-0.07015635818243027,
0.08561453968286514,
-0.008557850494980812,
-0.04295140132308006,
0.03091636300086975,
0.034069254994392395,
0.028772395104169846,
-0.020088428631424904,
-0.04814016446471214,
0.015962643548846245,
-0.04864462465047836,
0.020232560113072395,
-0.03540247678756714,
-0.029312891885638237,
0.01784537173807621,
-0.031619004905223846,
-0.018070576712489128,
-0.04410446062684059,
-0.04432065784931183,
0.009602809324860573,
-0.03830313682556152,
0.029889419674873352,
0.006972396280616522,
-0.04814016446471214,
0.014935702085494995,
0.05689619481563568,
-0.06741784512996674,
0.05001388117671013,
0.007350743282586336,
0.047131236642599106,
-0.010872974991798401,
0.02560148574411869,
-0.043131567537784576,
0.003612313885241747,
0.004882479086518288,
-0.09368594735860825,
-0.004688801243901253,
-0.02030462771654129,
-0.07040859013795853,
-0.026214048266410828,
0.009981156326830387,
0.050986774265766144,
-0.030033553019165993,
-0.0074903713539242744,
0.006485950201749802,
0.033294543623924255,
-0.011287354864180088,
0.007197603117674589,
-0.011098180897533894,
0.08734412491321564,
0.02070099115371704,
-0.06439106911420822,
0.015881570056080818,
-0.02765537053346634,
0.005152727011591196,
-0.023511569947004318,
-0.0936138778924942,
0.022574709728360176,
-0.03552859276533127,
0.011431487277150154,
0.018971404060721397,
-0.039348095655441284,
0.0037136569153517485,
-0.03152892366051674,
0.04352793097496033,
-0.0262500811368227,
0.01326016429811716,
0.038987766951322556,
0.02857421338558197,
-0.03035784885287285,
0.008494793437421322,
-0.00047603045823052526,
0.028898511081933975,
0.037041980773210526,
0.045942146331071854,
0.007994834333658218,
-0.03259189799427986,
0.030862312763929367,
-0.03374495729804039,
0.002952458569779992,
-0.03215950354933739,
0.0032699997536838055,
-0.11487337946891785,
0.05141917243599892,
0.02145768515765667,
0.005486032925546169,
0.005576115567237139,
-0.04691503942012787,
0.013089007697999477,
0.001047773752361536,
-0.029439006000757217,
-0.01927768439054489,
0.05671602860093117,
0.07530909031629562,
0.016007686033844948,
0.015070825815200806,
0.05390545353293419,
-0.002574111334979534,
0.007211115211248398,
0.003974896389991045,
-0.07422809302806854,
0.010872974991798401,
0.06179669126868248,
0.03455569967627525,
-0.007481363136321306,
0.07040859013795853,
0.0700482577085495,
0.03758247569203377,
0.03540247678756714,
0.01377363596111536,
-0.014998759143054485,
0.022286444902420044,
0.032898180186748505,
-0.01390875969082117,
0.10889189690351486,
-0.030051568523049355,
-0.006544503848999739,
0.03552859276533127,
-0.0944066047668457,
0.0028601237572729588,
-0.037438344210386276,
-0.011566611006855965,
-0.01862909086048603,
-0.009377602487802505,
0.022592727094888687,
0.007233635988086462,
-0.061724625527858734,
-0.0178273543715477,
-0.01915156841278076,
-0.020250577479600906,
-0.0010089256102219224,
0.020340660586953163,
0.007697561755776405,
0.013287189416587353,
-0.02715090848505497,
0.002504297299310565,
-0.01769223064184189,
-0.020664958283305168,
-0.026664461940526962,
0.002396198222413659,
0.019746115431189537,
-0.007121032569557428,
-0.008967726491391659,
-0.02118743769824505,
-0.02587173506617546,
0.003441156819462776,
-0.030826279893517494,
0.015566280111670494,
0.0006305784918367863,
0.04896892234683037,
-0.011413470841944218,
0.00020353046420495957,
0.04006875678896904,
-0.02880842797458172,
-0.03617718815803528,
-0.0013940288918092847,
0.04875272512435913,
-0.036933884024620056,
-0.012134131975471973,
0.028358014300465584,
0.0423748753964901,
0.017899420112371445,
-0.03064611367881298,
-0.027331072837114334,
-0.03913189843297005,
-0.031348757445812225,
0.030718179419636726,
-0.031889256089925766,
-0.010116280056536198,
-0.013665536418557167,
-0.005071652587503195,
0.07516495138406754,
-0.01732289232313633,
-0.020502809435129166,
-0.016449090093374252,
-0.03758247569203377,
0.01758413203060627,
-0.04151007905602455,
-0.03464578464627266,
-0.05239206179976463,
0.05794115364551544,
-0.058625783771276474,
-0.01421504095196724,
-0.04695107042789459,
0.031222643330693245,
-0.020340660586953163,
0.03655553609132767,
-0.006688636261969805,
0.008039875887334347,
-0.04370809718966484,
0.00820652861148119,
0.039744459092617035,
0.07840792834758759,
-0.007625495549291372,
-0.0032024378888309,
0.02702479250729084,
0.0008664823835715652,
0.023295370861887932,
-0.01940380036830902,
0.021890081465244293,
-0.02664644457399845,
-0.03037586621940136,
0.04392429441213608,
-0.00839570164680481,
0.036933884024620056,
-0.03156495839357376,
0.028988594189286232,
0.026466280221939087,
-0.002932189963757992,
0.03877156972885132,
-0.09937916696071625,
0.013665536418557167,
-0.015368098393082619,
0.009782974608242512,
0.00899024773389101,
0.024520494043827057,
0.021547768265008926,
-0.06305784732103348,
-0.016313966363668442,
0.03424942120909691,
0.0012363842688500881,
0.0164040494710207,
-0.009539751335978508,
-0.06503966450691223,
-0.034069254994392395,
-0.02378181740641594,
-0.022430578246712685,
-0.018313800916075706,
-0.08503801375627518,
-0.02844809740781784,
0.045834045857191086,
0.011170247569680214,
-0.008035371080040932,
0.034627765417099,
0.01951189897954464,
0.04165421426296234,
-0.04450082406401634,
0.042338840663433075,
0.011107189580798149,
0.03855536878108978,
0.019439833238720894,
-0.04579801484942436,
0.07473255693912506,
-0.010945040732622147,
-0.00789123959839344,
0.045834045857191086,
-0.02639421448111534,
0.04370809718966484,
0.026051899418234825,
-0.042482972145080566,
-0.04705917090177536,
-0.031745120882987976,
-0.02444842830300331,
0.023998014628887177,
0.012224214151501656,
-0.06403074413537979,
-0.0398525595664978,
-0.012422395870089531,
-0.006287768483161926,
-0.021944131702184677,
-0.01720578409731388,
0.0031528924591839314,
0.04122181609272957,
-0.02432231232523918,
0.053328923881053925,
0.010692809708416462,
0.0011586879845708609,
0.019367767497897148,
0.014160990715026855,
-0.0160527266561985,
0.0007403666968457401,
0.009012768045067787,
-0.007427313830703497,
0.009918098337948322,
0.02648429572582245,
-0.004350991453975439,
-0.029691237956285477,
-0.0016158573562279344,
-0.02147570066154003,
0.045293550938367844,
0.0395282618701458,
0.03797884285449982,
0.008701982907950878,
0.04086148738861084,
0.01066578458994627,
0.07602974772453308,
0.03480793163180351,
0.03358280658721924,
0.02340346947312355,
-0.04911305382847786,
0.020989255979657173,
0.06136429309844971,
-0.032916195690631866,
0.06961586326360703,
-0.05120297148823738,
-0.026178015395998955,
-0.014440246857702732,
-0.057869087904691696,
-0.029907437041401863,
0.07332726567983627,
0.02626809850335121,
0.028015701100230217,
0.013620494864881039,
-0.020322643220424652,
0.07026445865631104,
-0.011971983127295971,
0.007805660832673311,
-0.012071073986589909,
0.00808041263371706,
0.03282611444592476,
0.03424942120909691,
0.00478789210319519,
-0.002025733469054103,
0.03450164943933487,
0.028484130278229713,
-0.04734743386507034,
0.06280561536550522,
-0.005585123784840107,
-0.07718280702829361,
0.028736362233757973,
0.013881734572350979,
0.014422230422496796,
-0.029240824282169342,
0.023295370861887932,
0.03320446237921715,
-0.03423140197992325,
-0.007454338483512402,
-0.0073957848362624645,
0.031474873423576355,
0.06712958216667175,
-0.05030214786529541,
0.007301197852939367,
0.04140198230743408,
-0.03736627846956253,
-0.007981321774423122,
-0.010881982743740082,
-0.020448759198188782,
0.0041370452381670475,
-0.030610080808401108,
-0.049581486731767654,
-0.052283965051174164,
-0.006170660723000765,
-0.04205057770013809,
0.008093925192952156,
-0.031222643330693245,
-0.04525751993060112,
-0.00996313989162445,
-0.06619272381067276,
-0.049581486731767654,
0.0035222312435507774,
-0.00899024773389101,
0.004558181390166283,
0.05891404673457146,
0.022394543513655663,
-0.006436404772102833,
0.05671602860093117,
-0.007666032761335373,
-0.017647190019488335,
0.03632131963968277,
0.0382671058177948,
-0.006400371436029673,
0.03286214545369148,
-0.04911305382847786,
-0.03978049382567406,
-0.02248462662100792,
0.012134131975471973,
-0.08013751357793808,
-0.012260247021913528,
-0.05599536746740341,
-0.030465949326753616,
-0.07325520366430283,
0.0009481197921559215,
0.015350081957876682,
0.0313127264380455,
0.020196527242660522,
0.011908925138413906,
0.020232560113072395,
0.05127503722906113,
0.03877156972885132,
-0.016079751774668694,
-0.045437682420015335,
0.01770123839378357,
-0.051635369658470154,
-0.0036618593148887157,
-0.0005551342619583011,
0.018043553456664085,
-0.019169585779309273,
-0.03655553609132767,
0.015944628044962883,
-0.017809338867664337,
0.06572429090738297,
0.0032812601421028376,
-0.015683388337492943,
0.011125206016004086,
-0.032105453312397,
0.00970190018415451,
0.018791237846016884,
-0.002384937833994627,
0.04565388336777687,
0.03891570121049881,
-0.008418222889304161,
-0.038339171558618546,
-0.04644661024212837,
-0.02457454428076744,
0.04644661024212837,
0.018043553456664085,
0.04489718750119209,
0.017268842086195946,
-0.031366776674985886,
-0.07105718553066254,
-0.007553429342806339,
0.04385222867131233,
-0.008945206180214882,
-0.022142313420772552,
-0.02057487517595291,
0.017232809215784073,
-0.018791237846016884,
-0.014242065139114857,
0.03956429660320282,
0.03361884132027626,
0.0936138778924942,
-0.0010612860787659883,
0.015809502452611923,
0.03338462486863136,
-0.04046512022614479,
-0.03635735437273979,
-0.03632131963968277,
-0.017899420112371445,
-0.02262875996530056,
-0.021763965487480164,
-0.013431321829557419,
0.006796735338866711,
-0.054770246148109436,
0.012638594023883343,
-0.008490288630127907,
-0.012755702249705791,
-0.036807768046855927,
0.0855424776673317,
0.004175330512225628,
0.0037046484649181366,
-0.012899833731353283,
0.04446479305624962,
0.022664792835712433,
-0.044644955545663834,
0.013323222286999226,
-0.024916857481002808,
-0.028267933055758476,
0.0294930562376976,
-0.012656611390411854,
-0.005967975128442049,
-0.042591072618961334,
0.021385619416832924,
-0.009764958173036575,
0.013557437807321548,
0.016359006986021996,
-0.004341983236372471,
0.02778148651123047,
-0.0147465281188488,
-0.009557767771184444,
0.023961981758475304,
0.00526983430609107,
-0.018683139234781265,
-0.006733677349984646,
-0.03165503963828087,
-0.07696660608053207,
0.04457288980484009,
0.031619004905223846,
0.005157231353223324,
0.032645948231220245,
0.0023398965131491423,
-0.04096958413720131,
-0.018025536090135574,
0.018935371190309525,
0.03089834563434124,
-0.04994181543588638,
0.004350991453975439,
0.038735534995794296,
-0.020484792068600655,
-0.024250246584415436,
-0.029673222452402115,
-0.039996691048145294,
0.03473586589097977,
0.009021776728332043,
-0.017647190019488335,
0.043383799493312836,
-0.0452214851975441,
0.06662511825561523,
0.0525001622736454,
-0.026159998029470444,
-0.07552528381347656,
-0.009909090586006641,
-0.040681321173906326,
0.011989999562501907,
-0.024088097736239433,
-0.0313127264380455,
-0.04612231254577637,
-0.0390598326921463,
0.009260495193302631,
0.001284803613089025,
0.028267933055758476,
0.02715090848505497,
-0.06774214655160904,
-0.006549007724970579,
-0.0073237186297774315,
-0.03441156819462776,
0.02985338680446148,
-0.03387107327580452,
0.049725618213415146,
-0.009165908209979534,
0.029439006000757217,
0.028754379600286484,
0.05498644337058067,
0.008891156874597073,
-0.025907767936587334,
0.05451801419258118,
-0.026574378833174706,
-0.00865694135427475,
0.02342148683965206,
-0.015530247241258621,
-0.003979400731623173,
0.02080908976495266,
0.07840792834758759,
-0.008760537020862103,
-0.010899999178946018,
0.011863883584737778,
-0.011692726984620094,
-0.016521155834197998,
0.02945702336728573,
-0.006657107267528772,
0.03405123949050903,
0.07833586633205414,
0.04417652636766434,
0.047887932509183884,
0.0015032540541142225,
0.06658908724784851,
-0.08907371759414673,
0.0011890908936038613,
-0.02457454428076744,
0.0035312394611537457,
-0.005049131810665131,
0.058517683297395706,
0.04165421426296234,
-0.017025619745254517,
-0.03480793163180351,
-0.05386941879987717,
-0.022520659491419792,
-0.034195370972156525,
0.03578082472085953,
-0.051635369658470154,
0.0553467757999897,
-0.05768892168998718,
-0.07977718859910965,
-0.025133056566119194,
0.01808859407901764,
0.0027948138304054737,
-0.02934892475605011,
0.008391197770833969,
-0.042338840663433075,
-0.010881982743740082,
0.003812747774645686,
-0.002407458610832691,
-0.09246081858873367,
-0.036267269402742386,
0.024862809106707573,
0.029420990496873856,
-0.058373551815748215,
0.011611652560532093,
0.02311520464718342,
0.04140198230743408,
-0.016007686033844948,
0.0032609915360808372,
-0.02325933799147606,
0.04590611532330513,
0.006855288986116648,
-0.002580867614597082,
-0.030718179419636726,
0.04352793097496033,
0.026015866547822952,
-0.004384772386401892,
-0.027475206181406975,
0.0013140805531293154,
-0.013737603090703487,
0.0733633041381836,
0.03050198219716549,
0.02583570033311844,
-0.07058876007795334,
0.04122181609272957,
-0.054229751229286194,
-0.03228561952710152,
0.005873388145118952,
-0.042338840663433075,
0.03686181455850601,
0.014323139563202858,
-0.003114607185125351,
-0.017124710604548454,
-0.0024097105488181114,
-0.0359790064394474,
-0.06676924973726273,
0.005967975128442049,
0.020214544609189034,
0.04179834574460983,
-0.01679140329360962,
0.036807768046855927,
-0.03718611225485802,
-0.01118826400488615,
-0.027565287426114082,
-0.030844295397400856,
-0.06810247898101807,
-0.0022171589080244303,
-0.0025515907909721136,
0.029691237956285477,
0.1116304099559784,
-0.041834376752376556,
-0.01694454438984394,
-0.04986974969506264,
0.08597487211227417,
-0.07451636344194412,
-0.052428096532821655,
-0.0018759709782898426,
-0.004778883885592222,
-0.030610080808401108,
-0.02417818084359169,
-0.010827933438122272,
0.044933222234249115,
-0.0054094623774290085,
-0.04417652636766434,
-0.01924165152013302,
0.004240640439093113,
0.021763965487480164,
0.05084264278411865,
0.02183603122830391,
0.0030898344703018665,
0.06676924973726273,
0.0009458677377551794,
-0.01965603232383728,
-0.02520512230694294,
0.047383468598127365,
0.011836858466267586,
0.022196361795067787,
-0.012242230586707592,
0.011215289123356342,
-0.0048734708689153194,
-0.04846446216106415,
0.024772725999355316,
-0.034447602927684784,
-0.05084264278411865,
0.0003023398749064654,
-0.025817684829235077,
-0.0026146485470235348,
0.01669231243431568,
0.040789417922496796,
-0.017521074041724205,
-0.03776264190673828,
0.02974528819322586,
-0.005062644369900227,
-0.03686181455850601,
0.024484461173415184,
0.010206363163888454,
0.008102933876216412,
0.005990495439618826,
0.04500528797507286,
-0.054878342896699905,
0.0036348344292491674,
-0.06813850998878479,
0.014494297094643116,
0.02444842830300331,
0.06367041170597076,
0.045689914375543594,
-0.01216115616261959,
0.015512230806052685,
-0.05696826055645943,
0.004661776591092348,
-0.0035717766731977463,
-0.014818593859672546,
0.01539512351155281,
0.03815900534391403,
0.015548263676464558,
-0.009981156326830387,
-0.036807768046855927,
0.06233718618750572,
0.08453354984521866,
-0.00772458640858531,
-0.012521486729383469,
0.026196030899882317,
-0.004886983428150415,
-0.039384130388498306,
0.009629834443330765,
-0.03437553718686104,
0.04486115649342537,
0.04262710362672806,
0.007220123428851366,
0.0010714203817769885,
-0.05109487473964691,
-0.043491899967193604,
0.05833751708269119,
-0.009530743584036827,
0.015350081957876682,
0.03960032761096954,
-0.0017926444998010993,
-0.03783470764756203,
-0.030321815982460976,
-0.014962726272642612,
0.007580453995615244,
0.09880264103412628,
0.026322146877646446,
0.03583487495779991,
-0.05574313923716545,
0.031889256089925766,
-0.06795834749937057,
-0.022016197443008423,
0.009404627606272697,
0.0733633041381836,
-0.013926776126027107,
0.019818181172013283,
0.0670575201511383,
-0.036141153424978256,
-0.0031821692828089,
0.029240824282169342,
-0.022340495139360428,
0.028628263622522354,
0.0013264669105410576,
-0.017358925193548203,
0.04630247876048088,
0.013710577972233295,
0.004251900594681501,
0.008904669433832169,
0.069255530834198,
0.07372362911701202,
-0.006841776426881552,
-0.006571528501808643,
0.020484792068600655,
-0.043636031448841095,
-0.029835371300578117,
0.010251404717564583,
0.005238305311650038,
-0.0073327268473804,
-0.06475140154361725,
0.01286380086094141,
-0.017521074041724205,
0.054373882710933685
]
|
40,362 | pyglove.core.geno.base | __getitem__ | Get an immediate child DNA or DNA in the sub-tree.
Args:
key: The key for retrieving the sub-DNA or sub-DNA list. The key should
be one of:
1) An integer as the index of an immediate child DNA.
2) A name (string) for named decisions whose DNASpec has a not-None
`name` argument.
3) An ID (string or KeyPath) for the decision point to retrieve.
See `DNASpec.id` for details.
4) A DecisionPoint object whose decision value will be retrived.
Returns:
The return value should be one of the following:
1) A DNA object if the key only maps to a single DNA object.
2) None if the decision point exists but it's inactive.
3) A list of DNA or None if there are multiple decision points associated
with the key.
| def __getitem__(
self, key: Union[int, slice, str, object_utils.KeyPath, 'DecisionPoint']
) -> Union[None, 'DNA', List[Optional['DNA']]]:
"""Get an immediate child DNA or DNA in the sub-tree.
Args:
key: The key for retrieving the sub-DNA or sub-DNA list. The key should
be one of:
1) An integer as the index of an immediate child DNA.
2) A name (string) for named decisions whose DNASpec has a not-None
`name` argument.
3) An ID (string or KeyPath) for the decision point to retrieve.
See `DNASpec.id` for details.
4) A DecisionPoint object whose decision value will be retrived.
Returns:
The return value should be one of the following:
1) A DNA object if the key only maps to a single DNA object.
2) None if the decision point exists but it's inactive.
3) A list of DNA or None if there are multiple decision points associated
with the key.
"""
if isinstance(key, (int, slice)):
return self.children[key]
if isinstance(key, DNASpec):
key = key.id
return self._decision_by_id[key]
else:
v = self.named_decisions.get(key, None)
if v is None:
v = self._decision_by_id[key]
return v
| (self, key: Union[int, slice, str, pyglove.core.object_utils.value_location.KeyPath, pyglove.core.geno.base.DecisionPoint]) -> Union[NoneType, pyglove.core.geno.base.DNA, List[Optional[pyglove.core.geno.base.DNA]]] | [
0.04540516063570976,
-0.02725055254995823,
-0.035134945064783096,
0.012935624457895756,
0.0025232855696231127,
0.01696169748902321,
0.035265419632196426,
-0.01373711135238409,
0.10080094635486603,
-0.029133114963769913,
-0.015293487347662449,
0.05811711400747299,
0.04175187274813652,
-0.01643979921936989,
-0.037297096103429794,
-0.023280397057533264,
0.04301933944225311,
0.09729677438735962,
-0.03658880665898323,
0.04313117638230324,
-0.00125814788043499,
0.03806130588054657,
0.016896460205316544,
-0.040335290133953094,
-0.03921693563461304,
0.03479943796992302,
0.06218046694993973,
0.02342951111495495,
-0.021733339875936508,
-0.027530141174793243,
0.011211495846509933,
-0.01316861528903246,
-0.03796811029314995,
0.04335484653711319,
-0.058788128197193146,
0.031183429062366486,
-0.0035880515351891518,
-0.0013280450366437435,
-0.02342951111495495,
0.06631837785243988,
-0.0403725691139698,
-0.025498464703559875,
0.03679383546113968,
-0.06911426037549973,
-0.054016485810279846,
-0.011071701534092426,
0.022982168942689896,
0.04495782032608986,
-0.03985067084431648,
-0.03988794982433319,
0.011341970413923264,
-0.015274847857654095,
-0.03090384043753147,
-0.055917683988809586,
-0.022143403068184853,
0.02264666184782982,
0.012879706919193268,
0.059906478971242905,
0.04626256600022316,
0.028089316561818123,
0.04197554290294647,
-0.0201862845569849,
-0.036737918853759766,
-0.02257210575044155,
0.015479879453778267,
-0.020242203027009964,
0.009822873398661613,
-0.030214188620448112,
-0.06534913182258606,
-0.003105761483311653,
-0.01017701905220747,
-0.013662554323673248,
-0.0008568220655433834,
0.0451442115008831,
0.02395140938460827,
-0.060652051120996475,
-0.000774110434576869,
-0.01017701905220747,
0.08119247853755951,
0.0013082408113405108,
-0.044547755271196365,
-0.0013618286466225982,
-0.043243009597063065,
-0.050847817212343216,
-0.02100641094148159,
0.05028863996267319,
0.05390464887022972,
-0.02052178978919983,
0.03679383546113968,
0.05796800181269646,
-0.012022302486002445,
-0.027977481484413147,
-0.013643915764987469,
0.032134030014276505,
-0.009095943532884121,
0.013746431097388268,
0.06344793736934662,
-0.023615902289748192,
-0.04715724661946297,
0.03205947205424309,
-0.01792161911725998,
0.008005548268556595,
0.020037170499563217,
0.024678338319063187,
-0.03619738295674324,
0.009356892667710781,
-0.0512205995619297,
0.06695210933685303,
-0.004874158184975386,
-0.019981253892183304,
-0.0681450217962265,
0.01666347123682499,
-0.0022704910952597857,
0.024846091866493225,
-0.04670990630984306,
0.01853671297430992,
-0.02725055254995823,
-0.03338285908102989,
-0.08350374549627304,
-0.028797607868909836,
0.009878790937364101,
-0.019888056442141533,
-0.055917683988809586,
0.037259817123413086,
-0.039552442729473114,
0.015274847857654095,
-0.010167699307203293,
0.043764907866716385,
-0.028201153501868248,
0.008387653157114983,
0.059123631566762924,
0.02421235851943493,
-0.027791090309619904,
0.01753951422870159,
0.01839691773056984,
0.028872165828943253,
0.04909572750329971,
-0.024398749694228172,
-0.10184474289417267,
0.020149005576968193,
0.014911382459104061,
-0.05043775215744972,
0.05714787542819977,
0.008233878761529922,
0.03090384043753147,
-0.03567548468708992,
-0.006136965937912464,
-0.023615902289748192,
-0.02613219805061817,
0.017949577420949936,
-0.07500425726175308,
0.03724117949604988,
0.021677423268556595,
-0.046933576464653015,
0.005610407795757055,
-0.028089316561818123,
-0.01901201345026493,
-0.023410871624946594,
0.012851747684180737,
-0.02790292538702488,
-0.03675656020641327,
-0.040037062019109726,
-0.02525615505874157,
-0.009850832633674145,
-0.004622528795152903,
-0.015349404886364937,
-0.046672627329826355,
-0.03375564143061638,
0.043727628886699677,
0.07101546227931976,
0.02937542460858822,
0.02989732287824154,
-0.06259053200483322,
0.0022530166897922754,
-0.049878574907779694,
-0.014035339467227459,
-0.00865792203694582,
0.02482745237648487,
0.054575663059949875,
-0.021640144288539886,
-0.00032210917561315,
0.007725960109382868,
-0.02594580687582493,
-0.013122016564011574,
0.007059607654809952,
0.04842471703886986,
-0.002677059266716242,
0.05103420838713646,
0.02803339995443821,
0.07135096937417984,
-0.04592705890536308,
-0.002541924826800823,
0.03936605155467987,
-0.029282227158546448,
0.005130447447299957,
-0.006854576524347067,
-0.010941226966679096,
0.012413726188242435,
-0.03914238139986992,
0.05047503113746643,
0.011593599803745747,
-0.03260001167654991,
-0.02057770825922489,
0.022404352203011513,
-0.05412831902503967,
0.09133221954107285,
0.0014410453150048852,
0.02594580687582493,
-0.04260927811264992,
-0.006561008282005787,
-0.05438926815986633,
-0.0046691265888512135,
0.0016099633648991585,
-0.027045520022511482,
0.028368905186653137,
-0.06106211245059967,
-0.0542401559650898,
-0.05099692940711975,
0.01792161911725998,
0.008727818727493286,
0.04857382923364639,
-0.053308192640542984,
0.07567527145147324,
0.05438926815986633,
-0.0010036060120910406,
-0.013420244678854942,
-0.015190971083939075,
0.025293434038758278,
-0.011248774826526642,
-0.01992533542215824,
0.0338488407433033,
-0.04160275682806969,
0.03891870751976967,
-0.06587103009223938,
0.033215105533599854,
-0.005354118533432484,
-0.032003555446863174,
0.006495770998299122,
0.03835953399538994,
0.034743521362543106,
-0.018779022619128227,
0.006901174318045378,
-0.010987825691699982,
0.00865792203694582,
-0.028480742126703262,
0.016821904107928276,
0.041640035808086395,
0.01618817076086998,
-0.002207583747804165,
0.0053634378127753735,
0.012861067429184914,
-0.04547971859574318,
-0.00628142012283206,
0.028350267559289932,
0.005074529908597469,
-0.03218994662165642,
-0.07056812196969986,
-0.030363302677869797,
0.011705435812473297,
-0.0041052899323403835,
-0.036383774131536484,
0.013355007395148277,
0.0009494356927461922,
0.0310343150049448,
-0.0767936185002327,
0.06020470708608627,
0.057259708642959595,
-0.00980423390865326,
-0.011789311654865742,
0.004049372393637896,
-0.03129526600241661,
0.03314054757356644,
-0.0015517157735303044,
-0.01753951422870159,
-0.014836826361715794,
0.023205839097499847,
0.030363302677869797,
0.013709153048694134,
-0.016505036503076553,
0.00020983694412279874,
-0.021640144288539886,
-0.005316840019077063,
-0.03381156176328659,
0.048722945153713226,
-0.03895598649978638,
-0.061956796795129776,
0.01588994264602661,
0.01887221820652485,
0.01753019355237484,
0.04171459376811981,
0.01674734614789486,
0.011276733130216599,
0.007567526772618294,
0.020242203027009964,
-0.00831309612840414,
-0.0000886091438587755,
-0.03561956435441971,
-0.04682174324989319,
0.022236600518226624,
-0.01056844275444746,
0.02126736007630825,
-0.009757636114954948,
-0.008862953633069992,
-0.007031648885458708,
-0.03041922114789486,
0.024976566433906555,
0.025330711156129837,
0.03185444325208664,
0.011528362520039082,
0.01761407032608986,
-0.04935667663812637,
-0.02382093481719494,
0.03763260319828987,
0.07589893788099289,
-0.029710929840803146,
-0.09886246919631958,
-0.04104357957839966,
-0.026915045455098152,
0.05875084921717644,
0.07623444497585297,
-0.059086356312036514,
0.04354123771190643,
-0.010354091413319111,
0.028834886848926544,
0.024007325991988182,
0.013066099025309086,
-0.023038087412714958,
0.030363302677869797,
0.018210526555776596,
0.06218046694993973,
-0.005172385834157467,
-0.012851747684180737,
-0.0018685826798900962,
-0.012264612130820751,
-0.010298173874616623,
0.005601088050752878,
-0.0001274165988434106,
0.040819909423589706,
0.01143516693264246,
-0.004878818057477474,
-0.00785177480429411,
-0.018070731312036514,
-0.009711038321256638,
0.02329903654754162,
0.11079157143831253,
-0.029822764918208122,
0.07209653407335281,
0.01119285635650158,
0.03440801426768303,
-0.0015528807416558266,
-0.041118137538433075,
0.014231051318347454,
0.013448202982544899,
-0.0001530455338070169,
-0.0223484355956316,
-0.04689629748463631,
0.015237569808959961,
0.000615094555541873,
-0.02313128300011158,
-0.010232936590909958,
0.09237601608037949,
-0.029822764918208122,
-0.08067058026790619,
-0.004303331952542067,
-0.04495782032608986,
-0.06971071660518646,
-0.051705218851566315,
-0.017781823873519897,
0.023373592644929886,
-0.007432392332702875,
0.01300086174160242,
-0.003219926729798317,
-0.055992241948843,
0.017259925603866577,
-0.00017183038289658725,
-0.008639282546937466,
0.053494587540626526,
-0.0033550611697137356,
0.053755536675453186,
0.007865754887461662,
-0.028592577204108238,
0.003103431547060609,
0.016160210594534874,
0.08738069981336594,
-0.04943123459815979,
-0.019123848527669907,
0.020111728459596634,
0.005340138915926218,
0.021360555663704872,
0.001853438327088952,
0.028499379754066467,
-0.0023648522328585386,
-0.04227377101778984,
0.004694755654782057,
-0.055917683988809586,
-0.05047503113746643,
0.08738069981336594,
-0.05479933321475983,
-0.012329849414527416,
0.002562894020229578,
0.04283294826745987,
0.008327075280249119,
-0.002779575064778328,
0.024137800559401512,
0.028368905186653137,
-0.02283305488526821,
0.054016485810279846,
-0.00854608602821827,
-0.08141615241765976,
-0.013308409601449966,
0.04674718528985977,
-0.010764154605567455,
-0.021192802116274834,
0.05081053823232651,
0.009459408931434155,
-0.006407234817743301,
0.006663524080067873,
0.0950600653886795,
-0.028275709599256516,
-0.0017183038871735334,
-0.010074502788484097,
-0.06240413710474968,
-0.028462102636694908,
-0.005135107319802046,
-0.017241286113858223,
0.017809782177209854,
0.018452836200594902,
0.017865700647234917,
0.010493885725736618,
-0.02199428901076317,
-0.021640144288539886,
-0.033047351986169815,
-0.015507837757468224,
-0.0025955126620829105,
0.021360555663704872,
0.003205947345122695,
-0.051705218851566315,
0.018816301599144936,
0.002460378222167492,
0.008345714770257473,
-0.05103420838713646,
0.041677314788103104,
0.017157409340143204,
-0.01753019355237484,
0.020298119634389877,
-0.01386758591979742,
0.045889779925346375,
0.004296342376619577,
0.04406313598155975,
-0.1089276522397995,
0.04439864307641983,
-0.011211495846509933,
0.09043753892183304,
0.03835953399538994,
0.0065470291301608086,
-0.024529224261641502,
-0.05740882456302643,
0.03806130588054657,
0.05420287698507309,
0.0019419746240600944,
-0.028965361416339874,
0.030046436935663223,
0.038210418075323105,
-0.03735301271080971,
-0.022628024220466614,
0.027921564877033234,
0.03806130588054657,
0.029431341215968132,
-0.025722134858369827,
-0.05573129281401634,
-0.012665355578064919,
0.01875106431543827,
0.024529224261641502,
-0.040782630443573,
0.005535850767046213,
0.01234848890453577,
0.031742606312036514,
-0.03424026444554329,
-0.01840623840689659,
-0.03519086167216301,
0.0028028739616274834,
-0.058266229927539825,
-0.00007113486935850233,
0.0022961199283599854,
-0.05237623304128647,
-0.03783763572573662,
-0.062255024909973145,
0.10467790812253952,
-0.05580585077404976,
-0.01683122292160988,
0.009748316369950771,
0.0016775305848568678,
-0.022590745240449905,
-0.0065470291301608086,
0.014408123679459095,
0.012180736288428307,
0.03811722248792648,
-0.03260001167654991,
0.046933576464653015,
-0.013355007395148277,
0.013522760011255741,
-0.028797607868909836,
0.04969218373298645,
0.0030731428414583206,
0.002409120323136449,
-0.013709153048694134,
-0.03315918892621994,
0.04279566928744316,
-0.012572159990668297,
-0.03681247681379318,
0.009944028221070766,
-0.00012181026977486908,
0.010615040548145771,
-0.0494685135781765,
0.0011294207070022821,
0.07451963424682617,
0.0017171389190480113,
0.0182198453694582,
-0.02395140938460827,
-0.012292571365833282,
0.021491030231118202,
-0.029226310551166534,
0.03511630743741989,
0.041938263922929764,
0.025013845413923264,
0.012795830145478249,
-0.029133114963769913,
0.015302807092666626,
-0.051705218851566315,
0.023802295327186584,
-0.016654150560498238,
-0.02695232443511486,
0.014044658280909061,
0.0616212897002697,
-0.02600172348320484,
-0.013774390332400799,
-0.00023692207469139248,
0.023876851424574852,
-0.018042773008346558,
0.059906478971242905,
0.046113450080156326,
-0.0032595351804047823,
0.026765931397676468,
-0.031239347532391548,
0.041900984942913055,
-0.038079943507909775,
-0.010149059817194939,
-0.016523675993084908,
0.0316680483520031,
0.08395108580589294,
0.03796811029314995,
-0.006747400853782892,
0.03224586695432663,
-0.0058154393918812275,
0.03381156176328659,
0.03571276366710663,
-0.044324085116386414,
-0.02335495315492153,
-0.01109034102410078,
-0.015153693035244942,
0.013550719246268272,
-0.01683122292160988,
0.06650476902723312,
-0.024846091866493225,
0.04044712707400322,
-0.004757663235068321,
-0.02629995159804821,
0.003911908250302076,
0.08380196988582611,
-0.06486451625823975,
-0.007949630729854107,
0.007693341467529535,
-0.02738102711737156,
0.04831288009881973,
-0.04808920994400978,
0.03179852291941643,
-0.02760469727218151,
-0.014296288602054119,
-0.0499158538877964,
-0.011686796322464943,
0.03466896340250969,
-0.0003023049794137478,
0.0533827506005764,
0.03232042118906975,
-0.007688681595027447,
0.06851780414581299,
0.01182659063488245,
0.019459353759884834,
0.011891827918589115,
-0.07362495362758636,
0.008033507503569126,
-0.033606529235839844,
0.012767871841788292,
0.0219197329133749,
0.058862682431936264,
0.025852609425783157,
-0.03353197127580643,
-0.009147201664745808,
0.02100641094148159,
-0.06795863062143326,
0.011593599803745747,
-0.000401617115130648,
0.06706394255161285,
0.017427679151296616,
0.021099606528878212,
0.03483671694993973,
0.040558960288763046,
-0.018210526555776596,
0.0008923530695028603,
-0.06792134791612625,
-0.0012686324771493673,
-0.004664466716349125,
0.025405269116163254,
-0.00044617653475143015,
-0.008219899609684944,
-0.06087572127580643,
0.010298173874616623,
0.014967300929129124,
-0.023056725040078163,
-0.018452836200594902,
-0.034128427505493164,
-0.004594570025801659,
-0.00393986701965332,
0.02976684831082821,
-0.037297096103429794,
-0.09118310362100601,
0.058564454317092896,
-0.08656057715415955,
0.03271184489130974,
0.0028751010540872812,
0.05282357335090637,
0.08134159445762634,
-0.0607638843357563,
0.0037744438741356134,
-0.03455713018774986,
0.0018476134864613414,
0.050624143332242966,
-0.02907719649374485,
0.028872165828943253,
0.085069440305233,
-0.037297096103429794,
-0.0020584696903824806,
-0.023765016347169876,
0.04473415017127991,
-0.00753956800326705,
-0.02907719649374485,
-0.03966427966952324,
0.016001777723431587,
0.009487367235124111,
0.03232042118906975,
-0.02976684831082821,
0.0059086354449391365,
-0.055656734853982925,
-0.025554383173584938,
0.025703495368361473,
-0.02238571271300316,
0.04760459065437317,
-0.008233878761529922,
-0.08365286141633987,
0.05867629125714302,
0.012767871841788292,
-0.03217130899429321,
-0.05867629125714302,
-0.053270913660526276,
0.026710014790296555,
-0.03136982023715973,
-0.04857382923364639,
-0.024025965481996536,
0.0011247609509155154,
0.044324085116386414,
0.02139783464372158,
-0.020633626729249954,
-0.05848990008234978,
0.01748359575867653,
0.013774390332400799,
-0.024380110204219818,
0.053494587540626526,
0.013597317039966583,
0.039515163749456406,
0.016169531270861626,
0.06184495985507965,
0.020857296884059906,
0.025367990136146545,
0.01710149273276329,
0.005927274469286203,
-0.02456650324165821,
0.05766977369785309,
-0.03485535830259323,
-0.00046423327876254916,
-0.07142552733421326,
0.036216020584106445,
-0.027828367426991463,
0.04040984809398651,
-0.0036742580123245716,
-0.0036276597529649734,
0.009617841802537441,
-0.03185444325208664,
0.010204977355897427,
-0.05069870129227638,
0.007795857265591621,
-0.014920702204108238,
0.007660722825676203,
-0.014780907891690731,
-0.0065097506158053875,
-0.002379996469244361,
0.008028848096728325,
-0.017241286113858223,
0.07000894099473953,
0.04808920994400978,
-0.03843408823013306,
-0.0033294321037828922,
0.040819909423589706,
-0.006495770998299122,
-0.036085546016693115,
0.00081779615720734,
-0.03576868027448654,
-0.008699859492480755,
0.03593643382191658,
-0.009776275604963303,
0.023112643510103226,
-0.0007811001851223409,
-0.03554501011967659,
0.08141615241765976,
0.02417507953941822,
0.025423908606171608,
0.047977373003959656,
0.06892786920070648,
-0.034091148525476456,
-0.0754888728260994,
0.03217130899429321,
0.007688681595027447,
0.01221801433712244,
0.02247891016304493,
-0.07142552733421326,
-0.027045520022511482,
-0.04223649203777313,
-0.026654096320271492,
-0.014976619742810726,
0.03757668659090996,
0.00913788191974163,
-0.055992241948843,
0.03737165406346321,
0.0051490869373083115,
-0.03630921617150307,
-0.021845174953341484,
0.01947799324989319,
-0.04760459065437317,
0.011015783995389938,
0.017427679151296616,
-0.04924484342336655,
0.01960846781730652,
0.06296331435441971,
0.019645746797323227,
0.03295415639877319,
0.01321521308273077,
-0.0010432143462821841,
-0.032618649303913116,
0.003660278394818306,
0.03038194216787815,
-0.02547982521355152,
-0.021323276683688164,
-0.005116468295454979,
-0.029617734253406525,
0.011081021279096603,
-0.06892786920070648,
-0.025722134858369827,
-0.015619673766195774,
0.03172396868467331
]
|
40,365 | pyglove.core.geno.base | __hash__ | Hash code. | def __hash__(self):
"""Hash code."""
return hash((self.value, tuple(self.children)))
| (self) | [
0.045390643179416656,
-0.03686721250414848,
0.008168286643922329,
0.033535636961460114,
-0.022915171459317207,
-0.019313009455800056,
-0.029443036764860153,
-0.005783755797892809,
0.01951594650745392,
-0.009715694934129715,
0.004549211356788874,
0.008358541876077652,
0.04961853474378586,
0.03192903846502304,
-0.008350085467100143,
-0.03855837136507034,
-0.0022386685013771057,
0.03913336247205734,
-0.013377049006521702,
0.01590532809495926,
-0.017139872536063194,
0.017706409096717834,
0.035717226564884186,
0.03683339059352875,
-0.013191021978855133,
-0.01878874935209751,
0.03172609955072403,
0.013571531511843204,
0.032605499029159546,
0.03683339059352875,
-0.08104022592306137,
-0.0053736502304673195,
-0.0020515844225883484,
-0.02636513113975525,
-0.005081925541162491,
-0.06994623690843582,
-0.036630451679229736,
0.08651956915855408,
-0.012844334356486797,
0.010916415601968765,
0.05668757110834122,
-0.014814532361924648,
-0.057330209761857986,
-0.027532029896974564,
0.05333907902240753,
0.025316614657640457,
0.024893825873732567,
0.05266261845827103,
-0.04748767614364624,
-0.0455259345471859,
-0.00035619986010715365,
-0.019955648109316826,
0.004318791441619396,
0.02501220628619194,
-0.016159001737833023,
0.05665374547243118,
0.03255476430058479,
-0.010823402553796768,
0.030288614332675934,
0.03262241184711456,
0.011812728829681873,
0.04359801858663559,
0.042718615382909775,
-0.03676574304699898,
-0.032047417014837265,
-0.06554923206567764,
-0.07569617033004761,
0.012167871929705143,
-0.016235103830695152,
0.026449689641594887,
-0.03588634356856346,
-0.01922845095396042,
0.0431244932115078,
0.013275579549372196,
0.005851401947438717,
0.017892437055706978,
0.031912125647068024,
0.05110675469040871,
0.053947895765304565,
0.002614950994029641,
-0.012413089163601398,
-0.05716109275817871,
0.01250610314309597,
-0.026382043957710266,
-0.07562852650880814,
0.045255351811647415,
0.07874025404453278,
0.018044641241431236,
0.002796750282868743,
-0.0030863608699291945,
-0.04065540432929993,
0.028597459197044373,
-0.008692544884979725,
0.019769620150327682,
0.007935752160847187,
-0.0030990445520728827,
-0.0024289237335324287,
-0.03913336247205734,
0.02389604225754738,
-0.012277796864509583,
0.05489494279026985,
0.032385651022195816,
-0.020598286762833595,
-0.002572671975940466,
-0.011626701802015305,
-0.0064729019068181515,
-0.026382043957710266,
-0.028563635423779488,
-0.011964933015406132,
-0.000872531090863049,
-0.0408245213329792,
0.060441937297582626,
0.0016890426632016897,
0.03433047980070114,
0.016852375119924545,
-0.01802773028612137,
-0.02283061482012272,
-0.0426509715616703,
0.010341422632336617,
-0.015465627424418926,
0.05114057660102844,
0.05384642630815506,
-0.037205446511507034,
0.04755532369017601,
0.010831858031451702,
0.038693662732839584,
0.022576941177248955,
-0.009301361627876759,
-0.07657556980848312,
-0.007893473841249943,
0.06365513801574707,
0.025773227214813232,
0.0045407554134726524,
0.04789355397224426,
0.032385651022195816,
-0.027244532480835915,
0.0647374764084816,
-0.0072508337907493114,
-0.014298729598522186,
0.040587760508060455,
0.025451907888054848,
-0.02387913130223751,
0.060238998383283615,
-0.008988497778773308,
0.015414892695844173,
-0.009123790077865124,
-0.0456274040043354,
0.040520112961530685,
-0.02507985197007656,
0.008523429743945599,
0.03737455978989601,
-0.01654796674847603,
0.037070151418447495,
0.049990590661764145,
-0.04261714592576027,
-0.0033442622516304255,
-0.027447471395134926,
-0.061727218329906464,
-0.015228865668177605,
-0.02557028830051422,
0.013782926835119724,
-0.008802469819784164,
0.02996729500591755,
-0.038118671625852585,
-0.0527302622795105,
0.005779527593404055,
0.03243638575077057,
-0.020090941339731216,
-0.029206274077296257,
-0.017571117728948593,
-0.034804001450538635,
-0.05080234631896019,
-0.10356643050909042,
0.05296702682971954,
-0.008164058439433575,
-0.012015667743980885,
-0.0046633644960820675,
0.03893042355775833,
0.021240927278995514,
0.007728585973381996,
-0.036427512764930725,
-0.05584198981523514,
0.02443721331655979,
0.002923587104305625,
0.036224573850631714,
0.006193860899657011,
0.03815249353647232,
0.03270696848630905,
0.06280955672264099,
0.0004544983385130763,
-0.0853019431233406,
-0.06609039753675461,
-0.03683339059352875,
-0.01480607595294714,
0.023405607789754868,
0.016717083752155304,
-0.035006940364837646,
-0.01516121905297041,
-0.03676574304699898,
0.04731856286525726,
-0.047656793147325516,
-0.07779320329427719,
0.005948643200099468,
-0.01774023286998272,
0.009859442710876465,
-0.0015949720982462168,
0.011051708832383156,
-0.0036782657261937857,
0.032825350761413574,
-0.014670783653855324,
0.008214793168008327,
-0.022661497816443443,
-0.006050112657248974,
0.04569505155086517,
0.015110484324395657,
-0.1013341024518013,
-0.0491788350045681,
-0.03943777084350586,
-0.009952456690371037,
-0.0035873660817742348,
0.05983312055468559,
-0.017774056643247604,
0.03125257417559624,
-0.005470891483128071,
-0.017435824498534203,
-0.03808484598994255,
0.020378436893224716,
-0.015998341143131256,
-0.020175497978925705,
-0.03652898222208023,
0.061727218329906464,
-0.015947606414556503,
0.05482729896903038,
-0.004523843992501497,
0.000263318361248821,
-0.013520796783268452,
-0.009910177439451218,
-0.0257901381701231,
-0.02974744513630867,
0.010180762968957424,
-0.04393624886870384,
-0.02303355373442173,
0.06994623690843582,
0.030914343893527985,
0.027312180027365685,
-0.023828396573662758,
0.035784874111413956,
0.050700876861810684,
-0.00487898662686348,
-0.04221126809716225,
-0.05266261845827103,
-0.012455368414521217,
-0.04572887346148491,
-0.025451907888054848,
0.04938177391886711,
-0.05678904056549072,
-0.008887028321623802,
0.03194594755768776,
0.0360216349363327,
-0.0016774159157648683,
0.0017429483123123646,
-0.04813031852245331,
0.012404633685946465,
-0.0010395328281447291,
-0.022864436730742455,
-0.007944208569824696,
0.011897286400198936,
0.06883007287979126,
-0.10390466451644897,
0.02861437015235424,
0.083949014544487,
-0.07028447091579437,
-0.010586640797555447,
0.05668757110834122,
-0.04806267097592354,
-0.01929609663784504,
0.019837267696857452,
0.03554811328649521,
-0.01971888542175293,
-0.01850125379860401,
0.021799009293317795,
0.004802884999662638,
-0.025113675743341446,
-0.0329437293112278,
-0.009563490748405457,
0.04934794828295708,
-0.012988083064556122,
0.00036069200723432004,
-0.03045773133635521,
-0.011254647746682167,
0.003965762443840504,
-0.030440818518400192,
-0.07278738170862198,
-0.013317858800292015,
0.05736403167247772,
0.0065997387282550335,
-0.02685556747019291,
0.024978382512927055,
0.04376713186502457,
0.04150098189711571,
-0.05002441257238388,
0.017114505171775818,
0.0176725871860981,
-0.044342126697301865,
-0.03710397705435753,
0.022695321589708328,
0.01569393277168274,
0.029290832579135895,
0.029020247980952263,
0.03913336247205734,
0.005259497091174126,
0.07725203782320023,
0.006785765755921602,
0.06368895620107651,
0.02374383807182312,
-0.02594234235584736,
-0.007107085548341274,
-0.04028335213661194,
0.009808707982301712,
0.0917283371090889,
-0.059325773268938065,
0.0009518041042611003,
-0.04004658758640289,
0.016776273027062416,
0.027667323127388954,
-0.05729638785123825,
0.006447534542530775,
-0.015660110861063004,
0.041162751615047455,
0.006193860899657011,
-0.019059335812926292,
-0.021173281595110893,
0.08848131448030472,
0.00427228445187211,
-0.017976995557546616,
0.02910480462014675,
0.06639480590820312,
0.03520987927913666,
-0.020818138495087624,
-0.059664007276296616,
0.03822014108300209,
-0.0021456549875438213,
0.0017736004665493965,
-0.0014861038653180003,
0.017537293955683708,
-0.00039636483415961266,
-0.02803937718272209,
0.04099363461136818,
-0.001999792642891407,
0.020124763250350952,
0.015490994788706303,
-0.013089552521705627,
-0.007301568519324064,
-0.024893825873732567,
0.05607875436544418,
-0.008963130414485931,
-0.00438009575009346,
-0.04163627699017525,
-0.04955088719725609,
0.0654139369726181,
0.08259608596563339,
-0.07887554168701172,
-0.012074857950210571,
-0.007267745677381754,
0.03455033153295517,
-0.01631120592355728,
-0.047352384775877,
-0.009106878191232681,
0.037273090332746506,
-0.07657556980848312,
-0.023507077246904373,
0.003908685874193907,
-0.03434739261865616,
-0.042921554297208786,
0.04995676502585411,
-0.007745497394353151,
-0.0023316822480410337,
0.07677850872278214,
-0.027312180027365685,
-0.03575105220079422,
0.023151934146881104,
0.006811133120208979,
0.01540643721818924,
0.0110939871519804,
-0.05864931270480156,
0.033806219696998596,
0.07197562605142593,
0.0019236906664445996,
0.06544776260852814,
0.0798225924372673,
-0.04112892970442772,
-0.006434850860387087,
0.017571117728948593,
-0.05110675469040871,
-0.02756585367023945,
0.034448862075805664,
0.04613475129008293,
-0.04329361021518707,
-0.09362243115901947,
-0.05117439851164818,
0.04542446509003639,
-0.053305257111787796,
-0.01117008924484253,
0.0007108142599463463,
0.008853204548358917,
-0.018974777311086655,
0.00805836170911789,
0.056484632194042206,
-0.018298314884305,
-0.05300084874033928,
-0.05391407385468483,
-0.023405607789754868,
0.004993139766156673,
-0.04068922996520996,
0.013486973941326141,
-0.11655451357364655,
0.06057722866535187,
-0.013681457377970219,
0.040317174047231674,
-0.011643613688647747,
0.008971585892140865,
-0.0017947399755939841,
-0.037171620875597,
0.011144721880555153,
-0.00588099705055356,
0.00964804831892252,
-0.023777661845088005,
0.046100929379463196,
-0.04150098189711571,
0.030829785391688347,
-0.0011542143765836954,
-0.009724150411784649,
0.03368784114718437,
-0.006895691156387329,
0.017114505171775818,
-0.03164153918623924,
0.0009375349618494511,
-0.042786262929439545,
0.019194627180695534,
0.08002553135156631,
0.040249526500701904,
0.027532029896974564,
0.011711259372532368,
-0.023371784016489983,
0.053880248218774796,
0.00568651407957077,
0.010510538704693317,
0.01936374418437481,
0.058953721076250076,
-0.0012736523058265448,
0.028918778523802757,
0.02176518552005291,
-0.010459803976118565,
-0.05360966548323631,
-0.02883422002196312,
-0.027785703539848328,
-0.07096093147993088,
-0.03710397705435753,
-0.0027291039004921913,
-0.003054651664569974,
-0.003340034279972315,
0.02721071057021618,
0.04769061505794525,
0.010020103305578232,
-0.0659889280796051,
-0.07677850872278214,
0.004022839013487101,
-0.016133634373545647,
0.03524370491504669,
0.006743486970663071,
0.05597728490829468,
-0.02409898117184639,
-0.04160245135426521,
-0.0219004787504673,
-0.04897589609026909,
0.0049212658777832985,
-0.008734824135899544,
-0.05560522899031639,
-0.06632716208696365,
-0.033958423882722855,
0.030491553246974945,
-0.006121987011283636,
0.07150210440158844,
-0.023777661845088005,
0.02198503538966179,
-0.05489494279026985,
0.004747922066599131,
-0.016928477212786674,
0.009394374676048756,
0.010603551752865314,
-0.04613475129008293,
-0.04464653506875038,
-0.02198503538966179,
0.04515388235449791,
0.016987668350338936,
-0.0032026278786361217,
0.001513585215434432,
-0.0013180451933294535,
-0.06565070152282715,
-0.03449959680438042,
-0.03405989333987236,
-0.0018940954469144344,
0.05631551519036293,
-0.000043401949369581416,
0.020378436893224716,
0.014391742646694183,
0.04413918778300285,
-0.026179105043411255,
-0.0031962860375642776,
-0.0031561211217194796,
-0.0036846075672656298,
-0.08651956915855408,
0.0702168196439743,
-0.005132660269737244,
0.018754927441477776,
0.02360854670405388,
-0.017334355041384697,
-0.011677436530590057,
-0.015998341143131256,
-0.0031709186732769012,
0.01472997386008501,
-0.001544237369671464,
0.02952759526669979,
-0.05002441257238388,
-0.0030736771877855062,
-0.013106463477015495,
-0.02056446485221386,
-0.04048629105091095,
0.04160245135426521,
-0.005690741818398237,
-0.03686721250414848,
-0.055774345993995667,
-0.04163627699017525,
0.026618804782629013,
-0.0329437293112278,
0.05408318713307381,
-0.026229839771986008,
0.025756314396858215,
0.005487803369760513,
0.030863609164953232,
0.005796439480036497,
-0.011567511595785618,
0.023473253473639488,
-0.026906302198767662,
-0.0028263453859835863,
0.05181703716516495,
-0.010087748989462852,
0.0017535180086269975,
-0.030846696346998215,
-0.0036359867081046104,
0.0110939871519804,
-0.0020346727687865496,
0.03997894376516342,
-0.05222291499376297,
0.04126422107219696,
-0.06605657935142517,
0.006971793249249458,
-0.009089967235922813,
0.0339076891541481,
0.04112892970442772,
0.04755532369017601,
0.03835543245077133,
0.01374910306185484,
-0.06538011133670807,
0.015076661482453346,
-0.03920101001858711,
-0.03537899628281593,
-0.01494136918336153,
0.03192903846502304,
0.052831731736660004,
-0.02536734938621521,
0.07603440433740616,
0.008701000362634659,
-0.012886613607406616,
0.025976166129112244,
-0.012455368414521217,
-0.07163739204406738,
0.012252429500222206,
-0.014129613526165485,
-0.06653010100126266,
-0.004460425581783056,
0.0426509715616703,
-0.012835878878831863,
0.03849072381854057,
0.04173774644732475,
0.033400341868400574,
0.02507985197007656,
0.06490658968687057,
-0.05448906496167183,
0.012438456527888775,
-0.05604492872953415,
-0.011643613688647747,
-0.03030552715063095,
-0.01067119836807251,
0.02467397414147854,
-0.031692273914813995,
-0.012463823892176151,
-0.024504859000444412,
-0.039336301386356354,
-0.01106016431003809,
0.02974744513630867,
-0.002063211053609848,
0.012074857950210571,
0.03023787960410118,
0.02141004242002964,
-0.012480735778808594,
0.028225403279066086,
-0.020818138495087624,
-0.01949903555214405,
0.024065159261226654,
0.004418146796524525,
0.028529811650514603,
0.06487277150154114,
-0.06747715175151825,
-0.0007472798461094499,
-0.019397566094994545,
-0.018957866355776787,
0.05015970394015312,
-0.07488441467285156,
0.006849184166640043,
-0.05462436005473137,
0.025874696671962738,
-0.015279600396752357,
0.014763797633349895,
-0.056416984647512436,
-0.019938737154006958,
0.017351265996694565,
0.01681855320930481,
0.017334355041384697,
-0.030491553246974945,
0.009944001212716103,
-0.0074410890229046345,
0.01878874935209751,
-0.05191850662231445,
0.0228137020021677,
-0.048096492886543274,
0.015643198043107986,
-0.0007034154841676354,
-0.020327702164649963,
0.05709344893693924,
-0.03262241184711456,
-0.022661497816443443,
-0.050836168229579926,
0.017148328945040703,
-0.03666427731513977,
0.017621852457523346,
0.013833661563694477,
-0.039403948932886124,
-0.013859028927981853,
-0.06365513801574707,
-0.009377463720738888,
0.021308572962880135,
-0.010273776017129421,
-0.0031476651784032583,
0.029561417177319527,
0.014628504402935505,
0.012556837871670723,
-0.010840313509106636,
-0.023151934146881104,
-0.008595303632318974,
0.02543499507009983,
0.0012947918148711324,
-0.030981989577412605,
-0.015541729517281055,
0.03920101001858711,
0.011677436530590057,
0.025113675743341446,
0.008223248645663261,
0.012167871929705143,
0.021105634048581123,
-0.03923483192920685,
-0.0033040973357856274,
0.00922525953501463,
-0.028377607464790344,
-0.08070199191570282,
-0.07082563638687134,
-0.0172413419932127,
0.07860495895147324,
-0.011626701802015305,
-0.022932084277272224,
0.01809537597000599,
0.020158587023615837,
-0.019888002425432205,
0.023388696834445,
0.036562807857990265,
0.06778156012296677,
-0.037205446511507034,
0.006028973497450352,
0.05448906496167183,
-0.04955088719725609,
-0.028208492323756218,
-0.05905519053339958,
-0.012607572600245476,
0.014814532361924648,
-0.033958423882722855,
0.05015970394015312,
-0.003707860829308629,
0.031404778361320496,
0.04853619635105133,
-0.017571117728948593,
0.00047220263513736427,
0.015313423238694668,
0.01708913780748844,
0.012100225314497948,
0.012996538542211056,
-0.038186315447092056,
-0.012979626655578613,
0.043699488043785095,
0.057059623301029205,
0.012675219215452671,
-0.04867148771882057,
0.0073776706121861935,
-0.009850987233221531,
-0.0021551677491515875,
-0.006134670693427324,
-0.022441647946834564,
0.03920101001858711,
0.037273090332746506,
-0.013943586498498917,
0.008054133504629135,
-0.017402000725269318,
-0.008316262625157833,
0.07948435842990875,
0.02000638283789158,
-0.01956668123602867,
0.04092599079012871,
0.12710733711719513,
-0.050058234483003616,
-0.02551955357193947,
-0.006324925925582647,
0.020598286762833595,
0.053169965744018555,
-0.017258252948522568,
-0.0005480404361151159,
0.03433047980070114,
0.02120710350573063,
0.0035218335688114166,
-0.02234017848968506,
-0.048637665808200836,
0.06510952860116959,
0.053677309304475784,
0.010696565732359886,
-0.019600505009293556,
-0.0020452425815165043,
0.04647298529744148,
-0.040452465415000916,
-0.024285009130835533,
0.09957530349493027,
-0.005470891483128071,
-0.08401665836572647,
0.003101158421486616,
0.07177268713712692,
0.02005711756646633,
-0.004312449600547552,
0.03397533670067787,
0.0354466438293457,
0.02436956763267517,
-0.02436956763267517,
-0.0025346209295094013,
-0.02036152593791485,
-0.0185858104377985,
-0.027092328295111656,
-0.03262241184711456,
-0.005754160229116678,
0.01610826700925827,
0.013757559470832348,
0.021579157561063766,
0.026754098013043404
]
|
40,366 | pyglove.core.geno.base | __init__ | Constructor.
Args:
value: Value for current node.
children: Child DNA(s).
spec: DNA spec that constraint current node.
metadata: Optional dict as controller metadata for the DNA.
allow_partial: If True, allow the object to be partial.
**kwargs: keyword arguments that will be passed through to
symbolic.Object.
| @object_utils.explicit_method_override
def __init__(
self,
value: Union[None, int, float, str, List[Any], Tuple[Any]] = None,
# Set MISSING_VALUE to use default from pg_typing.
children: Optional[List['DNA']] = None,
spec: Optional[DNASpec] = None,
metadata: Optional[Dict[str, Any]] = None,
*,
allow_partial: bool = False,
**kwargs):
"""Constructor.
Args:
value: Value for current node.
children: Child DNA(s).
spec: DNA spec that constraint current node.
metadata: Optional dict as controller metadata for the DNA.
allow_partial: If True, allow the object to be partial.
**kwargs: keyword arguments that will be passed through to
symbolic.Object.
"""
value, children, metadata = self._parse_value_and_children(
value, children, metadata, spec)
super().__init__(
value=value,
children=children,
metadata=metadata or symbolic.Dict(),
allow_partial=allow_partial,
**kwargs)
self._decision_by_id_cache = None
self._named_decisions = None
self._userdata = AttributeDict()
self._cloneable_metadata_keys = set()
self._cloneable_userdata_keys = set()
self._spec = None
if spec:
self.use_spec(spec)
| (self, value: Union[NoneType, int, float, str, List[Any], Tuple[Any]] = None, children: Optional[List[pyglove.core.geno.base.DNA]] = None, spec: Optional[pyglove.core.geno.base.DNASpec] = None, metadata: Optional[Dict[str, Any]] = None, *, allow_partial: bool = False, **kwargs) | [
0.05045926570892334,
0.011368908919394016,
0.00666011031717062,
-0.006742559839040041,
-0.011075754649937153,
0.03182561695575714,
-0.040858447551727295,
-0.019952846691012383,
0.03277837112545967,
-0.07475446909666061,
-0.013448475860059261,
0.11037277430295944,
0.004722540266811848,
0.05478329956531525,
-0.027776416391134262,
0.003538469783961773,
0.02709849551320076,
0.11440365761518478,
0.006847912445664406,
0.04990960285067558,
-0.010938338004052639,
0.06911124289035797,
-0.029022322967648506,
0.05789807066321373,
-0.013723308220505714,
-0.006458566524088383,
-0.013640858232975006,
0.01587616465985775,
-0.02374553680419922,
0.0036117585841566324,
0.025742653757333755,
-0.03351125493645668,
-0.010205451399087906,
0.0008319412008859217,
0.022646207362413406,
-0.059217266738414764,
-0.04016220569610596,
0.0722993016242981,
-0.1083206906914711,
0.004672154318541288,
0.006678432691842318,
-0.02861923538148403,
-0.04763765260577202,
-0.038220055401325226,
-0.009536691941320896,
0.0018345076823607087,
0.049286648631095886,
0.030396487563848495,
-0.05053255707025528,
-0.02935212291777134,
0.03155078366398811,
-0.000818772183265537,
0.023159228265285492,
-0.01198270171880722,
-0.046318456530570984,
0.088386170566082,
-0.010993304662406445,
0.08684710413217545,
0.055955920368433,
0.004937825724482536,
0.0038064317777752876,
0.055552832782268524,
0.009609980508685112,
-0.08061756938695908,
-0.008428200148046017,
0.0069120400585234165,
-0.024716611951589584,
-0.062075525522232056,
-0.03953925147652626,
0.020062780007719994,
-0.020960567519068718,
-0.03876972198486328,
0.05034933611750603,
0.04979966953396797,
0.07200614362955093,
-0.016499117016792297,
-0.04294717684388161,
-0.0073563531041145325,
0.06064639613032341,
-0.033456288278102875,
-0.0076311854645609856,
-0.023800503462553024,
-0.0438266396522522,
-0.04749107360839844,
-0.02664044126868248,
0.03125762939453125,
-0.008515230379998684,
0.011552130803465843,
0.06262519210577011,
0.017717542126774788,
-0.06606975942850113,
-0.019329894334077835,
-0.011588775552809238,
0.04620852321386337,
0.010095518082380295,
0.029095612466335297,
0.07746615260839462,
-0.04935993626713753,
-0.005542457569390535,
0.005922643002122641,
0.010828404687345028,
0.008771740831434727,
-0.036845892667770386,
0.01312783733010292,
-0.022334730252623558,
0.0028857423458248377,
-0.026310641318559647,
0.010242095217108727,
0.02301265113055706,
-0.02770312689244747,
-0.11007962375879288,
0.017534321174025536,
0.03939267247915268,
0.037157367914915085,
-0.03228367120027542,
-0.011533808894455433,
-0.011304781772196293,
-0.056578874588012695,
-0.0005742856301367283,
-0.03614965081214905,
0.062002237886190414,
0.01104827132076025,
-0.030066687613725662,
0.05789807066321373,
0.01682891696691513,
0.04041871428489685,
0.024661647155880928,
-0.01969633623957634,
-0.024111980572342873,
0.005693615414202213,
0.022114863619208336,
0.004003394860774279,
0.0000033638366403465625,
0.05698196217417717,
0.027721449732780457,
0.010947499424219131,
0.010993304662406445,
-0.01758928783237934,
-0.056468941271305084,
0.020007813349366188,
0.004392741248011589,
-0.05947377532720566,
0.08325596153736115,
-0.07372842729091644,
0.005670712795108557,
0.017232004553079605,
-0.016471633687615395,
-0.023727215826511383,
-0.042800597846508026,
-0.02587090991437435,
-0.04437630623579025,
-0.0004715097020380199,
-0.0011749094119295478,
0.05166853219270706,
-0.02816118113696575,
0.0053546554408967495,
-0.010242095217108727,
-0.07321541011333466,
0.01564713753759861,
0.0033048621844500303,
-0.03735891357064247,
-0.004067522473633289,
-0.03836663439869881,
-0.020905600860714912,
-0.023159228265285492,
0.0036529835779219866,
-0.007979306392371655,
-0.09871987253427505,
-0.016132675111293793,
0.011808641254901886,
-0.013283575884997845,
-0.04338691011071205,
0.009893974289298058,
0.07460789382457733,
-0.008831287734210491,
0.015042505227029324,
0.026365607976913452,
0.013686664402484894,
-0.0001631818595342338,
-0.019055061042308807,
0.012523205950856209,
-0.010342867113649845,
-0.016041062772274017,
-0.010846727527678013,
0.0458054356276989,
0.018981771543622017,
-0.018633650615811348,
0.03792690113186836,
0.09278348833322525,
0.030121654272079468,
0.025577755644917488,
0.0015883034793660045,
0.02625567466020584,
0.02537621185183525,
0.03286997973918915,
-0.020777344703674316,
0.03887965530157089,
-0.01916499435901642,
-0.07541406899690628,
0.05536961182951927,
-0.002507847500964999,
-0.032924946397542953,
0.01973298192024231,
-0.009564175270497799,
-0.017644254490733147,
0.02484486810863018,
-0.009087798185646534,
0.028032926842570305,
-0.021785065531730652,
-0.08164361119270325,
-0.05053255707025528,
-0.009266439825296402,
0.029938433319330215,
0.02572433277964592,
-0.010232933796942234,
-0.11205841600894928,
-0.0002868565497919917,
-0.024991445243358612,
0.03851320967078209,
-0.006760882213711739,
0.09776712208986282,
0.01843210682272911,
0.0005393589963205159,
-0.013631697744131088,
0.016572406515479088,
-0.01687472313642502,
-0.010406995192170143,
-0.0266770850867033,
0.0053225914016366005,
0.014593611471354961,
0.003920945338904858,
-0.05163188651204109,
0.00981152430176735,
-0.027043528854846954,
0.016893044114112854,
0.003932396415621042,
0.024478424340486526,
-0.018349656835198402,
-0.05687202885746956,
-0.0034170853905379772,
-0.04851711541414261,
-0.013750791549682617,
-0.011387230828404427,
-0.009174828417599201,
0.0034880838356912136,
0.0112956203520298,
0.01896345056593418,
0.022737817838788033,
-0.0057348404079675674,
-0.0549665205180645,
-0.020557479932904243,
-0.023617282509803772,
-0.010297061875462532,
0.012220890261232853,
-0.02755654975771904,
-0.03140420466661453,
-0.03319977968931198,
-0.025211311876773834,
0.03649777173995972,
0.0023566896561533213,
-0.005574521608650684,
-0.05811793729662895,
-0.026164064183831215,
0.06881808489561081,
-0.007612863555550575,
-0.012660622596740723,
-0.0142363291233778,
0.013393509201705456,
-0.06467727571725845,
-0.0012298759538680315,
0.02072237804532051,
0.02766648307442665,
0.02312258444726467,
-0.008625163696706295,
-0.031092729419469833,
-0.01379659678786993,
0.009426758624613285,
0.006687593646347523,
0.004587414208799601,
-0.022243119776248932,
-0.008767160587012768,
-0.020740700885653496,
0.0074021583423018456,
0.000870303250849247,
0.0112956203520298,
-0.02385547012090683,
-0.0012230051215738058,
0.0386231429874897,
-0.04137146845459938,
-0.006005092523992062,
0.006802107207477093,
-0.0005001380923204124,
0.03252185881137848,
0.03246689215302467,
0.05896075442433357,
-0.0022776753176003695,
-0.05621242895722389,
0.006055478472262621,
-0.015986096113920212,
-0.04697805270552635,
0.044449593871831894,
-0.03580152988433838,
0.05529632046818733,
0.02533956617116928,
-0.04624516889452934,
-0.010782599449157715,
0.023708892986178398,
0.021931642666459084,
-0.004736281931400299,
0.044486239552497864,
0.019824592396616936,
0.05903404578566551,
0.011121559888124466,
0.07160305976867676,
0.030634675174951553,
-0.0016593019245192409,
-0.008716774173080921,
-0.09256362169981003,
0.04595201089978218,
0.049140069633722305,
-0.05943713337182999,
-0.004814151208847761,
-0.03887965530157089,
-0.028216147795319557,
-0.018230563029646873,
-0.010452800430357456,
0.03629622608423233,
0.02293936163187027,
-0.008478585630655289,
0.023030972108244896,
-0.03876972198486328,
0.006325730588287115,
0.02374553680419922,
0.012569011189043522,
-0.028271114453673363,
0.014584450982511044,
0.00381101225502789,
0.0051256283186376095,
0.0027231331914663315,
-0.030982796102762222,
0.038989584892988205,
0.024130303412675858,
0.004449998028576374,
-0.004129359964281321,
0.04151804745197296,
-0.07035715132951736,
0.039869051426649094,
-0.02858259156346321,
0.05628572031855583,
0.0148867666721344,
0.0011010481975972652,
0.046465031802654266,
-0.02587090991437435,
0.005798968020826578,
0.0346655547618866,
-0.04767429828643799,
0.011323103681206703,
0.016471633687615395,
-0.061159417033195496,
-0.03048809804022312,
0.051925040781497955,
-0.04591536894440651,
-0.027648160234093666,
0.002016584388911724,
0.016728144139051437,
-0.04851711541414261,
-0.03620461747050285,
0.005757743027061224,
0.03442736342549324,
0.003625500248745084,
0.02354399301111698,
-0.0533541701734066,
-0.044486239552497864,
-0.01626092940568924,
0.03195387125015259,
-0.007892276160418987,
-0.001541352947242558,
-0.009307664819061756,
-0.05119215324521065,
-0.024881511926651,
-0.014987538568675518,
-0.013485119678080082,
0.01973298192024231,
0.032430246472358704,
-0.047271210700273514,
-0.0279779601842165,
0.05976693332195282,
0.0320638045668602,
0.010113839991390705,
0.029370445758104324,
-0.008446522057056427,
-0.024753257632255554,
0.048260606825351715,
-0.0030758350621908903,
0.0024299784563481808,
0.00031061811023391783,
0.027263395488262177,
-0.018798550590872765,
-0.011094076558947563,
0.001565400743857026,
0.011204009875655174,
-0.086407370865345,
0.03160575032234192,
0.048114027827978134,
0.01790076494216919,
-0.018386302515864372,
0.11095908284187317,
-0.014053107239305973,
-0.009591658599674702,
0.032540179789066315,
0.01152464747428894,
-0.018404623493552208,
-0.014840961433947086,
0.013869885355234146,
0.020044459030032158,
-0.042580731213092804,
0.04397321864962578,
-0.010232933796942234,
0.0001357701694360003,
-0.03792690113186836,
0.023635605350136757,
0.016893044114112854,
0.0007930066203698516,
0.06258855015039444,
0.04437630623579025,
0.012486561201512814,
0.051155511289834976,
0.0008897705702111125,
0.0069441040977835655,
-0.002026890404522419,
-0.031770650297403336,
0.01353092584758997,
-0.016920527443289757,
-0.04708798602223396,
0.013631697744131088,
-0.027849704027175903,
-0.05243806168437004,
-0.03920945152640343,
-0.00012889935169368982,
0.0343540757894516,
-0.02988346666097641,
0.03090950846672058,
0.05306101590394974,
0.0032865400426089764,
-0.012129278853535652,
-0.00023217630223371089,
0.01969633623957634,
0.041774556040763855,
0.021436944603919983,
-0.031202662736177444,
0.05042262375354767,
-0.010132161900401115,
0.09373624622821808,
0.005922643002122641,
-0.06852493435144424,
-0.029480377212166786,
-0.026420574635267258,
-0.017461031675338745,
0.017616771161556244,
-0.011286458931863308,
0.0004520423826761544,
0.020557479932904243,
0.015784552320837975,
-0.04433966055512428,
-0.075267493724823,
0.06702250987291336,
0.021400298923254013,
0.009655785746872425,
-0.04983631521463394,
-0.034555621445178986,
0.00631656963378191,
0.031239306554198265,
0.05141201987862587,
-0.042800597846508026,
0.027886349707841873,
-0.020282646641135216,
-0.0012069732183590531,
-0.09820685535669327,
-0.07226265221834183,
-0.06720573455095291,
0.031624071300029755,
-0.034299109131097794,
0.05965700000524521,
0.04126153513789177,
0.001439435756765306,
0.01610519178211689,
0.01710375025868416,
0.003034610068425536,
-0.006472308188676834,
0.031037762761116028,
-0.05712853744626045,
0.05544289946556091,
-0.014227168634533882,
0.01687472313642502,
0.014117235317826271,
0.027006885036826134,
0.026200709864497185,
-0.01626092940568924,
0.015848681330680847,
-0.051118865609169006,
-0.021235398948192596,
-0.017048783600330353,
-0.020832311362028122,
-0.006710496265441179,
0.027409972622990608,
-0.017735864967107773,
-0.052987728267908096,
-0.00011286745575489476,
-0.014392067678272724,
-0.029260512441396713,
0.007892276160418987,
-0.00036300806095823646,
0.032613471150398254,
0.012678944505751133,
-0.00631656963378191,
0.05727511644363403,
-0.010443639010190964,
0.00032264203764498234,
-0.04848047345876694,
-0.06302827596664429,
-0.03217373788356781,
0.01085588801652193,
0.028344403952360153,
-0.02533956617116928,
0.014153879135847092,
-0.007205194793641567,
-0.008043434470891953,
0.002565104281529784,
0.05082571133971214,
-0.015418109484016895,
0.028142860159277916,
-0.03706575930118561,
-0.001291713328100741,
0.052914440631866455,
-0.009793202392756939,
0.030433131381869316,
0.059253912419080734,
0.020026136189699173,
0.021931642666459084,
0.0033712799195200205,
0.049066781997680664,
0.05071577802300453,
0.014282134361565113,
0.0039827823638916016,
0.023983726277947426,
-0.030982796102762222,
-0.016444150358438492,
0.007273903116583824,
0.006820429116487503,
0.024533390998840332,
-0.006284505594521761,
-0.031001118943095207,
-0.01878022775053978,
0.006298247259110212,
-0.04305711016058922,
-0.010013068094849586,
0.004124779254198074,
-0.025046411901712418,
0.011213170364499092,
0.03609468415379524,
0.02819782681763172,
-0.014016463421285152,
0.06504371762275696,
-0.031697362661361694,
0.027849704027175903,
0.02343406155705452,
-0.014703544788062572,
-0.02332412824034691,
0.03200883790850639,
0.013659181073307991,
-0.00033437967067584395,
0.00961914099752903,
-0.0015608201501891017,
0.03233863785862923,
-0.05712853744626045,
-0.021345332264900208,
-0.05617578700184822,
0.0396125391125679,
-0.060279954224824905,
-0.06874479353427887,
0.010251256637275219,
0.018532879650592804,
-0.03003004379570484,
-0.03558166325092316,
0.03149581700563431,
0.047271210700273514,
0.00011995298700639978,
0.10267746448516846,
-0.008542713709175587,
-0.07731957733631134,
-0.005121047608554363,
-0.0003833342343568802,
-0.026896951720118523,
-0.010388672351837158,
-0.008945801295340061,
0.03415253385901451,
-0.05269457399845123,
-0.02942541241645813,
0.0458054356276989,
-0.051118865609169006,
-0.06892801821231842,
0.04983631521463394,
-0.004040039610117674,
0.04485268145799637,
0.015262370929121971,
0.005936384201049805,
0.015161599032580853,
-0.010049712844192982,
-0.006811268161982298,
-0.07065030187368393,
0.047344498336315155,
0.017232004553079605,
-0.010507767088711262,
-0.017461031675338745,
-0.028490981087088585,
-0.061196062713861465,
-0.06533687561750412,
0.017433548346161842,
-0.01164374127984047,
-0.03600307181477547,
-0.03618629276752472,
-0.018386302515864372,
-0.02435017004609108,
-0.004447707906365395,
-0.02156519889831543,
-0.010700149461627007,
0.008996187709271908,
-0.010645182803273201,
-0.012587334029376507,
-0.017717542126774788,
0.06900130957365036,
-0.012459078803658485,
-0.06273512542247772,
0.004518706351518631,
-0.026273997500538826,
-0.029718566685914993,
0.022078219801187515,
-0.0148867666721344,
0.02576097659766674,
0.08809301257133484,
-0.07361849397420883,
-0.032888300716876984,
-0.0327417254447937,
0.07519420236349106,
-0.04324033111333847,
-0.04697805270552635,
-0.03770703449845314,
-0.03880636394023895,
-0.014758511446416378,
0.0461718775331974,
0.008185431361198425,
0.06892801821231842,
-0.006994490046054125,
-0.05166853219270706,
0.05995015427470207,
0.032082125544548035,
0.017534321174025536,
-0.004809570498764515,
0.015674620866775513,
0.05243806168437004,
-0.004997373092919588,
-0.025577755644917488,
0.021125467494130135,
0.0012745362473651767,
0.060243308544158936,
0.010013068094849586,
-0.0024872352369129658,
-0.02843601442873478,
0.03968583047389984,
0.05350074917078018,
-0.017836635932326317,
0.004910342860966921,
-0.01973298192024231,
0.008959542959928513,
-0.025467822328209877,
-0.03785361349582672,
0.018651973456144333,
0.04291053116321564,
0.05973028764128685,
0.00358198513276875,
0.028179503977298737,
-0.008616002276539803,
0.022243119776248932,
-0.0589241124689579,
-0.026933595538139343,
-0.03746884688735008,
0.026273997500538826,
0.024973122403025627,
0.021327011287212372,
-0.09527530521154404,
0.0007443383219651878,
-0.04437630623579025,
0.014914250001311302,
0.051008932292461395,
-0.050898998975753784,
-0.022774461656808853,
-0.034299109131097794,
0.006733398884534836,
0.032155416905879974,
0.004850795492529869,
0.022004930302500725,
0.026475541293621063,
-0.037267301231622696,
0.014547806233167648,
0.011616257950663567,
0.005368397105485201,
-0.01892680674791336,
0.016700660809874535,
0.09806027263402939,
-0.013961496762931347,
0.03785361349582672,
0.09293006360530853,
-0.00507524237036705,
-0.04071187227964401,
-0.0314408503472805,
-0.0005874547059647739,
0.03968583047389984,
0.052914440631866455,
-0.040748514235019684,
-0.03506864234805107,
0.005345494486391544,
-0.028564268723130226,
0.09549517184495926,
0.02354399301111698,
0.015445592813193798,
0.029608633369207382,
-0.0033254746813327074,
-0.010370350442826748,
0.013741630129516125,
-0.04866369441151619,
0.04214100167155266,
0.07937166094779968,
-0.031770650297403336,
-0.03873307630419731,
-0.019641371443867683,
-0.039026230573654175,
0.012532367371022701,
-0.00698532909154892,
-0.02515634521842003,
0.05320759490132332,
-0.0350319966673851,
0.0402354933321476,
0.009426758624613285,
0.006362374871969223,
-0.023763859644532204,
0.047417785972356796,
-0.030085010454058647,
0.02075902372598648,
0.05478329956531525,
0.0016959462082013488,
0.047307852655649185,
0.03752381354570389,
0.002936128294095397,
0.022957684472203255,
0.09578832983970642,
-0.016233446076512337,
0.012953776866197586,
0.008744257502257824,
-0.02519298903644085,
-0.07644011080265045,
-0.0876532793045044,
-0.029681922867894173,
0.0030872863717377186,
-0.017964892089366913,
-0.011515486054122448,
0.017112910747528076,
-0.014703544788062572,
0.02400204725563526
]
|
40,367 | pyglove.core.geno.base | __iter__ | Iterate child DNA(s). | def __iter__(self):
"""Iterate child DNA(s)."""
return self.children.__iter__()
| (self) | [
0.029406985267996788,
-0.03127637878060341,
-0.05701648071408272,
-0.008632460609078407,
-0.06593204289674759,
0.012950937263667583,
-0.024140331894159317,
0.03943699598312378,
0.11741224676370621,
-0.014541718177497387,
-0.006920348387211561,
0.02009597234427929,
0.017246944829821587,
0.06481759995222092,
-0.011378130875527859,
-0.019610648974776268,
0.00023718482407275587,
0.08599206805229187,
-0.05234299600124359,
0.04080309346318245,
-0.059209421277046204,
0.06291225552558899,
0.006358631420880556,
-0.04921535775065422,
-0.03994029387831688,
0.07096502184867859,
0.0003988187527284026,
0.009904186241328716,
0.013076761737465858,
0.01211510319262743,
-0.030970804393291473,
-0.04109068959951401,
-0.006417050026357174,
-0.026207448914647102,
0.004754369147121906,
0.019808372482657433,
-0.07484760880470276,
0.04799306392669678,
-0.044613778591156006,
0.07139642536640167,
0.031222453340888023,
-0.019754448905587196,
-0.01872987672686577,
-0.019610648974776268,
-0.002655796008184552,
-0.032570574432611465,
0.053169842809438705,
0.0031725752633064985,
-0.02951483614742756,
-0.06442215293645859,
0.03799900412559509,
0.0023569627664983273,
0.033720970153808594,
-0.013148661702871323,
-0.023043859750032425,
0.07434431463479996,
-0.01959267444908619,
0.02926318719983101,
0.06769359111785889,
0.015341603197157383,
0.005913752131164074,
-0.05924537032842636,
0.02182156592607498,
-0.02850824035704136,
0.03316374495625496,
-0.020006097853183746,
-0.04695051908493042,
-0.03285817429423332,
-0.016123512759804726,
0.03868205100297928,
-0.043499331921339035,
0.008362836204469204,
0.053421493619680405,
0.03767545521259308,
-0.02045547030866146,
0.0018143445486202836,
-0.04748976603150368,
0.06934728473424911,
0.0780830979347229,
-0.05902967229485512,
-0.025326676666736603,
0.03278627246618271,
-0.057340025901794434,
-0.011450030840933323,
-0.01141408085823059,
0.014361969195306301,
0.003956731408834457,
-0.03832255303859711,
-0.032948046922683716,
0.046519119292497635,
-0.04177373647689819,
0.003783722873777151,
0.026638846844434738,
0.03449388965964317,
-0.02901153825223446,
0.06194160878658295,
-0.010047986172139645,
-0.02085091918706894,
-0.031096629798412323,
-0.0035994797945022583,
-0.007252884563058615,
0.07168402522802353,
0.05158805102109909,
0.030952829867601395,
-0.010847870260477066,
-0.003496123943477869,
-0.07369721680879593,
-0.029928259551525116,
0.05122855305671692,
0.027519619092345238,
-0.10461409389972687,
0.020940793678164482,
0.03476351499557495,
0.017408719286322594,
-0.015539327636361122,
-0.07477571070194244,
0.0016020156908780336,
-0.029946234077215195,
-0.0004409475077409297,
-0.02584794908761978,
0.047130268067121506,
0.020635219290852547,
-0.003498370759189129,
0.012663338333368301,
-0.01595275104045868,
0.03000015951693058,
-0.013517147861421108,
0.04544062539935112,
-0.02284613624215126,
-0.04263653606176376,
0.013741834089159966,
0.012384726665914059,
-0.01362499687820673,
-0.011270280927419662,
0.04770546406507492,
-0.01116243191063404,
0.05902967229485512,
-0.06115071475505829,
-0.05270249396562576,
0.011126481927931309,
-0.006309200543910265,
-0.04065929353237152,
0.07815499603748322,
0.00533406063914299,
-0.04191753640770912,
-0.008753791451454163,
-0.014415893703699112,
0.015377553179860115,
-0.02207321487367153,
-0.04360717907547951,
-0.025398576632142067,
0.02032964676618576,
0.06420645117759705,
0.04418237879872322,
-0.06708244234323502,
0.017246944829821587,
-0.04145018756389618,
-0.01831645332276821,
0.01532362774014473,
-0.008349355310201645,
-0.04134234040975571,
-0.012402702122926712,
-0.07290631532669067,
0.011584842577576637,
-0.015997687354683876,
0.008812209591269493,
-0.030665231868624687,
-0.04220513626933098,
0.013957533054053783,
0.009009934030473232,
0.004498226102441549,
-0.032085251063108444,
-0.03557238727807999,
0.0001814344577724114,
-0.028166715055704117,
0.04986245557665825,
0.008601004257798195,
0.07157617062330246,
0.02924521081149578,
0.05198349803686142,
-0.016887446865439415,
-0.015233753249049187,
-0.02297196164727211,
-0.03814280033111572,
0.05137234926223755,
0.024050457403063774,
0.027034295722842216,
0.04094688966870308,
0.06557254493236542,
-0.0035702704917639494,
0.006309200543910265,
-0.024553755298256874,
-0.004799306392669678,
0.0003364682197570801,
-0.0053430479019880295,
-0.004664494190365076,
-0.023511208593845367,
0.015116916038095951,
-0.02913736179471016,
0.03429616615176201,
-0.05158805102109909,
-0.0034736553207039833,
-0.040874991565942764,
-0.008272961713373661,
0.0005617165588773787,
0.0680171325802803,
-0.022504612803459167,
-0.027429742738604546,
-0.01881975121796131,
-0.05514708533883095,
-0.03406249359250069,
-0.023942606523633003,
0.04055144265294075,
-0.025919849053025246,
0.042888183146715164,
-0.04950295761227608,
-0.01795695535838604,
-0.05561443418264389,
0.005531784612685442,
0.014343994669616222,
0.00712706008926034,
0.010766983032226562,
-0.0022300148848444223,
-0.05158805102109909,
-0.05036575347185135,
-0.03001813404262066,
-0.01065913401544094,
-0.0017963695572689176,
-0.03165385127067566,
-0.020563321188092232,
0.014101332984864712,
-0.009077339433133602,
0.024553755298256874,
-0.009203163906931877,
0.03817875310778618,
0.009805324487388134,
-0.023565134033560753,
0.010497359558939934,
-0.042996034026145935,
0.010623184032738209,
-0.03688455745577812,
-0.004534176085144281,
-0.010407485067844391,
-0.022019289433956146,
-0.030233832076191902,
0.016734659671783447,
0.031815625727176666,
0.033828817307949066,
0.03316374495625496,
0.00559020321816206,
-0.00633616279810667,
-0.07930539548397064,
-0.032318923622369766,
-0.0018525412306189537,
0.017237957566976547,
-0.08347557485103607,
-0.05086905136704445,
-0.013040811754763126,
0.05575823411345482,
0.00728434044867754,
0.027411768212914467,
-0.022019289433956146,
0.004361167550086975,
0.07642940431833267,
-0.019161276519298553,
0.06819688528776169,
0.033469319343566895,
-0.007396684028208256,
-0.03248069807887077,
-0.01808278076350689,
0.13891026377677917,
0.0005021746037527919,
-0.04536872357130051,
0.00903689581900835,
-0.03172575309872627,
0.03138422966003418,
-0.007549470756202936,
0.019143300130963326,
-0.07197161763906479,
-0.029460910707712173,
0.03850230202078819,
0.012043203227221966,
-0.06406265497207642,
0.0034534335136413574,
-0.02360108308494091,
-0.06327175348997116,
0.008070743642747402,
0.07125262171030045,
-0.013714871369302273,
0.019538749009370804,
0.06226515769958496,
-0.014766405336558819,
0.002051388844847679,
-0.0074326335452497005,
0.06025196611881256,
-0.0707852765917778,
-0.03316374495625496,
0.0036556513514369726,
-0.013642972335219383,
-0.01971849799156189,
0.036219485104084015,
-0.04759761691093445,
0.006142932455986738,
0.031348276883363724,
-0.07678890228271484,
0.04695051908493042,
0.029155336320400238,
0.06276845932006836,
-0.018640002235770226,
0.03239082545042038,
-0.008798728697001934,
-0.006983260624110699,
0.0020367843098938465,
0.049287259578704834,
-0.011629779823124409,
-0.08735816180706024,
-0.006318187806755304,
-0.007495545782148838,
0.018037842586636543,
0.07092907279729843,
-0.07815499603748322,
0.03582403436303139,
0.01982634887099266,
0.005145323928445578,
0.013355373404920101,
0.01793898083269596,
0.02358310855925083,
0.06629154086112976,
0.01997014693915844,
0.00974241178482771,
0.00974241178482771,
-0.06823283433914185,
0.009122276678681374,
0.02597377449274063,
-0.01118040643632412,
0.03702835738658905,
0.009580638259649277,
0.01580895110964775,
0.03528478741645813,
-0.0639907494187355,
-0.004372401628643274,
0.035985808819532394,
-0.013337397947907448,
0.009931148961186409,
0.04357123002409935,
0.025128953158855438,
-0.00778314471244812,
0.017498593777418137,
0.03188752755522728,
0.00847517978399992,
0.03799900412559509,
0.03138422966003418,
0.02575807459652424,
0.002012068871408701,
-0.016527948901057243,
-0.019880272448062897,
0.019305074587464333,
0.02624339796602726,
-0.048640161752700806,
0.050042204558849335,
0.04364313185214996,
-0.021408142521977425,
-0.023798808455467224,
-0.008250492624938488,
-0.006345150526612997,
-0.07873019576072693,
-0.06093501299619675,
-0.0003741032269317657,
0.02408640645444393,
-0.01896355114877224,
-0.003932015970349312,
0.022918036207556725,
-0.03594985976815224,
-0.02987433411180973,
-0.0010071578435599804,
-0.018127717077732086,
0.015152866020798683,
0.030701180920004845,
0.02750164270401001,
0.04716621711850166,
-0.009553675539791584,
-0.008268468081951141,
0.04191753640770912,
0.015781989321112633,
-0.016114525496959686,
-0.0690237358212471,
0.06959892809391022,
0.0018536646384745836,
-0.008708853274583817,
0.02009597234427929,
-0.0323728509247303,
-0.03142017871141434,
-0.04961080849170685,
-0.04069524258375168,
-0.0707852765917778,
-0.041881587356328964,
0.04666291922330856,
-0.05622558295726776,
-0.023025885224342346,
-0.018604053184390068,
0.017480619251728058,
-0.013418285176157951,
-0.00558570958673954,
0.035464536398649216,
0.03089890442788601,
-0.02735784463584423,
0.04303198307752609,
0.0013031824491918087,
-0.019772423431277275,
-0.01896355114877224,
-0.022918036207556725,
-0.02787911705672741,
-0.02396058291196823,
0.019556723535060883,
0.02385273203253746,
-0.058813970535993576,
0.059676770120859146,
0.041629940271377563,
0.013472210615873337,
0.03889774903655052,
0.008452710695564747,
-0.029730534180998802,
0.004183664917945862,
0.05119260028004646,
-0.0012661091750487685,
-0.04213323816657066,
0.011944341473281384,
-0.008007831871509552,
0.006493443623185158,
-0.04633937031030655,
-0.05496733635663986,
-0.033685021102428436,
-0.021695740520954132,
-0.023780832067131996,
0.05716027691960335,
-0.013220561668276787,
-0.06715434044599533,
-0.002637821016833186,
-0.010892807506024837,
0.04206133633852005,
0.021444091573357582,
0.05399668961763382,
0.01580895110964775,
-0.04824471473693848,
0.06302010267972946,
0.004691456910222769,
0.016474023461341858,
0.05787927657365799,
0.10116291046142578,
-0.036201510578393936,
-0.01065913401544094,
-0.007904475554823875,
0.05938917025923729,
-0.019107351079583168,
-0.019161276519298553,
0.010937744751572609,
0.008996452204883099,
-0.02183954045176506,
0.005698052700608969,
0.02307981066405773,
-0.012276877649128437,
0.03373894467949867,
0.029694585129618645,
-0.02207321487367153,
-0.032193101942539215,
0.016644785180687904,
0.014541718177497387,
0.020886868238449097,
-0.03300197049975395,
-0.01671668514609337,
0.07722029834985733,
-0.005482353735715151,
0.00997608620673418,
-0.10734628140926361,
0.022792210802435875,
-0.007360734045505524,
-0.03918534889817238,
-0.04407452791929245,
-0.01191737875342369,
-0.018640002235770226,
-0.01692339777946472,
-0.04454187676310539,
0.019520774483680725,
-0.02207321487367153,
-0.017480619251728058,
-0.045512523502111435,
0.002464812248945236,
-0.0012728497385978699,
-0.00928405113518238,
-0.03681265562772751,
0.023043859750032425,
-0.019772423431277275,
-0.022648412734270096,
-0.002514243358746171,
0.03965269774198532,
0.02800494059920311,
0.03541061282157898,
0.0021412635687738657,
-0.005167792551219463,
-0.06754978746175766,
-0.008861640468239784,
0.01681554690003395,
0.030575357377529144,
-0.031312327831983566,
-0.006080020219087601,
0.04968270659446716,
0.007477570790797472,
-0.034188318997621536,
-0.020293695852160454,
0.01136914361268282,
0.02662087231874466,
-0.04756166413426399,
0.0005516056553460658,
-0.04695051908493042,
-0.000809433578979224,
-0.031042704358696938,
-0.03850230202078819,
0.01681554690003395,
-0.004012903198599815,
0.023780832067131996,
0.04766951501369476,
-0.02800494059920311,
-0.025524400174617767,
-0.0006240670918487012,
-0.0003291659231763333,
0.015467427670955658,
-0.016249336302280426,
0.03267842158675194,
0.00033057021209970117,
-0.028292540460824966,
0.012240927666425705,
-0.026638846844434738,
0.005698052700608969,
0.03163587674498558,
-0.032822221517562866,
-0.031096629798412323,
0.04731001704931259,
-0.008506636135280132,
0.008762778714299202,
0.1102941706776619,
0.07621370255947113,
-0.02635124698281288,
0.014101332984864712,
-0.02460767887532711,
0.005271148402243853,
-0.009544688276946545,
-0.02374488301575184,
-0.07042577862739563,
0.05112070217728615,
0.05547063425183296,
-0.004700444173067808,
-0.016770610585808754,
-0.08347557485103607,
0.035698212683200836,
0.028274565935134888,
0.029550785198807716,
-0.01808278076350689,
-0.03204930201172829,
-0.013939558528363705,
0.04544062539935112,
0.05162400007247925,
0.030305732041597366,
-0.03501516580581665,
-0.05985651910305023,
0.031438153237104416,
0.02158789150416851,
0.006071032490581274,
0.061582110822200775,
0.03305589780211449,
0.03481743857264519,
0.013849684037268162,
0.019916223362088203,
-0.024140331894159317,
0.004610569681972265,
-0.013049799017608166,
0.05565038323402405,
-0.03731595352292061,
0.001001540687866509,
-0.016617823392152786,
-0.08117478340864182,
-0.005113867577165365,
-0.01872987672686577,
0.028670012950897217,
-0.014002470299601555,
0.010389509610831738,
0.028184691444039345,
-0.03289412334561348,
0.06898777931928635,
0.01633022353053093,
-0.06327175348997116,
-0.003055738052353263,
-0.031078655272722244,
-0.018100755289196968,
-0.04644722118973732,
0.00873132236301899,
-0.017354795709252357,
-0.013705884106457233,
-0.04846041277050972,
-0.04109068959951401,
-0.01793898083269596,
0.018397340551018715,
0.04033574461936951,
0.03904154896736145,
0.062337059527635574,
0.02875988930463791,
-0.003979200031608343,
0.03026978299021721,
-0.028094816952943802,
-0.013193598948419094,
0.03544656187295914,
-0.030701180920004845,
0.012501563876867294,
0.050761204212903976,
-0.0649973452091217,
-0.030467506498098373,
-0.040479544550180435,
-0.030952829867601395,
0.05399668961763382,
-0.010497359558939934,
0.011324206367135048,
-0.009580638259649277,
-0.015386540442705154,
-0.03817875310778618,
0.029209261760115623,
-0.055183034390211105,
-0.05787927657365799,
0.012600426562130451,
-0.040623340755701065,
0.03983244672417641,
0.018253542482852936,
0.0321212001144886,
-0.008129161782562733,
-0.020042046904563904,
-0.06557254493236542,
-0.04166588932275772,
-0.01984432339668274,
0.026782646775245667,
-0.037603553384542465,
-0.052307046949863434,
0.035212889313697815,
-0.06442215293645859,
-0.00998507346957922,
-0.02886773832142353,
0.01091977022588253,
-0.04731001704931259,
-0.03179765120148659,
-0.03343337029218674,
0.021767640486359596,
-0.02121041715145111,
-0.05356529355049133,
0.013535122387111187,
0.06079121306538582,
-0.02849026396870613,
0.011072557419538498,
0.0038556226063519716,
-0.04141423851251602,
0.006974272895604372,
0.03868205100297928,
-0.012402702122926712,
0.04385882988572121,
0.06075526401400566,
-0.0056126718409359455,
-0.0017031246097758412,
-0.02710619568824768,
0.045404672622680664,
-0.012591438367962837,
-0.007122565992176533,
0.01338233519345522,
0.007118072360754013,
0.003507358254864812,
-0.023385385051369667,
0.04597987234592438,
-0.042384885251522064,
-0.03612960875034332,
-0.050257906317710876,
-0.007333771791309118,
-0.008313405327498913,
0.013463222421705723,
0.08750195801258087,
0.009436838328838348,
-0.04281628504395485,
0.038861799985170364,
0.012744225561618805,
-0.0070237042382359505,
0.028166715055704117,
0.024427929893136024,
0.029928259551525116,
-0.002956876065582037,
0.04748976603150368,
-0.07470381259918213,
0.0044959792867302895,
-0.05324174463748932,
0.049646757543087006,
0.02699834480881691,
0.02701631933450699,
0.09195974469184875,
0.018109742552042007,
-0.026441123336553574,
-0.01959267444908619,
0.012240927666425705,
0.0313662551343441,
0.013858671300113201,
-0.008524610660970211,
0.013526135124266148,
0.015134891495108604,
-0.0072708590887486935,
-0.014424881897866726,
0.07527900487184525,
0.04522492364048958,
0.024895278736948967,
0.006754079833626747,
0.07283441722393036,
-0.03550048917531967,
-0.025919849053025246,
-0.006044070236384869,
-0.05047360435128212,
0.07714840024709702,
0.041737787425518036,
0.033073872327804565,
0.009203163906931877,
0.021515991538763046,
-0.0017233464168384671,
0.06697458773851395,
0.033469319343566895,
-0.038214702159166336,
0.03839445114135742,
-0.020868893712759018,
0.029460910707712173,
-0.02626137249171734,
0.01141408085823059,
-0.021012693643569946,
-0.028849763795733452,
-0.04486542567610741,
-0.006897879298776388,
-0.06341555714607239,
-0.031348276883363724,
0.006884398404508829,
0.02182156592607498,
-0.030665231868624687,
-0.009400888346135616,
-0.02385273203253746,
0.015584264881908894,
0.006713636685162783,
-0.00853359792381525,
-0.0029029513243585825,
0.007828081957995892,
-0.004053346812725067,
0.025308702141046524,
0.01242067664861679,
-0.029604710638523102,
0.07071337848901749,
0.04270843416452408,
0.04033574461936951,
0.013741834089159966,
0.046914566308259964,
0.0363992340862751,
0.031168529763817787,
-0.04346338286995888,
-0.019520774483680725,
-0.02647707238793373,
-0.03692050650715828,
-0.01707618311047554,
0.015242740511894226,
-0.010847870260477066,
0.006304706912487745,
0.03896964713931084,
0.02297196164727211,
0.002223274204879999
]
|
40,369 | pyglove.core.geno.base | __lt__ | null | def __lt__(self, other: 'DNA') -> bool:
if not isinstance(other, DNA):
raise TypeError(f'unorderable types: DNA & {type(other)}')
return self.__cmp__(other) == -1
| (self, other: pyglove.core.geno.base.DNA) -> bool | [
-0.00922431331127882,
0.03307166323065758,
-0.012880072928965092,
-0.0008843318792060018,
-0.02477693371474743,
-0.01995025761425495,
-0.0023619425483047962,
0.020772580057382584,
0.021451890468597412,
-0.05645422637462616,
0.002148540923371911,
-0.01605316437780857,
0.03779108077287674,
0.03736204281449318,
-0.03861340507864952,
-0.029907511547207832,
-0.03950723260641098,
0.08745221048593521,
0.004120550584048033,
-0.015087829902768135,
-0.0325353667140007,
0.062031716108322144,
-0.018770404160022736,
-0.019717862829566002,
0.03518110141158104,
0.1049712523818016,
-0.02365070953965187,
0.01477498933672905,
-0.05845640227198601,
0.05581066757440567,
0.005666874349117279,
-0.025027206167578697,
0.03718327730894089,
-0.028584644198417664,
0.010225401259958744,
-0.02711876481771469,
-0.045048970729112625,
-0.015436423011124134,
-0.02152339741587639,
0.037004511803388596,
-0.02667185105383396,
-0.04930359497666359,
0.007861224003136158,
-0.050912488251924515,
-0.02715451829135418,
-0.06020830571651459,
-0.04229597747325897,
-0.009492461569607258,
-0.038112860172986984,
0.006717123091220856,
0.026439456269145012,
-0.04751593992114067,
0.020486555993556976,
0.028709780424833298,
-0.10926163196563721,
0.04454842582345009,
0.011986243538558483,
0.044155143201351166,
-0.03360796347260475,
0.026546714827418327,
-0.032624751329422,
0.024633921682834625,
-0.00287365959957242,
-0.08001555502414703,
0.023507697507739067,
-0.04812374338507652,
-0.07329396158456802,
-0.026761233806610107,
-0.022899894043803215,
0.04383336380124092,
-0.04386911541223526,
0.012567232362926006,
-0.008732707239687443,
0.051770564168691635,
-0.020790457725524902,
0.010019821114838123,
-0.008321546018123627,
0.0524856261909008,
0.04183118790388107,
-0.041580915451049805,
0.02820923551917076,
-0.013621950522065163,
0.015436423011124134,
0.010618685744702816,
-0.06331883370876312,
0.01582076959311962,
-0.05159179866313934,
0.010520365089178085,
0.03037230111658573,
-0.03932846710085869,
-0.02495569922029972,
0.010413105599582195,
0.007834409363567829,
-0.02087984047830105,
0.019485468044877052,
0.0686102956533432,
0.053987257182598114,
-0.01717045158147812,
0.009023201651871204,
-0.004145130980759859,
0.06410539895296097,
0.04705114662647247,
0.047909222543239594,
-0.010279030539095402,
-0.017483290284872055,
0.015409608371555805,
-0.02000388875603676,
0.010511426255106926,
-0.05495259538292885,
0.012522540986537933,
-0.08151718229055405,
-0.004200995434075594,
0.028834916651248932,
0.007843347266316414,
0.010305846109986305,
-0.04522773623466492,
0.03686149790883064,
0.010332660749554634,
0.004849021323025227,
-0.012549356557428837,
0.058742426335811615,
0.022238459438085556,
0.02756568044424057,
0.015901213511824608,
-0.007727149873971939,
0.03040805459022522,
0.016169361770153046,
-0.022721128538250923,
-0.0702906921505928,
-0.020558061078190804,
0.06392663717269897,
0.027011506259441376,
-0.031999070197343826,
0.07057671993970871,
0.026743358001112938,
-0.0007742791785858572,
0.019038552418351173,
0.038970936089754105,
-0.0004955163458362222,
-0.006261270493268967,
0.01783188432455063,
-0.04411938786506653,
0.11812841147184372,
-0.0364503376185894,
-0.028799163177609444,
0.02581377513706684,
-0.08151718229055405,
0.01952122151851654,
0.00038797754677943885,
0.018296675756573677,
-0.009483523666858673,
-0.007990829646587372,
0.019253071397542953,
-0.0008161774021573365,
-0.052700143307447433,
-0.017492229118943214,
-0.04533499479293823,
-0.048087988048791885,
0.001739614293910563,
0.009412016719579697,
0.006663493346422911,
-0.01314822118729353,
-0.013023084960877895,
-0.00012967499787919223,
-0.01868102140724659,
-0.025885282084345818,
0.0011563909938558936,
3.49151854095453e-8,
0.008142780512571335,
0.0338403582572937,
0.028477385640144348,
0.009447770193219185,
0.0243300199508667,
-0.0052333674393594265,
-0.030104152858257294,
-0.0019284356385469437,
-0.016214054077863693,
0.054845333099365234,
0.0009005325264297426,
-0.001890447922050953,
0.02608192339539528,
0.018591638654470444,
-0.03235660120844841,
-0.02130887843668461,
0.030908599495887756,
-0.052878912538290024,
-0.018198354169726372,
0.009376264177262783,
0.03972174972295761,
0.025062959641218185,
-0.03496658056974411,
-0.030926475301384926,
-0.02522384747862816,
-0.04487020522356033,
0.026332195848226547,
0.024812687188386917,
-0.03412638232111931,
-0.014560471288859844,
-0.001323983888141811,
0.08516400307416916,
-0.02282838709652424,
0.00114242488052696,
0.002094911178573966,
-0.03578890487551689,
0.048052236437797546,
-0.027297530323266983,
-0.04190269485116005,
-0.04976838827133179,
0.024401525035500526,
-0.07822789251804352,
-0.0015653176233172417,
-0.07032644748687744,
0.00999300554394722,
-0.006748407147824764,
0.01928882487118244,
-0.009733795188367367,
-0.009921499527990818,
-0.043082546442747116,
-0.0016100091161206365,
-0.015284472145140171,
0.09724856913089752,
-0.0010156129719689488,
-0.03364371508359909,
0.005608775652945042,
0.03707601875066757,
0.022095447406172752,
-0.024240637198090553,
0.0005994239472784102,
-0.027440544217824936,
0.03434090316295624,
0.05520286411046982,
-0.0225602388381958,
0.03174879774451256,
-0.02495569922029972,
0.020272037014365196,
0.04515622928738594,
-0.0072489515878260136,
0.03534198924899101,
-0.08645112067461014,
0.014158247970044613,
-0.028298620134592056,
0.04254624992609024,
-0.009269004687666893,
0.00338761112652719,
0.02407974749803543,
-0.08487798273563385,
-0.03807710483670235,
0.02216695435345173,
-0.01138737890869379,
0.04801648110151291,
-0.017465414479374886,
-0.04880305007100105,
-0.052199602127075195,
0.007110408041626215,
-0.062174730002880096,
-0.013666641898453236,
-0.05252137780189514,
-0.07937199622392654,
0.00377642665989697,
0.0017831884324550629,
-0.005054601933807135,
0.009474584832787514,
-0.0068824817426502705,
0.0153112867847085,
-0.04758744314312935,
0.03782683238387108,
0.023078659549355507,
0.029246076941490173,
0.0049920338205993176,
-0.010037696920335293,
0.039149701595306396,
-0.004163007717579603,
-0.016759289428591728,
0.038327377289533615,
0.010243277996778488,
0.0325353667140007,
0.01779613085091114,
-0.01827879808843136,
-0.017840823158621788,
-0.027404790744185448,
-0.0254026148468256,
0.03382248058915138,
-0.034001246094703674,
-0.06224623695015907,
-0.0669298991560936,
-0.028977928683161736,
0.001541854697279632,
-0.05019742622971535,
-0.04683662950992584,
0.005054601933807135,
0.04751593992114067,
0.005680282134562731,
0.06185295060276985,
-0.010162833146750927,
0.020111147314310074,
-0.00945670809596777,
0.02645733207464218,
-0.0074455938301980495,
0.027529926970601082,
0.004621095024049282,
0.012737059965729713,
-0.033554334193468094,
0.012996270321309566,
-0.019431836903095245,
-0.0240976233035326,
-0.01843074895441532,
-0.023972487077116966,
0.026796987280249596,
-0.02021840773522854,
0.022274212911725044,
-0.01868102140724659,
0.05452355742454529,
-0.0254026148468256,
0.013067776337265968,
0.02105860598385334,
0.04411938786506653,
0.03696876019239426,
-0.009023201651871204,
-0.006596456281840801,
0.06417690962553024,
-0.04140214994549751,
0.0856645479798317,
-0.04926784336566925,
-0.030139906331896782,
-0.025098713114857674,
-0.020146900787949562,
-0.0012089033843949437,
0.03226722031831741,
0.014408520422875881,
0.04122338443994522,
0.007673520129173994,
0.013863284140825272,
0.07014768570661545,
-0.011682341806590557,
0.005573022644966841,
0.032463859766721725,
0.019610604271292686,
0.02390098199248314,
0.021541273221373558,
-0.010600809007883072,
-0.01486437302082777,
0.028763409703969955,
0.024830562993884087,
-0.016187239438295364,
0.08888233453035355,
-0.014274445362389088,
-0.02758355624973774,
0.04565677419304848,
0.040293801575899124,
0.032875023782253265,
-0.03997202217578888,
0.025545626878738403,
0.01734921708703041,
-0.06549977511167526,
0.005671343766152859,
-0.03455542027950287,
0.0156598798930645,
0.043761856853961945,
-0.015999535098671913,
0.026207059621810913,
0.06403389573097229,
-0.05327219516038895,
-0.03323255479335785,
-0.013237603940069675,
-0.06560703366994858,
-0.006288085598498583,
-0.0067305308766663074,
-0.052664391696453094,
-0.06678688526153564,
0.027941087260842323,
-0.04730141907930374,
0.008495843037962914,
-0.014274445362389088,
-0.03957873955368996,
-0.032892897725105286,
-0.05859941616654396,
-0.025545626878738403,
0.010466734878718853,
-0.03142701834440231,
0.02717239409685135,
0.05538162961602211,
0.03621794283390045,
0.00867907702922821,
0.04601430520415306,
-0.0019686578307300806,
-0.015347040258347988,
0.029889633879065514,
0.03185605630278587,
0.0036736363545060158,
0.011476761661469936,
-0.028995806351304054,
-0.05119851231575012,
-0.02189880609512329,
0.008308138698339462,
-0.05423752963542938,
-0.014935879036784172,
-0.042045705020427704,
-0.02797684073448181,
-0.013175035826861858,
-0.01626768335700035,
0.02281051129102707,
0.023561326786875725,
-0.005358503665775061,
0.0347699411213398,
0.03128400817513466,
0.044584181159734726,
0.04315405339002609,
0.0038188835605978966,
-0.05491684004664421,
0.027512049302458763,
-0.06818126142024994,
0.024151254445314407,
-0.016652030870318413,
0.009134930558502674,
-0.008066805079579353,
-0.04147365689277649,
0.0009228782146237791,
0.02951422706246376,
0.012745998799800873,
0.006533888168632984,
-0.012978393584489822,
-0.01279962807893753,
-0.045048970729112625,
-0.001230131834745407,
0.013711333274841309,
-0.0039082663133740425,
0.021863052621483803,
0.02172003872692585,
-0.02348981983959675,
-0.03366159275174141,
0.009823177941143513,
0.037254784256219864,
0.07529613375663757,
0.025491997599601746,
0.04315405339002609,
0.004562995862215757,
-0.034662678837776184,
-0.04426240175962448,
-0.00613613473251462,
0.023972487077116966,
0.02172003872692585,
-0.0008519305847585201,
0.013246542774140835,
0.03577102720737457,
0.0017016265774145722,
-0.0025205970741808414,
0.05452355742454529,
0.03800560161471367,
0.07307944446802139,
-0.025295354425907135,
0.0018468736670911312,
0.028960052877664566,
-0.005738380830734968,
0.00109885074198246,
-0.05856366083025932,
-0.025277478620409966,
-0.053486716002225876,
-0.025116588920354843,
-0.035306237637996674,
0.03675423935055733,
-0.03323255479335785,
0.009849993512034416,
-0.018091093748807907,
0.004167476668953896,
-0.017948081716895103,
0.0785854235291481,
-0.007494754157960415,
-0.013309110887348652,
-0.03922120854258537,
0.0382201187312603,
0.04086585342884064,
-0.06074460223317146,
0.03839888423681259,
-0.03198119252920151,
-0.049625374376773834,
0.050054412335157394,
0.020504431799054146,
-0.016455387696623802,
0.0035417964681982994,
0.01486437302082777,
0.030354425311088562,
-0.01799277402460575,
0.031337637454271317,
0.011619774624705315,
0.026207059621810913,
-0.012066688388586044,
-0.06871755421161652,
0.06650086492300034,
-0.01586546003818512,
-0.01759055070579052,
0.009394140914082527,
-0.03736204281449318,
-0.06103063002228737,
0.07007617503404617,
0.03394761681556702,
0.013595135882496834,
0.013076715171337128,
-0.018108971416950226,
-0.012817504815757275,
0.007736088242381811,
0.012558294460177422,
0.0356101393699646,
-0.034841444343328476,
0.00782993994653225,
0.06803824752569199,
0.014194001443684101,
0.02670760452747345,
0.00737855676561594,
-0.022417224943637848,
0.019467590376734734,
0.00755285331979394,
-0.033768851310014725,
0.07930049300193787,
0.0007301463629119098,
0.05009016394615173,
0.02413337677717209,
-0.00964441243559122,
-0.027190271764993668,
0.028084101155400276,
-0.037004511803388596,
0.031087365001440048,
-0.04519198462367058,
-0.01149463839828968,
-0.08244676887989044,
-0.021434014663100243,
-0.006256801541894674,
0.03739779442548752,
0.0073472727090120316,
0.014372766949236393,
-0.04862428456544876,
0.009662289172410965,
-0.01758161187171936,
-0.005018848460167646,
0.014783928170800209,
-0.036110684275627136,
0.04519198462367058,
-0.04226022586226463,
0.08788124471902847,
0.003170857671648264,
0.02347194403409958,
0.018296675756573677,
-0.04798072949051857,
0.06496347486972809,
0.007521569263190031,
0.008540534414350986,
0.012066688388586044,
-0.04712265357375145,
0.01651795580983162,
-0.037433549761772156,
0.046157319098711014,
-0.031158871948719025,
-0.015373854897916317,
-0.012182886712253094,
0.0035529693122953176,
-0.024383649230003357,
0.002498251385986805,
-0.026618221774697304,
0.041330642998218536,
0.07436655461788177,
0.051770564168691635,
0.05402301251888275,
0.009188559837639332,
0.04061558097600937,
-0.0742950513958931,
-0.02778019942343235,
-0.03471630811691284,
-0.014310198836028576,
0.002136250725015998,
0.0243300199508667,
0.047658950090408325,
0.006247863173484802,
-0.015954844653606415,
-0.06810975074768066,
-0.000614507298450917,
-0.04261775687336922,
0.037004511803388596,
-0.05144878476858139,
0.06492771953344345,
-0.061531174927949905,
-0.06621483713388443,
-0.01848438009619713,
0.010654439218342304,
-0.008326015435159206,
-0.02994326502084732,
0.025456244125962257,
-0.052628640085458755,
-0.015293410047888756,
0.015221904031932354,
-0.0131214065477252,
-0.07543914765119553,
-0.04687238112092018,
0.008142780512571335,
0.026743358001112938,
-0.04647909849882126,
0.017957020550966263,
0.05795585736632347,
0.07529613375663757,
-0.027905333787202835,
-0.02150551974773407,
-0.006810975261032581,
0.04579978808760643,
0.025295354425907135,
-0.0016725771129131317,
-0.03382248058915138,
0.04969688132405281,
0.00039356399793177843,
0.03301803395152092,
-0.05209233984351158,
-0.0010524833342060447,
-0.030872846022248268,
0.10275455564260483,
0.03539561852812767,
0.011083477176725864,
-0.07279341667890549,
0.003186499699950218,
-0.04104461893439293,
-0.012915825471282005,
-0.03434090316295624,
0.02865615114569664,
0.024151254445314407,
0.019378207623958588,
-0.009626535698771477,
0.02087984047830105,
0.013246542774140835,
-0.010037696920335293,
-0.0643199160695076,
-0.005014379508793354,
0.028388002887368202,
0.04279652237892151,
-0.018770404160022736,
0.06832427531480789,
-0.041580915451049805,
0.06453444063663483,
-0.028370125219225883,
-0.07922898232936859,
-0.04730141907930374,
0.008625447750091553,
-0.023561326786875725,
0.029156694188714027,
0.071971096098423,
-0.08673714846372604,
-0.025134464725852013,
-0.057848598808050156,
0.0729006752371788,
-0.04522773623466492,
-0.0607803575694561,
-0.006256801541894674,
-0.006833320949226618,
-0.03950723260641098,
-0.026189183816313744,
0.013300172053277493,
0.050233177840709686,
0.00553280021995306,
-0.053987257182598114,
-0.03843463584780693,
0.001995472703129053,
0.015802893787622452,
0.03328618407249451,
0.02735116146504879,
-0.0043641189113259315,
0.07186383754014969,
0.011128168553113937,
0.02888854593038559,
-0.01010920386761427,
0.06314006447792053,
0.020039642229676247,
0.0316951684653759,
-0.010279030539095402,
0.017626304179430008,
0.005792010575532913,
-0.07164931297302246,
-0.0031395736150443554,
-0.012245453894138336,
-0.062389250844717026,
0.017072129994630814,
-0.026528839021921158,
-0.013890099711716175,
-0.005711565725505352,
0.027315407991409302,
-0.02797684073448181,
-0.03843463584780693,
0.048517026007175446,
-0.019574850797653198,
-0.03847039118409157,
0.000008794262612354942,
-0.006162949372082949,
0.009179621934890747,
0.01170915737748146,
0.044655684381723404,
-0.021541273221373558,
0.04579978808760643,
-0.030354425311088562,
0.012111379764974117,
0.005072478204965591,
0.025027206167578697,
0.010082388296723366,
0.00999300554394722,
0.020540185272693634,
-0.062210481613874435,
-0.005564084276556969,
0.021022852510213852,
-0.015364916995167732,
-0.0011966133024543524,
0.036539722234010696,
-0.006909296382218599,
-0.025706516578793526,
-0.03410850465297699,
0.05752681940793991,
0.100680872797966,
-0.006265739910304546,
-0.009528215043246746,
-0.0009390788618475199,
0.02172003872692585,
-0.03882792219519615,
-0.008120434358716011,
-0.038541898131370544,
0.051377277821302414,
0.046336084604263306,
0.029049435630440712,
0.024026118218898773,
-0.06689414381980896,
-0.010886834934353828,
0.027672939002513885,
0.0036110682412981987,
0.02543836645781994,
0.047658950090408325,
0.0033429197501391172,
-0.08123116195201874,
-0.052199602127075195,
-0.040901605039834976,
0.03176667541265488,
0.08623660355806351,
0.021541273221373558,
0.026117676869034767,
-0.0029742151964455843,
0.032678380608558655,
-0.08223224431276321,
0.023954611271619797,
0.028834916651248932,
0.05756257474422455,
0.0011999651324003935,
0.01248678844422102,
0.05924297124147415,
-0.060708850622177124,
0.02928183041512966,
0.006006529554724693,
-0.023543450981378555,
0.03403700143098831,
-0.025760145857930183,
0.005867986008524895,
0.036825746297836304,
-0.007557322271168232,
0.0005983066512271762,
-0.02125524915754795,
0.06800249218940735,
0.06918235123157501,
-0.024830562993884087,
0.0025295354425907135,
0.004037871491163969,
-0.059815023094415665,
-0.04619307070970535,
0.005045663565397263,
-0.016392819583415985,
0.01782294549047947,
-0.03083709254860878,
0.008661201223731041,
-0.017250895500183105,
0.048731546849012375
]
|
40,370 | pyglove.core.geno.base | __ne__ | null | def __ne__(self, other: 'DNA') -> bool:
return not self == other
| (self, other: pyglove.core.geno.base.DNA) -> bool | [
0.014417702332139015,
0.014677793718874454,
0.017824891954660416,
0.02670266106724739,
-0.09744737297296524,
-0.05826035141944885,
-0.06845591217279434,
0.040539491921663284,
0.053266607224941254,
-0.024032393470406532,
-0.024292485788464546,
0.001830389373935759,
0.029511641710996628,
0.039672523736953735,
-0.039672523736953735,
-0.04841157793998718,
-0.023598909378051758,
0.0885002464056015,
0.016593795269727707,
-0.04535984247922897,
-0.041129034012556076,
0.06824783980846405,
-0.007889422588050365,
0.035927217453718185,
0.008257884532213211,
0.07830468565225601,
-0.029962465167045593,
0.02347753383219242,
-0.06179758533835411,
0.08052412420511246,
-0.017478104680776596,
-0.0364820770919323,
0.050388265401124954,
0.006632316391915083,
0.073727086186409,
-0.013446697033941746,
-0.0393604151904583,
0.053474679589271545,
-0.07899826020002365,
-0.015059259720146656,
-0.026009084656834602,
-0.042169395834207535,
0.018032966181635857,
0.005249500274658203,
-0.021015340462327003,
-0.05295449495315552,
0.0030820765532553196,
0.010134872980415821,
-0.07733368128538132,
0.03599657490849495,
0.02415377087891102,
-0.005574613809585571,
0.013125917874276638,
0.08281292766332626,
-0.05746273696422577,
0.047717999666929245,
0.013672108761966228,
0.03457474336028099,
-0.020148370414972305,
0.04085160419344902,
-0.05711594969034195,
0.024257807061076164,
0.028072472661733627,
-0.1082671508193016,
0.007876417599618435,
-0.01378481462597847,
-0.057913560420274734,
-0.020998001098632812,
0.008153848350048065,
0.0669994056224823,
-0.05527797341346741,
-0.007356236223131418,
0.02203836478292942,
0.041302427649497986,
-0.003418027190491557,
-0.03362107649445534,
0.013680778443813324,
0.10611706227064133,
0.02756962925195694,
-0.06727683544158936,
0.017824891954660416,
-0.022992031648755074,
0.0021370798349380493,
-0.009684049524366856,
-0.057566773146390915,
0.02503807842731476,
-0.010065515525639057,
0.0037019597366452217,
0.0147818299010396,
-0.05423761159181595,
-0.01702728122472763,
-0.013698117807507515,
0.01414027251303196,
-0.027638986706733704,
0.0266853217035532,
0.07282543927431107,
0.0120942248031497,
-0.03008384071290493,
0.015085268765687943,
-0.02845393866300583,
0.04026206210255623,
0.06294198334217072,
0.021604878827929497,
-0.011929499916732311,
-0.019055988639593124,
0.006450253073126078,
-0.026078442111611366,
-0.0013828163500875235,
-0.03062136285007,
0.0011059279786422849,
-0.10694935917854309,
0.03790390491485596,
0.0062941983342170715,
0.020131031051278114,
0.00795878004282713,
-0.042342789471149445,
-0.006177157629281282,
0.006575963459908962,
-0.01306523010134697,
-0.017694847658276558,
0.05122055858373642,
0.05083909258246422,
-0.025402206927537918,
-0.0032619726844131947,
0.06904544681310654,
-0.002748293336480856,
0.03452272340655327,
0.019645528867840767,
-0.03623932600021362,
-0.00008141385478666052,
0.05118587985634804,
0.03523363918066025,
-0.015085268765687943,
0.06158951297402382,
0.03147099167108536,
0.06138144060969353,
0.0454985573887825,
0.004733653273433447,
-0.006593302823603153,
0.00631587253883481,
0.00465129129588604,
-0.014894535765051842,
0.116728775203228,
0.020824607461690903,
0.005154133774340153,
0.04993744194507599,
-0.10979301482439041,
0.015258663333952427,
-0.0005190979572944343,
-0.005223491229116917,
-0.019610850140452385,
-0.0029390265699476004,
0.018327735364437103,
0.019229384139180183,
-0.06977370381355286,
0.027257520705461502,
-0.03658611327409744,
-0.003842842299491167,
-0.004920051898807287,
0.019628189504146576,
0.005227826070040464,
0.016775859519839287,
0.022419830784201622,
0.0020677221473306417,
-0.007971784099936485,
-0.0368635430932045,
0.007742037530988455,
-0.004894042853266001,
0.024934042245149612,
0.011730097234249115,
-0.009909461252391338,
-0.005986424162983894,
-0.03721033036708832,
0.03797326236963272,
-0.02791641838848591,
0.028696689754724503,
-0.010256249457597733,
0.03953380882740021,
-0.02148350328207016,
0.024292485788464546,
0.036620792001485825,
-0.025922387838363647,
-0.03953380882740021,
-0.01279646996408701,
0.07497552037239075,
-0.04008866846561432,
-0.009449967183172703,
0.006575963459908962,
0.03634336218237877,
0.022679921239614487,
-0.01971488632261753,
-0.014729811809957027,
-0.017096638679504395,
-0.009423958137631416,
0.050388265401124954,
-0.03211254999041557,
-0.011886151507496834,
0.010134872980415821,
-0.00965804047882557,
0.041302427649497986,
-0.012371654622256756,
-0.003584918798878789,
-0.023408176377415657,
-0.028020454570651054,
0.008886436931788921,
-0.03870151937007904,
-0.043972693383693695,
-0.04750992730259895,
0.03939509391784668,
-0.038424089550971985,
0.016957923769950867,
-0.012475690804421902,
0.06301134079694748,
0.007000778801739216,
0.04480498284101486,
-0.022974692285060883,
0.008964464999735355,
0.0023516546934843063,
-0.006905411835759878,
0.048758365213871,
0.06869865953922272,
-0.04029674082994461,
0.017061959952116013,
0.017096638679504395,
0.003253303002566099,
0.0364820770919323,
-0.004816015716642141,
0.013620090670883656,
0.00044296722626313567,
-0.04740589112043381,
0.025679636746644974,
-0.004781336523592472,
0.011183906346559525,
-0.025194132700562477,
0.02973705343902111,
0.02217707969248295,
-0.034661442041397095,
0.0016992602031677961,
-0.06505738943815231,
0.01629035733640194,
-0.031973835080862045,
-0.013446697033941746,
-0.003717131679877639,
0.023234782740473747,
0.05368275195360184,
-0.04241214692592621,
-0.0028436598367989063,
0.06384363025426865,
-0.002042796928435564,
0.024812666699290276,
0.002160921460017562,
-0.06436381489038467,
-0.06016768142580986,
0.0019430953543633223,
-0.002852329518646002,
-0.01323862373828888,
-0.07338029891252518,
-0.022281115874648094,
0.06679133325815201,
0.013732796534895897,
-0.022801296785473824,
0.01791158877313137,
-0.00886476319283247,
0.03549373149871826,
-0.026910733431577682,
0.037314366549253464,
0.004581933841109276,
0.039152342826128006,
0.010091524571180344,
-0.03386382758617401,
0.08406136184930801,
-0.02597440592944622,
0.00479867635294795,
0.024413861334323883,
-0.02092864364385605,
0.018483789637684822,
0.02254120633006096,
-0.024500558152794838,
-0.023512212559580803,
-0.026407890021800995,
0.0006816547829657793,
0.024431200698018074,
-0.001603893586434424,
-0.05767080932855606,
-0.034297313541173935,
-0.01645508036017418,
-0.005232160910964012,
-0.057740166783332825,
-0.020339103415608406,
-0.005682984832674265,
0.04615745693445206,
-0.02096332237124443,
0.05035358667373657,
0.02505541779100895,
0.0053448667749762535,
0.017261361703276634,
0.01895195245742798,
-0.011105879209935665,
0.0033161581959575415,
0.007659675553441048,
0.02273193933069706,
0.007312887813895941,
-0.009267903864383698,
-0.02113671600818634,
-0.02328680083155632,
-0.022662581875920296,
-0.010854458436369896,
0.05718530714511871,
0.0476139634847641,
0.010030836798250675,
-0.00699210911989212,
0.027847060933709145,
-0.005401219706982374,
0.05267706513404846,
0.033187590539455414,
0.05784420296549797,
0.060826580971479416,
-0.016793198883533478,
0.009250564500689507,
0.08655823767185211,
-0.005483582150191069,
0.0451170913875103,
-0.06855994462966919,
-0.0004454055742826313,
-0.04192664474248886,
-0.06315005570650101,
-0.02756962925195694,
0.05534733086824417,
-0.010759091004729271,
0.03981123864650726,
-0.001619065529666841,
-0.021604878827929497,
0.04601874202489853,
-0.016177650541067123,
-0.011903490871191025,
-0.0012245944235473871,
-0.0008761810604482889,
0.022454509511590004,
0.056838519871234894,
-0.008860427886247635,
0.004859364125877619,
0.03818133473396301,
0.009094510227441788,
-0.04633085057139397,
0.05052698031067848,
0.0077810510993003845,
-0.07636266946792603,
0.045394521206617355,
0.05361339449882507,
0.04948661848902702,
-0.004222141578793526,
0.04105967655777931,
0.023321479558944702,
-0.013897520489990711,
0.01398421823978424,
-0.0006052530952729285,
-0.007807060144841671,
0.05527797341346741,
-0.043972693383693695,
0.0028024788480252028,
0.0058997273445129395,
-0.03190447762608528,
-0.018015626817941666,
-0.0036846203729510307,
-0.0007932771113701165,
-0.028003115206956863,
-0.020737910643219948,
-0.028731368482112885,
-0.06966967135667801,
-0.025107435882091522,
-0.06301134079694748,
-0.027847060933709145,
-0.01664581336081028,
-0.055069901049137115,
0.008487631566822529,
-0.06037575379014015,
-0.039499130100011826,
-0.014651784673333168,
0.01952415332198143,
0.010811110027134418,
0.04924386739730835,
0.019732225686311722,
-0.02685871534049511,
0.038042619824409485,
0.006272524129599333,
0.014018896967172623,
0.023494873195886612,
0.0512552373111248,
0.008808409795165062,
0.04608809947967529,
-0.006723348516970873,
-0.06339281052350998,
-0.006961765233427286,
-0.0014348345575854182,
-0.06689536571502686,
-0.015986917540431023,
-0.07317222654819489,
-0.04386865720152855,
-0.07664010673761368,
-0.0018423101864755154,
0.010689733549952507,
0.05767080932855606,
-0.014010227285325527,
0.01183413341641426,
0.022142400965094566,
0.07213186472654343,
0.030031822621822357,
0.006562958937138319,
-0.021015340462327003,
-0.013186605647206306,
-0.05690787732601166,
-0.01577884517610073,
-0.022333133965730667,
-0.012952524237334728,
0.013741466216742992,
-0.03422795608639717,
0.030517326667904854,
-0.021916989237070084,
0.05513925850391388,
-0.012978533282876015,
-0.023425515741109848,
-0.00550092151388526,
0.0020677221473306417,
-0.006246515084058046,
0.001653744257055223,
0.009077170863747597,
0.021934328600764275,
0.0010484912199899554,
-0.00796311441808939,
0.004850694444030523,
-0.04535984247922897,
-0.047163140028715134,
0.05860713869333267,
-0.01415761187672615,
0.03152301162481308,
-0.017226682975888252,
-0.0270667877048254,
-0.08489365130662918,
0.014226969331502914,
0.06693004816770554,
-0.02991044707596302,
-0.009727397933602333,
-0.022818636149168015,
0.014348344877362251,
-0.008201531134545803,
0.009632031433284283,
0.014478390105068684,
0.028176508843898773,
0.10362019389867783,
-0.00025155663024634123,
0.014296326786279678,
0.03238997980952263,
-0.05101248621940613,
-0.03641271963715553,
-0.02685871534049511,
-0.0372450090944767,
-0.06512674689292908,
-0.02739623561501503,
-0.00707013625651598,
0.01667182333767414,
-0.04671231657266617,
0.033187590539455414,
-0.03970720246434212,
0.00021443948207888752,
-0.0393604151904583,
0.051844775676727295,
0.019818922504782677,
-0.014556418173015118,
-0.015432056970894337,
0.026633303612470627,
0.01772085577249527,
-0.0694962739944458,
0.013203945010900497,
-0.02453523688018322,
-0.015978246927261353,
0.019749565050005913,
-0.018535807728767395,
-0.009588683024048805,
-0.002321310807019472,
-0.012397663667798042,
-0.020304424688220024,
0.015683477744460106,
-0.013073899783194065,
-0.023338818922638893,
0.014114263467490673,
-0.025471564382314682,
-0.038944270461797714,
0.013871511444449425,
0.0283152237534523,
-0.003405022667720914,
-0.021986346691846848,
-0.051116522401571274,
-0.07206250727176666,
0.04674699530005455,
0.012224270030856133,
-0.015527423471212387,
0.007698689121752977,
-0.011955508962273598,
-0.004824685398489237,
-0.039152342826128006,
-0.004616612568497658,
0.029685035347938538,
-0.05226092040538788,
-0.01900397054851055,
0.041649214923381805,
-0.01665448397397995,
-0.01717466488480568,
0.0010078520281240344,
-0.04459691047668457,
0.020460480824112892,
0.022437170147895813,
-0.025853030383586884,
0.06557757407426834,
-0.01969754695892334,
0.053301285952329636,
0.011513355188071728,
-0.017469435930252075,
-0.057393379509449005,
0.005201817024499178,
-0.04678167402744293,
0.03252869471907616,
-0.011799454689025879,
-0.03603125363588333,
-0.02862733229994774,
-0.028523296117782593,
0.007854743860661983,
-0.008179857395589352,
-0.006827384699136019,
0.004001064226031303,
-0.06568160653114319,
-0.010247579775750637,
-0.01879589818418026,
-0.011279272846877575,
0.026061102747917175,
-0.03258071467280388,
0.0266853217035532,
-0.005969084799289703,
0.038424089550971985,
0.021934328600764275,
0.07254800945520401,
0.0055529396049678326,
-0.04192664474248886,
0.060791902244091034,
0.013672108761966228,
-0.024569915607571602,
0.031418975442647934,
-0.032337963581085205,
0.022835975512862206,
-0.007252199575304985,
0.07012049108743668,
-0.015284672379493713,
-0.008617676794528961,
0.014695133082568645,
-0.0368635430932045,
0.009215885773301125,
0.023737624287605286,
-0.018379753455519676,
0.059890251606702805,
0.06772765517234802,
0.04535984247922897,
0.0068837376311421394,
-0.021934328600764275,
0.07969183474779129,
-0.0867663100361824,
-0.006974769756197929,
0.00023353990400210023,
0.025575600564479828,
-0.02541954629123211,
0.0641210600733757,
0.05340532213449478,
-0.017113978043198586,
-0.013377339579164982,
-0.03185245767235756,
-0.008825749158859253,
-0.03245933726429939,
0.057046592235565186,
-0.02989310771226883,
0.04237746819853783,
-0.05340532213449478,
-0.10632514208555222,
-0.010785100050270557,
0.004499571863561869,
-0.013099908828735352,
-0.04258554056286812,
0.015527423471212387,
-0.025124775245785713,
-0.020477820187807083,
0.006428578868508339,
0.018674522638320923,
-0.048446256667375565,
-0.0031666061840951443,
0.023321479558944702,
0.03655143454670906,
-0.06637518107891083,
0.00451691122725606,
0.035927217453718185,
0.057948239147663116,
-0.0053968848660588264,
0.007893756963312626,
0.0043608564883470535,
0.03497355058789253,
0.01591756008565426,
0.019298741593956947,
-0.03832005336880684,
0.03603125363588333,
0.01630769670009613,
-0.02828054502606392,
-0.04064352810382843,
0.001291784574277699,
-0.006918416358530521,
0.05617962405085564,
0.04241214692592621,
-0.0075209601782262325,
-0.07185443490743637,
0.03825069218873978,
-0.025159453973174095,
-0.03382914885878563,
0.007460272405296564,
-0.05396018177270889,
0.046816352754831314,
0.0001675689418334514,
-0.017963608726859093,
-0.03308355435729027,
-0.001883491175249219,
-0.028974119573831558,
-0.05517393723130226,
0.013429357670247555,
0.010637715458869934,
0.01791158877313137,
0.01595223881304264,
0.026061102747917175,
-0.04157985746860504,
-0.03741840273141861,
-0.02295735292136669,
-0.047197818756103516,
-0.048966437578201294,
-0.0053968848660588264,
0.0027092797681689262,
0.012865827418863773,
0.11367703974246979,
-0.05645705386996269,
-0.007529629860073328,
-0.03134961798787117,
0.07098746299743652,
-0.08669695258140564,
-0.07421258836984634,
0.001391486031934619,
-0.010689733549952507,
-0.05604090914130211,
-0.04105967655777931,
-0.01664581336081028,
0.05593687295913696,
0.023720284923911095,
-0.04692038893699646,
-0.029979804530739784,
0.013004542328417301,
0.014695133082568645,
0.06800508499145508,
0.029858428984880447,
-0.017053289338946342,
0.06516142934560776,
-0.0065889679826796055,
-0.02472596988081932,
-0.003745308145880699,
0.045221127569675446,
0.033222269266843796,
0.04459691047668457,
-0.024934042245149612,
0.010689733549952507,
-0.0155014144256711,
-0.05427229031920433,
0.02205570414662361,
-0.04008866846561432,
-0.07428194582462311,
0.007993458770215511,
-0.03776519000530243,
-0.0077810510993003845,
0.009085840545594692,
0.014487059786915779,
-0.008348916657269001,
-0.04026206210255623,
0.01846645027399063,
-0.018154341727495193,
-0.05135927349328995,
0.016975263133645058,
0.023945696651935577,
-0.012128903530538082,
0.007286878768354654,
0.06367024034261703,
-0.06013300269842148,
-0.01226761844009161,
-0.05448036268353462,
0.012683764100074768,
0.05728934332728386,
0.06821315735578537,
0.021986346691846848,
-0.0076553407125175,
0.0002573815581854433,
-0.03603125363588333,
0.009736067615449429,
0.02597440592944622,
-0.00897313468158245,
-0.002308306284248829,
0.024847345426678658,
0.0037864893674850464,
-0.0004473020671866834,
-0.007434263359755278,
0.01698393188416958,
0.07077939063310623,
-0.020356442779302597,
-0.035355016589164734,
0.03433199226856232,
-0.014868526719510555,
-0.039291057735681534,
-0.008530979976058006,
-0.030309254303574562,
0.03396786376833916,
0.017824891954660416,
-0.009389279410243034,
-0.00537087582051754,
-0.03793858364224434,
-0.015900220721960068,
0.023893678560853004,
0.004076924175024033,
0.006289863493293524,
0.044700946658849716,
-0.03462676331400871,
-0.06616710871458054,
-0.012657754123210907,
-0.023702945560216904,
0.0229400135576725,
0.08856960386037827,
-0.005938740912824869,
0.042516183108091354,
-0.020685892552137375,
0.017061959952116013,
-0.0393604151904583,
-0.005990759003907442,
-0.007542634382843971,
0.03981123864650726,
-0.008825749158859253,
0.00527550932019949,
0.06557757407426834,
-0.028072472661733627,
-0.01877855882048607,
0.03218190744519234,
-0.016203660517930984,
0.04331379756331444,
-0.011227254755795002,
-0.03942977264523506,
0.054376326501369476,
0.016030265018343925,
0.005266839638352394,
-0.0024578585289418697,
0.06415574252605438,
0.06089593842625618,
0.01702728122472763,
0.0014218299183994532,
-0.008639350533485413,
-0.0533706434071064,
-0.02991044707596302,
0.03665547072887421,
0.04757928475737572,
-0.007278209086507559,
-0.06457188725471497,
0.018327735364437103,
-0.008249214850366116,
0.05250367149710655
]
|
40,375 | pyglove.core.geno.base | _ensure_dna_spec | Raises error if current DNA is not bound with a DNASpec. | def _ensure_dna_spec(self) -> None:
"""Raises error if current DNA is not bound with a DNASpec."""
if self._spec is None:
raise ValueError(f'{self!r} is not bound with a DNASpec.')
| (self) -> NoneType | [
0.0533568374812603,
0.06569646298885345,
0.021835630759596825,
0.012072501704096794,
-0.020319027826189995,
-0.0037182613741606474,
0.0238003209233284,
0.011477923952043056,
0.057113874703645706,
-0.0428440235555172,
-0.00442486023530364,
0.028556937351822853,
0.019629662856459618,
-0.01476102415472269,
-0.017354758456349373,
0.0031818493735045195,
-0.0025614211335778236,
0.08913487195968628,
-0.002200581831857562,
-0.012417183257639408,
-0.027970977127552032,
0.05597642436623573,
-0.06483475863933563,
0.003888448467478156,
-0.007962163537740707,
0.10147450119256973,
0.0027725391555577517,
-0.019164342433214188,
0.008858337998390198,
0.001487520057708025,
0.04153423011302948,
-0.008505037985742092,
0.05607982724905014,
0.046497657895088196,
0.06297347694635391,
-0.023783085867762566,
0.0053684283047914505,
-0.009625256061553955,
-0.09030678868293762,
0.004903107415884733,
-0.026126926764845848,
-0.010133662261068821,
0.01680326648056507,
-0.0125636737793684,
-0.0008654759731143713,
-0.030435455963015556,
0.018992001190781593,
0.042637214064598083,
-0.09140977263450623,
0.023696916177868843,
0.030849074944853783,
-0.020043281838297844,
0.022576697170734406,
0.014898897148668766,
-0.04177550598978996,
0.045911695808172226,
0.009806214831769466,
0.08272377401590347,
0.038328684866428375,
0.0012365481816232204,
0.007139234337955713,
0.02924630232155323,
-0.020836051553487778,
-0.0994064062833786,
0.005109916441142559,
-0.016122519969940186,
0.01869902014732361,
-0.04415381699800491,
0.013141016475856304,
0.06362837553024292,
0.0011116007808595896,
-0.009022061713039875,
-0.035019733011722565,
0.06193942949175835,
0.06538625061511993,
-0.04249934107065201,
-0.07210756093263626,
-0.0027143738698214293,
0.08458506315946579,
-0.033778876066207886,
0.00006324787682387978,
0.023696916177868843,
-0.014959216117858887,
-0.009142700582742691,
0.006807477679103613,
0.013330591842532158,
-0.024403514340519905,
0.029763326048851013,
0.048290006816387177,
-0.036191653460264206,
0.010650685988366604,
-0.013468464836478233,
0.019422853365540504,
0.02628203295171261,
0.03850102424621582,
0.07348629087209702,
0.058664944022893906,
-0.04187891259789467,
0.002733762376010418,
-0.03091801144182682,
-0.013227187097072601,
-0.004821245092898607,
0.004000470042228699,
0.029625453054904938,
-0.025678839534521103,
0.013063463382422924,
0.033158447593450546,
-0.02566160447895527,
-0.05649344623088837,
0.02157711796462536,
-0.07100457698106766,
-0.04249934107065201,
0.008031100034713745,
0.015855390578508377,
-0.019802004098892212,
-0.04584275931119919,
0.04732489585876465,
-0.03129716217517853,
0.005153001751750708,
-0.04374019801616669,
0.05604536086320877,
-0.003352036466822028,
-0.08306846022605896,
-0.043533388525247574,
0.05304662138223648,
-0.002628203248605132,
-0.04363679140806198,
0.01001302432268858,
0.0022705954033881426,
-0.007139234337955713,
0.044395092874765396,
0.07000499963760376,
-0.03760484978556633,
-0.01129696611315012,
0.013115165755152702,
0.03296887129545212,
-0.004847096279263496,
-0.031021416187286377,
-0.055011313408613205,
-0.03391674906015396,
0.002103639766573906,
0.0020379347261041403,
0.05115086957812309,
-0.05011682212352753,
0.033227384090423584,
0.0643177404999733,
-0.08037994056940079,
-0.0349852629005909,
-0.014330171048641205,
0.00568725960329175,
-0.005196087062358856,
0.001635087188333273,
0.0020907141733914614,
0.005230555310845375,
-0.03698442131280899,
0.005924229044467211,
-0.02181839570403099,
-0.05549386888742447,
0.023317765444517136,
-0.00500651216134429,
0.015260813757777214,
-0.052598536014556885,
-0.004340844228863716,
0.027005866169929504,
-0.0006333538913168013,
0.027660762891173363,
-0.07603693753480911,
-0.04639425128698349,
0.03407185524702072,
-0.011021220125257969,
-0.007147851400077343,
0.04891043156385422,
-0.028298424556851387,
0.014519746415317059,
0.016053583472967148,
0.03129716217517853,
0.0171048641204834,
-0.003115067258477211,
-0.045015521347522736,
-0.040500182658433914,
0.06000920757651329,
0.0023459945805370808,
0.011503775604069233,
0.03202099725604057,
0.02430010959506035,
0.03329632058739662,
-0.029642686247825623,
-0.0021187197417020798,
0.04329210892319679,
-0.0018063512397930026,
0.007212479133158922,
-0.004485179670155048,
-0.03736357390880585,
0.052012573927640915,
0.05266747251152992,
-0.06087091192603111,
0.04666999727487564,
0.018923064693808556,
0.03822527825832367,
0.010736856609582901,
0.020129453390836716,
-0.005209012888371944,
-0.028608638793230057,
0.00783721636980772,
0.0009392595384269953,
0.03701889142394066,
0.024403514340519905,
-0.03998316079378128,
-0.025144580751657486,
-0.032727595418691635,
-0.04953086003661156,
-0.038363151252269745,
0.03484738990664482,
0.000917716883122921,
0.036191653460264206,
-0.08541230112314224,
0.08120717108249664,
-0.026350969448685646,
0.010004406794905663,
0.024282874539494514,
0.05907856300473213,
0.01289112213999033,
0.08086249232292175,
-0.028212254866957664,
0.0024903304874897003,
0.010573132894933224,
-0.010702388361096382,
0.020043281838297844,
0.009513234719634056,
0.02722991071641445,
-0.008453335613012314,
-0.01290835626423359,
-0.0412929505109787,
-0.01804412342607975,
0.014476660639047623,
0.018543913960456848,
0.02030179277062416,
-0.02361074462532997,
-0.015045386739075184,
-0.009771746583282948,
-0.03445100784301758,
0.03584697097539902,
-0.028798215091228485,
0.04218912497162819,
0.024213939905166626,
-0.022576697170734406,
-0.026747355237603188,
0.03701889142394066,
-0.005463215988129377,
-0.019009234383702278,
-0.031021416187286377,
-0.0010830567916855216,
0.005372737068682909,
0.007940621115267277,
-0.026316501200199127,
-0.04491211846470833,
-0.034433770924806595,
-0.013916552066802979,
0.06814371049404144,
0.026506077498197556,
-0.036570802330970764,
0.04429168999195099,
0.017975186929106712,
0.050461504608392715,
-0.014218148775398731,
0.029728857800364494,
-0.0001014524168567732,
0.028918853029608727,
-0.013037611730396748,
0.021215202286839485,
-0.03240014612674713,
0.02064647525548935,
0.0035653086379170418,
-0.04070699214935303,
0.011779521591961384,
-0.0028005444910377264,
0.05787217617034912,
-0.00005399126894189976,
0.03760484978556633,
0.048703622072935104,
0.042051251977682114,
0.0014810572611168027,
0.020836051553487778,
0.07300373166799545,
-0.038983579725027084,
-0.035019733011722565,
-0.009659724310040474,
0.009289191104471684,
-0.014692087657749653,
0.016742948442697525,
-0.03072843700647354,
-0.005441673565655947,
0.08155185729265213,
0.013158250600099564,
0.029815027490258217,
-0.05432194843888283,
0.030693968757987022,
-0.018888596445322037,
0.014123361557722092,
-0.0337616428732872,
0.007040138356387615,
0.008035408332943916,
-0.021783927455544472,
0.05635557323694229,
-0.07031521201133728,
-0.0433955155313015,
-0.001555379363708198,
-0.00034198956564068794,
-0.012761865742504597,
-0.018250932916998863,
-0.02748842164874077,
0.053839392960071564,
0.0068290201015770435,
0.07817397266626358,
0.06941903382539749,
0.043533388525247574,
0.030073540285229683,
-0.024145003408193588,
-0.003031051019206643,
0.08272377401590347,
-0.06290453672409058,
0.044705308973789215,
0.007462373934686184,
-0.01676018163561821,
-0.026695651933550835,
0.026781823486089706,
0.027040334418416023,
0.029039492830634117,
-0.029504813253879547,
0.03601931035518646,
-0.05452875792980194,
-0.03005630522966385,
0.00507544819265604,
-0.029573749750852585,
-0.023748617619276047,
0.005135767627507448,
0.0027811562176793814,
-0.05697600170969963,
0.047118086367845535,
-0.044981054961681366,
0.03203823044896126,
0.007617481052875519,
0.02445521578192711,
-0.011365902610123158,
0.0716250017285347,
-0.022973082959651947,
-0.009918236173689365,
-0.05153001844882965,
0.0005864986451342702,
-0.020267324522137642,
-0.050495970994234085,
0.048014260828495026,
-0.009013445116579533,
0.03829421475529671,
0.017475398257374763,
0.009125466458499432,
0.01507123839110136,
0.05452875792980194,
-0.03522654250264168,
0.007277107331901789,
0.02045690082013607,
-0.04708361625671387,
0.001962535548955202,
-0.037087827920913696,
-0.05459769442677498,
-0.03196929395198822,
-0.04997894912958145,
0.004429168999195099,
-0.029780559241771698,
-0.01912987418472767,
-0.029970135539770126,
-0.03943166881799698,
-0.03688101842999458,
-0.03639846295118332,
0.014493894763290882,
-0.02088775299489498,
-0.0028414756525307894,
0.0014401262160390615,
-0.029349707067012787,
-0.01731167361140251,
-0.034588880836963654,
0.011210795491933823,
-0.0034446697682142258,
0.04511892795562744,
-0.06183602288365364,
-0.08637741208076477,
0.0024817134253680706,
0.015217727981507778,
-0.001850513624958694,
0.0077682798728346825,
0.011443455703556538,
-0.02193903550505638,
0.023128189146518707,
0.035174839198589325,
-0.048703622072935104,
0.0013539555948227644,
-0.027350548654794693,
-0.055287059396505356,
0.009125466458499432,
0.03908698633313179,
0.004558424931019545,
-0.03546781837940216,
-0.010857495479285717,
0.07265905290842056,
0.045049991458654404,
0.01446804404258728,
0.06876414269208908,
0.004562733229249716,
-0.028212254866957664,
-0.003532994771376252,
-0.0778292864561081,
-0.015226345509290695,
-0.016742948442697525,
0.014140595681965351,
0.02714373916387558,
0.01983647234737873,
0.01680326648056507,
-0.04091380164027214,
0.006544657051563263,
-0.0024709419813007116,
-0.008104344829916954,
-0.03153844177722931,
0.024834366515278816,
0.09857916831970215,
0.02800544537603855,
0.024713728576898575,
0.010779942385852337,
0.0014767487300559878,
0.006984127219766378,
-0.024662025272846222,
-0.023197125643491745,
0.06087091192603111,
-0.0032723285257816315,
-0.016751565039157867,
-0.0007739196880720556,
-0.01637241430580616,
-0.06056069955229759,
0.02169775776565075,
-0.0067299241200089455,
-0.010452494025230408,
0.01355463545769453,
0.026126926764845848,
-0.005829441361129284,
0.05311555787920952,
0.01906093768775463,
-0.004816936794668436,
0.036812081933021545,
0.023748617619276047,
-0.005282257683575153,
-0.022955847904086113,
-0.007186627946794033,
-0.04005209729075432,
0.0016620154492557049,
-0.0001649359182920307,
-0.05738962069153786,
-0.03788059577345848,
0.0020142379216849804,
0.0055493866093456745,
-0.03045269101858139,
-0.03936273232102394,
-0.03296887129545212,
0.049220647662878036,
-0.012856653891503811,
0.01411474496126175,
0.008362856693565845,
0.08244802802801132,
-0.011331434361636639,
0.030693968757987022,
-0.07651949673891068,
0.005902686156332493,
0.015484857372939587,
0.018061358481645584,
0.09726937115192413,
-0.007078914903104305,
-0.004060789477080107,
-0.028022680431604385,
0.01191739458590746,
0.026764588430523872,
0.017992421984672546,
-0.022059673443436623,
0.023541808128356934,
0.0021348765585571527,
0.004941883962601423,
0.04670446738600731,
0.03512313589453697,
-0.03825974836945534,
-0.07093563675880432,
-0.029108429327607155,
-0.03190035745501518,
-0.006454178132116795,
-0.04308529943227768,
-0.01897476613521576,
-0.014864428900182247,
0.022145844995975494,
0.044429562985897064,
0.02088775299489498,
0.03825974836945534,
-0.03677761182188988,
0.013339209370315075,
-0.014864428900182247,
0.03998316079378128,
-0.021180734038352966,
0.015174643136560917,
-0.034158024936914444,
0.03829421475529671,
-0.054666630923748016,
-0.10168130695819855,
0.020836051553487778,
0.02500670775771141,
0.01324442122131586,
-0.0011180635774508119,
0.03636399284005165,
0.06924669444561005,
0.006833328865468502,
0.07686417549848557,
0.0439470075070858,
-0.013546018861234188,
-0.05211598053574562,
0.007389129139482975,
0.056872595101594925,
-0.024127768352627754,
-0.010650685988366604,
0.006212900392711163,
-0.05825132504105568,
0.03915592283010483,
-0.03767378628253937,
0.015932943671941757,
-0.027436720207333565,
0.002317989245057106,
-0.03527824580669403,
0.027833104133605957,
0.003436052706092596,
0.06211176887154579,
0.028108850121498108,
-0.002524798735976219,
0.00567864254117012,
0.010538664646446705,
-0.0008299305918626487,
-0.037122294306755066,
-0.0003926148056052625,
0.026402672752738,
-0.03184865415096283,
0.08182760328054428,
-0.012494737282395363,
0.04811766371130943,
-0.033503130078315735,
-0.05401173233985901,
-0.0195951946079731,
0.00037699638050980866,
0.01800965517759323,
-0.0343131348490715,
-0.004967735148966312,
-0.02033626101911068,
-0.022507760673761368,
-0.016243157908320427,
0.008483495563268661,
0.04460190236568451,
0.03688101842999458,
0.049289584159851074,
0.02605799026787281,
-0.009556319564580917,
-0.013873467221856117,
0.03791506588459015,
-0.052012573927640915,
0.02080158330500126,
-0.01106430497020483,
0.033348023891448975,
-0.04429168999195099,
0.017570186406373978,
0.006820403039455414,
-0.02426564134657383,
0.005558003671467304,
-0.02971162274479866,
0.039569541811943054,
-0.07658842951059341,
0.0025614211335778236,
-0.05011682212352753,
0.04577382281422615,
-0.05921643599867821,
-0.07114244997501373,
0.02302478440105915,
-0.04163763299584389,
-0.006777317728847265,
-0.05694153159856796,
0.01518325973302126,
-0.021801162511110306,
-0.04208572208881378,
-0.006411092821508646,
-0.03122822567820549,
-0.0685228630900383,
-0.038983579725027084,
-0.0408448651432991,
0.019733067601919174,
-0.08320633322000504,
0.045049991458654404,
0.08575697988271713,
0.017053162679076195,
-0.07093563675880432,
0.013235804624855518,
-0.022421590983867645,
0.0030353593174368143,
0.0407414585351944,
0.02188733220100403,
0.04856574907898903,
0.07265905290842056,
0.006385241635143757,
-0.0017395690083503723,
-0.007522693369537592,
-0.06093984842300415,
-0.08589485287666321,
0.012399949133396149,
0.06211176887154579,
-0.03846655786037445,
-0.05483897030353546,
-0.015122940763831139,
-0.07252117991447449,
-0.03539888188242912,
-0.028143318369984627,
0.014442192390561104,
0.05583855137228966,
0.03888017684221268,
-0.003787197871133685,
-0.03798400238156319,
-0.008233601227402687,
-0.03465781733393669,
-0.023076487705111504,
-0.009521851316094398,
-0.0014638231368735433,
-0.04718702286481857,
-0.045980632305145264,
0.06511050462722778,
-0.013003143481910229,
-0.028746511787176132,
-0.04539467394351959,
-0.011107390746474266,
-0.005476141814142466,
0.019474556669592857,
-0.035329945385456085,
0.010814410634338856,
0.08975529670715332,
-0.053529176861047745,
-0.06590327620506287,
-0.020543070510029793,
0.07169394195079803,
-0.048290006816387177,
-0.019147107377648354,
-0.04236146807670593,
-0.05511471629142761,
-0.03670867532491684,
0.004396854899823666,
0.015243579633533955,
0.020818816497921944,
-0.026230331510305405,
-0.061077721416950226,
0.06328368932008743,
-0.0033024882432073355,
0.01191739458590746,
-0.003991852980107069,
-0.048669155687093735,
0.022266482934355736,
0.004605818539857864,
-0.02240435592830181,
-0.005109916441142559,
-0.01426985114812851,
0.03963847830891609,
0.011495158076286316,
-0.020525837317109108,
-0.024437982589006424,
-0.0175443347543478,
-0.004610127303749323,
-0.03584697097539902,
-0.028884384781122208,
-0.031090352684259415,
-0.008858337998390198,
0.01234824676066637,
-0.030039072036743164,
-0.005286566447466612,
-0.0029664230532944202,
0.08231015503406525,
0.016510287299752235,
0.022886911407113075,
0.008996210992336273,
-0.0101853646337986,
-0.058044515550136566,
0.007410671561956406,
0.005096991080790758,
0.02760906144976616,
-0.006781626492738724,
0.05146108195185661,
-0.027333315461874008,
0.01507123839110136,
-0.07252117991447449,
-0.014071659184992313,
0.05704493820667267,
-0.020749880000948906,
-0.05542493239045143,
-0.02816055342555046,
0.002628203248605132,
-0.002084251493215561,
-0.006083644460886717,
0.06759221851825714,
0.03605378046631813,
-0.01602773182094097,
0.02064647525548935,
0.0013884238433092833,
-0.014476660639047623,
-0.03884570673108101,
0.025110112503170967,
-0.009418446570634842,
-0.022076908499002457,
0.04153423011302948,
0.051426615566015244,
-0.007109074387699366,
-0.043843600898981094,
0.003673021914437413,
-0.038638897240161896,
0.02912566252052784,
0.027402251958847046,
0.045946165919303894,
-0.04573935642838478,
-0.018130294978618622,
0.004392546601593494,
0.009866533800959587,
-0.036501865833997726,
0.033623769879341125,
0.027040334418416023,
-0.07293479889631271,
-0.036536335945129395,
0.006066410336643457,
0.02869481034576893,
0.02278350666165352,
0.03605378046631813,
-0.04863468557596207,
0.08299952000379562,
-0.021594353020191193,
-0.012615376152098179,
-0.01196047943085432,
0.06700626015663147,
0.00886695459485054,
0.01100398600101471,
-0.035174839198589325,
0.027040334418416023,
0.033382490277290344,
-0.025609903037548065,
0.009857917204499245,
0.05387385934591293,
-0.02916013076901436,
-0.007113383151590824,
0.008647220209240913,
-0.044119346886873245,
0.04884149506688118,
0.0015273739118129015,
0.000895097095053643,
0.03391674906015396,
0.032641422003507614,
-0.05690706521272659,
0.00172125780954957,
0.04022443667054176,
0.02729884721338749,
0.012331012636423111,
-0.013968254439532757,
0.03250354900956154,
0.0769331157207489,
0.034278664737939835,
-0.07134925574064255,
0.022973082959651947,
-0.024437982589006424,
0.02442074753344059
]
|
40,380 | pyglove.core.geno.base | _on_bound | Event that is triggered when any symbolic member changes. | def _on_bound(self):
"""Event that is triggered when any symbolic member changes."""
super()._on_bound()
self._decision_by_id_cache = None
self._named_decisions = None
| (self) | [
0.008506783284246922,
0.005288112908601761,
-0.007574076764285564,
0.05492975190281868,
-0.025266354903578758,
-0.006358227226883173,
0.003439355408772826,
0.0006115681608207524,
0.059693221002817154,
-0.047234926372766495,
-0.04596910998225212,
-0.01790463551878929,
0.06698831915855408,
-0.029330288991332054,
-0.06335742026567459,
0.02313445322215557,
0.015006582252681255,
0.0597265288233757,
-0.03934023156762123,
-0.05409697815775871,
-0.028630759567022324,
0.006741303019225597,
0.027098456397652626,
-0.009377031587064266,
-0.03144553676247597,
0.01833767630159855,
-0.011150839738547802,
0.011425655335187912,
0.03847414627671242,
-0.01199194137006998,
-0.07308422029018402,
-0.027731364592909813,
0.0006198959308676422,
-0.04023962467908859,
0.04526957869529724,
-0.04776789993047714,
0.03256145119667053,
0.05183183401823044,
-0.022251714020967484,
0.025432908907532692,
0.028297649696469307,
-0.008277771063148975,
-0.003959838766604662,
0.030329618602991104,
0.021802015602588654,
0.015622834675014019,
0.02223505824804306,
0.07268448919057846,
0.02946353331208229,
-0.007486635819077492,
-0.01923707313835621,
-0.02916373498737812,
0.03937353938817978,
0.03394385799765587,
-0.0035663533490151167,
0.04886716231703758,
0.048534050583839417,
0.06848730891942978,
0.05799436196684837,
-0.00019388012879062444,
0.008202821016311646,
-0.022301679477095604,
-0.0048550707288086414,
-0.09147186577320099,
0.012524916790425777,
-0.025799328461289406,
0.033327601850032806,
0.016022566705942154,
-0.026548825204372406,
0.0002532152575440705,
-0.028197716921567917,
-0.046435460448265076,
0.02701517939567566,
0.035176362842321396,
-0.026182405650615692,
-0.01161719299852848,
-0.01953687146306038,
-0.027198389172554016,
0.06762122362852097,
-0.04283788055181503,
0.045536067336797714,
-0.02641558274626732,
-0.020819341763854027,
-0.006008462514728308,
-0.06319086998701096,
-0.02538294345140457,
0.019953258335590363,
-0.03441020846366882,
0.047234926372766495,
-0.03737488389015198,
-0.05019959807395935,
0.04287119209766388,
0.0022401611786335707,
0.0944032296538353,
-0.020153123885393143,
-0.009052250534296036,
-0.004380389582365751,
-0.032528139650821686,
-0.03051282837986946,
0.006591403856873512,
0.0035143049899488688,
0.00465936865657568,
-0.02481665648519993,
0.0753493681550026,
0.012574883177876472,
0.012058563530445099,
0.019303694367408752,
-0.0597265288233757,
-0.06658858805894852,
-0.003453928977251053,
-0.02641558274626732,
0.023450907319784164,
-0.016380658373236656,
0.015831029042601585,
-0.001652014791034162,
0.02313445322215557,
-0.019453594461083412,
-0.06882041692733765,
-0.0056004030629992485,
0.011767092160880566,
0.021901948377490044,
-0.0022859638556838036,
-0.03804110363125801,
-0.02103586308658123,
-0.009035594761371613,
0.029330288991332054,
0.008506783284246922,
0.02338428609073162,
0.06775446981191635,
-0.04380389675498009,
0.029530156403779984,
-0.035775959491729736,
-0.04989980161190033,
0.0597265288233757,
0.023217730224132538,
0.007932169362902641,
0.015264742076396942,
-0.007848892360925674,
-0.03527629375457764,
0.045036401599645615,
-0.01808784529566765,
0.010093217715620995,
0.02976333163678646,
-0.023001208901405334,
0.06968650221824646,
0.014073875732719898,
-0.021918604150414467,
0.036508798599243164,
-0.03664204478263855,
-0.04876722767949104,
-0.00890235137194395,
-0.03530960530042648,
0.004170114174485207,
0.01610584370791912,
-0.08387696743011475,
0.07941330224275589,
-0.042204972356557846,
-0.02741491049528122,
-0.02921370230615139,
0.032428208738565445,
-0.016488919034600258,
-0.0038141035474836826,
-0.06802095472812653,
-0.05309765040874481,
-0.025149766355752945,
0.027797985821962357,
0.0017082270933315158,
-0.11592210084199905,
-0.031145736575126648,
0.06362391263246536,
-0.04297112300992012,
-0.035975825041532516,
-0.01114251185208559,
0.0572282075881958,
0.041638683527708054,
0.04806770011782646,
0.012533244676887989,
0.024750035256147385,
0.014506918378174305,
0.0003838566190097481,
0.05339745059609413,
-0.07221813499927521,
-0.05776118487119675,
-0.013815715909004211,
0.002258898690342903,
0.03797448053956032,
-0.014889993704855442,
-0.0020621558651328087,
0.051365483552217484,
0.01229173969477415,
0.02443358115851879,
-0.03550947085022926,
0.00862753577530384,
-0.03764137253165245,
0.02238495647907257,
0.01064284797757864,
-0.03530960530042648,
0.01199194137006998,
-0.06025950610637665,
-0.009743452072143555,
-0.028447549790143967,
-0.009810074232518673,
-0.049933113157749176,
0.019503559917211533,
-0.024650102481245995,
0.07941330224275589,
0.04093915596604347,
0.04323761165142059,
0.046735260635614395,
-0.052964407950639725,
-0.009335393086075783,
0.0007494963356293738,
0.00494667561724782,
0.06269120424985886,
0.003491403767839074,
-0.05712827667593956,
-0.03627562150359154,
-0.017421625554561615,
0.06542269885540009,
0.02921370230615139,
0.02961343340575695,
-0.0038265951443463564,
-0.014323707669973373,
-0.03544284775853157,
-0.05203169956803322,
-0.024300336837768555,
0.006737139075994492,
0.02178535982966423,
0.019320350140333176,
-0.02791457436978817,
0.040606044232845306,
0.031079115346074104,
-0.0426713228225708,
-0.05269791930913925,
0.04410369694232941,
0.040406178683042526,
0.010975957848131657,
0.0006964069907553494,
-0.05319758504629135,
0.011883680708706379,
-0.032028477638959885,
0.03344419226050377,
-0.013241101987659931,
0.0020465413108468056,
-0.021219074726104736,
-0.029596777632832527,
0.014490262605249882,
0.0507325753569603,
-0.02911376953125,
0.0004236736276652664,
-0.02253485657274723,
-0.04586917534470558,
-0.01728838123381138,
0.016230760142207146,
-0.010384688153862953,
-0.09466971457004547,
-0.0662221685051918,
0.022018536925315857,
0.004792612511664629,
-0.003254063194617629,
-0.033877234905958176,
0.043670654296875,
-0.04250476881861687,
0.06698831915855408,
0.025049833580851555,
0.051965080201625824,
0.014515245333313942,
0.02971336618065834,
-0.01913714036345482,
-0.010517931543290615,
0.035209670662879944,
-0.05433015525341034,
-0.04390383139252663,
0.03031296283006668,
-0.034476831555366516,
-0.04323761165142059,
-0.005079919472336769,
0.05249805375933647,
-0.05832746997475624,
0.0203363336622715,
0.09173835068941116,
0.002506648888811469,
0.004909201059490442,
0.031428880989551544,
-0.07681504637002945,
0.016888650134205818,
-0.004438683856278658,
0.005783613305538893,
-0.023017864674329758,
-0.04197179526090622,
0.03031296283006668,
0.0016613835468888283,
0.07315084338188171,
0.05149872601032257,
0.0318952314555645,
-0.04776789993047714,
-0.045036401599645615,
0.042604703456163406,
0.005887710023671389,
0.03664204478263855,
-0.006503962446004152,
0.011800403706729412,
-0.04810100793838501,
0.0025961720384657383,
-0.020053191110491753,
-0.05965990945696831,
0.05359731614589691,
-0.00047962559619918466,
0.007382539100944996,
-0.0052797854878008366,
0.008281934075057507,
0.02741491049528122,
-0.03993982821702957,
0.04800107702612877,
0.08414345234632492,
-0.006807925179600716,
-0.037108395248651505,
-0.04650208353996277,
0.03221168741583824,
0.09087226539850235,
-0.05269791930913925,
-0.008735796436667442,
-0.04207172617316246,
-0.022068502381443977,
-0.028181063011288643,
0.011292411014437675,
0.046235594898462296,
0.034809939563274384,
0.009626864455640316,
-0.02413378283381462,
-0.030096441507339478,
-0.05419691279530525,
0.056195568293333054,
-0.030746005475521088,
-0.027048489078879356,
-0.013124513439834118,
0.044736605137586594,
0.0034768301993608475,
0.042204972356557846,
-0.05982646346092224,
0.009418671019375324,
0.03319435939192772,
-0.05846071243286133,
0.008752451278269291,
0.013049564324319363,
0.019820014014840126,
-0.02751484327018261,
0.016413969919085503,
0.032178375869989395,
-0.009451981633901596,
-0.05952666327357292,
-0.00227347225882113,
-0.02656548097729683,
0.03664204478263855,
0.03414372354745865,
-0.03514305129647255,
0.0006204164237715304,
-0.0011919073294848204,
-0.03604244440793991,
-0.03794116899371147,
0.02293458767235279,
-0.0007932169828563929,
-0.03620900213718414,
-0.06862055510282516,
0.04410369694232941,
-0.019470248371362686,
-0.015264742076396942,
-0.020253056660294533,
0.04283788055181503,
-0.0733507052063942,
-0.05069926381111145,
-0.061991672962903976,
-0.012724782340228558,
0.05539610609412193,
-0.003901544725522399,
0.006878710817545652,
0.05089912936091423,
0.024716723710298538,
0.002352585783228278,
-0.020952586084604263,
0.03457676246762276,
0.0030729349236935377,
-0.01878737471997738,
0.022368302568793297,
-0.01579771749675274,
0.006399865727871656,
0.02253485657274723,
0.008248623460531235,
0.06635540723800659,
0.031278979033231735,
0.02368408441543579,
-0.012483278289437294,
-0.005554600618779659,
0.01645560748875141,
-0.03071269392967224,
-0.00641652150079608,
0.021102486178278923,
-0.04230490326881409,
-0.010159838944673538,
0.007786434143781662,
0.0018560444004833698,
-0.002049664268270135,
-0.08261115103960037,
0.014048892073333263,
0.007245131302624941,
0.01114251185208559,
0.047834523022174835,
0.0622248500585556,
-0.006782941985875368,
-0.024267025291919708,
-0.05802767351269722,
0.025949228554964066,
-0.028880592435598373,
-0.08321075141429901,
0.011384016834199429,
-0.0411723330616951,
0.07248461991548538,
-0.0763486921787262,
0.04570262134075165,
0.00910221692174673,
0.019770048558712006,
0.01848757639527321,
0.02601584978401661,
0.026598792523145676,
-0.01590597815811634,
0.0041055744513869286,
-0.009959973394870758,
0.027048489078879356,
0.030579449608922005,
0.06505627930164337,
-0.027997851371765137,
0.05309765040874481,
-0.0007583445403724909,
-0.04243814945220947,
0.00042159168515354395,
-0.04327092319726944,
-0.0042242445051670074,
-0.0238339826464653,
-0.02353418432176113,
0.019303694367408752,
-0.010992612689733505,
0.0743500366806984,
0.013282740488648415,
-0.009435325860977173,
0.02876400388777256,
0.02476668916642666,
0.013082874938845634,
0.0481676310300827,
-0.01928703859448433,
-0.06552263349294662,
-0.017488248646259308,
-0.026632102206349373,
0.022601477801799774,
-0.028880592435598373,
-0.0155562125146389,
-0.045036401599645615,
-0.06289107352495193,
-0.04457004740834236,
0.00872746855020523,
-0.024000538513064384,
-0.10133190453052521,
0.039406850934028625,
-0.03244486451148987,
0.0022464070934802294,
-0.03291121497750282,
0.029097113758325577,
0.014615178108215332,
-0.006658025551587343,
-0.03457676246762276,
0.006732975598424673,
0.04203841835260391,
0.0021266958210617304,
0.023967226967215538,
-0.058793824166059494,
-0.0331110842525959,
-0.011958630755543709,
-0.045735932886600494,
0.010592881590127945,
-0.03294452652335167,
-0.04876722767949104,
0.037707991898059845,
0.05289778485894203,
0.026798658072948456,
-0.00855258572846651,
0.011808731593191624,
-0.0000057659822232380975,
-0.02631564997136593,
-0.007828072644770145,
-0.02656548097729683,
-0.021368972957134247,
-0.0507325753569603,
0.008240295574069023,
0.014123842120170593,
0.0228346548974514,
-0.010151511058211327,
0.01533136423677206,
0.0008973136427812278,
-0.002177703194320202,
0.08354385942220688,
-0.007982135750353336,
-0.03957340493798256,
-0.0005178811261430383,
-0.015123170800507069,
0.025432908907532692,
0.01228341180831194,
-0.032578106969594955,
-0.03607575595378876,
0.0022963734809309244,
-0.023367630317807198,
-0.00053922098595649,
0.06319086998701096,
-0.04656870663166046,
0.0682874470949173,
0.014223774895071983,
0.05006635561585426,
-0.003505977336317301,
-0.014057219959795475,
0.024899933487176895,
-0.043703965842723846,
0.003599664429202676,
0.014198791235685349,
-0.04380389675498009,
0.020253056660294533,
-0.03421034291386604,
0.01983666978776455,
-0.04153875261545181,
-0.06715486943721771,
0.00014807756815571338,
0.023967226967215538,
-0.0006797515088692307,
0.07308422029018402,
-0.023317662999033928,
0.008369375951588154,
0.007894694805145264,
0.007174345664680004,
0.05439677834510803,
0.038807254284620285,
-0.0491669587790966,
-0.06382377445697784,
0.04840080812573433,
-0.011292411014437675,
0.024300336837768555,
0.034976497292518616,
0.039506785571575165,
0.0019237073138356209,
-0.0028918066527694464,
-0.021718738600611687,
-0.06269120424985886,
0.009643519297242165,
-0.015672801062464714,
-0.03071269392967224,
-0.0004036350001115352,
0.0063832104206085205,
-0.056362126022577286,
0.0017051041359081864,
-0.03847414627671242,
0.014806716702878475,
0.0015937206335365772,
0.0043970453552901745,
0.038207657635211945,
-0.0017987912287935615,
0.05049939826130867,
0.1114584356546402,
0.016172464936971664,
-0.0035205509047955275,
0.03707508370280266,
0.018221087753772736,
-0.021668771281838417,
0.06725480407476425,
0.00805292185395956,
0.03757474943995476,
-0.00029095032368786633,
0.019820014014840126,
0.008202821016311646,
-0.0017790128476917744,
0.027881262823939323,
0.018704097718000412,
0.0049550035037100315,
-0.024050503969192505,
-0.07055258750915527,
0.003152048448100686,
-0.01575607806444168,
-0.044936470687389374,
0.0178047027438879,
-0.021219074726104736,
0.03924029693007469,
-0.017071861773729324,
0.0864086002111435,
-0.014456951059401035,
0.003961920738220215,
-0.0864086002111435,
-0.023917261511087418,
-0.0010466924868524075,
-0.035409536212682724,
0.015381330624222755,
-0.008182001300156116,
-0.08714143931865692,
0.012258429080247879,
0.00222975155338645,
-0.0018560444004833698,
0.018970584496855736,
0.014798388816416264,
0.015123170800507069,
-0.012133512645959854,
-0.023117797449231148,
-0.021901948377490044,
0.004492814186960459,
0.007540765684098005,
-0.009685157798230648,
0.00533391535282135,
-0.046735260635614395,
0.028547482565045357,
0.011775420047342777,
-0.004401208832859993,
0.002956346608698368,
-0.03204513341188431,
-0.004409536719322205,
0.031728677451610565,
0.02616574987769127,
0.04307105764746666,
-0.03404378890991211,
0.022768033668398857,
-0.016522230580449104,
0.028380928561091423,
0.0035309605300426483,
-0.015348019078373909,
0.06412357836961746,
-0.01255822740495205,
-0.0069786435924470425,
0.008390194736421108,
-0.04350409656763077,
0.03570933640003204,
-0.03634224459528923,
-0.04203841835260391,
0.07974641025066376,
-0.008465144783258438,
0.01545627973973751,
0.02048623375594616,
-0.01725507155060768,
0.022368302568793297,
-0.018620820716023445,
-0.06259126961231232,
0.05692841112613678,
0.02491658926010132,
-0.03894049674272537,
0.06612223386764526,
-0.03021303005516529,
-0.02403385005891323,
0.029080457985401154,
-0.040306247770786285,
-0.006966152228415012,
0.01111752912402153,
-0.023667428642511368,
0.01988663524389267,
0.05179852619767189,
-0.0311124250292778,
-0.028780659660696983,
-0.033427536487579346,
0.03787454962730408,
-0.013965615071356297,
-0.031878575682640076,
-0.003922364208847284,
0.013391001150012016,
-0.028730692341923714,
0.08654184639453888,
0.030746005475521088,
0.0044969781301915646,
0.01790463551878929,
-0.04153875261545181,
0.047634657472372055,
-0.025749363005161285,
-0.040406178683042526,
-0.014498590491712093,
-0.007236803416162729,
-0.04460335895419121,
-0.04946675896644592,
0.03954009711742401,
0.02946353331208229,
0.023517528548836708,
0.02323438599705696,
-0.007686501368880272,
-0.023700740188360214,
-0.01171712577342987,
-0.026898590847849846,
0.04630221799015999,
0.0451696440577507,
-0.02268475480377674,
0.009576898068189621,
0.0913386195898056,
-0.039173673838377,
-0.025982540100812912,
-0.024450235068798065,
0.054963063448667526,
0.030296307057142258,
-0.047334857285022736,
-0.033977165818214417,
-0.0481676310300827,
-0.0772814005613327,
-0.0021443923469632864,
0.011225789785385132,
0.08760779350996017,
0.006345735862851143,
0.014123842120170593,
-0.06045937165617943,
0.01350758969783783,
0.0040701813995838165,
-0.04340416565537453,
-0.017604835331439972,
0.06608892232179642,
-0.011958630755543709,
-0.0010425285436213017,
-0.003185359528288245,
-0.01923707313835621,
-0.02138562873005867,
0.047834523022174835,
-0.011867024935781956,
-0.029247011989355087,
0.01664714701473713,
0.0009727837750688195,
0.0213356614112854,
0.032128408551216125,
0.016413969919085503,
0.0557292178273201,
-0.020469577983021736,
0.02991323173046112,
0.06225816160440445,
0.06888704001903534,
-0.016039222478866577,
-0.03457676246762276,
0.029779987409710884,
0.038007792085409164,
0.018554197624325752,
-0.06042606011033058,
0.06182511895895004,
0.0010206683073192835,
0.0004463146615307778,
-0.005812760442495346,
0.05043277516961098,
-0.03584257885813713,
0.043137677013874054,
-0.010101544670760632,
-0.022867966443300247,
0.05965990945696831,
0.007461652625352144,
0.02581598423421383,
0.04177192971110344,
-0.05842740461230278,
0.005800269078463316,
0.03804110363125801,
-0.010826057754456997,
0.048234254121780396,
0.08287763595581055,
0.029929887503385544,
-0.031828612089157104,
0.016064204275608063,
-0.01388233806937933,
-0.02248488925397396,
0.0326114185154438,
-0.022917931899428368,
-0.049966420978307724,
-0.025283008813858032,
0.009751779958605766,
-0.009660175070166588,
-0.01813781075179577,
0.02103586308658123,
0.005579583812505007,
-0.005188180133700371,
0.014815044589340687
]
|
40,385 | pyglove.core.geno.base | _parse_value_and_children | Parse value (leaf) and children from maybe compositional value. | def _parse_value_and_children(
self,
value: Union[
int, # As a single chosen index.
float, # As a single chosen value.
str, # As a custom genome.
List[Any], # As multi-choice. (coexisting)
Tuple[Any], # As a conditional choice.
None],
children: Optional[List['DNA']],
metadata: Optional[Dict[str, Any]],
dna_spec: Optional[DNASpec]
) -> Tuple[Union[int, None, float], Optional[List['DNA']]]:
"""Parse value (leaf) and children from maybe compositional value."""
if isinstance(value, (list, tuple)):
# The value is compositional, therefore we need to parse the decision
# for current node and construct the children.
if children is not None:
raise ValueError(
f'\'children\' ({children!r}) must be None when '
f'\'value\' ({value!r}) is compositional.')
new_value = None
children = []
if isinstance(value, list):
# Space or multi-choices
children = [DNA(v) for v in value]
else:
# Conditional choices.
if len(value) < 2:
raise ValueError(
f'Tuple as conditional choices must have at least 2 '
f'items. Encountered {value}.')
if isinstance(value[0], (float, int)):
new_value = value[0]
if len(value) == 2:
if isinstance(value[1], list):
# NOTE(daiyip): Multi-choice is allowed only as a leaf choice.
children = [DNA(v) for v in value[1]]
elif isinstance(value[1], (int, float, str)):
children = [DNA(value[1])]
else:
children.append(DNA(value[1:]))
else:
raise ValueError(
f'Tuple as conditional choices only allow multiple '
f'choices to be used at the last position. '
f'Encountered: {value}')
else:
# Normalize DNA by removing trivial intermediate nodes,
# which is DNA with empty value and only one child.
# NOTE(daiyip): during deserialization (from_json) of nested DNA,
# the elements in children might be dicts that are not yet converted
# to DNA. Therefore, we always call `symbolic.from_json` on children,
# which is a no-op for already initialized child DNA.
new_value = value
children = symbolic.from_json(children) or []
if len(children) == 1 and children[0].value is None:
children = children[0].children
if new_value is None and len(children) == 1:
c = children[0]
new_value, children, metadata = c.value, c.children, c.metadata
return new_value, children, metadata
| (self, value: Union[int, float, str, List[Any], Tuple[Any], NoneType], children: Optional[List[pyglove.core.geno.base.DNA]], metadata: Optional[Dict[str, Any]], dna_spec: Optional[pyglove.core.geno.base.DNASpec]) -> Tuple[Union[int, NoneType, float], Optional[List[pyglove.core.geno.base.DNA]]] | [
0.0649886280298233,
0.005115886684507132,
-0.024792373180389404,
-0.041526757180690765,
-0.02820296585559845,
0.05115886777639389,
-0.008076729252934456,
0.01710917428135872,
0.047298528254032135,
-0.05648088827729225,
0.03346876800060272,
0.12300615757703781,
-0.0030756222549825907,
-0.001982874469831586,
0.03609229996800423,
-0.0007273273076862097,
0.01717476174235344,
0.08567705005407333,
0.036467090249061584,
0.07507048547267914,
-0.0053032818250358105,
0.013380011543631554,
-0.06753720343112946,
0.042426254600286484,
0.010184924118220806,
-0.02541077695786953,
-0.004096925724297762,
-0.00855458714067936,
-0.06086593493819237,
0.0317634716629982,
0.03732910752296448,
-0.041339363902807236,
-0.017015475779771805,
-0.03202582523226738,
-0.032306917011737823,
0.007851855829358101,
-0.04834793880581856,
0.0744333416223526,
-0.08515234291553497,
0.037254150956869125,
-0.015150895342230797,
-0.07244694977998734,
-0.06660022586584091,
-0.036204736679792404,
-0.04175163060426712,
-0.0064323372207582,
-0.008667023852467537,
0.053782399743795395,
-0.07641972601413727,
-0.04767331853508949,
0.03961532935500145,
-0.007284984923899174,
-0.021925227716565132,
0.007106959819793701,
-0.04358810558915138,
0.050071973353624344,
-0.009688327088952065,
0.06345198303461075,
0.10853925347328186,
0.025204643607139587,
0.04306339845061302,
0.0663003921508789,
-0.05374491959810257,
-0.042426254600286484,
-0.018261654302477837,
-0.001719350228086114,
0.05115886777639389,
-0.06154055520892143,
-0.0933227688074112,
0.030226832255721092,
-0.060041394084692,
-0.015853626653552055,
0.055843744426965714,
0.01710917428135872,
0.04358810558915138,
-0.04238877445459366,
0.015516315586864948,
0.02248741313815117,
0.04006507620215416,
-0.012208791449666023,
-0.011103160679340363,
0.014307617209851742,
-0.01606913097202778,
-0.08200410008430481,
0.0018294447800144553,
0.03759146109223366,
-0.01575993001461029,
0.030095655471086502,
0.045686930418014526,
0.04887264594435692,
-0.022187581285834312,
-0.08747603744268417,
0.026235315948724747,
0.050146933645009995,
-0.018955016508698463,
0.06397669017314911,
0.05149617791175842,
-0.029777083545923233,
-0.01958278939127922,
-0.0068633463233709335,
0.012414926663041115,
0.0033051813952624798,
-0.056368451565504074,
-0.016256526112556458,
-0.020838337019085884,
-0.03987767919898033,
-0.058842066675424576,
0.01913304068148136,
0.04920995607972145,
-0.03451818227767944,
-0.09684579819440842,
-0.06712493300437927,
0.01445753313601017,
0.046324074268341064,
-0.04141432046890259,
-0.00429369043558836,
-0.02430514618754387,
-0.028221704065799713,
-0.03599860146641731,
-0.046961214393377304,
0.012508624233305454,
0.014776105061173439,
0.005270487628877163,
0.04977214336395264,
-0.014054633677005768,
0.050409287214279175,
0.028109267354011536,
-0.006240257527679205,
-0.049509789794683456,
0.039765242487192154,
0.02230001799762249,
0.0051065171137452126,
0.022805985063314438,
-0.005233008414506912,
0.005762399639934301,
0.019564049318432808,
-0.005687441676855087,
-0.019995059818029404,
-0.03689809888601303,
-0.026535147801041603,
0.006882085464894772,
-0.05483181029558182,
0.06693753600120544,
-0.07885586470365524,
-0.008207906037569046,
0.00975391548126936,
0.016097240149974823,
0.004249184392392635,
-0.08815066516399384,
-0.011927698738873005,
-0.05310777574777603,
0.007561393082141876,
-0.015310181304812431,
0.025560693815350533,
0.013745431788265705,
-0.042051464319229126,
0.019226739183068275,
-0.08770091086626053,
0.03410591185092926,
0.0061465599574148655,
0.0070601110346615314,
-0.01189958956092596,
0.016884300857782364,
0.04043986648321152,
-0.007453640922904015,
0.03363742306828499,
-0.014438793994486332,
-0.032194480299949646,
-0.006919564679265022,
-0.011787152849137783,
0.02501724846661091,
0.04021499305963516,
-0.01860833540558815,
0.03532398119568825,
-0.05389483645558357,
-0.009941310621798038,
0.034724313765764236,
-0.026422711089253426,
0.015169634483754635,
-0.02443632297217846,
-0.06712493300437927,
0.015413247980177402,
-0.006207463331520557,
-0.011880850419402122,
0.03271918743848801,
0.0116653461009264,
0.022449934855103493,
0.021419262513518333,
0.054681893438100815,
0.012246270664036274,
0.007959607988595963,
-0.059216856956481934,
0.01699673756957054,
0.015216483734548092,
0.017099805176258087,
-0.009130827151238918,
0.05003449693322182,
-0.02443632297217846,
0.008474944159388542,
-0.007701939437538385,
-0.016247157007455826,
-0.08492746949195862,
-0.001331676496192813,
0.007575447671115398,
-0.037572719156742096,
0.03429330512881279,
-0.0158817358314991,
0.017156023532152176,
-0.035567592829465866,
-0.04864777252078056,
-0.07263434678316116,
0.007669145241379738,
0.025710610672831535,
-0.0025930798146873713,
-0.009425974451005459,
-0.09774529188871384,
0.016247157007455826,
-0.03028305061161518,
-0.014663667418062687,
-0.028371620923280716,
0.052882902324199677,
0.008123578503727913,
0.07735670357942581,
0.020182454958558083,
0.0686240941286087,
-0.01248051505535841,
-0.013398750685155392,
0.004300717730075121,
0.03213826194405556,
0.04523717984557152,
0.009168306365609169,
-0.045424576848745346,
0.04538709670305252,
-0.0444875992834568,
0.0011302267666906118,
0.018336612731218338,
0.04883516579866409,
-0.05010945349931717,
-0.022862203419208527,
0.024623718112707138,
-0.041601717472076416,
-0.05827987939119339,
-0.02048228681087494,
-0.023817919194698334,
0.025335820391774178,
-0.003930612467229366,
0.031351201236248016,
-0.010512866079807281,
0.012396186590194702,
-0.033037759363651276,
-0.015544424764811993,
0.019601529464125633,
0.038209863007068634,
0.01212446391582489,
-0.0107939587906003,
-0.025654392316937447,
-0.02646019123494625,
0.0010406285291537642,
0.06341450661420822,
-0.015216483734548092,
0.011028202250599861,
-0.08147939294576645,
0.011000093072652817,
0.03286910429596901,
-0.07641972601413727,
-0.009613369591534138,
0.04958474636077881,
-0.03054540418088436,
-0.04115196689963341,
-0.004281978588551283,
0.022937161847949028,
0.005392294377088547,
-0.010138075798749924,
-0.008418725803494453,
-0.00599664356559515,
0.007467695511877537,
0.05108390748500824,
-0.020013798028230667,
0.027978090569376945,
0.0010476558236405253,
-0.027453385293483734,
-0.015122786164283752,
-0.013052069582045078,
0.009069923311471939,
0.009678957983851433,
-0.02424892783164978,
0.013811020180583,
0.05389483645558357,
0.014373205602169037,
0.031932126730680466,
0.013061439618468285,
-0.04602424055337906,
0.0017006107373163104,
0.024679936468601227,
0.06206526234745979,
-0.0053688702173531055,
-0.03871583193540573,
-0.029777083545923233,
-0.016303375363349915,
-0.045424576848745346,
0.04583684727549553,
-0.02469867654144764,
0.049884580075740814,
0.020369848236441612,
-0.01892690733075142,
0.01125307660549879,
0.029196159914135933,
-0.021756572648882866,
0.020894555374979973,
0.022674808278679848,
-0.025373298674821854,
0.02319951541721821,
0.02393035590648651,
0.015647491440176964,
0.0064182826317846775,
-0.044112809002399445,
0.011356144212186337,
-0.04141432046890259,
0.04726104810833931,
0.011618496850132942,
-0.059741564095020294,
-0.003049855586141348,
-0.0529203824698925,
0.01705295592546463,
-0.005870151799172163,
0.013276943936944008,
0.012040136381983757,
0.056368451565504074,
0.017605770379304886,
0.02250615321099758,
-0.05914190039038658,
-0.003947009798139334,
0.01144047174602747,
0.013445599935948849,
0.03897818550467491,
-0.0022042349446564913,
-0.0010341868037357926,
0.028315402567386627,
0.017980560660362244,
-0.05460693687200546,
-0.001704124384559691,
0.027397166937589645,
0.011843371205031872,
0.0158067774027586,
0.07945553213357925,
0.0010008070385083556,
0.08245385438203812,
0.012611690908670425,
0.03487423062324524,
0.03457440063357353,
0.008845049887895584,
0.01855211704969406,
-0.006511980202049017,
-0.004499825183302164,
0.03331885114312172,
-0.006811812520027161,
-0.005621853284537792,
-0.028671452775597572,
-0.021213127300143242,
-0.011384253390133381,
0.07218459993600845,
-0.06431400030851364,
0.022805985063314438,
0.027378426864743233,
0.030189353972673416,
-0.08102964609861374,
-0.0812545195221901,
0.032513052225112915,
0.057792652398347855,
-0.010316100902855396,
0.052882902324199677,
-0.024099012836813927,
-0.001277800416573882,
-0.0159566942602396,
0.05082155391573906,
0.011093790642917156,
0.015375769697129726,
-0.00027172290720045567,
0.01672501489520073,
-0.018055519089102745,
-0.0421639010310173,
0.005528155714273453,
-0.017071695998311043,
0.017971191555261612,
-0.03935297578573227,
-0.02301212027668953,
0.09429722279310226,
0.01879573054611683,
-0.013829759322106838,
0.007355258334428072,
-0.003872051602229476,
0.02346186898648739,
0.008006456308066845,
-0.04718609154224396,
0.00849836878478527,
0.01527270209044218,
0.027116073295474052,
-0.01834598183631897,
-0.006530719809234142,
0.0035675344988703728,
0.004228102508932352,
-0.037048015743494034,
0.015675600618124008,
0.04763583838939667,
0.020763378590345383,
-0.03609229996800423,
0.053520046174526215,
0.03972776606678963,
-0.03834104165434837,
0.0018224174855276942,
0.0176245104521513,
-0.0481230653822422,
0.020051278173923492,
0.03710423409938812,
0.0041297199204564095,
-0.01160912774503231,
-0.0031716623343527317,
0.05561887100338936,
-0.020501025021076202,
-0.04744844511151314,
0.017202870920300484,
-0.003525370731949806,
-0.02081959694623947,
0.06881148368120193,
0.056630805134773254,
0.022056404501199722,
0.03039548732340336,
-0.0027476809918880463,
-0.005673387087881565,
-0.022262539714574814,
0.037441544234752655,
-0.027528341859579086,
-0.024623718112707138,
-0.05243315175175667,
0.01221816148608923,
0.004919121973216534,
-0.0755951926112175,
-0.0035347403027117252,
0.010840807110071182,
-0.006914879661053419,
-0.050933994352817535,
0.05790508911013603,
0.028952544555068016,
-0.005083092488348484,
0.04711113125085831,
-0.024136491119861603,
0.0527704656124115,
0.00975391548126936,
0.009065238758921623,
-0.08237889409065247,
-0.0033590574748814106,
-0.028315402567386627,
0.03281288594007492,
0.052882902324199677,
-0.006835236679762602,
-0.0033356330823153257,
-0.06172795221209526,
0.019226739183068275,
0.024230187758803368,
0.010316100902855396,
0.020707160234451294,
-0.002226488199084997,
0.05104643106460571,
0.0005129941273480654,
-0.028671452775597572,
0.07645720988512039,
0.04163919389247894,
0.0032559901010245085,
-0.06405165046453476,
-0.020070016384124756,
-0.017230980098247528,
-0.0156287532299757,
0.06510106474161148,
-0.011262446641921997,
0.009130827151238918,
-0.029852041974663734,
0.03541767597198486,
-0.10898900032043457,
-0.027659518644213676,
-0.0456494502723217,
0.05194592475891113,
0.0012051848461851478,
0.015853626653552055,
0.03150111809372902,
-0.04062725976109505,
-0.005551580339670181,
0.007205342408269644,
-0.00045033390051685274,
-0.0014523121062666178,
-0.01868329383432865,
-0.06607551872730255,
-0.019226739183068275,
0.029870782047510147,
-0.046961214393377304,
-0.013895347714424133,
0.0023986573796719313,
0.053782399743795395,
-0.052095841616392136,
0.041077010333538055,
-0.027340946719050407,
-0.01432635635137558,
-0.00946345366537571,
0.016115980222821236,
-0.01640644297003746,
0.02496103011071682,
-0.011131269857287407,
-0.03155733644962311,
0.0011284699430689216,
-0.07229703664779663,
-0.005162735469639301,
-0.03526775911450386,
-0.026947418227791786,
0.06397669017314911,
-0.005870151799172163,
-0.02923363819718361,
0.04163919389247894,
-0.005204899236559868,
0.016781233251094818,
-0.029158679768443108,
-0.04175163060426712,
-0.0222437996417284,
-0.0352490209043026,
0.012696019373834133,
-0.0044670309871435165,
0.01179652288556099,
0.005078407470136881,
-0.023255733773112297,
0.006690005771815777,
-0.006624417379498482,
-0.08020511269569397,
0.00018915194959845394,
-0.047485921531915665,
0.013276943936944008,
0.06555081158876419,
-0.005626538302749395,
-0.03791003301739693,
0.054681893438100815,
0.037122972309589386,
0.003593301400542259,
0.02601044252514839,
0.04527465999126434,
0.015310181304812431,
-0.034836750477552414,
0.02490481175482273,
0.02334943227469921,
-0.031725991517305374,
0.044637516140937805,
0.020013798028230667,
0.04538709670305252,
0.0468113012611866,
-0.009158936329185963,
-0.008432780392467976,
0.011862111277878284,
0.012752237729728222,
0.006591623183339834,
-0.03448070213198662,
-0.026947418227791786,
0.000570091069675982,
0.018655184656381607,
-0.017399637028574944,
0.023836659267544746,
-0.011224967427551746,
-0.021812791004776955,
-0.045799367129802704,
0.05749282240867615,
0.020838337019085884,
-0.044187769293785095,
0.020575983449816704,
0.05022189021110535,
-0.01855211704969406,
0.014195180498063564,
0.0022241456899791956,
-0.040814656764268875,
-0.0001942760281963274,
-0.03436826542019844,
-0.01717476174235344,
-0.032513052225112915,
-0.011431101709604263,
-0.019161149859428406,
0.0009334619389846921,
-0.012265010736882687,
0.011468580923974514,
-0.003040485782548785,
-0.005804563872516155,
0.058579713106155396,
0.04849785566329956,
0.019938839599490166,
0.057792652398347855,
-0.026478929445147514,
-0.034143391996622086,
0.00427729357033968,
0.04628659412264824,
0.007238136138767004,
-0.003422303358092904,
0.00594979478046298,
0.0006927763461135328,
-0.06303972005844116,
-0.027265990152955055,
-0.004689562600106001,
-0.05025937035679817,
-0.05329517275094986,
0.009154251776635647,
0.00966021791100502,
0.0587296299636364,
0.03054540418088436,
0.02250615321099758,
0.06989838182926178,
-0.07233451306819916,
-0.03493044897913933,
-0.0418640673160553,
0.05711803212761879,
0.021175649017095566,
-0.002616504207253456,
-0.02801557071506977,
-0.0015214141458272934,
-0.03826608136296272,
-0.019245479255914688,
-0.00424684165045619,
-0.04628659412264824,
-0.03584868460893631,
-0.022656070068478584,
-0.030245572328567505,
-0.04501230642199516,
0.012283749878406525,
-0.04441264271736145,
-0.06839922070503235,
0.00979139469563961,
-0.028765151277184486,
-0.04763583838939667,
-0.004867588169872761,
0.08357822149991989,
0.012302489019930363,
-0.04343818873167038,
-0.002405684906989336,
-0.07240947335958481,
-0.014026524499058723,
0.020575983449816704,
-0.03631717339158058,
0.01905808411538601,
0.011674716137349606,
-0.04834793880581856,
-0.03268170729279518,
-0.0395403690636158,
0.03916557878255844,
-0.0035019463393837214,
-0.034143391996622086,
-0.03727288916707039,
-0.022918423637747765,
-0.04609919711947441,
0.05801752954721451,
0.005392294377088547,
0.03642961010336876,
-0.054756853729486465,
-0.024492541328072548,
0.029908260330557823,
-0.01665942557156086,
0.08972477912902832,
0.05895450338721275,
-0.050409287214279175,
0.06757467985153198,
0.016153458505868912,
-0.015563164837658405,
0.06588812172412872,
0.026685064658522606,
0.027921872213482857,
0.014110852032899857,
0.002876515034586191,
0.03138868138194084,
0.05498172715306282,
0.009421289898455143,
-0.026853719726204872,
-0.04306339845061302,
-0.017156023532152176,
0.03421834856271744,
-0.0003627852420322597,
-0.04673634096980095,
0.01815858669579029,
0.08102964609861374,
0.0383785180747509,
0.041002050042152405,
0.027696998789906502,
0.03324389457702637,
0.006497925613075495,
-0.043213315308094025,
0.03701053559780121,
-0.05809248611330986,
0.046061720699071884,
-0.013539297506213188,
0.03313145786523819,
-0.023162037134170532,
0.003759614424780011,
-0.04992206022143364,
-0.020182454958558083,
-0.0036378076765686274,
-0.03751650080084801,
0.032194480299949646,
-0.012311859056353569,
0.010278621688485146,
0.009524356573820114,
0.021156908944249153,
0.030170613899827003,
-0.030170613899827003,
-0.050071973353624344,
0.018392831087112427,
0.021494219079613686,
-0.046249113976955414,
-0.012321229092776775,
0.04400037229061127,
0.06101584807038307,
0.0023646920453757048,
0.0033356330823153257,
0.08770091086626053,
-0.05100895091891289,
0.006497925613075495,
-0.04272608831524849,
-0.005659332498908043,
0.01620030775666237,
0.052358195185661316,
0.005401664413511753,
-0.018242914229631424,
-0.024623718112707138,
-0.007865910418331623,
0.07623233646154404,
0.017840014770627022,
-0.029008764773607254,
0.027134813368320465,
0.02237497642636299,
-0.028502797707915306,
-0.01212446391582489,
-0.022468674927949905,
-0.014541860669851303,
0.05962912738323212,
-0.009168306365609169,
-0.047560881823301315,
-0.04381297901272774,
-0.0468113012611866,
0.01749333366751671,
0.02438010461628437,
-0.046324074268341064,
-0.02509220689535141,
0.009379125200212002,
0.017868123948574066,
0.013989045284688473,
-0.014569969847798347,
-0.039765242487192154,
0.02274976670742035,
0.012424295768141747,
0.013670473359525204,
0.017071695998311043,
-0.017971191555261612,
0.022187581285834312,
0.013426859863102436,
0.019470352679491043,
0.040364909917116165,
0.03909062221646309,
-0.006657211575657129,
0.014523121528327465,
-0.013970306143164635,
-0.03927801549434662,
-0.0347430557012558,
-0.005012819543480873,
0.03882826864719391,
0.027640780434012413,
-0.020201193168759346,
0.010419168509542942,
-0.014485642313957214,
-0.029964478686451912,
0.03028305061161518
]
|
40,390 | pyglove.core.geno.base | _sym_clone | Override to copy DNASpec. | def _sym_clone(self, deep: bool, memo: Any = None) -> 'DNA':
"""Override to copy DNASpec."""
other = super()._sym_clone(deep, memo)
other._spec = self._spec # pylint: disable=protected-access
for k, v in self._userdata.items():
if k in self._cloneable_userdata_keys:
other._userdata[k] = v # pylint: disable=protected-access
other._cloneable_userdata_keys = set(self._cloneable_userdata_keys) # pylint: disable=protected-access
# Remove none-clonable meta-data.
metadata = {}
for k, v in self.metadata.items():
if k in self._cloneable_metadata_keys:
metadata[k] = v
other.rebind(metadata=metadata)
other._cloneable_metadata_keys = set(self._cloneable_metadata_keys) # pylint: disable=protected-access
return other
| (self, deep: bool, memo: Optional[Any] = None) -> pyglove.core.geno.base.DNA | [
0.015033123083412647,
-0.03673800826072693,
0.04457082599401474,
-0.00679739797487855,
-0.09274613857269287,
-0.000427815830335021,
-0.019252795726060867,
0.03337613120675087,
0.045160021632909775,
-0.012416406534612179,
0.0003254649636801332,
0.03375737741589546,
-0.035178374499082565,
0.08560648560523987,
-0.06287051737308502,
-0.041763488203287125,
0.013178893364965916,
0.07229762524366379,
-0.06349436938762665,
0.011671248823404312,
-0.011324663646519184,
0.04820996895432472,
-0.037292543798685074,
-0.02232007309794426,
-0.021055037155747414,
0.06848519295454025,
-0.00672374852001667,
-0.00319724646396935,
-0.02471150830388069,
0.018438320606946945,
-0.01142863929271698,
-0.031140659004449844,
0.004275992047041655,
0.06339038908481598,
0.06734146177768707,
-0.06630170345306396,
-0.036426082253456116,
0.07243625819683075,
-0.07839751988649368,
-0.01579561084508896,
-0.03519570454955101,
-0.04020385816693306,
0.023949021473526955,
-0.011298670433461666,
0.01124668214470148,
0.001998279010877013,
-0.01505911722779274,
0.0432884618639946,
-0.016783377155661583,
-0.04945767670869827,
0.00653745885938406,
0.013854734599590302,
0.006468141917139292,
0.04675431177020073,
-0.03604483604431152,
0.011047395877540112,
0.05798366665840149,
0.06820791959762573,
-0.017389900982379913,
0.016922011971473694,
-0.08158610016107559,
-0.027206920087337494,
0.0013863398926332593,
-0.11056060343980789,
-0.021626902744174004,
-0.049665626138448715,
-0.02661772631108761,
-0.037535153329372406,
0.059924542903900146,
-0.013525478541851044,
-0.0414862222969532,
-0.02911313809454441,
0.038644224405288696,
0.006342505104839802,
0.0050861346535384655,
-0.030048917979002,
0.004254330415278673,
-0.0465117022395134,
0.06339038908481598,
-0.08789394795894623,
-0.06619773060083389,
-0.007213299628347158,
-0.06418753415346146,
0.02608051896095276,
-0.0844281017780304,
0.07493167370557785,
0.03341079130768776,
0.008023441769182682,
0.07888273894786835,
-0.023221192881464958,
0.07042606920003891,
0.013906721957027912,
-0.0228919368237257,
0.02739754132926464,
-0.004252164624631405,
0.006654431577771902,
-0.008292045444250107,
0.031209977343678474,
0.05025482177734375,
-0.014201318845152855,
-0.03545564413070679,
-0.050670724362134933,
-0.09246887266635895,
0.04678897187113762,
-0.025560641661286354,
0.04671965539455414,
0.0268256776034832,
-0.007811158895492554,
-0.0162721648812294,
-0.01731191948056221,
-0.10397548973560333,
0.05909273773431778,
0.001660358626395464,
0.0073216077871620655,
0.021262988448143005,
-0.0007581546087749302,
0.030811404809355736,
-0.04141690582036972,
0.011991839855909348,
0.002191066974774003,
-0.013967374339699745,
0.0650886595249176,
-0.019183477386832237,
-0.007490567862987518,
-0.02067379280924797,
0.06203870847821236,
0.048591215163469315,
0.0016798540018498898,
-0.02124565839767456,
0.00644648028537631,
0.0036738007329404354,
0.021505597978830338,
0.03985727205872536,
0.07077265530824661,
0.0072219641879200935,
0.017528535798192024,
0.021557586267590523,
-0.0004329604562371969,
-0.019183477386832237,
-0.014209983870387077,
-0.008400353603065014,
-0.008097091689705849,
0.06363300234079361,
0.030066246166825294,
0.007408253848552704,
-0.019772673025727272,
-0.036287445574998856,
-0.003972730133682489,
-0.05763708055019379,
0.003212409559637308,
-0.02278796210885048,
0.027310896664857864,
-0.02500610612332821,
0.06779202073812485,
-0.02245870605111122,
0.05275023356080055,
-0.046442385762929916,
-0.006398824974894524,
-0.03795105591416359,
0.023914363235235214,
-0.00518577778711915,
-0.012104480527341366,
0.004221838433295488,
-0.018836893141269684,
-0.008638630621135235,
-0.012563705444335938,
0.053131476044654846,
-0.11693777143955231,
0.00004037850158056244,
0.004232668783515692,
-0.016714060679078102,
0.00228962698020041,
0.05122525990009308,
0.03694595769047737,
-0.014426599256694317,
0.04897245764732361,
0.012442400678992271,
-0.0048521896824240685,
-0.01895819790661335,
-0.04824462905526161,
0.004111364018172026,
-0.018178381025791168,
-0.053928621113300323,
0.03881751745939255,
0.042976535856723785,
0.02010192908346653,
0.0182476993650198,
0.008274716325104237,
0.0615188330411911,
0.03372271731495857,
-0.011740566231310368,
0.04259529337286949,
0.015986232087016106,
0.018663600087165833,
0.027605492621660233,
-0.07007948309183121,
0.003565492806956172,
0.02114168368279934,
-0.06248927116394043,
0.1048072949051857,
-0.027414871379733086,
-0.02221609652042389,
-0.004358306061476469,
-0.03493576496839523,
0.007616204675287008,
-0.009843013249337673,
-0.03257898613810539,
-0.030672769993543625,
0.021765535697340965,
-0.01629815809428692,
0.01670539565384388,
-0.02303057163953781,
0.06176144257187843,
0.008933227509260178,
0.020119257271289825,
-0.025699276477098465,
0.007403921335935593,
-0.008006112650036812,
0.019443416967988014,
0.009955652989447117,
0.027605492621660233,
-0.024295607581734657,
-0.04107031971216202,
0.01021559163928032,
-0.038574907928705215,
0.014331288635730743,
-0.01629815809428692,
0.003918576519936323,
-0.011558609083294868,
-0.02850661426782608,
-0.011662584729492664,
-0.03391334041953087,
-0.03677266463637352,
-0.03257898613810539,
0.038505591452121735,
0.026739031076431274,
0.027050957083702087,
-0.01677471213042736,
0.0007630284526385367,
0.059647273272275925,
-0.046234436333179474,
0.031816501170396805,
0.04502138867974281,
0.027033627033233643,
-0.000733785389456898,
-0.030048917979002,
-0.014365946874022484,
0.02564728818833828,
0.052958182990550995,
0.0015433862572535872,
0.021696219220757484,
-0.04373902454972267,
-0.012988272123038769,
0.0625932440161705,
0.004479610826820135,
-0.017866455018520355,
-0.004652903415262699,
-0.02134963497519493,
0.010700810700654984,
-0.019010186195373535,
0.03140059858560562,
0.003333714324980974,
-0.006507132668048143,
-0.011168700642883778,
0.00838735606521368,
0.011653919704258442,
-0.005471710115671158,
0.018906209617853165,
-0.05167581886053085,
0.00981701910495758,
0.022978583350777626,
0.026877664029598236,
-0.018438320606946945,
0.03760446980595589,
-0.015986232087016106,
-0.004496939945966005,
0.005125125404447317,
0.01899285614490509,
0.0009969733655452728,
-0.030932709574699402,
0.010432207956910133,
0.03937205299735069,
0.0371885672211647,
-0.03607949614524841,
-0.039683979004621506,
-0.011471962556242943,
0.022510694339871407,
0.015301726758480072,
-0.007429915480315685,
-0.027553506195545197,
-0.004299819935113192,
0.05233433097600937,
0.048625871539115906,
0.006992351729422808,
0.05323545262217522,
0.014106008224189281,
-0.07721912860870361,
0.020691122859716415,
-0.0457838736474514,
0.03270029276609421,
-0.01992863602936268,
0.0007706100004725158,
-0.015570329502224922,
0.06384095549583435,
-0.027172261849045753,
-0.03153923153877258,
0.020396525040268898,
-0.005844288971275091,
0.039614662528038025,
0.02632312849164009,
0.02386237494647503,
0.03266563266515732,
-0.009184502065181732,
0.09517223387956619,
0.0018661434296518564,
-0.05600813031196594,
0.02517939917743206,
-0.046303752809762955,
0.06488070636987686,
0.05035879835486412,
-0.07805093377828598,
-0.022198768332600594,
-0.050670724362134933,
-0.03666869178414345,
0.01586492732167244,
-0.01640213467180729,
0.002452088752761483,
0.019287453964352608,
-0.013898057863116264,
0.003758280770853162,
-0.04772474989295006,
0.009418446570634842,
0.03646073862910271,
0.046199776232242584,
0.00810142420232296,
-0.010293574072420597,
-0.0010798288276419044,
-0.07014879584312439,
-0.017537198960781097,
-0.07257489114999771,
0.0009422778966836631,
0.05351271852850914,
-0.023758400231599808,
-0.08498263359069824,
0.012711004354059696,
-0.05039345473051071,
0.015518342144787312,
0.018871551379561424,
-0.008651627227663994,
0.009955652989447117,
-0.012633021920919418,
0.031816501170396805,
0.017017321661114693,
0.054136574268341064,
0.07638733088970184,
0.002304790075868368,
-0.05573086440563202,
0.03562893345952034,
-0.05327010899782181,
-0.08470536768436432,
0.015743622556328773,
-0.0162721648812294,
0.0038579239044338465,
0.0075685493648052216,
0.039580002427101135,
-0.020517829805612564,
-0.07992249727249146,
0.013317527249455452,
-0.045263998210430145,
-0.03878285735845566,
-0.046234436333179474,
-0.019322112202644348,
-0.01718194968998432,
-0.07451576739549637,
0.013438832014799118,
-0.0280733834952116,
-0.05621608346700668,
-0.02614983543753624,
-0.02060447633266449,
0.002365442458540201,
0.067618727684021,
0.015977567061781883,
-0.0232558511197567,
0.04491741210222244,
0.018906209617853165,
0.003073775442317128,
0.0797838643193245,
0.031851157546043396,
0.06741077452898026,
-0.016350146383047104,
-0.0007191637996584177,
-0.0029459723737090826,
0.012425071559846401,
0.07111923396587372,
-0.019200807437300682,
-0.021834854036569595,
-0.03930273652076721,
-0.0168093703687191,
-0.08026908338069916,
-0.005094799213111401,
0.015423031523823738,
-0.022614669054746628,
0.008283380419015884,
-0.02221609652042389,
-0.015215080231428146,
-0.009487763978540897,
0.07375328242778778,
0.0015412200009450316,
-0.01724260300397873,
-0.01667940244078636,
-0.026704372838139534,
0.015882255509495735,
-0.0011155704269185662,
0.004947500303387642,
0.027778785675764084,
0.013291534036397934,
0.07791230082511902,
-0.05164116248488426,
0.03287358582019806,
0.023983679711818695,
0.015180421993136406,
-0.045367974787950516,
-0.061865419149398804,
0.03079407475888729,
0.049700286239385605,
0.025699276477098465,
-0.012277772650122643,
0.026773689314723015,
-0.013976039364933968,
-0.021262988448143005,
-0.015544336289167404,
0.05146786943078041,
-0.004288989119231701,
0.010224256664514542,
0.05566154792904854,
-0.04443219304084778,
0.006680425256490707,
-0.04457082599401474,
-0.010206927545368671,
0.06671760976314545,
-0.01040621381253004,
-0.017935771495103836,
0.00837002694606781,
-0.029858294874429703,
-0.03268296271562576,
0.03808968886733055,
0.03153923153877258,
0.03885217383503914,
0.005138122010976076,
-0.009461769834160805,
0.05798366665840149,
0.0032535663340240717,
0.0697675570845604,
-0.046095799654722214,
-0.05378998816013336,
-0.005129457451403141,
0.015682969242334366,
-0.01738123595714569,
-0.00602624611929059,
-0.005181445274502039,
-0.007941127754747868,
0.026635054498910904,
0.017762480303645134,
0.0302222091704607,
-0.016887353733181953,
0.02561262995004654,
0.001992863602936268,
-0.0089418925344944,
-0.009323135949671268,
0.027674810960888863,
0.055418938398361206,
-0.024850143119692802,
0.06221200153231621,
-0.03226706013083458,
0.016350146383047104,
-0.024087656289339066,
-0.021505597978830338,
-0.031054014340043068,
-0.06962892413139343,
-0.04606114327907562,
-0.03767378628253937,
-0.04904177412390709,
0.008248722180724144,
0.003868754720315337,
0.012918954715132713,
0.022978583350777626,
0.0176151804625988,
0.0389908105134964,
-0.0400652214884758,
0.04100100323557854,
-0.0343465693295002,
0.05320079252123833,
-0.0693863108754158,
0.010986743494868279,
0.005012485198676586,
0.024364924058318138,
0.045160021632909775,
0.011558609083294868,
0.043080512434244156,
-0.06928233802318573,
-0.036391422152519226,
-0.017320584505796432,
0.003957567270845175,
0.03145258501172066,
0.022025475278496742,
0.009184502065181732,
-0.05995919927954674,
-0.009643726982176304,
-0.03365340083837509,
0.008140414953231812,
-0.0113593228161335,
-0.015890920534729958,
0.01448725163936615,
-0.005848621483892202,
0.04120895266532898,
-0.005904941353946924,
-0.030308855697512627,
-0.03148724511265755,
-0.011679913848638535,
-0.08214063942432404,
0.02739754132926464,
0.005831292364746332,
-0.02803872525691986,
-0.08525990694761276,
0.02803872525691986,
-0.011948516592383385,
-0.02043118327856064,
0.046442385762929916,
0.047239530831575394,
-0.05496837571263313,
0.024416910484433174,
-0.011090719141066074,
0.0015672139124944806,
0.03604483604431152,
0.028419967740774155,
-0.018005089834332466,
0.004804534371942282,
0.022510694339871407,
0.00919316615909338,
0.011324663646519184,
-0.013248210772871971,
-0.0305861234664917,
0.013690106570720673,
-0.01405402086675167,
-0.02303057163953781,
0.06231597810983658,
0.019790001213550568,
0.02185218222439289,
0.005735981278121471,
-0.02006727084517479,
0.017797138541936874,
-0.009245154447853565,
-0.021401621401309967,
-0.025560641661286354,
-0.01307491771876812,
-0.00024030794156715274,
0.004990823566913605,
-0.031348612159490585,
0.019252795726060867,
0.009557080455124378,
0.03562893345952034,
-0.012555040419101715,
0.03202445060014725,
-0.06443014740943909,
0.021436281502246857,
0.004886847920715809,
-0.03425992280244827,
0.03348010778427124,
-0.023186534643173218,
-0.0103715555742383,
0.0015964570920914412,
0.03923342004418373,
0.022042803466320038,
0.04918040707707405,
0.00043025275226682425,
0.029927613213658333,
0.026011202484369278,
0.033098865300416946,
-0.016714060679078102,
-0.030170222744345665,
0.009115184657275677,
0.006936031859368086,
-0.004349641501903534,
-0.01284097321331501,
-0.02904382161796093,
-0.008655959740281105,
-0.01305758859962225,
0.02947705239057541,
0.06744543462991714,
-0.08595307171344757,
0.005094799213111401,
0.025491325184702873,
-0.038297638297080994,
-0.07056470215320587,
-0.0590234212577343,
0.04786338657140732,
-0.06287051737308502,
0.0091238496825099,
0.030863391235470772,
-0.006962025538086891,
-0.0091238496825099,
0.0346931554377079,
0.029407735913991928,
0.013092247769236565,
-0.005645002704113722,
0.0030022922437638044,
0.003320717252790928,
-0.027172261849045753,
0.05028947815299034,
-0.027778785675764084,
-0.010752798989415169,
0.02171354927122593,
-0.026513749733567238,
-0.10238119959831238,
0.02030988037586212,
-0.03573291003704071,
-0.04269926995038986,
-0.023983679711818695,
-0.029459722340106964,
0.0021466605830937624,
-0.0650886595249176,
-0.03133128210902214,
-0.06359834223985672,
-0.02117634192109108,
-0.06886643171310425,
-0.031885817646980286,
-0.01082211546599865,
0.090874582529068,
-0.0012271273881196976,
-0.015284397639334202,
-0.0014491584151983261,
-0.014582563191652298,
-0.03509172797203064,
0.014045355841517448,
0.028125369921326637,
-0.01657542586326599,
0.036287445574998856,
-0.02188684046268463,
-0.0020730113610625267,
0.11638323217630386,
0.007863146252930164,
-0.0654352456331253,
-0.0030802739784121513,
0.05261160060763359,
-0.12671147286891937,
-0.05271557345986366,
0.029962271451950073,
-0.028212016448378563,
-0.019893977791070938,
-0.02356777898967266,
-0.016488779336214066,
0.02571660466492176,
-0.02635778672993183,
-0.021089695394039154,
0.03687664121389389,
0.03996124863624573,
0.024260947480797768,
0.036183472722768784,
0.055245645344257355,
0.0056839934550225735,
-0.003327215788885951,
0.009288477711379528,
-0.004774208180606365,
-0.047378167510032654,
0.06221200153231621,
0.06377163529396057,
0.012364419177174568,
-0.007971454411745071,
0.020864415913820267,
0.005354737862944603,
-0.05226501449942589,
-0.012295101769268513,
-0.05586949735879898,
0.015067781321704388,
-0.018680930137634277,
0.005567021202296019,
-0.00006065237175789662,
0.02043118327856064,
0.021401621401309967,
0.013898057863116264,
-0.0091238496825099,
0.01339550968259573,
0.024746166542172432,
-0.06113759055733681,
-0.013707435689866543,
0.06131088361144066,
0.06526195257902145,
0.014495916664600372,
-0.0321977436542511,
-0.03937205299735069,
-0.011714572086930275,
-0.0257512629032135,
0.03259631618857384,
0.03701527416706085,
-0.019790001213550568,
-0.000016576170310145244,
-0.03770844638347626,
-0.06235063821077347,
-0.008123084902763367,
0.004748214036226273,
0.002186734462156892,
0.024382252246141434,
0.013265539892017841,
-0.00008434470510110259,
0.05122525990009308,
0.002681701211258769,
-0.014833836816251278,
0.02238938957452774,
0.0029827968683093786,
-0.0034983421210199594,
0.0490071140229702,
0.03441588953137398,
0.006086898501962423,
0.017051979899406433,
0.02460753358900547,
-0.040897026658058167,
0.03306420519948006,
-0.010232921689748764,
0.011168700642883778,
0.00752955861389637,
-0.0004963204846717417,
-0.03448520600795746,
0.057394471019506454,
0.029563698917627335,
-0.003537332871928811,
0.05715186148881912,
-0.021869512274861336,
0.009643726982176304,
0.033861350268125534,
-0.01425330713391304,
0.004133025649935007,
0.05670130252838135,
-0.0011296503944322467,
0.03486644849181175,
-0.023169204592704773,
-0.006125889252871275,
0.02303057163953781,
0.01906217448413372,
-0.0033532097004354,
0.0511559434235096,
-0.06280119717121124,
0.03119264729321003,
0.039649322628974915,
0.05590415745973587,
-0.06099895387887955,
0.016852693632245064,
-0.025595299899578094,
-0.002534402534365654,
0.04876450449228287,
-0.04671965539455414,
0.007698518689721823,
0.01754586398601532,
0.0072609554044902325,
-0.006979355122894049,
0.00510779581964016,
-0.02382771670818329,
-0.024018337950110435,
0.009366459213197231,
-0.00872094463557005,
-0.04692760482430458,
0.004033382516354322,
-0.031209977343678474,
0.0022311408538371325,
0.06321709603071213,
-0.03680732473731041,
0.010969414375722408,
0.04938836023211479,
0.00340736354701221
]
|
40,399 | pyglove.core.geno.base | format | Customize format method for DNA for more compact representation. | def format(self,
compact: bool = False,
verbose: bool = True,
root_indent: int = 0,
list_wrap_threshold: int = 80,
as_dict: bool = False,
**kwargs):
"""Customize format method for DNA for more compact representation."""
if as_dict and self.spec:
details = object_utils.format(
self.to_dict(value_type='choice_and_literal'),
False,
verbose,
root_indent,
**kwargs)
return f'DNA({details})'
if 'list_wrap_threshold' not in kwargs:
kwargs['list_wrap_threshold'] = list_wrap_threshold
if not verbose:
return super().format(False, verbose, root_indent, **kwargs)
if self.is_leaf:
return f'DNA({self.value!r})'
rep = object_utils.format(
self.to_json(compact=True, type_info=False),
compact, verbose, root_indent, **kwargs)
if rep and rep[0] == '(':
# NOTE(daiyip): for conditional choice from the root,
# we don't want to keep duplicate round bracket.
return f'DNA{rep}'
return f'DNA({rep})'
| (self, compact: bool = False, verbose: bool = True, root_indent: int = 0, list_wrap_threshold: int = 80, as_dict: bool = False, **kwargs) | [
0.033801596611738205,
-0.0103588392958045,
0.08762850612401962,
-0.045589547604322433,
0.027268514037132263,
-0.03429867699742317,
-0.03199079632759094,
-0.054537028074264526,
0.07065669447183609,
-0.06920095533132553,
-0.07385222613811493,
0.042642559856176376,
-0.02687794901430607,
-0.01034108642488718,
0.03909197077155113,
-0.005636557936668396,
-0.013261444866657257,
-0.017167091369628906,
0.062419332563877106,
0.05570872128009796,
0.09132111817598343,
0.062454838305711746,
-0.03813331201672554,
0.0011583792511373758,
0.010687269270420074,
0.041577380150556564,
0.0006673995521850884,
0.0014335497980937362,
-0.057590533047914505,
0.004271800629794598,
0.022723760455846786,
-0.023291856050491333,
0.0032399112824350595,
0.023629160597920418,
-0.025049395859241486,
-0.014335498213768005,
-0.07527245581150055,
0.016385961323976517,
-0.0743493065237999,
-0.01743338629603386,
-0.04299761727452278,
-0.04455987736582756,
-0.08329679071903229,
-0.02547546662390232,
-0.032132819294929504,
-0.005219364073127508,
0.050347331911325455,
0.03429867699742317,
-0.05542467534542084,
-0.05091542750597,
0.07598257809877396,
-0.04370773583650589,
-0.01974126696586609,
0.012835374101996422,
-0.07825495302677155,
-0.04232300445437431,
-0.0099416458979249,
0.03859488666057587,
0.08088238537311554,
-0.02061116136610508,
-0.015951015055179596,
0.06053752079606056,
-0.015720227733254433,
-0.03650004044175148,
-0.047932934015989304,
0.01739788055419922,
-0.034600477665662766,
-0.009005177766084671,
-0.0072210077196359634,
0.013208186253905296,
0.03264765441417694,
-0.009364674799144268,
0.060786060988903046,
0.023416126146912575,
0.014832580462098122,
0.0034440699964761734,
-0.06114111840724945,
-0.046370673924684525,
0.04381425306200981,
-0.0665380135178566,
-0.03156472370028496,
-0.03254113718867302,
-0.0027539245784282684,
-0.04977924004197121,
0.010864797979593277,
-0.003619380295276642,
-0.005325881764292717,
0.017273608595132828,
0.030357524752616882,
-0.008423768915235996,
-0.006968028377741575,
-0.013430098071694374,
0.038417357951402664,
0.04846552014350891,
-0.05347185209393501,
0.02616783045232296,
0.03245237097144127,
-0.031511466950178146,
0.05343634635210037,
0.03176000714302063,
0.012888633646070957,
-0.0351153127849102,
-0.011583792045712471,
-0.02291904389858246,
-0.052903756499290466,
-0.0015411769272759557,
-0.021729595959186554,
0.044950440526008606,
0.019261937588453293,
0.017335744574666023,
-0.08947481215000153,
-0.06465620547533035,
0.04452436789870262,
-0.03096112422645092,
0.03550587594509125,
-0.017291361466050148,
0.021907126531004906,
-0.004584696143865585,
-0.028067395091056824,
-0.06795825064182281,
0.05546018108725548,
-0.013536615297198296,
0.007855675183236599,
-0.003532834816724062,
-0.04342368617653847,
0.046370673924684525,
-0.04356570914387703,
0.031262923032045364,
0.009568833746016026,
0.01674102060496807,
0.010571874678134918,
0.05379140377044678,
-0.03002021834254265,
-0.01739788055419922,
0.0813794732093811,
0.018747102469205856,
0.004944193176925182,
0.0008882016991265118,
-0.05080891028046608,
0.09600789099931717,
0.014717185869812965,
-0.07399424910545349,
0.05712895467877388,
-0.044914934784173965,
0.007323087193071842,
-0.02472984418272972,
0.025209171697497368,
0.008650119416415691,
-0.035257335752248764,
-0.0206289142370224,
0.037742748856544495,
0.04381425306200981,
0.03721015900373459,
0.0035528067965060472,
0.004420481622219086,
0.009497822262346745,
-0.04285559430718422,
-0.07207693159580231,
0.059827402234077454,
-0.007416290231049061,
0.015294156037271023,
0.005814087577164173,
-0.008432645350694656,
0.04225199297070503,
0.032115064561367035,
0.013580997474491596,
-0.03513306379318237,
-0.00258305249735713,
0.011779074557125568,
-0.011051204055547714,
-0.004455987364053726,
-0.019403962418437004,
-0.02055790275335312,
0.07097624987363815,
-0.014175721444189548,
0.05059587582945824,
-0.018764855340123177,
0.027321772649884224,
-0.0024033039808273315,
-0.06721262633800507,
-0.011246486566960812,
-0.007283143233507872,
0.024996137246489525,
0.013119421899318695,
0.03087235987186432,
-0.05475006252527237,
0.044027287513017654,
0.0034662613179534674,
0.052726227790117264,
0.019297443330287933,
0.03884343057870865,
0.012134133838117123,
-0.020415879786014557,
-0.0025076025631278753,
0.0034396317787468433,
-0.021623078733682632,
0.025067148730158806,
-0.06142516806721687,
0.011228733696043491,
-0.02391320839524269,
-0.045696064829826355,
-0.005494534503668547,
-0.030854607000947,
-0.06497575342655182,
0.0036926111206412315,
0.036269254982471466,
0.014193474315106869,
-0.0054856580682098866,
-0.030357524752616882,
-0.0351153127849102,
-0.0007406303775496781,
-0.01236492209136486,
-0.0021469960920512676,
-0.03681959584355354,
0.030197748914361,
-0.10985518246889114,
0.07846798747777939,
0.01385616883635521,
-0.04221648722887039,
0.03252338245511055,
-0.0027849923353642225,
-0.02460557222366333,
0.0012970740208402276,
0.0001933406019816175,
-0.02137453854084015,
0.02073543146252632,
0.03742319345474243,
0.002813840750604868,
0.009790745563805103,
0.00619133748114109,
-0.008308375254273415,
-0.07157985121011734,
0.002807183424010873,
0.008255116641521454,
-0.058300651609897614,
0.04374324157834053,
0.012018739245831966,
-0.04505695775151253,
-0.018072491511702538,
-0.019652502611279488,
0.031245172023773193,
-0.0073452782817184925,
-0.007527245674282312,
-0.02858223021030426,
-0.002171406289562583,
-0.06991107016801834,
0.005774143151938915,
-0.02302556112408638,
0.004575819708406925,
-0.013838415965437889,
-0.06209977716207504,
-0.011086709797382355,
0.02055790275335312,
0.04843001440167427,
-0.06579238921403885,
0.001983890775591135,
-0.024037478491663933,
0.00876995176076889,
-0.011015698313713074,
-0.005339196417480707,
-0.027126489207148552,
-0.019688008353114128,
-0.06220629811286926,
0.03229259327054024,
0.014699432998895645,
0.027321772649884224,
0.031422700732946396,
-0.030517300590872765,
0.002946987748146057,
-0.022634996101260185,
0.003663762705400586,
0.025581983849406242,
-0.014717185869812965,
-0.004005506634712219,
-0.027588065713644028,
0.025138160213828087,
0.040015123784542084,
0.002824936294928193,
-0.0366065576672554,
-0.01705169677734375,
-0.02057565562427044,
-0.0010873675346374512,
-0.00908062793314457,
0.0020593409426510334,
0.022883538156747818,
-0.0038191007915884256,
0.005214925855398178,
0.040867265313863754,
-0.01264896895736456,
0.029114818200469017,
0.03426317125558853,
-0.011947727762162685,
0.05542467534542084,
0.013669762760400772,
0.05546018108725548,
-0.02146330289542675,
0.023291856050491333,
-0.011299745179712772,
-0.039269499480724335,
-0.0602179653942585,
-0.009364674799144268,
-0.024925125762820244,
0.10531043261289597,
-0.002347826026380062,
-0.04679674655199051,
-0.00787342805415392,
-0.03149371221661568,
-0.03749420493841171,
0.01578236185014248,
0.016909673810005188,
-0.05617029592394829,
0.023309608921408653,
0.08450398594141006,
0.02938111312687397,
-0.020717678591609,
0.01739788055419922,
-0.01752215065062046,
-0.0366065576672554,
0.0574130043387413,
0.036961618810892105,
-0.04921114444732666,
0.0016820909222587943,
-0.0444178506731987,
0.004220760893076658,
0.048110462725162506,
-0.06209977716207504,
0.009799621999263763,
0.04115131124854088,
0.058407168835401535,
0.011317498050630093,
-0.00791781023144722,
-0.037742748856544495,
-0.014086957089602947,
-0.016989562660455704,
-0.04193244129419327,
0.01721147447824478,
0.03017999604344368,
0.005996054969727993,
-0.06660902500152588,
-0.010838168673217297,
0.024978384375572205,
0.06902342289686203,
0.0026363113429397345,
-0.0035927509889006615,
-0.0005056813824921846,
-0.01977677270770073,
-0.002611901145428419,
0.004211884457617998,
-0.0010657310485839844,
-0.001951713697053492,
-0.025919290259480476,
-0.009058437310159206,
0.02859998308122158,
0.025457713752985,
-0.005277060903608799,
-0.05325881391763687,
0.03474250063300133,
0.008246240206062794,
-0.04061872139573097,
0.03236360847949982,
-0.02393096126616001,
-0.039305005222558975,
0.044062793254852295,
0.0347602516412735,
0.05972088500857353,
-0.044843923300504684,
-0.020327115431427956,
-0.028244925662875175,
0.028351442888379097,
-0.006209090352058411,
-0.004436015617102385,
0.0020260540768504143,
0.006852634251117706,
-0.08003024756908417,
-0.007797978352755308,
0.0037103642243891954,
0.017708556726574898,
-0.009249281138181686,
-0.035328347235918045,
-0.039376016706228256,
0.012080874294042587,
0.04704528674483299,
0.012000986374914646,
0.05066688731312752,
-0.06128314509987831,
-0.03884343057870865,
0.025954796001315117,
0.039340510964393616,
-0.027588065713644028,
0.017681926488876343,
-0.04530549794435501,
0.010651763528585434,
0.011113339103758335,
0.0230433139950037,
-0.041435357183218,
0.02299005538225174,
-0.03106764145195484,
-0.022652748972177505,
-0.044843923300504684,
0.0182145144790411,
0.001032444299198687,
-0.08429095149040222,
0.0027406099252402782,
-0.04342368617653847,
0.029842689633369446,
-0.01574685610830784,
0.09167617559432983,
0.022794773802161217,
-0.026664912700653076,
0.05059587582945824,
-0.020788690075278282,
0.01833878457546234,
-0.016572367399930954,
0.045696064829826355,
0.028120653703808784,
-0.018853621557354927,
-0.019492726773023605,
0.06582789868116379,
-0.08670534938573837,
-0.0010768267093226314,
0.0012182954233139753,
0.03973107784986496,
-0.010758280754089355,
0.06387507170438766,
0.05712895467877388,
-0.014699432998895645,
-0.008956357836723328,
0.036855101585388184,
0.02932785451412201,
-0.03582543134689331,
-0.014814827591180801,
0.008583545684814453,
0.04228749871253967,
-0.03557688742876053,
0.022706007584929466,
0.00869894027709961,
-0.0005847373977303505,
-0.032274842262268066,
0.023274103179574013,
0.026771431788802147,
0.04044119268655777,
0.0006169145926833153,
-0.0026695982087403536,
-0.0059072901494801044,
-0.012897510081529617,
0.02156982012093067,
-0.014814827591180801,
0.0061957756988704205,
0.027250761166214943,
-0.02705547772347927,
0.09686002880334854,
0.005427960772067308,
0.01115772221237421,
0.003499547950923443,
-0.00995939876884222,
-0.013669762760400772,
-0.012870880775153637,
0.006657351739704609,
-0.008552477695047855,
-0.004819922614842653,
-0.017229227349162102,
0.006058190017938614,
0.037849266082048416,
0.05215813219547272,
-0.016066409647464752,
0.016590120270848274,
-0.00513503747060895,
0.02845796011388302,
-0.08350982517004013,
-0.01665225625038147,
0.02055790275335312,
0.0064354403875768185,
0.015684721991419792,
0.02529793791472912,
0.05080891028046608,
0.027321772649884224,
-0.00016712727665435523,
-0.05794559046626091,
-0.06433665007352829,
-0.010048163123428822,
0.006901454646140337,
-0.03902095928788185,
-0.017770690843462944,
-0.00915163941681385,
0.01267559826374054,
0.06323596835136414,
0.011326374486088753,
0.048074956983327866,
-0.017619790509343147,
0.024996137246489525,
-0.040015123784542084,
0.051945097744464874,
-0.04033467546105385,
0.006941399071365595,
0.015232020989060402,
0.021605325862765312,
0.002259061438962817,
-0.08130846172571182,
-0.03266540542244911,
0.014442015439271927,
0.022830279543995857,
-0.04505695775151253,
-0.0042873346246778965,
-0.020504644140601158,
0.020043067634105682,
-0.010616256855428219,
-0.016474727541208267,
0.06213528290390968,
0.009364674799144268,
0.013421221636235714,
-0.044062793254852295,
0.0009031807421706617,
0.06976904720067978,
0.00377249950543046,
-0.023185336962342262,
0.020007561892271042,
-0.013776279985904694,
0.024996137246489525,
0.0334465354681015,
-0.006431002169847488,
-0.06348450481891632,
0.021782854571938515,
-0.04764888808131218,
0.019670255482196808,
-0.01674102060496807,
0.047932934015989304,
0.08627928048372269,
0.04139985144138336,
-0.005809648893773556,
-0.013598751276731491,
0.010616256855428219,
0.003071258310228586,
0.027463795617222786,
0.026469631120562553,
-0.029895948246121407,
0.033038217574357986,
-0.0230433139950037,
0.04938867315649986,
-0.010412098839879036,
-0.0016033122083172202,
0.06135415658354759,
0.011397386901080608,
0.008619051426649094,
-0.05805210769176483,
0.009879509918391705,
0.02073543146252632,
0.053649380803108215,
-0.016865290701389313,
0.02785436064004898,
0.015951015055179596,
-0.034600477665662766,
-0.020912962034344673,
-0.012267280369997025,
0.04665472358465195,
-0.01710495539009571,
0.021623078733682632,
-0.014601792208850384,
0.003042409894987941,
0.05883323773741722,
0.032239336520433426,
0.0002676810254342854,
0.029540888965129852,
0.01597764529287815,
-0.06792274117469788,
0.03003797121345997,
0.057484015822410583,
0.011033451184630394,
0.02943437173962593,
0.018498562276363373,
0.006976904813200235,
-0.008956357836723328,
0.0034706995356827974,
-0.012560203671455383,
0.005419084336608648,
-0.07690572738647461,
0.023593654856085777,
-0.052868250757455826,
0.047222815454006195,
-0.016084162518382072,
0.01153940986841917,
-0.03735218197107315,
0.005640996154397726,
0.011299745179712772,
-0.03396137058734894,
0.027375031262636185,
0.027499301359057426,
0.0425715446472168,
0.013474480248987675,
-0.004380537662655115,
-0.048927098512649536,
-0.022421961650252342,
-0.005237116944044828,
0.012897510081529617,
-0.02771233767271042,
0.0278721135109663,
0.014033697545528412,
0.017353497445583344,
-0.018853621557354927,
0.009258157573640347,
-0.010811539366841316,
-0.043352674692869186,
0.012329415418207645,
-0.042500533163547516,
0.05560220405459404,
0.019457221031188965,
0.04945968836545944,
0.08194756507873535,
-0.03564789891242981,
-0.04129333421587944,
-0.05336533114314079,
-0.014726062305271626,
0.07040815055370331,
-0.046477191150188446,
-0.05613479018211365,
-0.023274103179574013,
-0.053613875061273575,
-0.021108243614435196,
-0.020273854956030846,
-0.011388510465621948,
-0.03504430130124092,
0.024090737104415894,
0.02222667820751667,
-0.08223161101341248,
-0.004065422806888819,
-0.02146330289542675,
-0.009701981209218502,
-0.017619790509343147,
0.038559380918741226,
-0.007775787264108658,
-0.026363113895058632,
0.06195775419473648,
0.007775787264108658,
-0.06760319322347641,
-0.015356292016804218,
-0.07214794307947159,
-0.026718173176050186,
-0.007673707790672779,
0.036269254982471466,
-0.03795578330755234,
0.046619217842817307,
-0.011077833361923695,
-0.07626662403345108,
-0.016714392229914665,
0.0654018223285675,
-0.0024432481732219458,
-0.04349469766020775,
-0.029594147577881813,
-0.03181326389312744,
-0.07484638690948486,
0.019457221031188965,
-0.03997961804270744,
0.048110462725162506,
-0.05261971056461334,
-0.03902095928788185,
0.0023966466542333364,
0.014805950224399567,
0.05006328597664833,
0.06142516806721687,
-0.04196794703602791,
0.05080891028046608,
0.011246486566960812,
0.004824360832571983,
-0.01837429217994213,
-0.027517054229974747,
0.03831084072589874,
-0.002067107707262039,
-0.010616256855428219,
0.0010513068409636617,
0.062348321080207825,
-0.02540445514023304,
-0.0379202775657177,
0.02219117246568203,
-0.00043633393943309784,
0.0429266057908535,
-0.05102194473147392,
-0.02449905499815941,
0.022528478875756264,
0.08208958804607391,
0.08031429350376129,
-0.06927196681499481,
0.02139229141175747,
-0.01786833256483078,
0.004624640569090843,
-0.014788197353482246,
0.012835374101996422,
-0.04945968836545944,
0.01237379852682352,
-0.02934560738503933,
0.0073408400639891624,
-0.005916166584938765,
-0.01750439777970314,
-0.05304577946662903,
-0.015729103237390518,
-0.02309657260775566,
0.023984219878911972,
-0.0053170048631727695,
0.008166351355612278,
0.0034751377534121275,
-0.0006951384712010622,
-0.05812311917543411,
0.05638333410024643,
0.0019861098844558,
0.010172434151172638,
0.03681959584355354,
0.0319552905857563,
-0.009826251305639744,
0.022794773802161217,
0.023433879017829895,
0.041683901101350784,
0.01970576122403145,
0.060644038021564484,
0.12995150685310364,
-0.008809895254671574,
0.04338818043470383,
-0.06490474194288254,
-0.06664453446865082,
0.04452436789870262,
0.005237116944044828,
0.03589644283056259,
-0.005809648893773556,
-0.07140231877565384,
0.03873691335320473,
0.018445303663611412,
0.0031933097634464502,
0.019368456676602364,
0.05936582759022713,
-0.001348113757558167,
0.005991616751998663,
-0.01977677270770073,
-0.0447729118168354,
-0.01719372160732746,
0.028031889349222183,
-0.01752215065062046,
-0.029771678149700165,
-0.020469138398766518,
0.03724566474556923,
-0.014619545079767704,
0.008854278363287449,
0.02625659666955471,
-0.009826251305639744,
-0.007797978352755308,
0.10112074017524719,
0.00024257725453935564,
0.035292841494083405,
-0.008090902119874954,
0.029913701117038727,
0.008019889704883099,
0.04452436789870262,
-0.02389545552432537,
-0.015613709576427937,
0.015862250700592995,
0.024889620020985603,
-0.004034355282783508,
-0.005379140377044678,
0.08180554211139679,
0.011610421352088451,
-0.01546280924230814,
0.000616359815467149,
0.04029916971921921,
-0.04186142981052399,
0.002162529854103923,
-0.08109541982412338,
-0.007496178150177002,
0.021978138014674187,
-0.024090737104415894,
0.021978138014674187,
-0.040121641010046005,
0.01752215065062046
]
|
40,400 | pyglove.core.geno.base | get | Get an immediate child DNA or DNA in the sub-tree. | def get(self,
key: Union[int, slice, str, object_utils.KeyPath, 'DecisionPoint'],
default: Any = None
) -> Union[Any, None, 'DNA', List[Optional['DNA']]]:
"""Get an immediate child DNA or DNA in the sub-tree."""
try:
return self[key]
except KeyError:
return default
| (self, key: Union[int, slice, str, pyglove.core.object_utils.value_location.KeyPath, pyglove.core.geno.base.DecisionPoint], default: Optional[Any] = None) -> Union[Any, NoneType, pyglove.core.geno.base.DNA, List[Optional[pyglove.core.geno.base.DNA]]] | [
0.0595390722155571,
-0.03132210299372673,
0.015372201800346375,
0.03049165941774845,
-0.00792530458420515,
0.03787537291646004,
0.05917801335453987,
-0.006932384800165892,
0.09727001935243607,
-0.017240695655345917,
0.00025260215625166893,
0.02020140178501606,
0.019190428778529167,
-0.0065577831119298935,
-0.000812952988781035,
-0.030275022611021996,
0.04711855202913284,
0.061849869787693024,
-0.008620347827672958,
0.059069693088531494,
0.022133082151412964,
0.030581925064325333,
0.008155480958521366,
-0.06777127832174301,
-0.04134156554937363,
0.043399617075920105,
0.036033958196640015,
0.014613972045481205,
-0.00863840151578188,
-0.024606354534626007,
0.006688667926937342,
-0.041738733649253845,
-0.05358155444264412,
0.017746182158589363,
-0.030961040407419205,
0.035636790096759796,
-0.026953255757689476,
0.039933424443006516,
-0.008503003045916557,
0.036376964300870895,
-0.03406617045402527,
-0.004145439714193344,
-0.004468138329684734,
-0.0653882697224617,
-0.030365288257598877,
-0.010669372975826263,
0.047010231763124466,
0.03552846983075142,
-0.02713378705084324,
-0.04238864406943321,
0.03975289314985275,
-0.021392906084656715,
-0.03565484285354614,
-0.03801979497075081,
-0.04404952749609947,
-0.011084593832492828,
-0.006900791544467211,
0.06181376054883003,
0.030708298087120056,
0.04885164648294449,
0.05444810539484024,
-0.04029448702931404,
-0.046035367995500565,
-0.039644572883844376,
0.024678567424416542,
-0.02054440975189209,
0.027151839807629585,
-0.009477869607508183,
-0.04224421828985214,
0.03841696307063103,
-0.0395362563431263,
-0.02112210914492607,
-0.00465769600123167,
0.033795375376939774,
0.022421931847929955,
-0.03112351894378662,
-0.000829313590656966,
-0.021826179698109627,
0.07445092499256134,
-0.0017048881854861975,
-0.03283856064081192,
0.0003145185764878988,
-0.04502439498901367,
-0.007410791236907244,
-0.02570759318768978,
0.06174154952168465,
0.03653944283723831,
-0.016058219596743584,
0.04079997166991234,
0.026231132447719574,
-0.02355927601456642,
-0.025021575391292572,
-0.00574539415538311,
0.04899607226252556,
-0.009279285557568073,
0.012628132477402687,
0.035365991294384,
-0.022945471107959747,
-0.0074965436942875385,
0.0184231735765934,
-0.021447064355015755,
0.01483060885220766,
0.052426159381866455,
0.007974950596690178,
-0.030437501147389412,
0.03975289314985275,
-0.034282807260751724,
0.05679500475525856,
0.005000704433768988,
0.017006006091833115,
-0.09235958009958267,
0.011039461009204388,
0.020959630608558655,
0.03697271645069122,
-0.03532988578081131,
0.02570759318768978,
-0.05314828082919121,
-0.003364643780514598,
-0.04856279864907265,
0.00598911102861166,
-0.0052308812737464905,
-0.031015200540423393,
-0.05058474466204643,
-0.033885639160871506,
-0.016058219596743584,
0.019984764978289604,
-0.016455387696623802,
0.03300103917717934,
-0.018125297501683235,
0.05390651151537895,
0.08824347704648972,
0.021898392587900162,
-0.023884231224656105,
-0.003782121231779456,
0.008372117765247822,
0.04072776064276695,
0.0653882697224617,
0.01733998768031597,
-0.07401765137910843,
0.02352316863834858,
0.024967417120933533,
-0.035203516483306885,
0.06401623785495758,
0.0008789595449343324,
0.009550081565976143,
-0.0229274183511734,
0.026483874768018723,
-0.0054881377145648,
-0.06643535196781158,
0.002967475913465023,
-0.02693520300090313,
0.04426616430282593,
0.004811147227883339,
-0.015354149043560028,
0.002631237031891942,
-0.0026064140256494284,
-0.02166370116174221,
-0.01802600547671318,
0.0038317672442644835,
-0.0317012183368206,
-0.02507573552429676,
-0.04621589556336403,
-0.012528840452432632,
-0.03816422075033188,
0.011129726655781269,
-0.007293446455150843,
-0.04552987962961197,
0.007275393232703209,
0.07217623293399811,
0.07232065498828888,
0.006810526363551617,
0.041449882090091705,
-0.06777127832174301,
0.018350960686802864,
0.0069188447669148445,
0.011725478805601597,
-0.03791147843003273,
0.022169187664985657,
0.05582013726234436,
0.003317254362627864,
-0.002025330439209938,
0.01038955058902502,
0.019479278475046158,
-0.023396797478199005,
0.010714505799114704,
0.021212374791502953,
0.016256803646683693,
0.01587768830358982,
0.007072295993566513,
0.041305456310510635,
-0.03211643919348717,
0.0005297451862134039,
0.020761048421263695,
-0.017692023888230324,
-0.002204732969403267,
-0.01551662664860487,
0.027097679674625397,
-0.030961040407419205,
-0.04607147350907326,
0.04072776064276695,
-0.004007784649729729,
-0.03614227473735809,
-0.025021575391292572,
0.018016979098320007,
-0.06192208081483841,
0.08730471879243851,
-0.0012208399130031466,
0.02834334224462509,
-0.03137626126408577,
0.010813797824084759,
-0.0395362563431263,
-0.00034582940861582756,
-0.032423339784145355,
-0.042280323803424835,
0.022801045328378677,
-0.088821180164814,
-0.08658259361982346,
-0.03453554958105087,
-0.008114861324429512,
0.026267237961292267,
0.042135901749134064,
-0.0619581863284111,
0.096620112657547,
0.05910579860210419,
-0.00164057407528162,
-0.018901579082012177,
0.011265125125646591,
0.002484555821865797,
-0.024461930617690086,
-0.0059530045837163925,
0.03648528456687927,
-0.019822286441922188,
0.022602461278438568,
-0.057011641561985016,
0.011951141990721226,
-0.05621730536222458,
-0.011201939545571804,
0.01578742265701294,
0.040872182697057724,
0.038236431777477264,
-0.011987248435616493,
0.0003339820832479745,
0.0014814812457188964,
0.022367771714925766,
-0.005361766088753939,
0.037983689457178116,
0.017845474183559418,
0.01991255208849907,
0.02587006986141205,
0.021970603615045547,
0.05029589310288429,
-0.04592704772949219,
-0.0018086933996528387,
0.03776705265045166,
0.011987248435616493,
-0.0027756618801504374,
-0.07452313601970673,
-0.010840877890586853,
0.0015965696657076478,
-0.022421931847929955,
-0.047696251422166824,
0.013431495055556297,
-0.00898140948265791,
0.024136973544955254,
-0.06968490779399872,
0.06249978020787239,
0.031683165580034256,
-0.02805449441075325,
-0.022403879091143608,
-0.010705479420721531,
-0.038272541016340256,
0.03449944406747818,
0.001072466024197638,
-0.04206368699669838,
-0.007591322064399719,
0.006214774679392576,
0.003705395618453622,
0.004716368392109871,
-0.0008834728505462408,
-0.026339450851082802,
-0.041449882090091705,
-0.000660630059428513,
-0.0043620765209198,
0.02702546864748001,
-0.08232206851243973,
-0.040186166763305664,
0.014036273583769798,
-0.012258044444024563,
0.006214774679392576,
0.015534679405391216,
0.00839468464255333,
0.02401060238480568,
-0.0317012183368206,
0.027801750227808952,
-0.0006702207610942423,
-0.035492364317178726,
-0.03258581832051277,
-0.017520518973469734,
0.026682458817958832,
0.007266366854310036,
0.015354149043560028,
-0.021934498101472855,
0.011120700277388096,
0.007704154122620821,
-0.04011395573616028,
0.037008825689554214,
0.04531324282288551,
-0.012429549358785152,
0.02435361221432686,
0.011644239537417889,
-0.06755464524030685,
-0.02180812694132328,
0.01593184657394886,
0.05982792377471924,
-0.03014865145087242,
-0.0663631409406662,
-0.025436796247959137,
-0.02160954289138317,
0.05939465016126633,
0.08369410037994385,
-0.06863782554864883,
0.01893768645823002,
-0.041016608476638794,
0.019244588911533356,
0.006205747835338116,
0.0348966121673584,
-0.020869366824626923,
0.02005697786808014,
0.03404811769723892,
0.05163182318210602,
0.02097768522799015,
-0.02077910117805004,
-0.03917519375681877,
-0.006846632342785597,
-0.0434357225894928,
0.00901300273835659,
-0.005939465016126633,
0.041305456310510635,
0.009229639545083046,
0.0010775434784591198,
-0.03484245389699936,
-0.006688667926937342,
-0.006034243386238813,
-0.0017026315908879042,
0.08889339119195938,
-0.014415387995541096,
0.09423710405826569,
0.003928802441805601,
0.026285290718078613,
-0.03477024286985397,
-0.03780315816402435,
0.0022272993810474873,
0.019118215888738632,
-0.0011418575886636972,
-0.01593184657394886,
-0.050331998616456985,
0.023703699931502342,
0.013575919903814793,
-0.009875037707388401,
0.015489546582102776,
0.05679500475525856,
-0.0400056354701519,
-0.06600207835435867,
0.02942652814090252,
-0.031304050236940384,
-0.04007784649729729,
-0.018179455772042274,
0.004666722379624844,
0.021772019565105438,
-0.00826831255108118,
0.01595892757177353,
0.005361766088753939,
-0.059502966701984406,
0.032278914004564285,
0.008277338929474354,
0.032423339784145355,
0.03668386861681938,
-0.012411495670676231,
0.0541592538356781,
-0.00981185119599104,
-0.033506523817777634,
0.010714505799114704,
0.004389156121760607,
0.09654789417982101,
-0.04986261948943138,
-0.006787959951907396,
0.027837857604026794,
0.009202560409903526,
-0.002667343243956566,
-0.020075030624866486,
0.02108600363135338,
-0.004874332807958126,
-0.04220811277627945,
-0.00326986494474113,
-0.07380101084709167,
-0.02980564348399639,
0.05502580106258392,
-0.06249978020787239,
-0.00826831255108118,
0.013621052727103233,
0.05820314586162567,
0.01802600547671318,
-0.011942115612328053,
0.011590080335736275,
0.010218045674264431,
-0.03025696985423565,
0.015101405791938305,
-0.004752474371343851,
-0.07401765137910843,
-0.05917801335453987,
0.01598600670695305,
-0.0009991254191845655,
-0.022620515897870064,
0.054773058742284775,
0.0158506091684103,
-0.03906687721610069,
0.05910579860210419,
0.08983214944601059,
-0.020093083381652832,
0.011310257948935032,
-0.052678901702165604,
-0.06668809801340103,
-0.02805449441075325,
0.02097768522799015,
0.010723532177507877,
0.002838847693055868,
0.0007396123255603015,
-0.008503003045916557,
-0.006119995843619108,
-0.013747423887252808,
-0.011436629109084606,
-0.03449944406747818,
0.005885305814445019,
0.013584946282207966,
0.019136270508170128,
0.02005697786808014,
-0.05188456550240517,
0.010046541690826416,
0.013900875113904476,
-0.012014327570796013,
-0.052137307822704315,
0.01650954596698284,
-0.031683165580034256,
-0.005321146920323372,
-0.001145242596976459,
-0.010461762547492981,
0.029336262494325638,
0.03112351894378662,
0.04845447838306427,
-0.09402046352624893,
0.016211669892072678,
-0.05488137900829315,
0.06152491271495819,
0.0614888072013855,
-0.0031570331193506718,
-0.023974496871232986,
-0.09337055683135986,
0.02859608642756939,
0.05679500475525856,
-0.003608360420912504,
-0.013178751803934574,
0.04751572012901306,
0.05524243786931038,
-0.01495698094367981,
-0.03736988455057144,
0.02742263674736023,
0.017493439838290215,
-0.0022419674787670374,
-0.03552846983075142,
-0.058672524988651276,
0.02570759318768978,
0.038814131170511246,
0.01471326407045126,
-0.06654366850852966,
0.01007362175732851,
-0.014451494440436363,
0.03931961953639984,
-0.06690473109483719,
-0.009622294455766678,
-0.04892386123538017,
-0.00409805029630661,
-0.02942652814090252,
-0.009712559171020985,
-0.04332740232348442,
-0.04029448702931404,
-0.025021575391292572,
-0.06668809801340103,
0.09539250284433365,
-0.023144055157899857,
-0.01570618338882923,
0.0050819432362914085,
0.045602090656757355,
-0.035257674753665924,
-0.018558571115136147,
0.01664494350552559,
0.02552706189453602,
0.05498969554901123,
-0.053942617028951645,
0.023306531831622124,
0.005483624525368214,
0.008345038630068302,
-0.05524243786931038,
0.03643112629652023,
0.01796281896531582,
-0.020508304238319397,
-0.033795375376939774,
-0.056867215782403946,
0.025779804214835167,
-0.0103714969009161,
-0.004560660570859909,
0.050729166716337204,
0.015633972361683846,
0.019009897485375404,
-0.0541592538356781,
0.012772557325661182,
0.01928069442510605,
0.034661922603845596,
0.00822317972779274,
0.00518574845045805,
-0.02088741958141327,
0.014361228793859482,
-0.019822286441922188,
-0.0013404415221884847,
0.02673661895096302,
0.012871849350631237,
0.013458575122058392,
-0.031304050236940384,
0.011201939545571804,
-0.05802261456847191,
0.03338015452027321,
-0.00006417307304218411,
-0.027187945321202278,
-0.01153592113405466,
0.09965302795171738,
-0.026357503607869148,
-0.017006006091833115,
0.00017559445404913276,
0.060333408415317535,
-0.021555382758378983,
0.005736367776989937,
0.042280323803424835,
-0.04069165140390396,
0.015435387380421162,
-0.002825307659804821,
0.05105412378907204,
-0.046576958149671555,
-0.005948491394519806,
0.009486895985901356,
0.07159853726625443,
0.0761118084192276,
0.01534512173384428,
0.0010555413318797946,
0.0061019426211714745,
-0.011698398739099503,
0.0468297004699707,
0.02659219317138195,
-0.05744491517543793,
-0.004138669464737177,
0.0033849533647298813,
-0.01893768645823002,
0.04022227227687836,
0.006327606271952391,
0.05932243540883064,
-0.027386529371142387,
0.07697835564613342,
-0.022999629378318787,
-0.047154657542705536,
0.009938223287463188,
0.08809905499219894,
-0.043941207230091095,
-0.04668527841567993,
0.00410482008010149,
-0.005971057806164026,
0.020869366824626923,
-0.03718935325741768,
0.06008066609501839,
-0.050729166716337204,
0.00150291936006397,
-0.05899748206138611,
-0.009143887087702751,
0.01288087572902441,
0.0184231735765934,
0.0805167555809021,
0.05578403174877167,
0.018206536769866943,
0.059069693088531494,
-0.0045990231446921825,
0.03162900358438492,
-0.020995737984776497,
-0.07603958994150162,
0.00022100924979895353,
-0.022819099947810173,
-0.0026831396389752626,
0.039355725049972534,
0.05488137900829315,
0.03175537660717964,
-0.006395305506885052,
-0.016148485243320465,
0.030852722004055977,
-0.05058474466204643,
0.038236431777477264,
-0.0022724319715052843,
0.05592845752835274,
0.053401023149490356,
0.013142645359039307,
0.052678901702165604,
0.03498687967658043,
-0.009414684027433395,
0.0008908068994060159,
-0.05098191276192665,
-0.0065307035110890865,
-0.00981185119599104,
-0.0020930294413119555,
-0.004838226828724146,
-0.047407399863004684,
-0.03338015452027321,
0.005971057806164026,
0.01598600670695305,
-0.03079856187105179,
-0.034427233040332794,
-0.010461762547492981,
-0.012592026963829994,
-0.028289183974266052,
0.004201855510473251,
-0.023144055157899857,
-0.07116526365280151,
0.02576175145804882,
-0.0331815704703331,
0.014776449650526047,
0.039211299270391464,
0.03747820481657982,
0.05531465262174606,
-0.028072547167539597,
0.025454849004745483,
-0.01636512205004692,
0.004346280358731747,
0.05148739740252495,
-0.03357873857021332,
0.03218865022063255,
0.06383571028709412,
-0.06152491271495819,
0.003513581585139036,
-0.003935572691261768,
0.07452313601970673,
-0.003982961643487215,
-0.02404670976102352,
-0.01601308584213257,
0.06621871143579483,
-0.042858023196458817,
0.006286986637860537,
-0.03366900235414505,
-0.029264049604535103,
-0.05361766368150711,
-0.03509519621729851,
0.04069165140390396,
-0.040908291935920715,
0.0380559042096138,
-0.015164591372013092,
-0.08874896168708801,
0.04069165140390396,
-0.021013790741562843,
-0.008169020526111126,
-0.049501556903123856,
-0.02209697663784027,
-0.028614139184355736,
-0.05329270660877228,
-0.048671115189790726,
-0.06105553358793259,
0.012167778797447681,
0.016004059463739395,
0.026176972314715385,
-0.05322049558162689,
-0.06748243421316147,
-0.028379449620842934,
-0.0009331188048236072,
-0.02615891955792904,
0.0707680955529213,
0.047840673476457596,
0.0375865213572979,
-0.009504948742687702,
0.08181658387184143,
0.030906880274415016,
0.02355927601456642,
0.026231132447719574,
0.014586892910301685,
0.007492030039429665,
0.028505820780992508,
-0.01715945638716221,
0.019118215888738632,
-0.043002448976039886,
0.028271131217479706,
-0.05372598022222519,
0.031592898070812225,
-0.01014583371579647,
0.012718398123979568,
0.0064630042761564255,
-0.04625200480222702,
0.01879326067864895,
-0.07019039243459702,
0.011030434630811214,
-0.0018662376096472144,
-0.001971171237528324,
-0.02966121770441532,
-0.027946176007390022,
0.03011254593729973,
-0.01893768645823002,
0.021429011598229408,
0.06611039489507675,
0.014027247205376625,
-0.01587768830358982,
0.01180671714246273,
0.005316633265465498,
-0.022909363731741905,
-0.043688464909791946,
-0.028180865570902824,
-0.01788157969713211,
-0.029697325080633163,
0.052678901702165604,
-0.03478829562664032,
0.03274829685688019,
-0.007988490164279938,
-0.03892245143651962,
0.07553410530090332,
-0.008909197524189949,
0.04448280110955238,
0.0405111238360405,
0.06737411022186279,
-0.04556598514318466,
-0.06676030904054642,
0.06029730290174484,
0.015922820195555687,
0.02420918643474579,
0.04025837779045105,
-0.04610757902264595,
-0.008236720226705074,
-0.03787537291646004,
-0.035004932433366776,
-0.021447064355015755,
0.0251298937946558,
-0.0069730039685964584,
-0.05556739494204521,
0.029264049604535103,
0.02727821096777916,
-0.024967417120933533,
0.0071354815736413,
-0.010759638622403145,
-0.03695466369390488,
0.02473272569477558,
-0.003770838025957346,
-0.0180530846118927,
-0.003463935572654009,
0.043941207230091095,
0.04217200726270676,
0.04455501213669777,
-0.0069730039685964584,
0.011066541075706482,
-0.027675379067659378,
0.021826179698109627,
0.05690332502126694,
-0.002818537876009941,
-0.02644776925444603,
0.0011283177882432938,
-0.07163464277982712,
0.007514596451073885,
-0.06029730290174484,
-0.009486895985901356,
-0.004752474371343851,
0.04495218023657799
]
|
40,402 | pyglove.core.geno.base | iter_dna | Iterate DNA of the space starting from self. | def iter_dna(self):
"""Iterate DNA of the space starting from self."""
self._ensure_dna_spec()
return self.spec.iter_dna(self)
| (self) | [
0.0291941799223423,
0.021073265001177788,
-0.04752620682120323,
-0.013826116919517517,
-0.003677113214507699,
0.022478148341178894,
-0.041735343635082245,
-0.006673200521618128,
0.0630142018198967,
-0.018229229375720024,
-0.023437581956386566,
0.00522976741194725,
0.014434329234063625,
0.08538955450057983,
-0.016678716987371445,
-0.05242617055773735,
-0.011230507865548134,
0.09388738870620728,
-0.07332810759544373,
0.023112060502171516,
-0.04029619321227074,
0.06647501140832901,
0.0005102342693135142,
-0.04043325409293175,
-0.03806893900036812,
0.09210558235645294,
0.009063216857612133,
-0.022255422547459602,
-0.01679864712059498,
0.015496558509767056,
0.017415424808859825,
-0.0670575276017189,
0.004625838249921799,
-0.0037627769634127617,
0.031798355281353,
-0.015076806768774986,
-0.05424223840236664,
0.011581729166209698,
-0.05763452127575874,
0.0703812763094902,
-0.006878793239593506,
-0.040467519313097,
0.040810175240039825,
-0.014083107933402061,
-0.031661294400691986,
-0.0377948135137558,
0.05533873289823532,
-0.021792838349938393,
-0.045847199857234955,
-0.014682753942906857,
0.07257426530122757,
-0.017089903354644775,
0.029862357303500175,
-0.03889130800962448,
0.0024328483268618584,
0.05999883636832237,
-0.01816069893538952,
0.004141838755458593,
0.04594999551773071,
0.017038505524396896,
0.005816563498228788,
-0.07922177016735077,
0.005940775852650404,
-0.03820599988102913,
0.02790922485291958,
-0.009542933665215969,
0.0057951477356255054,
-0.03294625133275986,
0.0262302178889513,
0.023917298763990402,
0.01090498548001051,
0.011102012358605862,
0.04262624308466911,
0.015051107853651047,
-0.016250399872660637,
-0.008951853960752487,
-0.05681214854121208,
0.06630368530750275,
0.08415599167346954,
-0.07524697482585907,
-0.02761796861886978,
0.05170659348368645,
-0.04296889901161194,
-0.02037082239985466,
-0.00495564378798008,
0.013337833806872368,
-0.014674187637865543,
-0.031301505863666534,
-0.03220954164862633,
0.0038570070173591375,
0.010802189819514751,
-0.0035143522545695305,
0.029502570629119873,
0.0385143868625164,
-0.019051602110266685,
0.06517292559146881,
-0.000011711830666172318,
-0.01764671690762043,
0.0016886452212929726,
-0.0033879983238875866,
-0.01729549653828144,
0.07504137605428696,
0.043859802186489105,
0.0225466787815094,
-0.02910851687192917,
0.011958649381995201,
-0.07949589192867279,
-0.014425762929022312,
-0.003991927485913038,
0.04807445406913757,
-0.1048523411154747,
0.02826901338994503,
0.03899410367012024,
-0.016027674078941345,
-0.03243226930499077,
-0.06092400476336479,
0.03765775263309479,
0.024773934856057167,
-0.012712489813566208,
-0.018863141536712646,
0.05503034591674805,
0.009525801055133343,
-0.019531317055225372,
0.026727067306637764,
-0.00822371244430542,
0.01935999095439911,
-0.012661091051995754,
0.029416905716061592,
-0.03930249437689781,
0.004488776437938213,
0.03407701104879379,
0.03793187439441681,
0.0018042911542579532,
0.017526788637042046,
0.03745215758681297,
0.017012806609272957,
0.02984522469341755,
-0.06232888996601105,
-0.07257426530122757,
0.024636872112751007,
0.011187676340341568,
-0.009928420186042786,
0.08538955450057983,
0.003231662092730403,
-0.023249121382832527,
0.03690391033887863,
-0.028611667454242706,
-0.0011853710748255253,
-0.0051184045150876045,
-0.05256323143839836,
-0.014006011188030243,
0.04341435059905052,
0.09621743857860565,
0.051295407116413116,
-0.044270988553762436,
0.009268810041248798,
-0.03034207411110401,
-0.006900209002196789,
0.0015023266896605492,
-0.010519498959183693,
-0.03885704278945923,
-0.012712489813566208,
-0.06311699748039246,
0.04680663347244263,
0.0018696096958592534,
0.0012678223429247737,
-0.08038679510354996,
-0.014357231557369232,
0.024277085438370705,
-0.03738362714648247,
0.014357231557369232,
-0.0006521147442981601,
-0.041838139295578,
-0.004428811836987734,
-0.038925573229789734,
0.03243226930499077,
-0.018469087779521942,
0.06397363543510437,
0.03448819741606712,
-0.00411185622215271,
0.031198710203170776,
-0.009071783162653446,
-0.029365507885813713,
-0.013500595465302467,
0.015530824661254883,
0.025750501081347466,
0.019377123564481735,
0.03745215758681297,
0.07867351919412613,
-0.0025998924393206835,
0.022992130368947983,
0.028560269623994827,
-0.025305049493908882,
0.0315413661301136,
0.015231001190841198,
-0.028097685426473618,
-0.0028247598093003035,
0.026024624705314636,
-0.019051602110266685,
0.037349361926317215,
-0.028423206880688667,
-0.004231785424053669,
-0.059039406478405,
0.006844527553766966,
-0.008065234869718552,
0.031712692230939865,
-0.0121042774990201,
-0.012789586558938026,
-0.017012806609272957,
-0.030239276587963104,
-0.02559630572795868,
-0.03133577108383179,
0.05849115923047066,
-0.03340883180499077,
0.04457937553524971,
-0.0876510739326477,
0.026761332526803017,
-0.03409414365887642,
0.05455062910914421,
-0.0003715661878231913,
0.043722741305828094,
0.009757092222571373,
0.03025640919804573,
-0.04858843609690666,
-0.03169555962085724,
-0.04170107841491699,
-0.01055376511067152,
0.022512413561344147,
-0.06020443141460419,
-0.009500101208686829,
-0.019514184445142746,
-0.012095711193978786,
0.008146615698933601,
-0.0027819278184324503,
0.054310768842697144,
0.0158991776406765,
0.005319714080542326,
0.013200771994888783,
-0.03220954164862633,
-0.0077097308821976185,
-0.047423411160707474,
0.05263176187872887,
-0.011093446053564548,
-0.003814175259321928,
-0.044784970581531525,
0.013980312272906303,
0.018451955169439316,
0.03560182452201843,
0.013783285394310951,
0.00037718788371421397,
-0.030187878757715225,
-0.08977553248405457,
-0.03359729424118996,
0.03135290369391441,
-0.019479919224977493,
-0.03428260236978531,
-0.03407701104879379,
-0.005632386542856693,
0.05629816651344299,
0.011675958521664143,
0.013723320327699184,
-0.012301303446292877,
-0.04752620682120323,
0.04793739318847656,
-0.01027964148670435,
0.07421901077032089,
0.01574498414993286,
0.004647254478186369,
0.01917153038084507,
-0.0158991776406765,
0.0797014832496643,
0.024242820218205452,
-0.062294624745845795,
-0.008425022475421429,
-0.01644742488861084,
0.04738914594054222,
0.032312337309122086,
0.011701658368110657,
-0.07661759108304977,
-0.027960624545812607,
0.008771960623562336,
0.029296977445483208,
-0.07195748388767242,
0.0052597494795918465,
-0.022649476304650307,
-0.062431685626506805,
0.026829862967133522,
0.03373435512185097,
0.012995179742574692,
0.006805979181081057,
0.031849753111600876,
-0.007975287735462189,
0.04149548336863518,
-0.011761622503399849,
0.0796329528093338,
-0.0417696088552475,
-0.026350146159529686,
0.008245129138231277,
-0.031147312372922897,
-0.037486422806978226,
0.041598279029130936,
-0.02333478443324566,
-0.01870894618332386,
0.039199698716402054,
-0.0863489881157875,
0.023780236020684242,
0.010913551785051823,
0.07641199976205826,
-0.01387751568108797,
-0.001151105621829629,
-0.0424891822040081,
-0.0005420904490165412,
0.020405087620019913,
0.044510845094919205,
-0.01554795727133751,
-0.0729854479432106,
-0.01786944270133972,
0.025253651663661003,
0.014057409018278122,
0.06757150590419769,
-0.04098150134086609,
0.05694921314716339,
0.015350930392742157,
0.015642186626791954,
-0.00039110821671783924,
0.028012022376060486,
0.006236315704882145,
0.06167784705758095,
-0.007041553966701031,
0.036150071769952774,
0.0008764464873820543,
-0.05780584737658501,
-0.05198071897029877,
0.024722537025809288,
-0.002533503109589219,
0.02970816195011139,
-0.010913551785051823,
-0.003874139627441764,
0.0278578270226717,
-0.047697532922029495,
-0.004458794370293617,
0.015693584457039833,
-0.0032059629447758198,
-0.02388303354382515,
0.042009465396404266,
-0.010596596635878086,
-0.012755321338772774,
-0.004797165747731924,
0.003096741857007146,
-0.0010638358071446419,
0.04190666973590851,
0.0769602432847023,
0.05081569403409958,
0.020130963996052742,
0.0010306411422789097,
-0.0005169267533347011,
0.03044486977159977,
0.055133141577243805,
-0.049959056079387665,
0.04512762278318405,
-0.006364811211824417,
-0.007337093818932772,
-0.008506403304636478,
-0.016430292278528214,
-0.020439352840185165,
-0.09251677244901657,
-0.07202602177858353,
0.015470859594643116,
0.010982083156704903,
0.0064676073379814625,
-0.015171037055552006,
0.01800650544464588,
-0.018451955169439316,
-0.043585676699876785,
-0.011059180833399296,
-0.042249325662851334,
0.00321024633012712,
-0.0157706830650568,
-0.0014916186919435859,
0.013860383071005344,
-0.007803960703313351,
0.018400557339191437,
0.045573074370622635,
0.06620088964700699,
-0.03758922219276428,
-0.06925051659345627,
0.04879403114318848,
0.0033965646289288998,
-0.0398164764046669,
0.004385980311781168,
-0.014999709092080593,
-0.04872549697756767,
-0.02628161571919918,
0.01707277074456215,
-0.04985626041889191,
-0.04194093495607376,
-0.007962438277900219,
-0.033837150782346725,
-0.03445392847061157,
-0.006865943782031536,
0.0011789463460445404,
0.0006692474707961082,
0.005872244946658611,
0.05095275491476059,
0.02516798861324787,
-0.040467519313097,
0.06256874650716782,
-0.04327728971838951,
-0.015804948285222054,
0.028251880779862404,
-0.07332810759544373,
0.005456775892525911,
0.006531855091452599,
0.02300926297903061,
0.02383163385093212,
-0.0167472492903471,
-0.008484986610710621,
0.027600836008787155,
-0.004625838249921799,
0.0656183734536171,
0.006484740413725376,
-0.07737143337726593,
-0.011530330404639244,
0.08059238642454147,
0.04156401380896568,
-0.043585676699876785,
0.04128989204764366,
0.0007286766194738448,
-0.010022650472819805,
-0.03875424712896347,
-0.03765775263309479,
-0.02290646731853485,
-0.003987643867731094,
-0.02559630572795868,
0.05136394128203392,
0.007165766321122646,
-0.06530998647212982,
0.0003311436448711902,
0.03320324048399925,
0.01857188530266285,
0.02350611239671707,
0.04207799583673477,
0.01922292821109295,
-0.006283430382609367,
0.031010249629616737,
0.008138049393892288,
0.024876730516552925,
0.013175073079764843,
0.04413392394781113,
-0.008943287655711174,
0.018554752692580223,
-0.029759561643004417,
0.025836164131760597,
-0.03315184265375137,
-0.000097308584372513,
0.03315184265375137,
0.017466822639107704,
-0.02074774168431759,
-0.009859888814389706,
-0.0005254931165836751,
-0.012070012278854847,
0.03529343381524086,
0.027155384421348572,
-0.021278856322169304,
-0.013337833806872368,
0.061129599809646606,
-0.020816273987293243,
0.04618985205888748,
-0.06160931661725044,
-0.004475926980376244,
0.014931178651750088,
0.011556030251085758,
-0.0016490257112309337,
-0.0955321341753006,
0.017629584297537804,
-0.026264483109116554,
-0.03957661613821983,
0.0031417151913046837,
-0.007187182549387217,
-0.03824026510119438,
-0.040398988872766495,
-0.043208759278059006,
0.004122564569115639,
0.005353979766368866,
-0.007551252841949463,
-0.004869979806244373,
0.0055852713994681835,
0.013706187717616558,
-0.04163254797458649,
-0.038548652082681656,
0.017141301184892654,
-0.012095711193978786,
-0.049959056079387665,
-0.003842015750706196,
0.005679501686245203,
0.032586462795734406,
0.053008683025836945,
-0.030016552656888962,
0.0005487829330377281,
-0.031438570469617844,
-0.0013202914269641042,
0.005885094404220581,
0.006557554472237825,
-0.03690391033887863,
0.014511426910758018,
0.07216308265924454,
-0.06198623403906822,
-0.021518714725971222,
-0.008977552875876427,
0.019599849358201027,
0.0014123799046501517,
-0.00837362464517355,
0.006634651683270931,
-0.03861718624830246,
0.008450721390545368,
-0.008694862946867943,
-0.031712692230939865,
-0.026367278769612312,
-0.020439352840185165,
0.03926822915673256,
-0.016404593363404274,
-0.029211312532424927,
-0.0609925352036953,
0.02924557961523533,
0.0023536095395684242,
0.042934633791446686,
-0.0018931672675535083,
-0.0009503313922323287,
-0.012712489813566208,
-0.03556755930185318,
0.0007731146761216223,
0.016918575391173363,
0.061506517231464386,
0.0524604357779026,
-0.024140024557709694,
-0.025253651663661003,
0.08326509594917297,
-0.016567355021834373,
0.005079856142401695,
0.0955321341753006,
0.05444783344864845,
-0.057017743587493896,
0.03731509670615196,
-0.04721781611442566,
-0.0022443882189691067,
-0.006022156216204166,
-0.018280629068613052,
-0.0797014832496643,
0.047046490013599396,
0.0682910829782486,
-0.019873972982168198,
-0.04413392394781113,
-0.043585676699876785,
0.031010249629616737,
0.024002961814403534,
0.0490681529045105,
-0.004638688173145056,
-0.021638644859194756,
-0.004261767957359552,
0.03140430152416229,
0.02494526281952858,
-0.011907250620424747,
-0.028474606573581696,
-0.05451636388897896,
0.014485727064311504,
0.052905887365341187,
0.03954235091805458,
-0.004238210152834654,
0.01903446950018406,
0.04149548336863518,
-0.001731476979330182,
0.013577692210674286,
-0.037760548293590546,
0.010373870842158794,
-0.04824578016996384,
0.041221361607313156,
-0.06147225201129913,
-0.03752068802714348,
-0.018469087779521942,
-0.07236867398023605,
-0.0005937563255429268,
-0.0009294508490711451,
0.05509887635707855,
-0.02374597080051899,
-0.0013556276680901647,
0.020867671817541122,
-0.06517292559146881,
0.02453407645225525,
-0.00974852591753006,
-0.08045532554388046,
0.003987643867731094,
-0.0630142018198967,
-0.02910851687192917,
-0.05444783344864845,
-0.018126433715224266,
0.023060660809278488,
0.0024713969323784113,
-0.06339111924171448,
-0.011727357283234596,
-0.04786886274814606,
0.029451170936226845,
0.0544135682284832,
0.0070886691100895405,
0.07271132618188858,
0.05927926301956177,
0.03505357727408409,
0.0384458564221859,
-0.020353689789772034,
-0.016875743865966797,
-0.0328434519469738,
-0.03205534815788269,
-0.001096495077945292,
-0.0248595979064703,
-0.07531550526618958,
-0.025476377457380295,
-0.05016464740037918,
-0.027275314554572105,
0.022889334708452225,
0.015924876555800438,
0.027103986591100693,
-0.0047072190791368484,
-0.021998431533575058,
-0.05198071897029877,
0.025904694572091103,
-0.022186892107129097,
-0.0437912717461586,
0.025904694572091103,
0.007178615778684616,
0.06010163575410843,
0.013157940469682217,
0.03148996829986572,
-0.00025859722518362105,
-0.030050817877054214,
-0.06609809398651123,
-0.034351132810115814,
0.0020848396234214306,
0.001422016997821629,
-0.009277376346290112,
-0.0810035690665245,
0.05136394128203392,
-0.04255771264433861,
0.029913755133748055,
-0.0052597494795918465,
0.023985829204320908,
-0.041324157267808914,
-0.04807445406913757,
-0.02799488976597786,
0.013149374164640903,
-0.022923599928617477,
-0.01356055960059166,
0.00871199555695057,
0.06757150590419769,
-0.009602897800505161,
-0.03937102481722832,
-0.00098566769156605,
-0.051843658089637756,
0.02897145412862301,
0.03308331221342087,
-0.003351591294631362,
0.01247263140976429,
0.056606557220220566,
0.022889334708452225,
-0.02074774168431759,
-0.06757150590419769,
0.019342858344316483,
-0.030547667294740677,
0.004959926940500736,
0.01637032814323902,
-0.003028210951015353,
0.010228242725133896,
-0.00029901976813562214,
0.034539595246315,
-0.05177512392401695,
-0.010262507945299149,
-0.006180634256452322,
0.00567093538120389,
0.020456485450267792,
-0.020113831385970116,
0.09306501597166061,
0.00490852864459157,
-0.03034207411110401,
0.006283430382609367,
0.018743211403489113,
-0.04752620682120323,
-0.007054403889924288,
-0.03340883180499077,
0.055544327944517136,
-0.022974997758865356,
0.03303191438317299,
-0.04351714625954628,
-0.012489764019846916,
-0.050610098987817764,
0.03796613961458206,
0.0004425064253155142,
0.0291941799223423,
0.059896040707826614,
0.036835379898548126,
-0.012875250540673733,
-0.03205534815788269,
-0.020850539207458496,
0.03738362714648247,
-0.000691198802087456,
0.0031310073100030422,
0.043037429451942444,
0.006270580925047398,
0.020525015890598297,
-0.007636916823685169,
0.03834306076169014,
0.00716148316860199,
0.023574642837047577,
0.04550454393029213,
0.05170659348368645,
-0.06740017980337143,
0.023574642837047577,
-0.005628103390336037,
-0.03995353728532791,
0.04084444046020508,
0.04152974858880043,
0.04526468738913536,
0.028166215866804123,
-0.016952840611338615,
0.0023621758446097374,
0.02383163385093212,
0.051021285355091095,
-0.02124459110200405,
0.048485640436410904,
-0.07600080966949463,
0.0822371318936348,
-0.04899962246417999,
0.010373870842158794,
-0.047046490013599396,
-0.037897609174251556,
-0.012292737141251564,
0.00969712808728218,
-0.06787989288568497,
-0.007011571899056435,
0.0023942997213453054,
0.016892876476049423,
-0.006463324185460806,
-0.024979528039693832,
-0.03440253064036369,
0.0497191958129406,
0.0036963876336812973,
-0.0054139443673193455,
-0.0030367772560566664,
0.050198912620544434,
-0.01240410003811121,
-0.001262468402273953,
0.02864593267440796,
-0.059519123286008835,
0.08203153312206268,
0.004570157267153263,
0.03467665612697601,
0.015693584457039833,
0.010082614608108997,
0.028714463114738464,
0.03820599988102913,
-0.02513372153043747,
0.0018471230287104845,
0.023540377616882324,
-0.021227458491921425,
-0.025750501081347466,
0.06678339838981628,
0.021827103570103645,
-0.03704097494482994,
0.023985829204320908,
0.012686789967119694,
0.012489764019846916
]
|
40,404 | pyglove.core.geno.base | next_dna | Get the next DNA in the spec. | def next_dna(self) -> Optional['DNA']:
"""Get the next DNA in the spec."""
self._ensure_dna_spec()
return self.spec.next_dna(self)
| (self) -> Optional[pyglove.core.geno.base.DNA] | [
0.023836636915802956,
0.040858011692762375,
-0.01720602437853813,
0.0019723977893590927,
0.014453059993684292,
0.0045533012598752975,
0.0052121663466095924,
-0.027647143229842186,
0.048982612788677216,
-0.025548847392201424,
-0.005191183183342218,
0.01595543883740902,
0.0007039781776256859,
0.054320674389600754,
0.04837830364704132,
-0.044483866542577744,
0.03018188290297985,
0.091854989528656,
-0.055730730295181274,
0.04364454746246338,
-0.015661677345633507,
0.09279502183198929,
-0.024592023342847824,
-0.041798047721385956,
-0.03525136411190033,
0.0848047137260437,
0.021738342940807343,
-0.00888837967067957,
-0.043241675943136215,
0.0024025484453886747,
0.06573540717363358,
-0.083327516913414,
-0.0033509780187159777,
0.015787575393915176,
0.03045046515762806,
0.03978368267416954,
-0.03840720281004906,
0.022846242412924767,
-0.10528407990932465,
0.03278376907110214,
-0.029426496475934982,
-0.021436188369989395,
0.031205851584672928,
-0.03301877900958061,
-0.04622964933514595,
-0.04619607701897621,
0.007029290311038494,
-0.012304405681788921,
-0.0786273330450058,
0.008472917601466179,
0.10528407990932465,
-0.03162550926208496,
-0.009887169115245342,
-0.026556028053164482,
-0.006210954859852791,
0.061505239456892014,
-0.02469274215400219,
0.009047850966453552,
0.026002079248428345,
0.02994687482714653,
0.041563037782907486,
-0.04045514017343521,
-0.0006572910933755338,
-0.04790828377008438,
0.047404695302248,
0.010264862328767776,
0.057375792413949966,
-0.04233521223068237,
0.017105305567383766,
0.044013846665620804,
0.015628105029463768,
0.018515359610319138,
-0.01364731416106224,
0.01161616388708353,
0.008388985879719257,
-0.04404741898179054,
-0.040858011692762375,
0.006257117260247469,
0.07298711687326431,
-0.024575237184762955,
-0.022141214460134506,
0.031743016093969345,
-0.025297051295638084,
-0.05945730209350586,
-0.009274466894567013,
0.018313923850655556,
0.01029004156589508,
-0.011993857100605965,
-0.04169733077287674,
-0.02729462832212448,
0.02830181084573269,
-0.02108367346227169,
0.010248075239360332,
0.04703539237380028,
0.02445773407816887,
0.014620923437178135,
0.04233521223068237,
-0.0036720172502100468,
0.02805001474916935,
-0.020261142402887344,
-0.043040238320827484,
0.06281457841396332,
-0.001484544132836163,
0.015216839499771595,
-0.015359523706138134,
0.010768452659249306,
-0.047371119260787964,
0.035083502531051636,
-0.024357015267014503,
0.005375833250582218,
-0.0771501287817955,
-0.06805191934108734,
0.038944367319345474,
0.022393010556697845,
-0.0007831888506188989,
-0.022611232474446297,
0.04129445552825928,
0.029124341905117035,
-0.007897984236478806,
-0.007784676738083363,
0.043275248259305954,
-0.005988535471260548,
-0.06449320912361145,
-0.012623346410691738,
0.008074241690337658,
0.01319408230483532,
0.008661763742566109,
-0.01644224487245083,
-0.06788405776023865,
0.009551441296935081,
0.07788873463869095,
0.06573540717363358,
0.012891927734017372,
0.030148310586810112,
-0.015393096022307873,
0.040186557918787,
0.030366534367203712,
-0.009719304740428925,
-0.09413792937994003,
0.0020447890274226665,
-0.003642641007900238,
0.0025368393398821354,
0.08587904274463654,
-0.043241675943136215,
-0.002308125142008066,
0.03436168655753136,
-0.06707831472158432,
-0.008963918313384056,
-0.007503504864871502,
-0.0019556113984435797,
0.02157047763466835,
-0.010332006961107254,
0.013630528002977371,
0.05082911252975464,
-0.02157047763466835,
-0.025062043219804764,
-0.030735833570361137,
-0.002005970571190119,
-0.006173185538500547,
-0.02610279619693756,
0.001100555993616581,
-0.03471420332789421,
-0.02393735572695732,
-0.009668946266174316,
0.01414251234382391,
-0.006416588090360165,
-0.068891242146492,
0.02967829257249832,
0.04928476735949516,
0.007658778689801693,
0.0029082377441227436,
0.06989841908216476,
-0.031524792313575745,
0.014318768866360188,
-0.058852992951869965,
0.020915810018777847,
-0.007012503687292337,
0.04008583724498749,
0.03642641007900238,
-0.0314408615231514,
0.05059410259127617,
0.014075366780161858,
-0.019740764051675797,
-0.010567016899585724,
0.0314408615231514,
0.03228018060326576,
0.017877478152513504,
0.03911222890019417,
0.06764905154705048,
0.01617366261780262,
0.037735749036073685,
0.061438094824552536,
-0.021486546844244003,
0.020277928560972214,
0.006135416217148304,
-0.05442139506340027,
0.01269049197435379,
0.03555351868271828,
0.0053926194086670876,
0.010357187129557133,
0.02036185935139656,
-0.00011258666927460581,
-0.03619140386581421,
-0.0024508091155439615,
-0.019237173721194267,
0.005694773979485035,
0.011423121206462383,
0.004830276593565941,
-0.03840720281004906,
-0.007641992531716824,
-0.04649823158979416,
-0.0063830153085291386,
0.02900683879852295,
-0.034126680344343185,
0.026002079248428345,
-0.1139458417892456,
0.05203773081302643,
-0.012245653197169304,
0.01917002908885479,
0.008531670086085796,
0.05599931254982948,
-0.01090274378657341,
0.08373038470745087,
-0.00020287896040827036,
0.020664013922214508,
-0.03481492027640343,
-0.027915723621845245,
0.017558537423610687,
-0.03478134796023369,
-0.020512936636805534,
-0.01689547672867775,
-0.04451743885874748,
0.024827033281326294,
-0.04629679396748543,
0.05720793083310127,
0.029611147940158844,
-0.0063830153085291386,
-0.000419921416323632,
-0.04102587327361107,
0.016719218343496323,
-0.04223449155688286,
0.04116016626358032,
0.007025093771517277,
0.0393136665225029,
-0.012614953331649303,
0.029544001445174217,
-0.004481959156692028,
-0.014881112612783909,
0.004998140037059784,
-0.025011682882905006,
-0.00532967085018754,
-0.032481614500284195,
0.007851822301745415,
0.03424418345093727,
-0.03954867646098137,
-0.028368955478072166,
-0.0074657355435192585,
-0.02536419779062271,
0.041328027844429016,
0.024776674807071686,
0.002591395052149892,
0.0036174615379422903,
-0.018834300339221954,
0.022107642143964767,
-0.06633971631526947,
0.05005693808197975,
-0.006882409565150738,
0.007814052514731884,
0.016022585332393646,
-0.013269620947539806,
0.05160128325223923,
0.009266072884202003,
-0.03491563722491264,
-0.06432534754276276,
0.038709357380867004,
-0.02776464633643627,
0.05559644103050232,
0.005149217322468758,
-0.006655793637037277,
-0.020277928560972214,
-0.03494920954108238,
0.011708489619195461,
-0.01620723493397236,
0.01770961470901966,
-0.03263269364833832,
-0.00700830714777112,
0.009005884639918804,
0.006555075291544199,
0.017189238220453262,
0.008372199721634388,
0.022158000618219376,
-0.009232500568032265,
0.037534311413764954,
0.0010654096258804202,
0.07224851101636887,
-0.028419315814971924,
0.003932205960154533,
0.004291014280170202,
-0.009903955273330212,
-0.040354419499635696,
0.030735833570361137,
-0.009333218447864056,
0.003686705371364951,
0.033186644315719604,
-0.10340400785207748,
0.004578480962663889,
-0.002446612576022744,
0.009190534241497517,
-0.003342584939673543,
-0.01067612785845995,
-0.07755300402641296,
0.024575237184762955,
0.038205765187740326,
0.07379285991191864,
-0.04884831979870796,
-0.040354419499635696,
-0.021889420226216316,
0.03575495630502701,
0.04572605714201927,
0.03864221274852753,
-0.034848492592573166,
0.04915047436952591,
0.0017971901688724756,
-0.021654410287737846,
-0.012329584918916225,
0.02710997872054577,
-0.04340953752398491,
0.005166003480553627,
-0.007772086653858423,
0.05200415849685669,
-0.030014019459486008,
-0.07023414969444275,
-0.05170200392603874,
0.017843905836343765,
-0.020193995907902718,
0.003474777564406395,
-0.015544173307716846,
-0.0320955291390419,
0.03971653804183006,
-0.027982870116829872,
-0.006760708522051573,
-0.038474347442388535,
0.027445705607533455,
-0.00969412550330162,
0.07762014865875244,
-0.0076084197498857975,
0.057912956923246384,
-0.02350091002881527,
0.016853509470820427,
-0.024608811363577843,
0.02128511108458042,
0.03263269364833832,
0.030635114759206772,
0.013538203202188015,
0.004410617519170046,
-0.02415557950735092,
0.01330319419503212,
0.08104456961154938,
-0.013034611940383911,
0.04408099502325058,
-0.05264203995466232,
-0.020026132464408875,
-0.04257022216916084,
0.010231289081275463,
-0.04928476735949516,
-0.025951718911528587,
-0.09138496965169907,
0.03971653804183006,
-0.0012904517352581024,
0.003090789308771491,
-0.009719304740428925,
0.02799965627491474,
0.0008875790517777205,
-0.019086096435785294,
0.026740679517388344,
-0.026186728850007057,
0.03305235132575035,
-0.004351865034550428,
0.013437485322356224,
-0.00773431733250618,
-0.062210265547037125,
0.01794462464749813,
-0.013966254889965057,
0.10185965895652771,
-0.050459813326597214,
-0.03402595967054367,
0.026455311104655266,
-0.020059704780578613,
-0.07453145831823349,
-0.014805573970079422,
0.02994687482714653,
-0.03971653804183006,
-0.03397560119628906,
0.015393096022307873,
-0.05442139506340027,
-0.028889333829283714,
-0.025229906663298607,
-0.025464914739131927,
-0.03426096960902214,
0.011196505278348923,
0.025767069309949875,
0.030719047412276268,
0.014654496684670448,
0.04485316574573517,
0.027026046067476273,
-0.008426754735410213,
0.07788873463869095,
-0.020193995907902718,
-0.05193701386451721,
0.011062214151024818,
-0.1098499670624733,
-0.0014027105644345284,
-0.014343948103487492,
0.025733496993780136,
0.016618501394987106,
0.02105010114610195,
0.024273082613945007,
0.04290594905614853,
-0.011825993657112122,
0.010760059580206871,
-0.010827205143868923,
-0.04978835582733154,
-0.05203773081302643,
0.07003271579742432,
0.041563037782907486,
-0.00641239108517766,
0.06318387389183044,
0.04377884045243263,
-0.04626322165131569,
-0.012002251110970974,
-0.0019146946724504232,
-0.014763607643544674,
0.009173748083412647,
-0.022930173203349113,
0.031709443777799606,
0.0077636935748159885,
-0.05586501955986023,
-0.02373591996729374,
0.012799602933228016,
-0.025951718911528587,
0.004679199308156967,
0.03521779179573059,
-0.019002165645360947,
0.042268067598342896,
-0.00006075221244827844,
-0.02469274215400219,
0.03834005817770958,
-0.022829456254839897,
0.07224851101636887,
-0.050963401794433594,
-0.0005471305921673775,
-0.05002336576581001,
0.02494453825056553,
0.009769664146006107,
0.019472183659672737,
-0.00018005998572334647,
0.0015548369847238064,
-0.024306656792759895,
0.0057996888644993305,
-0.035822100937366486,
0.000003905616722477134,
0.03337129205465317,
0.06687687337398529,
-0.005002336576581001,
-0.030567970126867294,
0.07882876694202423,
0.005682184360921383,
0.02900683879852295,
-0.09172069281339645,
-0.017558537423610687,
0.03672856464982033,
-0.008829628117382526,
0.03457991033792496,
-0.07553864270448685,
0.023349832743406296,
-0.053078483790159225,
0.012556200847029686,
-0.014201264828443527,
0.03682928532361984,
-0.04478602111339569,
-0.005241542123258114,
-0.031709443777799606,
0.0033299950882792473,
0.013689280487596989,
-0.014150905422866344,
0.018364282324910164,
-0.046162500977516174,
0.025246692821383476,
-0.030719047412276268,
-0.004792507272213697,
-0.0011582591105252504,
0.02350091002881527,
-0.016794757917523384,
-0.0034558929037302732,
-0.019002165645360947,
0.04116016626358032,
0.07291996479034424,
-0.03578852862119675,
0.018750369548797607,
0.0007412229315377772,
0.010508264414966106,
-0.03258233517408371,
0.002169637707993388,
-0.057644374668598175,
0.012539414688944817,
-0.010399152524769306,
-0.12421909719705582,
-0.012740850448608398,
-0.022695165127515793,
0.04918404668569565,
0.0200932789593935,
0.0337909534573555,
0.02393735572695732,
-0.014293589629232883,
0.024827033281326294,
0.06372103840112686,
0.06586969643831253,
-0.031759802252054214,
0.018750369548797607,
0.023198755457997322,
-0.05012408643960953,
-0.009198928251862526,
-0.015636498108506203,
0.01291710790246725,
-0.007247512694448233,
0.02398771420121193,
0.00948429573327303,
-0.011381154879927635,
-0.028889333829283714,
-0.009668946266174316,
0.008603012189269066,
0.017063340172171593,
0.0121113620698452,
0.06717903167009354,
-0.028167519718408585,
-0.032750196754932404,
0.02637137845158577,
0.045625340193510056,
0.02254408784210682,
0.01676957868039608,
0.028402529656887054,
-0.08017167448997498,
0.020311500877141953,
0.0014688068768009543,
0.019589686766266823,
-0.03854149207472801,
-0.015200053341686726,
0.0008314496371895075,
0.033421650528907776,
0.06657472252845764,
-0.03864221274852753,
-0.010071818716824055,
-0.017592109739780426,
-0.023349832743406296,
0.01943860948085785,
0.02684139646589756,
0.017659256234765053,
0.01256459392607212,
0.020815091207623482,
0.005434585735201836,
0.008531670086085796,
-0.022661592811346054,
-0.0049729603342711926,
-0.06503037363290787,
0.022476941347122192,
0.020815091207623482,
0.03716501221060753,
-0.01794462464749813,
0.045625340193510056,
0.01116293203085661,
-0.014553777873516083,
0.009987886995077133,
-0.043510258197784424,
0.00013809408119414002,
-0.059054430574178696,
0.020899023860692978,
-0.06533253192901611,
0.01893501915037632,
-0.04481959342956543,
-0.03914580121636391,
0.010558622889220715,
0.006143809296190739,
0.08493900299072266,
-0.039649393409490585,
-0.007637795992195606,
-0.015821147710084915,
-0.04011940956115723,
0.005673791281878948,
-0.03914580121636391,
-0.09447365999221802,
-0.006106039974838495,
-0.04908332973718643,
-0.0292250607162714,
-0.024122005328536034,
0.0037433593533933163,
0.07379285991191864,
0.00920732133090496,
-0.02543134242296219,
0.011977070942521095,
-0.022476941347122192,
0.014083759859204292,
0.04968763887882233,
0.009601800702512264,
0.04831115901470184,
0.07218136638402939,
0.05583144724369049,
0.007935754023492336,
-0.05512642115354538,
-0.03793718293309212,
-0.0962865874171257,
0.004261638503521681,
0.027949297800660133,
-0.04797542840242386,
-0.06687687337398529,
-0.04189876466989517,
-0.047841139137744904,
-0.03348879888653755,
-0.021889420226216316,
-0.031054774299263954,
0.0435774028301239,
0.00749091524630785,
0.01801176927983761,
-0.02538098394870758,
-0.0009830514900386333,
-0.005044302437454462,
-0.02972865104675293,
0.013361946679651737,
-0.011137752793729305,
0.020747946575284004,
0.027915723621845245,
0.049754783511161804,
-0.0035524144768714905,
-0.024390587583184242,
-0.061673104763031006,
-0.04861331358551979,
0.004956174176186323,
0.008023882284760475,
-0.01043272577226162,
-0.009391970932483673,
0.03538565710186958,
-0.07970166206359863,
0.06526538729667664,
-0.03362308815121651,
0.04055585712194443,
-0.009333218447864056,
-0.02803322859108448,
-0.05989374965429306,
-0.007255906239151955,
-0.025011682882905006,
0.0009657405316829681,
-0.017558537423610687,
0.024071646854281425,
-0.005564679857343435,
-0.0393136665225029,
0.04988907650113106,
-0.07144276797771454,
0.03897793963551521,
0.05146699398756027,
-0.04451743885874748,
0.016979407519102097,
0.023081250488758087,
-0.02204049751162529,
-0.008267284370958805,
-0.050929829478263855,
-0.013689280487596989,
-0.034160252660512924,
-0.04136160388588905,
-0.02971186488866806,
-0.002713096095249057,
-0.023416979238390923,
-0.03162550926208496,
0.00007901394565124065,
-0.000886005291249603,
-0.00790637731552124,
0.053514931350946426,
0.007868608459830284,
0.0010014115832746029,
0.003955286927521229,
0.0765458196401596,
0.004267933312803507,
0.04126088321208954,
0.023081250488758087,
0.02016042359173298,
-0.04528961330652237,
-0.05583144724369049,
-0.04629679396748543,
0.07090560346841812,
-0.0117420619353652,
0.028654323890805244,
-0.0011047526495531201,
-0.0018905643373727798,
-0.0680183470249176,
0.022879814729094505,
0.01727316901087761,
0.004905815236270428,
-0.0014467748114839196,
0.007083845790475607,
0.02967829257249832,
-0.06707831472158432,
-0.023064464330673218,
0.026455311104655266,
0.001847549225203693,
-0.005594056099653244,
-0.004666609223932028,
-0.01175884809345007,
0.02805001474916935,
0.0030886910390108824,
0.03308592364192009,
-0.017608895897865295,
-0.032229818403720856,
0.025733496993780136,
0.04055585712194443,
-0.036090683192014694,
0.022963747382164,
-0.04055585712194443,
-0.02108367346227169,
0.016274379566311836,
0.06805191934108734,
-0.013731245882809162,
0.03958224877715111,
-0.08514044433832169,
-0.0030761014204472303,
0.032011598348617554,
0.0028935496229678392,
0.0029040409717708826,
0.054052092134952545,
-0.05536143109202385,
0.025548847392201424,
-0.05391780287027359,
0.028889333829283714,
-0.02991330251097679,
0.016257593408226967,
0.023886997252702713,
0.02180548757314682,
-0.05099697411060333,
0.013907503336668015,
0.014948257245123386,
0.013185689225792885,
0.03518421947956085,
-0.030265815556049347,
-0.04475244879722595,
0.07110703736543655,
0.03501635789871216,
-0.0006924375193193555,
-0.003153738332912326,
0.031978026032447815,
-0.025716710835695267,
-0.017046554014086723,
0.025078829377889633,
-0.06412391364574432,
0.036258548498153687,
0.005577269475907087,
0.052138447761535645,
0.028872547671198845,
-0.03803790360689163,
-0.010718094184994698,
0.013554989360272884,
0.0446181558072567,
0.03308592364192009,
0.030484037473797798,
-0.010155750438570976,
-0.0027256859466433525,
0.05250774696469307,
0.029141128063201904,
-0.06059877574443817,
0.010071818716824055,
-0.04693467542529106,
0.029611147940158844
]
|
40,406 | pyglove.core.geno.base | parameters | Returns parameters for this DNA to emit based on its spec.
Deprecated: use `to_dict` instead.
Args:
use_literal_values: If True, use literal values from DNASpec for Choices,
otherwise returns '{choice}/{num_candidates} ({literal})'. Otherwise
returns '{choice}/{num_candidates}'.
Returns:
Dict of parameter names to their values mapped from this DNA.
Raises:
RuntimeError: If DNA is not associated with a DNASpec.
| def parameters(
self, use_literal_values: bool = False) -> Dict[str, str]:
"""Returns parameters for this DNA to emit based on its spec.
Deprecated: use `to_dict` instead.
Args:
use_literal_values: If True, use literal values from DNASpec for Choices,
otherwise returns '{choice}/{num_candidates} ({literal})'. Otherwise
returns '{choice}/{num_candidates}'.
Returns:
Dict of parameter names to their values mapped from this DNA.
Raises:
RuntimeError: If DNA is not associated with a DNASpec.
"""
value_type = 'choice_and_literal' if use_literal_values else 'choice'
return self.to_dict(value_type=value_type)
| (self, use_literal_values: bool = False) -> Dict[str, str] | [
0.10158080607652664,
-0.02157749980688095,
0.03372303023934364,
-0.10128137469291687,
0.001994234509766102,
0.04588727653026581,
-0.03413474187254906,
-0.03342360258102417,
0.016674373298883438,
-0.029138045385479927,
-0.055132102221250534,
0.03106561116874218,
-0.04495156556367874,
0.02438463270664215,
0.004416556563228369,
-0.03050418384373188,
-0.006620156578719616,
0.06542492657899857,
-0.04495156556367874,
-0.00629265746101737,
0.026387054473161697,
0.08234257996082306,
-0.04442756623029709,
0.022737780585885048,
-0.015046235173940659,
0.0007152342004701495,
-0.019350506365299225,
-0.06579920649528503,
-0.02960590086877346,
0.03832672908902168,
0.010592250153422356,
0.005361624993383884,
0.0266303401440382,
0.006788584403693676,
-0.06179436668753624,
0.002605955582112074,
0.007415511179715395,
0.07575517892837524,
-0.03471488505601883,
-0.008819078095257282,
-0.05191325396299362,
-0.050865259021520615,
-0.003850451437756419,
-0.017582012340426445,
-0.04846983775496483,
-0.002563848625868559,
0.0010222644777968526,
0.01785336807370186,
-0.0017193692037835717,
-0.0010520901996642351,
0.11490532755851746,
-0.05958608537912369,
-0.007930152118206024,
0.019968075677752495,
-0.07556803524494171,
-0.031159181147813797,
-0.0018877972615882754,
0.06265521794557571,
0.05296125262975693,
-0.02225121110677719,
-0.009909180924296379,
0.009286933578550816,
-0.051538970321416855,
-0.05969837307929993,
-0.0034831848461180925,
-0.04461470991373062,
0.023243065923452377,
-0.02348634973168373,
-0.010189894586801529,
0.03162703663110733,
0.017937583848834038,
-0.09237340837717056,
0.021652355790138245,
-0.007640081457793713,
0.01516787800937891,
-0.005328875035047531,
-0.026592910289764404,
-0.005960480310022831,
0.03422831371426582,
-0.018807794898748398,
-0.0126133868470788,
0.020267503336071968,
-0.01639365963637829,
-0.047721270471811295,
0.00008633397374069318,
0.021483927965164185,
-0.039187584072351456,
-0.012735028751194477,
0.10008366405963898,
-0.03252531960606575,
-0.02152135595679283,
0.009824967011809349,
0.03847644478082657,
0.07777631282806396,
-0.0034036494325846434,
0.006217800546437502,
0.04375385493040085,
0.028127476572990417,
0.03112175315618515,
-0.03359203040599823,
-0.00726111838594079,
-0.04263100028038025,
-0.015476662665605545,
0.009366468526422977,
-0.021109644323587418,
-0.05876266211271286,
-0.036998018622398376,
-0.009464718401432037,
0.05734037980437279,
-0.02382320538163185,
-0.03827058523893356,
0.012716314755380154,
0.018901364877820015,
0.031271468847990036,
-0.010685821063816547,
0.00879568513482809,
-0.014784236438572407,
-0.03535116836428642,
-0.024103919044137,
-0.012173602357506752,
-0.0336107462644577,
0.06845662742853165,
-0.015579590573906898,
-0.011677674949169159,
-0.04046015068888664,
0.020810216665267944,
-0.022943638265132904,
0.021334214136004448,
0.03112175315618515,
-0.01011503767222166,
0.07837516814470291,
0.021540071815252304,
-0.005207232665270567,
-0.006072765216231346,
0.002933454466983676,
-0.009562968276441097,
0.014690665528178215,
0.027229195460677147,
0.05026640370488167,
0.027378909289836884,
0.030915897339582443,
0.028632761910557747,
-0.0023299208842217922,
-0.010573536157608032,
0.013006385415792465,
-0.0510149709880352,
0.06284236162900925,
-0.013006385415792465,
-0.0583135187625885,
-0.011312748305499554,
0.01961250603199005,
0.03224460780620575,
-0.02017393335700035,
0.010657750070095062,
-0.051314398646354675,
-0.03231946378946304,
0.03078489750623703,
-0.09177455306053162,
-0.019097864627838135,
-0.019097864627838135,
0.04285557195544243,
-0.009675253182649612,
-0.01899493671953678,
0.042107000946998596,
0.03505174070596695,
0.03546345233917236,
0.03617459163069725,
-0.034003742039203644,
0.07231175899505615,
-0.05969837307929993,
0.02298106625676155,
0.03044804185628891,
-0.004491413477808237,
0.004690252244472504,
0.019593792036175728,
0.048058126121759415,
0.028164906427264214,
-0.051314398646354675,
-0.021221928298473358,
-0.04495156556367874,
0.0706649050116539,
0.00823893677443266,
-0.004177950322628021,
-0.017329370602965355,
0.0403478667140007,
-0.029138045385479927,
0.012538529932498932,
0.06531263887882233,
-0.0051370542496442795,
-0.01452223677188158,
0.038850728422403336,
-0.00047165690921247005,
-0.040647294372320175,
0.08279172331094742,
-0.027678336948156357,
-0.005721873603761196,
0.025863057002425194,
-0.03372303023934364,
-0.04495156556367874,
0.04566270485520363,
0.01118174847215414,
-0.01902300864458084,
-0.07695288956165314,
-0.01146246213465929,
-0.01860193721950054,
0.0018831187626346946,
0.04072215035557747,
-0.05127697065472603,
0.03580030798912048,
-0.07680317014455795,
-0.0252267736941576,
-0.06579920649528503,
0.04068472236394882,
-0.03752201795578003,
0.019649934023618698,
-0.03967415168881416,
0.010639036074280739,
0.019182078540325165,
-0.02741633728146553,
-0.024291060864925385,
0.04689784348011017,
0.008870542049407959,
0.09888595342636108,
0.0013357276329770684,
0.024347204715013504,
-0.017039300873875618,
-0.026424482464790344,
-0.022213783115148544,
-0.037559445947408676,
0.01295024249702692,
-0.00439082458615303,
0.01697380095720291,
0.01785336807370186,
0.026443198323249817,
0.014877807348966599,
0.015224020928144455,
-0.007565224543213844,
-0.019313078373670578,
-0.01266952883452177,
0.037615589797496796,
0.016150373965501785,
0.03617459163069725,
-0.026087626814842224,
0.012875385582447052,
-0.04169528931379318,
-0.0031673822086304426,
0.02011778950691223,
0.04899383708834648,
0.04921840876340866,
-0.030691325664520264,
0.03061646968126297,
-0.03808344528079033,
-0.004783823154866695,
0.08032144606113434,
-0.08032144606113434,
0.05296125262975693,
-0.03460259735584259,
0.04439013823866844,
-0.01866743713617325,
0.008220222778618336,
-0.017909511923789978,
0.03377917408943176,
-0.06868120282888412,
0.023243065923452377,
0.03370431438088417,
-0.0133151700720191,
0.001046242075972259,
0.016964443027973175,
-0.06950462609529495,
-0.01795629784464836,
0.04510127753019333,
0.03202003613114357,
-0.01250110100954771,
-0.06168207898736,
0.02494606003165245,
0.007944188080728054,
0.06868120282888412,
-0.02915675938129425,
0.01673051528632641,
0.037054162472486496,
0.004917162004858255,
-0.007406153716146946,
0.028108762577176094,
0.015064950101077557,
0.05228754132986069,
-0.005698481108993292,
0.009843681007623672,
0.0757177472114563,
0.022045355290174484,
-0.023055922240018845,
-0.0397864393889904,
-0.03780272975564003,
0.03870101273059845,
0.023299207910895348,
0.03634302318096161,
0.0017661547753959894,
0.019125936552882195,
-0.11917217075824738,
0.03769044578075409,
0.019125936552882195,
0.023617349565029144,
0.010639036074280739,
0.0622435063123703,
0.06669749319553375,
-0.04495156556367874,
-0.0019287345930933952,
0.06029722839593887,
-0.05191325396299362,
-0.012959599494934082,
0.005394374951720238,
-0.05588066950440407,
0.029287759214639664,
0.060259800404310226,
0.015401805751025677,
-0.005525374319404364,
-0.01168703194707632,
-0.0024141347967088223,
-0.006947655230760574,
0.051314398646354675,
0.013418097980320454,
0.00030703021911904216,
0.03342360258102417,
-0.031028181314468384,
-0.02309335209429264,
0.0043440391309559345,
-0.003967415541410446,
-0.008954755961894989,
0.03580030798912048,
0.04775869846343994,
-0.03651145100593567,
-0.05363496392965317,
-0.020772788673639297,
-0.03553830832242966,
-0.015345662832260132,
-0.016908301040530205,
0.027397623285651207,
0.012641457840800285,
0.03512659668922424,
-0.014905878342688084,
-0.012154888361692429,
-0.018255725502967834,
0.011808674782514572,
-0.008809720166027546,
0.010610964149236679,
-0.04304271191358566,
-0.01955636404454708,
-0.048058126121759415,
-0.008720828220248222,
0.03168318048119545,
-0.06774548441171646,
-0.011958388611674309,
0.03505174070596695,
0.029736900702118874,
0.03656759113073349,
0.01455030869692564,
-0.02348634973168373,
0.04049757868051529,
0.014204095117747784,
-0.028501762077212334,
-0.01314674224704504,
0.014784236438572407,
-0.04712241515517235,
0.03989872336387634,
-0.018807794898748398,
0.03830801323056221,
-0.009600396268069744,
-0.01743229851126671,
-0.03168318048119545,
0.058388374745845795,
-0.02157749980688095,
-0.0013871918199583888,
-0.013633311726152897,
-0.02393549121916294,
0.0043019321747124195,
0.04880669340491295,
-0.027042051777243614,
-0.03282474726438522,
0.0022503852378576994,
-0.04618670418858528,
-0.0007590956520289183,
-0.03937472403049469,
-0.018003081902861595,
0.02382320538163185,
0.07762660086154938,
-0.05655438080430031,
-0.043903566896915436,
0.011050748638808727,
0.0036095057148486376,
0.014260238036513329,
-0.004748734179884195,
-0.06557463854551315,
-0.000014949448086554185,
-0.021221928298473358,
0.03993615135550499,
-0.04431528225541115,
-0.03278731927275658,
-0.034190885722637177,
-0.033011890947818756,
-0.036474019289016724,
-0.013680096715688705,
-0.008398007601499557,
-0.07118890434503555,
-0.0260689128190279,
0.00523998262360692,
0.02752862311899662,
-0.02056693099439144,
0.08443857729434967,
0.05909951776266098,
0.006933619733899832,
0.011284676380455494,
-0.10068251937627792,
-0.04191986098885536,
-0.014774879440665245,
0.005979194305837154,
-0.0023673493415117264,
-0.005375660490244627,
0.018807794898748398,
0.028408190235495567,
0.021727213636040688,
-0.01860193721950054,
0.044914133846759796,
-0.07032804936170578,
-0.008557078428566456,
0.07762660086154938,
0.08623514324426651,
0.05329810827970505,
0.03574416786432266,
-0.010582893155515194,
0.018171511590480804,
0.015560876578092575,
-0.06542492657899857,
-0.00422239676117897,
-0.02303720824420452,
-0.03673601895570755,
0.00223751924932003,
0.0147187365218997,
-0.0058903018943965435,
-0.0018269760766997933,
0.022045355290174484,
0.000023063817934598774,
-0.02893218956887722,
-0.001855047419667244,
0.026929767802357674,
0.020136503502726555,
-0.0324878916144371,
-0.03477102518081665,
-0.02084764465689659,
0.027154337614774704,
0.013390026986598969,
-0.0369793064892292,
0.07152575999498367,
-0.025919198989868164,
0.06201893463730812,
-0.038850728422403336,
-0.005183839704841375,
0.022999780252575874,
-0.0266303401440382,
-0.029512330889701843,
-0.02202664129436016,
-0.005735909566283226,
0.034752313047647476,
-0.018723580986261368,
0.012407530099153519,
0.07979744672775269,
-0.03815830126404762,
0.0560678131878376,
0.016833443194627762,
-0.0003853960370179266,
-0.06205636262893677,
0.020211361348628998,
0.03703544661402702,
0.06703434884548187,
0.037727873772382736,
-0.055805813521146774,
-0.031589608639478683,
0.021951783448457718,
0.021203214302659035,
0.022887494415044785,
-0.06418978422880173,
-0.028108762577176094,
0.01241688709706068,
-0.04461470991373062,
0.001448013004846871,
0.017638156190514565,
0.019743505865335464,
-0.006297335959970951,
-0.03271246328949928,
0.01764751225709915,
-0.10330250859260559,
0.020099075511097908,
-0.015214663930237293,
-0.023673491552472115,
0.068905770778656,
-0.02584434300661087,
0.0041171289049088955,
0.03881330043077469,
0.042219288647174835,
-0.047833554446697235,
0.012379459105432034,
0.03505174070596695,
-0.027902906760573387,
-0.05936151742935181,
-0.015008807182312012,
0.012229745276272297,
0.05370981991291046,
-0.07717745751142502,
-0.030803611502051353,
0.03694187477231026,
-0.03767172992229462,
0.012828599661588669,
-0.05666666850447655,
-0.010657750070095062,
0.09319683164358139,
-0.000660846009850502,
0.015111735090613365,
0.01053610723465681,
0.01171510387212038,
-0.0040773614309728146,
-0.03230074793100357,
-0.04293042793869972,
-0.01574801839888096,
0.042892999947071075,
-0.005020090378820896,
-0.03435931354761124,
0.026592910289764404,
0.024422060698270798,
0.010433179326355457,
-0.03308674693107605,
0.011471819132566452,
-0.024197490885853767,
0.045363277196884155,
-0.014363165944814682,
-0.00243752752430737,
0.031271468847990036,
-0.014700022526085377,
0.02034236118197441,
0.06602378189563751,
0.03258146345615387,
-0.018003081902861595,
0.08174372464418411,
0.058276090770959854,
0.04802069813013077,
0.030148614197969437,
0.017123514786362648,
0.08466314524412155,
0.007364046759903431,
0.023411493748426437,
-0.011836745776236057,
0.040871862322092056,
-0.05004183202981949,
0.03130889683961868,
-0.03522016853094101,
-0.03982386738061905,
-0.01303445640951395,
-0.028520476073026657,
-0.0026878302451223135,
0.040422722697257996,
-0.005328875035047531,
-0.02090378664433956,
0.0016936372267082334,
0.012023888528347015,
-0.004103093408048153,
-0.030691325664520264,
-0.0038832013960927725,
-0.025638485327363014,
0.010798106901347637,
0.0025498128961771727,
0.041321005672216415,
-0.04869440943002701,
-0.011911602690815926,
0.022457066923379898,
0.03553830832242966,
0.00991853792220354,
0.0022234837524592876,
-0.051875825971364975,
-0.02758476510643959,
0.0099466098472476,
0.0038270587101578712,
-0.06171950697898865,
0.03819572925567627,
0.0015544501366093755,
0.0431549996137619,
-0.05037868767976761,
0.012257816269993782,
0.027098195627331734,
0.08346543461084366,
-0.0030106506310403347,
0.026948481798171997,
0.039524439722299576,
-0.0493306927382946,
-0.021109644323587418,
-0.012903456576168537,
0.03892558440566063,
-0.01463452260941267,
-0.016122303903102875,
0.025039630010724068,
-0.017404228448867798,
0.03428445756435394,
0.019406650215387344,
-0.04274328425526619,
-0.044015854597091675,
0.0053148395381867886,
-0.01311867032200098,
0.049742404371500015,
0.04031043499708176,
0.01955636404454708,
0.05026640370488167,
-0.001014661742374301,
-0.023505063727498055,
-0.04798327013850212,
0.00017880855011753738,
-0.007728974334895611,
-0.04180757328867912,
-0.08848084509372711,
0.02455306053161621,
-0.024365918710827827,
0.0019743505399674177,
-0.03937472403049469,
0.025020916014909744,
-0.041545577347278595,
-0.008833113126456738,
0.017703654244542122,
-0.034752313047647476,
-0.007219011429697275,
-0.03246917575597763,
-0.06261779367923737,
-0.05307353660464287,
-0.03273117542266846,
-0.05228754132986069,
0.006704370491206646,
0.048282694071531296,
0.005483267363160849,
-0.0012398172402754426,
0.0036586306523531675,
-0.03546345233917236,
0.025994056835770607,
0.010947820730507374,
-0.07077719271183014,
-0.0042528072372078896,
0.05621752515435219,
0.03061646968126297,
-0.011911602690815926,
-0.03149603679776192,
0.027622193098068237,
0.00817811582237482,
-0.00037194517790339887,
-0.020754072815179825,
-0.03836415708065033,
0.021652355790138245,
-0.010760677978396416,
0.003922969102859497,
0.021165786311030388,
-0.017329370602965355,
-0.029231617227196693,
0.002030493225902319,
-0.015570233575999737,
-0.02023007534444332,
0.018237009644508362,
0.03381660208106041,
0.03600616380572319,
-0.03027961403131485,
-0.0024889917112886906,
0.004046950954943895,
-0.089678555727005,
-0.02006164751946926,
0.01011503767222166,
-0.06531263887882233,
0.01706737093627453,
0.039749011397361755,
0.002260911976918578,
0.004098414909094572,
-0.056704096496105194,
0.008617899380624294,
-0.018396081402897835,
-0.0034083279315382242,
0.012604028917849064,
-0.03767172992229462,
0.02314949408173561,
0.05284896492958069,
-0.026368340477347374,
0.012510458007454872,
0.00781318824738264,
0.018171511590480804,
-0.007555867545306683,
0.00787400919944048,
-0.04472699388861656,
-0.007242404390126467,
-0.027266623452305794,
0.002685490995645523,
0.04517613351345062,
0.046822987496852875,
-0.0381021574139595,
-0.027098195627331734,
-0.01410116720944643,
0.044801849871873856,
0.020978644490242004,
0.04663584381341934,
-0.024908630177378654,
-0.009305647574365139,
0.028464334085583687,
-0.010947820730507374,
-0.006250550504773855,
0.0018983240006491542,
0.010807463899254799,
-0.04218186065554619,
-0.004566270392388105,
0.03422831371426582,
-0.018639367073774338,
0.03780272975564003,
-0.0027837406378239393,
0.0016796014970168471,
0.044240422546863556,
0.0037919695023447275,
-0.004832948092371225,
-0.042780715972185135,
-0.0011825049296021461,
-0.013549097813665867,
0.03877586871385574,
0.030653897672891617,
0.012379459105432034,
-0.0000315619763568975,
-0.01045189332216978,
0.047945838421583176,
0.004234092775732279,
0.014756165444850922,
0.029755614697933197,
-0.05554381385445595,
-0.02309335209429264,
0.008168758824467659,
-0.02460920438170433,
0.010246037505567074,
0.020042933523654938,
-0.08571114391088486,
-0.048058126121759415,
-0.06190665066242218,
-0.00014605866454076022,
0.07927344739437103,
-0.011200462467968464,
0.007031869143247604,
0.015046235173940659,
-0.030429327860474586,
0.1322721242904663,
0.015598305501043797,
0.004767448175698519,
0.006287978962063789,
0.06437692791223526,
-0.02528291568160057,
-0.016309445723891258,
0.03346103057265282,
-0.04899383708834648,
0.011780603788793087,
0.05337296426296234,
-0.02590048499405384,
-0.03050418384373188,
0.004082039929926395,
-0.034452885389328,
0.03658630698919296,
0.027004623785614967,
-0.018190225586295128,
-0.021951783448457718,
-0.045026421546936035,
0.06332892924547195,
0.03808344528079033,
0.020304931327700615,
-0.06430207192897797,
-0.018761008977890015,
-0.008369936607778072,
-0.02696719579398632
]
|
40,411 | pyglove.core.geno.base | set_metadata | Set metadata associated with a key.
Metadata associated with the DNA will be persisted and carried over across
processes, which is different the `userdata`. (See `set_userdata` for more
details.)
Args:
key: Key for the metadata.
value: Value for the metadata.
cloneable: If True, the key/value will be propagated during clone.
Returns:
Self.
| def set_metadata(
self, key: str, value: Any, cloneable: bool = False) -> 'DNA':
"""Set metadata associated with a key.
Metadata associated with the DNA will be persisted and carried over across
processes, which is different the `userdata`. (See `set_userdata` for more
details.)
Args:
key: Key for the metadata.
value: Value for the metadata.
cloneable: If True, the key/value will be propagated during clone.
Returns:
Self.
"""
self.metadata.rebind(
{key: value}, raise_on_no_change=False, skip_notification=True)
if cloneable:
self._cloneable_metadata_keys.add(key)
return self
| (self, key: str, value: Any, cloneable: bool = False) -> pyglove.core.geno.base.DNA | [
0.0066785430535674095,
-0.001976964995265007,
-0.036298371851444244,
0.0235850028693676,
-0.00706298416480422,
0.021993596106767654,
0.00011133698717458174,
0.08561409264802933,
0.05274886637926102,
0.009105885401368141,
-0.049744863063097,
0.05904297158122063,
0.024157192558050156,
0.07438484579324722,
0.0013176040956750512,
-0.016423672437667847,
0.022512143477797508,
0.09741553664207458,
0.0018942655296996236,
-0.02934267558157444,
0.020294902846217155,
0.02805524505674839,
-0.03526127710938454,
-0.07688818126916885,
0.007527889218181372,
-0.0027268482372164726,
-0.008180544711649418,
0.006052709184587002,
0.04452361911535263,
0.032293036580085754,
0.0006900937878526747,
-0.07123779505491257,
-0.025426741689443588,
0.00616893544793129,
0.02052735537290573,
-0.021457167342305183,
-0.05775554105639458,
0.006919936276972294,
-0.056074727326631546,
0.012713370844721794,
-0.006419268902391195,
-0.021725380793213844,
0.010478249751031399,
-0.0065801977179944515,
0.020777689293026924,
0.045095812529325485,
0.012561382725834846,
0.05328529700636864,
0.03111289069056511,
-0.019490258768200874,
-0.008757205680012703,
0.02982546202838421,
-0.009333867579698563,
-0.007246263790875673,
-0.03240032121539116,
0.07674513012170792,
0.010889511555433273,
0.043808382004499435,
-0.013491193763911724,
-0.007380371447652578,
0.0005911896587349474,
-0.010648119263350964,
-0.009968642145395279,
-0.05367867648601532,
0.025230051949620247,
0.003625367069616914,
0.000054970019846223295,
-0.0429500937461853,
0.030683748424053192,
-0.025319457054138184,
0.0022999399807304144,
-0.05096077173948288,
0.07177422195672989,
0.007009340915828943,
-0.025247933343052864,
0.03268641605973244,
-0.1090739294886589,
0.013991860672831535,
0.015833601355552673,
0.0009555144351907074,
0.009736189618706703,
-0.005918601993471384,
-0.029521485790610313,
-0.055323727428913116,
-0.0410904735326767,
0.04556071758270264,
-0.009467974305152893,
0.022708835080266,
0.06490793079137802,
0.0012829597108066082,
-0.005337470211088657,
-0.009870296344161034,
-0.016620364040136337,
0.03620896860957146,
-0.004347311332821846,
0.012668668292462826,
0.015681613236665726,
-0.004899386316537857,
0.01572631485760212,
0.02108166553080082,
-0.040697094053030014,
-0.014581932686269283,
0.0847558081150055,
0.041841473430395126,
-0.033920202404260635,
0.025319457054138184,
-0.028681078925728798,
0.02934267558157444,
-0.02548038586974144,
-0.043128903955221176,
-0.07881932705640793,
-0.0039807516150176525,
-0.00955737940967083,
0.005596744362264872,
0.011971310712397099,
0.008158193901181221,
0.032561250030994415,
-0.05975820869207382,
-0.0010801224270835519,
0.015699492767453194,
0.016441553831100464,
0.006656191777437925,
0.012829597108066082,
0.012561382725834846,
-0.0218863096088171,
0.021457167342305183,
0.02045583166182041,
0.003978516440838575,
0.013097812421619892,
-0.06347744911909103,
-0.042592477053403854,
0.021653857082128525,
0.07409875094890594,
0.05639658495783806,
0.038050707429647446,
0.012606085278093815,
0.0074071926064789295,
0.022726714611053467,
-0.03508246690034866,
0.033777154982089996,
-0.0480998158454895,
-0.03218574821949005,
0.07917694747447968,
0.0019557313062250614,
0.06912783533334732,
-0.07259674370288849,
0.0013488958356902003,
0.004577528685331345,
-0.026106219738721848,
-0.0626191645860672,
0.009941820055246353,
-0.03876594826579094,
-0.010210035368800163,
0.04931572079658508,
-0.023638645187020302,
-0.01013851072639227,
0.01189084630459547,
0.02168961986899376,
0.016101814806461334,
0.07738884538412094,
0.04087590053677559,
-0.01287429966032505,
0.004854683764278889,
0.027089672163128853,
-0.03844409063458443,
-0.015172004699707031,
0.01620016060769558,
-0.024425407871603966,
0.04216333106160164,
0.023066453635692596,
0.032293036580085754,
0.00035706066410057247,
0.03288310766220093,
0.027286363765597343,
-0.022583667188882828,
-0.011211369186639786,
0.011980251409113407,
-0.02548038586974144,
0.02337042987346649,
0.02623138576745987,
0.018345877528190613,
0.006620429921895266,
-0.009673605673015118,
0.003938284236937761,
0.0038600547704845667,
0.023120097815990448,
0.01979423686861992,
0.05135415121912956,
0.05900720879435539,
0.06462183594703674,
0.06058073416352272,
-0.06079530343413353,
-0.03822951763868332,
-0.008788498118519783,
0.01338390726596117,
-0.03488577529788017,
0.029360556975007057,
-0.11379450559616089,
-0.05042434111237526,
0.06948545575141907,
0.009088004007935524,
-0.037693090736866,
-0.0007845276268199086,
-0.009092474356293678,
0.019490258768200874,
-0.02201147750020027,
-0.0019032059935852885,
0.007889978587627411,
-0.033848680555820465,
-0.03923085331916809,
-0.010791166685521603,
-0.06029463931918144,
0.024103550240397453,
0.017308780923485756,
0.038801711052656174,
-0.08282466232776642,
-0.07155965268611908,
-0.033312249928712845,
0.03274006024003029,
-0.0004573617479763925,
0.08060742169618607,
0.010004404000937939,
0.03320496529340744,
0.05375020205974579,
0.027894316241145134,
0.008144782856106758,
-0.001632756320759654,
-0.051747534424066544,
-0.008310182020068169,
0.0012058480642735958,
-0.005690619349479675,
0.061367496848106384,
-0.04795676842331886,
-0.013535896316170692,
-0.0041036829352378845,
-0.043128903955221176,
0.03833680599927902,
-0.025087004527449608,
-0.04620443284511566,
0.01006698701530695,
-0.00039980735164135695,
0.018864424899220467,
0.031202295795083046,
0.020348547026515007,
-0.0445951446890831,
-0.02440752647817135,
-0.05671844258904457,
0.055752869695425034,
0.03794342279434204,
0.0023647586349397898,
0.04438057169318199,
-0.01389351487159729,
-0.00999546330422163,
0.03890899568796158,
-0.01823859103024006,
0.008891313336789608,
-0.023424074053764343,
-0.022744596004486084,
0.021439285948872566,
-0.018649853765964508,
-0.0019702597055584192,
-0.0488150529563427,
-0.02669629082083702,
-0.023209501057863235,
0.02127835713326931,
0.01620016060769558,
0.04688390716910362,
0.04291433468461037,
-0.041376568377017975,
-0.05128262937068939,
0.025319457054138184,
0.03329436853528023,
-0.051068056374788284,
-0.07474246621131897,
-0.036298371851444244,
-0.02324526384472847,
-0.00999546330422163,
-0.05071043595671654,
-0.042592477053403854,
-0.0044188350439071655,
0.014948492869734764,
-0.0318281315267086,
0.06247611716389656,
-0.02338831126689911,
0.024157192558050156,
-0.008748265914618969,
-0.0002236518485005945,
0.055395253002643585,
0.01822965033352375,
-0.011023619212210178,
-0.032364558428525925,
-0.001983670284971595,
-0.06126021221280098,
0.044487860053777695,
-0.04398719221353531,
-0.028716841712594032,
-0.11579717695713043,
-0.0021926541812717915,
-0.010174273513257504,
-0.011980251409113407,
0.017094209790229797,
-0.00999546330422163,
-0.015592208132147789,
0.03840832784771919,
-0.05868535116314888,
0.013920336961746216,
0.056611157953739166,
0.027429411187767982,
-0.02419295534491539,
0.04248518869280815,
0.04091166332364082,
0.008368294686079025,
-0.07667361199855804,
0.09991887211799622,
0.03572618216276169,
-0.03189965337514877,
0.005972244776785374,
-0.010916333645582199,
-0.026124101132154465,
0.032096344977617264,
-0.017523352056741714,
-0.041448093950748444,
-0.06100987643003464,
0.005212303251028061,
0.05832773074507713,
-0.009673605673015118,
0.03672751784324646,
0.009061182849109173,
0.002335702069103718,
-0.0010577712673693895,
0.0021345410495996475,
-0.013196157291531563,
0.016074994578957558,
0.06859140843153,
-0.045703765004873276,
0.019293569028377533,
-0.05074619874358177,
-0.0617966391146183,
0.05704030022025108,
-0.013133574277162552,
-0.037693090736866,
0.048278626054525375,
-0.04538190737366676,
-0.050388578325510025,
0.04058980569243431,
-0.033991727977991104,
0.0060080066323280334,
-0.052355486899614334,
0.03014731965959072,
-0.008225247263908386,
-0.0035828996915370226,
0.07545769959688187,
0.02025914192199707,
-0.03640566021203995,
0.01599453017115593,
-0.05861382558941841,
-0.025426741689443588,
0.002968241460621357,
-0.08811742812395096,
-0.05006672069430351,
0.013991860672831535,
-0.05185481905937195,
0.000471051869681105,
-0.011685214936733246,
-0.06816226243972778,
0.03704937547445297,
-0.05725487321615219,
0.0283234603703022,
0.050531625747680664,
0.004868094809353352,
0.032507605850696564,
-0.033991727977991104,
-0.03855137526988983,
0.049744863063097,
0.06733974069356918,
-0.004599879961460829,
0.00329456920735538,
0.0035136109218001366,
-0.05217667669057846,
-0.011095142923295498,
-0.020902857184410095,
0.006785829085856676,
0.01097891665995121,
-0.005127368960529566,
0.02154657058417797,
0.03315132111310959,
0.12373632937669754,
-0.006803710013628006,
0.004130504559725523,
-0.009619963355362415,
0.004546237178146839,
0.00711662694811821,
0.0015489391516894102,
0.02751881629228592,
0.002621797611936927,
0.0004006455419585109,
-0.028305578976869583,
0.004072391428053379,
0.024622099474072456,
-0.014000801369547844,
0.004360721912235022,
-0.08647238463163376,
0.0283234603703022,
0.04370109736919403,
0.043128903955221176,
-0.013500133529305458,
0.004935148172080517,
-0.0026352081913501024,
-0.020384307950735092,
-0.029843341559171677,
-0.013357086107134819,
-0.042592477053403854,
-0.004286963026970625,
0.017371363937854767,
0.019329329952597618,
0.026875101029872894,
0.02771550603210926,
-0.07839018106460571,
0.006329864263534546,
0.012346811592578888,
0.007273085415363312,
0.005471577402204275,
-0.07134507596492767,
0.010442487895488739,
-0.017121030017733574,
0.015753136947751045,
-0.017809448763728142,
-0.08618628233671188,
0.03526127710938454,
-0.06805498152971268,
0.011908727698028088,
0.013589538633823395,
0.008247598074376583,
0.04663357511162758,
-0.010272618383169174,
0.002898952690884471,
0.0031090539414435625,
-0.038587138056755066,
-0.006620429921895266,
0.01788991317152977,
-0.08282466232776642,
-0.06662449985742569,
0.0023044103290885687,
-0.02798372134566307,
-0.025158528238534927,
-0.025587670505046844,
0.019096877425909042,
0.07331198453903198,
0.06208273395895958,
-0.018345877528190613,
0.029360556975007057,
0.044630907475948334,
0.029163865372538567,
-0.0015075894771143794,
0.025087004527449608,
-0.030951961874961853,
-0.020580999553203583,
-0.031470511108636856,
0.04080437868833542,
0.011676275171339512,
-0.019025353714823723,
0.023638645187020302,
-0.03790766000747681,
-0.016790233552455902,
-0.006204697303473949,
0.011229250580072403,
0.015833601355552673,
0.00709874602034688,
-0.03272217884659767,
-0.0031425808556377888,
-0.0042221443727612495,
-0.03152415528893471,
0.08582866936922073,
0.004266846925020218,
-0.0064416201785206795,
-0.01923992671072483,
0.009682546369731426,
-0.04023218899965286,
-0.07009340822696686,
-0.018596211448311806,
0.03787189722061157,
-0.005444755777716637,
0.007836336269974709,
0.03658447042107582,
0.041161999106407166,
0.017514411360025406,
0.03969575837254524,
-0.01013851072639227,
-0.007988324388861656,
0.04802829027175903,
0.00433390075340867,
0.034867893904447556,
-0.023871097713708878,
0.010800107382237911,
0.011729917488992214,
0.002968241460621357,
0.047670669853687286,
0.03082679584622383,
0.028949294239282608,
-0.03023672290146351,
-0.016834935173392296,
-0.035940755158662796,
0.0035069056320935488,
0.003480084240436554,
0.007460835389792919,
0.05382172763347626,
-0.05850654095411301,
-0.05035281926393509,
-0.061439018696546555,
-0.028216173872351646,
0.009114825166761875,
0.014555111527442932,
0.01105044037103653,
-0.020688284188508987,
-0.016548840329051018,
0.002306645503267646,
-0.07252522557973862,
0.01463557593524456,
-0.05442968010902405,
-0.027947958558797836,
0.015556445345282555,
0.02018761821091175,
0.03408113121986389,
-0.05339258164167404,
-0.026928743347525597,
-0.008274420164525509,
-0.014099146239459515,
0.012445156462490559,
0.00033247433020733297,
0.004367427434772253,
-0.0296108890324831,
-0.01564585044980049,
-0.021099546924233437,
0.04291433468461037,
0.05081772431731224,
0.007617294322699308,
0.036155324429273605,
0.02839498408138752,
0.06902055442333221,
-0.006852882448583841,
-0.012409394606947899,
-0.018614092841744423,
-0.028108887374401093,
-0.0513899140059948,
0.03976728022098541,
-0.011211369186639786,
-0.0035449026618152857,
0.03772884979844093,
0.019490258768200874,
0.0011834967881441116,
-0.04348652437329292,
-0.033777154982089996,
-0.005315118934959173,
-0.007246263790875673,
-0.03610168397426605,
0.02263731136918068,
0.03901628032326698,
-0.06379930675029755,
-0.0019702597055584192,
0.001763510867021978,
0.027822792530059814,
-0.024639979004859924,
0.03299039229750633,
0.06548012048006058,
0.02691086381673813,
0.024139313027262688,
-0.028716841712594032,
0.013410729356110096,
-0.019275687634944916,
-0.008685681968927383,
-0.019937284290790558,
0.04291433468461037,
-0.011265012435615063,
0.0007085335091687739,
-0.05303496494889259,
0.010218975134193897,
0.020849213004112244,
0.0189001876860857,
-0.02615986205637455,
0.008046437054872513,
-0.024175073951482773,
0.03712089732289314,
0.05990125611424446,
0.06769736111164093,
-0.02122471295297146,
0.04527462273836136,
-0.012588204815983772,
0.10478249937295914,
0.0026352081913501024,
-0.001632756320759654,
-0.04080437868833542,
-0.031202295795083046,
-0.022047238424420357,
-0.028716841712594032,
0.039123568683862686,
-0.04098318889737129,
0.01554750557988882,
-0.1011347770690918,
0.07824713736772537,
-0.01707632839679718,
0.028448626399040222,
-0.03413477540016174,
-0.04602562263607979,
0.05321377143263817,
-0.03599439561367035,
-0.017728984355926514,
0.020241260528564453,
0.04405871406197548,
0.0009616610477678478,
-0.08117961138486862,
-0.07241793721914291,
0.03794342279434204,
-0.03111289069056511,
-0.03983880579471588,
-0.0014517114032059908,
-0.02987910434603691,
0.007527889218181372,
-0.012820657342672348,
-0.013973979279398918,
-0.08868962526321411,
-0.004720576573163271,
-0.020563118159770966,
-0.013911396265029907,
-0.013598479330539703,
0.000538384891115129,
-0.029986390843987465,
-0.029896985739469528,
0.020902857184410095,
-0.001621580682694912,
-0.06222578138113022,
0.013088871724903584,
-0.008587337099015713,
-0.060831066220998764,
0.03393808379769325,
0.06480064243078232,
0.012579264119267464,
0.03876594826579094,
0.015046837739646435,
0.024479050189256668,
0.031202295795083046,
-0.0015020016580820084,
-0.022136643528938293,
0.020616760477423668,
0.037228185683488846,
-0.05990125611424446,
0.025444623082876205,
-0.001714338199235499,
-0.00016525929095223546,
-0.023638645187020302,
-0.022601548582315445,
0.009798772633075714,
0.036691755056381226,
-0.015422338619828224,
-0.02914598397910595,
0.0849703773856163,
-0.03991033136844635,
0.03704937547445297,
0.016253802925348282,
-0.0540720596909523,
-0.014868028461933136,
0.003795236349105835,
-0.0029302441980689764,
-0.005172071047127247,
-0.012919002212584019,
0.08182332664728165,
-0.015100480988621712,
-0.05464424937963486,
-0.024586336687207222,
0.024961836636066437,
0.05442968010902405,
-0.01586042158305645,
-0.03536856174468994,
-0.07155965268611908,
0.025373099371790886,
0.051676008850336075,
-0.05510915443301201,
0.03504670411348343,
-0.005802375264465809,
0.02324526384472847,
0.01870349608361721,
0.020044568926095963,
0.05006672069430351,
0.044559381902217865,
-0.00666066212579608,
-0.010147451423108578,
0.032364558428525925,
0.07645903527736664,
0.019078997895121574,
-0.027697626501321793,
-0.02793007902801037,
0.027214840054512024,
-0.032561250030994415,
0.011265012435615063,
-0.011291833594441414,
-0.0003073292027693242,
0.010084868408739567,
0.012087536975741386,
-0.028788365423679352,
-0.04520309716463089,
-0.00660701934248209,
-0.05557405948638916,
0.06691059470176697,
-0.013830931857228279,
-0.03701361268758774,
0.017675340175628662,
-0.0565396323800087,
-0.014054443687200546,
0.0592217780649662,
0.03518975153565407,
-0.024479050189256668,
0.07781799137592316,
0.014045503921806812,
0.007948092184960842,
-0.011649453081190586,
-0.0065399655140936375,
-0.04663357511162758,
0.020491594448685646,
-0.009079063311219215,
0.04159114137291908,
0.03218574821949005,
0.013544836081564426,
-0.020992260426282883,
0.05997278168797493,
-0.010478249751031399,
-0.042663998901844025,
-0.02168961986899376,
0.0012974879937246442,
0.003873465582728386,
0.007983854040503502,
-0.000914723495952785,
0.010791166685521603,
0.0010197742376476526,
-0.045238859951496124,
-0.016566719859838486,
-0.00711662694811821,
-0.045167334377765656,
-0.011846143752336502,
-0.030737390741705894,
0.04995943605899811,
0.04606138542294502,
-0.02168961986899376,
0.05807739868760109,
0.02630290947854519,
-0.0025659194216132164,
-0.032900989055633545,
0.02934267558157444,
-0.06283373385667801,
0.021457167342305183,
0.017711102962493896,
0.032096344977617264,
-0.02732212468981743,
0.041984520852565765,
-0.05217667669057846,
0.027608221396803856,
0.0591144934296608,
-0.0318281315267086,
-0.0025882706977427006,
0.060080066323280334,
0.06558740884065628,
-0.01134547684341669,
-0.024318121373653412,
-0.03257913142442703,
-0.000825318624265492,
-0.04927995800971985,
0.02433600276708603,
0.015529624186456203,
0.022190285846590996,
0.02703602984547615
]
|
40,412 | pyglove.core.geno.base | set_userdata | Sets user data associated with a key.
User data associated with the DNA will live only within current process,
and is not carried over during serialization/deserialization, which is
different from DNA metadata. (See `set_metadata` for more details.)
Args:
key: Key of the user data.
value: Value of the user data.
cloneable: If True, the key/value will be carry over to the cloned DNA.
Returns:
Self.
| def set_userdata(
self, key: str, value: Any, cloneable: bool = False) -> 'DNA':
"""Sets user data associated with a key.
User data associated with the DNA will live only within current process,
and is not carried over during serialization/deserialization, which is
different from DNA metadata. (See `set_metadata` for more details.)
Args:
key: Key of the user data.
value: Value of the user data.
cloneable: If True, the key/value will be carry over to the cloned DNA.
Returns:
Self.
"""
self._userdata[key] = value
if cloneable:
self._cloneable_userdata_keys.add(key)
return self
| (self, key: str, value: Any, cloneable: bool = False) -> pyglove.core.geno.base.DNA | [
-0.019762855023145676,
0.009081929922103882,
-0.03916638344526291,
0.02188286930322647,
-0.025763574987649918,
0.009369389154016972,
-0.025026960298419,
0.05849804729223251,
0.06870286911725998,
-0.0014586333418264985,
-0.03941791132092476,
0.06478622555732727,
-0.0014575105160474777,
0.10930655151605606,
-0.014911971986293793,
-0.028674105182290077,
0.05738414078950882,
0.08084803819656372,
-0.013699251227080822,
0.014184338971972466,
-0.012926703318953514,
0.034567028284072876,
0.016663679853081703,
-0.009728713892400265,
-0.014184338971972466,
-0.02161337621510029,
-0.037800949066877365,
0.012567378580570221,
0.05278478562831879,
0.03158463537693024,
0.020661165937781334,
-0.061516374349594116,
-0.040208425372838974,
0.014489765278995037,
0.0227093156427145,
-0.04125046730041504,
-0.04667626693844795,
0.0392741821706295,
-0.019780820235610008,
0.016789443790912628,
-0.034315500408411026,
-0.014292136766016483,
0.011749914847314358,
-0.005758177023380995,
0.003247396321967244,
0.045203037559986115,
0.025476114824414253,
0.057276345789432526,
0.024020850658416748,
-0.025979170575737953,
-0.02028387412428856,
0.01687927357852459,
-0.0014575105160474777,
0.0054976665414869785,
-0.013753149658441544,
0.023481864482164383,
-0.016609780490398407,
0.013968744315207005,
-0.00590639840811491,
-0.01105821505188942,
-0.04308302327990532,
-0.014337052591145039,
-0.007424545008689165,
-0.07438019663095474,
0.03992096707224846,
0.015756385400891304,
-0.03659721091389656,
-0.015531807206571102,
0.046604402363300323,
-0.003941341768950224,
0.0035168896429240704,
-0.00022415679995901883,
0.07560189813375473,
-0.0071864924393594265,
0.009333456866443157,
0.04865255206823349,
-0.10930655151605606,
0.012836871668696404,
-0.049694593995809555,
0.030740221962332726,
0.07161339372396469,
-0.008012939244508743,
-0.04247216880321503,
-0.017436226829886436,
-0.01803809590637684,
0.05400649085640907,
0.0038739684969186783,
-0.0014170864596962929,
0.04850882291793823,
0.016493000090122223,
0.006530724931508303,
-0.03602229431271553,
-0.0149299381300807,
0.03018326871097088,
-0.011965509504079819,
-0.0029621822759509087,
0.026913413777947426,
0.020822862163186073,
-0.016412151977419853,
0.017750635743141174,
-0.025224588811397552,
-0.010662958025932312,
0.06751709431409836,
0.04502337425947189,
-0.043118953704833984,
0.01922386698424816,
-0.0016877028392627835,
0.0257815420627594,
-0.012836871668696404,
-0.019601158797740936,
-0.11203742027282715,
0.002708409447222948,
-0.0007601961260661483,
0.03744162619113922,
-0.02261948399245739,
0.012217037379741669,
0.0053359707817435265,
-0.050053920596838,
-0.011237877421081066,
0.013582470826804638,
0.0007186492439359426,
0.02385915443301201,
0.023499829694628716,
0.03467482700943947,
-0.0052102068439126015,
0.00032311142422258854,
-0.01554977335035801,
0.01770571991801262,
0.032231420278549194,
-0.0367589071393013,
-0.01439095102250576,
0.0006293795304372907,
0.05882143974304199,
0.009122353978455067,
0.04193318262696266,
0.015504857525229454,
-0.000957824697252363,
0.051275622099637985,
0.008834893815219402,
0.05914483219385147,
0.0061714001931250095,
-0.02694934606552124,
0.06780455261468887,
-0.002290694508701563,
0.0903342068195343,
-0.01996048353612423,
0.01051922794431448,
0.03708229959011078,
-0.03517787903547287,
-0.05788719654083252,
0.014983836561441422,
0.01646605134010315,
-0.014525697566568851,
0.06830760836601257,
-0.032716505229473114,
-0.03587856516242027,
-0.006908015813678503,
-0.01280992291867733,
0.023571694269776344,
0.05716854706406593,
0.03670500963926315,
0.002425441285595298,
-0.014211288653314114,
0.016843341290950775,
-0.046604402363300323,
0.012163138017058372,
0.021577443927526474,
-0.004478082992136478,
0.05573124811053276,
0.019978448748588562,
0.026428325101733208,
-0.02687748149037361,
-0.013833997771143913,
0.062019430100917816,
-0.027739860117435455,
-0.04735898599028587,
-0.017588939517736435,
-0.0377650186419487,
0.03478262200951576,
0.019259799271821976,
0.0016326812328770757,
0.014543663710355759,
-0.00563690485432744,
0.005416818894445896,
0.02028387412428856,
-0.013052467256784439,
0.04053181782364845,
0.05238952860236168,
0.06090552359819412,
0.06834354251623154,
0.008978623896837234,
-0.04344234615564346,
-0.04901187866926193,
-0.019690988585352898,
0.011363641358911991,
0.0007910756394267082,
0.015163498930633068,
-0.09407118707895279,
-0.10988146811723709,
0.003849264932796359,
-0.00681818462908268,
-0.032572776079177856,
-0.00665648840367794,
-0.049874257296323776,
-0.022260161116719246,
-0.029464619234204292,
-0.00832285638898611,
0.020984558388590813,
0.005079951602965593,
-0.0750269815325737,
0.006130976136773825,
-0.062845878303051,
0.014911971986293793,
0.032572776079177856,
0.0329321026802063,
-0.09759256988763809,
-0.026051035150885582,
-0.03233921527862549,
0.03208768740296364,
0.03541143983602524,
0.08724401891231537,
0.007909633219242096,
0.0009628777042962611,
-0.009225660003721714,
0.018091995269060135,
0.005735719110816717,
-0.016528932377696037,
-0.048544757068157196,
-0.031979892402887344,
-0.006476826500147581,
0.031818196177482605,
-0.00434782775118947,
-0.026410359889268875,
-0.010465329512953758,
-0.043801672756671906,
-0.036651112139225006,
0.03338125720620155,
-0.04901187866926193,
-0.02687748149037361,
0.02296084351837635,
-0.008902267552912235,
-0.01646605134010315,
0.06956524401903152,
-0.0000284757752524456,
-0.05397055670619011,
0.01996048353612423,
-0.03266260772943497,
0.06338486075401306,
0.0028566308319568634,
-0.025835439562797546,
0.03210565447807312,
-0.004010960925370455,
-0.037549421191215515,
0.0662594586610794,
-0.0479339063167572,
0.028314780443906784,
0.02161337621510029,
0.009216676466166973,
0.0009398584370501339,
0.001347467303276062,
-0.00746496906504035,
-0.059935346245765686,
-0.03959757462143898,
-0.017912331968545914,
0.014669427648186684,
-0.010465329512953758,
0.025098824873566628,
0.04419692978262901,
-0.019780820235610008,
-0.053934626281261444,
0.04667626693844795,
0.0668703094124794,
-0.018918441608548164,
-0.0633489340543747,
-0.05023358389735222,
-0.015163498930633068,
-0.012127205729484558,
-0.028728002682328224,
-0.02145167998969555,
-0.022511687129735947,
-0.004502786789089441,
-0.01372620090842247,
0.04947900027036667,
-0.0217032078653574,
0.015504857525229454,
-0.059755682945251465,
0.02344593219459057,
0.0790514200925827,
0.020032348111271858,
-0.027218839153647423,
-0.011561269871890545,
-0.012100256979465485,
-0.07725479453802109,
0.06148044392466545,
-0.015118583105504513,
-0.027093077078461647,
-0.12066120654344559,
0.005933347623795271,
0.029159193858504295,
-0.005304529797285795,
0.009593967348337173,
-0.003591000335291028,
-0.032393112778663635,
0.01081567071378231,
-0.04534676671028137,
-0.024146614596247673,
0.02561984583735466,
0.014462815597653389,
-0.022673383355140686,
0.031009715050458908,
0.03902265429496765,
-0.049622729420661926,
-0.03275243937969208,
0.08904064446687698,
0.012423648498952389,
-0.062845878303051,
0.010375498794019222,
-0.02197270095348358,
0.012208053842186928,
0.039561640471220016,
-0.020661165937781334,
-0.06295367330312729,
-0.04865255206823349,
-0.013366876170039177,
0.04782610759139061,
0.012297885492444038,
0.017822500318288803,
0.034315500408411026,
-0.007828785106539726,
0.05278478562831879,
-0.02279914729297161,
-0.017283514142036438,
-0.00923464260995388,
0.05504853278398514,
-0.04865255206823349,
0.0267876498401165,
-0.03224938362836838,
0.0005928855971433222,
0.029464619234204292,
-0.010833637788891792,
-0.07337408512830734,
0.06148044392466545,
-0.02319440431892872,
-0.04135826230049133,
0.0667625144124031,
-0.06130078062415123,
-0.0217032078653574,
0.003303540637716651,
0.049946121871471405,
-0.0061714001931250095,
0.002847647527232766,
0.07057135552167892,
0.044125065207481384,
-0.0314229391515255,
-0.002385017229244113,
-0.07639241218566895,
-0.0005055809742771089,
-0.0119834765791893,
-0.040711481124162674,
-0.04933527112007141,
0.018774710595607758,
-0.047862038016319275,
0.011749914847314358,
-0.008969641290605068,
-0.051599014550447464,
0.030219200998544693,
-0.027398502454161644,
-0.008331839926540852,
0.06449876725673676,
0.025494081899523735,
0.04814950004220009,
-0.017732670530676842,
-0.013896879740059376,
0.06180383637547493,
0.05900110304355621,
0.01854114979505539,
0.012989585287868977,
0.00011242930486332625,
-0.07046356052160263,
-0.01630435511469841,
0.00711462739855051,
-0.0028521392960101366,
0.016618764027953148,
0.04602948576211929,
0.04940713569521904,
0.04523896798491478,
0.046712201088666916,
0.013798065483570099,
0.004114266950637102,
-0.017930299043655396,
-0.020194044336676598,
0.02712900936603546,
0.02146964520215988,
0.03593246266245842,
-0.0071281022392213345,
0.01380704902112484,
-0.02220626175403595,
0.0018920686561614275,
0.019421495497226715,
0.019116070121526718,
-0.007671580649912357,
-0.0459216870367527,
0.029913775622844696,
0.020068280398845673,
0.026392392814159393,
0.03503414988517761,
0.002420949749648571,
-0.017256565392017365,
-0.029805976897478104,
-0.02378728985786438,
-0.007581749465316534,
-0.022242194041609764,
-0.010447363369166851,
0.02511679194867611,
0.020750997588038445,
-0.0021256296895444393,
-0.010698890313506126,
-0.06633132696151733,
0.0336327850818634,
0.03068632259964943,
-0.010357532650232315,
0.006611573044210672,
-0.09608340263366699,
0.043873537331819534,
-0.01031261682510376,
0.04250810295343399,
0.015459941700100899,
-0.09665832668542862,
0.05932449549436569,
-0.0402802899479866,
0.01754402555525303,
-0.011013299226760864,
0.01762487180531025,
0.036543313413858414,
0.007132593542337418,
0.003968291450291872,
0.010636008344590664,
-0.039705369621515274,
-0.010330582968890667,
0.033578887581825256,
-0.06697811186313629,
-0.05303631350398064,
0.007047254126518965,
0.013618403114378452,
-0.02420051395893097,
-0.01646605134010315,
-0.015244347043335438,
0.10190445929765701,
0.06090552359819412,
-0.017364362254738808,
0.037872813642024994,
0.04901187866926193,
-0.0011049231979995966,
0.0145526472479105,
0.007882683537900448,
0.01597197912633419,
-0.08501620590686798,
-0.030650390312075615,
0.08738774806261063,
0.0035483306273818016,
0.00636453740298748,
0.012657210230827332,
-0.017570974305272102,
0.020750997588038445,
-0.0037998578045517206,
0.03411787375807762,
0.023320168256759644,
-0.006148942746222019,
-0.0019291241187602282,
0.01356450468301773,
-0.005228173453360796,
-0.03499821946024895,
0.058605846017599106,
-0.009432271122932434,
0.017822500318288803,
-0.0004811581165995449,
0.0047206273302435875,
-0.04416099563241005,
-0.07782971113920212,
-0.048688486218452454,
0.028422577306628227,
-0.01664571277797222,
0.005138342268764973,
0.02944665215909481,
0.025332385674118996,
-0.003999731969088316,
0.0272907055914402,
0.005246139597147703,
-0.00227609695866704,
0.03851959854364395,
0.006804709788411856,
0.010097022168338299,
-0.08336330950260162,
0.004877831786870956,
-0.02130795083940029,
-0.015603671781718731,
0.05425801873207092,
0.0116061856970191,
0.006050128489732742,
-0.027146974578499794,
-0.005196732468903065,
0.014319086447358131,
0.009459220804274082,
-0.019331663846969604,
0.02378728985786438,
0.05400649085640907,
-0.04261590167880058,
-0.023607628419995308,
-0.06471436470746994,
-0.028584273532032967,
0.01039346493780613,
0.010860586538910866,
0.025817474350333214,
-0.06809201836585999,
-0.009782613255083561,
-0.0119834765791893,
-0.0334351547062397,
0.00033125237678177655,
-0.06694217771291733,
-0.06316927075386047,
-0.008587858639657497,
0.037872813642024994,
0.037980612367391586,
-0.01788538321852684,
-0.011282793246209621,
0.018163859844207764,
-0.007608698680996895,
0.04717932268977165,
0.005358428228646517,
-0.005309021100401878,
-0.04973052814602852,
-0.01189364492893219,
-0.025332385674118996,
0.06665471941232681,
0.04035215452313423,
-0.0003503414918668568,
0.03566296771168709,
0.00977362971752882,
0.05116782709956169,
0.008453112095594406,
-0.005740210879594088,
-0.006404961459338665,
-0.006229790393263102,
-0.0708947479724884,
0.009189726784825325,
-0.03287820145487785,
-0.029554450884461403,
0.04574202373623848,
-0.0012329325545579195,
-0.003083454445004463,
-0.0444125235080719,
-0.05141935497522354,
0.0021031720098108053,
0.025512048974633217,
-0.01780453510582447,
-0.007348188664764166,
-0.028314780443906784,
-0.029213091358542442,
-0.01380704902112484,
0.013196196407079697,
0.003505660919472575,
-0.03648941591382027,
0.010429397225379944,
0.05828245356678963,
0.022080497816205025,
0.004918255843222141,
-0.062414687126874924,
0.024991028010845184,
-0.007608698680996895,
-0.023607628419995308,
-0.025152724236249924,
0.04832916334271431,
-0.03068632259964943,
-0.01219008769840002,
-0.06561267375946045,
0.008763029240071774,
-0.0037077809683978558,
0.035141948610544205,
-0.009944308549165726,
0.016744527965784073,
-0.03109954670071602,
0.06378012150526047,
0.04567015916109085,
0.04344234615564346,
-0.010007190518081188,
0.023984918370842934,
-0.019655056297779083,
0.08860944956541061,
-0.0021312441676855087,
0.0030901916325092316,
0.0023176437243819237,
-0.0212001521140337,
-0.062845878303051,
-0.01521739736199379,
0.009926342405378819,
-0.02303270809352398,
0.010123970918357372,
-0.0822853371500969,
0.07991379499435425,
-0.01039346493780613,
0.017831483855843544,
-0.009243626147508621,
-0.057276345789432526,
0.02078692987561226,
-0.019421495497226715,
-0.003557313699275255,
-0.009629899635910988,
0.05691701918840408,
0.006005212664604187,
-0.07071508467197418,
-0.04746678099036217,
0.02894359827041626,
-0.022314058616757393,
-0.0035460847429931164,
-0.0023401016369462013,
-0.009041505865752697,
0.03251887857913971,
-0.04063961282372475,
-0.043370481580495834,
-0.053359705954790115,
-0.03205175697803497,
-0.020229976624250412,
-0.009297524578869343,
-0.009836511686444283,
0.007146068383008242,
-0.09867054224014282,
-0.012549412436783314,
0.09356813132762909,
0.0061130099929869175,
-0.021811004728078842,
-0.009746680036187172,
-0.01945742778480053,
-0.06521742045879364,
0.014804174192249775,
0.05724041163921356,
0.023823222145438194,
0.015936046838760376,
0.012046357616782188,
0.047287121415138245,
0.01704995334148407,
-0.015253330580890179,
0.00335743953473866,
0.04010062664747238,
0.028584273532032967,
-0.03487245365977287,
0.019152002409100533,
-0.007303272839635611,
0.03586059808731079,
-0.051599014550447464,
-0.0125134801492095,
-0.02662595361471176,
-0.02172117307782173,
0.02635646052658558,
-0.0056099556386470795,
0.009836511686444283,
-0.016663679853081703,
0.04617321491241455,
0.015244347043335438,
-0.0439094677567482,
0.008179126307368279,
-0.057348210364580154,
0.022745247930288315,
-0.008897775784134865,
-0.0014597562840208411,
0.07574562728404999,
0.017436226829886436,
-0.04617321491241455,
-0.0014575105160474777,
0.021433712914586067,
0.03715416416525841,
-0.005057494156062603,
-0.017445210367441177,
-0.06431910395622253,
0.0030609965324401855,
0.05745600536465645,
-0.054114289581775665,
0.0078018358908593655,
-0.024470007047057152,
-0.00405587675049901,
-0.006566657684743404,
0.0021682993974536657,
0.06492996215820312,
0.026158832013607025,
-0.0520661361515522,
-0.00682267639786005,
0.05231766402721405,
0.0495508648455143,
0.004257996566593647,
0.0023311185650527477,
-0.02951851673424244,
0.008421670645475388,
-0.03758535534143448,
-0.014876039698719978,
-0.013061449863016605,
-0.013043483719229698,
-0.008798961527645588,
0.003029555780813098,
0.010186852887272835,
-0.054761070758104324,
0.03891485556960106,
-0.05777939781546593,
0.06572047621011734,
0.0012486530467867851,
-0.0040176985785365105,
0.018415387719869614,
-0.05008985102176666,
-0.01904420554637909,
0.04452032223343849,
0.0800575241446495,
-0.04293929040431976,
0.100107841193676,
-0.005830042064189911,
-0.0239669531583786,
0.01554977335035801,
-0.03758535534143448,
-0.02745240181684494,
-0.022853046655654907,
0.004918255843222141,
-0.004945205058902502,
0.04922747239470482,
0.014112474396824837,
-0.017418261617422104,
0.045634228736162186,
-0.03816027566790581,
-0.03909451887011528,
-0.026069000363349915,
-0.021074388176202774,
-0.0407833456993103,
0.021990666165947914,
0.016591815277934074,
0.002807223703712225,
0.013789081946015358,
-0.0298598762601614,
0.003105912124738097,
-0.014983836561441422,
-0.047790173441171646,
-0.031045647338032722,
-0.037549421191215515,
0.03411787375807762,
0.06421130895614624,
-0.026841549202799797,
0.030326997861266136,
0.029338855296373367,
-0.019493360072374344,
-0.06597200036048889,
0.026086967438459396,
-0.05795906111598015,
-0.005699786823242903,
0.031979892402887344,
0.06086958944797516,
-0.03153073415160179,
0.04358607530593872,
-0.02795545570552349,
0.01422925479710102,
0.07725479453802109,
0.022242194041609764,
-0.024092715233564377,
0.025080857798457146,
0.04807763546705246,
-0.016906224191188812,
-0.008668706752359867,
0.00802641361951828,
-0.021164219826459885,
-0.05839025229215622,
0.032644640654325485,
0.013025517575442791,
0.0033933718223124743,
0.038555532693862915
]
|
40,428 | pyglove.core.geno.base | sym_jsonify | Convert DNA to JSON object.
Args:
compact: Whether use compact form. If compact, the nested number structure
in DNA.parse will be used, otherwise members will be rendered out as
regular symbolic Object.
type_info: If True, type information will be included in output, otherwise
type information will not be included. Applicable when compact is set
to True.
**kwargs: Keyword arguments that will be passed to symbolic.Object if
compact is False.
Returns:
JSON representation of DNA.
| def sym_jsonify(
self,
compact: bool = True,
type_info: bool = True,
**kwargs) -> Any:
"""Convert DNA to JSON object.
Args:
compact: Whether use compact form. If compact, the nested number structure
in DNA.parse will be used, otherwise members will be rendered out as
regular symbolic Object.
type_info: If True, type information will be included in output, otherwise
type information will not be included. Applicable when compact is set
to True.
**kwargs: Keyword arguments that will be passed to symbolic.Object if
compact is False.
Returns:
JSON representation of DNA.
"""
if not compact:
json_value = super().sym_jsonify(**kwargs)
assert isinstance(json_value, dict), json_value
if self._cloneable_metadata_keys:
json_value['_cloneable_metadata_keys'] = list(
self._cloneable_metadata_keys)
return json_value
if self.children:
child_nodes = [c.sym_jsonify(compact, type_info=False, **kwargs)
for c in self.children]
if self.value is not None:
if len(child_nodes) == 1:
# Chain single choices into one tuple.
single_choice = child_nodes[0]
if isinstance(single_choice, tuple):
value = (self.value,) + single_choice
else:
value = (self.value, single_choice)
else:
# Put multiple choice as sub-nodes.
value = (self.value, child_nodes)
else:
value = child_nodes
else:
value = self.value
if type_info:
json_value = {
object_utils.JSONConvertible.TYPE_NAME_KEY: (
self.__class__.__serialization_key__
),
'format': 'compact',
'value': symbolic.to_json(value),
}
# NOTE(daiyip): For now, we only attach metadata from the root node for
# faster serialization/deserialization speed. This should be revised if
# metadata for child DNA is used.
if self.metadata:
json_value['metadata'] = symbolic.to_json(self.metadata)
if self._cloneable_metadata_keys:
json_value['_cloneable_metadata_keys'] = list(
self._cloneable_metadata_keys)
return json_value
else:
return value
| (self, compact: bool = True, type_info: bool = True, **kwargs) -> Any | [
0.0380437932908535,
-0.04165542870759964,
0.08128983527421951,
-0.034507013857364655,
0.04367644712328911,
-0.005651365499943495,
-0.037669532001018524,
-0.01682310365140438,
0.0042665936052799225,
-0.04442496970295906,
0.015101496130228043,
0.04693252965807915,
0.004009288270026445,
0.021538812667131424,
0.011181095615029335,
-0.017141226679086685,
0.024607766419649124,
0.06021885201334953,
0.023522404953837395,
0.06785380840301514,
0.008378803730010986,
0.02166980504989624,
-0.006156619638204575,
0.027377309277653694,
-0.0199856236577034,
-0.007134380750358105,
0.04012095183134079,
0.024476774036884308,
-0.060031723231077194,
0.011733132414519787,
0.006072410847991705,
-0.010993964038789272,
0.040345508605241776,
0.011134312488138676,
0.016018439084291458,
-0.02582412026822567,
-0.06328780949115753,
0.08660436421632767,
-0.06744211912155151,
-0.004921553190797567,
-0.03746368736028671,
-0.016991522163152695,
-0.07028651982545853,
-0.028163261711597443,
0.01881605200469494,
0.007162450812757015,
-0.017824256792664528,
0.03299124911427498,
-0.019555220380425453,
-0.06781638413667679,
0.03431988134980202,
-0.06336265802383423,
0.007831444963812828,
0.032467279583215714,
-0.035536233335733414,
-0.017262862995266914,
0.01100332010537386,
0.04000867158174515,
0.041094034910202026,
-0.013276966288685799,
-0.005365990102291107,
0.016991522163152695,
-0.03503097966313362,
-0.03780052438378334,
-0.031232213601469994,
0.0199856236577034,
-0.050488024950027466,
-0.033271946012973785,
-0.017300289124250412,
0.006530882325023413,
0.007826766930520535,
-0.03780052438378334,
0.0207341481000185,
0.019966909661889076,
0.08375997096300125,
-0.03042754903435707,
0.0017847648123279214,
-0.021987928077578545,
0.0049028401263058186,
-0.06856490671634674,
0.015017286874353886,
-0.03443215787410736,
-0.02007918804883957,
-0.034750282764434814,
-0.04771848022937775,
0.07129702717065811,
0.0406823456287384,
0.004944944754242897,
-0.014474606141448021,
0.031138649210333824,
-0.06029370427131653,
-0.0338333398103714,
-0.005253711249679327,
0.07088533788919449,
-0.04378872364759445,
-0.0020046441350132227,
0.04524834826588631,
-0.07657413184642792,
0.06238957494497299,
0.038960736244916916,
0.04423784092068672,
-0.017992675304412842,
-0.050974566489458084,
-0.02191307581961155,
-0.04285306856036186,
-0.023615971207618713,
-0.007246659602969885,
0.06242700293660164,
0.003859583055600524,
0.005922705866396427,
-0.07724779844284058,
0.02284873276948929,
0.010554205626249313,
-0.05411837249994278,
0.0211271233856678,
0.02329784631729126,
0.002633873140439391,
0.004437351133674383,
0.00048040112596936524,
-0.03349650278687477,
-0.012724928557872772,
0.04131859168410301,
0.01929323747754097,
0.02958545833826065,
-0.020883852615952492,
0.07253209501504898,
0.02166980504989624,
0.005866566207259893,
0.0030525794718414545,
0.053444698452949524,
-0.011115599423646927,
0.046184007078409195,
0.005992880091071129,
0.06654389202594757,
0.06010657548904419,
0.02844395861029625,
-0.06613220274448395,
-0.03319709375500679,
-0.057411883026361465,
0.052172206342220306,
-0.0008993998053483665,
-0.025300152599811554,
0.038661327213048935,
-0.05714989826083183,
-0.051086846739053726,
-0.017627768218517303,
0.016177501529455185,
-0.025655701756477356,
-0.0813646912574768,
-0.05071258172392845,
0.03982154279947281,
0.05209735408425331,
0.03708942234516144,
0.015672245994210243,
-0.007387008052319288,
0.01036707405000925,
-0.013099190779030323,
-0.041468296200037,
0.02146396040916443,
-0.0021332968026399612,
-0.022792592644691467,
0.028855646029114723,
-0.01803010143339634,
-0.004647873807698488,
0.007461860775947571,
-0.006979997735470533,
0.07590045779943466,
-0.048167597502470016,
-0.01476466003805399,
0.01645819842815399,
0.002463115844875574,
-0.029772590845823288,
0.0030245096422731876,
0.03602277487516403,
0.0354052409529686,
0.02354111708700657,
0.0234475526958704,
0.0077565922401845455,
0.035442668944597244,
-0.016121361404657364,
-0.0030198313761502504,
-0.030240418389439583,
-0.041767705231904984,
0.030184278264641762,
0.047868188470602036,
-0.00974954105913639,
0.0322614349424839,
-0.02043473906815052,
0.13578246533870697,
0.02661007083952427,
0.02696561999619007,
0.053706683218479156,
-0.017421923577785492,
-0.005038510076701641,
-0.006034984719008207,
-0.04614657908678055,
0.016748251393437386,
-0.014427823014557362,
-0.07709809392690659,
0.004395246505737305,
-0.059096064418554306,
-0.04217939451336861,
-0.020303746685385704,
-0.021201975643634796,
-0.023316560313105583,
0.011181095615029335,
0.036528028547763824,
-0.026404226198792458,
0.019368089735507965,
-0.026928193867206573,
-0.014381040818989277,
-0.026553932577371597,
0.00010350700176786631,
-0.015007930807769299,
0.026142243295907974,
-0.096934013068676,
0.05041317269206047,
-0.011742489412426949,
-0.0033262588549405336,
-0.004818630870431662,
-0.0035040336661040783,
-0.00007043008372420445,
-0.0017110818298533559,
0.030857952311635017,
-0.0273024570196867,
-0.02103355899453163,
-0.022343477234244347,
-0.01061034481972456,
0.0068162577226758,
-0.009553053416311741,
-0.02967902459204197,
-0.03892331197857857,
-0.013903855346143246,
0.005922705866396427,
-0.03753853961825371,
0.016963452100753784,
0.0583849661052227,
-0.03609762713313103,
-0.031101223081350327,
-0.006657196208834648,
0.01703830435872078,
-0.022175058722496033,
-0.02251189574599266,
-0.015269914641976357,
-0.019003184512257576,
0.013903855346143246,
0.08226291835308075,
0.021538812667131424,
-0.027096612378954887,
-0.04042036086320877,
0.0012385753216221929,
-0.05932062119245529,
0.034357305616140366,
0.018282728269696236,
-0.03692100569605827,
-0.042029689997434616,
-0.019096748903393745,
0.0072373030707240105,
-0.007667704951018095,
-0.015756456181406975,
-0.028069695457816124,
-0.04199226573109627,
-0.03795022889971733,
0.042516231536865234,
0.014221979305148125,
-0.018834766000509262,
0.02636680006980896,
0.011068816296756268,
-0.05116169899702072,
-0.002629194874316454,
0.014165839180350304,
-0.011068816296756268,
-0.013754150830209255,
0.004631499759852886,
-0.025206586346030235,
0.028668515384197235,
-0.0009929654188454151,
-0.035292964428663254,
0.020247606560587883,
-0.03218658268451691,
-0.04210454225540161,
-0.03714556246995926,
0.01321147009730339,
-0.034057896584272385,
0.00976825412362814,
-0.037912800908088684,
0.027732858434319496,
0.05527858808636665,
-0.008809206075966358,
-0.011181095615029335,
0.056176815181970596,
0.018133023753762245,
0.008598683401942253,
0.0048700920306146145,
0.05778614431619644,
-0.01697280816733837,
-0.046633120626211166,
0.013838360086083412,
0.010507422499358654,
-0.02552470937371254,
-0.009974098764359951,
-0.0004950207658112049,
0.06444802135229111,
0.004013966303318739,
-0.0322614349424839,
-0.033365510404109955,
-0.0011409161379560828,
0.0058618881739676,
-0.010086377151310444,
0.09124522656202316,
-0.027564439922571182,
0.03244856745004654,
0.019517794251441956,
0.09760768711566925,
-0.07402914017438889,
-0.01842307671904564,
-0.020902566611766815,
-0.017824256792664528,
0.06834035366773605,
0.0707356333732605,
-0.046670544892549515,
-0.04599687457084656,
-0.044050708413124084,
-0.0031344492454081774,
0.029866155236959457,
-0.04906582832336426,
0.009843106381595135,
0.011817341670393944,
0.06920115649700165,
-0.00915072113275528,
-0.01360444538295269,
-0.01842307671904564,
0.007330868858844042,
0.01570967212319374,
-0.027976129204034805,
0.025449857115745544,
0.013538950122892857,
-0.031438060104846954,
-0.044986363500356674,
-0.01773069053888321,
-0.03635961189866066,
0.021744657307863235,
-0.028163261711597443,
-0.003962505143135786,
-0.05685048922896385,
-0.023952806368470192,
0.04023322835564613,
-0.03067081980407238,
0.030857952311635017,
0.0006590530392713845,
-0.0538189634680748,
0.05408094450831413,
0.005810427013784647,
0.03763210400938988,
-0.06886431574821472,
-0.051723092794418335,
-0.0004739685100503266,
-0.031045082956552505,
-0.01649562455713749,
-0.015765812247991562,
0.00701274536550045,
0.03407660871744156,
0.025599561631679535,
0.008378803730010986,
0.025861546397209167,
-0.06411118060350418,
-0.011836054734885693,
-0.005707504693418741,
0.08660436421632767,
-0.03557366132736206,
0.005875922739505768,
0.02443934790790081,
-0.02937961369752884,
-0.046333711594343185,
-0.008467691019177437,
0.038661327213048935,
0.011527287773787975,
0.0045917341485619545,
-0.0338333398103714,
-0.0406823456287384,
-0.021632378920912743,
0.019311949610710144,
-0.014549458399415016,
0.041879985481500626,
-0.007092276122421026,
0.00022601953241974115,
0.0708104819059372,
0.012472301721572876,
-0.038118645548820496,
0.008182316087186337,
-0.061416491866111755,
-0.0044303336180746555,
0.01516699232161045,
0.006834970787167549,
-0.01983591727912426,
-0.0053285639733076096,
0.006886431947350502,
-0.007396364584565163,
-0.0631006732583046,
0.05714989826083183,
0.010975250974297523,
-0.05336984619498253,
0.07717294991016388,
-0.012219673953950405,
0.01778683066368103,
-0.03082052618265152,
0.08061616122722626,
-0.015728386119008064,
-0.01625235378742218,
0.046633120626211166,
0.0044981688261032104,
-0.025861546397209167,
-0.013978708535432816,
-0.010077020153403282,
0.02019146829843521,
-0.019910771399736404,
0.0062408288940787315,
0.02591768465936184,
-0.02107098512351513,
0.012547153979539871,
0.04105660691857338,
0.040345508605241776,
-0.024252217262983322,
0.05486689880490303,
0.019779779016971588,
0.00016914914886001498,
0.047119662165641785,
0.0445372499525547,
-0.006540238857269287,
0.04348931461572647,
0.04086947813630104,
-0.02928604930639267,
0.04042036086320877,
-0.08585584163665771,
0.006091123912483454,
0.041094034910202026,
0.02937961369752884,
-0.09191889315843582,
-0.012416161596775055,
0.022549321874976158,
0.00974954105913639,
0.0729437842965126,
-0.04536062851548195,
-0.00659170001745224,
-0.0005929723265580833,
-0.0044771162793040276,
0.035105831921100616,
0.0615287721157074,
0.04292792081832886,
-0.03003457374870777,
0.05149853602051735,
0.015307340770959854,
0.05875922739505768,
-0.04322732985019684,
-0.056027110666036606,
0.0032490671146661043,
0.05123655125498772,
-0.01468980684876442,
-0.004570682067424059,
0.0012385753216221929,
-0.006979997735470533,
-0.02359725721180439,
-0.00015935399278532714,
-0.015026643872261047,
-0.01875055581331253,
0.060331132262945175,
-0.02443934790790081,
0.02543114311993122,
-0.0745905339717865,
-0.037426259368658066,
0.028762081637978554,
0.05378153547644615,
0.005347277037799358,
0.0003277721698395908,
0.04116888716816902,
0.03364620730280876,
-0.0016619599191471934,
-0.04899097606539726,
-0.09648489952087402,
-0.07881970703601837,
-0.02582412026822567,
-0.01340795774012804,
-0.011957690119743347,
-0.018918974325060844,
0.05640137568116188,
0.033814627677202225,
0.05322014167904854,
-0.00949691329151392,
0.03231757506728172,
0.03903558850288391,
-0.03256084769964218,
0.06920115649700165,
-0.023073289543390274,
0.007129702717065811,
0.007246659602969885,
0.0798676386475563,
-0.0032186585012823343,
-0.08712833374738693,
-0.005707504693418741,
0.009108616039156914,
-0.0119015509262681,
-0.015232487581670284,
-0.013988064602017403,
-0.0006222116062417626,
-0.005375346634536982,
0.015017286874353886,
-0.0384741947054863,
0.004006948787719011,
-0.04887869581580162,
0.007920332252979279,
-0.03770695626735687,
0.01890026219189167,
0.09783224761486053,
-0.020547017455101013,
-0.00184324337169528,
0.03763210400938988,
0.010357717983424664,
0.015007930807769299,
-0.0059320623986423016,
-0.07717294991016388,
-0.05430550500750542,
-0.02943575382232666,
-0.0018841782584786415,
-0.0033590069506317377,
-0.034114036709070206,
0.0017520168330520391,
0.001890026149339974,
0.033421650528907776,
0.00561393890529871,
-0.0026455686893314123,
0.0019391480600461364,
0.009244286455214024,
-0.039110440760850906,
0.019368089735507965,
-0.006596378516405821,
-0.02052830345928669,
0.04809274524450302,
0.08084072172641754,
0.06227729842066765,
-0.01773069053888321,
0.05022604018449783,
0.02558084949851036,
0.006736726965755224,
-0.048392154276371,
0.03166261687874794,
-0.0015461724251508713,
0.02176337130367756,
-0.014044203795492649,
0.011817341670393944,
0.014016134664416313,
-0.0615287721157074,
-0.025150446221232414,
0.03557366132736206,
0.03140063211321831,
0.0014069934841245413,
-0.018264014273881912,
0.03482513502240181,
-0.020060475915670395,
0.0003146145027130842,
0.029005352407693863,
-0.002168383914977312,
0.07582560181617737,
-0.01560675073415041,
-0.07417884469032288,
0.009974098764359951,
0.058646950870752335,
0.02157623879611492,
0.05400609225034714,
0.029810016974806786,
0.005787035450339317,
-0.0034642682876437902,
0.02537500485777855,
0.048354730010032654,
0.0172722190618515,
-0.0004441444471012801,
0.01340795774012804,
-0.02646036632359028,
0.028312966227531433,
-0.014427823014557362,
-0.0322614349424839,
-0.02013532817363739,
0.03314095363020897,
-0.01754355989396572,
-0.009955385699868202,
0.05060030519962311,
0.009417383000254631,
0.014119056984782219,
0.06429831683635712,
0.012668789364397526,
-0.049552369862794876,
-0.021108411252498627,
0.008823241107165813,
0.00703613692894578,
-0.013669941574335098,
0.021557526662945747,
-0.012163534760475159,
-0.02696561999619007,
-0.0032514063641428947,
0.03271055221557617,
-0.034956127405166626,
-0.052808452397584915,
-0.01830144226551056,
0.0004350802628323436,
-0.025187872350215912,
0.05393123999238014,
0.027639294043183327,
0.006760118063539267,
-0.009220895357429981,
-0.040195804089307785,
-0.05243419110774994,
0.014661737717688084,
0.04184255748987198,
0.0007280576974153519,
-0.0591709166765213,
0.010460639372467995,
-0.015232487581670284,
-0.040345508605241776,
-0.002425689483061433,
-0.032729264348745346,
-0.03027784451842308,
0.016055865213274956,
0.0034455549903213978,
-0.03132577985525131,
-0.011181095615029335,
-0.030539829283952713,
-0.004369515925645828,
-0.0207341481000185,
0.058796655386686325,
-0.00996474176645279,
-0.035442668944597244,
0.03132577985525131,
0.00002169187973777298,
-0.016233639791607857,
-0.009786967188119888,
-0.025842832401394844,
-0.05393123999238014,
-0.02275516651570797,
0.027077900245785713,
0.008612718433141708,
0.0813646912574768,
-0.02666621096432209,
-0.05670078471302986,
-0.032673124223947525,
0.05149853602051735,
-0.07649927586317062,
-0.010460639372467995,
0.0014912025071680546,
-0.02919248305261135,
-0.02374696172773838,
0.013295679353177547,
-0.06519654393196106,
0.04229167476296425,
-0.03271055221557617,
-0.028331678360700607,
0.03602277487516403,
0.0026900125667452812,
0.012069969438016415,
0.00390636594966054,
-0.019704926759004593,
0.025449857115745544,
-0.005450199358165264,
0.005553121212869883,
-0.04322732985019684,
-0.012210317887365818,
0.052658747881650925,
0.010591631755232811,
-0.03671516105532646,
-0.005969488527625799,
0.10322162508964539,
-0.0384741947054863,
-0.008420908823609352,
0.03609762713313103,
0.031887173652648926,
0.030446263030171394,
-0.06811579316854477,
0.01426876150071621,
-0.008472369983792305,
0.09446388483047485,
0.06762925535440445,
-0.025356290861964226,
-0.013576376251876354,
-0.039447277784347534,
0.02814454771578312,
0.038661327213048935,
-0.034020472317934036,
-0.07444082945585251,
0.05490432307124138,
-0.006133228540420532,
-0.02284873276948929,
-0.05677563697099686,
0.0167014691978693,
-0.04322732985019684,
-0.02982872910797596,
-0.046633120626211166,
0.0034502334892749786,
-0.0052958158776164055,
-0.012575223110616207,
0.02152010053396225,
0.03587307035923004,
-0.009305103681981564,
0.03162518888711929,
-0.02052830345928669,
0.018217232078313828,
0.017375141382217407,
0.07724779844284058,
0.0013637193478643894,
-0.002975387731567025,
-0.004512203391641378,
0.04783076047897339,
0.006923858076334,
-0.011714419350028038,
0.08076587319374084,
-0.0033215805888175964,
0.012603293173015118,
-0.08181380480527878,
-0.02606739103794098,
0.0067133354023098946,
0.05254647135734558,
0.03170004114508629,
0.04899097606539726,
-0.04708223417401314,
-0.01838565059006214,
0.06747955083847046,
0.023035863414406776,
0.025805406272411346,
0.041730280965566635,
-0.019106106832623482,
-0.006198724266141653,
-0.019948197528719902,
-0.05292073264718056,
-0.03862389922142029,
0.030558541417121887,
-0.033122241497039795,
0.012219673953950405,
-0.027246316894888878,
-0.006965962704271078,
-0.00009290776506531984,
0.0021906057372689247,
-0.028032269328832626,
0.028013555333018303,
-0.014867582358419895,
0.08697862923145294,
-0.035985350608825684,
0.044986363500356674,
-0.0020549355540424585,
0.024645192548632622,
0.010385787114501,
0.03591049835085869,
-0.004696995485574007,
-0.04289049282670021,
0.01474594697356224,
0.050637729465961456,
-0.03800636902451515,
-0.00996474176645279,
0.09094581007957458,
0.03443215787410736,
-0.020154040306806564,
0.0606679692864418,
0.021332968026399612,
-0.026291947811841965,
-0.03300996124744415,
-0.02245575562119484,
-0.02883693389594555,
-0.006353107746690512,
-0.03609762713313103,
0.02007918804883957,
-0.0638117715716362,
-0.018469858914613724
]
|
40,440 | pyglove.core.geno.base | to_dict | Returns the dict representation of current DNA.
Args:
key_type: Key type in returned dictionary. Acceptable values are:
* 'id': Use the ID (canonical location) of each decision point as key.
This is the default behavior.
* 'name_or_id': Use the name of each decision point as key if it's
present, otherwise use ID as key. When the name of a decision
point is presented, it is guaranteed not to clash with other
decision points' names or IDs.
* 'dna_spec': Use the DNASpec object of each decision point as key.
value_type: Value type for choices in returned dictionary.
Acceptable values are:
* 'value': Use the index of the chosen candidate for `Choices`, and
use the float number for `Float`. This is the default behavior.
* 'dna': Use `DNA` for all decision points.
* 'choice': Use '{index}/{num_candidates}' for the chosen candidate
for `Choices`, and the chosen float number for `Float`.
* 'literal': Use the literal value for the chosen candidate for
`Choices`, and the chosen float number for `Float`. If the literal
value for the `Choices` decision point is not present, fall back
to the '{index}/{num_candidates}' format.
* 'choice_and_literal': Use '{index}/{num_candidates} ({literal})'
for the chosen candidate for `Choices` and then chosen float number
for `Float`. If the literal value for the `Choices` decision point
is not present, fall back to the '{index}/{num_candidates}' format.
multi_choice_key: 'subchoice', 'parent', or 'both'. If 'subchoice', each
subchoice will insert a key into the dict. If 'parent', subchoices of
a multi-choice will share the parent spec as key, its value will be
a list of decisions from the subchoices. If 'both', the dict will
contain both the keys for subchoices and the key for the parent
multi-choice.
include_inactive_decisions: If True, inactive decisions from the search
space will be added to the dict with value None. Otherwise they will
be absent in the dict.
filter_fn: Decision point filter. If None, all the decision points will be
included in the dict. Otherwise only the decision points that pass
the filter (returns True) will be included.
Returns:
A dictionary of requested key type to value type mapped from the DNA.
Raises:
ValueError: argument `key_type` or `value_type` is not valid.
RuntimeError: If DNA is not associated with a DNASpec.
| def to_dict(
self,
key_type='id',
value_type='value',
multi_choice_key='subchoice',
include_inactive_decisions=False,
filter_fn: Optional[Callable[[DecisionPoint], bool]] = None
) -> Dict[Union[DecisionPoint, str],
Union[None, 'DNA', float, int, str,
List['DNA'], List[int], List[str]]]:
"""Returns the dict representation of current DNA.
Args:
key_type: Key type in returned dictionary. Acceptable values are:
* 'id': Use the ID (canonical location) of each decision point as key.
This is the default behavior.
* 'name_or_id': Use the name of each decision point as key if it's
present, otherwise use ID as key. When the name of a decision
point is presented, it is guaranteed not to clash with other
decision points' names or IDs.
* 'dna_spec': Use the DNASpec object of each decision point as key.
value_type: Value type for choices in returned dictionary.
Acceptable values are:
* 'value': Use the index of the chosen candidate for `Choices`, and
use the float number for `Float`. This is the default behavior.
* 'dna': Use `DNA` for all decision points.
* 'choice': Use '{index}/{num_candidates}' for the chosen candidate
for `Choices`, and the chosen float number for `Float`.
* 'literal': Use the literal value for the chosen candidate for
`Choices`, and the chosen float number for `Float`. If the literal
value for the `Choices` decision point is not present, fall back
to the '{index}/{num_candidates}' format.
* 'choice_and_literal': Use '{index}/{num_candidates} ({literal})'
for the chosen candidate for `Choices` and then chosen float number
for `Float`. If the literal value for the `Choices` decision point
is not present, fall back to the '{index}/{num_candidates}' format.
multi_choice_key: 'subchoice', 'parent', or 'both'. If 'subchoice', each
subchoice will insert a key into the dict. If 'parent', subchoices of
a multi-choice will share the parent spec as key, its value will be
a list of decisions from the subchoices. If 'both', the dict will
contain both the keys for subchoices and the key for the parent
multi-choice.
include_inactive_decisions: If True, inactive decisions from the search
space will be added to the dict with value None. Otherwise they will
be absent in the dict.
filter_fn: Decision point filter. If None, all the decision points will be
included in the dict. Otherwise only the decision points that pass
the filter (returns True) will be included.
Returns:
A dictionary of requested key type to value type mapped from the DNA.
Raises:
ValueError: argument `key_type` or `value_type` is not valid.
RuntimeError: If DNA is not associated with a DNASpec.
"""
if key_type not in ['id', 'name_or_id', 'dna_spec']:
raise ValueError(
f'\'key_type\' must be either \'id\', \'name_or_id\' '
f'or \'dna_spec\'. Encountered: {key_type!r}.')
if value_type not in ['dna', 'value', 'choice',
'literal', 'choice_and_literal']:
raise ValueError(
f'\'value_type\' must be either \'dna\', \'value\', \'choice\' '
f'\'literal\' or \'choice_and_literal\'. '
f'Encountered: {value_type!r}.')
if multi_choice_key not in ['subchoice', 'parent', 'both']:
raise ValueError(
f'\'multi_choice_key\' must be either \'subchoice\', \'parent\', or '
f'\'both\'. Encountered: {multi_choice_key!r}.')
multi_choice_use_parent_as_key = multi_choice_key != 'subchoice'
multi_choice_use_subchoice_as_key = multi_choice_key != 'parent'
filter_fn = filter_fn or (lambda x: True)
self._ensure_dna_spec()
dict_repr = dict()
def _needs_subchoice_key(subchoice):
return (multi_choice_use_subchoice_as_key
and (not multi_choice_use_parent_as_key
or (key_type != 'name_or_id' or subchoice.name is None)))
def _key(spec: 'DecisionPoint'):
if key_type == 'id':
return spec.id.path
elif key_type == 'name_or_id':
return spec.name if spec.name else spec.id.path
else:
return spec
def _put(key, value):
if key in dict_repr:
accumulated = dict_repr[key]
if not isinstance(accumulated, list):
accumulated = [accumulated]
accumulated.append(value)
value = accumulated
dict_repr[key] = value
return value
def _dump_node(dna: DNA):
"""Dump node value to dict representation."""
if isinstance(dna.spec, DecisionPoint) and filter_fn(dna.spec):
key = _key(dna.spec)
value = None
if dna.spec.is_categorical and dna.value is not None:
if value_type == 'dna':
value = dna
elif value_type == 'value':
value = dna.value
else:
value = dna.spec.format_candidate(
dna.value, display_format=value_type)
if dna.spec.is_subchoice:
# Append multi-choice values into parent's key.
if multi_choice_use_parent_as_key:
_put(_key(dna.spec.parent_spec), value)
# Insert subchoice in its own key.
if _needs_subchoice_key(dna.spec):
_put(key, value)
else:
_put(key, value)
elif dna.spec.is_numerical or dna.spec.is_custom_decision_point:
if value_type == 'dna':
value = dna
else:
value = dna.value
_put(key, value)
for child_dna in dna.children:
_dump_node(child_dna)
_dump_node(self)
if not include_inactive_decisions:
return dict_repr
result = dict()
for dp in self.spec.decision_points:
if not filter_fn(dp):
continue
if dp.is_categorical and dp.is_subchoice:
if multi_choice_use_parent_as_key:
if dp.subchoice_index == 0:
k = _key(dp.parent_spec)
result[k] = dict_repr.get(k, None)
if _needs_subchoice_key(dp):
k = _key(dp)
result[k] = dict_repr.get(k, None)
else:
k = _key(dp)
result[k] = dict_repr.get(k, None)
return result
| (self, key_type='id', value_type='value', multi_choice_key='subchoice', include_inactive_decisions=False, filter_fn: Optional[Callable[[pyglove.core.geno.base.DecisionPoint], bool]] = None) -> Dict[Union[pyglove.core.geno.base.DecisionPoint, str], Union[NoneType, pyglove.core.geno.base.DNA, float, int, str, List[pyglove.core.geno.base.DNA], List[int], List[str]]] | [
0.04758862033486366,
-0.02588723413646221,
-0.029747968539595604,
-0.047263506799936295,
0.0013893560972064734,
0.004549061879515648,
-0.008859367109835148,
-0.06571374833583832,
0.017413940280675888,
-0.05872378870844841,
-0.022798648104071617,
0.06981831789016724,
0.01123676635324955,
0.03862765431404114,
-0.0007423022179864347,
-0.022656410932540894,
0.05872378870844841,
0.09013796597719193,
-0.009982028044760227,
0.0014490450266748667,
0.014020558446645737,
0.0122527489438653,
-0.021010518074035645,
0.03620961681008339,
-0.019771018996834755,
-0.047222867608070374,
-0.006908681243658066,
-0.010398580692708492,
-0.07615804672241211,
0.037002082914114,
0.030987467616796494,
-0.03078426979482174,
0.005633622873574495,
-0.011287565343081951,
-0.07713339477777481,
-0.011104688979685307,
-0.021762344986200333,
0.047222867608070374,
-0.04193975776433945,
0.03820094093680382,
-0.034319888800382614,
-0.015442933887243271,
-0.0734352171421051,
-0.03722560033202171,
-0.032653678208589554,
0.016377639025449753,
-0.03287719562649727,
0.04490642622113228,
-0.004876716062426567,
-0.07311010360717773,
0.0064972080290317535,
-0.06087767332792282,
0.003261303761973977,
0.03543746843934059,
-0.015930606052279472,
-0.02166074700653553,
-0.03787582740187645,
0.013644644990563393,
0.07762106508016586,
-0.007614789064973593,
0.014284714125096798,
0.04596304893493652,
-0.06217813119292259,
-0.035152994096279144,
0.003781994804739952,
-0.0074166725389659405,
-0.023205040022730827,
-0.03872925415635109,
-0.0800187811255455,
0.018622959032654762,
-0.012069872580468655,
-0.06737995892763138,
0.05031145364046097,
-0.01142980344593525,
0.023895908147096634,
-0.04033450409770012,
0.027817601338028908,
-0.018003210425376892,
0.010215704329311848,
-0.02627330832183361,
0.01819624751806259,
0.012943617068231106,
-0.020533006638288498,
-0.0693712830543518,
0.02292056567966938,
0.07965303212404251,
0.0145793491974473,
-0.0040918695740401745,
0.023469196632504463,
0.030134040862321854,
-0.02170138619840145,
-0.06201557442545891,
-0.0051459516398608685,
0.058926984667778015,
-0.0032841635402292013,
0.03866829350590706,
0.05535072833299637,
-0.017891451716423035,
0.008640930987894535,
-0.01460982859134674,
-0.021823303773999214,
0.004942754749208689,
-0.01805400848388672,
-0.0034441808238625526,
-0.020949559286236763,
-0.06221877038478851,
-0.07790553569793701,
0.0777023434638977,
-0.01008362602442503,
-0.044337477535009384,
-0.11874803900718689,
0.007218555547297001,
0.007426832336932421,
-0.02026885189116001,
-0.0026720340829342604,
0.023022163659334183,
-0.061853013932704926,
-0.010799894109368324,
-0.059414658695459366,
-0.024464858695864677,
-0.006634365767240524,
0.035254593938589096,
-0.026760978624224663,
0.04925483092665672,
-0.06672973185777664,
-0.000142793171107769,
-0.008955885656177998,
0.05774844437837601,
-0.00835137628018856,
0.04206167533993721,
-0.004284906201064587,
0.021457551047205925,
-0.0201469324529171,
0.010256343521177769,
0.04706031084060669,
0.024688374251127243,
-0.017840653657913208,
0.012232429347932339,
-0.04303701967000961,
0.05169318988919258,
0.036941125988960266,
-0.04458131268620491,
0.06221877038478851,
-0.04596304893493652,
0.04137080907821655,
-0.050555288791656494,
0.00903716403990984,
0.012628662399947643,
-0.04710095003247261,
-0.033080391585826874,
-0.017038026824593544,
0.051408715546131134,
-0.024749334901571274,
0.020319649949669838,
0.012232429347932339,
-0.05083976686000824,
0.02038060873746872,
-0.04051738232374191,
0.0016268419567495584,
-0.018013369292020798,
-0.031109385192394257,
-0.011724438518285751,
0.013888481073081493,
-0.002409148495644331,
0.003827714128419757,
-0.003969951532781124,
0.0014007858699187636,
-0.02324567921459675,
0.05047401040792465,
-0.038526058197021484,
0.007233795709908009,
-0.0002470107574481517,
-0.03974523767828941,
0.010556058026850224,
-0.0616091787815094,
0.028589747846126556,
0.03746943548321724,
-0.003926772624254227,
0.023956866934895515,
-0.04596304893493652,
0.024830613285303116,
-0.0023278698790818453,
-0.06132470443844795,
0.030560754239559174,
0.00370071642100811,
-0.05079912766814232,
0.025318283587694168,
0.040232907980680466,
0.041025374084711075,
0.04202103614807129,
-0.025663718581199646,
-0.0362299382686615,
0.010464619845151901,
0.001179809682071209,
-0.02003517560660839,
-0.025602759793400764,
-0.004803057294338942,
-0.016519876196980476,
-0.02003517560660839,
0.027228331193327904,
-0.006507367826998234,
-0.06481968611478806,
-0.017373301088809967,
0.018937913700938225,
-0.06331603229045868,
0.0162760391831398,
-0.015178779140114784,
0.015503893606364727,
0.018023530021309853,
-0.03665664792060852,
-0.04616624489426613,
-0.049295470118522644,
0.016631633043289185,
-0.019476383924484253,
0.01681451126933098,
-0.09273888170719147,
0.027268970385193825,
0.002548846183344722,
-0.01978117972612381,
-0.006654685363173485,
0.021985862404108047,
-0.027675364166498184,
0.06290964037179947,
0.030926506966352463,
0.05287173017859459,
-0.01834864355623722,
-0.029890205711126328,
0.031495459377765656,
0.0009239090722985566,
-0.011724438518285751,
0.03505139797925949,
-0.04779181629419327,
0.0027279129717499018,
-0.04917355254292488,
0.03171897307038307,
-0.007208395749330521,
-0.0010064577218145132,
-0.023184720426797867,
-0.02078700251877308,
0.05279045179486275,
0.02324567921459675,
-0.0022402415052056313,
0.02294088527560234,
-0.03462468460202217,
-0.0387495718896389,
-0.003268923843279481,
0.0668516531586647,
0.03218632563948631,
0.020990198478102684,
-0.05031145364046097,
0.05372515693306923,
-0.044418755918741226,
-0.011561880819499493,
0.029747968539595604,
-0.02832559309899807,
-0.004033450502902269,
-0.01937478594481945,
0.0213153138756752,
0.04092377424240112,
-0.021030837669968605,
0.005077372770756483,
0.006741044111549854,
-0.059333380311727524,
-0.006177173927426338,
-0.058967623859643936,
0.005242469720542431,
0.05165255069732666,
0.00044671481009572744,
-0.016987226903438568,
-0.02338791824877262,
0.025541801005601883,
0.015046700835227966,
-0.017759375274181366,
-0.00613145437091589,
-0.04620688408613205,
0.025277644395828247,
0.03960299864411354,
-0.01149076223373413,
-0.01042398065328598,
-0.009519755840301514,
-0.004216327331960201,
-0.005714901722967625,
-0.013258571736514568,
0.028488149866461754,
-0.009413078427314758,
-0.02997148409485817,
-0.00006842007132945582,
0.052262142300605774,
0.053440678864717484,
0.014183116145431995,
-0.002301200293004513,
-0.015310856513679028,
0.012588023208081722,
0.0354577898979187,
0.023997506126761436,
0.007472551427781582,
-0.01668243296444416,
-0.1257379949092865,
0.02170138619840145,
0.010119185782968998,
0.042752545326948166,
0.03261303901672363,
0.10761287063360214,
0.048563964664936066,
-0.05209958180785179,
0.012334027327597141,
0.050555288791656494,
-0.023123761638998985,
0.03492948040366173,
0.03155641630291939,
-0.053521957248449326,
0.021437231451272964,
0.07579229772090912,
0.05665118619799614,
-0.004381424747407436,
-0.08550509065389633,
-0.01933414675295353,
-0.03123130276799202,
0.05612287297844887,
0.06152790039777756,
-0.0542534664273262,
0.04949866980314255,
-0.05258725583553314,
0.046450719237327576,
0.038099344819784164,
-0.050555288791656494,
0.060633838176727295,
0.03425893187522888,
0.06989959627389908,
-0.014061197638511658,
-0.0633566677570343,
-0.04547537863254547,
0.004500802606344223,
0.05539136752486229,
0.006654685363173485,
0.043077658861875534,
-0.002941269427537918,
-0.007914504036307335,
-0.011927634477615356,
-0.0008800948271527886,
-0.015077180229127407,
0.023022163659334183,
0.000661023601423949,
0.011389164254069328,
0.029808927327394485,
-0.031495459377765656,
0.028935182839632034,
0.015229578129947186,
0.04657263681292534,
0.03635185584425926,
-0.021762344986200333,
0.03295847401022911,
0.04116761311888695,
0.05510689318180084,
0.012872498482465744,
-0.04832012951374054,
0.025094768032431602,
-0.029260296374559402,
-0.034360527992248535,
0.000010189590284426231,
0.08688682317733765,
-0.030093401670455933,
-0.035620346665382385,
0.02541988343000412,
0.033100709319114685,
-0.048889078199863434,
-0.029707329347729683,
-0.05051464959979057,
0.08131924271583557,
-0.04076121747493744,
0.03616897761821747,
-0.011084369383752346,
-0.01920207031071186,
0.01920207031071186,
0.03240984305739403,
0.005135791841894388,
0.038973089307546616,
0.017312342301011086,
0.021335633471608162,
0.059414658695459366,
-0.021437231451272964,
0.013258571736514568,
-0.013075695373117924,
0.07558909803628922,
-0.03881053254008293,
-0.03167833387851715,
0.08883751183748245,
0.006487048231065273,
0.0015277836937457323,
-0.023022163659334183,
0.012760740704834461,
0.028914863243699074,
0.01145012304186821,
-0.01353288721293211,
-0.020644765347242355,
-0.030621713027358055,
-0.03368997946381569,
-0.03779454901814461,
-0.020929239690303802,
-0.011318045668303967,
0.011358684860169888,
0.006675004959106445,
0.030337238684296608,
-0.004231567028909922,
0.04547537863254547,
-0.038526058197021484,
0.057301413267850876,
0.0027075933758169413,
-0.03401509299874306,
-0.025480842217803,
0.016794191673398018,
-0.037245918065309525,
-0.01873471774160862,
0.04962058737874031,
-0.011185967363417149,
-0.007370952982455492,
0.005618383176624775,
0.03956235945224762,
-0.004749718122184277,
-0.012933457270264626,
0.07274434715509415,
-0.017525698989629745,
-0.020522845908999443,
0.053481318056583405,
0.027797281742095947,
0.03968427702784538,
0.008706970140337944,
0.03330390527844429,
0.0033375024795532227,
-0.026720339432358742,
0.02420070394873619,
-0.04681647568941116,
-0.023895908147096634,
-0.0434027723968029,
-0.010002347640693188,
0.03364934027194977,
-0.015625810250639915,
-0.003781994804739952,
0.03942012041807175,
0.03537651151418686,
-0.06880233436822891,
0.04009066894650459,
0.028020797297358513,
-0.004960534628480673,
0.02621234953403473,
0.012029233388602734,
0.016763711348176003,
0.017017707228660583,
0.013736083172261715,
-0.0507584847509861,
0.07441055774688721,
0.00636513065546751,
0.04372788593173027,
0.03417765349149704,
-0.02332695946097374,
0.02026885189116001,
-0.03637217357754707,
0.017078666016459465,
-0.0011886995052918792,
0.03373061865568161,
0.018125128000974655,
-0.013593846000730991,
0.030581073835492134,
0.0424274280667305,
-0.010942131280899048,
0.08713065832853317,
0.012212109751999378,
0.0059739770367741585,
-0.04218359291553497,
-0.0006508638034574687,
-0.020827641710639,
0.0449470654129982,
0.023123761638998985,
0.0013969759456813335,
-0.030337238684296608,
0.028488149866461754,
0.0747763141989708,
-0.05547264590859413,
-0.036941125988960266,
-0.006964560132473707,
0.055553924292325974,
-0.02869134582579136,
-0.02076668292284012,
-0.006730884313583374,
-0.03458404541015625,
-0.043077658861875534,
-0.027776962146162987,
0.047710537910461426,
-0.07745850831270218,
0.03994843363761902,
-0.08729321509599686,
-0.0366160087287426,
0.024891572073101997,
-0.009722952730953693,
-0.028406871482729912,
0.014833345077931881,
0.05035209283232689,
-0.02584659494459629,
0.030316919088363647,
-0.060146164149045944,
-0.00614161416888237,
-0.018338484689593315,
-0.0055625042878091335,
0.03832286223769188,
0.02741120755672455,
-0.007315074093639851,
-0.06047127768397331,
0.02832559309899807,
-0.06681101024150848,
-0.022656410932540894,
-0.017393620684742928,
-0.04303701967000961,
0.09160098433494568,
-0.049376748502254486,
-0.030073082074522972,
0.02747216634452343,
0.037774231284856796,
-0.01813528873026371,
-0.055553924292325974,
-0.05839867517352104,
-0.0037667551077902317,
0.00472685880959034,
0.06116214767098427,
0.020990198478102684,
0.028874222189188004,
0.0649009644985199,
0.02576531656086445,
0.012852178886532784,
-0.026720339432358742,
-0.03373061865568161,
-0.004980854224413633,
-0.0075385901145637035,
0.04750734195113182,
0.04372788593173027,
-0.007858624681830406,
-0.018490882590413094,
0.038139984011650085,
0.03318198770284653,
-0.014325353316962719,
0.01668243296444416,
0.06546991318464279,
0.017810173332691193,
0.0000958833479671739,
-0.036453451961278915,
0.08221330493688583,
-0.015666451305150986,
0.05299364775419235,
-0.0006327666342258453,
0.0020103754941374063,
0.030540434643626213,
0.008676490746438503,
-0.025704357773065567,
0.05051464959979057,
-0.0004536997003015131,
0.014244074933230877,
-0.0143863121047616,
0.02580595575273037,
0.002222461858764291,
0.01063733734190464,
-0.036778565496206284,
-0.021152755245566368,
-0.00045020724064670503,
-0.011297725141048431,
-0.05713885650038719,
0.04498770460486412,
-0.008493613451719284,
-0.0291586983948946,
0.05583839863538742,
0.027817601338028908,
-0.036778565496206284,
0.009468956850469112,
0.015067020431160927,
-0.03364934027194977,
-0.03194249048829079,
-0.0877808928489685,
-0.0039851912297308445,
-0.03844477981328964,
-0.01228322833776474,
-0.0592927411198616,
0.024241343140602112,
-0.019831979647278786,
0.0383635014295578,
0.029707329347729683,
-0.011876835487782955,
0.022189058363437653,
0.04750734195113182,
0.017464740201830864,
0.03944044187664986,
0.033161669969558716,
-0.03824158012866974,
-0.03736783564090729,
0.033100709319114685,
0.010048067197203636,
-0.011084369383752346,
0.02369271218776703,
0.014660627581179142,
-0.011175807565450668,
0.004450003616511822,
0.004485562909394503,
-0.07250051200389862,
-0.010749095119535923,
-0.007741787005215883,
0.01455902960151434,
0.02462741546332836,
0.057220134884119034,
0.00945371761918068,
0.05917082354426384,
-0.010545898228883743,
-0.022818967700004578,
-0.055025614798069,
0.006629285868257284,
0.04078153893351555,
0.04206167533993721,
-0.041858479380607605,
0.03360870108008385,
-0.084854856133461,
0.011561880819499493,
-0.02088860049843788,
-0.011358684860169888,
-0.002931109629571438,
-0.0271267332136631,
0.006578486878424883,
-0.014071357436478138,
0.038566697388887405,
-0.0608370341360569,
-0.08294481039047241,
-0.010891332291066647,
-0.044418755918741226,
0.014244074933230877,
-0.011165647767484188,
0.039765555411577225,
0.06786762923002243,
-0.04413428157567978,
-0.01378688309341669,
-0.015564852394163609,
0.033974453806877136,
0.046044327318668365,
-0.004005511291325092,
0.012963936664164066,
0.02869134582579136,
-0.022778328508138657,
-0.016753552481532097,
-0.014741905964910984,
0.04462195187807083,
0.016438597813248634,
0.0068274023942649364,
-0.03373061865568161,
0.0006029221112839878,
0.00810754019767046,
0.023225359618663788,
-0.026090430095791817,
0.0035127594601362944,
-0.07542654126882553,
-0.05035209283232689,
-0.016052523627877235,
-0.008249778300523758,
0.02921965718269348,
0.05340003967285156,
-0.05165255069732666,
0.06969640403985977,
-0.01378688309341669,
0.00012501346645876765,
-0.02582627534866333,
-0.038139984011650085,
0.011978433467447758,
0.010119185782968998,
-0.046044327318668365,
0.004211247432976961,
0.019405266270041466,
0.03151577711105347,
0.018887115642428398,
-0.04462195187807083,
-0.001082656322978437,
0.028650706633925438,
-0.01980149932205677,
-0.003682936541736126,
-0.012151150964200497,
0.07627996802330017,
0.02117307484149933,
-0.02212809957563877,
0.05921146273612976,
0.05543200671672821,
0.017231063917279243,
-0.02416006475687027,
0.05238405987620354,
-0.065876305103302,
0.023022163659334183,
-0.06445392966270447,
-0.024281982332468033,
-0.047222867608070374,
0.02369271218776703,
-0.023205040022730827,
-0.03763199225068092,
-0.051002323627471924,
0.015514053404331207,
-0.011399324052035809,
-0.040984734892845154,
0.019384946674108505,
-0.02127467468380928,
0.010871012695133686,
-0.0008654901175759733,
0.005770780611783266,
0.013725923374295235,
0.007619868963956833,
0.009661993943154812,
0.0011201207526028156,
-0.037713270634412766,
0.05193702504038811,
0.08794344961643219,
-0.03287719562649727,
0.012537224218249321,
0.07335393875837326,
-0.04070026054978371,
0.005465985741466284,
-0.06266580522060394,
0.0014490450266748667,
-0.02170138619840145,
0.04779181629419327,
0.01330937072634697,
-0.0034746602177619934,
-0.022697050124406815,
-0.0007854814757592976,
0.06425073742866516,
0.006314331199973822,
-0.006715644616633654,
0.05043337121605873,
0.021071476861834526,
-0.025155726820230484,
-0.04031418636441231,
-0.0379774272441864,
0.01027666311711073,
0.019649101421236992,
-0.07351649552583694,
-0.0656731128692627,
-0.019435744732618332,
-0.05957721546292305,
-0.0005930797779001296,
0.0009296240168623626,
-0.011836196295917034,
-0.005958737339824438,
-0.031414180994033813,
0.03679888695478439,
0.004828456789255142,
-0.02084796130657196,
-0.0017754294676706195,
0.044743869453668594,
0.0073912725783884525,
-0.014691106975078583,
0.017119305208325386,
-0.04299638047814369,
0.030316919088363647,
0.03639249503612518,
-0.0051205516792833805,
0.02294088527560234,
0.021579468622803688,
-0.005816499702632427,
0.010378261096775532,
0.0383635014295578,
-0.004315385594964027,
-0.013929120264947414,
0.0035076795611530542,
-0.001280772965401411,
0.053481318056583405,
-0.03403541445732117,
0.0005445031565614045,
-0.02793951891362667,
-0.025480842217803,
-0.023489516228437424
]
|
40,443 | pyglove.core.geno.base | to_numbers | Returns a (maybe) nested structure of numbers as decisions.
Args:
flatten: If True, the hierarchy of the numbers will not be preserved.
Decisions will be returned as a flat list in DFS order. Otherwise, a
nestable structure of numbers will be returned.
Returns:
A flat list or a hierarchical structure of numbers as the decisions made
for each decision point.
| def to_numbers(
self, flatten: bool = True,
) -> Union[List[Union[int, float, str]],
object_utils.Nestable[Union[int, float, str]]]:
"""Returns a (maybe) nested structure of numbers as decisions.
Args:
flatten: If True, the hierarchy of the numbers will not be preserved.
Decisions will be returned as a flat list in DFS order. Otherwise, a
nestable structure of numbers will be returned.
Returns:
A flat list or a hierarchical structure of numbers as the decisions made
for each decision point.
"""
if flatten:
decisions = [self.value] if self.value is not None else []
for c in self.children:
decisions.extend(c.to_numbers(flatten))
return decisions
else:
if self.value is None:
return [c.to_numbers(flatten) for c in self.children]
elif not self.children:
return self.value
elif len(self.children) == 1:
child = self.children[0].to_numbers(flatten)
if isinstance(child, tuple):
return tuple([self.value, list(child)])
else:
return (self.value, child)
else:
assert len(self.children) > 1
return (self.value, [c.to_numbers(flatten) for c in self.children])
| (self, flatten: bool = True) -> Union[List[Union[str, int, float]], Any, int, float, str] | [
0.004655493423342705,
-0.09303655475378036,
0.02463379316031933,
-0.00016825187776703387,
-0.02294755168259144,
0.02067478932440281,
-0.025770172476768494,
-0.01922682113945484,
-0.010942243039608002,
0.021316295489668846,
-0.004327867645770311,
0.006818281952291727,
0.05135705694556236,
-0.0475446842610836,
-0.010648983530700207,
0.028061261400580406,
0.02456047758460045,
-0.03904016315937042,
0.03761052340269089,
0.11532427370548248,
0.0054894499480724335,
-0.006570844445377588,
0.012197759933769703,
0.026741594076156616,
-0.04189944267272949,
-0.007455204613506794,
0.03145207464694977,
0.03376149386167526,
-0.11077874898910522,
-0.011382131837308407,
-0.04783794656395912,
0.015845173969864845,
-0.016367541626095772,
-0.02003328502178192,
-0.007436876185238361,
0.00266682798974216,
-0.06279417872428894,
0.07338817417621613,
-0.0936230719089508,
0.035832636058330536,
-0.005072471685707569,
-0.06041144207119942,
-0.03291837126016617,
0.010914749465882778,
-0.031873635947704315,
0.0030471489299088717,
0.058138683438301086,
0.008509106002748013,
-0.027859646826982498,
-0.09750876575708389,
0.005727723240852356,
-0.0009250272996723652,
-0.025037024170160294,
0.015826845541596413,
-0.022342702373862267,
0.004091885406523943,
0.0666065514087677,
0.011547090485692024,
0.031085500493645668,
0.002694321097806096,
0.0038788141682744026,
0.05582926422357559,
-0.013819850981235504,
-0.031122157350182533,
-0.005081636365503073,
0.017265649512410164,
-0.05703895911574364,
0.02448716200888157,
-0.03845364227890968,
0.02404727414250374,
-0.03381647914648056,
-0.03475124388933182,
0.018090441823005676,
0.03823369741439819,
0.028262877836823463,
-0.01239021122455597,
0.07129870355129242,
0.014204753562808037,
0.029949119314551353,
-0.028592795133590698,
0.007720971014350653,
0.05458291247487068,
0.00541155319660902,
-0.020949721336364746,
0.014507177285850048,
0.0034732914064079523,
0.036785729229450226,
0.04486869275569916,
0.01739395037293434,
0.04868106544017792,
-0.03764718025922775,
-0.03794043883681297,
-0.0036680339835584164,
0.00851368810981512,
-0.014003138057887554,
0.02655830793082714,
-0.004692151211202145,
-0.05143037438392639,
-0.04175281152129173,
-0.015744365751743317,
-0.009659232571721077,
0.04193609952926636,
-0.11275825649499893,
0.002501869574189186,
-0.03691403195261955,
-0.057332221418619156,
-0.005691065918654203,
0.01627589948475361,
0.05311661586165428,
0.02003328502178192,
-0.1075529009103775,
0.08621827512979507,
-0.004355360753834248,
-0.024982038885354996,
-0.036785729229450226,
-0.00597974332049489,
-0.017916318029165268,
-0.00614470150321722,
-0.028336193412542343,
0.020564818754792213,
-0.04142289608716965,
0.05029399320483208,
0.026430007070302963,
0.06506694108247757,
-0.05179694667458534,
0.05458291247487068,
0.028482822701334953,
0.005301580764353275,
-0.03933342173695564,
0.006167612504214048,
0.061144594103097916,
-0.01125383097678423,
0.022562647238373756,
0.05788208171725273,
-0.001995538827031851,
0.03630918264389038,
0.013728206977248192,
-0.011125530116260052,
-0.020216573029756546,
-0.014058124274015427,
0.013205839321017265,
-0.08445871621370316,
0.012261910364031792,
0.014177260920405388,
-0.0000902832398423925,
0.02714482694864273,
0.07720054686069489,
0.06543350964784622,
-0.11466444283723831,
-0.030480653047561646,
-0.0446120910346508,
-0.028226220980286598,
0.04655493423342705,
-0.014717957936227322,
0.020784761756658554,
0.04197275638580322,
0.01518534030765295,
-0.04747137054800987,
0.06741300970315933,
0.007780539337545633,
-0.03720729053020477,
0.01121717318892479,
0.01884191855788231,
0.05099048465490341,
-0.03163536265492439,
0.013022552244365215,
-0.004316412378102541,
-0.07346148788928986,
-0.05623249709606171,
0.0008288015960715711,
0.03264344111084938,
-0.011867842637002468,
0.012307732366025448,
0.054252997040748596,
0.037078991532325745,
-0.007899676449596882,
0.03117714449763298,
0.023497411981225014,
0.009805862791836262,
0.07448789477348328,
-0.015084532089531422,
-0.02346075512468815,
-0.005539854057133198,
-0.05439962446689606,
0.008509106002748013,
0.0012921743327751756,
0.004815869964659214,
-0.006818281952291727,
-0.01820041425526142,
0.03222187981009483,
0.028079591691493988,
0.005878935102373362,
0.06374727189540863,
0.01935512199997902,
-0.002673701150342822,
0.007556012831628323,
-0.05275003984570503,
-0.013563249260187149,
-0.04879103973507881,
-0.0080508878454566,
-0.0014926446601748466,
-0.028427837416529655,
0.0623176284134388,
0.019630054011940956,
0.002009285381063819,
0.05014736205339432,
-0.020069941878318787,
0.022104429081082344,
0.03673074394464493,
0.008133367635309696,
-0.0417894683778286,
0.013581577688455582,
-0.0016885328805074096,
0.024230560287833214,
-0.022635962814092636,
-0.017045704647898674,
0.001733209122903645,
0.0017916319193318486,
-0.02391897328197956,
-0.0063967215828597546,
0.04505198076367378,
-0.033633191138505936,
0.006492947228252888,
0.02778633125126362,
0.014974559657275677,
0.020931392908096313,
-0.05758882313966751,
-0.04670156538486481,
0.0351911336183548,
0.01291257981210947,
0.023662371560931206,
-0.06704644113779068,
-0.05362981930375099,
-0.02067478932440281,
0.007207767106592655,
0.03103051334619522,
-0.004676113370805979,
-0.026539979502558708,
0.0032166894525289536,
0.008202100172638893,
-0.05601255223155022,
-0.02897769771516323,
-0.025110339745879173,
-0.011015557684004307,
0.0074414582923054695,
0.01147377584129572,
0.01140046026557684,
-0.0300041064620018,
-0.027309784665703773,
-0.025861816480755806,
-0.02039985917508602,
-0.04802123084664345,
0.03775715082883835,
-0.037298936396837234,
0.009022309444844723,
-0.02736477181315422,
-0.0821126401424408,
0.04208273068070412,
-0.019703367725014687,
0.0007990174344740808,
0.04849777743220329,
-0.057185590267181396,
-0.009077295660972595,
0.027548057958483696,
-0.03748222067952156,
-0.03394477814435959,
0.003723020199686289,
-0.022177744656801224,
-0.010832270607352257,
-0.0022601597011089325,
-0.02331412583589554,
-0.04175281152129173,
0.006350899580866098,
-0.009278912097215652,
0.021682869642972946,
0.015561078675091267,
0.0351361446082592,
0.014736286364495754,
-0.022031115368008614,
-0.0011020139791071415,
-0.034421324729919434,
-0.01324249617755413,
-0.00876112561672926,
-0.01935512199997902,
0.021169666200876236,
0.022764263674616814,
-0.009503438137471676,
-0.0008190644439309835,
-0.028574466705322266,
-0.026539979502558708,
0.060191500931978226,
0.0012222961522638798,
0.02177451364696026,
0.02206777222454548,
0.05465622618794441,
0.0009548114612698555,
-0.04849777743220329,
-0.03066393919289112,
0.012078623287379742,
-0.0046692402102053165,
0.019630054011940956,
-0.009952492080628872,
0.05348318815231323,
0.020124929025769234,
0.04959750175476074,
-0.029729174450039864,
0.02705318294465542,
-0.026888225227594376,
0.04622501879930496,
0.030755583196878433,
0.006937418598681688,
0.05619584023952484,
0.05300664156675339,
-0.029509231448173523,
0.02910599857568741,
-0.08511855453252792,
-0.005709394812583923,
0.001236042706295848,
0.03339491784572601,
0.021297967061400414,
-0.011043050326406956,
0.026539979502558708,
0.01866779662668705,
0.015890995040535927,
0.012866757810115814,
0.02934427186846733,
0.02983914688229561,
0.02243434637784958,
-0.005658990703523159,
-0.010923913680016994,
-0.02375401370227337,
-0.02206777222454548,
0.030902212485671043,
0.0022670328617095947,
0.03328494727611542,
-0.04351237043738365,
0.05264006927609444,
0.06847608089447021,
-0.05876186117529869,
-0.04307248070836067,
0.005663572810590267,
0.010841434821486473,
-0.012087787501513958,
0.06330738216638565,
-0.012903415597975254,
0.0491209551692009,
0.067229725420475,
-0.014488848857581615,
0.054252997040748596,
0.11393129080533981,
-0.01048402488231659,
0.016037626191973686,
0.014772944152355194,
-0.0029371764976531267,
-0.04673822224140167,
-0.015726037323474884,
-0.001998975407332182,
-0.04318245127797127,
0.02316749468445778,
-0.03462294116616249,
0.05590258166193962,
-0.00938430242240429,
0.03794043883681297,
-0.006121790502220392,
0.020656460896134377,
-0.05722224712371826,
-0.05275003984570503,
-0.01893356256186962,
0.029069341719150543,
0.026888225227594376,
0.009219343774020672,
-0.004866273608058691,
-0.01088725682348013,
-0.012041965499520302,
0.02098637819290161,
0.07272834330797195,
0.013517427258193493,
0.0190618634223938,
0.029692517593503,
-0.013554084114730358,
-0.019116848707199097,
0.011235502548515797,
0.005709394812583923,
0.014672135934233665,
0.01742144301533699,
0.013755700550973415,
0.06374727189540863,
-0.0237723421305418,
0.0003087242948822677,
0.02135295234620571,
-0.019025206565856934,
0.060704704374074936,
0.00027808095910586417,
-0.010309902019798756,
-0.05905511975288391,
-0.01862197369337082,
0.0702722892165184,
0.0007881347555667162,
0.023057522252202034,
-0.0344579853117466,
0.03493453189730644,
0.010832270607352257,
0.008463284000754356,
-0.03618088364601135,
-0.04791126027703285,
0.0006472327513620257,
-0.003853612346574664,
-0.020876405760645866,
-0.001727481372654438,
-0.020051613450050354,
0.0527866967022419,
0.012600990943610668,
0.05894514545798302,
0.02646666392683983,
0.03229519724845886,
-0.04699482396245003,
-0.024963708594441414,
0.09047053754329681,
0.03830701485276222,
-0.0402132011950016,
0.01742144301533699,
0.01198697928339243,
-0.008192935958504677,
0.05524274706840515,
0.0074185472913086414,
0.016651637852191925,
0.008619078435003757,
0.029765833169221878,
-0.011171351186931133,
0.03834367170929909,
0.022397689521312714,
-0.0303706806153059,
0.023369111120700836,
-0.05861523002386093,
0.023735685274004936,
-0.03420138359069824,
0.004355360753834248,
0.0015041001606732607,
-0.03991993889212608,
-0.01324249617755413,
0.030627282336354256,
0.05652575567364693,
0.030755583196878433,
-0.04160618409514427,
0.07357145845890045,
-0.02470710687339306,
-0.013902329839766026,
0.04134957864880562,
-0.0702722892165184,
-0.08152612298727036,
0.009897505864501,
-0.02030821517109871,
0.0826258435845375,
-0.014186425134539604,
-0.04109297692775726,
0.03706066310405731,
-0.010685640387237072,
0.010758955962955952,
0.02397395856678486,
0.013315810821950436,
0.03984662517905235,
-0.02677825279533863,
0.0026645369362086058,
-0.021517911925911903,
-0.03379815071821213,
-0.06393055617809296,
0.06847608089447021,
-0.05678235739469528,
-0.01088725682348013,
-0.020564818754792213,
0.07536767423152924,
-0.027987947687506676,
0.02611841820180416,
-0.01019992958754301,
-0.028446165844798088,
0.03339491784572601,
0.04442880302667618,
-0.05942169204354286,
-0.016486678272485733,
-0.029619203880429268,
-0.0033885210286825895,
-0.02573351562023163,
0.027529729530215263,
-0.04853443801403046,
-0.060484759509563446,
0.026301706209778786,
-0.023295795544981956,
-0.007102376781404018,
-0.00965006835758686,
-0.029802490025758743,
-0.04611504450440407,
0.0034114320296794176,
0.01966671086847782,
-0.06096130609512329,
-0.023277467116713524,
0.04904764145612717,
0.03772049397230148,
-0.049707476049661636,
-0.005278669763356447,
-0.006662487983703613,
-0.007253588642925024,
-0.0012749911984428763,
0.00808754563331604,
0.01915350742638111,
0.02399228699505329,
0.04747137054800987,
0.03471458703279495,
-0.025403598323464394,
-0.08255252987146378,
0.007523937616497278,
-0.06015484035015106,
0.008449537679553032,
0.03390812128782272,
0.04864440858364105,
-0.030755583196878433,
0.03528277575969696,
-0.012078623287379742,
0.020289886742830276,
-0.02155456878244877,
-0.02802460454404354,
0.006960329599678516,
-0.04208273068070412,
-0.00285927951335907,
0.022416017949581146,
-0.005585675593465567,
-0.0022876528091728687,
-0.04156952351331711,
0.03991993889212608,
0.015991803258657455,
-0.020289886742830276,
0.05659906938672066,
-0.06327072530984879,
-0.02192114293575287,
0.035466063767671585,
-0.024157246574759483,
-0.029600873589515686,
0.010355724021792412,
0.026796581223607063,
-0.05736887827515602,
0.05198023468255997,
-0.014333055354654789,
0.04923092946410179,
-0.04039648547768593,
-0.002604968613013625,
0.05370313301682472,
0.014488848857581615,
0.02347908355295658,
0.0219394713640213,
0.04354902729392052,
0.0025316537357866764,
0.0438789427280426,
-0.011501268483698368,
0.009998314082622528,
0.01386567298322916,
0.0681828185915947,
-0.05978826805949211,
-0.013315810821950436,
-0.0074185472913086414,
0.005260341335088015,
-0.03867358714342117,
-0.03878356143832207,
0.010529846884310246,
-0.00420873099938035,
-0.04494201019406319,
-0.005251176655292511,
-0.012197759933769703,
-0.06686314940452576,
0.04703148081898689,
0.01664247363805771,
0.010062464512884617,
0.03951670974493027,
-0.0300041064620018,
0.05011070519685745,
-0.01239021122455597,
0.035612691193819046,
0.010841434821486473,
-0.015698544681072235,
-0.010612325742840767,
-0.01827372796833515,
0.024670450016856194,
-0.02509201131761074,
-0.00213758647441864,
-0.07690728455781937,
-0.0062821670435369015,
0.015469435602426529,
0.00986084807664156,
0.005837695673108101,
0.01195948664098978,
-0.016816595569252968,
-0.02465212158858776,
0.018502837046980858,
-0.007853854447603226,
0.053813107311725616,
0.03354154899716377,
-0.0038971430622041225,
-0.03779381141066551,
-0.0644071027636528,
0.029014354571700096,
0.04270590469241142,
-0.027749674394726753,
-0.008101291954517365,
0.022049443796277046,
0.008866515941917896,
0.02397395856678486,
0.01272012759000063,
-0.0017309179529547691,
0.003285422222688794,
-0.07243508100509644,
0.021371280774474144,
0.022397689521312714,
0.027822988107800484,
0.01908019185066223,
0.007638491690158844,
-0.013654892332851887,
-0.04266924783587456,
-0.02597178891301155,
-0.02604510448873043,
0.004538647830486298,
-0.09105705469846725,
-0.019795011729002,
-0.003255638061091304,
-0.022635962814092636,
-0.03607090935111046,
0.007629327476024628,
-0.0835789367556572,
-0.022049443796277046,
0.007872182875871658,
-0.02983914688229561,
0.032020263373851776,
0.03258845582604408,
0.05964163690805435,
-0.003374774707481265,
0.004325576592236757,
-0.004213313106447458,
-0.07349814474582672,
-0.01761389523744583,
-0.015817681327462196,
0.00001029200302582467,
0.05986158177256584,
0.0322585366666317,
0.006323406472802162,
0.01898854784667492,
-0.03896684572100639,
-0.02201278693974018,
0.0025247803423553705,
-0.08739130944013596,
-0.05033065006136894,
-0.018044618889689445,
0.02391897328197956,
0.04747137054800987,
-0.06433378905057907,
0.07023563235998154,
-0.0030998438596725464,
-0.021829498931765556,
-0.02531195431947708,
0.033193301409482956,
0.031507059931755066,
0.014021466486155987,
-0.025495242327451706,
0.0373355932533741,
-0.03991993889212608,
0.0006804535514675081,
-0.006002653855830431,
0.016624145209789276,
0.025403598323464394,
0.04024985805153847,
-0.015240326523780823,
0.05509611591696739,
0.04156952351331711,
-0.014607985503971577,
-0.028446165844798088,
0.008971906267106533,
0.0017412279266864061,
0.059311721473932266,
-0.06030147150158882,
0.029087670147418976,
0.0007062283111736178,
0.07756712287664413,
-0.014360547997057438,
-0.04090969264507294,
0.0037207291461527348,
-0.009251418523490429,
-0.021151335909962654,
0.008582420647144318,
-0.030132407322525978,
-0.0664965808391571,
-0.011877006851136684,
0.0037711330223828554,
0.009485109709203243,
0.018970219418406487,
0.01629422791302204,
0.02118799462914467,
0.00931098684668541,
-0.03779381141066551,
-0.023900644853711128,
0.07368143647909164,
-0.05894514545798302,
0.012463525868952274,
-0.02017991431057453,
-0.010474860668182373,
0.04343905299901962,
-0.0592750646173954,
-0.027548057958483696,
0.04574847221374512,
0.010676476173102856,
-0.04024985805153847,
-0.02421223185956478,
0.029600873589515686,
0.0497441329061985,
0.02619173377752304,
-0.008243339136242867,
0.07129870355129242,
-0.0877578854560852,
-0.05788208171725273,
-0.021536240354180336,
-0.015258654952049255,
0.02758471481502056,
0.04732474312186241,
-0.029307615011930466,
0.00869697518646717,
-0.0004038045008201152,
-0.02575184404850006,
0.062171000987291336,
0.01952008157968521,
0.00106421101372689,
0.05714893341064453,
0.08673147857189178,
-0.00323501811362803,
-0.005526107270270586,
-0.07727386057376862,
-0.022837579250335693,
0.022562647238373756,
0.004696733318269253,
-0.08350562304258347,
-0.010245751589536667,
-0.008321236819028854,
0.01074979081749916,
0.034512970596551895,
-0.018704453483223915,
-0.03498951718211174,
0.004224768839776516,
-0.01052068267017603,
-0.02487206645309925,
0.03926010802388191,
0.01834704354405403,
-0.057112276554107666,
0.04468540474772453,
0.0460783876478672,
0.013315810821950436,
-0.06088798865675926,
-0.027896303683519363,
0.0011484085116535425,
0.04054311662912369,
-0.05260341241955757,
0.04321910813450813,
0.0037825885228812695,
-0.061951056122779846,
-0.0104198744520545,
-0.03911347687244415,
-0.09699555486440659,
0.015799352899193764,
-0.0205281600356102,
-0.026375019922852516,
0.000049616402975516394,
-0.05623249709606171,
0.04530858248472214,
0.006937418598681688,
0.03418305143713951
]
|
40,444 | pyglove.core.geno.base | use_spec | Use a DNA spec for this node and children recursively.
Args:
spec: DNA spec.
Returns:
Self.
Raises:
ValueError: current DNA tree does not conform to the DNA spec.
| def use_spec(self, spec: DNASpec) -> 'DNA':
"""Use a DNA spec for this node and children recursively.
Args:
spec: DNA spec.
Returns:
Self.
Raises:
ValueError: current DNA tree does not conform to the DNA spec.
"""
if not isinstance(spec, DNASpec):
raise ValueError(
f'Argument \'spec\' must be a `pg.DNASpec` object. '
f'Encountered: {spec!r}.')
if self._spec is spec:
return self
def _use_spec_for_child_choices(spec: DNASpec, children: List[DNA]):
"""Use spec for child choices."""
assert spec.is_categorical, spec
if spec.num_choices != len(children):
raise ValueError(
f'Number of choices ({spec.num_choices}) does not match with '
f'the number of child values (len(children)). '
f'Spec: {spec!r}, Children: {children!r}.')
for i, child in enumerate(children):
subchoice = spec.subchoice(i)
child.use_spec(subchoice)
child_values = [c.value for c in children]
if spec.sorted and sorted(child_values) != child_values:
raise ValueError(
f'Child values {child_values!r} are not sorted. Spec: {spec!r}.')
if spec.distinct and len(set(child_values)) != len(child_values):
raise ValueError(
f'Child values {child_values!r} are not distinct. Spec: {spec!r}.')
# Skip dummy DNA specs.
while spec.is_space and len(spec.elements) == 1:
spec = spec.elements[0]
if spec.is_space:
# Multiple value composition.
if self.value is not None:
raise ValueError(
f'DNA value type mismatch. Value: {self.value}, Spec: {spec!r}.')
if len(spec.elements) != len(self.children):
raise ValueError(
f'Length of DNA child values ({len(self.children)}) is different '
f'from the number of elements ({len(spec.elements)}) '
f'in Spec: {spec!r}.')
for i, elem_spec in enumerate(spec.elements):
self.children[i].use_spec(elem_spec)
elif spec.is_categorical:
if spec.num_choices == 1:
# Single choice.
if not isinstance(self.value, int):
raise ValueError(
f'DNA value type mismatch. Value: {self.value}, Spec: {spec!r}.')
if self.value >= len(spec.candidates):
raise ValueError(
f'Value of DNA is out of range according to the DNA spec. '
f'Value: {self.value}, Spec: {spec!r}.')
chosen_candidate = spec.candidates[self.value]
assert chosen_candidate.is_space, chosen_candidate
# Empty template in chosen candidate.
if not chosen_candidate.elements and self.children:
raise ValueError(
f'There is no DNA spec for child DNA values. '
f'Child values: {self.children}.')
# None-empty template in chosen candidate.
if len(chosen_candidate.elements) > 1:
# Children are DNA of multiple encoders in chosen composition.
if len(chosen_candidate.elements) != len(self.children):
raise ValueError(
f'Number of elements in child templates '
f'({len(chosen_candidate.elements)}) does not match with '
f'the length of children ({len(self.children)}) from DNA: '
f'{self!r}, Spec: {chosen_candidate}.')
for i, elem_spec in enumerate(chosen_candidate.elements):
self.children[i].use_spec(elem_spec)
elif len(chosen_candidate.elements) == 1:
# Children are multiple choices of the only encoder
# in chosen composition.
sub_spec = chosen_candidate
while sub_spec.is_space and len(sub_spec.elements) == 1:
sub_spec = sub_spec.elements[0]
if sub_spec.is_numerical or sub_spec.is_custom_decision_point:
if len(self.children) != 1:
raise ValueError(
f'Encountered more than 1 value.'
f'Child value: {self.children}, Spec: {sub_spec}.')
self.children[0].use_spec(sub_spec)
else:
assert sub_spec.is_categorical, sub_spec
_use_spec_for_child_choices(sub_spec, self.children)
else:
# Multiple choices.
if self.value is not None:
raise ValueError(
f'Cannot apply multi-choice DNA spec on '
f'value {self.value}: {spec!r}.')
_use_spec_for_child_choices(spec, self.children)
elif spec.is_numerical:
if not isinstance(self.value, float):
raise ValueError(
f'DNA value type mismatch. Value: {self.value}, '
f'Spec: {spec!r}.')
if self.value < spec.min_value:
raise ValueError(
f'DNA value should be no less than {spec.min_value}. '
f'Encountered {self.value}, Spec: {spec!r}.')
if self.value > spec.max_value:
raise ValueError(
f'DNA value should be no greater than {spec.max_value}. '
f'Encountered {self.value}, Spec: {spec!r}.')
else:
assert spec.is_custom_decision_point, spec
if not isinstance(self.value, str):
raise ValueError(
f'DNA value type mismatch, Value: {self.value!r}, Spec: {spec!r}.')
self._spec = spec
return self
| (self, spec: pyglove.core.geno.base.DNASpec) -> pyglove.core.geno.base.DNA | [
0.09154999256134033,
-0.01826433837413788,
-0.007305735256522894,
-0.011367647908627987,
-0.026026681065559387,
0.04642185941338539,
-0.018597282469272614,
-0.034340761601924896,
0.04851464927196503,
-0.008780200034379959,
0.034378811717033386,
0.061223581433296204,
0.005407956428825855,
0.02950832061469555,
-0.011748154647648335,
-0.007039380259811878,
0.022868473082780838,
0.07929766923189163,
0.021061064675450325,
0.054869115352630615,
-0.03557740896940231,
0.03481639549136162,
-0.05273827537894249,
0.01798846945166588,
-0.01674230955541134,
0.035463254898786545,
-0.01967221312224865,
-0.030345436185598373,
-0.053194884210824966,
-0.007305735256522894,
0.03552033379673958,
-0.021422546356916428,
0.014107298105955124,
-0.024067070335149765,
-0.020204924046993256,
-0.022240636870265007,
-0.05148260295391083,
0.04615550488233566,
-0.06803465634584427,
0.044329069554805756,
-0.007296222727745771,
-0.05140650272369385,
-0.005089281592518091,
-0.052053362131118774,
-0.030668867751955986,
0.0008026320138014853,
0.014468779787421227,
0.06057672202587128,
-0.050455234944820404,
-0.05091184377670288,
0.056543346494436264,
-0.041246961802244186,
-0.013755329884588718,
0.00716304499655962,
-0.06445789337158203,
0.08363544940948486,
-0.034302711486816406,
0.041437216103076935,
0.10410672426223755,
0.015172718092799187,
0.041475266218185425,
0.03865951672196388,
-0.029451245442032814,
-0.045660845935344696,
-0.04223627969622612,
-0.011481800116598606,
0.04531838744878769,
-0.04809609055519104,
-0.030668867751955986,
0.06065282225608826,
-0.029926879331469536,
-0.050264980643987656,
0.04779168590903282,
0.024390501901507378,
0.041170861572027206,
-0.029584422707557678,
-0.01155790127813816,
0.017893344163894653,
0.07937376946210861,
-0.02378169074654579,
0.017151355743408203,
0.039991289377212524,
-0.0062736100517213345,
-0.07260074466466904,
0.011653028428554535,
0.04254068806767464,
-0.017931394279003143,
0.011348622851073742,
0.07944986969232559,
0.002613607794046402,
0.002025010995566845,
-0.03837413340806961,
0.05407005175948143,
0.06407738476991653,
-0.01620008796453476,
0.06514280289411545,
0.0575326643884182,
-0.044214919209480286,
-0.009117900393903255,
-0.006972791627049446,
-0.008818251080811024,
0.0508357398211956,
-0.018064571544528008,
0.035463254898786545,
-0.005950178951025009,
0.0024661612696945667,
-0.058065373450517654,
0.01323213241994381,
-0.0003873442765325308,
-0.0008787334663793445,
-0.07899326086044312,
-0.004202224779874086,
0.031867463141679764,
0.047487277537584305,
-0.0354442298412323,
-0.02716820314526558,
-0.04040984809398651,
-0.038621462881565094,
-0.020642507821321487,
-0.030440563336014748,
0.03310411423444748,
0.026293035596609116,
-0.014668546617031097,
0.019767340272665024,
-0.026730619370937347,
0.05003667622804642,
-0.014107298105955124,
0.007310491520911455,
-0.03028836101293564,
-0.012043047696352005,
0.0708884596824646,
0.041170861572027206,
0.04029569402337074,
0.01252819411456585,
0.04938981309533119,
0.035158850252628326,
-0.014934901148080826,
-0.01473513524979353,
-0.018597282469272614,
-0.015933731570839882,
0.03586278855800629,
-0.04672626405954361,
0.08135240525007248,
-0.06438179314136505,
-0.01093006506562233,
0.013393848203122616,
0.0014732757117599249,
-0.028994636610150337,
-0.0694044828414917,
-0.0189302247017622,
-0.049009308218955994,
0.0091369254514575,
0.03673795610666275,
0.019025351852178574,
0.009902696125209332,
-0.018216773867607117,
-0.012509169057011604,
-0.04866684973239899,
0.0038645246531814337,
-0.0004893082659691572,
0.0018240556819364429,
-0.05304268002510071,
-0.003935869783163071,
0.054907165467739105,
-0.010892014019191265,
0.02998395450413227,
-0.09193050116300583,
-0.04223627969622612,
0.007495988626033068,
-0.016143010929226875,
0.039762984961271286,
0.01783626712858677,
-0.030440563336014748,
0.022183559834957123,
-0.031753312796354294,
0.026483289897441864,
0.05117819830775261,
-0.02241186425089836,
-0.0054460070095956326,
-0.01714184135198593,
-0.013289208523929119,
0.010368816554546356,
-0.009683904238045216,
0.002463783137500286,
-0.0011082267155870795,
-0.010235639289021492,
0.009669635444879532,
0.016808899119496346,
0.042959243059158325,
-0.0031486956868320704,
-0.00004280704160919413,
-0.03188648819923401,
-0.00034245633287355304,
0.03597693890333176,
0.03028836101293564,
-0.023020675405859947,
0.030041031539440155,
-0.02534176968038082,
0.01798846945166588,
0.015315408818423748,
-0.007824175991117954,
-0.05152065306901932,
0.012965776957571507,
-0.00251372461207211,
-0.013127492740750313,
0.04383441060781479,
0.021841103211045265,
-0.009032285772264004,
-0.01924414373934269,
-0.07134506851434708,
-0.10562875121831894,
-0.034055378288030624,
0.017208430916070938,
-0.006406787317246199,
0.007210608571767807,
-0.1120973750948906,
0.06388713419437408,
-0.04988447204232216,
-0.014877825044095516,
-0.01397412084043026,
0.045660845935344696,
0.028043368831276894,
0.03356071934103966,
0.0066113099455833435,
0.009279615245759487,
-0.011129830963909626,
-0.0058788335882127285,
-0.0108539629727602,
0.004632673226296902,
0.057989273220300674,
-0.005336611066013575,
-0.018559230491518974,
0.07861275225877762,
-0.03848828747868538,
-0.03668087720870972,
0.04554669186472893,
0.002405517967417836,
-0.0015802932903170586,
-0.036129143089056015,
0.012899188324809074,
-0.033161189407110214,
-0.0014423595275729895,
0.0016540165524929762,
-0.022449916228652,
0.0029869803693145514,
0.005255753640085459,
0.02096593752503395,
0.020395176485180855,
0.020946912467479706,
-0.03618621826171875,
-0.009469868615269661,
-0.01881607249379158,
0.013488974422216415,
0.01206207275390625,
-0.04086645692586899,
-0.03274263069033623,
-0.005322342272847891,
0.008837276138365269,
0.06331637501716614,
0.02642621472477913,
0.006749243475496769,
-0.012775523588061333,
0.000509225414134562,
0.041361115872859955,
-0.06788245588541031,
-0.009636340662837029,
0.014497318305075169,
0.0043901000171899796,
-0.06746389716863632,
0.01438316609710455,
-0.005327098537236452,
0.031239628791809082,
-0.0036671366542577744,
-0.011634002439677715,
-0.014478293247520924,
0.0025612879544496536,
0.03911612555384636,
0.003022652817890048,
0.015933731570839882,
0.003300898475572467,
-0.0016231003683060408,
0.010540044866502285,
-0.0011712482664734125,
0.04090450704097748,
-0.01597178354859352,
-0.04923761263489723,
0.00872312393039465,
0.04478567838668823,
0.0066446042619645596,
0.021555723622441292,
-0.02490418590605259,
-0.024580754339694977,
0.040447898209095,
0.00802394188940525,
0.06320221722126007,
-0.05707605555653572,
-0.016066910699009895,
-0.037537019699811935,
-0.013603126630187035,
-0.04052399843931198,
0.02916586399078369,
-0.0025470189284533262,
0.0697469413280487,
0.06480035185813904,
-0.07241048663854599,
0.009441331028938293,
0.036795031279325485,
-0.04554669186472893,
0.018178723752498627,
0.00710596889257431,
-0.049047358334064484,
0.0601201131939888,
0.025246642529964447,
0.05856003239750862,
0.008028698153793812,
-0.034759316593408585,
0.01249014399945736,
-0.054831065237522125,
0.047144822776317596,
0.03424563258886337,
-0.04798193648457527,
0.0597396045923233,
-0.03723261505365372,
-0.006221290212124586,
0.020281026139855385,
0.024029020220041275,
0.027263330295681953,
0.057913172990083694,
-0.01865435764193535,
0.0006040549487806857,
-0.061109431087970734,
-0.0276438370347023,
0.02501833811402321,
-0.006715949159115553,
-0.00019887438975274563,
0.024257324635982513,
0.03572960942983627,
0.014373653568327427,
0.019101453945040703,
-0.0393444262444973,
0.03213382139801979,
0.004489982966333628,
-0.00023826280084904283,
0.012480630539357662,
0.057951223105192184,
-0.019824417307972908,
0.06000595912337303,
-0.01102519128471613,
0.010121487081050873,
0.032343097031116486,
0.011053729802370071,
0.011215444654226303,
0.03443588688969612,
-0.005969204008579254,
0.0025660444516688585,
-0.024599779397249222,
0.014839774928987026,
-0.004344914574176073,
-0.06944253295660019,
-0.0019917164463549852,
0.05452666059136391,
-0.02252601645886898,
-0.016466442495584488,
0.006868151947855949,
-0.011719617061316967,
-0.05856003239750862,
-0.07800394296646118,
0.023553386330604553,
0.0005270616966299713,
-0.01740819774568081,
0.06483840197324753,
-0.025227617472410202,
-0.019415371119976044,
-0.00952218845486641,
0.036795031279325485,
-0.018911199644207954,
-0.015315408818423748,
0.019691240042448044,
0.006692167371511459,
-0.023515334352850914,
-0.006796807050704956,
0.049009308218955994,
-0.027700912207365036,
0.03630037233233452,
-0.047373127192258835,
-0.07035575062036514,
0.04790583625435829,
-0.0016064532101154327,
0.018730459734797478,
-0.010787374339997768,
0.0077956379391252995,
0.00815712008625269,
0.0022200208622962236,
-0.002846668241545558,
-0.059130795300006866,
-0.020128821954131126,
-0.00658752815797925,
-0.0077956379391252995,
0.003526824526488781,
0.01974831521511078,
0.0012330806348472834,
-0.04832439497113228,
0.039610784500837326,
0.027111126109957695,
0.051710907369852066,
-0.01249014399945736,
0.09170220047235489,
0.03595791384577751,
-0.05582038313150406,
0.019691240042448044,
-0.08074359595775604,
-0.015486636199057102,
-0.02924196608364582,
0.061109431087970734,
-0.032228946685791016,
-0.05266217514872551,
0.034416861832141876,
-0.004382965620607138,
0.014307064935564995,
-0.014906363561749458,
-0.010977627709507942,
-0.012556732632219791,
0.00976000539958477,
0.09847522526979446,
0.07081235945224762,
0.023096777498722076,
0.020623480901122093,
0.024561729282140732,
-0.041170861572027206,
-0.008185657672584057,
0.011472287587821484,
0.014002659358084202,
-0.033789023756980896,
-0.041361115872859955,
0.005916884634643793,
-0.009950258769094944,
-0.0812763050198555,
-0.01974831521511078,
-0.03494957089424133,
-0.03084009513258934,
-0.0006831290666013956,
0.05475496128201485,
0.026540366932749748,
0.014963439665734768,
0.01865435764193535,
-0.006287878844887018,
0.03923027589917183,
0.022925550118088722,
-0.022982625290751457,
-0.07469353079795837,
0.012566245160996914,
-0.014192912727594376,
0.05098794400691986,
0.041246961802244186,
-0.06449594348669052,
0.0038978189695626497,
0.011234470643103123,
-0.019900517538189888,
-0.021251318976283073,
0.02081373520195484,
0.009507919661700726,
0.010482968762516975,
0.03873561695218086,
0.011805230751633644,
-0.04634575918316841,
0.08637509495019913,
0.02983175218105316,
0.01243306789547205,
-0.07168752700090408,
0.0012158389436081052,
0.020870810374617577,
0.038393162190914154,
0.03884976729750633,
-0.013213107362389565,
-0.034607116132974625,
-0.06875762343406677,
0.009636340662837029,
-0.07252464443445206,
-0.05433640629053116,
-0.028994636610150337,
0.051710907369852066,
-0.03106839954853058,
0.03213382139801979,
0.038431212306022644,
-0.0024269213899970055,
-0.021765002980828285,
0.000571949640288949,
0.01542004756629467,
-0.024599779397249222,
-0.009950258769094944,
-0.06837711483240128,
-0.04333975166082382,
0.0319245420396328,
0.006687411107122898,
-0.041208911687135696,
0.022278686985373497,
0.0627075582742691,
-0.060805026441812515,
-0.008789712563157082,
-0.045622795820236206,
-0.00456846272572875,
-0.0013353419490158558,
0.004404368810355663,
0.0021986172068864107,
0.041475266218185425,
-0.023287031799554825,
-0.07389447093009949,
0.0073961056768894196,
-0.02615985833108425,
0.0030630817636847496,
-0.011890845373272896,
-0.042883142828941345,
0.06822491437196732,
-0.047297026962041855,
0.029565397650003433,
0.04383441060781479,
-0.006982304155826569,
-0.02037615142762661,
-0.023363132029771805,
-0.014021684415638447,
-0.03904002159833908,
-0.04988447204232216,
0.016951588913798332,
-0.016209600493311882,
0.07507403939962387,
0.017236968502402306,
0.01098714116960764,
0.00022295334201771766,
0.012204763479530811,
-0.042883142828941345,
0.011472287587821484,
-0.03867854177951813,
0.040029339492321014,
0.08614679425954819,
-0.012100123800337315,
-0.031125476583838463,
0.03337046876549721,
0.009008504450321198,
-0.0028490463737398386,
0.03877366706728935,
0.04174162074923515,
0.018996814265847206,
0.05087378993630409,
0.012347453273832798,
0.0389639213681221,
-0.05848393216729164,
0.01936780847609043,
-0.03447393700480461,
0.06788245588541031,
0.006601796951144934,
0.017084766179323196,
-0.01850215531885624,
-0.003013140056282282,
-0.002420976059511304,
0.019862467423081398,
-0.008085774257779121,
0.0013769598444923759,
0.03658575192093849,
0.04383441060781479,
-0.021099114790558815,
-0.0018644845113158226,
0.030573740601539612,
-0.023914868012070656,
-0.06305001676082611,
0.08485306799411774,
-0.003239066107198596,
-0.029337093234062195,
0.011843281798064709,
0.013907532207667828,
-0.0486287996172905,
0.020623480901122093,
0.050455234944820404,
-0.023039700463414192,
0.011681566014885902,
-0.061109431087970734,
-0.007586359046399593,
-0.057913172990083694,
0.018416540697216988,
-0.06944253295660019,
-0.02998395450413227,
-0.01467805914580822,
-0.031753312796354294,
-0.029565397650003433,
-0.0015648351982235909,
0.030573740601539612,
0.029812727123498917,
0.0032081499230116606,
0.04931371286511421,
-0.03028836101293564,
-0.05452666059136391,
-0.029736625030636787,
-0.013374822214245796,
-0.008261758834123611,
-0.017170380800962448,
0.03205771744251251,
0.060919176787137985,
-0.05890249088406563,
-0.06929033249616623,
0.014497318305075169,
-0.05117819830775261,
-0.01901583932340145,
0.018178723752498627,
0.017208430916070938,
0.046079400926828384,
0.064191535115242,
0.011301059275865555,
0.047106772661209106,
-0.039915189146995544,
-0.016951588913798332,
-0.04250263795256615,
0.03907807171344757,
0.0426928885281086,
-0.0014161996077746153,
-0.06955668330192566,
-0.0014209559885784984,
-0.07549259811639786,
-0.0330280102789402,
-0.02311580255627632,
0.017779191955924034,
-0.003912087995558977,
-0.011282033286988735,
0.012442580424249172,
-0.04988447204232216,
0.005407956428825855,
-0.05547792464494705,
-0.047106772661209106,
-0.011548388749361038,
-0.042959243059158325,
-0.03158208355307579,
-0.024847108870744705,
0.09550726413726807,
-0.007072674576193094,
-0.005479301325976849,
-0.008499575778841972,
-0.022583093494176865,
-0.04977032169699669,
0.01803603395819664,
-0.044519323855638504,
-0.003526824526488781,
0.03641452267765999,
-0.04098060727119446,
-0.05212946608662605,
-0.039724934846162796,
0.06552331149578094,
-0.037061385810375214,
-0.030041031539440155,
-0.055059369653463364,
-0.016266675665974617,
-0.03664282709360123,
0.03017420880496502,
0.0046279169619083405,
0.016066910699009895,
-0.036129143089056015,
-0.05429835617542267,
0.04075230285525322,
0.001524406368844211,
0.08211342245340347,
0.043111447244882584,
-0.03337046876549721,
0.09139779210090637,
0.002424543257802725,
0.01573396660387516,
0.05844588205218315,
-0.018673382699489594,
-0.00043193495366722345,
0.010758836753666401,
0.00338175636716187,
-0.006958522368222475,
0.00036772439489141107,
0.06529501080513,
-0.024732958525419235,
-0.0523197166621685,
-0.04923761263489723,
-0.008922889828681946,
-0.01155790127813816,
-0.01812164857983589,
0.007553064730018377,
0.030155183747410774,
0.04843854531645775,
0.022259661927819252,
-0.000584435008931905,
0.04486177861690521,
0.005593453533947468,
-0.029451245442032814,
0.027396507561206818,
-0.008390179835259914,
0.04094255715608597,
-0.017931394279003143,
0.020433228462934494,
-0.0630880668759346,
0.0021986172068864107,
-0.07092650979757309,
-0.014963439665734768,
0.019843442365527153,
-0.03103034943342209,
0.03211479261517525,
-0.004863355774432421,
-0.014192912727594376,
-0.010454431176185608,
0.005517351906746626,
0.05464081093668938,
-0.03923027589917183,
-0.032457251101732254,
0.010777861811220646,
0.011006166227161884,
-0.015448586083948612,
-0.027777014300227165,
0.04554669186472893,
0.057837069034576416,
-0.027377480641007423,
0.022868473082780838,
0.06799660623073578,
-0.02697794884443283,
-0.02279237098991871,
-0.02560812421143055,
-0.006910959258675575,
0.02842387557029724,
0.0697469413280487,
0.03337046876549721,
-0.011063242331147194,
-0.023629486560821533,
-0.010254664346575737,
0.07115481793880463,
-0.010378329083323479,
-0.013774354942142963,
0.06734974682331085,
0.0018050302751362324,
-0.015258332714438438,
0.03356071934103966,
-0.03217187151312828,
-0.006692167371511459,
0.050379130989313126,
-0.014839774928987026,
-0.044481273740530014,
-0.06552331149578094,
-0.06582771986722946,
0.030668867751955986,
0.020014669746160507,
-0.0023567655589431524,
-0.016066910699009895,
-0.02471393160521984,
0.01830238848924637,
-0.015258332714438438,
-0.032343097031116486,
0.009146437980234623,
0.04520423710346222,
-0.003962029702961445,
0.008385423570871353,
0.023039700463414192,
-0.032190896570682526,
0.02315385267138481,
-0.013783867470920086,
0.002319903811439872,
0.0601201131939888,
0.04349195584654808,
0.008851544931530952,
0.0008484118152409792,
-0.01639985293149948,
-0.017902856692671776,
-0.02307775244116783,
0.0019822039175778627,
0.015372483991086483,
0.056543346494436264,
0.010444918647408485,
-0.024485627189278603,
-0.0015850496711209416,
0.0020428472198545933,
0.015115641988813877
]
|
40,445 | pyglove.core.geno.dna_generator | DNAGenerator | Base class for DNA generator.
A DNA generator is an object that produces :class:`pyglove.DNA`, and
optionally takes feedback from the caller to improve its future proposals.
To implement a DNA generator, the user must implement the `_propose` method,
and can optionally override the `_setup`, `_feedback` and `_replay` methods.
* Making proposals (Required): This method defines what to return as the
next DNA from the generator, users MUST override the `_propose` method to
implement this logic. `_propose` can raise `StopIteration` when no more
DNA can be produced.
* Custom setup (Optional): Usually a DNAGenerator subclass has its internal
state, which can be initialized when the search space definition is
attached to the DNAGenerator. To do so, the user can override the `_setup`
method, in which we can access the search space definition (DNASpec object)
via `self.dna_spec`.
* Taking feedback (Optional): A DNAGenerator may take feedbacks from the
caller on the fitness of proposed DNA to improve future proposals. The
fitness is measured by a reward (a float number as the measure of a single
objective, or a tuple of float numbers as the measure for multiple
objectives). The user should override the `_feedback` method to implement
such logics. If the reward is for multiple objectives. The user should
override the `multi_objective` property to return True.
* State recovery (Optional): DNAGenerator was designed with distributed
computing in mind, in which a process can be preempted or killed
unexpectedly. Therefore, a DNAGenerator should be able to recover its
state from historical proposals and rewards. The `recover` method was
introduced for such purpose, whose default implementation is to replay the
history through the `_feedback` method. If the user has a custom replay
logic other than `_feedback`, they should override the `_replay` method.
In some use cases, the user may want to implement their own checkpointing
logic. In such cases, the user can override the `recover` method as a
no-op. As aside note, the `recover` method will be called by the tuning
backend (see `tuning.py`) after `setup` but before `propose`.
See also:
* :class:`pyglove.geno.Sweeping`
* :class:`pyglove.geno.Random`
* :func:`pyglove.geno.dna_generator`
| class DNAGenerator(symbolic.Object):
"""Base class for DNA generator.
A DNA generator is an object that produces :class:`pyglove.DNA`, and
optionally takes feedback from the caller to improve its future proposals.
To implement a DNA generator, the user must implement the `_propose` method,
and can optionally override the `_setup`, `_feedback` and `_replay` methods.
* Making proposals (Required): This method defines what to return as the
next DNA from the generator, users MUST override the `_propose` method to
implement this logic. `_propose` can raise `StopIteration` when no more
DNA can be produced.
* Custom setup (Optional): Usually a DNAGenerator subclass has its internal
state, which can be initialized when the search space definition is
attached to the DNAGenerator. To do so, the user can override the `_setup`
method, in which we can access the search space definition (DNASpec object)
via `self.dna_spec`.
* Taking feedback (Optional): A DNAGenerator may take feedbacks from the
caller on the fitness of proposed DNA to improve future proposals. The
fitness is measured by a reward (a float number as the measure of a single
objective, or a tuple of float numbers as the measure for multiple
objectives). The user should override the `_feedback` method to implement
such logics. If the reward is for multiple objectives. The user should
override the `multi_objective` property to return True.
* State recovery (Optional): DNAGenerator was designed with distributed
computing in mind, in which a process can be preempted or killed
unexpectedly. Therefore, a DNAGenerator should be able to recover its
state from historical proposals and rewards. The `recover` method was
introduced for such purpose, whose default implementation is to replay the
history through the `_feedback` method. If the user has a custom replay
logic other than `_feedback`, they should override the `_replay` method.
In some use cases, the user may want to implement their own checkpointing
logic. In such cases, the user can override the `recover` method as a
no-op. As aside note, the `recover` method will be called by the tuning
backend (see `tuning.py`) after `setup` but before `propose`.
See also:
* :class:`pyglove.geno.Sweeping`
* :class:`pyglove.geno.Random`
* :func:`pyglove.geno.dna_generator`
"""
def setup(self, dna_spec: DNASpec) -> None:
"""Setup DNA spec."""
self._dna_spec = dna_spec
self._num_proposals = 0
self._num_feedbacks = 0
self._setup()
def _setup(self) -> None:
"""Subclass should override this for adding additional setup logics."""
@property
def multi_objective(self) -> bool:
"""If True, current DNA generator supports multi-objective optimization."""
return False
@property
def needs_feedback(self) -> bool:
"""Returns True if the DNAGenerator needs feedback."""
return self._feedback.__code__ is not DNAGenerator._feedback.__code__ # pytype: disable=attribute-error
@property
def dna_spec(self) -> Optional[DNASpec]:
return getattr(self, '_dna_spec', None)
@property
def num_proposals(self):
"""Get number of proposals that are already produced."""
return self._num_proposals
@property
def num_feedbacks(self):
"""Get number of proposals whose feedback are provided."""
return self._num_feedbacks
def propose(self) -> DNA:
"""Propose a DNA to evaluate."""
dna = self._propose()
self._num_proposals += 1
return dna
def _propose(self) -> DNA:
"""Actual propose method which should be implemented by the child class."""
raise NotImplementedError()
def feedback(self, dna: DNA, reward: Union[float, Tuple[float]]) -> None:
"""Feedback a completed trial to the algorithm.
Args:
dna: a DNA object.
reward: reward for the DNA. It is a float if `self.multi_objective`
returns False, otherwise it's a tuple of floats.
"""
if self.needs_feedback:
if self.multi_objective and isinstance(reward, float):
reward = (reward,)
elif not self.multi_objective and isinstance(reward, tuple):
if len(reward) != 1:
raise ValueError(
f'{self!r} is single objective, but the reward {reward!r} '
f'contains multiple objectives.')
reward = reward[0]
self._feedback(dna, reward)
self._num_feedbacks += 1
def _feedback(self, dna: DNA, reward: Union[float, Tuple[float]]) -> None:
"""Actual feedback method which should be implemented by the child class.
The default implementation is no-op.
Args:
dna: a DNA object.
reward: reward for the DNA. It is a float if `self.multi_objective`
returns False, otherwise it's a tuple of floats.
"""
def recover(
self,
history: Iterable[Tuple[DNA, Union[None, float, Tuple[float]]]]
) -> None:
"""Recover states by replaying the proposal history.
NOTE: `recover` will always be called before first `propose` and could be
called multiple times if there are multiple source of history, e.g: trials
from a previous study and existing trials from current study.
Args:
history: An iterable object that consists of historically proposed DNA
with its reward. The reward will be None if it is not yet provided
(via feedback).
"""
for i, (dna, reward) in enumerate(history):
self._replay(i, dna, reward)
self._num_proposals += 1
if reward is not None:
self._num_feedbacks += 1
def _replay(
self,
trial_id: int,
dna: DNA,
reward: Union[None, float, Tuple[float]]):
"""Replay a single DNA from the history for state recovery.
The default implementation to call `DNAGenerator._feedback`. Subclasses that
have states and can be recovered from replaying the history should override
this method. See class `Sweeping` as an example.
Args:
trial_id: A zero-based integer as the trial ID for the DNA.
dna: A historically proposed DNA.
reward: The reward for the DNA. If None, the reward is not yet fed back
to the optimizer.
"""
del trial_id
if reward is not None:
self._feedback(dna, reward)
def __iter__(self) -> Iterator[
Union[DNA,
Tuple[DNA, Callable[[Union[float, Tuple[float]]], None]]]]:
"""Iterates DNA generated from current DNAGenerator.
NOTE(daiyip): `setup` needs to be called first before a DNAGenerator can
be iterated.
Yields:
A tuple of (DNA, feedback) if current DNAGenerator requires feedback,
otherwise DNA.
"""
while True:
try:
dna = self.propose()
if self.needs_feedback:
feedback = lambda r: self.feedback(dna, r)
yield (dna, feedback)
else:
yield dna
except StopIteration:
break
| () | [
0.035151977092027664,
-0.003138938918709755,
-0.06906183063983917,
0.022958504036068916,
0.018642140552401543,
-0.04306013509631157,
-0.05109250545501709,
-0.01311470940709114,
0.04421944543719292,
-0.06136069446802139,
-0.03438600152730942,
0.050595659762620926,
0.008782818913459778,
0.12114803493022919,
-0.060118574649095535,
0.01208996120840311,
0.0192942526191473,
0.06988991051912308,
0.017793359234929085,
0.015598948113620281,
-0.03852640092372894,
0.06434177607297897,
-0.017513882368803024,
0.016985980793833733,
-0.052790071815252304,
0.03738779202103615,
0.008855275809764862,
-0.0038660962600260973,
-0.019304603338241577,
0.0055584837682545185,
0.027761366218328476,
-0.07543804496526718,
0.002675731899216771,
0.029231207445263863,
-0.00127770088147372,
-0.061526309698820114,
-0.052872877568006516,
0.07336784899234772,
-0.08015809953212738,
0.011603464372456074,
-0.034116875380277634,
-0.051133912056684494,
0.02019478939473629,
-0.03747059777379036,
-0.032398611307144165,
-0.0015435919631272554,
-0.02780277095735073,
0.05047144740819931,
-0.0433085598051548,
-0.026022398844361305,
0.04537875950336456,
-0.03591794893145561,
0.013021551072597504,
0.019221795722842216,
-0.011127318255603313,
0.051299527287483215,
0.012493649497628212,
0.03217088803648949,
0.07771526277065277,
-0.053328320384025574,
0.057758547365665436,
0.008591325022280216,
0.01185188814997673,
-0.04281171038746834,
0.04289451986551285,
0.0012375906808301806,
-0.017544934526085854,
-0.037118665874004364,
0.007447540294378996,
0.04678649455308914,
0.006055331788957119,
-0.023413948714733124,
0.038857631385326385,
0.0003749000607058406,
0.041466083377599716,
-0.0127938287332654,
-0.030908068642020226,
-0.061609115451574326,
0.06641197949647903,
-0.07129764556884766,
0.010858193039894104,
0.00114831340033561,
-0.016592644155025482,
-0.07535523921251297,
0.00415074871852994,
0.024697471410036087,
0.03616637364029884,
-0.04322575032711029,
0.0067281462252140045,
-0.028237512335181236,
-0.020743392407894135,
0.02660205401480198,
0.04757316783070564,
0.021002167835831642,
0.009290017187595367,
0.005584361497312784,
0.0255876574665308,
-0.06351370364427567,
0.01825915277004242,
-0.017037736251950264,
-0.009429755620658398,
0.0511753149330616,
-0.040969233959913254,
0.022710081189870834,
-0.012824881821870804,
-0.012379788793623447,
-0.03424108773469925,
0.04401242733001709,
0.06541828066110611,
-0.026477843523025513,
-0.13282395899295807,
-0.0220476184040308,
-0.002688670763745904,
-0.0037392966914922,
-0.02709890343248844,
0.0024712998420000076,
-0.026560651138424873,
0.014025596901774406,
0.00009558496094541624,
-0.010444153100252151,
0.030887367203831673,
0.0010655054356902838,
-0.10508329421281815,
0.043971024453639984,
-0.010806437581777573,
-0.003113061422482133,
0.027989087626338005,
0.03624918311834335,
0.018942318856716156,
-0.029728055000305176,
-0.024035008624196053,
0.04794580489397049,
-0.044509273022413254,
0.06094665452837944,
0.04533735290169716,
0.05109250545501709,
-0.011458550579845905,
-0.025049405172467232,
-0.04620683938264847,
0.010992756113409996,
0.026581352576613426,
-0.04053449258208275,
0.07825351506471634,
-0.038774825632572174,
0.011644868180155754,
-0.021674981340765953,
-0.00307942065410316,
-0.014512093737721443,
-0.009315894916653633,
-0.03856780380010605,
0.010190553963184357,
0.01021125540137291,
0.019656537100672722,
0.023248333483934402,
-0.015412630513310432,
0.03498636186122894,
-0.03840218856930733,
-0.0029241559095680714,
-0.0009723465191200376,
-0.017420724034309387,
-0.03616637364029884,
-0.03181895613670349,
-0.01008186861872673,
0.04322575032711029,
0.009512563236057758,
-0.0006427320186048746,
-0.005470500327646732,
-0.006086384411901236,
-0.00011984510638285428,
0.016478782519698143,
-0.023993603885173798,
-0.05100969970226288,
-0.02173708751797676,
-0.0021310108713805676,
-0.049394942820072174,
0.09721653908491135,
0.0015461797593161464,
0.011738027445971966,
0.001578526571393013,
-0.012617861852049828,
0.05303849279880524,
-0.044674891978502274,
-0.08487815409898758,
-0.0271610077470541,
0.02002917416393757,
0.026912584900856018,
0.017679497599601746,
0.038940440863370895,
0.06860639154911041,
0.027036797255277634,
-0.015340173617005348,
-0.023600267246365547,
0.01763809472322464,
0.03575233370065689,
0.01859038509428501,
-0.00421285443007946,
0.0034986359532922506,
0.007349205669015646,
0.008368778973817825,
0.037760425359010696,
0.00014831034059170634,
0.0008047897717915475,
-0.00475369393825531,
-0.06069822981953621,
-0.048235632479190826,
0.03092877008020878,
-0.03227439895272255,
-0.0046579474583268166,
-0.03738779202103615,
-0.030742453411221504,
-0.023248333483934402,
-0.015174557454884052,
0.06148490682244301,
-0.009833444841206074,
0.05307989940047264,
-0.10980334877967834,
0.0952291488647461,
0.02353816106915474,
0.021985512226819992,
0.012783478014171124,
0.03179825469851494,
-0.039002545177936554,
-0.04848405718803406,
-0.00463465740904212,
0.03842289000749588,
0.0014918369706720114,
-0.01783476211130619,
0.01814529299736023,
-0.013456292450428009,
-0.051754970103502274,
0.01862143911421299,
-0.060491207987070084,
0.03409617394208908,
-0.013942789286375046,
0.0763903334736824,
-0.013414888642728329,
0.024759577587246895,
0.01921144500374794,
-0.05875224247574806,
0.05469465255737305,
-0.030887367203831673,
0.027989087626338005,
0.013808226212859154,
0.011738027445971966,
-0.0014310249825939536,
0.03508986905217171,
0.05701327696442604,
-0.006220947485417128,
0.010682226158678532,
-0.00765973562374711,
0.043888214975595474,
-0.059331897646188736,
-0.06430037319660187,
0.023517457768321037,
-0.051920585334300995,
-0.005486026871949434,
0.0002587748458608985,
-0.020256895571947098,
0.022875696420669556,
0.012172768823802471,
0.010806437581777573,
0.013642610050737858,
-0.08334620296955109,
0.03873341903090477,
-0.007256046868860722,
0.056640639901161194,
0.015826670452952385,
-0.020629530772566795,
0.004903783556073904,
-0.0035167501773685217,
0.09878988564014435,
0.08587184548377991,
-0.03831937909126282,
0.03078385628759861,
-0.051133912056684494,
0.002836172468960285,
0.00759762991219759,
0.039168160408735275,
-0.03879552707076073,
-0.009621248580515385,
-0.008544745855033398,
-0.005848311819136143,
0.023269034922122955,
0.018124591559171677,
-0.0322951003909111,
-0.006950692739337683,
-0.01275242492556572,
0.05018161982297897,
0.01999812014400959,
0.017710551619529724,
0.029872968792915344,
0.025297829881310463,
0.09597441554069519,
0.0007717959815636277,
0.10822999477386475,
0.0034908726811408997,
-0.03206738084554672,
0.01699633151292801,
-0.014791570603847504,
-0.030287008732557297,
0.07150466740131378,
-0.012918041087687016,
0.02101251855492592,
0.013104358687996864,
-0.06988991051912308,
-0.01271102111786604,
0.04372259974479675,
-0.03324739262461662,
-0.007162888068705797,
-0.0022655739448964596,
-0.005315235350281,
0.023269034922122955,
0.05494307726621628,
0.08384305238723755,
0.0007750306976959109,
-0.07514821738004684,
0.01090994756668806,
-0.0488152876496315,
0.041155554354190826,
0.05345253273844719,
-0.04910511523485184,
0.06198175251483917,
0.020774444565176964,
0.028713658452033997,
0.01775195449590683,
-0.03362002968788147,
-0.03533829376101494,
0.03713936731219292,
-0.026312226429581642,
-0.021281644701957703,
-0.07071799039840698,
-0.036187075078487396,
-0.01271102111786604,
0.0072198184207081795,
-0.02999718114733696,
0.0598287470638752,
0.00858097430318594,
-0.008694835007190704,
0.03320598974823952,
-0.04401242733001709,
0.050098810344934464,
0.016582293435931206,
-0.045627180486917496,
0.014242967590689659,
0.03482074290513992,
-0.051754970103502274,
0.028568744659423828,
-0.03643549978733063,
0.029169101268053055,
0.008534394204616547,
-0.007670086808502674,
0.028092598542571068,
0.010609769262373447,
0.06748848408460617,
0.024759577587246895,
-0.06409335881471634,
-0.007266398053616285,
0.0003438470885157585,
-0.01287663634866476,
-0.025794677436351776,
-0.04786299541592598,
-0.01429472304880619,
-0.028941379860043526,
0.03716006875038147,
-0.033185288310050964,
-0.04985038936138153,
-0.050595659762620926,
-0.009616073220968246,
-0.017234405502676964,
-0.01763809472322464,
0.012814531102776527,
-0.025877485051751137,
-0.040969233959913254,
-0.006153665948659182,
0.01133433822542429,
-0.0464552603662014,
-0.0020456151105463505,
0.01780370995402336,
-0.005806907545775175,
0.039168160408735275,
0.028713658452033997,
0.03219159319996834,
-0.010858193039894104,
0.08193846791982651,
-0.01570245809853077,
-0.04529595002532005,
0.0456685870885849,
0.05771714448928833,
0.011479252018034458,
-0.007395785301923752,
0.014543146826326847,
-0.020733041688799858,
0.0044224620796740055,
-0.007566576823592186,
-0.012938742525875568,
-0.02898278273642063,
0.0023781408090144396,
0.019490921869874,
-0.05150654539465904,
-0.022254636511206627,
0.019728993996977806,
0.004321540240198374,
-0.014739816077053547,
0.018880212679505348,
0.020515670999884605,
-0.01425331924110651,
0.09233086556196213,
0.03337160497903824,
-0.03566952422261238,
0.05929049476981163,
-0.055108692497015,
0.008995014242827892,
-0.021695682778954506,
0.014988239854574203,
-0.013704716227948666,
-0.03558671846985817,
-0.027347326278686523,
0.022627273574471474,
0.018134942278265953,
0.02513221465051174,
0.043349962681531906,
0.004218030255287886,
0.04297732934355736,
0.042480479925870895,
-0.0009826974710449576,
0.008296322077512741,
-0.015412630513310432,
0.01570245809853077,
-0.02740943245589733,
-0.008042722009122372,
-0.00791851058602333,
-0.03320598974823952,
0.028092598542571068,
-0.028692955151200294,
-0.008798344992101192,
-0.0216542799025774,
-0.045627180486917496,
0.007851229049265385,
-0.006790251936763525,
0.011924345046281815,
0.034137576818466187,
0.0033226690720766783,
0.062312982976436615,
0.019201094284653664,
0.03322669118642807,
0.015391928143799305,
0.022772187367081642,
0.00187482382170856,
-0.006459020543843508,
0.014470689930021763,
0.028444532305002213,
-0.010459679178893566,
0.05842101201415062,
0.025649763643741608,
-0.030431922525167465,
0.004608780145645142,
-0.013414888642728329,
-0.003972194157540798,
-0.03817446529865265,
0.006241649389266968,
0.01926320046186447,
0.010050815530121326,
0.013901385478675365,
0.02055707387626171,
-0.03289546072483063,
0.0842570886015892,
0.026436438784003258,
0.01719300076365471,
-0.10574575513601303,
-0.02266867645084858,
0.02173708751797676,
-0.00044541622628457844,
0.012648914940655231,
-0.06028418987989426,
-0.017379319295287132,
-0.019470220431685448,
-0.013466643169522285,
-0.02858944609761238,
-0.011044510640203953,
-0.04142467677593231,
0.06053261458873749,
-0.055067289620637894,
0.02983156591653824,
0.04513033479452133,
-0.020857254043221474,
-0.030535433441400528,
0.03312318027019501,
-0.00026136261294595897,
-0.03693234547972679,
0.004347417503595352,
-0.07891597598791122,
-0.019480571150779724,
0.010314765386283398,
0.020764093846082687,
-0.03771902248263359,
0.026312226429581642,
0.04063800349831581,
-0.04268749803304672,
0.03904394805431366,
-0.08752800524234772,
0.014615603722631931,
-0.028009790927171707,
-0.034758638590574265,
-0.01617860421538353,
0.052624452859163284,
-0.008896679617464542,
-0.08197987079620361,
0.020370757207274437,
-0.030908068642020226,
0.023558862507343292,
-0.008653431199491024,
0.005266068037599325,
0.05701327696442604,
-0.029086293652653694,
0.007716665975749493,
-0.0006715207709930837,
0.04038957878947258,
-0.007442364934831858,
-0.020184438675642014,
-0.04682789742946625,
-0.0029526210855692625,
0.008612027391791344,
-0.005310059990733862,
-0.02067093551158905,
0.03055613487958908,
-0.014067000709474087,
0.017596689984202385,
0.0007737367996014655,
0.040907129645347595,
-0.015050345100462437,
0.01106521300971508,
0.008430885151028633,
0.05076127499341965,
0.033889155834913254,
0.0018385953735560179,
-0.02591888979077339,
0.05813118442893028,
-0.04227346181869507,
-0.009217560291290283,
0.0008623672183603048,
0.041217658668756485,
-0.01837301440536976,
-0.02685047872364521,
-0.012183120474219322,
0.022958504036068916,
-0.02771996147930622,
0.013166464865207672,
-0.024531856179237366,
-0.03333020210266113,
-0.014315424486994743,
-0.03306107595562935,
-0.044592082500457764,
-0.0009302956168539822,
0.03699445351958275,
0.04109344631433487,
0.01022160705178976,
0.03794674575328827,
0.03092877008020878,
0.06355510652065277,
0.04513033479452133,
-0.02550484985113144,
-0.030597537755966187,
0.004885669331997633,
-0.09108874946832657,
0.07539664208889008,
0.04927073046565056,
0.01176908053457737,
0.023082716390490532,
-0.019335657358169556,
-0.022647975012660027,
0.02042251080274582,
0.015340173617005348,
-0.012141715735197067,
0.03039051964879036,
-0.08400867134332657,
0.014812272973358631,
-0.055481329560279846,
0.013000848703086376,
-0.009398702532052994,
-0.04272890463471413,
0.03923026844859123,
0.03624918311834335,
-0.0005803026142530143,
-0.05742731690406799,
0.017037736251950264,
0.01797967590391636,
-0.03490355238318443,
0.045709989964962006,
-0.02210972271859646,
-0.028692955151200294,
-0.02188200131058693,
0.009419404901564121,
-0.024055710062384605,
-0.0598287470638752,
-0.007090431172400713,
0.05659923702478409,
0.022461656481027603,
-0.02983156591653824,
0.016985980793833733,
-0.019904961809515953,
-0.03384774923324585,
0.024428345263004303,
0.036414798349142075,
-0.004608780145645142,
0.048856690526008606,
0.01255575567483902,
-0.0022901573684066534,
-0.0006715207709930837,
0.01971864327788353,
-0.027926981449127197,
-0.021188484504818916,
0.016665101051330566,
-0.015247014351189137,
-0.06666040420532227,
-0.08077915757894516,
-0.06438318639993668,
-0.07303661108016968,
0.019925663247704506,
0.016302816569805145,
0.03560741990804672,
-0.020888306200504303,
-0.03788463771343231,
-0.03252282366156578,
0.005095276981592178,
-0.01924249716103077,
-0.018021080642938614,
-0.006469371262937784,
-0.06972429901361465,
-0.0011502542765811086,
-0.026332929730415344,
0.015309120528399944,
-0.014729464426636696,
0.005470500327646732,
-0.02188200131058693,
0.03401336818933487,
0.009378001093864441,
0.024593962356448174,
0.015391928143799305,
-0.053825169801712036,
0.038774825632572174,
-0.07440294325351715,
0.009258964098989964,
-0.032481420785188675,
0.02314482256770134,
-0.04322575032711029,
-0.04604122042655945,
-0.02896208129823208,
0.00020685815252363682,
0.02567046508193016,
0.04088642820715904,
-0.014563849195837975,
0.0826837420463562,
-0.042314864695072174,
-0.05788275972008705,
-0.02188200131058693,
0.029624545946717262,
0.018766352906823158,
0.028382426127791405,
-0.02449045144021511,
0.04844265431165695,
0.023890094831585884,
0.015764564275741577,
0.034054771065711975,
-0.021302346140146255,
-0.0011179073480889201,
0.028444532305002213,
0.0025191730819642544,
0.012617861852049828,
0.03575233370065689,
0.04533735290169716,
-0.011386093683540821,
-0.004228380974382162,
0.011261881329119205,
-0.008327375166118145,
0.016240710392594337,
-0.035007063299417496,
0.022854994982481003,
0.02042251080274582,
0.00936764944344759,
0.002199586248025298,
0.033102478832006454,
0.05920768529176712,
0.0007388021913357079,
-0.052624452859163284,
0.02780277095735073,
-0.019532326608896255,
0.02937612123787403,
0.0006210596184246242,
-0.000690281915012747,
-0.030494028702378273,
-0.00858097430318594,
-0.005781030282378197,
0.037843234837055206,
-0.03434459865093231,
-0.0192942526191473,
-0.02724381722509861,
-0.037905339151620865,
-0.057054679840803146,
-0.007256046868860722,
-0.10367555916309357,
0.025215022265911102,
0.0014452575705945492,
0.003102710470557213,
0.05167216435074806,
-0.012845583260059357,
0.05486026778817177,
-0.0440952368080616,
0.003803990315645933,
0.0147605175152421,
-0.04306013509631157,
0.05419780686497688,
0.040348175913095474,
0.0034856973215937614,
-0.005258304998278618,
-0.012069258838891983,
-0.05303849279880524,
0.04873248189687729,
0.042521882802248,
-0.021116027608513832,
0.0049658892676234245,
-0.0378018319606781,
0.01523666363209486,
0.04297732934355736,
-0.011841537430882454,
-0.024159220978617668,
0.012390139512717724,
-0.022772187367081642,
-0.05423920974135399,
-0.010992756113409996,
-0.029728055000305176,
0.004132634494453669,
0.00319845718331635,
-0.05212760716676712,
-0.039809923619031906,
-0.018445471301674843,
-0.05399078503251076,
0.003294203896075487,
-0.001357274129986763,
-0.0000656641204841435,
0.02393149770796299,
-0.060822442173957825,
0.022544465959072113,
-0.032791949808597565,
0.0030587187502533197,
-0.027119604870676994,
0.06496284157037735,
-0.02339324727654457,
-0.008487815037369728,
0.014242967590689659,
-0.028568744659423828,
0.10177097469568253,
-0.012390139512717724,
0.02535993605852127,
0.0025722221471369267,
0.047283340245485306,
0.013414888642728329,
0.005144444294273853,
-0.022420253604650497,
-0.046248242259025574,
-0.050595659762620926,
-0.01271102111786604,
-0.02581537887454033,
0.049643367528915405,
-0.0038686839397996664,
0.016861770302057266,
0.028465233743190765,
-0.03713936731219292,
0.030245603993535042
]
|
40,454 | pyglove.core.geno.dna_generator | __iter__ | Iterates DNA generated from current DNAGenerator.
NOTE(daiyip): `setup` needs to be called first before a DNAGenerator can
be iterated.
Yields:
A tuple of (DNA, feedback) if current DNAGenerator requires feedback,
otherwise DNA.
| def __iter__(self) -> Iterator[
Union[DNA,
Tuple[DNA, Callable[[Union[float, Tuple[float]]], None]]]]:
"""Iterates DNA generated from current DNAGenerator.
NOTE(daiyip): `setup` needs to be called first before a DNAGenerator can
be iterated.
Yields:
A tuple of (DNA, feedback) if current DNAGenerator requires feedback,
otherwise DNA.
"""
while True:
try:
dna = self.propose()
if self.needs_feedback:
feedback = lambda r: self.feedback(dna, r)
yield (dna, feedback)
else:
yield dna
except StopIteration:
break
| (self) -> Iterator[Union[pyglove.core.geno.base.DNA, Tuple[pyglove.core.geno.base.DNA, Callable[[Union[float, Tuple[float]]], NoneType]]]] | [
0.04942996799945831,
-0.006873312406241894,
-0.03368646651506424,
-0.0054841795936226845,
-0.006940839346498251,
-0.0010738043347373605,
-0.04325604438781738,
-0.0019558793865144253,
0.09947732836008072,
0.0012233289889991283,
-0.009386291727423668,
0.041133757680654526,
0.014228962361812592,
0.10588277131319046,
-0.03005928546190262,
0.006424738094210625,
-0.027570422738790512,
0.08188164979219437,
-0.040477778762578964,
0.03804679587483406,
-0.043641913682222366,
0.0561441071331501,
-0.02176307700574398,
-0.024811450392007828,
-0.007939278148114681,
0.10526537895202637,
-0.000527858326677233,
-0.02047041244804859,
0.01222243718802929,
0.0444522425532341,
0.03353211656212807,
-0.03715929761528969,
0.007317062932997942,
-0.008392675779759884,
0.02130003273487091,
0.0014988643815740943,
-0.09199144691228867,
0.03775739669799805,
-0.0755147933959961,
0.048928335309028625,
0.04537833109498024,
-0.05475497618317604,
0.02357666753232479,
0.020065248012542725,
-0.05436910688877106,
-0.029171783477067947,
-0.00873513612896204,
0.007847634144127369,
-0.03822043910622597,
-0.061314769089221954,
0.0640544444322586,
-0.001218505552969873,
0.019033046439290047,
-0.005701231770217419,
0.0008428851142525673,
0.06119900569319725,
-0.011547164060175419,
0.01687217317521572,
0.03463184833526611,
0.0008881042595021427,
0.03229733183979988,
-0.03322342038154602,
0.036638371646404266,
-0.024232646450400352,
0.029519066214561462,
-0.037969622761011124,
-0.01783684827387333,
-0.0390307679772377,
0.02162802219390869,
0.08782404661178589,
0.004729321226477623,
0.008503613993525505,
0.01733521744608879,
0.01720980927348137,
-0.009738397784531116,
-0.005112779792398214,
-0.041172344237565994,
-0.006569439545273781,
0.07030554115772247,
-0.09299470484256744,
-0.007794577162712812,
0.06571368873119354,
-0.047307681292295456,
-0.0584593303501606,
0.010804364457726479,
0.008030923083424568,
-0.024097591638565063,
-0.025544604286551476,
-0.030638091266155243,
0.04437506943941116,
0.004820965230464935,
-0.005657821428030729,
0.049391381442546844,
0.018116604536771774,
-0.003969639074057341,
0.03717859089374542,
-0.011469990015029907,
-0.024116884917020798,
0.014421897009015083,
0.024946505203843117,
0.017856141552329063,
0.05768758803606033,
0.04051636531949043,
0.015511980280280113,
0.017344864085316658,
-0.03316554054617882,
-0.04217560961842537,
0.0010804363992065191,
0.04997018724679947,
-0.022631285712122917,
-0.08875013887882233,
-0.01664065010845661,
0.035249240696430206,
0.013544042594730854,
-0.038162559270858765,
-0.0453011579811573,
-0.00556617695838213,
0.0008501202100887895,
-0.011431403458118439,
-0.007519644685089588,
0.006550145801156759,
0.026740802451968193,
-0.02982776239514351,
0.058343566954135895,
-0.02895955555140972,
-0.006931192707270384,
0.022611990571022034,
0.007312239613384008,
-0.015492687001824379,
-0.01760532520711422,
-0.024059005081653595,
0.04742344096302986,
0.029904937371611595,
0.06324411928653717,
0.005238187499344349,
0.02120356447994709,
0.017595678567886353,
-0.013003824278712273,
-0.05861367657780647,
0.04124952107667923,
0.005460062529891729,
-0.031216895207762718,
0.0708843469619751,
0.0025081560015678406,
0.020701933652162552,
0.0030628442764282227,
-0.03150629997253418,
0.027088085189461708,
-0.0014614831889048219,
-0.06274248659610748,
-0.019872313365340233,
0.028187815099954605,
0.07601641863584518,
0.04634300619363785,
-0.031622059643268585,
0.002816852182149887,
-0.02616199664771557,
0.045725613832473755,
-0.0026383872609585524,
-0.008932894095778465,
-0.04738485440611839,
-0.008368559181690216,
-0.011691865511238575,
0.05664573982357979,
0.018724350258708,
0.028843794018030167,
-0.04811801016330719,
0.00015246393741108477,
0.021280739456415176,
-0.04557126387953758,
0.01380450464785099,
-0.047307681292295456,
0.006140158977359533,
0.007124127820134163,
-0.06528922915458679,
0.04425930604338646,
0.01684323325753212,
0.06729575246572495,
0.04306310787796974,
-0.012097029015421867,
0.0467674620449543,
-0.014537658542394638,
-0.06741151958703995,
-0.030078578740358353,
0.004758261609822512,
-0.0017243572510778904,
0.032181572169065475,
0.0358087494969368,
0.031814996153116226,
0.002206695033237338,
-0.014026380144059658,
-0.003446302842348814,
-0.019872313365340233,
0.024483460932970047,
0.004102282226085663,
0.002086110645905137,
-0.008629021234810352,
0.0014313370920717716,
-0.0029784352518618107,
0.0303872749209404,
0.011354229412972927,
-0.022341882809996605,
-0.01611972600221634,
0.004690734203904867,
-0.015473393723368645,
0.020586172118782997,
-0.024001123383641243,
-0.010399200953543186,
-0.01744133047759533,
-0.01723874919116497,
0.015251518227159977,
-0.03279896453022957,
0.0584593303501606,
0.015531273558735847,
0.023692427203059196,
-0.06239520385861397,
0.09237731248140335,
-0.0537131242454052,
-0.012444312684237957,
0.007071070838719606,
0.04178973659873009,
-0.04881257563829422,
-0.014962115325033665,
-0.043680500239133835,
0.048696812242269516,
-0.014547305181622505,
-0.01289771031588316,
-0.006545322481542826,
-0.07948925346136093,
-0.03791174292564392,
0.022496230900287628,
-0.0529799722135067,
0.015473393723368645,
-0.0006421120488084853,
0.046651702374219894,
-0.01819377765059471,
0.02440628781914711,
0.0014711299445480108,
-0.09963167458772659,
0.02751254290342331,
-0.028882380574941635,
0.03577016294002533,
0.01638018898665905,
-0.0039382874965667725,
-0.003393245628103614,
-0.024232646450400352,
0.01164363231509924,
0.01451836433261633,
0.0031279600225389004,
0.004316922277212143,
0.018270952627062798,
-0.026972323656082153,
-0.04669028893113136,
-0.013862385414540768,
-0.04036201909184456,
-0.04314028471708298,
-0.02602694183588028,
-0.03889571130275726,
0.04692181199789047,
0.01380450464785099,
0.03669625148177147,
0.014865648001432419,
-0.07042130082845688,
0.06907075643539429,
-0.0056192344054579735,
0.06810608506202698,
0.009762515313923359,
-0.03685060143470764,
-0.02533237636089325,
0.018020136281847954,
0.08967622369527817,
0.014200021512806416,
-0.012560073286294937,
0.00369470682926476,
-0.033840812742710114,
0.023962536826729774,
0.020007368177175522,
0.03214298561215401,
-0.07948925346136093,
-0.04861963912844658,
0.02324867621064186,
0.009333234280347824,
-0.036078859120607376,
-0.0011371111031621695,
-0.03571228310465813,
-0.019399622455239296,
0.01109376735985279,
0.06579086184501648,
0.05753324180841446,
0.018434947356581688,
0.046381592750549316,
0.004391684662550688,
0.051436491310596466,
-0.003991344477981329,
0.11043603718280792,
-0.04267723858356476,
-0.0245413426309824,
0.007736696861684322,
0.010871891863644123,
-0.03358999639749527,
0.06579086184501648,
-0.042754411697387695,
-0.021087804809212685,
0.043178871273994446,
-0.0655207559466362,
0.023866068571805954,
0.031236188486218452,
0.003656119806692004,
-0.04124952107667923,
0.004529151134192944,
-0.006313800346106291,
0.013659803196787834,
0.05247834324836731,
0.033898692578077316,
-0.002698679454624653,
-0.10989581793546677,
-0.003723646979779005,
-0.009256060235202312,
-0.012781948782503605,
0.06644684076309204,
-0.039513103663921356,
0.061276182532310486,
0.030464449897408485,
0.00932841096073389,
-0.005025958642363548,
0.05525660514831543,
-0.024483460932970047,
0.030966080725193024,
-0.012907356955111027,
0.04109517112374306,
-0.03877995163202286,
-0.030039992183446884,
-0.023190796375274658,
0.03521065041422844,
-0.0076981098391115665,
0.08967622369527817,
-0.014045673422515392,
-0.006950486451387405,
0.04703757166862488,
-0.06509629637002945,
0.01088153850287199,
0.011865507811307907,
-0.026007648557424545,
-0.004982548300176859,
0.03154488652944565,
0.005942400544881821,
-0.0015362455742433667,
-0.017383450642228127,
0.06799032539129257,
-0.002007730770856142,
0.02523590810596943,
0.05367453768849373,
0.009434524923563004,
0.04263865202665329,
0.023075034841895103,
-0.042098432779312134,
-0.0034125391393899918,
0.041828326880931854,
-0.031120428815484047,
0.03414950892329216,
-0.035191357135772705,
-0.015212930738925934,
0.018434947356581688,
0.010119444690644741,
-0.02780194580554962,
-0.062433790415525436,
-0.06590662151575089,
0.019737258553504944,
-0.011547164060175419,
0.018724350258708,
0.0078042238019406796,
0.05394464731216431,
-0.041403867304325104,
-0.0460343100130558,
-0.007591995410621166,
-0.06571368873119354,
0.008185271173715591,
0.02500438690185547,
0.008657962083816528,
0.028554391115903854,
0.012193497270345688,
0.017788615077733994,
0.029075317084789276,
0.07686533778905869,
0.003750175703316927,
-0.07339250296354294,
0.035654403269290924,
0.03140982985496521,
-0.031718526035547256,
0.006651436910033226,
-0.039744626730680466,
-0.05182236060500145,
-0.044568002223968506,
-0.01820342428982258,
-0.027223140001296997,
-0.04738485440611839,
0.04850387945771217,
-0.002323661930859089,
-0.07837022840976715,
-0.0107175437733531,
-0.018483180552721024,
0.004931902978569269,
-0.029673414304852486,
0.03312695398926735,
0.022515524178743362,
-0.022708458825945854,
0.04260006546974182,
-0.006328270770609379,
-0.027782650664448738,
0.0320272222161293,
-0.04356474056839943,
-0.01197162177413702,
-0.010707897134125233,
0.04028484597802162,
0.026316344738006592,
0.0008706195512786508,
-0.08126425743103027,
0.008966658264398575,
0.012473252601921558,
0.07331532984972,
0.025544604286551476,
-0.014325429685413837,
-0.02054758556187153,
0.03789244964718819,
-0.0109297726303339,
-0.00822385773062706,
0.03497913107275963,
0.010013330727815628,
-0.01468235906213522,
-0.01767285354435444,
-0.002853027544915676,
-0.04587996006011963,
0.01757638528943062,
0.014788473956286907,
0.021357912570238113,
-0.027223140001296997,
-0.08697513490915298,
0.006743080914020538,
0.004685910884290934,
-0.019795138388872147,
0.010910478420555592,
0.030869612470269203,
0.06613814830780029,
-0.01793331652879715,
-0.0005408211727626622,
-0.014508717693388462,
0.023557372391223907,
0.010273792780935764,
0.023306557908654213,
-0.00441821338608861,
0.022804927080869675,
0.03461255505681038,
0.08365665376186371,
0.007167538162320852,
-0.023827482014894485,
0.025853300467133522,
0.011151647195219994,
-0.06135335564613342,
-0.02608482353389263,
0.03316554054617882,
0.016399482265114784,
-0.017914021387696266,
-0.031622059643268585,
-0.015801383182406425,
-0.004893315955996513,
0.03353211656212807,
0.011113060638308525,
0.023422319442033768,
-0.10078928619623184,
-0.009772161953151226,
0.049121271818876266,
-0.022747045382857323,
0.011662925593554974,
-0.06883923709392548,
-0.014470131136476994,
-0.02807205356657505,
-0.05247834324836731,
-0.008894307538866997,
0.004948784597218037,
-0.03144841641187668,
0.006106395274400711,
-0.04333321750164032,
0.02936471812427044,
0.037699513137340546,
-0.020354650914669037,
-0.035056304186582565,
-0.010650016367435455,
-0.000889310147613287,
-0.05093486234545708,
-0.008990774862468243,
-0.04487669840455055,
-0.03629108890891075,
0.0028289107140153646,
-0.021145684644579887,
-0.04375767707824707,
0.023731015622615814,
0.06092889979481697,
-0.037004947662353516,
0.022303294390439987,
-0.05861367657780647,
0.010659663006663322,
-0.003972050733864307,
0.003371540457010269,
-0.018087662756443024,
0.049893010407686234,
0.04622724652290344,
-0.039050061255693436,
-0.024560635909438133,
-0.04040060564875603,
0.037236470729112625,
0.020026661455631256,
-0.008243151009082794,
-0.001187756541185081,
-0.033840812742710114,
0.020451119169592857,
-0.06274248659610748,
0.013437928631901741,
-0.024290526285767555,
-0.03378293290734291,
-0.028515804558992386,
-0.002327279420569539,
0.009294647723436356,
-0.04094082489609718,
0.017489565536379814,
-0.014740239828824997,
0.017258042469620705,
0.023460905998945236,
-0.007235065568238497,
0.0015627741813659668,
-0.06092889979481697,
0.013486161828041077,
-0.00033040132257156074,
0.028650859370827675,
0.04807941988110542,
-0.0428701750934124,
-0.06073596328496933,
0.06849195063114166,
0.0065115587785840034,
-0.031294070184230804,
0.05463921278715134,
0.06864630430936813,
-0.0022706047166138887,
-0.014016733504831791,
-0.022515524178743362,
0.026509279385209084,
-0.03025222010910511,
-0.017643913626670837,
-0.035287827253341675,
0.02909461036324501,
-0.006627319846302271,
-0.045957136899232864,
-0.05201529711484909,
-0.06895499676465988,
0.06293541938066483,
0.03312695398926735,
0.04630441963672638,
0.017991196364164352,
0.04765496402978897,
0.019312800839543343,
0.05108920857310295,
-0.037448700517416,
0.004543621093034744,
-0.06058161333203316,
-0.06397727131843567,
0.06119900569319725,
0.028612272813916206,
0.03843266889452934,
0.04379626363515854,
0.005628881044685841,
0.009830042719841003,
-0.005826639477163553,
0.0214350875467062,
-0.02398183010518551,
0.0023875716142356396,
-0.04244571924209595,
0.021878838539123535,
-0.06706423312425613,
-0.024888625368475914,
-0.043641913682222366,
-0.06266531348228455,
-0.010534255765378475,
0.0053153615444898605,
0.05035605654120445,
-0.029962817206978798,
0.018348125740885735,
-0.03868348151445389,
-0.07192619889974594,
0.02645139954984188,
-0.025949768722057343,
-0.024174764752388,
-0.002660092432051897,
-0.04383485019207001,
-0.0421370230615139,
-0.03924299404025078,
-0.01088153850287199,
0.0067527275532484055,
0.026007648557424545,
-0.06069737672805786,
-0.016032904386520386,
-0.029673414304852486,
-0.03879924491047859,
0.04738485440611839,
0.0034414795227348804,
0.03193075582385063,
0.031120428815484047,
-0.007476234342902899,
0.0022332235239446163,
-0.00926570687443018,
-0.0073701199144124985,
-0.011334936134517193,
0.002884379355236888,
0.03596309944987297,
0.016901113092899323,
-0.04260006546974182,
-0.004345862660557032,
-0.05892237275838852,
-0.05575823783874512,
0.015598800964653492,
-0.0037911743856966496,
0.05336584150791168,
-0.005807345733046532,
-0.036638371646404266,
-0.043178871273994446,
0.021550849080085754,
-0.022862806916236877,
-0.06872347742319107,
0.024792157113552094,
-0.056066934019327164,
0.05707019567489624,
-0.002251311205327511,
0.02992423065006733,
-0.024888625368475914,
0.0069601330906152725,
-0.05892237275838852,
-0.018840109929442406,
0.0017605326138436794,
-0.004784789867699146,
-0.0015639800112694502,
-0.047346267849206924,
-0.003325718455016613,
-0.032509561628103256,
0.06143052875995636,
-0.01962149702012539,
0.004157750867307186,
-0.021647315472364426,
-0.04942996799945831,
-0.04699898511171341,
-0.003287131432443857,
-0.006352387368679047,
-0.007939278148114681,
-0.0028867910150438547,
0.06652401387691498,
-0.017412390559911728,
-0.04078647494316101,
-0.02351878583431244,
-0.0421370230615139,
-0.010196618735790253,
0.03395657241344452,
-0.027010910212993622,
0.03490195423364639,
0.029634827747941017,
0.02436770126223564,
0.03258673474192619,
-0.022708458825945854,
0.013679097406566143,
0.01723874919116497,
-0.026432106271386147,
0.0530957356095314,
-0.0010020565241575241,
0.0003322100965306163,
-0.013910619542002678,
0.060350093990564346,
-0.025853300467133522,
-0.018666468560695648,
0.01322569977492094,
-0.027686184272170067,
-0.008580788038671017,
-0.014132494106888771,
0.024136178195476532,
0.01494282204657793,
-0.007707756478339434,
0.04973866418004036,
0.004099870566278696,
-0.017364157363772392,
-0.01514540333300829,
-0.06170063838362694,
0.048349529504776,
-0.05020170658826828,
0.02338373102247715,
-0.02608482353389263,
-0.003429420990869403,
-0.027994880452752113,
0.0515136644244194,
-0.06289683282375336,
0.021685902029275894,
-0.01041849423199892,
0.009072772227227688,
-0.02361525408923626,
0.00003986822412116453,
-0.0865892618894577,
0.035982392728328705,
0.011305995285511017,
0.02189813181757927,
0.08396534621715546,
0.006386151071637869,
0.013293227180838585,
-0.025949768722057343,
0.0545620396733284,
0.036078859120607376,
0.014354369603097439,
0.0319693423807621,
0.023229382932186127,
-0.07007402181625366,
0.012328551150858402,
-0.01730627752840519,
-0.06231803074479103,
0.042754411697387695,
0.055333781987428665,
0.06810608506202698,
0.01618725247681141,
-0.012917003594338894,
0.015010349452495575,
-0.0002652857219800353,
0.01747027225792408,
-0.025255201384425163,
0.044143546372652054,
-0.030406568199396133,
0.017122987657785416,
-0.026760095730423927,
-0.003957580775022507,
-0.010312380269169807,
-0.0008844867697916925,
-0.018087662756443024,
-0.023692427203059196,
-0.030966080725193024,
-0.029210371896624565,
0.009825218468904495,
0.044838111847639084,
-0.0022103125229477882,
-0.020759815350174904,
-0.05656856670975685,
0.03692777454853058,
0.01621619425714016,
0.04325604438781738,
0.003260602941736579,
0.03279896453022957,
-0.031197601929306984,
-0.02936471812427044,
0.015540920197963715,
-0.04537833109498024,
0.08820991963148117,
-0.024425581097602844,
0.028361456468701363,
0.011691865511238575,
0.03326200693845749,
0.002277839696034789,
0.027589716017246246,
-0.05051040276885033,
-0.028284283354878426,
-0.019833726808428764,
-0.014846354722976685,
0.0008332383586093783,
0.10356754809617996,
-0.015328692272305489,
-0.019988074898719788,
0.03887641802430153,
-0.004830611869692802,
0.04356474056839943
]
|
40,461 | pyglove.core.geno.dna_generator | _feedback | Actual feedback method which should be implemented by the child class.
The default implementation is no-op.
Args:
dna: a DNA object.
reward: reward for the DNA. It is a float if `self.multi_objective`
returns False, otherwise it's a tuple of floats.
| def _feedback(self, dna: DNA, reward: Union[float, Tuple[float]]) -> None:
"""Actual feedback method which should be implemented by the child class.
The default implementation is no-op.
Args:
dna: a DNA object.
reward: reward for the DNA. It is a float if `self.multi_objective`
returns False, otherwise it's a tuple of floats.
"""
| (self, dna: pyglove.core.geno.base.DNA, reward: Union[float, Tuple[float]]) -> NoneType | [
-0.01124697457998991,
0.01869809627532959,
-0.009252393618226051,
-0.0028710539918392897,
-0.012310164980590343,
-0.0591169111430645,
-0.021668000146746635,
0.032001156359910965,
-0.013127327896654606,
-0.02588561549782753,
-0.036166053265333176,
0.01595664583146572,
-0.004973271396011114,
0.04358202591538429,
-0.03337188437581062,
0.014761654660105705,
0.014120224863290787,
0.07774471491575241,
-0.014647427015006542,
0.03175513073801994,
-0.00549168698489666,
0.029699042439460754,
-0.03440871462225914,
0.006783331744372845,
-0.05584825947880745,
0.06547848135232925,
0.03314342722296715,
-0.0360957607626915,
-0.008110122755169868,
0.05584825947880745,
0.021896453574299812,
-0.038380302488803864,
0.011554509401321411,
0.045093338936567307,
-0.030595285817980766,
-0.013206408359110355,
-0.054618120193481445,
0.03121035546064377,
-0.07647942751646042,
-0.0021505446638911963,
-0.046745236963033676,
-0.03978617116808891,
-0.0017496513901278377,
-0.01647506095468998,
-0.01082521304488182,
0.0046657370403409,
-0.0021055126562714577,
0.00600570859387517,
-0.02159770578145981,
-0.049205515533685684,
0.027080606669187546,
-0.0231793113052845,
0.028609491884708405,
0.03509407490491867,
-0.02261696383357048,
0.03894264996051788,
0.018996844068169594,
-0.003951817750930786,
0.009384194388985634,
-0.043792907148599625,
0.023038724437355995,
0.022072188556194305,
0.012108070775866508,
-0.05700810253620148,
0.01225744467228651,
-0.049732714891433716,
-0.035920023918151855,
-0.0014036751817911863,
-0.016009366139769554,
0.061963800340890884,
-0.03191329166293144,
0.006730611436069012,
0.010675839148461819,
-0.008773518726229668,
0.037044722586870193,
-0.013540303334593773,
0.022265495732426643,
-0.04333600029349327,
0.021070504561066628,
-0.019119856879115105,
0.026184363290667534,
-0.02479606494307518,
-0.019963379949331284,
-0.006708644796162844,
-0.0002528921759221703,
-0.021896453574299812,
-0.007117226254194975,
-0.05750015750527382,
-0.05426665395498276,
0.01869809627532959,
-0.010333158075809479,
-0.051911816000938416,
0.01207292452454567,
0.017054982483386993,
0.015807271003723145,
0.01804788038134575,
0.008123302832245827,
-0.03303798660635948,
0.001986892195418477,
0.02762538194656372,
-0.002447095699608326,
0.0045690834522247314,
0.04804566875100136,
0.0014201502781361341,
0.014322319068014622,
-0.054582975804805756,
-0.0019045169465243816,
0.019295591861009598,
0.03683384135365486,
0.019647058099508286,
-0.08175145089626312,
-0.06484583765268326,
-0.034303274005651474,
0.021298957988619804,
-0.04467157647013664,
0.004134141840040684,
-0.010781279765069485,
0.012995528057217598,
0.026641272008419037,
0.01524492260068655,
0.026342524215579033,
0.006335210055112839,
-0.028240449726581573,
-0.019365884363651276,
-0.02697516605257988,
-0.013127327896654606,
0.03512922301888466,
0.03771251067519188,
-0.007407187018543482,
0.015684258192777634,
-0.05844912305474281,
0.027713248506188393,
-0.03270409256219864,
0.05120887979865074,
0.027449646964669228,
0.07640913128852844,
0.006691071204841137,
0.0011422708630561829,
0.015684258192777634,
0.0063000633381307125,
0.031069766730070114,
-0.04871346056461334,
0.05778133124113083,
-0.04333600029349327,
0.03347732126712799,
-0.023337472230196,
-0.031561821699142456,
0.02940029464662075,
-0.022704830393195152,
-0.030032936483621597,
-0.029874777421355247,
0.04421466961503029,
-0.0061199357733130455,
-0.03946985304355621,
0.036693256348371506,
0.028205303475260735,
-0.008070583455264568,
-0.038345154374837875,
0.03477775305509567,
-0.013759970664978027,
0.009419341571629047,
-0.05212269723415375,
-0.0034729428589344025,
0.04119204357266426,
0.03750162944197655,
-0.002460275776684284,
-0.040805429220199585,
0.04277364909648895,
-0.005557586904615164,
0.007785015273839235,
-0.010280437767505646,
-0.0693797767162323,
-0.02078932896256447,
0.024374302476644516,
-0.03634178638458252,
0.0765497237443924,
-0.004490002989768982,
0.000579922110773623,
0.018627801910042763,
-0.060065872967243195,
0.10178512334823608,
-0.019770072773098946,
-0.049486689269542694,
-0.0337584987282753,
0.019190151244401932,
-0.007253420073539019,
0.00407922500744462,
0.005219299346208572,
-0.005645453929901123,
0.06716552376747131,
0.004845864605158567,
-0.02479606494307518,
-0.05124402791261673,
-0.016571713611483574,
-0.005952988751232624,
-0.02423371560871601,
0.03651751950383186,
-0.025586867704987526,
0.0731053352355957,
-0.013092181645333767,
0.016765020787715912,
-0.03490076959133148,
0.0065724509768188,
0.011194254271686077,
-0.007793801836669445,
0.0737379789352417,
-0.030841313302516937,
0.010587972588837147,
-0.07844764739274979,
-0.07380826771259308,
0.0005711354315280914,
-0.00036849218304269016,
0.06256129592657089,
-0.002037415746599436,
0.03978617116808891,
-0.03978617116808891,
0.08386025577783585,
0.017019836232066154,
-0.031350940465927124,
0.038872357457876205,
0.01869809627532959,
-0.0833681970834732,
-0.028363464400172234,
0.025955908000469208,
0.05254445970058441,
0.02237093634903431,
0.001901222043670714,
0.020367568358778954,
-0.01737130433320999,
-0.04094601795077324,
-0.04010249301791191,
-0.04003220051527023,
0.03572671860456467,
0.012178365141153336,
0.012327739037573338,
0.03957529366016388,
0.03521708771586418,
-0.008083762601017952,
-0.07423003017902374,
0.06062822416424751,
0.00525005254894495,
0.022265495732426643,
0.01635204628109932,
0.02952330932021141,
0.02386467531323433,
-0.005627880804240704,
0.05546164512634277,
0.0024976192507892847,
0.023161739110946655,
-0.0021450528874993324,
0.010526465252041817,
-0.021105650812387466,
-0.04801052436232567,
-0.01704619638621807,
-0.062209829688072205,
0.03425055369734764,
-0.017344944179058075,
0.02374166063964367,
-0.020490581169724464,
0.0077674416825175285,
-0.009384194388985634,
0.01048253197222948,
-0.031842995434999466,
0.01614995300769806,
-0.0306480061262846,
0.05388003960251808,
0.03556855767965317,
-0.01947132498025894,
0.01744159683585167,
-0.017134062945842743,
0.05293107405304909,
0.0563051663339138,
-0.006708644796162844,
-0.018645375967025757,
-0.061928655952215195,
-0.008294643834233284,
0.020121540874242783,
0.015675470232963562,
-0.009770809672772884,
-0.012020204216241837,
0.03161454200744629,
-0.04720214754343033,
-0.007495054043829441,
0.04987330362200737,
-0.06990697979927063,
0.025182679295539856,
0.012600126676261425,
0.072191521525383,
0.012626486830413342,
0.011598442681133747,
0.03008565679192543,
0.04642891883850098,
0.10094159841537476,
0.053528569638729095,
0.08217320591211319,
-0.01448047999292612,
-0.023811955004930496,
0.030138377100229263,
0.03504135459661484,
0.0306480061262846,
0.047342732548713684,
-0.03816942125558853,
-0.015490950085222721,
0.0017145046731457114,
-0.07844764739274979,
-0.04041881486773491,
0.045093338936567307,
0.029611175879836082,
-0.03129822015762329,
0.007345680147409439,
0.022072188556194305,
0.007675181608647108,
-0.01100094709545374,
0.05820309370756149,
0.012951593846082687,
-0.028732506558299065,
0.03532252833247185,
-0.0404539629817009,
-0.004613016732037067,
0.04966242238879204,
-0.038345154374837875,
0.007178733125329018,
0.04140292480587959,
0.028732506558299065,
-0.04959212988615036,
-0.046253181993961334,
-0.01098337396979332,
-0.021632852032780647,
0.023319898173213005,
0.01247711293399334,
-0.06491613388061523,
-0.06228012219071388,
-0.02903125248849392,
-0.05946837738156319,
-0.03602546453475952,
0.04642891883850098,
-0.02968146838247776,
-0.012380458414554596,
0.022388508543372154,
-0.008523098193109035,
-0.059784699231386185,
0.0653378963470459,
0.018346628174185753,
0.05180637538433075,
0.05068168044090271,
-0.026781858876347542,
-0.014752867631614208,
0.0004720104916486889,
0.07985351979732513,
0.022757550701498985,
-0.037782806903123856,
-0.04333600029349327,
0.011203041300177574,
0.04741302877664566,
-0.004806324373930693,
-0.037255603820085526,
0.000554111204110086,
-0.002994067734107375,
0.0062912763096392155,
-0.02560443989932537,
-0.05648089945316315,
0.001470673712901771,
0.03504135459661484,
0.0395049974322319,
0.02435673028230667,
-0.050330210477113724,
-0.01557003054767847,
-0.017784278839826584,
-0.031227927654981613,
-0.00021554871636908501,
-0.018592655658721924,
-0.013127327896654606,
-0.040524255484342575,
0.005518047139048576,
-0.01982279308140278,
-0.06122571974992752,
0.024462169036269188,
0.03229990601539612,
0.02685215137898922,
0.051630642265081406,
0.019436178728938103,
0.0025481428019702435,
-0.023232031613588333,
0.05286078155040741,
-0.03869662061333656,
-0.030542565509676933,
0.0016683745197951794,
0.08582847565412521,
-0.05402062460780144,
-0.00989382341504097,
0.03347732126712799,
-0.03191329166293144,
-0.030032936483621597,
-0.04337114468216896,
-0.06804420053958893,
-0.0032818319741636515,
0.01994580589234829,
-0.024602757766842842,
-0.06090939790010452,
0.005522440187633038,
0.012222298420965672,
0.01025407761335373,
-0.062244974076747894,
-0.0019561387598514557,
0.007332500070333481,
0.04832684248685837,
-0.010245290584862232,
0.06955550611019135,
-0.0591169111430645,
0.01744159683585167,
-0.000199622823856771,
0.01092186663299799,
0.007143586408346891,
0.07444091141223907,
0.005333526059985161,
0.025411132723093033,
-0.05837882682681084,
0.038626328110694885,
-0.021070504561066628,
0.03593759983778,
0.041086602956056595,
-0.026781858876347542,
0.008650504983961582,
0.047905083745718,
0.004200042225420475,
-0.052192993462085724,
-0.019330738112330437,
0.001246612868271768,
-0.019647058099508286,
-0.043792907148599625,
-0.0210002101957798,
-0.006616384256631136,
-0.0009681843803264201,
-0.02952330932021141,
0.004639376886188984,
-0.007741081994026899,
-0.04794022813439369,
0.012890087440609932,
0.005254446063190699,
0.030683152377605438,
0.020367568358778954,
0.00020689930533990264,
0.06228012219071388,
-0.005307166371494532,
-0.012687993235886097,
-0.016975902020931244,
0.029699042439460754,
-0.017265863716602325,
0.002759023569524288,
-0.036763548851013184,
0.06632200628519058,
0.017547037452459335,
0.05591855198144913,
0.08020498603582382,
-0.05120887979865074,
-0.013786330819129944,
-0.04453099146485329,
-0.030823739245533943,
0.01938345842063427,
-0.007732294965535402,
-0.009076660498976707,
0.009999263100326061,
-0.0547587089240551,
-0.012907660566270351,
-0.03792339190840721,
0.09067873656749725,
0.031878143548965454,
-0.01599179208278656,
-0.07549531757831573,
-0.023776806890964508,
0.03802883252501488,
-0.011695096269249916,
0.02455003745853901,
-0.05250931158661842,
0.0031851783860474825,
0.03105219453573227,
-0.032809533178806305,
-0.04178953915834427,
0.018364200368523598,
0.03711501508951187,
0.05690266191959381,
-0.07549531757831573,
0.008962432853877544,
0.011053667403757572,
0.0016562927048653364,
-0.017301009967923164,
-0.029874777421355247,
0.011255761608481407,
-0.01825875975191593,
0.000010477108844497707,
-0.041894979774951935,
-0.0061199357733130455,
0.04994359612464905,
-0.03964558616280556,
-0.02467305026948452,
0.05254445970058441,
0.048959486186504364,
-0.05528590828180313,
0.03599032014608383,
-0.01225744467228651,
-0.00044235537643544376,
-0.014181732200086117,
-0.030823739245533943,
-0.007407187018543482,
0.019278017804026604,
-0.01622903347015381,
-0.03548068925738335,
0.045093338936567307,
-0.046464063227176666,
0.0376422181725502,
-0.011607229709625244,
0.01934831030666828,
0.06024160981178284,
-0.006655924487859011,
0.025252973660826683,
-0.034584447741508484,
-0.013399715535342693,
-0.010939439758658409,
0.01978764683008194,
-0.0334421768784523,
0.026219509541988373,
0.028170157223939896,
-0.02523539960384369,
-0.04938124865293503,
0.021632852032780647,
-0.040805429220199585,
-0.002361425431445241,
0.04393349587917328,
0.038345154374837875,
-0.026781858876347542,
-0.012670420110225677,
0.03020867146551609,
0.051419761031866074,
0.021211091428995132,
-0.013680890202522278,
0.018557507544755936,
0.021052930504083633,
0.006313243415206671,
-0.06417804956436157,
0.02346048690378666,
0.03147395700216293,
-0.047799643129110336,
-0.020982638001441956,
-0.037044722586870193,
-0.0016376209678128362,
0.002941347425803542,
-0.051665790379047394,
-0.013759970664978027,
-0.03985646739602089,
-0.008883352391421795,
-0.024040408432483673,
-0.04857287183403969,
-0.04126233980059624,
0.10002778470516205,
0.0395049974322319,
0.04660465195775032,
0.04396864026784897,
0.04523392766714096,
0.06839566677808762,
0.009946542792022228,
-0.045163631439208984,
-0.03444385901093483,
0.023811955004930496,
-0.061682626605033875,
0.03876691684126854,
0.014322319068014622,
0.03936441242694855,
0.05834368243813515,
-0.014682574197649956,
-0.03105219453573227,
-0.029259707778692245,
0.02915426716208458,
-0.04112175107002258,
0.03481290116906166,
-0.07521414011716843,
0.029663896188139915,
-0.010368304327130318,
-0.04365232214331627,
-0.02576260082423687,
-0.008852599188685417,
-0.021105650812387466,
0.022265495732426643,
0.018399348482489586,
-0.04846743121743202,
0.01347000990062952,
0.015596390701830387,
-0.009269967675209045,
0.0010791164822876453,
-0.011352415196597576,
-0.0426330640912056,
-0.030542565509676933,
-0.02439187653362751,
0.015095548704266548,
-0.07612796127796173,
-0.007108439691364765,
0.03259865194559097,
-0.021755866706371307,
-0.0009187592077068985,
0.02068389020860195,
0.0364120788872242,
-0.01421687938272953,
-0.0034136325120925903,
0.02936514839529991,
0.013926917687058449,
0.07886940985918045,
-0.022757550701498985,
-0.03372335061430931,
0.025411132723093033,
-0.04530422016978264,
-0.02778354287147522,
-0.01100094709545374,
0.04463643208146095,
0.028855519369244576,
0.01691439561545849,
-0.016211459413170815,
-0.04017278924584389,
-0.043792907148599625,
0.035427968949079514,
0.02156255953013897,
0.1126103326678276,
-0.028855519369244576,
-0.04498789831995964,
-0.02015668712556362,
0.03092917986214161,
0.014665000140666962,
-0.047272440046072006,
0.03382879123091698,
-0.0914519652724266,
-0.025165105238556862,
-0.005974955391138792,
0.00041874111047945917,
0.02193159982562065,
-0.03164969012141228,
-0.045163631439208984,
-0.01522734947502613,
-0.0025415527634322643,
-0.007872882299125195,
-0.010148636996746063,
-0.02669399231672287,
0.011818110011518002,
-0.07626854628324509,
0.07338651269674301,
0.0064406502060592175,
-0.030103230848908424,
0.00026881808298639953,
-0.011493002064526081,
-0.06154203787446022,
-0.003600349882617593,
0.01610601879656315,
0.035638850182294846,
-0.06400231271982193,
0.08695317059755325,
-0.08582847565412521,
-0.0037211671005934477,
-0.008386904373764992,
0.023671366274356842,
-0.006093575619161129,
0.04530422016978264,
-0.04273850470781326,
0.050013892352581024,
-0.028398610651493073,
-0.0006040855660103261,
0.07141829282045364,
-0.0067174313589930534,
0.01894412375986576,
0.059784699231386185,
-0.05398548021912575,
-0.027853835374116898,
0.033213723450899124,
-0.05584825947880745,
-0.05967925861477852,
0.0809079259634018,
-0.002182396361604333,
0.025674734264612198,
0.011642375960946083,
-0.01610601879656315,
0.026922445744276047,
0.013364569284021854,
-0.014831948094069958,
-0.017336156219244003,
0.06818478554487228,
0.046218037605285645,
-0.00392545759677887,
-0.03570914641022682,
0.03525223582983017,
-0.018346628174185753,
-0.008347364142537117,
0.004551509860903025,
-0.038380302488803864,
-0.0186629481613636,
0.014014785178005695,
-0.050330210477113724,
0.010183784179389477,
-0.04055940359830856,
0.0061726560816168785,
-0.03590245172381401,
-0.03150910139083862,
0.01619388535618782,
0.008839419111609459,
-0.06456466764211655,
-0.00014415677287615836,
0.00872519239783287,
-0.007341287098824978,
0.08104851096868515,
0.02532326616346836,
0.03883720934391022,
-0.02240608260035515,
-0.01057918556034565,
-0.005390639882534742,
-0.05503988265991211,
0.020051246508955956,
-0.01116789411753416,
0.008685652166604996,
0.047307588160037994,
-0.03841544687747955,
-0.02050815522670746,
0.0566214881837368,
-0.01740645058453083,
0.04098116233944893,
0.023776806890964508,
-0.04614774137735367,
-0.0016738661797717214,
0.020420288667082787,
-0.0034553692676126957,
-0.011194254271686077,
-0.022792696952819824,
-0.039153531193733215,
-0.07430032640695572,
0.02281027100980282,
-0.040243081748485565,
0.0015870975330471992,
-0.0312630757689476,
-0.028363464400172234,
-0.026904871687293053,
0.014331106096506119,
0.0009599468903616071,
0.022072188556194305,
0.00042944992310367525,
0.04857287183403969,
0.06793875992298126,
-0.034022100269794464,
0.013171262107789516,
0.009805955924093723,
-0.022564243525266647,
-0.013531516306102276,
0.06010102108120918,
-0.041051458567380905,
-0.020455434918403625,
0.0068975589238107204,
-0.03284468129277229,
0.10832242667675018,
-0.003947424702346325,
0.05426665395498276,
0.019682206213474274,
0.11345385760068893,
0.0017990765627473593,
0.04284394532442093,
-0.03693928197026253,
0.00392545759677887,
-0.023126590996980667,
0.01885625533759594,
0.02996264398097992,
0.05149005725979805,
0.004224205389618874,
-0.020666316151618958,
0.04829169809818268,
-0.02078932896256447,
0.04347658529877663
]
|
40,470 | pyglove.core.geno.dna_generator | _propose | Actual propose method which should be implemented by the child class. | def _propose(self) -> DNA:
"""Actual propose method which should be implemented by the child class."""
raise NotImplementedError()
| (self) -> pyglove.core.geno.base.DNA | [
-0.02038075402379036,
-0.051997505128383636,
-0.02582152746617794,
0.03512578457593918,
-0.05727877840399742,
-0.04515666142106056,
-0.000969193410128355,
0.0367562435567379,
0.05958268791437149,
-0.02119598351418972,
0.004036275204271078,
0.04164762422442436,
0.01588812656700611,
0.08754862844944,
-0.05522298067808151,
-0.01485136616975069,
0.048913806676864624,
0.062241047620773315,
-0.016269158571958542,
-0.008927656337618828,
-0.02243655174970627,
0.053167182952165604,
-0.014727309346199036,
-0.047992244362831116,
-0.06188660115003586,
0.1103750690817833,
-0.024244235828518867,
0.0006546209333464503,
0.0018165453802794218,
-0.012334786355495453,
-0.011439804919064045,
-0.016410937532782555,
0.015489372424781322,
0.055790096521377563,
0.047106124460697174,
0.052493732422590256,
-0.059299129992723465,
0.040726061910390854,
-0.0791836529970169,
0.04466043412685394,
-0.08605994284152985,
-0.019866803660988808,
0.029401451349258423,
-0.06808944046497345,
-0.006778815761208534,
-0.0009957769652828574,
0.020788367837667465,
0.047992244362831116,
-0.031173691153526306,
0.004598961211740971,
0.006043336354196072,
-0.0225074402987957,
0.01009290385991335,
0.03945004940032959,
-0.030110348016023636,
0.06443862617015839,
0.02194032445549965,
0.032042089849710464,
0.05990169197320938,
-0.0031678779050707817,
0.011998061090707779,
-0.01400069147348404,
0.020097194239497185,
-0.06468673795461655,
0.05901557207107544,
-0.0068364134058356285,
-0.0018763585248962045,
-0.04756690561771393,
0.01613624021410942,
0.039237380027770996,
0.021461818367242813,
-0.0260164737701416,
-0.02470501698553562,
0.060114361345767975,
0.0793963223695755,
0.013185461051762104,
-0.021479541435837746,
0.008329525589942932,
0.08024699985980988,
-0.039485495537519455,
0.018555346876382828,
-0.038670264184474945,
-0.01632232405245304,
-0.01750972494482994,
-0.021904878318309784,
0.012866457924246788,
0.01587040349841118,
-0.0520329475402832,
-0.008178885094821453,
-0.01209553424268961,
-0.04108050838112831,
0.0007133263861760497,
0.01938829943537712,
0.06695520132780075,
0.028497610241174698,
0.038351260125637054,
0.011953754350543022,
-0.05568376183509827,
0.012981653213500977,
-0.002081273589283228,
-0.008878919295966625,
0.11661335080862045,
0.005104049574583769,
-0.04008805379271507,
0.009259951300919056,
0.011723363772034645,
-0.004326479509472847,
0.04061972722411156,
0.012263896875083447,
0.015524817630648613,
-0.08577638864517212,
0.015214675106108189,
-0.022861888632178307,
0.026282310485839844,
-0.04370342195034027,
-0.037039805203676224,
-0.017722394317388535,
-0.021461818367242813,
-0.002439044415950775,
0.02931283973157406,
0.0020458288490772247,
0.014089303091168404,
-0.05770411342382431,
-0.03611823916435242,
-0.007275042589753866,
0.009082727134227753,
-0.00495340907946229,
0.03983994200825691,
-0.00903842132538557,
-0.045298438519239426,
-0.029241949319839478,
0.03051796182990074,
-0.03287504240870476,
0.013229766860604286,
0.019459187984466553,
0.05469130724668503,
0.05313173681497574,
-0.018962962552905083,
-0.03471817076206207,
-0.01378802303224802,
-0.011936032213270664,
-0.038422148674726486,
0.12270985543727875,
-0.0009719625231809914,
0.02644181251525879,
0.016056489199399948,
-0.010146070271730423,
-0.018555346876382828,
-0.033424437046051025,
-0.03250287100672722,
0.029809067025780678,
0.007359223905950785,
0.009091587737202644,
-0.03237881511449814,
-0.004767323844134808,
-0.024722740054130554,
0.0019849082455039024,
-0.031297747045755386,
-0.029915401712059975,
0.003203322645276785,
0.002432398498058319,
-0.059795357286930084,
0.013220906257629395,
0.007957355119287968,
-0.010925855487585068,
0.0015008652117103338,
-0.002279542852193117,
-0.04207296296954155,
0.035285286605358124,
0.025679748505353928,
-0.020114917308092117,
-0.0025586707051843405,
-0.025272134691476822,
-0.017492003738880157,
0.028586221858859062,
0.03813859075307846,
0.022861888632178307,
0.04239196702837944,
0.024332847446203232,
0.0036530285142362118,
0.07776586711406708,
-0.03220159187912941,
-0.0556483156979084,
0.0023216335102915764,
0.06578552722930908,
0.045617442578077316,
0.011998061090707779,
0.042356520891189575,
0.040229834616184235,
0.010332155972719193,
-0.003551124595105648,
-0.020221251994371414,
0.003628660226240754,
0.000528625794686377,
0.040300723165273666,
-0.033973827958106995,
-0.004532502498477697,
0.00356441643089056,
-0.05795222893357277,
0.053486187011003494,
-0.0036131530068814754,
0.024474626407027245,
-0.01737680658698082,
-0.007890895940363407,
-0.011129663325846195,
0.04650356248021126,
-0.012033505365252495,
-0.021603599190711975,
-0.04083239659667015,
-0.07244914770126343,
-0.020221251994371414,
-0.031049635261297226,
0.031545862555503845,
-0.03636635094881058,
0.04136406630277634,
-0.06734509766101837,
0.009835928678512573,
-0.014824782498180866,
0.014488057233393192,
0.046432673931121826,
0.057668671011924744,
0.024651849642395973,
-0.03856392949819565,
0.0052148145623505116,
0.02319861389696598,
0.00685856631025672,
-0.012201867997646332,
-0.043738868087530136,
0.00887448899447918,
-0.0567825511097908,
-0.02844444289803505,
-0.05196205899119377,
-0.03234336897730827,
0.0031523709185421467,
0.05851934477686882,
0.002868812531232834,
-0.0029662856832146645,
-0.012042366899549961,
-0.054407749325037,
0.01569318026304245,
-0.02256060764193535,
0.02337583713233471,
-0.020806090906262398,
0.0653601884841919,
-0.05674710497260094,
0.007997230626642704,
-0.014089303091168404,
0.03863481804728508,
0.043667979538440704,
0.02339356020092964,
0.021036481484770775,
-0.07996344566345215,
-0.07790764421224594,
0.017164139077067375,
0.00775354728102684,
-0.013858912512660027,
-0.06933000683784485,
-0.020274419337511063,
0.023304948583245277,
0.025431634858250618,
-0.025218967348337173,
-0.023996122181415558,
0.0031324331648647785,
0.032290201634168625,
0.007749116979539394,
0.016960330307483673,
0.019725024700164795,
0.012068950571119785,
-0.0074522667564451694,
-0.019600966945290565,
0.12270985543727875,
0.06110681593418121,
-0.05075693503022194,
-0.006898441817611456,
-0.02188715711236,
0.028231773525476456,
-0.045475661754608154,
0.027292486280202866,
0.0015163723146542907,
-0.0037637935020029545,
0.022347938269376755,
0.011705641634762287,
0.01444375142455101,
0.04132862389087677,
-0.055045757442712784,
-0.02606964111328125,
0.035852402448654175,
0.05036704242229462,
-0.004244513344019651,
0.021709932014346123,
0.0058616818860173225,
0.03524984046816826,
-0.005852820817381144,
0.04870113730430603,
0.08329524844884872,
-0.013903218321502209,
-0.030163515359163284,
0.05139494314789772,
-0.012963931076228619,
-0.06769954413175583,
0.03505489602684975,
-0.010137209668755531,
-0.03569290041923523,
-0.006991484668105841,
-0.04880747199058533,
0.008719418197870255,
0.02176309935748577,
0.0012870888458564878,
-0.047673240303993225,
-0.007983938790857792,
-0.03618912771344185,
0.03714613616466522,
-0.012476565316319466,
0.08513838052749634,
0.020150361582636833,
-0.04515666142106056,
0.019335132092237473,
-0.03330037742853165,
0.035480234771966934,
0.05990169197320938,
-0.06950722634792328,
0.03549795597791672,
-0.00685856631025672,
-0.03581696003675461,
0.020221251994371414,
-0.038103148341178894,
-0.014018413610756397,
0.008236482739448547,
-0.005077465903013945,
-0.018962962552905083,
-0.04182485118508339,
0.004678712226450443,
0.015772931277751923,
-0.02894067019224167,
-0.09733138978481293,
-0.006118656601756811,
0.0028998267371207476,
0.010544824413955212,
0.03927282616496086,
0.02233021706342697,
0.010739770717918873,
0.013557631522417068,
-0.011395499110221863,
0.04171851649880409,
0.06794765591621399,
-0.02243655174970627,
-0.028993837535381317,
-0.008630805648863316,
0.05065060406923294,
-0.02151498571038246,
-0.010916994884610176,
-0.004829352255910635,
0.007217444945126772,
0.02287960983812809,
0.0295786764472723,
-0.048913806676864624,
0.0006191761349327862,
0.01041190605610609,
-0.047354236245155334,
-0.04451865330338478,
0.04040705785155296,
-0.055860985070466995,
-0.04469587653875351,
0.02975589968264103,
-0.041470400989055634,
-0.004842644091695547,
-0.06259549409151077,
-0.010819521732628345,
0.017048943787813187,
0.018608514219522476,
0.00436192424967885,
-0.03170536458492279,
-0.054301414638757706,
-0.0005363793461583555,
-0.002627345034852624,
-0.009463758207857609,
0.019335132092237473,
0.04164762422442436,
-0.01711983233690262,
0.027806436643004417,
0.017704671248793602,
0.010553685948252678,
-0.03620685264468193,
0.014895671978592873,
-0.01240567583590746,
-0.029968569055199623,
0.06808944046497345,
0.051926612854003906,
-0.005742055829614401,
-0.009091587737202644,
-0.03987538814544678,
-0.0049046725034713745,
-0.059547245502471924,
-0.06847932934761047,
-0.04902014136314392,
-0.03725247085094452,
-0.03328265622258186,
-0.0060211834497749805,
-0.02794821560382843,
0.015365315601229668,
0.03259148448705673,
-0.010934717021882534,
0.026300033554434776,
-0.002961855148896575,
0.021337762475013733,
-0.009118171408772469,
0.07514294981956482,
-0.005835098214447498,
-0.012609483674168587,
-0.0361359603703022,
-0.03471817076206207,
0.016800830140709877,
-0.02938373014330864,
0.019654134288430214,
0.0331408753991127,
-0.020841535180807114,
0.03828037157654762,
-0.009640982374548912,
-0.027522878721356392,
0.008701695129275322,
0.012210729531943798,
0.02470501698553562,
0.000035860157368006185,
0.07627718150615692,
0.0023615090176463127,
0.03633090853691101,
-0.029809067025780678,
0.01812114752829075,
0.03243198245763779,
-0.03927282616496086,
0.009738455526530743,
0.025112632662057877,
-0.014736170880496502,
-0.006530702114105225,
0.024474626407027245,
-0.016295742243528366,
-0.017961645498871803,
-0.0045679472386837006,
-0.04430598393082619,
0.047106124460697174,
0.007952923886477947,
-0.005409760866314173,
-0.01637549139559269,
0.03732336312532425,
0.11094218492507935,
-0.015090618282556534,
-0.003998615313321352,
0.020150361582636833,
0.05745600163936615,
-0.04061972722411156,
0.02376572974026203,
0.008728278800845146,
0.0805305615067482,
0.03425738587975502,
-0.04607822373509407,
-0.024456903338432312,
-0.020522532984614372,
-0.019157908856868744,
0.025910140946507454,
-0.014080442488193512,
0.009419452399015427,
0.06511207669973373,
-0.0031169259455055,
-0.03408016264438629,
0.034984007477760315,
0.10392411798238754,
-0.02162132039666176,
-0.037287916988134384,
-0.08315347135066986,
-0.0053521632216870785,
0.09867829084396362,
-0.023588506504893303,
0.043171752244234085,
-0.09626804292201996,
-0.010473934933543205,
-0.012387953698635101,
0.022542884573340416,
0.005560401361435652,
0.025112632662057877,
0.031102800741791725,
0.02287960983812809,
-0.020770646631717682,
-0.018661681562662125,
0.05600276589393616,
-0.017536308616399765,
-0.0026915885973721743,
-0.022028936073184013,
0.015843819826841354,
0.007571892812848091,
0.00287545844912529,
-0.014009552076458931,
0.0050553129985928535,
0.014337416738271713,
0.02013264037668705,
0.015834959223866463,
0.024651849642395973,
0.02908244915306568,
-0.03136863932013512,
0.013929801993072033,
-0.09017153829336166,
0.016224851831793785,
-0.027044372633099556,
-0.02268466353416443,
-0.03633090853691101,
0.01756289228796959,
-0.03388521820306778,
-0.028745723888278008,
0.04476676881313324,
-0.027841880917549133,
0.059299129992723465,
-0.0026472825556993484,
0.030961021780967712,
0.04228563234210014,
-0.0688692256808281,
0.04870113730430603,
0.022223882377147675,
-0.02082381211221218,
0.006898441817611456,
-0.011120802722871304,
-0.06202837824821472,
0.0367562435567379,
-0.034984007477760315,
0.006543993949890137,
0.010482796467840672,
0.008435859344899654,
0.005666735582053661,
0.007186430972069502,
0.02233021706342697,
0.016605883836746216,
-0.02631775476038456,
-0.017465420067310333,
-0.017367945984005928,
0.007536448072642088,
0.023783452808856964,
0.037784144282341,
0.023145446553826332,
0.0033185184001922607,
-0.002715956885367632,
0.05139494314789772,
0.03445233404636383,
0.03721702843904495,
-0.03813859075307846,
-0.05210383981466293,
-0.0032719969749450684,
-0.0025675317738205194,
-0.03633090853691101,
-0.05018981918692589,
-0.058483898639678955,
0.004231221508234739,
0.003998615313321352,
-0.022082103416323662,
0.00509518850594759,
-0.016721079126000404,
0.03987538814544678,
0.05841301009058952,
0.006743371021002531,
0.01601218245923519,
-0.0024191068951040506,
0.011891726404428482,
0.04384520277380943,
-0.006707926280796528,
-0.02743426524102688,
0.05951179936528206,
-0.05571920797228813,
0.017988229170441628,
0.03813859075307846,
-0.01976046897470951,
0.0841459259390831,
0.018927516415715218,
-0.0732998251914978,
0.030181236565113068,
-0.021213706582784653,
-0.003427068004384637,
0.04405787214636803,
-0.07975077629089355,
0.020894702523946762,
-0.020806090906262398,
0.006601591594517231,
-0.045617442578077316,
-0.07514294981956482,
-0.03767780959606171,
0.019831359386444092,
-0.0060389055870473385,
-0.021337762475013733,
-0.01340699102729559,
-0.01637549139559269,
-0.040974173694849014,
0.03693347051739693,
0.04271097108721733,
-0.083011694252491,
-0.042356520891189575,
0.0016437520971521735,
0.010137209668755531,
-0.07833298295736313,
0.01190944854170084,
0.030854688957333565,
0.014434889890253544,
-0.059051018208265305,
0.02518352121114731,
-0.030358461663126945,
-0.026672203093767166,
0.041541293263435364,
0.05621543526649475,
0.02082381211221218,
0.060291584581136703,
0.006885149981826544,
-0.013938662596046925,
-0.008706126362085342,
-0.014824782498180866,
-0.0092156445607543,
0.0031058494932949543,
0.04171851649880409,
-0.015214675106108189,
-0.08591816574335098,
-0.05759778246283531,
-0.03636635094881058,
-0.0732998251914978,
-0.00032814120640978217,
0.019725024700164795,
0.05132405459880829,
-0.01738566905260086,
-0.03764236345887184,
-0.040726061910390854,
0.015489372424781322,
-0.04377431422472,
-0.029791343957185745,
0.025413913652300835,
-0.03370799496769905,
-0.0011530632618814707,
-0.037358805537223816,
0.06188660115003586,
0.002240775153040886,
-0.009587815031409264,
-0.04536932706832886,
-0.01025240495800972,
-0.01769581064581871,
-0.015896987169981003,
-0.01440830621868372,
-0.002323848893865943,
0.06830210983753204,
-0.039910830557346344,
-0.03874115273356438,
-0.0029463479295372963,
-0.000575423997361213,
-0.024403735995292664,
-0.046609897166490555,
-0.040052611380815506,
0.0006457597482949495,
-0.025041742250323296,
-0.01988452672958374,
0.0044084456749260426,
0.04916192218661308,
-0.019902247935533524,
-0.011235998012125492,
0.04551110789179802,
-0.04182485118508339,
-0.01595015451312065,
0.0661754161119461,
-0.011271442286670208,
0.05022526532411575,
0.02933056280016899,
-0.006264866329729557,
0.004231221508234739,
0.015480510890483856,
0.06372972577810287,
0.04533388465642929,
-0.008143439888954163,
-0.024651849642395973,
-0.0074744196608662605,
-0.008683972992002964,
0.015303287655115128,
0.028231773525476456,
-0.029986290261149406,
-0.032166145741939545,
0.03569290041923523,
-0.013584215193986893,
0.007886465638875961,
-0.03369027003645897,
0.038493040949106216,
0.017961645498871803,
-0.002658359007909894,
0.0035112493205815554,
-0.01674766279757023,
-0.055612873286008835,
0.013389268890023232,
0.027841880917549133,
0.02295050024986267,
-0.013796883635222912,
-0.03700435906648636,
-0.11172197014093399,
0.017403390258550644,
-0.06209927052259445,
-0.01649954915046692,
0.025343023240566254,
0.05426597222685814,
0.015976738184690475,
-0.053486187011003494,
-0.04086783900856972,
-0.02068203315138817,
-0.011439804919064045,
0.04508576914668083,
-0.0036242296919226646,
-0.024740461260080338,
0.030748354271054268,
-0.0015916925622150302,
0.04572377726435661,
-0.04278185963630676,
0.023748008534312248,
0.04558199644088745,
-0.04065517336130142,
0.021107371896505356,
0.03480678051710129,
-0.004550224635750055,
-0.06170937791466713,
0.008400415070354939,
-0.06064603105187416,
0.04295908287167549,
0.05465586483478546,
0.0007133263861760497,
-0.02913561649620533,
-0.0402652807533741,
-0.007554170675575733,
0.05834212154150009,
-0.029171060770750046,
-0.021461818367242813,
-0.0006352370837703347,
-0.0390247106552124,
-0.05894468352198601,
0.019849080592393875,
0.03363710269331932,
0.004762893542647362,
0.030411629006266594,
-0.08386237174272537,
-0.012680373154580593,
-0.033247210085392,
-0.020983314141631126,
-0.031244581565260887,
-0.013929801993072033,
-0.00990681815892458,
-0.028107717633247375,
-0.03369027003645897,
0.01618940755724907,
0.02156815305352211,
-0.014895671978592873,
0.04278185963630676,
0.049551814794540405,
-0.025803806260228157,
0.027611490339040756,
0.024155622348189354,
0.023039111867547035,
0.04572377726435661,
0.06131948530673981,
-0.00022263758000917733,
0.02256060764193535,
0.014355138875544071,
-0.026175975799560547,
0.023925231769680977,
0.02268466353416443,
0.0009320871904492378,
-0.0496581494808197,
-0.05284817889332771,
0.009711871854960918,
0.015967877581715584,
-0.018307233229279518,
0.009667566046118736,
0.037110693752765656,
0.006960470229387283,
0.016056489199399948
]
|
40,472 | pyglove.core.geno.dna_generator | _replay | Replay a single DNA from the history for state recovery.
The default implementation to call `DNAGenerator._feedback`. Subclasses that
have states and can be recovered from replaying the history should override
this method. See class `Sweeping` as an example.
Args:
trial_id: A zero-based integer as the trial ID for the DNA.
dna: A historically proposed DNA.
reward: The reward for the DNA. If None, the reward is not yet fed back
to the optimizer.
| def _replay(
self,
trial_id: int,
dna: DNA,
reward: Union[None, float, Tuple[float]]):
"""Replay a single DNA from the history for state recovery.
The default implementation to call `DNAGenerator._feedback`. Subclasses that
have states and can be recovered from replaying the history should override
this method. See class `Sweeping` as an example.
Args:
trial_id: A zero-based integer as the trial ID for the DNA.
dna: A historically proposed DNA.
reward: The reward for the DNA. If None, the reward is not yet fed back
to the optimizer.
"""
del trial_id
if reward is not None:
self._feedback(dna, reward)
| (self, trial_id: int, dna: pyglove.core.geno.base.DNA, reward: Union[NoneType, float, Tuple[float]]) | [
-0.0385606475174427,
0.031454574316740036,
-0.06354709714651108,
-0.0005781439249403775,
-0.013981779105961323,
-0.04486928507685661,
-0.012865363620221615,
0.08491848409175873,
0.03919859975576401,
-0.015727287158370018,
-0.047846391797065735,
0.08350081741809845,
0.008568048477172852,
0.12978777289390564,
-0.014610870741307735,
-0.014983009546995163,
0.023958638310432434,
0.07386065274477005,
-0.06383062899112701,
-0.027343327179551125,
0.010499625466763973,
0.03675311803817749,
0.011350227519869804,
0.04855522885918617,
-0.06319268047809601,
0.04561356082558632,
0.033421590924263,
-0.0213713888078928,
-0.025075053796172142,
0.08817913383245468,
0.05660051107406616,
-0.07747571170330048,
-0.02372826635837555,
0.06670141965150833,
-0.04880332201719284,
-0.018358837813138962,
-0.10866447538137436,
-0.010632531717419624,
-0.11561106145381927,
-0.016019681468605995,
-0.04710211604833603,
0.005458033178001642,
0.06273193657398224,
-0.010313555598258972,
-0.0713442862033844,
-0.019386649131774902,
0.0004898163606412709,
-0.011421111412346363,
-0.03044448234140873,
-0.035760749131441116,
0.029841972514986992,
0.021743526682257652,
-0.028264813125133514,
0.022647293284535408,
0.02316119894385338,
0.020680274814367294,
-0.011633762158453465,
-0.0023568777833133936,
0.031649503856897354,
-0.06446858495473862,
0.022523246705532074,
-0.039694786071777344,
0.00045049816253595054,
0.048767879605293274,
0.0961889699101448,
-0.03290768712759018,
-0.02768002450466156,
-0.01993599720299244,
-0.0010948184644803405,
-0.030533086508512497,
-0.020680274814367294,
0.014681754633784294,
0.034467123448848724,
-0.0572030209004879,
-0.0017842717934399843,
0.010286974720656872,
-0.0262446328997612,
-0.048661552369594574,
0.02597881853580475,
0.008789559826254845,
0.02830025553703308,
-0.006618751212954521,
-0.020290415734052658,
-0.01876641809940338,
-0.05245382338762283,
-0.022540967911481857,
0.037036653608083725,
-0.0527019165456295,
-0.08279198408126831,
-0.032783638685941696,
0.04079348221421242,
-0.02768002450466156,
-0.04614518955349922,
-0.03372284770011902,
-0.01017178874462843,
-0.02505733259022236,
-0.0005188896902836859,
-0.005263103172183037,
0.0014808016130700707,
0.01366280298680067,
-0.03214568644762039,
0.021601760759949684,
-0.024029521271586418,
0.025659844279289246,
-0.018518326804041862,
-0.02332068607211113,
-0.005094754975289106,
0.016170307993888855,
0.013777988962829113,
0.012767898850142956,
-0.09377893060445786,
0.005205510184168816,
-0.043451614677906036,
0.0015262113884091377,
-0.012874224223196507,
-0.002930591581389308,
0.0027843941934406757,
0.0008051928016357124,
-0.004700465127825737,
0.01814618706703186,
0.02798127941787243,
0.01707407459616661,
-0.047279324382543564,
0.04366426542401314,
-0.029044533148407936,
-0.012413481250405312,
0.02670537494122982,
0.034112706780433655,
0.026829421520233154,
-0.040474504232406616,
-0.020077764987945557,
0.014681754633784294,
-0.04834257811307907,
0.06524830311536789,
0.04550723731517792,
0.09016387164592743,
0.06634699553251266,
0.0382416732609272,
-0.012679293751716614,
0.00399827491492033,
0.05068173632025719,
-0.04596797749400139,
0.06443314254283905,
-0.008395269513130188,
0.05078805983066559,
-0.04625151306390762,
-0.05915232002735138,
0.026634491980075836,
0.032570987939834595,
0.0007525839027948678,
0.016001960262656212,
-0.009081954136490822,
0.026368679478764534,
0.031348247081041336,
0.0005249812384136021,
0.021725807338953018,
-0.010357857681810856,
0.002232831669971347,
0.04625151306390762,
-0.004157762974500656,
0.027857232838869095,
-0.01768544502556324,
-0.005471323616802692,
-0.003617275971919298,
0.026262354105710983,
0.013964058831334114,
-0.05844348296523094,
0.04043906182050705,
-0.005781439132988453,
0.008975628763437271,
0.018642371520400047,
-0.029239462688565254,
-0.005799159873276949,
-0.018624652177095413,
-0.06099529191851616,
0.03643414378166199,
-0.04167952388525009,
0.0069510177709162235,
-0.0026869294233620167,
-0.024082684889435768,
0.040935248136520386,
-0.04111245647072792,
-0.07013926655054092,
-0.020981529727578163,
0.014983009546995163,
-0.008900315500795841,
-0.0037457523867487907,
0.02727244421839714,
0.03717841953039169,
0.0666305348277092,
0.022824501618742943,
-0.021282784640789032,
-0.01401722151786089,
-0.03510507568717003,
-0.024082684889435768,
-0.04019096866250038,
0.002208465477451682,
-0.04412500560283661,
0.05121336132287979,
0.010127486661076546,
0.01463745255023241,
-0.032269734889268875,
0.017623420804739,
-0.011208460666239262,
-0.06049910560250282,
0.009241442196071148,
-0.046464163810014725,
-0.0142210116609931,
-0.03537089005112648,
-0.0007924558594822884,
0.014123545959591866,
-0.011571738868951797,
0.06319268047809601,
-0.01335268747061491,
0.011359088122844696,
-0.023816870525479317,
0.021743526682257652,
0.02732560597360134,
0.06095984950661659,
-0.0027002200949937105,
0.04217571020126343,
-0.029558438807725906,
-0.10178877413272858,
0.008802850730717182,
0.018695535138249397,
-0.005147917661815882,
0.023090314120054245,
0.028176208958029747,
-0.03358107805252075,
-0.03941125050187111,
-0.02291310578584671,
-0.025128217414021492,
0.014442522078752518,
-0.04958304017782211,
0.08661969006061554,
-0.013290665112435818,
0.008718675933778286,
0.013414710760116577,
-0.02459659054875374,
0.06556727737188339,
-0.014779219403862953,
0.07315181940793991,
0.05950673669576645,
0.02946983464062214,
0.01727786473929882,
0.008572478778660297,
0.024880124256014824,
0.021141016855835915,
-0.023799151182174683,
0.015417170710861683,
0.0520639643073082,
-0.01274131704121828,
-0.049122296273708344,
0.01614372804760933,
-0.010242672637104988,
0.06659509241580963,
0.014132406562566757,
-0.03753283619880676,
0.006113705690950155,
0.006326356437057257,
0.03763916343450546,
0.006601030007004738,
-0.06478755921125412,
-0.06088896468281746,
-0.0335279181599617,
0.048661552369594574,
-0.015496915206313133,
-0.01394633762538433,
0.04586165398359299,
-0.025766169652342796,
0.08215402811765671,
0.0754200890660286,
-0.04330984503030777,
0.02511049620807171,
-0.0284420233219862,
-0.02987741492688656,
0.05791185796260834,
0.027928117662668228,
-0.015310846269130707,
0.0002511381753720343,
-0.021052412688732147,
-0.010216090828180313,
0.021282784640789032,
-0.01604626327753067,
-0.023444732651114464,
0.014132406562566757,
-0.006632041651755571,
0.1146186962723732,
0.034112706780433655,
0.022930826991796494,
0.047385651618242264,
0.05295000970363617,
0.06485844403505325,
-0.00677823880687356,
0.061810452491045,
-0.010517345741391182,
-0.06588625907897949,
0.040368180721998215,
-0.0016502575017511845,
0.07825543731451035,
0.0264572836458683,
-0.04621607065200806,
0.012147667817771435,
0.007664283271878958,
-0.11213777214288712,
-0.010446462780237198,
0.012050203047692776,
0.06053454801440239,
-0.007611120585352182,
-0.02291310578584671,
0.042671892791986465,
0.019670184701681137,
-0.05213484913110733,
0.010942647233605385,
0.039588458836078644,
-0.06503565609455109,
-0.0032429222483187914,
-0.01839428022503853,
0.012262853793799877,
0.011775529012084007,
-0.031862154603004456,
0.02686486393213272,
0.0528082400560379,
0.05940040946006775,
0.002288209507241845,
-0.0568840466439724,
0.0019282539142295718,
-0.006499134935438633,
-0.021459992974996567,
0.005595369730144739,
-0.03732018545269966,
-0.02665221318602562,
-0.032003920525312424,
-0.0023701684549450874,
0.02085748314857483,
0.02957616001367569,
-0.014991870149970055,
0.01573614776134491,
0.016675354912877083,
0.022895384579896927,
0.0008035314385779202,
-0.0017798414919525385,
0.010251532308757305,
0.0071680983528494835,
0.08279198408126831,
0.032163407653570175,
-0.010428741574287415,
-0.0007226798916235566,
0.04894508793950081,
0.00671621598303318,
-0.0336342416703701,
-0.045649003237485886,
0.03228745609521866,
0.026209190487861633,
-0.01963474228978157,
-0.026475004851818085,
0.011908435262739658,
0.0020002450328320265,
-0.030728016048669815,
-0.05567902326583862,
-0.06939499080181122,
0.02280678041279316,
-0.01563868299126625,
0.019244883209466934,
-0.01788923516869545,
-0.030834341421723366,
-0.07747571170330048,
-0.03340386971831322,
-0.015647541731595993,
0.04791727662086487,
-0.03696576878428459,
-0.001646934892050922,
-0.03919859975576401,
0.02932806685566902,
0.013574198819696903,
-0.042565569281578064,
0.0522766150534153,
0.010650252923369408,
0.02957616001367569,
0.04097069054841995,
0.0006069403607398272,
-0.007518086116760969,
0.0019670184701681137,
0.019652463495731354,
-0.0433807298541069,
0.004392564762383699,
0.017880374565720558,
0.06053454801440239,
-0.03157861903309822,
-0.0766959935426712,
0.023232081905007362,
-0.029558438807725906,
0.03196847811341286,
-0.021105576306581497,
-0.007261133287101984,
-0.02255868911743164,
-0.007451632525771856,
0.008895885199308395,
-0.05684860423207283,
-0.02285994403064251,
0.012014760635793209,
0.03948213532567024,
-0.05330442637205124,
0.02034357748925686,
0.01453112717717886,
0.05146145448088646,
0.026173749938607216,
0.018022140488028526,
-0.03848976641893387,
-0.07974398881196976,
0.0053428472019732,
-0.0005471323383972049,
-0.00784149207174778,
0.03390005603432655,
0.016790539026260376,
0.014610870741307735,
-0.0482008121907711,
0.030993830412626266,
-0.04511737823486328,
0.046464163810014725,
0.025252262130379677,
0.009427511133253574,
-0.019085394218564034,
0.05224117264151573,
0.011846412904560566,
0.010543927550315857,
-0.004957417957484722,
0.031046992167830467,
-0.012076783925294876,
-0.028264813125133514,
-0.0022317240945994854,
-0.04855522885918617,
0.04515281692147255,
-0.004040362313389778,
0.055856235325336456,
-0.0012504300102591515,
-0.03707209601998329,
-0.00020558996766339988,
-0.01906767301261425,
0.04905141517519951,
0.011128716170787811,
-0.04774006828665733,
0.06386607140302658,
-0.028530627489089966,
0.026935746893286705,
0.008895885199308395,
0.044514864683151245,
0.0017920245882123709,
0.001949297497048974,
0.01476149819791317,
0.04192761704325676,
-0.0038565078284591436,
0.0045897094532847404,
0.05833715945482254,
-0.014788080006837845,
-0.02459659054875374,
-0.08158696442842484,
0.05252470821142197,
0.010845182463526726,
-0.03948213532567024,
-0.011864133179187775,
0.03675311803817749,
-0.029753368347883224,
-0.003909670747816563,
-0.004691604524850845,
0.10526206344366074,
-0.033705126494169235,
-0.005422591231763363,
-0.07038736343383789,
-0.051284246146678925,
-0.006663053296506405,
-0.013290665112435818,
0.018837302923202515,
-0.047846391797065735,
0.05245382338762283,
0.019457533955574036,
-0.02312575653195381,
-0.04511737823486328,
0.0018518326105549932,
0.017774049192667007,
0.045790769159793854,
-0.04447942599654198,
-0.00027550439699552953,
0.004851092584431171,
-0.010632531717419624,
-0.0010322416201233864,
-0.009427511133253574,
0.03491014614701271,
0.0027179408352822065,
0.013689384795725346,
-0.01928032375872135,
0.021849852055311203,
-0.015098195523023605,
-0.0106591135263443,
-0.025659844279289246,
0.01947525329887867,
0.03632781654596329,
-0.012333736754953861,
0.03076345846056938,
-0.043238963931798935,
0.03469749540090561,
-0.011837552301585674,
-0.021495435386896133,
0.04199850186705589,
-0.01030469499528408,
0.0039318217895925045,
-0.05777008831501007,
0.04008464515209198,
-0.040935248136520386,
0.017623420804739,
-0.00554663734510541,
0.018323397263884544,
0.02193845808506012,
-0.04596797749400139,
-0.021034691482782364,
-0.031543176621198654,
-0.024206731468439102,
-0.03290768712759018,
-0.0569903701543808,
-0.003978339023888111,
0.024561148136854172,
0.03717841953039169,
0.020166369155049324,
-0.00945409294217825,
-0.0035796191077679396,
-0.0333152674138546,
0.010499625466763973,
0.06049910560250282,
0.04550723731517792,
-0.01386659312993288,
-0.011385669931769371,
0.0428491048514843,
0.0426364541053772,
0.0030391321051865816,
0.004104600287973881,
0.01660447008907795,
0.009781929664313793,
-0.06733936816453934,
-0.0006473661051131785,
-0.01707407459616661,
0.004975138697773218,
-0.03464433178305626,
-0.05454488843679428,
-0.04136054962873459,
-0.04309719428420067,
0.008178189396858215,
-0.011421111412346363,
0.03483926132321358,
-0.035902515053749084,
0.016852563247084618,
-0.04033273831009865,
-0.07003293931484222,
0.010694555006921291,
0.0037811941001564264,
-0.023037152364850044,
0.06904057413339615,
0.03039132058620453,
0.0001668255281401798,
0.07449860870838165,
0.019085394218564034,
0.0027334466576576233,
-0.0520639643073082,
0.037249304354190826,
-0.03852520510554314,
0.07003293931484222,
-0.0016591179883107543,
0.0480944849550724,
-0.0036239211913198233,
0.00672950642183423,
-0.0074915047734975815,
0.004199849907308817,
-0.008235782384872437,
-0.014300755225121975,
0.05316266044974327,
-0.09718134254217148,
0.0045077502727508545,
-0.011545157060027122,
-0.05911687761545181,
0.049441274255514145,
0.018589209765195847,
0.035955678671598434,
0.0167107954621315,
0.05401326343417168,
-0.020485345274209976,
-0.043451614677906036,
0.0020523001439869404,
-0.008497164584696293,
0.028583789244294167,
-0.03799358010292053,
-0.026528166607022285,
-0.008754117414355278,
0.03717841953039169,
-0.001285871840082109,
-0.04079348221421242,
0.030674854293465614,
0.0025628830771893263,
0.02367510460317135,
-0.0020966024603694677,
-0.00915283802896738,
0.001599309965968132,
-0.014008360914885998,
0.007181389257311821,
0.037816371768713,
-0.009746487252414227,
0.0312773659825325,
-0.03122420236468315,
-0.03533544763922691,
0.059683945029973984,
0.005099185276776552,
-0.031241921707987785,
-0.04639327898621559,
0.02705979347229004,
0.010030021890997887,
-0.041077014058828354,
-0.022009341046214104,
-0.07556185871362686,
-0.023515615612268448,
0.04642872139811516,
-0.021956177428364754,
0.04178585112094879,
0.004354907665401697,
-0.04377058893442154,
-0.0521702878177166,
0.03643414378166199,
0.0053871492855250835,
-0.04685402289032936,
0.018536048009991646,
-0.04065171256661415,
0.004097954835742712,
-0.06340533494949341,
-0.025394029915332794,
0.035441771149635315,
-0.04111245647072792,
-0.02209794521331787,
0.012643852271139622,
-0.007004180457442999,
0.010880623944103718,
0.027201561257243156,
-0.021087855100631714,
0.006193449720740318,
-0.04178585112094879,
0.049441274255514145,
-0.01294510718435049,
-0.010393300093710423,
-0.0037811941001564264,
-0.019811950623989105,
-0.041750408709049225,
-0.013343827798962593,
0.02700663171708584,
0.01386659312993288,
-0.019457533955574036,
0.05532460659742355,
-0.042919985949993134,
0.02316119894385338,
0.012697014957666397,
0.02147771418094635,
0.03312033787369728,
0.03150773420929909,
-0.041856732219457626,
0.04022641107439995,
0.03033815696835518,
0.000027100495572085492,
0.0037745488807559013,
-0.03912771865725517,
0.0005277501186355948,
0.04660592973232269,
-0.01229829527437687,
0.033244382590055466,
0.019351208582520485,
-0.02316119894385338,
-0.07903515547513962,
0.005174499005079269,
-0.013202060014009476,
0.03948213532567024,
0.010924926027655602,
-0.04401868209242821,
-0.004321681335568428,
0.001763228210620582,
0.014593149535357952,
-0.02516365796327591,
-0.00692000612616539,
0.006649762392044067,
-0.006087124347686768,
-0.06383062899112701,
0.009321185760200024,
0.023232081905007362,
0.017827210947871208,
-0.030426761135458946,
-0.02916857972741127,
-0.025659844279289246,
-0.0051080454140901566,
0.00041920971125364304,
0.02746737375855446,
-0.03317349776625633,
-0.007451632525771856,
-0.02112329564988613,
-0.031649503856897354,
-0.04614518955349922,
-0.04430221766233444,
-0.04458574950695038,
-0.0433807298541069,
0.025766169652342796,
0.04540091007947922,
0.03491014614701271,
0.022523246705532074,
0.013290665112435818,
-0.028831882402300835,
0.03101155161857605,
-0.004456802736967802,
-0.04763374105095863,
0.0339532196521759,
-0.021459992974996567,
-0.0009026576299220324,
0.10859359055757523,
-0.036221493035554886,
-0.04522370174527168,
0.07641246169805527,
-0.031862154603004456,
-0.021601760759949684,
0.021619481965899467,
-0.04391235485672951,
-0.01926260255277157,
0.004740336909890175,
0.010517345741391182,
-0.0011213998077437282,
-0.007021901197731495,
-0.05068173632025719,
-0.009268024004995823,
0.017747467383742332,
-0.03280135989189148,
-0.005940927192568779,
-0.02332068607211113,
0.02819393016397953,
-0.04561356082558632,
-0.0007597830262966454,
-0.031188759952783585,
0.006835831794887781,
-0.03393549844622612,
0.06588625907897949,
0.037249304354190826,
-0.023356128484010696,
0.006862413138151169,
0.06560271978378296,
-0.014415941201150417,
-0.04472751542925835,
0.06074719876050949,
-0.022381478920578957,
-0.0474565327167511,
0.02681170031428337,
-0.0213713888078928,
0.11717049777507782,
-0.018890464678406715,
0.04125422239303589,
0.024082684889435768,
0.05397782102227211,
0.0016037402674555779,
-0.02496872842311859,
0.007863643579185009,
0.018996790051460266,
0.02261185087263584,
-0.0014021651586517692,
-0.018119607120752335,
0.041750408709049225,
-0.020946087315678596,
-0.015851333737373352,
-0.014991870149970055,
0.011846412904560566,
0.004567558411508799
]
|
40,476 | pyglove.core.geno.dna_generator | _setup | Subclass should override this for adding additional setup logics. | def _setup(self) -> None:
"""Subclass should override this for adding additional setup logics."""
| (self) -> NoneType | [
-0.01865694299340248,
-0.0037040773313492537,
0.004894673824310303,
0.03127129003405571,
0.01573806069791317,
0.005807891022413969,
-0.00996004231274128,
0.07421810179948807,
0.009447957389056683,
0.00445086695253849,
0.011325600557029247,
0.01814485900104046,
0.06622958928346634,
0.05339333787560463,
-0.023129146546125412,
0.020022500306367874,
0.05110602453351021,
0.05721690133213997,
0.0012044652830809355,
-0.03919152915477753,
-0.032858751714229584,
0.0014434379991143942,
0.018093649297952652,
0.02382899448275566,
-0.00984909012913704,
0.08548396080732346,
-0.0403863899409771,
-0.021797727793455124,
0.0581386536359787,
-0.04195678234100342,
-0.09476976096630096,
0.005180587526410818,
0.00006504405610030517,
0.07414982467889786,
0.0475214347243309,
-0.03567521646618843,
0.026474764570593834,
0.06298638135194778,
-0.06605888903141022,
0.05298366770148277,
-0.007745277136564255,
0.00588470371440053,
0.08746401965618134,
-0.01706094667315483,
0.03261977806687355,
0.00996004231274128,
0.010898863896727562,
0.017752259969711304,
-0.04127400368452072,
0.02056872472167015,
0.00457035331055522,
0.01304961834102869,
0.03820149973034859,
0.05161811038851738,
-0.017342591658234596,
0.046258293092250824,
0.06636614352464676,
0.042366452515125275,
-0.005048298742622137,
0.0446537621319294,
-0.009874694980680943,
0.05786554142832756,
-0.0022681073751300573,
-0.02983745187520981,
-0.022173255681991577,
-0.04004500061273575,
-0.030946968123316765,
0.003578189993277192,
0.03113473393023014,
0.05028669163584709,
0.0014637080021202564,
-0.006008457392454147,
-0.012699693441390991,
0.013288591057062149,
0.08302595466375351,
0.012435116805136204,
-0.05240330472588539,
-0.03738216310739517,
0.04523412510752678,
-0.030673857778310776,
0.023914342746138573,
0.05008185654878616,
-0.050662219524383545,
0.036699384450912476,
0.05571478605270386,
-0.0022446366492658854,
-0.009678395465016365,
0.008496333844959736,
0.06035768613219261,
0.012913062237203121,
-0.05967490375041962,
0.05025255307555199,
0.028403615579009056,
0.06127943471074104,
0.018417969346046448,
0.008402451872825623,
-0.04291267320513725,
-0.04291267320513725,
-0.04943321645259857,
0.009285797365009785,
-0.029956938698887825,
-0.001775225973688066,
0.0226853396743536,
-0.022856034338474274,
-0.003804360516369343,
-0.02985452115535736,
-0.025331109762191772,
-0.00783489178866148,
-0.027259960770606995,
-0.00639678817242384,
-0.04100089147686958,
-0.027976879850029945,
-0.02403382956981659,
0.013245916925370693,
-0.023982619866728783,
-0.08213834464550018,
0.012904527597129345,
-0.025621291249990463,
0.03693835809826851,
-0.00194485392421484,
-0.02382899448275566,
0.029513131827116013,
-0.03099817782640457,
0.004493540618568659,
0.05038910731673241,
-0.03210769221186638,
0.022087907418608665,
0.049603912979364395,
0.015405206009745598,
-0.0673561692237854,
0.021746518090367317,
0.006657097488641739,
-0.07135043293237686,
-0.05301780626177788,
-0.0011724599171429873,
0.006456531118601561,
0.06919967383146286,
0.0038833068683743477,
-0.0014434379991143942,
0.0283524077385664,
-0.025143345817923546,
0.02949606254696846,
0.014227412641048431,
-0.017163362354040146,
-0.024289870634675026,
0.038816001266241074,
-0.02983745187520981,
-0.02785739302635193,
-0.01683904230594635,
0.016361096873879433,
0.04700934886932373,
-0.043219923973083496,
-0.036870077252388,
-0.011171975173056126,
-0.047896962612867355,
0.02439228817820549,
-0.004132947884500027,
-0.010199015028774738,
0.05001357942819595,
0.020261473953723907,
0.001148989424109459,
-0.038611166179180145,
0.015302789397537708,
-0.017316987738013268,
-0.01800830289721489,
0.02367536909878254,
-0.030946968123316765,
-0.08268456161022186,
0.021388059481978416,
0.016958529129624367,
-0.0009585580555722117,
-0.026850292459130287,
-0.04304923117160797,
-0.026764946058392525,
0.08596190810203552,
-0.0017496218206360936,
0.027328239753842354,
0.013280056416988373,
-0.019169026985764503,
0.040522947907447815,
0.06612716615200043,
-0.03642627224326134,
-0.044073399156332016,
0.03738216310739517,
0.059026263654232025,
0.04673624038696289,
0.01393723115324974,
0.03659696877002716,
0.015883151441812515,
0.03745044022798538,
0.04912596568465233,
0.002494277898222208,
-0.015831943601369858,
0.005048298742622137,
0.028659658506512642,
-0.0008198685245588422,
0.03922566771507263,
-0.028881561011075974,
-0.0026009620632976294,
0.014978469349443913,
-0.007459362968802452,
0.03925980627536774,
0.0166598130017519,
0.0010791112435981631,
0.04475617781281471,
0.016557397320866585,
0.012563138268887997,
-0.011701129376888275,
-0.05260813981294632,
-0.009379679337143898,
0.021183226257562637,
-0.06964348256587982,
0.013553167693316936,
0.011197579093277454,
0.013826279900968075,
-0.09224347770214081,
0.01137680932879448,
-0.006661364808678627,
-0.006524809170514345,
0.037962526082992554,
0.08138728141784668,
0.019681110978126526,
-0.006209023762494326,
-0.025348179042339325,
0.012844784185290337,
0.003552585607394576,
0.009704000316560268,
-0.059948015958070755,
-0.030161771923303604,
-0.04956977069377899,
-0.027533072978258133,
-0.008816386573016644,
0.005014160182327032,
0.032158903777599335,
0.020159056410193443,
-0.019032470881938934,
0.036255575716495514,
0.006759514566510916,
-0.054622337222099304,
-0.03724560886621475,
-0.004967218730598688,
0.03415603190660477,
0.02821585163474083,
-0.02289017289876938,
-0.04905768856406212,
0.006516274530440569,
-0.03567521646618843,
0.037040773779153824,
0.011410947889089584,
0.022070838138461113,
-0.010762307792901993,
-0.03533382713794708,
-0.03495829552412033,
0.03311479464173317,
-0.03693835809826851,
-0.052574001252651215,
0.03388291969895363,
0.010403848253190517,
0.01893005333840847,
-0.020875975489616394,
-0.02510920725762844,
-0.005974318366497755,
0.01724017597734928,
0.09961748868227005,
-0.0019800597801804543,
0.001783760730177164,
0.01730845309793949,
0.0005499573308043182,
-0.0708724856376648,
0.0006145013030618429,
0.10863017290830612,
0.04861387982964516,
-0.008402451872825623,
0.045131705701351166,
-0.04997944086790085,
-0.027976879850029945,
-0.0446537621319294,
-0.02702098898589611,
-0.05233502760529518,
0.03468518331646919,
0.08746401965618134,
-0.023846065625548363,
0.01773519068956375,
0.08179695159196854,
-0.026679597795009613,
-0.05038910731673241,
-0.02417038567364216,
0.02970089577138424,
-0.05875315144658089,
-0.04578034579753876,
-0.055270977318286896,
0.04100089147686958,
-0.007591651752591133,
0.006490670144557953,
0.0567048154771328,
-0.02190014347434044,
-0.06694650650024414,
0.05219847336411476,
0.015166233293712139,
-0.03275633230805397,
-0.02466540038585663,
-0.008603018708527088,
-0.04304923117160797,
0.05984560027718544,
0.00626023206859827,
0.0315614715218544,
0.022036699578166008,
0.016489118337631226,
-0.017214572057127953,
-0.017282849177718163,
0.007886100560426712,
0.051242582499980927,
-0.008530473336577415,
0.05015013366937637,
0.010753773152828217,
-0.00765992933884263,
-0.006145013030618429,
-0.008654226548969746,
-0.007719672750681639,
0.0666051134467125,
-0.06414710730314255,
-0.000006313540779956384,
0.007787950802594423,
-0.03340497240424156,
0.08350390195846558,
0.0034885751083493233,
0.005987120326608419,
-0.008765178732573986,
-0.0354703813791275,
0.03721146658062935,
-0.07961206138134003,
0.04588276520371437,
0.023163285106420517,
0.007344143930822611,
-0.038747720420360565,
-0.03441207483410835,
-0.0036848741583526134,
-0.04550723731517792,
0.037109050899744034,
-0.040659502148628235,
0.007847693748772144,
0.022104978561401367,
-0.04649726673960686,
-0.0028975442983210087,
0.0053171431645751,
-0.028591379523277283,
-0.01962990313768387,
-0.037177328020334244,
0.03765527531504631,
-0.03628971800208092,
0.02155875414609909,
-0.010233153589069843,
-0.014654149301350117,
0.04502929002046585,
0.04007914289832115,
-0.035060714930295944,
-0.08022656291723251,
-0.01773519068956375,
0.024289870634675026,
-0.008112270385026932,
0.003275206545367837,
-0.004583155736327171,
0.0036165963392704725,
0.02560422196984291,
-0.024853164330124855,
-0.0389866940677166,
-0.022036699578166008,
0.019766459241509438,
0.00862008798867464,
-0.02794273942708969,
-0.007049695588648319,
-0.05834348499774933,
-0.03140784427523613,
-0.00859021581709385,
0.009652791544795036,
-0.030315397307276726,
-0.012298560701310635,
0.012452186085283756,
-0.055270977318286896,
0.027567211538553238,
0.05028669163584709,
0.060801491141319275,
-0.06544438749551773,
-0.02367536909878254,
-0.02149047702550888,
-0.07387671619653702,
0.017530357465147972,
0.05284711346030235,
0.018059510737657547,
-0.01102688442915678,
0.013134965673089027,
0.013339798897504807,
-0.007642860058695078,
-0.035709355026483536,
-0.006729642860591412,
-0.05021841451525688,
-0.015285720117390156,
0.0005568917840719223,
-0.004886138718575239,
0.003676339518278837,
0.046838656067848206,
-0.046053458005189896,
0.027311168611049652,
0.009422353468835354,
0.08200178295373917,
0.02695271000266075,
0.02807929553091526,
0.0002267040399601683,
0.0230437982827425,
0.02135392092168331,
-0.032790470868349075,
0.0031685223802924156,
-0.06472747027873993,
-0.058889709413051605,
-0.026696668937802315,
-0.032005276530981064,
0.004937347490340471,
0.004416728392243385,
0.02560422196984291,
0.007608721032738686,
0.026628389954566956,
0.013920161873102188,
0.0029892928432673216,
0.04386856406927109,
0.03949877992272377,
0.03833805397152901,
-0.020090779289603233,
0.05001357942819595,
0.03326841816306114,
-0.01683904230594635,
-0.054212670773267746,
0.0744912177324295,
-0.047896962612867355,
0.008214687928557396,
0.03345618396997452,
0.007915971800684929,
0.0006315708160400391,
-0.028249990195035934,
-0.02297552116215229,
0.0383039154112339,
-0.011666989885270596,
-0.013868953101336956,
0.018691081553697586,
-0.02191721275448799,
0.04055708646774292,
0.009413818828761578,
-0.022002561017870903,
0.055202700197696686,
0.0075788493268191814,
-0.01293866615742445,
-0.058957986533641815,
0.05649998039007187,
0.004984288476407528,
-0.0524715855717659,
-0.03553865849971771,
-0.05684136971831322,
-0.024289870634675026,
0.0028292664792388678,
-0.03395119681954384,
-0.03820149973034859,
0.003390425583347678,
-0.010258758440613747,
-0.04345889762043953,
-0.03372929245233536,
0.030230050906538963,
0.024426426738500595,
-0.001155390520580113,
-0.013245916925370693,
-0.06401055306196213,
0.027567211538553238,
0.029103465378284454,
-0.008163479156792164,
0.013792140409350395,
-0.015191838145256042,
0.006806455552577972,
-0.014474919997155666,
-0.028762076050043106,
0.0005230195820331573,
-0.012904527597129345,
-0.018383830785751343,
0.021661171689629555,
0.013391007669270039,
0.05288125202059746,
0.014065252617001534,
-0.029905730858445168,
-0.04523412510752678,
0.038679443299770355,
-0.04233231395483017,
0.028659658506512642,
-0.013288591057062149,
0.00457035331055522,
-0.0011703262571245432,
-0.0020643402822315693,
0.004105210304260254,
0.03837219253182411,
0.004164953250437975,
0.02807929553091526,
0.017632773146033287,
0.027106335386633873,
-0.01163285132497549,
0.009345540776848793,
-0.02149047702550888,
0.013373938389122486,
-0.013280056416988373,
0.01992008462548256,
-0.025723706930875778,
-0.04014742001891136,
-0.006789385806769133,
-0.011684060096740723,
-0.0037723553832620382,
0.03483881056308746,
0.011359739117324352,
-0.01482484396547079,
-0.044414788484573364,
0.10651355981826782,
0.0035824573133140802,
-0.06008457392454147,
0.04765798896551132,
0.016420841217041016,
0.026543043553829193,
0.01886177621781826,
0.00008588082710048184,
0.04956977069377899,
-0.04482445493340492,
0.007681266404688358,
0.01899833232164383,
-0.007327074650675058,
0.028813283890485764,
0.025484735146164894,
0.059948015958070755,
-0.010813516564667225,
-0.048750437796115875,
-0.048750437796115875,
0.014679753221571445,
0.026218723505735397,
0.07114559412002563,
-0.07203321158885956,
0.0074422936886549,
0.016736626625061035,
-0.006209023762494326,
0.036119021475315094,
-0.0054921056143939495,
0.01301547884941101,
-0.007233192678540945,
-0.010625751689076424,
-0.03833805397152901,
-0.029956938698887825,
0.006541878450661898,
0.0012663421221077442,
-0.02283896505832672,
-0.010489195585250854,
-0.041376423090696335,
0.0036251309793442488,
0.03415603190660477,
0.03779182955622673,
-0.10760600864887238,
0.02183186635375023,
0.013519029133021832,
0.035845909267663956,
0.047896962612867355,
-0.030861621722579002,
0.022651201114058495,
-0.07121387124061584,
-0.011974240653216839,
0.009413818828761578,
-0.00048648021765984595,
-0.04154711589217186,
0.014978469349443913,
-0.06923381239175797,
-0.03765527531504631,
-0.00982348620891571,
0.007915971800684929,
-0.021866004914045334,
0.06360088288784027,
-0.06851689517498016,
0.016429375857114792,
-0.009985646232962608,
0.03309772163629532,
0.0004350050585344434,
-0.05708034336566925,
-0.011043953709304333,
0.011274391785264015,
0.0315614715218544,
-0.02376071736216545,
-0.04031811282038689,
-0.07612988352775574,
0.024853164330124855,
0.01679636910557747,
0.009268728084862232,
-0.05950421094894409,
-0.055202700197696686,
-0.030861621722579002,
0.02142219804227352,
-0.06742444634437561,
-0.004433797672390938,
-0.03477053344249725,
-0.017905885353684425,
-0.0681072250008583,
0.06940451264381409,
-0.028198782354593277,
-0.01212786603718996,
0.06585405766963959,
0.012119331397116184,
-0.00817201379686594,
0.046258293092250824,
-0.02142219804227352,
-0.022104978561401367,
0.015908755362033844,
-0.027703767642378807,
0.01733405701816082,
-0.033797573298215866,
-0.015080885961651802,
0.018605733290314674,
-0.04083019867539406,
-0.013655584305524826,
-0.04134228080511093,
-0.026679597795009613,
0.007288668304681778,
0.05288125202059746,
-0.005752414930611849,
-0.006401055492460728,
-0.008952942676842213,
-0.004826395772397518,
0.0059060403145849705,
-0.019117819145321846,
0.007898902520537376,
0.04076192155480385,
-0.07606160640716553,
-0.025211622938513756,
-0.034138962626457214,
0.05120844393968582,
-0.01794002391397953,
0.05585134029388428,
-0.07981689274311066,
0.03557279706001282,
-0.013305660337209702,
-0.02567249909043312,
-0.0010327035561203957,
0.025723706930875778,
0.0034565699752420187,
0.07858788967132568,
-0.02616751380264759,
0.03489001840353012,
0.0019171161111444235,
-0.03871358186006546,
0.007292935624718666,
-0.04595104232430458,
-0.031868722289800644,
0.030946968123316765,
-0.005871901288628578,
-0.00421616155654192,
0.03468518331646919,
-0.024853164330124855,
0.031868722289800644,
-0.02794273942708969,
0.0004608759772963822,
-0.06428366154432297,
0.021080808714032173,
0.004578888416290283,
-0.045985180884599686,
-0.018759358674287796,
0.05294952914118767,
0.022446367889642715,
0.034207239747047424,
0.07694921642541885,
-0.00015775933570694178,
0.013075222261250019,
-0.04287853464484215,
-0.04851146414875984,
0.02423866279423237,
0.03057144023478031,
0.019885946065187454,
0.012725298292934895,
-0.021661171689629555,
0.003840633202344179,
-0.01372386235743761,
-0.02814757451415062,
-0.034275516867637634,
0.016489118337631226,
0.011018349789083004,
-0.04134228080511093,
0.0030874423682689667,
-0.057114481925964355,
-0.00866702850908041,
0.02183186635375023,
0.02999107725918293,
-0.05786554142832756,
-0.003755285870283842,
-0.003951584920287132,
-0.032295458018779755,
-0.016787834465503693,
0.011709664016962051,
-0.01836676150560379,
0.03949877992272377,
-0.046053458005189896,
-0.04455134645104408,
-0.053700584918260574,
-0.1098591759800911,
0.05516856163740158,
-0.052574001252651215,
0.06691236793994904,
-0.014637080021202564,
-0.02574077621102333,
0.004088140558451414,
-0.016309889033436775,
0.009908833540976048,
-0.04844318702816963,
-0.007664197124540806,
0.0019917951431125402,
-0.015610040165483952,
0.0343950055539608,
-0.008005586452782154,
0.004792256746441126,
-0.10630872845649719,
0.0305031631141901,
-0.0432540662586689,
0.03495829552412033,
0.04666795954108238,
-0.02596268057823181,
0.005381153896450996,
-0.04195678234100342,
0.005116576794534922,
0.01915195770561695,
-0.010728168301284313,
0.06817550957202911,
0.01758156530559063,
-0.06988245248794556,
-0.028488963842391968,
0.03429258614778519,
0.022104978561401367,
-0.012844784185290337,
-0.01737673208117485,
-0.06141599267721176,
0.09722775965929031,
-0.01045505702495575,
-0.016625674441456795,
-0.0028420686721801758,
0.04168367385864258,
0.007531908340752125,
-0.0241021066904068,
-0.010523335076868534,
-0.030178843066096306,
-0.03574349358677864,
0.014952865429222584,
0.058821432292461395,
0.032653916627168655,
0.033917058259248734,
0.02142219804227352,
0.010548938997089863,
0.01670248620212078,
-0.0036101951263844967,
0.006029793992638588,
-0.011385343968868256,
0.0009009485365822911,
-0.007472165394574404,
-0.021934282034635544,
0.026969779282808304,
0.00012215347669553012,
-0.013339798897504807,
-0.03019591234624386,
-0.03483881056308746,
-0.07189664989709854,
0.013800675049424171,
-0.01659153588116169,
0.11634558439254761,
0.07913411408662796,
0.07353532314300537,
0.06541024893522263
]
|
40,486 | pyglove.core.geno.dna_generator | feedback | Feedback a completed trial to the algorithm.
Args:
dna: a DNA object.
reward: reward for the DNA. It is a float if `self.multi_objective`
returns False, otherwise it's a tuple of floats.
| def feedback(self, dna: DNA, reward: Union[float, Tuple[float]]) -> None:
"""Feedback a completed trial to the algorithm.
Args:
dna: a DNA object.
reward: reward for the DNA. It is a float if `self.multi_objective`
returns False, otherwise it's a tuple of floats.
"""
if self.needs_feedback:
if self.multi_objective and isinstance(reward, float):
reward = (reward,)
elif not self.multi_objective and isinstance(reward, tuple):
if len(reward) != 1:
raise ValueError(
f'{self!r} is single objective, but the reward {reward!r} '
f'contains multiple objectives.')
reward = reward[0]
self._feedback(dna, reward)
self._num_feedbacks += 1
| (self, dna: pyglove.core.geno.base.DNA, reward: Union[float, Tuple[float]]) -> NoneType | [
-0.028684230521321297,
0.05412052571773529,
-0.05267307534813881,
-0.014871670864522457,
0.024624308571219444,
-0.04656554013490677,
-0.0027117631398141384,
0.015701306983828545,
-0.0024138884618878365,
-0.005198465194553137,
-0.042223189026117325,
0.016583899036049843,
-0.012991749681532383,
0.055038418620824814,
-0.03600974380970001,
-0.0008119843550957739,
0.02818997949361801,
0.0793626457452774,
-0.021641148254275322,
0.05786271393299103,
0.017192887142300606,
0.03542723134160042,
-0.00783300120383501,
0.02880779281258583,
-0.06199324131011963,
0.013000575825572014,
0.06584133952856064,
-0.020317262038588524,
-0.01059110090136528,
0.06457041203975677,
0.031720347702503204,
-0.04289395734667778,
-0.025418641045689583,
0.05976911261677742,
-0.01210915856063366,
0.012329806573688984,
-0.05249655619263649,
0.02691904827952385,
-0.0277310311794281,
-0.01781952753663063,
-0.06915988773107529,
-0.005502959247678518,
-0.01566600240767002,
-0.00898919627070427,
-0.020246654748916626,
0.0012157701421529055,
-0.007727090734988451,
0.02324746549129486,
-0.0109529634937644,
-0.04801299050450325,
0.05422643572092056,
-0.026265930384397507,
0.015560092404484749,
0.006332595366984606,
0.002203169511631131,
0.04593007266521454,
0.007396118715405464,
-0.023212162777781487,
0.013177094049751759,
-0.07512620836496353,
0.03706885129213333,
-0.014959929510951042,
0.015745436772704124,
-0.004717452917248011,
0.024341879412531853,
-0.04790707677602768,
-0.0194699726998806,
0.0171840600669384,
-0.007025429978966713,
0.020529083907604218,
-0.021958881989121437,
0.019452322274446487,
-0.0016151427989825606,
-0.04642432555556297,
0.014642196707427502,
-0.006932757794857025,
-0.01758122630417347,
-0.07000717520713806,
0.006129599642008543,
0.018993373960256577,
0.01646033488214016,
-0.03721006587147713,
-0.02663661725819111,
-0.03309718891978264,
-0.023017991334199905,
-0.005052837543189526,
-0.01171199232339859,
-0.06923049688339233,
-0.08282240480184555,
0.012215069495141506,
0.008706767112016678,
-0.027042610570788383,
0.007590288762003183,
0.011809077113866806,
0.021764712408185005,
-0.004507837351411581,
-0.00376866664737463,
-0.03452698886394501,
-0.04808359593153,
0.007908022031188011,
-0.024694915860891342,
-0.016839850693941116,
0.02262965217232704,
0.005776562727987766,
0.007960977032780647,
-0.04494157060980797,
-0.022947384044528008,
0.029990466311573982,
0.040705129504203796,
0.006690045353025198,
-0.06068700551986694,
-0.049389831721782684,
-0.0489661879837513,
0.006606198847293854,
-0.026054106652736664,
0.009267212823033333,
0.007374053820967674,
0.0248537827283144,
0.037386585026979446,
0.016530942171812057,
0.066971056163311,
0.006023688707500696,
-0.015577743761241436,
0.015745436772704124,
-0.030802451074123383,
-0.00509255426004529,
0.020599691197276115,
0.06188733130693436,
-0.011076525785028934,
-0.004977817181497812,
-0.04550642892718315,
0.03389152139425278,
-0.03703354671597481,
0.050554852932691574,
0.027342692017555237,
0.06788895279169083,
-0.0248537827283144,
0.004095225594937801,
0.01282405760139227,
0.028013460338115692,
0.02171175554394722,
-0.03929298371076584,
0.0343681201338768,
-0.05606222525238991,
0.06273461878299713,
-0.025259774178266525,
-0.04649493098258972,
0.03735128045082092,
-0.03802205249667168,
-0.0265483595430851,
-0.045718252658843994,
0.040775738656520844,
0.011738469824194908,
-0.03457994386553764,
0.02340633235871792,
0.011191262863576412,
-0.010317496955394745,
-0.012206243351101875,
0.026777833700180054,
-0.03134965896606445,
0.01606316864490509,
-0.04285865277051926,
0.005723607260733843,
0.07590288668870926,
0.02988455630838871,
0.0074976165778934956,
-0.054614774882793427,
0.08028054237365723,
-0.036398082971572876,
-0.004472533706575632,
0.009434905834496021,
-0.05987502261996269,
-0.0017486348515376449,
0.020211350172758102,
-0.050943195819854736,
0.04780116677284241,
-0.01681337133049965,
-0.008759723044931889,
0.03390917554497719,
-0.0908716470003128,
0.07886839658021927,
-0.024094754830002785,
-0.04148181155323982,
-0.04179954528808594,
0.006531178951263428,
-0.0007342059980146587,
-0.01243571750819683,
0.03618625923991203,
0.009876200929284096,
0.04826011508703232,
-0.0023234228137880564,
-0.005961907096207142,
-0.04465914145112038,
-0.009999764151871204,
-0.014730455353856087,
-0.02818997949361801,
0.03636277839541435,
-0.04324699565768242,
0.05676829814910889,
-0.009090694598853588,
-0.001108204247429967,
-0.04998999461531639,
0.012082681059837341,
0.00950551312416792,
-0.0015500517329201102,
0.04547112435102463,
-0.042046669870615005,
0.013812560588121414,
-0.055956315249204636,
-0.06580603867769241,
0.009276038967072964,
0.004042270127683878,
0.020176047459244728,
0.004309254232794046,
0.02153523825109005,
-0.04928392171859741,
0.08635277301073074,
0.003812796203419566,
0.01637207716703415,
0.005247007589787245,
-0.0031332005746662617,
-0.08381091058254242,
0.013309483416378498,
0.043211691081523895,
0.041517116129398346,
0.0014904767740517855,
-0.00794332567602396,
0.044447317719459534,
-0.038445696234703064,
-0.03622156381607056,
-0.037916138768196106,
-0.04183484613895416,
0.03618625923991203,
-0.006526765879243612,
-0.00022244069259613752,
0.02008778788149357,
0.024447791278362274,
0.006067818030714989,
-0.06831260025501251,
0.07547924667596817,
-0.005414700135588646,
0.017466489225625992,
0.007837414741516113,
0.006478223018348217,
0.007065146695822477,
0.01390081923455,
0.07675017416477203,
-0.043282296508550644,
0.006301704794168472,
-0.009170128032565117,
0.01130599994212389,
0.0151187963783741,
-0.04695387929677963,
-0.021605845540761948,
-0.05186108872294426,
0.05662708356976509,
0.002065264619886875,
-0.01812843419611454,
-0.03563905507326126,
0.007285794708877802,
0.010008590295910835,
0.022223658859729767,
-0.0294256079941988,
0.02448309399187565,
-0.058992430567741394,
0.06315826624631882,
0.015224707312881947,
-0.021870622411370277,
0.03735128045082092,
-0.03618625923991203,
0.044023673981428146,
0.0595925934612751,
-0.00397166283801198,
-0.021694105118513107,
-0.05150805413722992,
0.011429563164710999,
0.01973475143313408,
0.031208442524075508,
-0.034332819283008575,
-0.017590053379535675,
0.01744883880019188,
-0.03052002191543579,
-0.0020740905310958624,
0.026142366230487823,
-0.051366839557886124,
0.039716627448797226,
-0.009929156862199306,
0.11692575365304947,
0.020334912464022636,
0.019946573302149773,
0.029143178835511208,
0.04861315339803696,
0.13789613544940948,
0.020670298486948013,
0.08006872236728668,
-0.004351177252829075,
-0.050307728350162506,
0.009293691255152225,
0.03196747228503227,
0.03689233213663101,
0.05214351788163185,
-0.0008776271133683622,
-0.01856973022222519,
-0.02836649864912033,
-0.10824105143547058,
-0.04384715482592583,
0.03256763517856598,
0.004163626581430435,
-0.023176858201622963,
0.008786200545728207,
0.028507713228464127,
-0.003687026910483837,
-0.02377702109515667,
0.056485868990421295,
-0.002171175554394722,
-0.02529507875442505,
0.008336078375577927,
-0.06753592193126678,
-0.0277310311794281,
0.006332595366984606,
-0.036751117557287216,
0.00018672330770641565,
0.06344069540500641,
0.03196747228503227,
-0.022541392594575882,
-0.04917801171541214,
-0.01621321029961109,
0.006809195037931204,
-0.01090000756084919,
0.024994997307658195,
-0.04758934676647186,
-0.06308765709400177,
-0.032267551869153976,
-0.022294266149401665,
-0.008962718769907951,
0.060263361781835556,
-0.00019513550796546042,
-0.012735798954963684,
0.031155487522482872,
-0.00902008730918169,
-0.058639392256736755,
0.04497687518596649,
0.03078479878604412,
0.037810228765010834,
0.028878401964902878,
-0.008177212439477444,
-0.01999952830374241,
0.005127857904881239,
0.0911540761590004,
-0.014889322221279144,
-0.06774774193763733,
-0.021923577412962914,
0.019364062696695328,
0.04247031360864639,
-0.005811866372823715,
-0.018693292513489723,
0.009602597914636135,
-0.021235156804323196,
0.02010544016957283,
-0.03915176913142204,
-0.0780211091041565,
0.003574496367946267,
0.016883980482816696,
0.03999905660748482,
0.0346682034432888,
-0.05179048329591751,
-0.025506900623440742,
-0.027042610570788383,
-0.05581510066986084,
0.024359531700611115,
-0.010970614850521088,
-0.0027823704294860363,
-0.009743812493979931,
0.03140261396765709,
0.0038216221146285534,
-0.051649268716573715,
0.04487096145749092,
0.02746625430881977,
0.030978970229625702,
0.025701070204377174,
0.024730220437049866,
-0.006932757794857025,
0.0029853663872927427,
0.06538239121437073,
-0.0662296861410141,
-0.030219940468668938,
-0.024518398568034172,
0.0364333875477314,
-0.07583227753639221,
0.005299963057041168,
0.06181672587990761,
-0.020882120355963707,
0.0005491375341080129,
-0.02744860202074051,
-0.03304423391819,
-0.0009636798058636487,
0.000010739348908828106,
-0.015533613972365856,
-0.06541769951581955,
-0.0000219786015804857,
0.0002829809673130512,
0.008044823072850704,
-0.06993656605482101,
0.0009074145928025246,
-0.001028219354338944,
0.031279049813747406,
-0.009187779389321804,
0.0348094180226326,
-0.04917801171541214,
0.010158631019294262,
0.008044823072850704,
0.00863615982234478,
0.03267354518175125,
0.07886839658021927,
-0.028737185522913933,
0.05493250861763954,
-0.08423455059528351,
0.01964649185538292,
-0.019770054146647453,
0.0685950294137001,
0.03886933997273445,
-0.015789566561579704,
-0.001494889729656279,
0.050378333777189255,
0.001210253918543458,
-0.07378466427326202,
0.0020740905310958624,
0.011517821811139584,
0.014086163602769375,
-0.05701542645692825,
-0.02487143501639366,
-0.029390303418040276,
0.028684230521321297,
-0.03443872928619385,
0.0008384621469303966,
0.0028309128247201443,
-0.02755451388657093,
0.03281475976109505,
0.03443872928619385,
0.01755474880337715,
0.00603251438587904,
-0.011200089007616043,
0.04352942481637001,
0.0008059165556915104,
-0.017660660669207573,
-0.029990466311573982,
0.04854254424571991,
-0.03795144334435463,
-0.015639524906873703,
0.012735798954963684,
0.04310578107833862,
0.005282311234623194,
0.032708849757909775,
0.0656295195221901,
0.005264659412205219,
-0.000012764827260980383,
-0.02781929075717926,
-0.01911693625152111,
0.025542205199599266,
-0.02511855959892273,
0.014942278154194355,
0.000537001877091825,
0.002742653712630272,
0.008662637323141098,
-0.04783647134900093,
0.0489661879837513,
0.016972238197922707,
0.007859479635953903,
-0.05140214040875435,
-0.023459287360310555,
0.012206243351101875,
0.00910834688693285,
0.019805358722805977,
-0.038975249975919724,
0.04282335191965103,
0.02476552315056324,
-0.009399602189660072,
-0.016804546117782593,
0.03752779960632324,
0.016407379880547523,
0.06820669025182724,
-0.05517963320016861,
0.03094366565346718,
0.017572401091456413,
0.016001388430595398,
-0.0030074312817305326,
-0.034226905554533005,
0.006884215399622917,
-0.03615095838904381,
0.04098755866289139,
-0.016910457983613014,
-0.021747060120105743,
0.035038892179727554,
-0.030643584206700325,
-0.04317638650536537,
0.04116407781839371,
0.053626272827386856,
-0.03177330270409584,
0.02430657669901848,
-0.005798627622425556,
0.031985122710466385,
-0.003823828650638461,
-0.01654859445989132,
-0.004128322936594486,
0.022735562175512314,
0.001255486742593348,
-0.02305329591035843,
0.024977345019578934,
-0.05736846104264259,
0.015189403668045998,
-0.02520681917667389,
0.01467750035226345,
0.041128773242235184,
-0.008009519428014755,
0.024288924410939217,
-0.022576695308089256,
0.000433848996181041,
-0.02054673433303833,
0.034862373024225235,
-0.024341879412531853,
0.00047797858132980764,
0.05140214040875435,
-0.009152475744485855,
0.009134824387729168,
-0.0007325511542148888,
-0.02909022383391857,
0.015295314602553844,
0.04243500903248787,
0.02340633235871792,
0.0016504465602338314,
0.0194699726998806,
0.06820669025182724,
0.05475598946213722,
0.016425032168626785,
-0.02028195746243,
0.012629887089133263,
0.0011694340500980616,
-0.00906421709805727,
-0.02628358080983162,
0.00020244446932338178,
0.0277310311794281,
-0.024359531700611115,
-0.02180001512169838,
-0.044376712292432785,
0.012223895639181137,
0.022576695308089256,
-0.013168268837034702,
-0.019364062696695328,
-0.03992845118045807,
0.029390303418040276,
-0.026354188099503517,
-0.04942513629794121,
-0.028648927807807922,
0.09835602343082428,
-0.007978629320859909,
0.04487096145749092,
0.03551549091935158,
0.023353377357125282,
0.07099568098783493,
0.010644055902957916,
-0.028295891359448433,
-0.051543354988098145,
0.022117748856544495,
-0.02753686159849167,
0.06294643878936768,
-0.01050284132361412,
0.031067227944731712,
0.0301669854670763,
0.012956446036696434,
-0.023212162777781487,
-0.01709580235183239,
0.02155289053916931,
-0.054791294038295746,
0.022541392594575882,
-0.07279616594314575,
0.006831259932368994,
-0.004432816989719868,
-0.06506466120481491,
-0.02243548072874546,
0.02199418656527996,
-0.00022671575425192714,
0.04310578107833862,
0.013812560588121414,
-0.06086352467536926,
0.005330854095518589,
0.01049401517957449,
0.005864821840077639,
0.0006012656376697123,
-0.05376748740673065,
-0.028666578233242035,
-0.031985122710466385,
0.003687026910483837,
-0.005613283254206181,
-0.04702448844909668,
0.02557750791311264,
0.0159307811409235,
-0.004558586049824953,
-0.0007678547990508378,
0.02215305157005787,
0.01162373274564743,
-0.0179960448294878,
-0.019275803118944168,
0.004015792161226273,
0.031543828547000885,
0.058003928512334824,
-0.02280616946518421,
-0.035939134657382965,
0.015816044062376022,
-0.012647539377212524,
-0.04684796929359436,
-0.0030890710186213255,
0.04900149255990982,
0.01902867667376995,
0.009531990624964237,
-0.04691857472062111,
-0.032708849757909775,
-0.051649268716573715,
0.01918754354119301,
-0.008300774730741978,
0.09976816922426224,
-0.029955163598060608,
-0.042293794453144073,
-0.0020520256366580725,
0.02234722301363945,
0.02555985562503338,
-0.05673299729824066,
0.02826058678328991,
-0.06735940277576447,
0.003186156041920185,
-0.06185202673077583,
-0.02127045951783657,
0.031896863132715225,
-0.031543828547000885,
-0.04317638650536537,
0.0072328392416238785,
-0.013671346008777618,
-0.02074090577661991,
0.0109529634937644,
-0.03006107360124588,
-0.03578026965260506,
-0.08748248964548111,
0.10047423839569092,
0.01139425951987505,
-0.011288347654044628,
0.018428515642881393,
-0.033061884343624115,
-0.0705014243721962,
-0.001232318696565926,
0.012612235732376575,
0.022647302597761154,
-0.06513527035713196,
0.10139213502407074,
-0.06894806772470474,
-0.000034700333344517276,
-0.027607468888163567,
0.014783411286771297,
0.020317262038588524,
0.003812796203419566,
-0.05292019993066788,
0.06171081215143204,
0.0007165541755966842,
0.011517821811139584,
0.054614774882793427,
-0.041411202400922775,
0.016407379880547523,
0.055320847779512405,
-0.046989183872938156,
-0.015489485114812851,
0.016133775934576988,
-0.043282296508550644,
-0.06255809962749481,
0.06393494457006454,
0.02342398464679718,
0.04427080228924751,
0.017934264615178108,
0.0011004816042259336,
0.006676806136965752,
0.0021755886264145374,
-0.030272895470261574,
-0.031014272943139076,
0.06718288362026215,
0.02243548072874546,
-0.001770699629560113,
-0.04494157060980797,
0.021782362833619118,
-0.02252374030649662,
0.012215069495141506,
-0.010767619125545025,
-0.027342692017555237,
-0.007237252313643694,
-0.002455811481922865,
-0.02144697867333889,
-0.0011595048708841205,
-0.06146368756890297,
-0.0012477640993893147,
-0.028472408652305603,
-0.016036691144108772,
0.03447403386235237,
-0.023494591936469078,
-0.09447261691093445,
0.002751479623839259,
0.016407379880547523,
0.017148757353425026,
0.08176329731941223,
0.011200089007616043,
0.05892182141542435,
-0.022400178015232086,
-0.00281326100230217,
0.00415921350941062,
-0.06750061362981796,
0.02314155548810959,
-0.012418065220117569,
-0.029655082151293755,
0.06915988773107529,
-0.04642432555556297,
-0.032355811446905136,
0.05860409140586853,
-0.022135401144623756,
0.037810228765010834,
0.019275803118944168,
-0.053343843668699265,
0.008049236610531807,
-0.00946138333529234,
-0.02718382515013218,
-0.005317614879459143,
-0.0040003471076488495,
-0.014924625866115093,
-0.031014272943139076,
-0.009876200929284096,
-0.04377654939889908,
-0.019399365410208702,
-0.04826011508703232,
-0.015224707312881947,
-0.022753214463591576,
0.023194510489702225,
0.012718146666884422,
0.04522399976849556,
-0.008419925346970558,
0.059733808040618896,
0.06838320940732956,
-0.016804546117782593,
0.0219765342772007,
0.04695387929677963,
-0.02522447146475315,
-0.042752742767333984,
0.04162302613258362,
-0.06344069540500641,
-0.04324699565768242,
0.010749966837465763,
-0.06552360951900482,
0.10485189408063889,
-0.008733244612812996,
0.06001623719930649,
0.016839850693941116,
0.1025218516588211,
0.0173341017216444,
0.016142603009939194,
-0.028754837810993195,
-0.0061472514644265175,
-0.0005634796689264476,
0.02054673433303833,
0.019152240827679634,
0.05680360272526741,
0.005591218359768391,
-0.01848147064447403,
0.03936358913779259,
-0.02646009996533394,
0.02181766740977764
]
|
40,491 | pyglove.core.geno.dna_generator | propose | Propose a DNA to evaluate. | def propose(self) -> DNA:
"""Propose a DNA to evaluate."""
dna = self._propose()
self._num_proposals += 1
return dna
| (self) -> pyglove.core.geno.base.DNA | [
0.009365224279463291,
-0.04531281441450119,
-0.013758146204054356,
-0.012365901842713356,
0.010930418968200684,
-0.002665586769580841,
0.01202864944934845,
-0.04610838368535042,
0.06157008185982704,
-0.005828403867781162,
-0.012002707459032536,
0.03529902920126915,
-0.035454683005809784,
0.12397032231092453,
-0.05157359316945076,
-0.06793463230133057,
0.06720824539661407,
0.037184178829193115,
-0.04323741793632507,
0.023624924942851067,
0.004408054985105991,
0.09242430329322815,
-0.010800707153975964,
-0.014865024015307426,
-0.05254210904240608,
0.034416984766721725,
0.036457791924476624,
-0.011492505669593811,
-0.032168637961149216,
-0.010048375464975834,
0.04541658237576485,
-0.04856426641345024,
-0.018661269918084145,
0.019353067502379417,
0.03382895514369011,
0.014276995323598385,
-0.04579707235097885,
0.04797624051570892,
-0.013567902147769928,
-0.0031498458702117205,
-0.10363144427537918,
-0.040919892489910126,
-0.005305231083184481,
-0.03981301560997963,
-0.06323040276765823,
-0.009235512465238571,
-0.015089859254658222,
0.003975680563598871,
-0.014112693257629871,
-0.007886504754424095,
0.030179718509316444,
-0.010809354484081268,
0.021843543276190758,
0.0037897597067058086,
-0.03360412269830704,
0.04856426641345024,
0.0038719107396900654,
0.07443753629922867,
0.06710447371006012,
-0.026219170540571213,
0.04081612080335617,
-0.05067425221204758,
0.021134449169039726,
-0.02378058061003685,
0.04631592333316803,
0.026495888829231262,
0.02353844977915287,
-0.010757469572126865,
0.020217817276716232,
0.028986364603042603,
0.040989071130752563,
-0.019162824377417564,
-0.023867053911089897,
-0.00013775171828456223,
0.038706135004758835,
0.03355223685503006,
-0.03476288542151451,
0.008932850323617458,
0.06994085013866425,
0.00210025766864419,
-0.00733306584879756,
-0.014743959531188011,
0.011086073704063892,
-0.04209595173597336,
0.017986765131354332,
0.028675055131316185,
0.05039753392338753,
-0.04763033986091614,
-0.025890566408634186,
0.007095260079950094,
0.012806923128664494,
0.029211198911070824,
0.03704581782221794,
0.02274288237094879,
0.02729145810008049,
0.01852290891110897,
0.03576599061489105,
-0.04358331859111786,
0.01724308170378208,
-0.013317124918103218,
-0.02701473794877529,
0.1216873899102211,
-0.023175256326794624,
-0.04264938831329346,
-0.027654651552438736,
0.023867053911089897,
0.002948791952803731,
0.05181572213768959,
0.042926110327243805,
0.02082313969731331,
-0.07775817066431046,
-0.017407383769750595,
0.010333742946386337,
0.018194304779171944,
0.00004246049502398819,
-0.028623171150684357,
-0.0209960900247097,
0.0017327395034953952,
0.016438866034150124,
0.03704581782221794,
0.011613570153713226,
0.03960547596216202,
-0.05752306059002876,
0.01074882224202156,
-0.02855399064719677,
0.011691397987306118,
0.022206738591194153,
0.03431321308016777,
0.0013036081800237298,
-0.05188490077853203,
0.0007474668673239648,
0.005028511863201857,
-0.0058197565376758575,
0.0329815037548542,
0.016845298931002617,
0.03458993509411812,
0.04202676936984062,
-0.029660869389772415,
-0.03739171847701073,
0.05140064284205437,
-0.01400027610361576,
-0.02028699591755867,
0.08612893521785736,
0.0007647618185728788,
0.02729145810008049,
0.015902722254395485,
-0.02101338468492031,
0.04437888413667679,
-0.048979345709085464,
-0.017096074298024178,
0.03209945932030678,
-0.002630996983498335,
0.06385301798582077,
-0.012789628468453884,
0.013057700358331203,
-0.02307148650288582,
-0.003928119316697121,
-0.03611189126968384,
-0.0096592390909791,
-0.04323741793632507,
0.026962853968143463,
0.006291044410318136,
-0.013784089125692844,
0.07582113891839981,
-0.004427511710673571,
0.011233081109821796,
-0.011751930229365826,
0.016879888251423836,
0.0029574392829090357,
0.010325095616281033,
0.01753709651529789,
-0.0046696411445736885,
-0.038152698427438736,
-0.01976814679801464,
0.00539170578122139,
0.07429917901754379,
0.016655053943395615,
0.05479045584797859,
0.05084720253944397,
-0.026340235024690628,
0.005227403715252876,
-0.005097691435366869,
-0.050916384905576706,
-0.007397922221571207,
0.03374247997999191,
0.01900716871023178,
0.03884449601173401,
0.06606677174568176,
0.05589733272790909,
0.005703015252947807,
-0.008673425763845444,
0.01139738317579031,
0.023486565798521042,
0.03303338587284088,
0.008686397224664688,
-0.03230699896812439,
-0.030612092465162277,
0.007415217347443104,
-0.06063615530729294,
0.023711400106549263,
-0.03000676818192005,
-0.0072249723598361015,
-0.012322664260864258,
-0.011924879625439644,
-0.009002030827105045,
0.023451974615454674,
-0.05402947589755058,
-0.0023369824048131704,
-0.011864347383379936,
-0.054444555193185806,
-0.012417786754667759,
0.000003200582341378322,
0.042199719697237015,
-0.058214858174324036,
0.015115801244974136,
-0.10210948437452316,
0.1200270727276802,
0.00044264306779950857,
0.03628484159708023,
0.014657484367489815,
0.051469821482896805,
-0.013913800939917564,
0.0020970148034393787,
-0.021895429119467735,
0.02903825044631958,
-0.035662222653627396,
-0.033413875848054886,
-0.0027131480164825916,
-0.045209042727947235,
-0.073192298412323,
-0.002086205407977104,
-0.07025215774774551,
-0.010714231990277767,
-0.04427511617541313,
0.06696611642837524,
-0.023123370483517647,
-0.01674152910709381,
0.0011955145746469498,
-0.06662021577358246,
0.04399839788675308,
-0.0073503609746694565,
0.04766492918133736,
0.009425757452845573,
0.07658211141824722,
-0.06032484397292137,
0.03507419303059578,
0.025198766961693764,
-0.024385903030633926,
0.009425757452845573,
0.010662347078323364,
0.028242681175470352,
-0.0780348926782608,
-0.07139362394809723,
0.028484810143709183,
-0.005158224143087864,
0.039432525634765625,
-0.041438739746809006,
0.0277757178992033,
0.01677611842751503,
0.03687287122011185,
0.009399814531207085,
-0.0146315423771739,
-0.04399839788675308,
0.0077611166052520275,
-0.021618708968162537,
0.049705736339092255,
-0.0032428062986582518,
0.01601514033973217,
0.026997443288564682,
-0.04558953270316124,
0.04949819669127464,
0.06717365235090256,
-0.03031807765364647,
-0.03621566295623779,
-0.017208492383360863,
0.012746390886604786,
-0.0006588301621377468,
0.07167034596204758,
-0.02829456701874733,
-0.0076141091994941235,
0.014865024015307426,
0.008690721355378628,
0.020702075213193893,
0.03078504092991352,
-0.040989071130752563,
0.00878151971846819,
0.025700321421027184,
0.09996490925550461,
0.02531983144581318,
-0.009702476672828197,
0.00424591451883316,
0.05005163326859474,
0.08951874822378159,
0.028156206011772156,
0.09899639338254929,
0.016101613640785217,
-0.0350223071873188,
0.034209445118904114,
-0.02352115511894226,
-0.003618971910327673,
0.023728694766759872,
-0.018142420798540115,
-0.021203629672527313,
0.002475342247635126,
-0.04839131981134415,
0.018643975257873535,
0.016603168100118637,
-0.004217809997498989,
-0.0015111477114260197,
-0.03232429176568985,
-0.06838429719209671,
0.038948267698287964,
-0.008275642059743404,
0.11027271300554276,
-0.03337928652763367,
-0.10065671056509018,
-0.0037162560038268566,
-0.03263560310006142,
0.03498771786689758,
0.01905905455350876,
-0.032670192420482635,
0.022985011339187622,
0.018107831478118896,
-0.020615600049495697,
0.012158362194895744,
-0.026444004848599434,
-0.03509148955345154,
0.017934881150722504,
0.006697475910186768,
-0.0130058154463768,
-0.0600135363638401,
-0.03739171847701073,
-0.016715586185455322,
0.03253183141350746,
-0.06388761103153229,
-0.0020613439846783876,
0.01428564265370369,
0.007320094853639603,
0.0015824894653633237,
0.0027304429095238447,
-0.020840436220169067,
-0.01728631928563118,
-0.054928816854953766,
0.024212954565882683,
0.0802486464381218,
-0.013827325776219368,
-0.02507770247757435,
-0.028346450999379158,
0.035402797162532806,
-0.08405353873968124,
-0.03884449601173401,
0.017882995307445526,
0.0410582534968853,
0.03756466880440712,
0.022673701867461205,
-0.013982980512082577,
0.03905203565955162,
0.029003659263253212,
-0.047180671244859695,
-0.023451974615454674,
-0.03763384744524956,
-0.019439542666077614,
-0.038152698427438736,
0.011336850933730602,
-0.039674654603004456,
-0.010247267782688141,
-0.0785883292555809,
-0.01652534119784832,
-0.015184980817139149,
0.013948391191661358,
0.01952601782977581,
-0.0005283072241581976,
-0.07637457549571991,
0.02177436277270317,
0.02606351487338543,
-0.015193629078567028,
0.0015035811811685562,
0.01701824739575386,
-0.006572087295353413,
-0.016214031726121902,
-0.012582088820636272,
0.018159715458750725,
-0.01776193082332611,
0.061189595609903336,
-0.03081963211297989,
-0.024385903030633926,
0.0146315423771739,
0.023624924942851067,
-0.015228218398988247,
0.006433727685362101,
-0.06364548206329346,
-0.034918539226055145,
-0.024593442678451538,
-0.015695182606577873,
-0.01878233440220356,
-0.02827727049589157,
-0.05323391035199165,
-0.03555845096707344,
-0.05579356476664543,
0.024887457489967346,
0.048737216740846634,
0.040712352842092514,
0.034693703055381775,
0.010082965716719627,
-0.01065369974821806,
-0.03348305821418762,
0.06361088901758194,
0.014475887641310692,
-0.035454683005809784,
-0.0009317663498222828,
-0.06340335309505463,
0.01879962906241417,
0.011181196197867393,
0.00925280712544918,
-0.010809354484081268,
-0.01824619062244892,
-0.011414678767323494,
0.006438051350414753,
-0.028934480622410774,
0.021601414307951927,
0.007661670446395874,
0.005045806523412466,
-0.017104722559452057,
0.10909665375947952,
0.01163086574524641,
0.012253484688699245,
0.01677611842751503,
0.009858131408691406,
0.03374247997999191,
-0.01580760069191456,
-0.022137558087706566,
-0.007259562611579895,
0.059460096061229706,
-0.030715862289071083,
0.012486966326832771,
-0.020978795364499092,
-0.02857128530740738,
-0.03170167654752731,
-0.012167009525001049,
0.025233356282114983,
0.04856426641345024,
0.018972579389810562,
0.013784089125692844,
0.051158513873815536,
0.0600135363638401,
-0.0242475438863039,
-0.0011944336583837867,
-0.045970022678375244,
0.02004486694931984,
-0.0460737906396389,
0.053994886577129364,
-0.020615600049495697,
0.07464507967233658,
0.017407383769750595,
0.017320910468697548,
0.041438739746809006,
-0.06340335309505463,
-0.016680995002388954,
-0.0163005068898201,
-0.0130058154463768,
0.020321587100625038,
0.031200120225548744,
0.007998921908438206,
0.042199719697237015,
-0.021186335012316704,
0.05766142159700394,
-0.025579256936907768,
0.005162547808140516,
-0.08772007375955582,
-0.03521255403757095,
0.07007920742034912,
-0.02279476635158062,
0.014830434694886208,
-0.09124824404716492,
-0.008176195435225964,
-0.016940420493483543,
-0.004338874947279692,
-0.00456154765561223,
0.03711500018835068,
-0.00027617899468168616,
-0.000028171880330774002,
-0.008729634806513786,
0.009200922213494778,
0.06364548206329346,
-0.01202864944934845,
0.012305368669331074,
-0.022120263427495956,
0.006861778441816568,
-0.01850561425089836,
-0.002399676712229848,
0.013446836732327938,
0.027723832055926323,
0.008068102411925793,
-0.0013144174590706825,
-0.034157559275627136,
0.0193184781819582,
0.05641618371009827,
-0.050916384905576706,
0.0003856237162835896,
-0.07775817066431046,
0.008716663345694542,
-0.02727416343986988,
-0.008435619994997978,
-0.0689377412199974,
0.039190396666526794,
0.006299691740423441,
-0.05188490077853203,
0.022466162219643593,
-0.04666182026267052,
0.05378734692931175,
-0.023918939754366875,
-0.018419139087200165,
0.03580058366060257,
-0.032151345163583755,
0.04150792211294174,
0.048218369483947754,
0.0460737906396389,
0.004317256156355143,
-0.01728631928563118,
-0.04877180606126785,
0.0068228645250201225,
-0.008746929466724396,
-0.00412917323410511,
0.010869886726140976,
0.002105662366375327,
0.012737743556499481,
0.03680368885397911,
-0.007142821326851845,
0.00222240318544209,
0.0017186873592436314,
0.022120263427495956,
-0.02455885335803032,
0.03106176108121872,
0.04354872554540634,
0.005322526209056377,
-0.0017813816666603088,
0.024991227313876152,
-0.03611189126968384,
0.05600110441446304,
0.05198867246508598,
0.04704231023788452,
-0.06838429719209671,
-0.0470077209174633,
-0.010645052418112755,
0.02400541491806507,
0.0024645328521728516,
-0.011475211009383202,
-0.05766142159700394,
0.014769901521503925,
0.017070133239030838,
-0.049671147018671036,
-0.029660869389772415,
-0.03514337167143822,
0.005050130188465118,
0.04334118589758873,
0.06686234474182129,
0.019439542666077614,
-0.02077125571668148,
0.04026268422603607,
0.00852641835808754,
-0.010956361889839172,
-0.0904872715473175,
0.056243233382701874,
-0.05354521796107292,
0.025216061621904373,
0.021981902420520782,
-0.02800055220723152,
0.05216161906719208,
0.014475887641310692,
-0.06029025465250015,
0.06637808680534363,
-0.019041758030653,
0.00011221461318200454,
0.020200520753860474,
-0.10065671056509018,
-0.002695852890610695,
-0.052991777658462524,
-0.02905554510653019,
-0.014726664870977402,
0.01724308170378208,
-0.02379787527024746,
0.023918939754366875,
0.0037292272318154573,
-0.06720824539661407,
-0.012979872524738312,
0.03680368885397911,
-0.039397936314344406,
0.0225699320435524,
0.008119987323880196,
-0.0704251080751419,
-0.06720824539661407,
-0.00014592628576792777,
-0.03614648059010506,
-0.022448867559432983,
0.026167284697294235,
0.034693703055381775,
0.05326849967241287,
-0.035938940942287445,
0.009399814531207085,
-0.05634700134396553,
-0.021653298288583755,
0.03509148955345154,
-0.006762332282960415,
0.033137157559394836,
0.06495989859104156,
0.00852641835808754,
-0.02208567224442959,
-0.002349953632801771,
0.019404953345656395,
-0.03725335747003555,
0.009953253902494907,
0.021964607760310173,
-0.0360427126288414,
-0.04735362157225609,
-0.0772739127278328,
-0.018107831478118896,
-0.054686687886714935,
-0.00607053330168128,
-0.0460737906396389,
0.0772739127278328,
-0.019854621961712837,
-0.010939066298305988,
-0.03484936058521271,
-0.013455484062433243,
-0.008811785839498043,
-0.050224583595991135,
0.004786381963640451,
-0.03711500018835068,
0.011656807735562325,
0.006602353882044554,
0.06540956348180771,
0.010887181386351585,
-0.007968655787408352,
-0.07519851624965668,
0.008716663345694542,
0.019958391785621643,
-0.003653561696410179,
0.0098927216604352,
-0.02928037941455841,
0.03988219425082207,
-0.07388409972190857,
0.02326173149049282,
-0.0011079588439315557,
0.00271963351406157,
0.0072768572717905045,
-0.038083516061306,
-0.06378383934497833,
-0.0070131090469658375,
-0.028225386515259743,
0.011812462471425533,
-0.003923795651644468,
0.004838266875594854,
0.036942049860954285,
-0.01824619062244892,
0.0067493608221411705,
-0.03078504092991352,
0.004462101496756077,
0.05378734692931175,
-0.02253534272313118,
0.019041758030653,
0.0074973683804273605,
0.0061353896744549274,
-0.035904351621866226,
-0.034416984766721725,
0.037945158779621124,
0.04735362157225609,
-0.013974333181977272,
-0.009053915739059448,
0.006585058756172657,
0.0195087231695652,
0.0074887205846607685,
0.037184178829193115,
0.017727341502904892,
0.008007570169866085,
0.035160668194293976,
-0.03026619181036949,
-0.004535605199635029,
0.012979872524738312,
0.04704231023788452,
0.0240572988986969,
-0.006974195595830679,
-0.00011437648208811879,
0.027741126716136932,
-0.08578303456306458,
-0.01629185862839222,
-0.020632896572351456,
0.03638860955834389,
-0.015945959836244583,
0.00988407339900732,
-0.028882594779133797,
-0.02876153029501438,
-0.06329958140850067,
-0.01078341156244278,
-0.007605461869388819,
0.025354422628879547,
0.013550606556236744,
-0.026668839156627655,
-0.040643174201250076,
-0.06163926422595978,
-0.06329958140850067,
0.06333416700363159,
0.04479396343231201,
-0.006195921916514635,
-0.0001260641001863405,
-0.048460498452186584,
0.04479396343231201,
-0.027844896540045738,
0.02678990364074707,
-0.02331361547112465,
-0.027239574119448662,
0.025752205401659012,
0.052715059369802475,
-0.014147283509373665,
0.013896506279706955,
0.001376030850224197,
0.004851238336414099,
0.0044577778317034245,
0.05911419913172722,
-0.01905905455350876,
0.010178088210523129,
-0.04583166167140007,
0.0015781658003106713,
0.02428213320672512,
-0.0020894482731819153,
-0.02608080953359604,
0.029660869389772415,
-0.011795167811214924,
-0.04901393875479698,
0.0015154714928939939,
-0.04330659657716751,
-0.038429416716098785,
0.011907584965229034,
-0.04486314579844475,
-0.05752306059002876,
-0.0596330463886261,
-0.009347929619252682,
0.013083642348647118,
0.0024342667311429977,
0.022414278239011765,
-0.04659264162182808,
-0.03305068239569664,
0.05454832687973976,
0.021480349823832512,
-0.010818001814186573,
0.005837051197886467,
0.010913124307990074,
-0.025752205401659012,
-0.03272207826375961,
0.01902446337044239,
-0.018574794754385948,
0.04891016706824303,
0.06323040276765823,
0.04980950430035591,
0.01627456396818161,
0.022102968767285347,
-0.012469671666622162,
0.028709646314382553,
0.0436524972319603,
0.005361439660191536,
-0.029228493571281433,
-0.03514337167143822,
-0.013109585270285606,
0.015608707442879677,
-0.004907446913421154,
-0.040712352842092514,
0.02327902615070343,
0.012590736150741577,
0.016101613640785217
]
|
40,493 | pyglove.core.geno.dna_generator | recover | Recover states by replaying the proposal history.
NOTE: `recover` will always be called before first `propose` and could be
called multiple times if there are multiple source of history, e.g: trials
from a previous study and existing trials from current study.
Args:
history: An iterable object that consists of historically proposed DNA
with its reward. The reward will be None if it is not yet provided
(via feedback).
| def recover(
self,
history: Iterable[Tuple[DNA, Union[None, float, Tuple[float]]]]
) -> None:
"""Recover states by replaying the proposal history.
NOTE: `recover` will always be called before first `propose` and could be
called multiple times if there are multiple source of history, e.g: trials
from a previous study and existing trials from current study.
Args:
history: An iterable object that consists of historically proposed DNA
with its reward. The reward will be None if it is not yet provided
(via feedback).
"""
for i, (dna, reward) in enumerate(history):
self._replay(i, dna, reward)
self._num_proposals += 1
if reward is not None:
self._num_feedbacks += 1
| (self, history: Iterable[Tuple[pyglove.core.geno.base.DNA, Union[NoneType, float, Tuple[float]]]]) -> NoneType | [
-0.04098151624202728,
0.030383456498384476,
-0.04898737370967865,
-0.035038843750953674,
-0.03581474348902702,
-0.031423866748809814,
-0.02056129463016987,
-0.015403336845338345,
0.062001295387744904,
0.03445691987872124,
-0.019661957398056984,
0.06006155163049698,
-0.01667298749089241,
0.09212024509906769,
-0.013904443010687828,
0.011179983615875244,
0.029395949095487595,
0.014548085629940033,
-0.009275506250560284,
-0.054277583956718445,
0.007547370623797178,
-0.0008062064298428595,
-0.010201293975114822,
0.041933756321668625,
-0.07141787558794022,
-0.01050988957285881,
0.0014515022048726678,
-0.01695513166487217,
-0.03507411107420921,
0.11144715547561646,
0.042462777346372604,
-0.025780970230698586,
-0.030171846970915794,
0.060378964990377426,
-0.016628902405500412,
-0.020067540928721428,
-0.0621776357293129,
-0.007353396154940128,
-0.030630333349108696,
-0.008918417617678642,
-0.051456138491630554,
0.009963233955204487,
0.02003227360546589,
-0.01971486024558544,
-0.05413651093840599,
-0.011276970617473125,
0.0026539235841482878,
-0.012925753369927406,
0.006943404674530029,
0.003555463859811425,
-0.008847881108522415,
0.05103291943669319,
-0.028814027085900307,
-0.020314417779445648,
0.0228713545948267,
0.030101312324404716,
0.026486333459615707,
0.03816007077693939,
0.041933756321668625,
-0.05649947375059128,
0.030365822836756706,
-0.036061618477106094,
0.022236527875065804,
0.02512851171195507,
0.06496381759643555,
-0.04641280323266983,
0.043697159737348557,
-0.05053916946053505,
0.028126299381256104,
-0.04105205088853836,
-0.02050839178264141,
-0.002265974646434188,
-0.012361464090645313,
0.004558400250971317,
0.025745702907443047,
-0.0034254128113389015,
-0.04493154212832451,
0.007789838593453169,
0.021231388673186302,
-0.0025106468237936497,
-0.03879489377140999,
-0.02075526863336563,
0.01167373638600111,
-0.007088885176926851,
-0.01283758319914341,
0.027879422530531883,
0.03484486788511276,
-0.018268868327140808,
-0.018110161647200584,
0.018268868327140808,
-0.004157225601375103,
0.024299710988998413,
-0.021901480853557587,
-0.036255594342947006,
0.04637753218412399,
0.016346758231520653,
-0.0333283431828022,
-0.0189918652176857,
0.03489777073264122,
-0.05455972999334335,
-0.030171846970915794,
0.05156194046139717,
-0.049340054392814636,
-0.014927217736840248,
-0.07106519490480423,
0.00362820434384048,
-0.013287251815199852,
0.011118263937532902,
0.07208796590566635,
-0.01114471536129713,
-0.08273892849683762,
-0.01296102162450552,
0.012661242857575417,
-0.011470945551991463,
-0.018427575007081032,
-0.008658315055072308,
0.013772187754511833,
-0.011259336955845356,
-0.019961737096309662,
-0.005541497841477394,
0.04849362000823021,
0.0067714727483689785,
-0.05928565189242363,
0.08019962906837463,
-0.029078537598252296,
0.013939711265265942,
0.04352081939578056,
0.01848047785460949,
0.046201191842556,
-0.06524595618247986,
-0.003753846976906061,
0.006621583364903927,
-0.020173344761133194,
0.03622032329440117,
0.051173992455005646,
0.03204105794429779,
0.03179417923092842,
-0.029589924961328506,
0.007124153431504965,
-0.015165276825428009,
-0.0022097660694271326,
-0.019432716071605682,
0.08132820576429367,
0.03290512412786484,
0.02331220544874668,
0.0017248298972845078,
0.015764834359288216,
0.009584102779626846,
-0.02539302222430706,
0.03130042552947998,
0.05025702342391014,
0.020367320626974106,
-0.004326953552663326,
0.0016113106394186616,
0.007371030282229185,
0.011682553216814995,
-0.022712647914886475,
0.004986025858670473,
0.0009147659875452518,
-0.027791252359747887,
0.028355540707707405,
-0.007137379143387079,
0.025075608864426613,
0.01461862213909626,
0.0059514897875487804,
-0.010941923595964909,
-0.03251717612147331,
0.04087571054697037,
-0.00987506378442049,
0.00973399169743061,
-0.0017733235144987702,
-0.025780970230698586,
0.027597278356552124,
-0.05364276096224785,
-0.03329307213425636,
0.03618505597114563,
-0.016020528972148895,
-0.0205436609685421,
-0.05025702342391014,
0.02514614537358284,
0.02338274195790291,
-0.04383823275566101,
-0.06101378798484802,
-0.011488579213619232,
0.054030708968639374,
-0.0017160128336399794,
-0.01474206056445837,
0.04807040095329285,
0.01715792343020439,
0.01798672415316105,
-0.029589924961328506,
0.0005422468530014157,
0.041686877608299255,
-0.0029008002020418644,
0.043697159737348557,
-0.03770158439874649,
0.012070502154529095,
0.015729567036032677,
0.039359185844659805,
-0.012731779366731644,
-0.018656818196177483,
-0.012255660258233547,
-0.0019794213585555553,
-0.07293440401554108,
-0.04345028102397919,
-0.008023489266633987,
-0.06965447217226028,
-0.006335029844194651,
-0.012370280921459198,
-0.02283608540892601,
0.01386035792529583,
-0.018674451857805252,
0.02311823144555092,
-0.04027615487575531,
0.02052602544426918,
-0.0338749960064888,
0.0584392175078392,
-0.017034485936164856,
0.07519155740737915,
-0.022518673911690712,
0.04306233301758766,
-0.044014573097229004,
-0.08915772289037704,
-0.0017457702197134495,
0.017325447872281075,
0.0020069745369255543,
-0.027262231335043907,
-0.009024221450090408,
-0.031106451526284218,
-0.005202042870223522,
-0.01773102954030037,
-0.061683882027864456,
-0.026503967121243477,
-0.04292125999927521,
0.1134927049279213,
0.006317396182566881,
-0.03198815509676933,
-0.005770740564912558,
-0.0072343661449849606,
0.07120626419782639,
-0.02618655376136303,
0.05928565189242363,
0.04278018698096275,
0.039147574454545975,
0.03660827502608299,
-0.00900217890739441,
0.05805126950144768,
0.0013754554092884064,
-0.044226180762052536,
0.03431584686040878,
0.06408211588859558,
-0.034809600561857224,
-0.0426391176879406,
0.038618553429841995,
0.042991798371076584,
-0.026309993118047714,
0.017598774284124374,
-0.02281845174729824,
0.0575222484767437,
-0.023911762982606888,
0.05921511724591255,
-0.015385702252388,
-0.03055979683995247,
-0.043273940682411194,
-0.021919116377830505,
0.0528668612241745,
0.021919116377830505,
-0.04006454721093178,
0.012105770409107208,
-0.0031542894430458546,
0.0021855193190276623,
0.040910981595516205,
-0.033751558512449265,
0.040910981595516205,
0.001975012943148613,
-0.01194706466048956,
0.01818069815635681,
0.010042587295174599,
-0.04718869924545288,
0.023470912128686905,
0.023012425750494003,
-0.0025922043714672327,
0.03819533810019493,
0.013445957563817501,
0.015808919444680214,
0.028849294409155846,
0.011682553216814995,
-0.00614546425640583,
0.0675736516714096,
0.025604629889130592,
0.09635241329669952,
0.048599421977996826,
0.029678095132112503,
-0.04129892960190773,
0.05237310752272606,
-0.01143567729741335,
-0.013507677242159843,
0.030171846970915794,
-0.013199081644415855,
0.06722097098827362,
0.055300358682870865,
-0.03819533810019493,
0.052972666919231415,
-0.024934537708759308,
-0.04944585636258125,
-0.01204405166208744,
0.01014839205890894,
0.015279898419976234,
0.013357787393033504,
-0.0006249063881114125,
0.022747915238142014,
0.0621776357293129,
-0.02181331068277359,
0.0020631831139326096,
-0.001542978803627193,
-0.0471181645989418,
0.038336411118507385,
0.0014548085164278746,
0.011329872533679008,
-0.0005331542924977839,
-0.02535775490105152,
0.05466553568840027,
0.0071726469323039055,
0.03495067358016968,
-0.0024930129293352365,
-0.03327544033527374,
-0.08633627742528915,
0.010298280976712704,
-0.007415115367621183,
-0.021196119487285614,
-0.053501687943935394,
-0.02562226541340351,
-0.01204405166208744,
0.02616892009973526,
-0.044261448085308075,
0.0435560867190361,
-0.01870971918106079,
0.03417477384209633,
0.014186588115990162,
0.00032567873131483793,
0.0671151652932167,
-0.023276936262845993,
-0.010959558188915253,
-0.026257090270519257,
0.06111959367990494,
0.053254809230566025,
0.024811098352074623,
0.013481225818395615,
0.009601736441254616,
0.014927217736840248,
-0.08457287400960922,
0.004498885478824377,
0.05290212854743004,
0.07667282223701477,
0.009619370102882385,
0.004955166019499302,
0.010342366062104702,
0.024193907156586647,
0.005929447244852781,
-0.08541930466890335,
-0.01586182229220867,
-0.009848613291978836,
-0.04316813871264458,
0.0037428257055580616,
-0.022906621918082237,
0.0009511362295597792,
-0.03925338014960289,
-0.024035200476646423,
-0.05515928566455841,
-0.011629651300609112,
-0.0067714727483689785,
-0.021936750039458275,
-0.05984994396567345,
0.038865432143211365,
0.005598808638751507,
-0.029325414448976517,
0.020067540928721428,
0.016258588060736656,
0.021372459828853607,
0.032958026975393295,
-0.01849811151623726,
-0.007287268526852131,
-0.022747915238142014,
0.03179417923092842,
-0.025745702907443047,
0.01078321784734726,
0.006502553354948759,
0.0030198299791663885,
0.024229174479842186,
-0.00204665120691061,
0.02514614537358284,
-0.05149140581488609,
0.02100214548408985,
-0.06968973577022552,
0.028108665719628334,
0.00436883419752121,
0.008900783024728298,
0.022007286548614502,
-0.04175741598010063,
-0.022977158427238464,
-0.013578212819993496,
-0.03660827502608299,
-0.04584851115942001,
-0.005673753563314676,
-0.0039368001744151115,
0.040417227894067764,
0.025093242526054382,
0.003491540439426899,
-0.02514614537358284,
-0.06450533121824265,
0.00672738766297698,
-0.046342264860868454,
0.009037447161972523,
0.00910798367112875,
0.016778791323304176,
0.003394553204998374,
-0.03024238348007202,
-0.04105205088853836,
-0.008027898147702217,
0.04436725378036499,
0.042744919657707214,
0.03101828135550022,
-0.015808919444680214,
0.05071550980210304,
0.050927117466926575,
0.07321655005216599,
-0.08640681207180023,
0.0024731745943427086,
0.004210127983242273,
-0.016567183658480644,
-0.00162012770306319,
-0.034509822726249695,
0.05896824225783348,
-0.00900217890739441,
0.017792750149965286,
-0.030224749818444252,
-0.031159354373812675,
0.03406897187232971,
-0.043767694383859634,
0.008459932170808315,
0.011365140788257122,
-0.026116017252206802,
0.06136646866798401,
0.0012630383716896176,
0.046836018562316895,
-0.018163064494729042,
0.04828200861811638,
-0.021936750039458275,
-0.07512102276086807,
0.010986008681356907,
-0.04486100748181343,
-0.010007319040596485,
-0.018163064494729042,
0.011224068701267242,
0.04588378220796585,
0.053501687943935394,
-0.0737808346748352,
0.05339588224887848,
-0.04330921173095703,
0.008041123859584332,
0.043697159737348557,
0.01334897056221962,
-0.015482690185308456,
0.053007934242486954,
0.01587063819169998,
0.012872851453721523,
-0.02357671596109867,
-0.01722845993936062,
-0.07709603756666183,
-0.0057575153186917305,
-0.006529004313051701,
-0.051456138491630554,
0.02722696214914322,
-0.011867711320519447,
-0.07028929889202118,
-0.0007455893792212009,
0.06203656271100044,
-0.04140473157167435,
0.024528954178094864,
0.00336369383148849,
0.0010574915213510394,
-0.014962485991418362,
-0.0027090299408882856,
0.046836018562316895,
-0.007207915186882019,
-0.0016675192164257169,
-0.05921511724591255,
-0.01153266429901123,
-0.018145430833101273,
0.023541446775197983,
-0.08224517852067947,
-0.055829379707574844,
-0.0339631661772728,
0.05209096521139145,
0.012511353939771652,
-0.006096970289945602,
0.04239223897457123,
-0.0174400694668293,
0.0007863680948503315,
-0.08880504220724106,
0.023100595921278,
0.0010916574392467737,
0.041440002620220184,
0.014953668229281902,
-0.010598059743642807,
0.013631115667521954,
0.019908834248781204,
0.01647019572556019,
-0.015244630165398121,
0.020138077437877655,
-0.023682519793510437,
0.008191012777388096,
0.06707990169525146,
0.001570531981997192,
-0.07497995346784592,
-0.028373176231980324,
-0.012440817430615425,
-0.017836835235357285,
-0.0034254128113389015,
0.021143218502402306,
0.04803513363003731,
0.03264061361551285,
0.026292357593774796,
-0.0046950639225542545,
-0.008944868110120296,
-0.04387350007891655,
0.05078604444861412,
-0.026786111295223236,
0.005559131968766451,
-0.039112307131290436,
-0.01565021276473999,
0.031670741736888885,
0.06111959367990494,
0.008512834087014198,
0.009963233955204487,
-0.041228391230106354,
0.06023789197206497,
-0.10918999463319778,
-0.012767047621309757,
-0.03174127638339996,
0.028355540707707405,
-0.037278369069099426,
-0.03978240117430687,
0.036431934684515,
0.004624527879059315,
0.0017567916074767709,
0.00040944042848423123,
-0.03692568466067314,
-0.03359285369515419,
0.011250519193708897,
-0.04136946424841881,
-0.047294504940509796,
0.020367320626974106,
-0.016549549996852875,
0.016540732234716415,
0.05815707519650459,
0.04334447905421257,
0.01846284233033657,
0.09755152463912964,
-0.0042233532294631,
0.007088885176926851,
-0.08845236152410507,
0.02567516639828682,
-0.03847748041152954,
0.04447305575013161,
0.023030061274766922,
-0.004144000355154276,
0.005466553382575512,
-0.0013919873163104057,
0.015738382935523987,
0.017581140622496605,
0.02562226541340351,
-0.0019232127815485,
0.05815707519650459,
-0.0243349801748991,
-0.02798522636294365,
-0.016276221722364426,
-0.051420871168375015,
0.044014573097229004,
0.04454359412193298,
0.06425845623016357,
-0.014318843372166157,
0.0015958809526637197,
-0.05053916946053505,
0.00783833209425211,
0.06951339542865753,
-0.06852589547634125,
0.04507261514663696,
-0.0009599532349966466,
-0.01667298749089241,
-0.018533378839492798,
0.0213195588439703,
-0.01412486843764782,
-0.029413584619760513,
0.0036811064928770065,
-0.014565719291567802,
0.0657397136092186,
-0.06164861470460892,
-0.07307547330856323,
0.006696527823805809,
0.004181472584605217,
0.03609688580036163,
0.023753056302666664,
-0.0012145447544753551,
0.00793531909584999,
-0.022395234555006027,
-0.023276936262845993,
0.10707391053438187,
0.0892987921833992,
0.020684732124209404,
0.002984561724588275,
0.009390127845108509,
-0.002163476776331663,
-0.0775192528963089,
-0.030718503519892693,
-0.014936034567654133,
-0.03385736420750618,
0.03516228124499321,
-0.07490941882133484,
0.04535475745797157,
-0.035003576427698135,
-0.03057743050158024,
-0.059356190264225006,
0.03897123411297798,
-0.030877210199832916,
-0.005686978809535503,
-0.030647967010736465,
-0.04260384663939476,
-0.021390093490481377,
-0.032975662499666214,
0.05184408649802208,
-0.03391026332974434,
-0.007525328081101179,
0.018163064494729042,
-0.0013225532602518797,
-0.011805991642177105,
0.0677499920129776,
0.022977158427238464,
-0.02953702211380005,
-0.0037913192063570023,
-0.0706772431731224,
-0.005770740564912558,
-0.025022707879543304,
-0.007833924144506454,
-0.03614978864789009,
-0.026768477633595467,
-0.03172364458441734,
-0.012925753369927406,
0.04845834895968437,
0.012017600238323212,
0.016743524000048637,
0.03957079350948334,
0.008852289989590645,
0.006630400195717812,
-0.03816007077693939,
0.04969273507595062,
0.03364575281739235,
0.04926951602101326,
-0.036537736654281616,
0.01053634099662304,
0.006405566353350878,
0.005686978809535503,
0.004218944814056158,
0.053783830255270004,
0.06845535337924957,
0.04073464125394821,
-0.0228713545948267,
0.01384272426366806,
-0.014565719291567802,
0.026045482605695724,
-0.06732677668333054,
-0.05455972999334335,
0.026116017252206802,
0.0435560867190361,
0.0034584766253829002,
-0.03456272557377815,
-0.044014573097229004,
0.05406597629189491,
0.05896824225783348,
0.0014801574870944023,
0.038124799728393555,
0.06549283862113953,
0.012643609195947647,
-0.07078304886817932,
0.026257090270519257,
0.06552810221910477,
-0.0010095490142703056,
0.024052834138274193,
0.01644374616444111,
-0.01800435781478882,
0.026627404615283012,
0.0007511000148952007,
0.03535625711083412,
0.009425396099686623,
-0.027403302490711212,
-0.009786893613636494,
-0.05896824225783348,
-0.05674635246396065,
-0.02359434962272644,
-0.07991748303174973,
0.006806740537285805,
0.05558250471949577,
-0.003048485144972801,
0.03339887782931328,
-0.032182127237319946,
0.015482690185308456,
-0.05766332149505615,
0.031476765871047974,
-0.06475220620632172,
-0.046836018562316895,
-0.0008326575043611228,
-0.015544408932328224,
-0.009024221450090408,
0.0451078824698925,
-0.014195404946804047,
-0.02904326841235161,
0.10989535599946976,
-0.02851424738764763,
-0.01973249390721321,
-0.01551795843988657,
-0.04059356823563576,
0.010324732400476933,
-0.0009781382977962494,
0.02645106427371502,
-0.014036698266863823,
0.00017317180754616857,
-0.023735422641038895,
-0.04697709158062935,
0.0017215234693139791,
-0.030841941013932228,
-0.01647019572556019,
-0.0446493960916996,
0.020949242636561394,
-0.04249804466962814,
-0.01722845993936062,
-0.0599910132586956,
0.00873766839504242,
-0.015826553106307983,
0.07871837168931961,
-0.01766049489378929,
-0.004507702309638262,
0.01513000950217247,
0.010166025720536709,
0.062424514442682266,
-0.05261998623609543,
0.019432716071605682,
-0.04807040095329285,
-0.024969805032014847,
0.0111623490229249,
-0.05290212854743004,
0.04881103336811066,
0.0018780255923047662,
0.05910931155085564,
0.004218944814056158,
0.01997937075793743,
-0.01819833181798458,
0.03135332837700844,
-0.01065096165984869,
-0.025234315544366837,
0.01769576221704483,
-0.004875813145190477,
-0.048352546989917755,
0.025199048221111298,
0.0048493617214262486,
-0.0062204087153077126,
-0.020913975313305855,
0.021495899185538292,
-0.016258588060736656
]
|
40,497 | pyglove.core.geno.dna_generator | setup | Setup DNA spec. | def setup(self, dna_spec: DNASpec) -> None:
"""Setup DNA spec."""
self._dna_spec = dna_spec
self._num_proposals = 0
self._num_feedbacks = 0
self._setup()
| (self, dna_spec: pyglove.core.geno.base.DNASpec) -> NoneType | [
-0.0028475066646933556,
0.08105916529893875,
-0.008843548595905304,
-0.021709728986024857,
-0.031199930235743523,
0.03482119366526604,
-0.04573849216103554,
-0.007478885818272829,
0.011229477822780609,
0.013923125341534615,
-0.01953340508043766,
0.01919446885585785,
-0.008977338671684265,
0.06646709144115448,
-0.02427850477397442,
-0.02766786329448223,
0.009891573339700699,
0.08526910841464996,
-0.00007644172728760168,
0.0019332718802616,
-0.02955876849591732,
0.06311341375112534,
-0.056905534118413925,
0.019622597843408585,
-0.012371156364679337,
0.031574543565511703,
-0.005949215032160282,
-0.04399029538035393,
0.0019466509111225605,
-0.024635279551148415,
0.04199235886335373,
-0.011586252599954605,
-0.008446636609733105,
0.019711792469024658,
0.01543049793690443,
-0.05087604373693466,
0.02914847806096077,
0.024635279551148415,
-0.05312372371554375,
0.039459262043237686,
-0.01788332313299179,
-0.044204361736774445,
0.04302700608968735,
-0.009365330450236797,
0.00008271315164165571,
0.016367031261324883,
-0.014895335771143436,
-0.02918415516614914,
-0.027239734306931496,
0.02773921750485897,
0.013958802446722984,
-0.020728599280118942,
0.014217464253306389,
0.015073723159730434,
-0.03856732323765755,
0.013887448236346245,
0.02046101726591587,
0.06664548069238663,
0.04905649647116661,
-0.013334447517991066,
-0.0018563424237072468,
0.012638737447559834,
-0.024314183741807938,
-0.05016249790787697,
-0.015662401914596558,
-0.020799953490495682,
0.03348328918218613,
-0.026633217930793762,
0.03330489993095398,
0.026936475187540054,
0.020621566101908684,
0.0029679180588573217,
0.003810797818005085,
-0.005222287029027939,
0.07492264360189438,
0.028363574296236038,
-0.057833146303892136,
-0.011372187174856663,
0.037782419472932816,
-0.004337040241807699,
-0.010819187387824059,
0.062399860471487045,
-0.02918415516614914,
0.014957771636545658,
0.050554949790239334,
0.03612341731786728,
0.017116257920861244,
0.0021439918782562017,
0.08691027015447617,
-0.0054140533320605755,
0.017562225461006165,
0.030611252412199974,
0.05251720920205116,
0.01771385408937931,
0.008299467153847218,
0.04923488199710846,
0.024492569267749786,
-0.03523148223757744,
-0.03285893425345421,
-0.007710789330303669,
-0.005802045576274395,
-0.020764276385307312,
0.0027828412130475044,
0.011666526086628437,
-0.06311341375112534,
-0.007608216255903244,
0.02855980023741722,
0.013191737234592438,
-0.01576051488518715,
0.03615909814834595,
-0.05019817501306534,
-0.035588257014751434,
0.016848675906658173,
0.02677592635154724,
0.009409927763044834,
-0.05016249790787697,
0.04830726981163025,
-0.0392095185816288,
0.04281293973326683,
-0.030468543991446495,
0.019765308126807213,
0.025188280269503593,
-0.06425508856773376,
0.021709728986024857,
-0.02358279563486576,
-0.005824343767017126,
0.025759119540452957,
0.05711960047483444,
0.007853498682379723,
-0.06215012073516846,
0.03251999616622925,
0.032912448048591614,
-0.052303142845630646,
0.010587283410131931,
0.050626304000616074,
0.02376118302345276,
-0.012549543753266335,
-0.04370487853884697,
-0.014939933083951473,
-0.030022574588656425,
-0.027489475905895233,
-0.005842182785272598,
0.035142287611961365,
-0.03464280441403389,
-0.014716948382556438,
0.031217768788337708,
-0.02970147877931595,
-0.0626852810382843,
-0.059617020189762115,
-0.017776289954781532,
-0.007345095276832581,
-0.020764276385307312,
-0.02643699198961258,
-0.018043870106339455,
-0.032430801540613174,
0.02169189043343067,
-0.009178024716675282,
-0.03100370429456234,
0.054194048047065735,
0.022476794198155403,
-0.003079409943893552,
-0.04573849216103554,
-0.004571173340082169,
0.07206845283508301,
-0.019854500889778137,
0.00012696156045421958,
-0.06293502449989319,
-0.05187501385807991,
0.021602695807814598,
-0.02286924608051777,
0.0267045721411705,
0.0007960531511344016,
-0.029754994437098503,
0.004223318304866552,
0.07003483921289444,
0.02451040968298912,
0.04820023477077484,
-0.02101401798427105,
-0.009998605586588383,
-0.02361847274005413,
0.030272318050265312,
0.0291128009557724,
-0.009695347398519516,
0.05537140369415283,
0.01453856099396944,
0.029612284153699875,
-0.007117651402950287,
0.044311393052339554,
0.026936475187540054,
-0.015475094318389893,
0.03159238398075104,
-0.015020206570625305,
-0.05587088689208031,
0.047736428678035736,
0.034286029636859894,
0.0067876349203288555,
0.058903470635414124,
-0.004584552254527807,
0.024635279551148415,
-0.02506340853869915,
0.031092898920178413,
0.03446441888809204,
0.004424003884196281,
-0.006809933576732874,
0.013182817958295345,
0.040850680321455,
0.012585220858454704,
-0.00883908849209547,
-0.03464280441403389,
-0.057797469198703766,
0.017330322414636612,
-0.07570755481719971,
0.0926186665892601,
-0.041314490139484406,
0.023743344470858574,
-0.12743985652923584,
0.11937674880027771,
0.010426735505461693,
0.006448699161410332,
-0.013459318317472935,
0.03717590495944023,
-0.006850070785731077,
-0.0036190315149724483,
-0.04338378086686134,
0.007211304735392332,
-0.003862084122374654,
-0.0311107374727726,
0.002684728242456913,
-0.036819130182266235,
-0.047700751572847366,
-0.004140814300626516,
-0.001457200851291418,
-0.004861052613705397,
-0.0070195384323596954,
0.04031552001833916,
0.0002590796211734414,
0.01795467734336853,
-0.016491901129484177,
-0.03724725916981697,
-0.04174261912703514,
0.002392619149759412,
0.04277726262807846,
0.02138863131403923,
0.005637037102133036,
-0.04441842809319496,
0.040422551333904266,
-0.024349860846996307,
0.009846976026892662,
0.03164589777588844,
-0.023333052173256874,
-0.016224320977926254,
-0.04556010663509369,
-0.0424918457865715,
0.03906681016087532,
-0.06857205927371979,
0.02104969695210457,
0.030272318050265312,
0.01990801841020584,
0.030093930661678314,
0.011844913475215435,
-0.012933076359331608,
0.004502048250287771,
-0.00363910011947155,
0.029505252838134766,
0.032288093119859695,
0.035695288330316544,
0.026936475187540054,
-0.003235498908907175,
-0.019925856962800026,
-0.04727262258529663,
0.06493295729160309,
0.062364183366298676,
0.014119351282715797,
-0.03059341385960579,
-0.03660506382584572,
-0.01531454548239708,
0.03350112587213516,
-0.019337179139256477,
0.02276221290230751,
0.04516765475273132,
0.05483624339103699,
-0.05390862748026848,
0.03250215947628021,
0.10260835289955139,
-0.0009042004239745438,
-0.027792735025286674,
0.02294060029089451,
0.11666526645421982,
-0.00965075008571148,
-0.026098055765032768,
-0.05287398397922516,
0.029862025752663612,
0.10489170253276825,
0.017562225461006165,
0.05487192049622536,
-0.03251999616622925,
-0.028024638071656227,
0.029469573870301247,
0.0021083143074065447,
-0.020924825221300125,
0.001841848366893828,
-0.016759483143687248,
-0.034321706742048264,
0.05758340656757355,
-0.069499671459198,
0.025081248953938484,
0.018284693360328674,
0.007032917346805334,
-0.005659335758537054,
-0.036444514989852905,
-0.014565319754183292,
0.06757309287786484,
0.006132062058895826,
0.11509545892477036,
0.0029300106689333916,
-0.03742564469575882,
-0.0033046239987015724,
-0.007875797338783741,
-0.014797222800552845,
0.06300637871026993,
-0.020960502326488495,
0.024260666221380234,
0.027864089235663414,
-0.019729631021618843,
0.05066198110580444,
0.0009198092739097774,
0.007367393467575312,
0.003115087514743209,
-0.0258839912712574,
-0.00670290132984519,
-0.08662485331296921,
-0.004160882905125618,
-0.0062658521346747875,
-0.003540986916050315,
-0.01997937262058258,
0.016429467126727104,
-0.033215705305337906,
-0.03828190639615059,
0.004807536490261555,
-0.029023606330156326,
0.008736515417695045,
0.014288819395005703,
-0.05248153209686279,
-0.001660116366110742,
0.06475457549095154,
-0.057904504239559174,
-0.044025976210832596,
-0.049484625458717346,
-0.009829137474298477,
-0.04388326406478882,
0.031164253130555153,
0.02698999084532261,
0.042384810745716095,
0.062292829155921936,
0.036854807287454605,
-0.0028965631499886513,
0.0010324162431061268,
0.015323464758694172,
-0.025812635198235512,
-0.01706274040043354,
-0.06760876625776291,
-0.006921425461769104,
0.014734786935150623,
-0.02131727710366249,
-0.03185996413230896,
-0.02781057357788086,
-0.04919920489192009,
0.008696379140019417,
-0.02698999084532261,
0.025776958093047142,
0.024849344044923782,
-0.031877800822257996,
-0.06457618623971939,
0.009784541092813015,
0.02056805044412613,
-0.05180365964770317,
-0.034286029636859894,
0.01004320289939642,
-0.05073333531618118,
-0.003993644844740629,
-0.03906681016087532,
0.030290156602859497,
-0.0005426874849945307,
0.05037656053900719,
-0.050554949790239334,
-0.08212949335575104,
-0.010970816016197205,
0.04630933329463005,
0.02272653579711914,
0.0036480193957686424,
0.0012955374550074339,
0.011461380869150162,
-0.01213925238698721,
-0.019890179857611656,
0.0025799255818128586,
-0.019783146679401398,
-0.05019817501306534,
-0.012174930423498154,
-0.025687765330076218,
0.047736428678035736,
0.04891378432512283,
-0.05380159616470337,
0.03856732323765755,
0.06735903024673462,
0.09739944338798523,
0.04855700954794884,
0.058760762214660645,
0.027935443446040154,
-0.032948125153779984,
0.04170694202184677,
-0.05472920835018158,
0.028006799519062042,
-0.021709728986024857,
0.018766339868307114,
-0.039459262043237686,
-0.0051821498200297356,
0.0037059951573610306,
-0.018409565091133118,
0.022851407527923584,
-0.007380772847682238,
0.006765336729586124,
-0.01901608146727085,
-0.002204197458922863,
0.09739944338798523,
0.045131973922252655,
0.03746132180094719,
0.05808288976550102,
0.009873734787106514,
0.011577333323657513,
-0.004972544964402914,
-0.039494939148426056,
0.06475457549095154,
-0.011951945722103119,
0.0013858459424227476,
0.01874850131571293,
0.0171697735786438,
-0.03667641803622246,
-0.0006299300002865493,
-0.03448225557804108,
-0.03164589777588844,
0.016563257202506065,
0.02859547734260559,
0.03464280441403389,
0.0013981100637465715,
0.00892828218638897,
0.02595534548163414,
0.017963595688343048,
-0.02732892706990242,
-0.012317639775574207,
-0.0005970398196950555,
-0.02855980023741722,
-0.024742312729358673,
0.023226020857691765,
-0.0016054853331297636,
-0.027114862576127052,
-0.003786269575357437,
0.01407475396990776,
0.009311814792454243,
-0.06318476796150208,
-0.03906681016087532,
0.014716948382556438,
-0.03307299688458443,
-0.027204057201743126,
0.02258382737636566,
0.001904283999465406,
0.0780622661113739,
-0.0075769987888634205,
0.026651056483387947,
-0.11709339171648026,
-0.01724112778902054,
0.020728599280118942,
0.02406444028019905,
0.02406444028019905,
0.012719010934233665,
-0.0037884993944317102,
-0.06636005640029907,
-0.018320370465517044,
-0.010310783050954342,
-0.02499205432832241,
-0.004493128973990679,
0.02417147345840931,
-0.02131727710366249,
0.04374055564403534,
0.06446915119886398,
0.010105637833476067,
-0.037068869918584824,
0.00846447516232729,
-0.0392095185816288,
-0.0319313183426857,
-0.025741280987858772,
-0.03337625414133072,
-0.032430801540613174,
0.008174596354365349,
-0.013896367512643337,
0.05533572658896446,
0.0008623909088782966,
0.06361289322376251,
-0.034589290618896484,
0.011693284846842289,
-0.02602669969201088,
-0.01589430496096611,
-0.02674024924635887,
0.018998242914676666,
-0.05637037381529808,
0.038745712488889694,
0.02547370083630085,
-0.10667558014392853,
0.010221589356660843,
-0.031021542847156525,
0.03849596902728081,
0.010979735292494297,
-0.008018506690859795,
0.03037934936583042,
-0.03831758350133896,
0.10546254366636276,
0.044989265501499176,
0.004865512251853943,
-0.012076817452907562,
-0.013147140853106976,
0.03724725916981697,
-0.020139921456575394,
0.014449367299675941,
0.013102543540298939,
-0.03735429048538208,
0.062257152050733566,
-0.008183515630662441,
0.028452767059206963,
0.008879225701093674,
0.014360173605382442,
-0.0012955374550074339,
0.020853471010923386,
-0.041492875665426254,
0.03498174250125885,
0.04859268665313721,
0.02128159999847412,
0.009998605586588383,
0.02176324464380741,
-0.0277035403996706,
0.025527216494083405,
0.04067229479551315,
0.04388326406478882,
-0.039744678884744644,
0.02104969695210457,
-0.035374194383621216,
0.04267023131251335,
-0.009472363628447056,
-0.039601970463991165,
-0.025152603164315224,
0.011711123399436474,
-0.0017805277602747083,
-0.03532067686319351,
-0.048628367483615875,
-0.05840398743748665,
0.004771858919411898,
0.02543802186846733,
-0.015207513235509396,
0.04006577655673027,
0.004602391272783279,
0.043276749551296234,
0.026651056483387947,
-0.022958438843488693,
-0.035659611225128174,
-0.056013599038124084,
-0.012861721217632294,
0.07413773983716965,
0.0028408169746398926,
0.010221589356660843,
-0.024260666221380234,
-0.04859268665313721,
-0.03305516019463539,
0.001043007941916585,
0.0331086739897728,
-0.04067229479551315,
0.0625782459974289,
-0.12016165256500244,
-0.027792735025286674,
-0.036854807287454605,
0.0066583044826984406,
-0.03519580513238907,
-0.02629428170621395,
-0.01576051488518715,
0.015814030542969704,
-0.007189006544649601,
-0.02550937794148922,
0.009998605586588383,
0.005538924131542444,
-0.009427766315639019,
-0.02368982695043087,
-0.004517657216638327,
-0.10396409034729004,
-0.06272096186876297,
-0.0590461827814579,
-0.024777989834547043,
-0.034928224980831146,
-0.022369761019945145,
0.06571786850690842,
0.012504946440458298,
-0.05069765821099281,
0.06008082628250122,
-0.027560830116271973,
-0.0187841784209013,
0.03892409801483154,
-0.013307689689099789,
0.03384006395936012,
0.09283272922039032,
-0.013120383024215698,
0.007835660129785538,
0.02684728242456913,
-0.015350223518908024,
-0.039530616253614426,
0.023297375068068504,
0.021995147690176964,
-0.004571173340082169,
-0.03799648582935333,
-0.028863057494163513,
-0.05926024541258812,
-0.007719708606600761,
-0.038710035383701324,
0.019283661618828773,
0.0635058656334877,
0.021959470584988594,
-0.0017325861845165491,
-0.012647656723856926,
0.0004256208485458046,
-0.007768765091896057,
-0.036890484392642975,
-0.01692003197968006,
-0.055157341063022614,
-0.02921983227133751,
-0.00508849648758769,
0.09904060512781143,
-0.02187027782201767,
0.012406833469867706,
-0.04541739448904991,
0.017901161685585976,
-0.03408980369567871,
-0.026151571422815323,
-0.033804383128881454,
-0.014600996859371662,
0.014476126059889793,
-0.04541739448904991,
-0.014716948382556438,
0.02520611882209778,
0.005026061087846756,
-0.012192768976092339,
-0.003375978907570243,
-0.0481288805603981,
-0.04927055910229683,
-0.024938538670539856,
0.03806784003973007,
0.007246982306241989,
0.0024572843685746193,
-0.014012319035828114,
0.007345095276832581,
-0.00930289551615715,
0.015136159025132656,
-0.028524121269583702,
0.026651056483387947,
-0.004807536490261555,
-0.007634974550455809,
-0.031164253130555153,
0.0159924179315567,
0.042456164956092834,
-0.0291128009557724,
0.04659475013613701,
0.02138863131403923,
-0.015947820618748665,
-0.0196047592908144,
-0.012281962670385838,
0.017151935026049614,
0.01266549527645111,
0.01806170865893364,
0.014012319035828114,
-0.012353317812085152,
0.042242102324962616,
-0.04181397333741188,
0.004611310549080372,
0.00658248970285058,
0.06657412648200989,
0.002053683390840888,
-0.05084036663174629,
0.03533851355314255,
0.037818096578121185,
-0.10196615755558014,
0.01881985552608967,
-0.005124174058437347,
-0.0006444239406846464,
-0.02358279563486576,
0.03512445092201233,
0.04213507100939751,
-0.0010714384261518717,
-0.009329653345048428,
-0.017018144950270653,
-0.01964043639600277,
-0.04584552347660065,
-0.06489728391170502,
0.0026624298188835382,
-0.0933322086930275,
0.03000473603606224,
-0.08441285043954849,
0.07139057666063309,
0.009365330450236797,
-0.020336147397756577,
0.008482313714921474,
-0.03285893425345421,
0.006390723399817944,
-0.03856732323765755,
0.018373887985944748,
-0.038781389594078064,
-0.02451040968298912,
0.06100844219326973,
0.0006009420612826943,
-0.004185411147773266,
-0.05929592251777649,
0.005440811160951853,
0.013209575787186623,
0.038710035383701324,
0.06122250482439995,
0.022191373631358147,
-0.002950079273432493,
-0.013423641212284565,
0.006439779885113239,
0.008357442915439606,
-0.0054006739519536495,
0.05198204517364502,
-0.022548148408532143,
-0.07056999951601028,
-0.009722105227410793,
0.028470605611801147,
-0.03293028846383095,
-0.0130311893299222,
-0.011006494052708149,
-0.05087604373693466,
-0.007786603644490242,
-0.07920394092798233,
-0.039601970463991165,
0.028203025460243225,
0.025866152718663216,
0.023457923904061317,
-0.01206789817661047,
-0.05619198456406593,
-0.0034138860646635294,
-0.0010736682452261448,
0.001660116366110742,
0.04909217357635498,
0.033287063241004944,
-0.0005457535153254867,
-0.033554643392562866,
0.013691222295165062,
-0.049591656774282455,
0.029094960540533066,
0.011737881228327751,
-0.021228082478046417,
-0.0034138860646635294,
0.021656213328242302,
-0.024795828387141228,
0.06172199174761772,
-0.00830838643014431,
-0.010310783050954342,
-0.028791703283786774,
-0.009311814792454243,
-0.03450009599328041,
0.05808288976550102,
-0.01788332313299179,
0.013655544258654118,
0.060473278164863586,
0.008990718051791191,
0.020175598561763763
]
|
40,527 | pyglove.core.geno.base | DNASpec | Base class for DNA specifications (genotypes).
A DNASpec object describes the rules and tips for generating a DNA.
* :class:`pyglove.geno.Space`: Represents a space or sub-space, which
contains a list of decision points.
* :class:`pyglove.geno.DecisionPoint`: Represents a concrete decision
point.
Concrete decision points are the following:
* :class:`pyglove.geno.Choices`: Represents a single categorical
choice or multiple related categorical choices. Each candidate
is a sub-space.
* :class:`pyglove.geno.Float`: Represents a continuous float value
within a range.
* :class:`pyglove.geno.CustomDecisionPoint`: Represents the
genotype for a :class:`pyglove.hyper.CustomHyper`.
All `DecisionPoints` provide `hints` for DNA generator as a reference
when generating values, it needs to be serializable to pass between client
and servers.
All DNASpec types allow user to attach their data via `set_userdata`
method, it's aimed to be used within the same process, thus not required to
be serializable.
| class DNASpec(symbolic.Object):
"""Base class for DNA specifications (genotypes).
A DNASpec object describes the rules and tips for generating a DNA.
* :class:`pyglove.geno.Space`: Represents a space or sub-space, which
contains a list of decision points.
* :class:`pyglove.geno.DecisionPoint`: Represents a concrete decision
point.
Concrete decision points are the following:
* :class:`pyglove.geno.Choices`: Represents a single categorical
choice or multiple related categorical choices. Each candidate
is a sub-space.
* :class:`pyglove.geno.Float`: Represents a continuous float value
within a range.
* :class:`pyglove.geno.CustomDecisionPoint`: Represents the
genotype for a :class:`pyglove.hyper.CustomHyper`.
All `DecisionPoints` provide `hints` for DNA generator as a reference
when generating values, it needs to be serializable to pass between client
and servers.
All DNASpec types allow user to attach their data via `set_userdata`
method, it's aimed to be used within the same process, thus not required to
be serializable.
"""
# Override format kwargs for __str__.
__str_format_kwargs__ = dict(
compact=True,
verbose=False,
hide_default_values=True,
hide_missing_values=True
)
# NOTE(daiyip): we disable the symbolic comparison to allow hashing DNASpec
# by object ID, therefore we can use DNASpec objects as the keys for a dict.
# This is helpful when we want to align decision points using DNASpec as
# dictionary key. Users can use `pg.eq`/`pg.ne` for symbolic comparisons
# and `pg.hash` for symbolic hashing.
use_symbolic_comparison = False
def _on_bound(self):
"""Event that is triggered when object is modified."""
super()._on_bound()
self._id = None
self._named_decision_points_cache = None
self._decision_point_by_id_cache = None
self._userdata = AttributeDict()
def _on_path_change(self, old_path, new_path):
"""Event that is triggered when path changes."""
super()._on_path_change(old_path, new_path)
# We invalidate the ID cache and decision_point_by_id cache
# when the ancestor hierarchy changes, which will force the ID and
# the cache to be recomputed upon usage.
self._id = None
self._decision_point_by_id_cache = None
@property
def _decision_point_by_id(self):
"""Returns lazy-loaded ID to decision point mapping."""
if self._decision_point_by_id_cache is None:
cache = {}
for dp in self.decision_points:
if dp.is_categorical and dp.is_subchoice:
parent_key = dp.parent_spec.id
parent_value = cache.get(parent_key, None)
if parent_value is None:
parent_value = []
cache[parent_key] = parent_value
parent_value.append(dp)
else:
cache[dp.id] = dp
self._decision_point_by_id_cache = cache
return self._decision_point_by_id_cache
@property
def _named_decision_points(self):
"""Return lazy-loaded named decision points."""
if self._named_decision_points_cache is None:
named_decision_points = {}
for dp in self.decision_points:
if dp.name is not None:
v = named_decision_points.get(dp.name, None)
if v is None:
named_decision_points[dp.name] = dp
elif isinstance(v, list):
v.append(dp)
else:
named_decision_points[dp.name] = [v, dp]
self._named_decision_points_cache = named_decision_points
return self._named_decision_points_cache
@property
@abc.abstractmethod
def is_space(self) -> bool:
"""Returns True if current node is a sub-space."""
@property
@abc.abstractmethod
def is_categorical(self) -> bool:
"""Returns True if current node is a categorical choice."""
@property
@abc.abstractmethod
def is_subchoice(self) -> bool:
"""Returns True if current node is a subchoice of a multi-choice."""
@property
@abc.abstractmethod
def is_numerical(self) -> bool:
"""Returns True if current node is numerical decision."""
@property
@abc.abstractmethod
def is_custom_decision_point(self) -> bool:
"""Returns True if current node is a custom decision point."""
@abc.abstractmethod
def validate(self, dna: 'DNA') -> bool:
"""Validate whether a DNA value conforms to this spec."""
@property
@abc.abstractmethod
def decision_points(self) -> List['DecisionPoint']:
"""Returns all decision points in their declaration order."""
@property
def decision_ids(self) -> List[object_utils.KeyPath]:
"""Returns decision IDs."""
return list(self._decision_point_by_id.keys())
@property
def named_decision_points(
self) -> Dict[str, Union['DecisionPoint', List['DecisionPoint']]]:
"""Returns all named decision points in their declaration order."""
return self._named_decision_points
@property
@abc.abstractmethod
def space_size(self) -> int:
"""Returns the size of the search space. Use -1 for infinity."""
@abc.abstractmethod
def __len__(self) -> int:
"""Returns the number of decision points."""
def first_dna(self, attach_spec: bool = True) -> 'DNA':
"""Returns the first DNA in the spec."""
return self.next_dna(None, attach_spec)
def next_dna(self,
dna: Optional['DNA'] = None,
attach_spec: bool = True) -> Optional['DNA']:
"""Returns the next DNA in the space represented by this spec.
Args:
dna: The DNA whose next will be returned. If None, `next_dna` will return
the first DNA.
attach_spec: If True, current spec will be attached to the returned DNA.
Returns:
The next DNA or None if there is no next DNA.
"""
dna = self._next_dna(dna)
if attach_spec and dna is not None:
dna.use_spec(self)
return dna
@abc.abstractmethod
def _next_dna(self, dna: Optional['DNA'] = None) -> Optional['DNA']:
"""Next DNA generation logic that should be overridden by subclasses."""
def random_dna(self,
random_generator: Union[types.ModuleType,
random.Random,
None] = None,
attach_spec: bool = True,
previous_dna: Optional['DNA'] = None) -> 'DNA':
"""Returns a random DNA based on current spec.
Args:
random_generator: An optional Random object. If None, the global random
module will be used.
attach_spec: If True, current spec will be attached to the returned DNA.
previous_dna: An optional DNA representing previous DNA. This field might
be useful for generating stateful random DNAs.
Returns:
A random DNA based on current spec.
"""
random_generator = random_generator or random
dna = self._random_dna(random_generator, previous_dna)
if attach_spec:
dna.use_spec(self)
return dna
@abc.abstractmethod
def _random_dna(self,
random_generator: Union[types.ModuleType, random.Random],
previous_dna: Optional['DNA']) -> 'DNA':
"""Random DNA generation logic that should be overridden by subclasses."""
def iter_dna(self, dna: Optional['DNA'] = None, attach_spec: bool = True):
"""Iterate the DNA in the space represented by this spec.
Args:
dna: An optional DNA as the start point (exclusive) for iteration.
attach_spec: If True, the DNASpec will be attached to the DNA returned.
Yields:
The next DNA according to the spec.
"""
while True:
dna = self.next_dna(dna, attach_spec)
if dna is None:
break
yield dna
@property
def parent_spec(self) -> Optional['DNASpec']:
"""Returns parent spec. None if spec is root."""
if self.sym_parent is None:
return None
# NOTE(daiyip):
# For child specs of Space, `self.sym_parent` points to `Space.elements`.
# For child specs of Choices, `self.sym_parent` points to
# `Choices.candidates` or `Choices._subchoice_specs`.
assert self.sym_parent.sym_parent is not None
return self.sym_parent.sym_parent # pytype: disable | (location: pyglove.core.object_utils.value_location.KeyPath = , hints=None) | [
0.039991721510887146,
0.008907542563974857,
-0.043138112872838974,
0.013290791772305965,
0.023912575095891953,
-0.014223859645426273,
-0.03510938957333565,
-0.025453221052885056,
0.03100823052227497,
-0.045828819274902344,
-0.009243881329894066,
0.04674018919467926,
0.023435192182660103,
0.07134713977575302,
-0.05134042724967003,
-0.018259920179843903,
0.01942083053290844,
0.08245715498924255,
-0.025474920868873596,
0.004025211092084646,
-0.03495749458670616,
0.055940669029951096,
-0.035760365426540375,
0.0027802165132015944,
-0.0208855289965868,
0.027905236929655075,
0.004418510012328625,
0.0113053098320961,
-0.043637193739414215,
-0.004407660569995642,
0.006634545978158712,
-0.07507941126823425,
-0.006422978360205889,
0.008289113640785217,
0.0058533730916678905,
-0.05524629354476929,
0.003135541919618845,
0.07599078118801117,
-0.0911368578672409,
0.03465370461344719,
-0.025192830711603165,
-0.018813250586390495,
0.011370407417416573,
-0.047868549823760986,
-0.03717081621289253,
0.006612847093492746,
-0.00381635595113039,
0.0604541152715683,
-0.05207820236682892,
-0.05459531769156456,
0.03484899923205376,
-0.06314481794834137,
0.006054091267287731,
0.02282761223614216,
-0.013692227192223072,
0.040946487337350845,
0.0005665539065375924,
0.06153907626867294,
0.07507941126823425,
0.00024835471413098276,
0.03289606422185898,
0.017891032621264458,
-0.0009093342814594507,
-0.09981655329465866,
-0.017316002398729324,
0.0018390115583315492,
-0.021569056436419487,
-0.03962283208966255,
-0.013920069672167301,
0.016882017254829407,
-0.037257615476846695,
-0.041185177862644196,
0.07078295946121216,
0.02580041065812111,
0.04207484796643257,
-0.04765155538916588,
-0.0013636623043566942,
-0.03074784018099308,
0.09165763854980469,
-0.07195471972227097,
-0.019475078210234642,
0.002686638617888093,
-0.031312018632888794,
-0.06566193699836731,
-0.028339222073554993,
0.042617328464984894,
0.04203144833445549,
0.00944459903985262,
0.04283432289958,
-0.010084726847708225,
-0.01797783002257347,
0.0003249801811762154,
0.02241532690823078,
0.06887342035770416,
-0.010166099295020103,
0.027341056615114212,
0.040425706654787064,
-0.057372819632291794,
0.011728445068001747,
-0.0002276726154377684,
-0.03124692291021347,
0.02386917732656002,
-0.04402778297662735,
0.05285937711596489,
-0.05975973978638649,
-0.01946422830224037,
-0.05954274535179138,
0.032136593014001846,
0.013290791772305965,
-0.018129725009202957,
-0.15276272594928741,
0.019540175795555115,
0.03682363033294678,
-0.010800802148878574,
-0.006276508327573538,
-0.010996095836162567,
-0.02458525262773037,
-0.02996666543185711,
-0.035825464874506,
-0.034306515008211136,
0.006645395886152983,
0.005685203708708286,
-0.08406289666891098,
0.05416133254766464,
-0.02012605592608452,
0.015352220274508,
0.012053933925926685,
0.029597779735922813,
-0.04287772253155708,
-0.010111851617693901,
0.04305131360888481,
0.029576079919934273,
-0.000605544715654105,
0.0640127882361412,
0.04838933050632477,
0.022567221894860268,
-0.01351863332092762,
-0.032353583723306656,
-0.07494921237230301,
0.034328214824199677,
0.033091358840465546,
-0.04678358510136604,
0.06370900571346283,
-0.04530803859233856,
-0.0028236149810254574,
-0.006298207677900791,
-0.038971856236457825,
-0.04333340376615524,
-0.05728602409362793,
-0.023456890136003494,
-0.03222338855266571,
-0.0016491430578753352,
0.024672048166394234,
0.016100844368338585,
-0.03144221380352974,
0.0063199070282280445,
-0.05190460756421089,
-0.035304680466651917,
-0.009292704053223133,
-0.023717282339930534,
-0.06804884970188141,
-0.06791865825653076,
-0.016513129696249962,
0.025257928296923637,
-0.0104427644982934,
0.0023557250387966633,
-0.02508433535695076,
-0.08462707698345184,
0.005782850552350283,
0.009547670371830463,
-0.009862309321761131,
-0.017337702214717865,
-0.04669678956270218,
0.017305152490735054,
-0.0644901767373085,
0.04526463896036148,
0.029163794592022896,
0.015590911731123924,
0.030704440549016,
-0.023218199610710144,
0.03523958474397659,
-0.02853451482951641,
-0.0797230526804924,
0.02090722881257534,
0.006363305263221264,
0.002066853689029813,
0.014299807138741016,
0.025149432942271233,
0.07620777189731598,
0.041662562638521194,
-0.029597779735922813,
0.00313011696562171,
0.015807904303073883,
0.030444050207734108,
0.03254887834191322,
-0.02358708716928959,
0.00021224580996204168,
0.017391949892044067,
-0.04430987313389778,
0.05993333086371422,
0.0030921432189643383,
-0.008202317170798779,
-0.0095802191644907,
-0.011251062154769897,
-0.03001006506383419,
0.04404947906732559,
-0.010350543074309826,
0.020310498774051666,
-0.023456890136003494,
-0.030661042779684067,
-0.049300700426101685,
-0.011468054726719856,
0.021948792040348053,
-0.016165941953659058,
0.04825913533568382,
-0.10285445302724838,
0.039232246577739716,
0.0022011178079992533,
0.014614446088671684,
-0.017359402030706406,
0.04595901444554329,
-0.00959106907248497,
0.018617957830429077,
0.0016220189863815904,
0.003618350252509117,
-0.030856335535645485,
0.00994368176907301,
0.025908906012773514,
0.00737774558365345,
-0.02506263554096222,
0.0196920707821846,
-0.050472456961870193,
0.04404947906732559,
-0.027905236929655075,
0.07586058229207993,
0.007209576200693846,
0.00656944839283824,
0.021992191672325134,
-0.0456986241042614,
0.04300791770219803,
-0.05559348315000534,
0.030812937766313553,
-0.00743199372664094,
-0.006781016010791063,
-0.023999372497200966,
0.010431915521621704,
0.05311976745724678,
0.026668379083275795,
-0.005012527108192444,
-0.048519525676965714,
0.023218199610710144,
-0.07629457116127014,
-0.028686409816145897,
0.0076489862985908985,
-0.0329611636698246,
-0.043376803398132324,
-0.039470937103033066,
0.0064880759455263615,
0.05429152771830559,
-0.007779181469231844,
0.00023648793285246938,
0.0054112509824335575,
-0.05407453328371048,
0.06492415815591812,
-0.016784371808171272,
0.036519840359687805,
0.00933610275387764,
0.009650741703808308,
-0.030552545562386513,
-0.0006492823013104498,
0.039232246577739716,
0.05008187144994736,
-0.027926936745643616,
0.013496934436261654,
-0.017305152490735054,
0.010296294465661049,
0.019616123288869858,
-0.007507941219955683,
-0.04138047248125076,
0.00048077403334900737,
-0.010789953172206879,
0.000760151888243854,
0.015634311363101006,
0.0452212393283844,
-0.03022705763578415,
-0.03374233469367027,
-0.013106347993016243,
0.0226106196641922,
0.01351863332092762,
0.02013690583407879,
-0.004662626422941685,
0.012108182534575462,
0.04765155538916588,
0.016122544184327126,
0.07052256911993027,
0.01795613020658493,
-0.029901567846536636,
-0.021796898916363716,
-0.019355732947587967,
-0.02974967285990715,
0.0540311373770237,
-0.001891903462819755,
0.08549504727125168,
0.03734441101551056,
-0.07356046140193939,
-0.02037559635937214,
0.04174935817718506,
-0.013898370787501335,
0.025279628112912178,
0.007513365708291531,
-0.01668672449886799,
0.05064605176448822,
0.03523958474397659,
0.11083977669477463,
0.012780859135091305,
-0.05281597748398781,
-0.0226106196641922,
-0.05255558714270592,
0.08054762333631516,
0.08684040606021881,
-0.07369066029787064,
0.05207820236682892,
-0.04003511741757393,
0.0034366189502179623,
0.025453221052885056,
-0.011565701104700565,
0.013952618464827538,
0.041662562638521194,
0.01670842431485653,
0.015645159408450127,
-0.05793699994683266,
-0.0145167987793684,
-0.008809896185994148,
0.04355039820075035,
0.0008367773843929172,
0.02849111706018448,
0.003574951784685254,
-0.030661042779684067,
0.03226678818464279,
-0.061799466609954834,
0.03437161445617676,
0.008549504913389683,
-0.030639342963695526,
-0.009493422694504261,
0.046132609248161316,
-0.07030557096004486,
0.04739116504788399,
-0.008299963548779488,
-0.006417553406208754,
0.04604580998420715,
-0.016296137124300003,
0.04483065381646156,
0.024389958009123802,
0.03144221380352974,
0.03222338855266571,
-0.031832803040742874,
-0.006498925853520632,
0.020701086148619652,
-0.05138382688164711,
-0.01180439256131649,
0.04053420200943947,
-0.02727595902979374,
-0.040447406470775604,
0.015623461455106735,
-0.01254216767847538,
-0.05147062614560127,
-0.03979642689228058,
-0.006574873346835375,
0.04986488074064255,
-0.05359715223312378,
-0.00003254887633374892,
-0.040729496628046036,
-0.02356538735330105,
-0.03346024453639984,
0.01537392009049654,
0.0017562831053510308,
0.02408616989850998,
0.01083335094153881,
-0.022740814834833145,
-0.00042822115938179195,
0.019800566136837006,
0.0228493120521307,
-0.0016816919669508934,
0.1013789027929306,
-0.03293946385383606,
-0.05485570803284645,
0.06349200755357742,
0.040924787521362305,
0.012010535225272179,
0.0018620670307427645,
0.03020535781979561,
-0.02634289115667343,
0.012878505513072014,
0.02241532690823078,
-0.029684575274586678,
-0.049561090767383575,
-0.0017481459071859717,
-0.0002705625374801457,
-0.061582475900650024,
-0.010138975456357002,
0.02775334194302559,
-0.03712742030620575,
0.022523822262883186,
0.016068296507000923,
0.012357723899185658,
-0.02412956766784191,
0.10103171318769455,
0.014006867073476315,
-0.04279092326760292,
0.06127868592739105,
-0.0182056725025177,
0.012585565447807312,
-0.032787568867206573,
-0.0044022356159985065,
0.00787682831287384,
-0.030878035351634026,
0.027731643989682198,
0.028382621705532074,
0.03541317954659462,
0.0026757889427244663,
0.04029551148414612,
-0.0208855289965868,
0.015037581324577332,
0.06483736634254456,
0.027189161628484726,
0.030075162649154663,
0.010176949203014374,
0.05094984173774719,
-0.0359339602291584,
0.003363383933901787,
0.0040930211544036865,
0.019616123288869858,
-0.02953268028795719,
-0.06310142576694489,
0.014213009737432003,
-0.028426019474864006,
-0.048302534967660904,
-0.03270077332854271,
-0.004269327502697706,
0.00923845637589693,
-0.017641492187976837,
0.03955773636698723,
0.03413292393088341,
0.01940998062491417,
0.007925651967525482,
0.028946802020072937,
0.003688872791826725,
0.007242124993354082,
0.01094184722751379,
-0.049300700426101685,
0.05281597748398781,
-0.006585722789168358,
0.07911547273397446,
0.010600084438920021,
-0.0654449388384819,
0.003086718497797847,
0.011793543584644794,
-0.030161960050463676,
-0.01792358234524727,
0.024693747982382774,
0.003653611522167921,
0.009233031421899796,
0.03241868317127228,
0.0001396041625412181,
-0.03337344899773598,
0.07603417336940765,
0.023760680109262466,
0.027341056615114212,
-0.07468882203102112,
-0.013854972086846828,
0.03024875558912754,
0.018335867673158646,
0.0258221086114645,
-0.050559256225824356,
-0.03463200479745865,
-0.021753499284386635,
0.018379265442490578,
-0.02825242467224598,
-0.0540311373770237,
-0.05607086420059204,
0.05407453328371048,
-0.04530803859233856,
0.021352063864469528,
0.017630642279982567,
-0.021514806896448135,
0.0023977672681212425,
0.02365218475461006,
0.015623461455106735,
-0.04398438334465027,
-0.004689750727266073,
-0.07421144098043442,
-0.007616437040269375,
-0.00969956535845995,
-0.009704990312457085,
0.0006428403430618346,
0.03198469802737236,
0.06505435705184937,
-0.03769160062074661,
0.042899418622255325,
-0.08419309556484222,
-0.024455055594444275,
-0.025171130895614624,
-0.01524372398853302,
-0.007101079914718866,
0.06349200755357742,
-0.003688872791826725,
-0.0704357698559761,
0.008234865963459015,
-0.04098988696932793,
0.0020614289678633213,
0.018270770087838173,
-0.02577871084213257,
0.08922731876373291,
-0.026863673701882362,
0.023413492366671562,
0.04031720757484436,
0.028903402388095856,
-0.024194665253162384,
-0.03756140545010567,
-0.03569526970386505,
-0.020082656294107437,
-0.028143929317593575,
0.01096354704350233,
-0.023283297196030617,
0.03215828910470009,
0.008283689618110657,
-0.023695582523941994,
-0.0044130850583314896,
0.008527806028723717,
-0.019551025703549385,
0.035565074533224106,
-0.006482651457190514,
0.04621940478682518,
0.07290948182344437,
0.004887756425887346,
0.025974003598093987,
0.055202893912792206,
0.010638058185577393,
0.013996017165482044,
0.02363048493862152,
0.0502120666205883,
-0.0019814129918813705,
0.007697809487581253,
0.0024927014019340277,
0.04372399300336838,
-0.03300455957651138,
0.031355418264865875,
-0.030161960050463676,
0.0035532524343580008,
0.025691913440823555,
0.003596650902181864,
-0.02384747751057148,
0.002961947815492749,
-0.017120709642767906,
0.035348080098629,
-0.020017558708786964,
0.027861839160323143,
-0.005115598440170288,
0.025995703414082527,
0.016523979604244232,
-0.019540175795555115,
-0.01700136438012123,
0.01890004798769951,
-0.08380250632762909,
0.07356046140193939,
0.027905236929655075,
-0.0022933396976441145,
0.006981734186410904,
0.012618114240467548,
-0.023218199610710144,
0.0272542592138052,
0.030422350391745567,
-0.007600162643939257,
0.02608250081539154,
-0.061365481466054916,
0.0262994933873415,
-0.04752136021852493,
0.022437026724219322,
-0.033764034509658813,
-0.03903695195913315,
0.02208983711898327,
0.03202809393405914,
0.01696881465613842,
-0.03222338855266571,
0.016892867162823677,
0.03100823052227497,
-0.00797447469085455,
0.06153907626867294,
0.005625531077384949,
-0.05980313569307327,
-0.04376738891005516,
-0.0006001199362799525,
-0.016372084617614746,
-0.03983982652425766,
-0.01181524246931076,
0.05502930283546448,
-0.012064783833920956,
-0.027840139344334602,
0.01119681354612112,
-0.06470716744661331,
-0.024194665253162384,
0.0447438582777977,
0.023413492366671562,
0.02504093572497368,
0.06327501684427261,
0.024997537955641747,
0.014929085038602352,
-0.03493579477071762,
-0.026494786143302917,
-0.0466533899307251,
0.0023014768958091736,
0.02161245420575142,
-0.00418253056704998,
-0.05390094220638275,
-0.017359402030706406,
-0.0775965228676796,
-0.04183615744113922,
-0.00021716204355470836,
0.017305152490735054,
0.008370486088097095,
-0.014462551102042198,
-0.008082970976829529,
-0.017316002398729324,
0.006509775295853615,
-0.047087375074625015,
-0.04114178195595741,
0.007242124993354082,
-0.047868549823760986,
0.02727595902979374,
-0.017066461965441704,
0.0403389073908329,
0.022306829690933228,
-0.03780009597539902,
-0.018129725009202957,
0.013822423294186592,
0.0009629043051972985,
0.03786519542336464,
-0.003265737323090434,
-0.012216678820550442,
0.07199811935424805,
-0.03762650117278099,
-0.03202809393405914,
-0.041445571929216385,
0.04938749596476555,
-0.0442664735019207,
-0.0012226172257214785,
-0.005329878535121679,
-0.010855050757527351,
0.03293946385383606,
0.03912375122308731,
-0.022176634520292282,
0.04153236746788025,
-0.04739116504788399,
-0.07833429425954819,
0.03372063487768173,
0.01893259771168232,
0.0009622261859476566,
0.021482259035110474,
-0.01769573986530304,
0.04283432289958,
0.017391949892044067,
0.017283454537391663,
0.008826170116662979,
-0.045394834131002426,
0.00565265491604805,
0.02143886126577854,
0.01412621233612299,
-0.0007567614084109664,
0.020549191161990166,
0.06054091081023216,
-0.02432486042380333,
-0.030444050207734108,
0.01363797951489687,
-0.012346873991191387,
-0.004033348523080349,
-0.028078831732273102,
0.0230880044400692,
0.046870384365320206,
0.03977472707629204,
-0.010822501964867115,
0.03597735986113548,
0.04329000785946846,
-0.004347987473011017,
-0.06214665621519089,
0.009352377615869045,
-0.014668693765997887,
0.0594993457198143,
-0.03810388594865799,
0.0031409666407853365,
-0.05785020440816879,
-0.021026574075222015,
-0.023934274911880493,
0.033785734325647354,
-0.013920069672167301,
-0.0026039101649075747,
-0.035304680466651917,
-0.04543823376297951,
-0.022914409637451172,
0.011099167168140411,
-0.02510603331029415,
0.041727662086486816,
-0.0008957722457125783,
-0.004917592741549015,
0.035304680466651917,
0.002073634648695588,
0.033091358840465546,
-0.050515856593847275,
0.033091358840465546,
0.06488075852394104,
-0.03942754119634628,
0.037018921226263046,
0.08302133530378342,
-0.0020017558708786964,
-0.023999372497200966,
-0.014234708622097969,
-0.022675717249512672,
0.023304995149374008,
0.060627710074186325,
-0.021232716739177704,
0.0016721985302865505,
-0.023782379925251007,
0.0002800559741444886,
0.09530311077833176,
-0.0057720011100173,
-0.015059280209243298,
0.0640127882361412,
0.0023055453784763813,
-0.02093977853655815,
-0.007187876850366592,
-0.024194665253162384,
-0.005481773521751165,
0.05832758918404579,
-0.05281597748398781,
-0.0040469104424119,
-0.03693212568759918,
-0.05980313569307327,
0.004185243044048548,
0.0039601135067641735,
-0.02044069394469261,
0.029641177505254745,
-0.06119189038872719,
0.031377118080854416,
-0.02360878512263298,
-0.012585565447807312,
-0.005571282934397459,
0.040447406470775604,
-0.015536664053797722,
0.011522302404046059,
0.035499975085258484,
-0.05581047385931015,
0.0678318589925766,
0.003962825983762741,
0.004429359920322895,
0.023022904992103577,
0.04146726801991463,
0.0020085370633751154,
0.013301640748977661,
0.01842266507446766,
0.005150859709829092,
-0.06197306141257286,
-0.029359087347984314,
-0.026386288926005363,
0.03671513497829437,
0.006970884744077921,
-0.00675931666046381,
-0.003420344553887844,
-0.04059929773211479,
0.022979507222771645
]
|
40,533 | pyglove.core.geno.base | __getitem__ | Get decision point(s) by name or ID . | def __getitem__(
self,
name_or_id: Union[object_utils.KeyPath, str]
) -> Union['DecisionPoint', List['DecisionPoint']]:
"""Get decision point(s) by name or ID ."""
v = self._named_decision_points.get(name_or_id, None)
if v is None:
v = self._decision_point_by_id[name_or_id]
return v
| (self, name_or_id: Union[pyglove.core.object_utils.value_location.KeyPath, str]) -> Union[pyglove.core.geno.base.DecisionPoint, List[pyglove.core.geno.base.DecisionPoint]] | [
0.054641515016555786,
-0.06396880745887756,
-0.022657109424471855,
-0.011042661033570766,
-0.0003743984561879188,
-0.011319620534777641,
0.04606468975543976,
-0.0020917176734656096,
0.09377327561378479,
0.02624865435063839,
0.0019733395893126726,
-0.004467095714062452,
0.0402395986020565,
-0.03727344796061516,
-0.028660885989665985,
0.0021631910931319,
0.03273487836122513,
0.0571073517203331,
-0.08355256170034409,
0.023353977128863335,
0.04470669478178024,
0.011435764841735363,
0.05496314540505409,
-0.028875306248664856,
0.008299863897264004,
0.029161201789975166,
0.07140205800533295,
0.015063046477735043,
-0.034325163811445236,
-0.023782817646861076,
-0.030429856851696968,
0.01858311891555786,
-0.05521330237388611,
0.05031736567616463,
-0.03470040112733841,
0.07361773401498795,
0.04281264543533325,
0.0406327024102211,
0.07569047063589096,
0.004335316363722086,
-0.038023918867111206,
0.013615707866847515,
-0.024175921455025673,
-0.03511137142777443,
-0.08848423510789871,
-0.009434506297111511,
-0.029286280274391174,
-0.00424150750041008,
0.028464334085583687,
-0.03611200302839279,
0.011819935403764248,
-0.03259193152189255,
-0.032216694205999374,
-0.013142195530235767,
0.014026680961251259,
-0.013919469900429249,
0.019422931596636772,
0.08884160220623016,
0.014107088558375835,
0.049531158059835434,
0.022585636004805565,
-0.04027533531188965,
0.013910535722970963,
0.005985908210277557,
-0.006240532733500004,
-0.04334869608283043,
0.03512924164533615,
0.008567889221012592,
-0.0699368491768837,
0.017787974327802658,
0.023264635354280472,
-0.016644397750496864,
-0.02596276067197323,
-0.011221344582736492,
0.012364921160042286,
0.01266868319362402,
-0.0037076894659549,
0.0006086417706683278,
0.0769055187702179,
0.026069970801472664,
-0.05317630618810654,
-0.011292818002402782,
-0.05482019856572151,
-0.02903612144291401,
-0.02624865435063839,
-0.004654713906347752,
0.007410911843180656,
-0.049423947930336,
0.004980811849236488,
0.011971816420555115,
0.014008812606334686,
-0.004324148874729872,
-0.043670326471328735,
0.0276423878967762,
-0.0000026087141122843605,
-0.015331072732806206,
0.052747465670108795,
-0.025676866993308067,
-0.03164490684866905,
0.07333184033632278,
-0.006227131467312574,
-0.010167109780013561,
0.016510386019945145,
0.032359641045331955,
-0.033485349267721176,
-0.043527379631996155,
-0.023300372064113617,
0.04109727963805199,
0.012034355662763119,
-0.030001014471054077,
-0.02680257521569729,
0.06443338841199875,
-0.010506609454751015,
0.012275579385459423,
-0.03237751126289368,
-0.011605515144765377,
-0.01668013632297516,
-0.0347718745470047,
-0.1076391413807869,
0.007772746495902538,
-0.04488537833094597,
0.0035491075832396746,
-0.013919469900429249,
0.05356941372156143,
-0.03855996951460838,
-0.0024010639172047377,
-0.0318414568901062,
-0.018458040431141853,
-0.01885114423930645,
-0.023211030289530754,
0.08812686800956726,
-0.02095961384475231,
-0.045421428978443146,
-0.007790614850819111,
-0.006155658047646284,
0.0261771809309721,
0.05217567831277847,
0.042348068207502365,
-0.003897540969774127,
0.044313590973615646,
0.02540883980691433,
-0.03484334796667099,
-0.038917336612939835,
0.02778533473610878,
-0.0008465146529488266,
-0.02338971383869648,
0.009005664847791195,
0.010435136035084724,
-0.001615971908904612,
0.00015676714247092605,
-0.0559995137155056,
0.03182359039783478,
0.006432618014514446,
-0.009157545864582062,
-0.03198440372943878,
-0.049423947930336,
-0.02737436257302761,
-0.03702329099178314,
0.004413490649312735,
0.0003355905646458268,
-0.006110987160354853,
-0.0552847757935524,
-0.007955897599458694,
0.004641312640160322,
0.013910535722970963,
-0.015125585719943047,
-0.04149038344621658,
0.008210522122681141,
0.04810168594121933,
0.04956689476966858,
0.009407703764736652,
0.012472131289541721,
-0.05778634920716286,
0.03071575053036213,
-0.031251803040504456,
-0.013419155962765217,
-0.014392982237040997,
0.01473248191177845,
0.07847793400287628,
-0.07418952882289886,
0.04867347329854965,
0.01738593727350235,
-0.07354626059532166,
0.005485593341290951,
0.0005380058428272605,
0.015545492991805077,
0.012749090790748596,
0.06825722008943558,
-0.020066194236278534,
0.0673995390534401,
-0.028249913826584816,
-0.03748786821961403,
0.030465593561530113,
0.031108854338526726,
-0.006213730201125145,
0.02960791066288948,
-0.00715628731995821,
-0.011659120209515095,
-0.03420008346438408,
0.007334971334785223,
0.06929358839988708,
-0.012355986982584,
-0.02031635120511055,
0.06757822632789612,
-0.04370606318116188,
0.07876383513212204,
0.05907287448644638,
0.019726695492863655,
-0.026641758158802986,
0.008853783831000328,
-0.039703547954559326,
-0.007692338898777962,
-0.014929033815860748,
0.030072487890720367,
0.05850108712911606,
-0.013338747434318066,
-0.05667851120233536,
-0.05678572133183479,
0.03030477650463581,
0.03607626631855965,
0.051639627665281296,
-0.03838128596544266,
0.08541087061166763,
0.08919896930456161,
0.0688290074467659,
-0.0537838339805603,
-0.032216694205999374,
-0.012409592047333717,
-0.026069970801472664,
-0.015214928425848484,
0.05392678081989288,
-0.04334869608283043,
0.022246137261390686,
-0.09141464531421661,
0.012722288258373737,
-0.0004849590768571943,
-0.02658815309405327,
0.002248066011816263,
-0.0023184227757155895,
0.04070417582988739,
-0.0020470465533435345,
0.021799426525831223,
0.001591402804479003,
0.03838128596544266,
-0.03037625178694725,
0.020369956269860268,
0.009818676859140396,
0.008281995542347431,
-0.022103190422058105,
-0.03663018345832825,
0.054570041596889496,
0.0021966942586004734,
0.008491949178278446,
-0.00806757528334856,
-0.022299742326140404,
-0.0505317859351635,
-0.05807224288582802,
-0.01634063571691513,
0.04195496439933777,
0.005163962487131357,
-0.0647907555103302,
0.05231862515211105,
-0.0005768137634731829,
0.0312875397503376,
-0.04574305936694145,
0.0019286685856059194,
0.024890657514333725,
0.011525106616318226,
-0.02989380434155464,
0.0033145849592983723,
0.008331133984029293,
0.01141789648681879,
0.006280736532062292,
-0.0001534168259240687,
0.03237751126289368,
-0.03085869736969471,
0.013946272432804108,
0.04309853911399841,
-0.0819801390171051,
0.035164978355169296,
0.015268533490598202,
0.005597271025180817,
-0.029214806854724884,
0.053998254239559174,
-0.06768543273210526,
-0.04592174291610718,
0.009595321491360664,
-0.01899409107863903,
0.002445734804496169,
0.015688439831137657,
-0.0004045513633172959,
0.03475400432944298,
-0.02408657968044281,
0.004051655996590853,
-0.024247394874691963,
0.05264025554060936,
-0.020816665142774582,
-0.03373550623655319,
0.03813112899661064,
0.008715303614735603,
0.027749598026275635,
-0.01242746040225029,
0.02129911258816719,
-0.03364616632461548,
-0.03275274485349655,
-0.004216938279569149,
0.03607626631855965,
-0.017573554068803787,
0.008013969287276268,
0.0002663505729287863,
-0.024801315739750862,
-0.05031736567616463,
-0.013276208192110062,
0.0399179682135582,
-0.01779690943658352,
-0.025676866993308067,
-0.038023918867111206,
-0.00649515725672245,
0.04141891002655029,
0.060073502361774445,
-0.06350423395633698,
0.0026288859080523252,
-0.04470669478178024,
-0.0025149749126285315,
0.04141891002655029,
-0.012320250272750854,
-0.03931044414639473,
-0.031251803040504456,
0.006419216748327017,
0.08962780982255936,
-0.04824463278055191,
-0.028571544215083122,
0.012248776853084564,
0.025819813832640648,
0.008943125605583191,
0.0007409795070998371,
-0.004011451732367277,
0.08691181242465973,
0.031323276460170746,
0.009099474176764488,
0.011605515144765377,
-0.03863144293427467,
-0.01151617243885994,
0.05006720870733261,
0.0523543618619442,
0.034736137837171555,
0.05374809727072716,
0.023300372064113617,
0.0600377656519413,
-0.02430099993944168,
-0.07418952882289886,
-0.026641758158802986,
0.013276208192110062,
-0.007728075608611107,
0.0008325549424625933,
0.009336230345070362,
0.015241730958223343,
0.01264188066124916,
-0.021763689815998077,
-0.019154906272888184,
0.07697699218988419,
-0.06253933906555176,
-0.03838128596544266,
-0.013812259770929813,
-0.06100266054272652,
-0.017698632553219795,
0.006450486369431019,
0.002259233733639121,
0.013490629382431507,
-0.04413490742444992,
-0.05038883909583092,
0.011846737936139107,
-0.05842961370944977,
-0.022013848647475243,
-0.001983390422537923,
-0.0024792382027953863,
0.08026477694511414,
0.009416637942194939,
0.04449227452278137,
-0.024801315739750862,
0.01348169520497322,
-0.012516802176833153,
0.03520071506500244,
0.09613189846277237,
-0.03400353342294693,
-0.01863672398030758,
-0.06311112642288208,
-0.004038254730403423,
0.0395248644053936,
0.012883104383945465,
0.02010193094611168,
-0.015590163879096508,
-0.02276431955397129,
0.013865864835679531,
-0.01634063571691513,
-0.02862514927983284,
0.06200328841805458,
-0.029375622048974037,
-0.06039513275027275,
0.026069970801472664,
0.0173055287450552,
0.048280369490385056,
-0.030930170789361,
0.04124022647738457,
-0.029554305598139763,
-0.010310056619346142,
0.04449227452278137,
0.053033359348773956,
-0.05349793657660484,
0.013276208192110062,
0.04009665176272392,
0.03227030113339424,
0.005423054099082947,
-0.0487092100083828,
-0.02283579297363758,
0.06689922511577606,
-0.0009978375164791942,
0.07897825539112091,
-0.01026538573205471,
-0.0039243437349796295,
0.009175414219498634,
-0.040382545441389084,
-0.021102560684084892,
-0.003274381160736084,
0.0000877365528140217,
0.008076509460806847,
0.03318158537149429,
0.028607280924916267,
0.029375622048974037,
-0.01676947809755802,
-0.042419541627168655,
-0.025641130283474922,
0.023121686652302742,
-0.040954332798719406,
0.0476013720035553,
-0.0016137383645400405,
-0.016778411343693733,
-0.003258746350184083,
0.0071741556748747826,
-0.012981380335986614,
0.02228187397122383,
0.01773436926305294,
-0.016796279698610306,
-0.0017935389187186956,
-0.04334869608283043,
-0.03107311762869358,
-0.02305021323263645,
-0.009380901232361794,
0.0026489878073334694,
-0.09327296167612076,
0.061467237770557404,
0.024944262579083443,
0.09613189846277237,
0.01877967081964016,
0.04266969859600067,
0.003743426175788045,
-0.0710446909070015,
-0.004357651807367802,
0.046314846724271774,
0.019601615145802498,
-0.028660885989665985,
0.014375113882124424,
0.02658815309405327,
-0.0435631163418293,
-0.016251293942332268,
0.0020470465533435345,
0.009648926556110382,
0.0008632662356831133,
0.024944262579083443,
-0.03570102900266647,
0.0097025316208601,
-0.008849316276609898,
0.0015657170442864299,
-0.02925054356455803,
-0.04266969859600067,
0.016233425587415695,
0.028249913826584816,
0.003935511223971844,
-0.004770858213305473,
0.008456212468445301,
0.026445206254720688,
-0.07172369211912155,
0.0034351965878158808,
-0.02221040055155754,
-0.0311267226934433,
-0.04399195685982704,
-0.044313590973615646,
0.08762654662132263,
-0.07229547947645187,
-0.043598853051662445,
0.021334849298000336,
-0.007687871810048819,
-0.03723771125078201,
0.007772746495902538,
-0.020906008780002594,
-0.018458040431141853,
0.04002517834305763,
-0.035075634717941284,
0.017341265454888344,
0.005521330516785383,
0.01801132969558239,
-0.008987796492874622,
0.035164978355169296,
-0.01646571420133114,
0.05067473277449608,
-0.04910231754183769,
0.007089280989021063,
0.03938191756606102,
-0.01786838285624981,
-0.004304046742618084,
-0.017117910087108612,
-0.03475400432944298,
0.009863347746431828,
-0.018064934760332108,
0.03791670873761177,
0.05549919605255127,
0.020209141075611115,
0.043598853051662445,
-0.0797644630074501,
-0.010908647440373898,
0.04477816820144653,
-0.01829722337424755,
0.022514162585139275,
0.018118539825081825,
0.01348169520497322,
0.031180327758193016,
-0.06386160105466843,
-0.054712988436222076,
-0.027981888502836227,
0.04109727963805199,
0.007844219915568829,
-0.04963836818933487,
-0.04202643781900406,
0.05850108712911606,
-0.03763081505894661,
0.01815427653491497,
-0.04349164292216301,
0.0009743852424435318,
-0.05285467579960823,
0.039417654275894165,
0.056035250425338745,
0.012945643626153469,
0.02919693849980831,
-0.02689191699028015,
0.04938821122050285,
-0.04713679477572441,
-0.052390098571777344,
0.008005035109817982,
0.03457532078027725,
0.024426080286502838,
0.06243212893605232,
-0.02381855435669422,
0.0030108224600553513,
-0.021978110074996948,
0.01350849773734808,
0.009434506297111511,
-0.05342646315693855,
-0.01738593727350235,
-0.039060283452272415,
-0.01103372685611248,
0.0025730470661073923,
-0.01815427653491497,
0.07876383513212204,
0.010721029713749886,
0.022031717002391815,
-0.02297873981297016,
-0.042562488466501236,
-0.05796503275632858,
0.04517127200961113,
-0.07583341747522354,
0.02079879678785801,
0.011453633196651936,
-0.005641941912472248,
0.03296716511249542,
-0.026445206254720688,
0.017618225887417793,
0.022782187908887863,
-0.011024792678654194,
-0.04488537833094597,
0.01702856831252575,
-0.030036751180887222,
0.029304148629307747,
0.03663018345832825,
-0.02555178664624691,
-0.005119291599839926,
0.02088814042508602,
-0.000035666966141434386,
-0.009729334153234959,
0.04524274542927742,
0.007276898715645075,
-0.015813518315553665,
-0.04810168594121933,
0.021870899945497513,
0.04699384793639183,
0.012087960727512836,
0.032288167625665665,
-0.025051472708582878,
0.021388454362750053,
0.006928465329110622,
-0.04595747962594032,
-0.021888768300414085,
-0.006861458998173475,
0.04420638084411621,
-0.010426201857626438,
0.019565878435969353,
0.03282421827316284,
-0.01487542875111103,
-0.0013356616254895926,
0.021674348041415215,
-0.032842088490724564,
0.011802067048847675,
-0.010533411987125874,
0.03616560623049736,
0.01605474203824997,
-0.008692968636751175,
-0.03394992649555206,
0.060788240283727646,
0.03457532078027725,
-0.0346110574901104,
0.006722979247570038,
-0.05203273147344589,
-0.01117667369544506,
-0.018243618309497833,
0.05360515043139458,
-0.028106966987252235,
-0.09698957949876785,
0.052747465670108795,
-0.07769172638654709,
0.027606651186943054,
0.010381530039012432,
0.02115616574883461,
0.04845905303955078,
-0.01525066513568163,
-0.029572173953056335,
-0.05467725172638893,
0.03153769671916962,
0.03296716511249542,
-0.02848220244050026,
-0.00228603626601398,
0.042276594787836075,
-0.02422952651977539,
0.049745578318834305,
-0.010524477809667587,
0.035218581557273865,
0.03684460371732712,
0.027177810668945312,
-0.04420638084411621,
0.030036751180887222,
0.08390992879867554,
0.07347478717565536,
-0.04209791123867035,
-0.03482547774910927,
-0.03702329099178314,
-0.006490690167993307,
0.017421673983335495,
0.0034619991201907396,
-0.039560601115226746,
-0.02667749486863613,
-0.05110357329249382,
0.016644397750496864,
-0.06768543273210526,
-0.020763060078024864,
-0.04420638084411621,
-0.03377124294638634,
0.011846737936139107,
0.005539198871701956,
-0.08734065294265747,
-0.02569473534822464,
-0.039274707436561584,
0.05381957069039345,
-0.02095961384475231,
0.012105829082429409,
0.0018147575901821256,
0.0011502770939841866,
0.01141789648681879,
-0.02444394864141941,
0.03646937012672424,
-0.011426830664277077,
0.0023072550538927317,
0.002753964625298977,
0.03691608086228371,
-0.006035046186298132,
0.017466343939304352,
0.01577778160572052,
-0.008031838573515415,
0.011266015470027924,
-0.0007633150089532137,
-0.05067473277449608,
0.03734492138028145,
-0.03873865306377411,
-0.016072610393166542,
0.012945643626153469,
0.05328351631760597,
0.01357997115701437,
0.0024993401020765305,
-0.02821417711675167,
-0.037809498608112335,
-0.015500822104513645,
-0.0032967166043817997,
0.04817315936088562,
-0.005954638589173555,
-0.0030041218269616365,
-0.005061219446361065,
-0.029268411919474602,
-0.022174663841724396,
-0.019726695492863655,
-0.032288167625665665,
0.023264635354280472,
0.0559995137155056,
-0.060359396040439606,
-0.06443338841199875,
-0.016287030652165413,
0.0214241910725832,
-0.033056508749723434,
0.03966781124472618,
0.04795873910188675,
-0.03602265939116478,
0.010479806922376156,
-0.017921987920999527,
0.03863144293427467,
0.0214241910725832,
-0.0032609798945486546,
0.03546873852610588,
0.01786838285624981,
-0.003258746350184083,
0.03638002648949623,
0.02024487778544426,
-0.06940080225467682,
-0.04313427582383156,
0.10020589083433151,
0.013660378754138947,
0.042491015046834946,
-0.018815407529473305,
-0.06532680988311768,
-0.02960791066288948,
-0.044242117553949356,
0.052675992250442505,
0.004945075139403343,
0.038702916353940964,
0.04166907072067261,
-0.03193080052733421,
0.022424820810556412,
0.015733111649751663,
-0.030036751180887222,
0.016876688227057457,
-0.034396637231111526,
0.010872910730540752,
0.027910413220524788,
-0.00715628731995821,
0.013812259770929813,
0.0279997568577528,
0.03702329099178314,
0.03791670873761177,
0.05256878212094307,
0.010354727506637573,
-0.053998254239559174,
-0.020548639819025993,
0.01061381958425045,
0.02296087145805359,
-0.01604580692946911,
-0.06586285680532455,
0.0402395986020565,
-0.051711101084947586,
-0.01421429868787527,
-0.015089849010109901,
-0.060359396040439606,
-0.013034985400736332,
0.06039513275027275
]
|
40,536 | pyglove.core.geno.base | __init__ | null | @symbolic.members([
('name', pg_typing.Str().noneable(),
('Name of current node. If present, it should be unique in the search '
'space. We can use `root_spec[name]` to access named DNASpec.')),
])
class DecisionPoint(DNASpec):
"""Base class for decision points.
Child classes:
* :class:`pyglove.geno.Choices`
* :class:`pyglove.geno.Float`
* :class:`pyglove.geno.CustomDecisionPoint`
"""
@property
def is_space(self) -> bool:
return False
| (self, location: pyglove.core.object_utils.value_location.KeyPath = , hints=None) | [
0.02791135199368,
-0.012815686874091625,
0.007285818923264742,
0.018359344452619553,
-0.003518797690048814,
0.01941659301519394,
-0.0016387347131967545,
-0.03846544772386551,
0.0254107303917408,
-0.0001679243432590738,
0.009974907152354717,
0.008310889825224876,
0.026385238394141197,
0.02934553287923336,
-0.038612544536590576,
-0.01670452207326889,
0.06762710958719254,
0.022487210109829903,
-0.01863514818251133,
0.03752771392464638,
0.0006573325954377651,
0.07112062722444534,
0.004734633024781942,
-0.01125279814004898,
-0.015417437069118023,
0.014838248491287231,
0.04041446000337601,
0.013431648723781109,
-0.07619541883468628,
-0.028941020369529724,
-0.06854645907878876,
-0.0460408590734005,
-0.02934553287923336,
0.0210714153945446,
0.012061823159456253,
-0.01042538695037365,
0.025852017104625702,
0.06027233973145485,
-0.09083140641450882,
0.024822348728775978,
-0.038281578570604324,
-0.004697859287261963,
-0.06718582659959793,
-0.022560756653547287,
-0.04607763513922691,
-0.013928095810115337,
0.04251056909561157,
0.024472996592521667,
-0.04633505269885063,
-0.056705277413129807,
0.013882128521800041,
-0.033464204519987106,
-0.01204343605786562,
0.03116583824157715,
0.029400693252682686,
0.01893853209912777,
0.03328033536672592,
0.06788452714681625,
0.04059832915663719,
0.05527109652757645,
0.01879143714904785,
0.03787706419825554,
0.01161134336143732,
-0.10009842365980148,
-0.008462582714855671,
0.02417880669236183,
-0.017798542976379395,
-0.018975306302309036,
-0.033721622079610825,
0.008940642699599266,
-0.05207177251577377,
-0.044018298387527466,
0.023204298689961433,
0.08583016693592072,
0.06983353942632675,
-0.06975999474525452,
0.025318795815110207,
-0.0144429299980402,
0.07854894548654556,
-0.08060827851295471,
-0.032397761940956116,
-0.02360881119966507,
-0.061522651463747025,
-0.03210357204079628,
-0.014700346626341343,
0.03835512697696686,
0.051115650683641434,
-0.02673458866775036,
0.049902115017175674,
0.0257416944950819,
-0.03765642270445824,
-0.00697783799842,
-0.003121180459856987,
0.059573639184236526,
0.00423588789999485,
0.03392387554049492,
0.046776335686445236,
-0.03739900514483452,
-0.05986782908439636,
0.03237937390804291,
-0.03765642270445824,
0.06178006902337074,
-0.02406848408281803,
0.0788431316614151,
-0.03522934764623642,
-0.03964221104979515,
-0.030007461085915565,
0.004520885180681944,
0.02121851220726967,
-0.025226861238479614,
-0.09443524479866028,
0.040929295122623444,
0.0075524295680224895,
0.00994732603430748,
0.004123268183320761,
-0.012503108941018581,
-0.027984900400042534,
-0.022340113297104836,
-0.06325102597475052,
-0.03653481975197792,
0.031919702887535095,
-0.010627642273902893,
-0.04615118354558945,
0.04751181602478027,
-0.025796856731176376,
0.0186811164021492,
0.027874577790498734,
0.024417836219072342,
-0.07067933678627014,
-0.005456320010125637,
0.04611440747976303,
0.02300204336643219,
-0.032177120447158813,
0.02217463217675686,
0.047622136771678925,
0.043907977640628815,
0.06523680686950684,
-0.01533469557762146,
-0.048835672438144684,
0.02250559628009796,
0.002169657265767455,
-0.01637355610728264,
-0.0025580809451639652,
-0.06784775108098984,
-0.019379818812012672,
0.017881285399198532,
-0.06490584462881088,
-0.022615917026996613,
-0.030209718272089958,
-0.004079598933458328,
-0.07376834005117416,
-0.02061174251139164,
0.021641410887241364,
-0.028941020369529724,
-0.02322268672287464,
0.028959406539797783,
-0.041480902582407,
-0.05008598417043686,
0.005557448137551546,
-0.03055907040834427,
-0.06292005628347397,
-0.08038763701915741,
-0.050747912377119064,
0.0006705481791868806,
0.004569150973111391,
-0.03272872790694237,
-0.01371664647012949,
-0.11745567619800568,
0.005883816163986921,
0.05836009979248047,
0.0020352026913315058,
-0.027617162093520164,
-0.023627199232578278,
0.040929295122623444,
-0.05556528642773628,
0.019931426271796227,
0.03188292682170868,
0.043540239334106445,
0.07093675434589386,
-0.041407354176044464,
0.05067436397075653,
-0.0034498467575758696,
-0.07553348690271378,
-0.014939377084374428,
0.00918886624276638,
-0.03243453428149223,
0.006973241455852985,
0.035762570798397064,
0.006982435006648302,
0.053984012454748154,
-0.007768475916236639,
-0.003213115269318223,
0.0288858599960804,
0.004433547146618366,
0.03487999737262726,
-0.02241366170346737,
-0.008568307384848595,
0.01624484919011593,
-0.016539039090275764,
0.043687332421541214,
0.009892165660858154,
0.004424354061484337,
-0.008278712630271912,
0.01978433132171631,
-0.023645585402846336,
0.12039758265018463,
0.026054272428154945,
0.040193818509578705,
-0.05644785985350609,
-0.030338427051901817,
-0.04662924259901047,
0.009763456881046295,
0.016428718343377113,
0.02443622425198555,
0.0266058798879385,
-0.03590966388583183,
-0.04696020856499672,
0.004663384053856134,
-0.013872935436666012,
0.005456320010125637,
0.04721762239933014,
-0.01874547079205513,
0.05501367896795273,
0.029658110812306404,
0.01627242937684059,
-0.023682359606027603,
0.0097726508975029,
0.003247590735554695,
-0.011776825413107872,
-0.07869604229927063,
0.02143915556371212,
-0.03405258432030678,
0.020409487187862396,
-0.019140789285302162,
0.04861503094434738,
-0.012310046702623367,
-0.00957958772778511,
0.014121158048510551,
-0.012521496042609215,
0.012300852686166763,
-0.043797656893730164,
0.0019076435128226876,
-0.04298863187432289,
-0.017761768773198128,
-0.015288728289306164,
-0.025576213374733925,
0.018423698842525482,
0.008301696740090847,
0.031312935054302216,
-0.005194306373596191,
0.013082297518849373,
-0.09906875342130661,
-0.03248969838023186,
0.006164216436445713,
0.009050963446497917,
-0.06968644261360168,
-0.1014222800731659,
-0.012457141652703285,
0.04195896163582802,
-0.018901759758591652,
-0.019857879728078842,
0.021292058750987053,
-0.023572038859128952,
0.07663670182228088,
0.013836161233484745,
0.029327144846320152,
0.018184669315814972,
-0.016088560223579407,
-0.011307958513498306,
-0.02035432681441307,
0.01731128990650177,
0.03761965036392212,
-0.011372312903404236,
0.009597974829375744,
-0.00035337370354682207,
-0.028095221146941185,
-0.024748800322413445,
0.023903002962470055,
-0.010103615000844002,
-0.0009348602034151554,
0.014773894101381302,
-0.034696128219366074,
-0.0030637213494628668,
0.05703624337911606,
-0.035983212292194366,
-0.016171300783753395,
-0.010388612747192383,
0.006417036987841129,
-0.00867862906306982,
0.008568307384848595,
-0.01904885470867157,
0.06634002923965454,
0.027139101177453995,
0.012061823159456253,
0.009037173353135586,
0.0395318903028965,
-0.018340958282351494,
0.003098196815699339,
-0.021898828446865082,
-0.006513568107038736,
0.07465091347694397,
-0.016989517956972122,
0.010232323780655861,
0.03188292682170868,
-0.06553100049495697,
-0.006748001556843519,
0.05453561991453171,
0.00816839188337326,
0.053027890622615814,
-0.026992006227374077,
-0.040929295122623444,
0.051115650683641434,
-0.01527034118771553,
0.07832830399274826,
0.018276603892445564,
-0.007699524983763695,
-0.04986534267663956,
-0.06472197920084,
0.05663172900676727,
0.08215278387069702,
-0.08715402334928513,
0.03989962860941887,
-0.027139101177453995,
0.021972374990582466,
-0.04045123606920242,
0.027157489210367203,
-0.007846619933843613,
0.02754361368715763,
0.007842023856937885,
0.03857576847076416,
-0.04758536070585251,
-0.01637355610728264,
0.04747503995895386,
0.01720096915960312,
-0.06968644261360168,
-0.000369462271919474,
0.011602149344980717,
0.0034751289058476686,
0.0328022725880146,
-0.010351838544011116,
0.0534324049949646,
0.002530500525608659,
-0.025925563648343086,
0.006522761657834053,
0.053616274148225784,
-0.020666904747486115,
0.014764701016247272,
-0.011694083921611309,
0.08009344339370728,
0.051704034209251404,
-0.05567561089992523,
0.03219550475478172,
0.014562444761395454,
0.007469688542187214,
0.0443124882876873,
-0.014571637846529484,
0.012613430619239807,
0.04501119256019592,
-0.04957114905118942,
-0.01389132160693407,
0.0634348914027214,
-0.0199865885078907,
-0.0464821457862854,
0.024233967065811157,
-0.031809382140636444,
-0.06593551486730576,
0.0349719300866127,
0.011068928986787796,
0.07215029746294022,
-0.019710782915353775,
-0.024987831711769104,
-0.06295683234930038,
-0.03482483699917793,
-0.053248535841703415,
-0.026642654091119766,
0.05354272574186325,
0.02636685036122799,
-0.007598396856337786,
-0.0010831047547981143,
-0.03765642270445824,
0.020464647561311722,
0.009625555016100407,
-0.007892587222158909,
0.07439349591732025,
-0.032416149973869324,
-0.009717489592730999,
-0.0030706163961440325,
0.05523432418704033,
0.04225315526127815,
0.02478557452559471,
0.039458341896533966,
-0.003996857907623053,
-0.02984197996556759,
0.03872286528348923,
-0.06196393817663193,
-0.08759531378746033,
0.002220221096649766,
-0.042951855808496475,
-0.04876212403178215,
0.012907621450722218,
0.06251554191112518,
-0.05556528642773628,
0.0011802107328549027,
-0.004323225934058428,
0.0017203267198055983,
-0.014259060844779015,
0.0510421022772789,
0.004725439939647913,
-0.03642449900507927,
0.054829809814691544,
0.03436516225337982,
-0.0002993621164932847,
-0.030136169865727425,
0.00290283584035933,
0.008719999343156815,
-0.03546837717294693,
0.06700195372104645,
0.054204653948545456,
0.03681062534451485,
-0.030375199392437935,
0.04041446000337601,
-0.014240673743188381,
0.035505153238773346,
0.04935050755739212,
0.005741317290812731,
0.05556528642773628,
-0.008664838038384914,
0.008655644953250885,
-0.0055758352391421795,
0.037913840264081955,
-0.04409184679389,
0.022799788042902946,
-0.025429116562008858,
-0.06589873880147934,
0.05203499644994736,
-0.061265233904123306,
-0.04420216754078865,
-0.043319594115018845,
-0.02649555914103985,
0.03616708144545555,
-0.025796856731176376,
0.044864095747470856,
0.020538195967674255,
0.013762613758444786,
0.010434580035507679,
0.017752576619386673,
-0.013551163487136364,
-0.03666352853178978,
-0.006421633530408144,
-0.07641606032848358,
0.013275359757244587,
-0.006757195107638836,
0.10657061636447906,
0.0014422244857996702,
-0.04309895262122154,
-0.04615118354558945,
-0.04118671268224716,
-0.031110677868127823,
0.017908865585923195,
0.02456493116915226,
-0.038612544536590576,
0.012319239787757397,
0.0018099629087373614,
-0.010269097983837128,
-0.01876385696232319,
-0.006651469971984625,
0.04265766590833664,
0.019324658438563347,
-0.023755908012390137,
-0.03681062534451485,
0.021586250513792038,
0.0014996835961937904,
0.022597530856728554,
-0.03857576847076416,
-0.026679428294301033,
0.0033326302655041218,
-0.014700346626341343,
0.009308381006121635,
-0.03177260607481003,
-0.04287831112742424,
-0.011694083921611309,
-0.03772997111082077,
0.0009785292204469442,
0.029161663725972176,
-0.008002908900380135,
0.013780999928712845,
-0.013753419741988182,
0.023277847096323967,
-0.045231834053993225,
-0.04471700266003609,
-0.04280476272106171,
-0.020685290917754173,
-0.011133283376693726,
-0.031312935054302216,
0.032636791467666626,
0.02838941290974617,
0.06108136475086212,
0.01863514818251133,
0.026182981207966805,
-0.026992006227374077,
-0.02708394080400467,
-0.012650204822421074,
-0.0025741695426404476,
-0.024399450048804283,
0.0666709914803505,
-0.0023029623553156853,
-0.01750435307621956,
0.01336729433387518,
-0.020924320444464684,
0.02969488315284252,
0.03405258432030678,
-0.022854948416352272,
0.058286551386117935,
0.0018134104320779443,
0.04195896163582802,
0.0660458356142044,
0.032526470720767975,
0.023994937539100647,
-0.017669834196567535,
-0.03546837717294693,
-0.021972374990582466,
-0.055050455033779144,
0.02013368345797062,
0.0017605480970814824,
0.03307807818055153,
0.024620093405246735,
-0.036240629851818085,
0.015095665119588375,
-0.021862054243683815,
0.007534042466431856,
0.10326097160577774,
-0.011510214768350124,
0.015932271257042885,
0.054094333201646805,
0.01742161065340042,
0.0699438601732254,
0.002286873757839203,
0.022432047873735428,
0.029639722779393196,
0.0199865885078907,
0.054829809814691544,
-0.025815242901444435,
0.017541127279400826,
0.04409184679389,
0.012254885397851467,
-0.006651469971984625,
0.01928788423538208,
-0.02621975541114807,
0.015297921374440193,
0.02302042953670025,
0.007736298721283674,
-0.021641410887241364,
-0.018662728369235992,
-0.041149936616420746,
0.032416149973869324,
0.03307807818055153,
-0.005414949264377356,
0.00026273191906511784,
0.045452479273080826,
-0.0037509326357394457,
-0.021972374990582466,
-0.055050455033779144,
0.11995629966259003,
-0.0031142854131758213,
0.032636791467666626,
-0.01676887646317482,
-0.025557825341820717,
-0.024123646318912506,
0.009818618185818195,
-0.003530289512127638,
0.042216379195451736,
0.021641410887241364,
0.01293520163744688,
0.04490087181329727,
-0.012098596431314945,
0.010756351053714752,
0.027010392397642136,
0.04302540421485901,
-0.040304139256477356,
-0.01681484282016754,
-0.028849085792899132,
-0.0021076013799756765,
-0.023093977943062782,
-0.013496003113687038,
-0.04118671268224716,
0.03679223731160164,
-0.01855240762233734,
0.012475528754293919,
0.04515828937292099,
-0.009450879879295826,
-0.014746313914656639,
-0.024123646318912506,
0.05413110926747322,
-0.012162950821220875,
-0.04045123606920242,
-0.001109536038711667,
-0.05129951983690262,
-0.024381062015891075,
0.0627729594707489,
-0.048688579350709915,
-0.05188790336251259,
0.05093178153038025,
0.03285743668675423,
0.01861676201224327,
0.027598774060606956,
-0.004488707985728979,
-0.01532550249248743,
0.005911396350711584,
-0.056116893887519836,
-0.021953988820314407,
0.023314621299505234,
0.004518586676567793,
0.0016559724463149905,
0.011638923548161983,
-0.014700346626341343,
-0.02250559628009796,
0.00679856538772583,
-0.006219377275556326,
0.010471354238688946,
-0.022726239636540413,
-0.059242673218250275,
0.01029667817056179,
-0.005212693475186825,
0.010406999848783016,
-0.046518921852111816,
-0.029088115319609642,
0.044974420219659805,
-0.09333202987909317,
0.015803562477231026,
-0.028371024876832962,
0.0009130257531069219,
0.01072877086699009,
-0.06887742131948471,
-0.059720732271671295,
-0.02180689387023449,
-0.039348021149635315,
0.006357279140502214,
-0.02059335634112358,
-0.01702629216015339,
0.03761965036392212,
-0.05019630491733551,
-0.013155844993889332,
-0.02886747196316719,
0.043907977640628815,
-0.035505153238773346,
-0.00274195009842515,
-0.007432914339005947,
-0.010885059833526611,
0.024362675845623016,
0.03543160483241081,
-0.03019133023917675,
0.04445958510041237,
-0.024270741268992424,
-0.03166228532791138,
0.06369230896234512,
0.002369615016505122,
-0.031680673360824585,
0.030136169865727425,
-0.00004205291043035686,
-0.0006475645350292325,
-0.02721264958381653,
-0.029805205762386322,
0.019931426271796227,
0.015720820054411888,
0.0060079279355704784,
0.019821105524897575,
0.006072281859815121,
-0.031184224411845207,
-0.052182093262672424,
0.05460916832089424,
-0.01928788423538208,
0.04254734516143799,
0.0000520723478985019,
-0.05641108751296997,
-0.012916814535856247,
-0.05578593164682388,
0.04350346326828003,
0.04144413024187088,
0.004077300429344177,
0.0024960250593721867,
0.030209718272089958,
0.008333873935043812,
0.004525481723248959,
-0.03423645347356796,
0.03392387554049492,
0.018423698842525482,
0.014341801404953003,
-0.02789296582341194,
-0.015417437069118023,
-0.04041446000337601,
-0.0490930899977684,
-0.013256972655653954,
0.05530787259340286,
0.04096606746315956,
0.010122002102434635,
-0.03572579473257065,
-0.028334250673651695,
-0.018359344452619553,
0.03342742845416069,
-0.021604636684060097,
0.035505153238773346,
0.005212693475186825,
-0.021053029224276543,
0.027984900400042534,
0.02154947631061077,
0.030853260308504105,
0.0025603792164474726,
0.029271984472870827,
0.08038763701915741,
-0.017522739246487617,
0.017761768773198128,
0.04637182503938675,
-0.007088159676641226,
-0.04813696816563606,
0.019913040101528168,
0.01657581329345703,
0.0032315021380782127,
0.048945993185043335,
-0.020666904747486115,
0.0075524295680224895,
0.005539061035960913,
-0.011923921294510365,
0.07619541883468628,
0.002813199535012245,
-0.03375839442014694,
0.050012435764074326,
-0.012190531007945538,
-0.02445461042225361,
0.015739208087325096,
0.0042519764974713326,
-0.019104015082120895,
0.05196145176887512,
-0.045084740966558456,
0.009234833531081676,
-0.03482483699917793,
-0.02217463217675686,
0.005529867950826883,
0.004734633024781942,
0.010167969390749931,
0.02226656675338745,
-0.01630920171737671,
0.04280476272106171,
0.01729290373623371,
-0.039605434983968735,
0.030871646478772163,
0.02934553287923336,
-0.0266058798879385,
0.04890922084450722,
-0.002058186335489154,
-0.03614869341254234,
0.06468520313501358,
0.015527757816016674,
0.005272450856864452,
0.0030200525652617216,
0.024233967065811157,
-0.013744226656854153,
0.032986145466566086,
-0.03482483699917793,
-0.02984197996556759,
-0.07196642458438873,
-0.04456990584731102,
-0.02936391904950142,
0.0026155400555580854,
0.00562639907002449,
-0.018083540722727776,
-0.025686534121632576,
-0.011344732716679573,
0.04041446000337601
]
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.