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,537 | pyglove.core.geno.base | __len__ | Returns the number of decision points. | @abc.abstractmethod
def __len__(self) -> int:
"""Returns the number of decision points."""
| (self) -> int | [
-0.04212864488363266,
-0.0418248325586319,
-0.02572277933359146,
0.021503163501620293,
-0.007131150923669338,
0.007806289475411177,
-0.010295863263309002,
-0.039698146283626556,
-0.002898876089602709,
0.006337863393127918,
0.035714831203222275,
0.014414208009839058,
0.04607820510864258,
0.028187034651637077,
-0.047225940972566605,
-0.0088105583563447,
0.06852656602859497,
-0.00028746132738888264,
-0.017013492062687874,
-0.003455865429714322,
-0.025115154683589935,
0.045504339039325714,
0.035579800605773926,
-0.02305598184466362,
-0.0157054103910923,
0.06339550763368607,
0.02982424572110176,
-0.007354790810495615,
0.0319509319961071,
0.0017384818056598306,
-0.1081571951508522,
0.007245080545544624,
-0.017199154943227768,
0.08310955762863159,
0.015561943873763084,
0.010430891066789627,
0.028001371771097183,
0.05259329453110695,
-0.04374897852540016,
0.05397732928395271,
-0.023612970486283302,
-0.02968921884894371,
0.014549235813319683,
-0.036524996161460876,
-0.02611098438501358,
-0.03352062776684761,
0.007831607013940811,
-0.0008027819567359984,
-0.02810264192521572,
-0.06177517771720886,
-0.02810264192521572,
-0.008878071792423725,
0.009840144775807858,
0.011747410520911217,
0.005553014576435089,
0.09107618778944016,
0.04516676813364029,
0.031343307346105576,
-0.02887905202805996,
0.028423333540558815,
-0.034904662519693375,
0.015047150664031506,
0.06366556882858276,
-0.07966634631156921,
0.009772630408406258,
-0.020608603954315186,
-0.04769853875041008,
0.03693008050322533,
0.03831411153078079,
0.02369736321270466,
0.0371326208114624,
0.020591726526618004,
0.014802413061261177,
0.06872910261154175,
0.03257543593645096,
0.012059662491083145,
-0.01572228968143463,
-0.0010411902330815792,
0.08128668367862701,
-0.04969019815325737,
-0.006215494126081467,
0.0013154653133824468,
0.01378126535564661,
-0.004713310860097408,
0.0013165201526135206,
-0.046584561467170715,
0.004561404697597027,
-0.03444894403219223,
0.031360186636447906,
0.03736891970038414,
-0.06477954238653183,
0.06457700580358505,
0.02042294107377529,
0.02224581502377987,
0.0015074578113853931,
0.02926725707948208,
-0.009494136087596416,
-0.045234281569719315,
-0.014549235813319683,
-0.047360971570014954,
-0.03706510737538338,
0.08108413964509964,
0.015266570262610912,
0.0020465138368308544,
-0.03075256198644638,
-0.03085383214056492,
-0.03871919587254524,
-0.013047052547335625,
-0.04081212729215622,
0.005831509362906218,
-0.03760521858930588,
0.04320886731147766,
-0.03865168243646622,
-0.012152493931353092,
-0.042601242661476135,
0.026532946154475212,
-0.006012952886521816,
-0.0437152199447155,
-0.04918384552001953,
-0.000954160641413182,
-0.00960384588688612,
0.008650212548673153,
-0.025216424837708473,
-0.024997005239129066,
0.031309548765420914,
0.03414513170719147,
-0.0027364210691303015,
0.03841538354754448,
-0.022853439673781395,
-0.05208693817257881,
0.0447954423725605,
0.01146047655493021,
0.013249593786895275,
0.02187448926270008,
0.03166399896144867,
0.014540797099471092,
0.052930861711502075,
-0.0010237842798233032,
-0.053065892308950424,
0.0025866245850920677,
0.019916586577892303,
0.009511014446616173,
0.047901079058647156,
0.02276904694736004,
-0.02042294107377529,
0.020726753398776054,
-0.008987781591713428,
-0.03777400404214859,
-0.006869534961879253,
0.03360502049326897,
0.014085077680647373,
-0.008620675653219223,
0.022836562246084213,
-0.06488081812858582,
-0.006325204391032457,
-0.017536723986268044,
0.02278592623770237,
-0.07244236767292023,
0.00546862231567502,
-0.07946380972862244,
-0.06542092561721802,
-0.03217035159468651,
-0.04077836871147156,
-0.022566506639122963,
-0.03215347230434418,
0.03193405270576477,
-0.03402698412537575,
-0.06791894137859344,
-0.024558164179325104,
0.04965643957257271,
0.009215640835464,
-0.03841538354754448,
-0.001723713125102222,
-0.004552965518087149,
-0.003090868704020977,
0.03909052163362503,
-0.0016023991629481316,
0.04793483763933182,
0.025739656761288643,
-0.00639271829277277,
0.0511079877614975,
-0.050027765333652496,
-0.1242930069565773,
-0.008827436715364456,
0.04999401047825813,
0.018245618790388107,
-0.004970707464963198,
0.04239870235323906,
-0.021233107894659042,
0.04928511381149292,
-0.059175893664360046,
-0.048677489161491394,
0.0038461799267679453,
-0.005709140561521053,
0.023258524015545845,
-0.04864373430609703,
0.019376477226614952,
0.046314503997564316,
-0.02091241627931595,
0.04729345440864563,
-0.02757941000163555,
0.03163024038076401,
-0.01572228968143463,
0.007464500609785318,
0.02806888520717621,
0.045673124492168427,
-0.012836071662604809,
0.012152493931353092,
-0.07392767071723938,
-0.06082998216152191,
-0.02241460047662258,
-0.022836562246084213,
-0.012819193303585052,
0.06143760681152344,
0.06018860265612602,
-0.04111593961715698,
0.022178301587700844,
-0.025655265897512436,
-0.008160737343132496,
0.012034344486892223,
0.08486491441726685,
0.022887196391820908,
0.036389969289302826,
0.022448357194662094,
0.033875077962875366,
-0.019275205209851265,
0.01895451545715332,
0.00020768422109540552,
-0.010608114302158356,
-0.04594317823648453,
-0.006861095782369375,
-0.021233107894659042,
0.05350473150610924,
0.008468769490718842,
0.04428908973932266,
0.007629065774381161,
-0.015334084630012512,
0.017587359994649887,
-0.09208890050649643,
0.02754565328359604,
-0.06299042701721191,
0.012971099466085434,
-0.01286138966679573,
0.04050831496715546,
-0.05151307210326195,
-0.03009430132806301,
-0.01483616977930069,
0.06575849652290344,
0.008308423683047295,
0.009435061365365982,
-0.021418770775198936,
-0.11382836103439331,
-0.07028192281723022,
-0.03274422138929367,
0.026819879189133644,
-0.010253666900098324,
-0.041554778814315796,
-0.0011540650157257915,
0.022313328459858894,
-0.006958146579563618,
0.03341935947537422,
0.0022131886798888445,
-0.04719218611717224,
0.04773229733109474,
-0.03750394657254219,
0.02411932498216629,
0.03247416391968727,
0.004181639291346073,
-0.04091339558362961,
0.04729345440864563,
0.02253274992108345,
0.013553406111896038,
-0.015165300108492374,
-0.03355438634753227,
-0.04449163004755974,
-0.0072535197250545025,
-0.009072174318134785,
-0.00589902326464653,
-0.03125891461968422,
-0.02995927259325981,
0.02757941000163555,
-0.007249300368130207,
-0.033993225544691086,
0.022313328459858894,
-0.07406269758939743,
0.0009035252733156085,
0.006894852500408888,
-0.014734898693859577,
-0.019376477226614952,
-0.01597546599805355,
0.00004753661050926894,
-0.002645699307322502,
0.006675432436168194,
0.04661831632256508,
0.09715244174003601,
-0.0028777781408280134,
-0.0020064273849129677,
0.012886706739664078,
0.01184868160635233,
-0.025351453572511673,
0.008262008428573608,
-0.06380059570074081,
-0.055327605456113815,
-0.023410430178046227,
-0.027900101616978645,
-0.0418248325586319,
0.05168185755610466,
0.00004763550896313973,
0.019173935055732727,
0.005607869476079941,
-0.014296058565378189,
0.04982522502541542,
-0.018431281670928,
0.04131847992539406,
0.06211274862289429,
-0.0038672781083732843,
-0.011443598195910454,
-0.009131249040365219,
0.02319100871682167,
0.0721047967672348,
-0.04786732420325279,
0.017114762216806412,
-0.014903683215379715,
-0.02862587571144104,
-0.022971589118242264,
-0.016329914331436157,
0.004460134077817202,
-0.025537116453051567,
0.022853439673781395,
-0.01132544968277216,
-0.07190225273370743,
0.016237081959843636,
0.05350473150610924,
0.005827289540320635,
-0.10559166967868805,
-0.003512830240651965,
0.04361395165324211,
0.016397427767515182,
-0.0004989695735275745,
-0.009266276843845844,
0.04081212729215622,
-0.021688826382160187,
-0.02079426683485508,
0.037942785769701004,
0.039529360830783844,
0.00629566702991724,
-0.012734800577163696,
-0.01800932176411152,
0.09931287914514542,
0.027900101616978645,
-0.011013197712600231,
0.0026182716246694326,
0.030128058046102524,
0.007139590103179216,
0.032288502901792526,
0.004844119306653738,
0.010447769425809383,
0.03198469057679176,
-0.007848485372960567,
-0.012886706739664078,
0.022330207750201225,
-0.05701545253396034,
-0.017401697114109993,
0.023764876648783684,
-0.02067611739039421,
-0.0021667727269232273,
0.0088105583563447,
-0.012236886657774448,
0.024456894025206566,
-0.02837269753217697,
-0.037841517478227615,
-0.06440822035074234,
-0.04719218611717224,
-0.03287924826145172,
0.017224472016096115,
0.039023008197546005,
0.007126931566745043,
0.02160443365573883,
-0.049082573503255844,
0.021233107894659042,
0.0034917322918772697,
-0.039158035069704056,
-0.037841517478227615,
-0.01378126535564661,
-0.028153277933597565,
-0.0185663104057312,
-0.03157960623502731,
0.0319509319961071,
-0.024997005239129066,
0.0357823446393013,
0.033588144928216934,
-0.012844511307775974,
-0.09715244174003601,
-0.0718347430229187,
-0.06926921755075455,
-0.007591089233756065,
0.0010164000559598207,
-0.008578479290008545,
-0.0347021222114563,
0.011671457439661026,
0.049082573503255844,
-0.008299984969198704,
0.05603649839758873,
0.0037913250271230936,
-0.01643962413072586,
0.033723171800374985,
0.055428873747587204,
-0.006839997600764036,
-0.05178312584757805,
0.0011192531092092395,
0.028203913941979408,
0.05036533623933792,
-0.058905839920043945,
-0.023393550887703896,
0.0020412392914295197,
-0.03790903091430664,
0.03750394657254219,
-0.01483616977930069,
0.04540306702256203,
-0.007502477150410414,
0.06920170038938522,
0.019764680415391922,
0.050702907145023346,
0.08702535927295685,
-0.006316765211522579,
0.06420567631721497,
-0.009738873690366745,
0.022043274715542793,
0.013232715427875519,
-0.013696873560547829,
-0.03618742525577545,
0.0036309794522821903,
-0.0893208310008049,
-0.016895342618227005,
-0.03244040906429291,
-0.03129267320036888,
-0.04270251467823982,
-0.03750394657254219,
-0.015334084630012512,
0.021790096536278725,
0.029993031173944473,
0.030769439414143562,
0.029706096276640892,
0.06585976481437683,
0.08250193297863007,
-0.05667788162827492,
0.010321180336177349,
-0.06639987975358963,
-0.02634728141129017,
-0.06440822035074234,
0.0005606814520433545,
0.027123691514134407,
0.04388400539755821,
0.028271427378058434,
-0.018971392884850502,
-0.004181639291346073,
-0.04715842753648758,
-0.0691341906785965,
0.000518749060574919,
-0.016760313883423805,
0.03774024546146393,
0.0680539682507515,
-0.04341140761971474,
-0.03966439142823219,
0.007173347286880016,
0.011485794559121132,
-0.02847396954894066,
-0.01974780298769474,
-0.028288304805755615,
-0.007110052742063999,
0.06079622730612755,
-0.03882046788930893,
0.004958048928529024,
-0.04037328436970711,
-0.015891073271632195,
0.056407827883958817,
0.009300033561885357,
0.01655777357518673,
0.013823461718857288,
-0.013907854445278645,
0.021570676937699318,
0.025368331000208855,
-0.009215640835464,
0.014675823971629143,
-0.016464941203594208,
-0.009629163891077042,
-0.05779185891151428,
0.0004064017557539046,
-0.022431477904319763,
-0.01790804974734783,
-0.05077042058110237,
-0.011426719836890697,
0.021030565723776817,
-0.002413620240986347,
0.05417986959218979,
0.00021216756431385875,
0.0745352953672409,
0.01318208035081625,
0.005553014576435089,
-0.032946761697530746,
-0.026735486462712288,
0.008785240352153778,
0.03301427513360977,
-0.019849073141813278,
0.000012658848390856292,
-0.0074518416076898575,
0.018887002021074295,
-0.018076835200190544,
-0.015612578950822353,
0.016524016857147217,
0.016253961250185966,
0.011443598195910454,
0.04239870235323906,
0.014026003889739513,
0.06501584500074387,
-0.005574112758040428,
0.008658652193844318,
-0.004401059355586767,
-0.023562336340546608,
-0.0007310484652407467,
0.027343111112713814,
-0.03696383535861969,
-0.009266276843845844,
-0.00906373467296362,
-0.01589951291680336,
0.005633187480270863,
0.005941219162195921,
-0.024220595136284828,
0.03033060021698475,
0.03574858605861664,
0.026853635907173157,
-0.008650212548673153,
0.01211873721331358,
0.07730336487293243,
0.00002024097011599224,
0.05694793909788132,
-0.05316716060042381,
0.003890485968440771,
0.06450948864221573,
0.06555595248937607,
0.020068492740392685,
-0.03087071143090725,
0.01557882223278284,
-0.021249985322356224,
-0.01974780298769474,
0.022583384066820145,
0.009654480963945389,
-0.025098275393247604,
0.02091241627931595,
0.012878268025815487,
-0.028929688036441803,
0.004287129733711481,
0.013874097727239132,
-0.011671457439661026,
0.09573464840650558,
0.026566702872514725,
0.06045865640044212,
-0.03230537846684456,
0.01591639220714569,
0.01700505241751671,
-0.033723171800374985,
-0.04358019307255745,
0.06106628105044365,
-0.01074314210563898,
-0.0031372844241559505,
0.041149694472551346,
0.012211568653583527,
0.03801029920578003,
-0.0024431576021015644,
-0.035714831203222275,
0.004945389926433563,
-0.00470487168058753,
-0.0273093543946743,
0.0008782075601629913,
-0.009612285532057285,
0.021840732544660568,
-0.01789117231965065,
-0.016870025545358658,
-0.020102251321077347,
-0.051614344120025635,
-0.0324910432100296,
0.017469210550189018,
0.04199361801147461,
-0.025891562923789024,
-0.0005965481977909803,
0.015165300108492374,
-0.04270251467823982,
0.007970854640007019,
-0.023258524015545845,
0.0007141699898056686,
-0.06629860401153564,
0.005966537166386843,
0.013367743231356144,
-0.05154682695865631,
-0.022077031433582306,
0.016456501558423042,
-0.022313328459858894,
-0.053707271814346313,
-0.0038482898380607367,
-0.004489671438932419,
-0.0017743485514074564,
0.05316716060042381,
-0.015401598066091537,
0.04462665691971779,
0.02330915816128254,
0.010684067383408546,
-0.048036109656095505,
0.09499199688434601,
-0.018110591918230057,
-0.002136180642992258,
0.011021637357771397,
-0.02437250129878521,
0.06123506650328636,
-0.09863774478435516,
-0.04982522502541542,
-0.024878855794668198,
-0.009266276843845844,
0.029739852994680405,
0.04121720790863037,
0.04570687934756279,
-0.032288502901792526,
0.00546862231567502,
0.007510916329920292,
0.049757711589336395,
-0.05414611101150513,
0.03282861411571503,
0.00503822136670351,
-0.055462632328271866,
0.013080809265375137,
-0.04081212729215622,
0.026313524693250656,
0.020895538851618767,
0.019376477226614952,
-0.06072871387004852,
-0.0010132353054359555,
-0.032946761697530746,
-0.007941316813230515,
0.045774392783641815,
0.032119717448949814,
0.01949462667107582,
-0.021131837740540504,
0.06197771802544594,
0.00019014644203707576,
-0.005021343007683754,
-0.001516951946541667,
-0.012633530423045158,
-0.038617923855781555,
0.021806975826621056,
0.07710082083940506,
-0.022296451032161713,
-0.015435355715453625,
0.0009620724595151842,
0.008979342877864838,
0.002563416725024581,
0.005460183136165142,
-0.0009731489117257297,
0.013469014316797256,
0.024963248521089554,
-0.012692605145275593,
-0.045234281569719315,
-0.06160639226436615,
-0.0016023991629481316,
0.013131445273756981,
0.004086697939783335,
0.05471998080611229,
0.010152395814657211,
0.002510671503841877,
-0.07973386347293854,
-0.00799617264419794,
-0.011435159482061863,
0.02585780620574951,
0.07608811557292938,
0.043377652764320374,
0.001468426315113902,
0.02015288546681404,
0.027359990403056145,
-0.014658945612609386,
-0.027511896565556526,
0.03895549476146698,
0.006147980690002441,
0.05873705446720123,
0.023646727204322815,
-0.07332004606723785,
-0.05380854383111,
0.03618742525577545,
-0.0033756927587091923,
-0.04874500259757042,
0.012304400093853474,
0.024068688973784447,
-0.057285506278276443,
-0.024726949632167816,
-0.01251538097858429,
0.0222626943141222,
0.030803196132183075,
0.05775810405611992,
-0.0180261991918087,
-0.07440026849508286,
-0.0013006966328248382,
0.06396938115358353,
-0.011511112563312054,
0.028592117130756378,
0.0035444775130599737,
-0.0273093543946743,
0.023410430178046227,
-0.026043469086289406,
0.04793483763933182,
-0.09337165951728821,
0.00881899707019329,
0.035309746861457825,
-0.0639018639922142,
-0.008557381108403206,
0.08162425458431244,
0.01423698477447033,
-0.0893208310008049,
-0.03178214654326439,
-0.0006097345030866563,
0.04557185247540474,
0.06315921247005463,
-0.015241253189742565,
0.035039689391851425,
-0.009325351566076279,
-0.012903586030006409,
0.0551588200032711,
0.0011920415563508868,
-0.07352259010076523,
0.027933858335018158,
-0.01019459217786789,
-0.015410037711262703,
0.021148715168237686,
0.023258524015545845,
0.005363131873309612,
-0.021942002698779106,
-0.05998606234788895,
-0.028693389147520065,
-0.001766964211128652,
-0.01908954232931137,
-0.03642372414469719,
-0.048441190272569656,
0.03259231522679329,
-0.0013819242594763637,
0.05708296597003937,
-0.012616652064025402,
0.032136596739292145,
-0.02094617299735546,
0.06731131672859192,
-0.014059760607779026,
-0.006105784326791763,
0.09532956779003143,
0.020895538851618767,
-0.03151209279894829,
0.005785093642771244,
0.045504339039325714,
0.024676313623785973,
-0.014945879578590393,
0.01934272050857544,
0.002540208864957094,
0.049757711589336395,
-0.027478139847517014,
-0.022228937596082687,
-0.011426719836890697,
-0.03144457936286926,
-0.0226677767932415,
0.014456404373049736,
0.05060163512825966,
-0.013764386996626854,
0.03428015857934952,
0.009941414929926395,
0.04199361801147461
]
|
40,546 | pyglove.core.geno.base | _next_dna | Next DNA generation logic that should be overridden by subclasses. | @abc.abstractmethod
def _next_dna(self, dna: Optional['DNA'] = None) -> Optional['DNA']:
"""Next DNA generation logic that should be overridden by subclasses."""
| (self, dna: Optional[pyglove.core.geno.base.DNA] = None) -> Optional[pyglove.core.geno.base.DNA] | [
-0.01787019893527031,
-0.005737466737627983,
-0.018728990107774734,
0.024356825277209282,
-0.05149102210998535,
-0.027554456144571304,
-0.027463095262646675,
-0.00921831838786602,
0.02006286010146141,
-0.060298215597867966,
0.032067686319351196,
0.05529163405299187,
0.03654437139630318,
0.09457683563232422,
-0.018491452559828758,
-0.023169131949543953,
0.03564903512597084,
0.11036400496959686,
-0.03064245730638504,
0.0010929051786661148,
-0.019898410886526108,
0.08112850785255432,
0.009994885884225368,
-0.0037069697864353657,
-0.03595966100692749,
0.1186230331659317,
0.0138503173366189,
-0.0038759876042604446,
-0.007308874744921923,
0.011410980485379696,
0.016801275312900543,
-0.07250403612852097,
-0.0039604962803423405,
0.08215174823999405,
0.04184330627322197,
0.004823856987059116,
-0.03627029061317444,
0.09486918896436691,
-0.14230379462242126,
0.05967696011066437,
-0.016673369333148003,
-0.04447450116276741,
0.05229499563574791,
-0.07049409300088882,
-0.0422452948987484,
-0.03155606612563133,
0.0033826385624706745,
-0.015211595222353935,
-0.07327146828174591,
-0.01694745197892189,
0.05346441641449928,
-0.032999567687511444,
0.007139856927096844,
-0.01259867288172245,
0.005869939923286438,
0.09647714346647263,
-0.013749820180237293,
0.005915620364248753,
0.032908208668231964,
0.02344321459531784,
-0.0014240884920582175,
-0.02199971303343773,
0.035411495715379715,
-0.058726806193590164,
0.02713419683277607,
-0.0014537808019667864,
-0.030843449756503105,
-0.05141793191432953,
0.0322321355342865,
0.05562053620815277,
0.023461487144231796,
0.031154077500104904,
-0.0046388511545956135,
0.039358288049697876,
0.04429177939891815,
-0.009021892212331295,
-0.04579009860754013,
-0.005691785831004381,
0.0713711604475975,
-0.04951762408018112,
-0.013119429349899292,
-0.010223288089036942,
-0.016700778156518936,
-0.019551239907741547,
-0.029436491429805756,
-0.01325647160410881,
-0.001845490769483149,
-0.025471428409218788,
0.003821170888841152,
-0.021195735782384872,
-0.018674174323678017,
-0.03060591220855713,
0.003910247702151537,
0.05357405170798302,
0.015293819829821587,
0.02397310920059681,
0.033748727291822433,
-0.04180676117539406,
-0.02165254019200802,
-0.017267215996980667,
-0.011045536957681179,
0.04597282037138939,
0.03385836258530617,
-0.023205677047371864,
-0.0004710798093583435,
-0.026001321151852608,
-0.029966386035084724,
0.03316401690244675,
-0.01620742864906788,
0.01874726265668869,
-0.1042245477437973,
-0.0688496008515358,
-0.007313442416489124,
-0.018153417855501175,
-0.046557530760765076,
-0.0007109022699296474,
-0.006582555361092091,
0.01046996284276247,
-0.02015422098338604,
-0.0043464964255690575,
0.022840233519673347,
-0.01940506137907505,
-0.07286947965621948,
-0.008830034174025059,
0.04483994469046593,
-0.037604160606861115,
0.016088660806417465,
0.03226868063211441,
-0.03917556628584862,
-0.02187180705368519,
0.022109344601631165,
0.06778980791568756,
-0.0012973252451047301,
0.011164305731654167,
0.006134886760264635,
0.057009220123291016,
0.007555549032986164,
0.008633607998490334,
-0.09362668544054031,
0.008665584027767181,
0.01616174913942814,
-0.013082885183393955,
0.11219122260808945,
-0.014681701548397541,
0.014188352972269058,
0.04184330627322197,
-0.026056136935949326,
-0.027810268104076385,
-0.02642158232629299,
0.014188352972269058,
0.030222196131944656,
0.0031747922766953707,
-0.008811761625111103,
0.031464703381061554,
-0.02682356908917427,
-0.031464703381061554,
0.0014971772907301784,
0.008679288439452648,
-0.028504610061645508,
-0.03064245730638504,
-0.004506377968937159,
-0.06490280479192734,
-0.00171187543310225,
-0.046118997037410736,
-0.014398482628166676,
0.0211226474493742,
-0.05185646563768387,
-0.007153560873121023,
0.044182147830724716,
0.01541258953511715,
-0.033474646508693695,
0.005952164530754089,
-0.013475737534463406,
-0.01585112139582634,
-0.007043927907943726,
0.03725698962807655,
-0.009538081474602222,
0.033748727291822433,
0.01492837630212307,
0.028084350749850273,
0.07937438040971756,
-0.02168908528983593,
-0.07688935846090317,
-0.003277573501691222,
0.06376992911100388,
0.04060079902410507,
-0.0014640588779002428,
0.03131852671504021,
0.041952941566705704,
0.025617605075240135,
-0.004006176721304655,
0.020958198234438896,
-0.017979830503463745,
-0.03358427807688713,
0.05097939819097519,
-0.04790967330336571,
0.0186193585395813,
0.03961410000920296,
-0.0044629815965890884,
0.058105550706386566,
0.015640990808606148,
0.03241485729813576,
-0.016673369333148003,
0.0004628002061508596,
-0.007491596508771181,
0.030404917895793915,
0.0157232154160738,
-0.00602525332942605,
-0.0822979286313057,
-0.025361794978380203,
-0.014699974097311497,
-0.030240468680858612,
0.03113580495119095,
-0.006139454431831837,
0.029491309076547623,
-0.08507529646158218,
0.04144131764769554,
0.006331312470138073,
-0.012945843860507011,
0.04071043059229851,
0.05671686679124832,
0.016609417274594307,
0.021305369213223457,
-0.004515514243394136,
0.0650855302810669,
-0.01747734658420086,
0.007459620013833046,
-0.04999270290136337,
-0.016253110021352768,
-0.035192232578992844,
-0.027645817026495934,
-0.06939776241779327,
0.02660430409014225,
0.0035539402160793543,
0.07959364354610443,
0.0005978430854156613,
0.0030925674363970757,
-0.02929031476378441,
-0.07031137496232986,
0.03961410000920296,
-0.06705892086029053,
0.05781319737434387,
-0.005947596859186888,
0.06581641733646393,
-0.0162805188447237,
0.0007457336178049445,
-0.03257930651307106,
0.060480937361717224,
-0.012552992440760136,
0.008743241429328918,
0.008729537017643452,
-0.07140770554542542,
-0.04125859588384628,
0.008816329762339592,
-0.00510250823572278,
0.029253769665956497,
-0.0375676155090332,
-0.011803832836449146,
0.042354926466941833,
0.020172493532299995,
0.011301347054541111,
-0.015449133701622486,
-0.03692808747291565,
0.025051167234778404,
-0.03643473982810974,
0.03276202827692032,
0.015622719191014767,
-0.02093992568552494,
-0.034534431993961334,
0.025654150173068047,
0.0907762199640274,
0.04988306760787964,
-0.03323710709810257,
-0.010040566325187683,
0.013356967829167843,
0.014681701548397541,
0.017459074035286903,
-0.012580400332808495,
-0.050248511135578156,
-0.05708231031894684,
0.020391760393977165,
0.0018808931345120072,
-0.0003917099966201931,
0.01053391583263874,
-0.052404630929231644,
-0.005458815488964319,
0.0179981030523777,
0.022182434797286987,
0.022675782442092896,
0.02084856480360031,
0.03407762572169304,
-0.01181296817958355,
0.008112850598990917,
0.05339132994413376,
0.07652391493320465,
-0.02967403084039688,
-0.0047279284335672855,
0.03627029061317444,
-0.014096992090344429,
-0.0741850733757019,
0.013274743221700191,
-0.043487802147865295,
-0.006865773815661669,
0.002670023124665022,
-0.06205234304070473,
-0.01417921669781208,
0.0060480935499072075,
0.008094578981399536,
-0.010670957155525684,
0.010022293776273727,
-0.04231838509440422,
0.05123521015048027,
-0.016518056392669678,
0.050248511135578156,
0.01328387949615717,
-0.052660442888736725,
0.0035722125321626663,
0.003791478695347905,
0.05298934131860733,
0.06797253340482712,
-0.06563369184732437,
0.029929840937256813,
-0.02826707251369953,
-0.05097939819097519,
-0.02168908528983593,
-0.0162805188447237,
-0.04509575664997101,
0.013512281700968742,
-0.019331973046064377,
0.020300399512052536,
-0.05119866505265236,
0.0015337216900661588,
-0.012945843860507011,
-0.0012071062810719013,
-0.07601229846477509,
0.00038714194670319557,
-0.0062536559998989105,
-0.031190622597932816,
0.05675341188907623,
-0.009259430691599846,
0.009031028486788273,
-0.02300468273460865,
-0.006230815313756466,
0.020355215296149254,
0.1001315787434578,
-0.000033350308513036,
0.011694199405610561,
0.004901513922959566,
0.05452420562505722,
-0.0003286138526163995,
0.03460752218961716,
0.0006149732507765293,
0.005874508060514927,
-0.0012687749695032835,
0.03946792334318161,
-0.0157232154160738,
0.010789725929498672,
0.03323710709810257,
-0.023022955283522606,
-0.016490647569298744,
-0.0039490764029324055,
-0.060078948736190796,
-0.029747119173407555,
0.037604160606861115,
-0.0008388075511902571,
-0.0057511706836521626,
-0.05996931716799736,
0.0305145513266325,
0.03859085589647293,
-0.014087855815887451,
-0.008446318097412586,
-0.037640705704689026,
-0.019825322553515434,
-0.04922527074813843,
0.0012824790319427848,
-0.01211445964872837,
0.028047805652022362,
0.005554744508117437,
-0.022328611463308334,
0.013092021457850933,
0.004942626226693392,
-0.027189012616872787,
-0.025343522429466248,
0.05404912680387497,
-0.020117677748203278,
-0.04754422977566719,
0.06866687536239624,
0.0691784992814064,
-0.06292940676212311,
0.0068429335951805115,
0.012781394645571709,
-0.024265462532639503,
-0.04359743744134903,
-0.05689958855509758,
-0.04790967330336571,
-0.03427862003445625,
-0.016216564923524857,
-0.0011265944922342896,
-0.0788627564907074,
0.015686672180891037,
0.03674536570906639,
-0.006011549383401871,
0.020044587552547455,
0.02554451674222946,
0.023772114887833595,
0.011264802888035774,
0.07067681849002838,
-0.03038664534687996,
-0.033474646508693695,
-0.005965868942439556,
-0.06928812712430954,
0.011008991859853268,
-0.04926181584596634,
0.014087855815887451,
0.037823427468538284,
-0.013996494933962822,
0.030788633972406387,
0.02673220820724964,
-0.005148188676685095,
-0.004869537428021431,
0.03236004337668419,
0.0042300112545490265,
-0.01730376109480858,
0.09348050504922867,
0.030222196131944656,
0.030240468680858612,
0.042428016662597656,
0.03341982886195183,
-0.04060079902410507,
-0.003791478695347905,
0.007815927267074585,
-0.008044330403208733,
-0.06757054477930069,
0.01361277885735035,
0.04147786274552345,
-0.03248794749379158,
-0.049627259373664856,
-0.02854115515947342,
-0.01427057757973671,
0.009291406720876694,
0.005303502082824707,
0.02269405499100685,
-0.015951618552207947,
0.0472518727183342,
0.07001902163028717,
-0.03438825532793999,
0.03263412415981293,
0.01194087415933609,
0.027335191145539284,
-0.059201885014772415,
-0.005458815488964319,
0.013969086110591888,
0.025325249880552292,
0.03877357766032219,
-0.02897968702018261,
-0.035192232578992844,
0.00037914785207249224,
-0.027737179771065712,
0.013594506308436394,
-0.018473180010914803,
0.017970696091651917,
0.048092395067214966,
0.011931737884879112,
-0.02989329770207405,
0.015385180711746216,
0.1108025386929512,
-0.005212141200900078,
-0.02497807890176773,
-0.09961996227502823,
-0.01106380857527256,
0.05646105483174324,
-0.04206257313489914,
0.02212761715054512,
-0.0735272765159607,
-0.007971241138875484,
-0.021305369213223457,
0.012242364697158337,
-0.024119285866618156,
0.012023098766803741,
-0.012653488665819168,
0.025343522429466248,
0.0018432068172842264,
0.0010946181137114763,
0.017230670899152756,
-0.010241560637950897,
0.011648518964648247,
-0.010990720242261887,
0.023479759693145752,
-0.008688424713909626,
0.005568448919802904,
-0.063550665974617,
0.016719050705432892,
-0.0007754259277135134,
0.00921831838786602,
0.01053391583263874,
0.008939667604863644,
0.04465722292661667,
-0.0075738211162388325,
0.025398338213562965,
-0.04970034584403038,
0.009190909564495087,
-0.029655758291482925,
-0.011959145776927471,
-0.04465722292661667,
0.029491309076547623,
-0.03329192474484444,
-0.08178630471229553,
0.014681701548397541,
-0.04345126077532768,
0.05949423834681511,
0.039358288049697876,
0.05317206308245659,
0.02156117931008339,
-0.02813916653394699,
0.05412221699953079,
0.02181699126958847,
0.005399431101977825,
-0.03195805475115776,
0.01686522737145424,
-0.02541661076247692,
-0.0066099632531404495,
-0.02494153380393982,
-0.020172493532299995,
0.0024576091673225164,
0.010917630977928638,
0.0063815610483288765,
0.01082627009600401,
0.014955784194171429,
0.0013281595893204212,
-0.01896652951836586,
-0.015549630858004093,
0.005541040562093258,
0.011602838523685932,
0.06325831264257431,
-0.010424282401800156,
0.013813773170113564,
0.01334783248603344,
0.044803399592638016,
0.03038664534687996,
0.02002631686627865,
0.03605102375149727,
-0.028047805652022362,
-0.0020030883606523275,
-0.01993495598435402,
-0.007920992560684681,
-0.032816845923662186,
-0.031903237104415894,
-0.006577987223863602,
0.030532823875546455,
0.050431232899427414,
-0.06267359852790833,
-0.005111644044518471,
0.008336684666574001,
0.04378015920519829,
0.038261957466602325,
-0.0021892362274229527,
0.022840233519673347,
0.03310920298099518,
0.03464406356215477,
0.042208749800920486,
-0.010442554950714111,
-0.013411784544587135,
0.01984359510242939,
-0.0763777419924736,
0.03420553356409073,
0.04575355350971222,
0.02788335643708706,
0.013932541944086552,
0.046118997037410736,
-0.009885252453386784,
-0.026659119874238968,
-0.009058436378836632,
-0.03186669200658798,
0.0011477216612547636,
-0.05923842638731003,
0.036855001002550125,
-0.05795937404036522,
-0.010780589655041695,
-0.03718389943242073,
-0.09260343760251999,
-0.000894766126293689,
0.017641795799136162,
0.07407544553279877,
-0.036197200417518616,
0.021140919998288155,
-0.03033182956278324,
-0.04290309175848961,
0.009528945200145245,
-0.022675782442092896,
-0.05737466365098953,
-0.034570977091789246,
-0.01247076690196991,
-0.011118625290691853,
-0.06424500793218613,
-0.0308251790702343,
0.07129807025194168,
0.020263854414224625,
-0.049188725650310516,
0.012827075086534023,
-0.037037722766399384,
-0.03625201806426048,
0.08595236390829086,
0.015348636545240879,
0.04706915095448494,
0.058507539331912994,
0.0410027876496315,
-0.026202315464615822,
-0.0020362066570669413,
-0.050467777997255325,
-0.04330508038401604,
0.022620966657996178,
0.024685723707079887,
0.015549630858004093,
-0.0744774341583252,
-0.06022512540221214,
-0.05167374387383461,
-0.045461200177669525,
0.0004239718255121261,
0.014891832135617733,
0.028248799964785576,
-0.039358288049697876,
0.008121986873447895,
-0.03157433867454529,
0.03581348434090614,
-0.04169712960720062,
0.02673220820724964,
0.010241560637950897,
-0.01334783248603344,
0.0277006346732378,
-0.011904329061508179,
0.03415071591734886,
0.0047918809577822685,
-0.01237940602004528,
-0.0453881099820137,
-0.04966380074620247,
-0.011045536957681179,
-0.005002011079341173,
0.011273939162492752,
-0.007628637831658125,
0.02695147506892681,
-0.0410027876496315,
0.029052775353193283,
-0.028394978493452072,
0.022292068228125572,
-0.0021549758967012167,
-0.02388174831867218,
-0.04641135409474373,
-0.0032684372272342443,
-0.007952969521284103,
-0.006450081709772348,
-0.021305369213223457,
0.0358317568898201,
-0.02669566497206688,
-0.025672422721982002,
0.06614531576633453,
-0.02879696525633335,
-0.0007114732288755476,
0.056789956986904144,
-0.0003794333606492728,
0.01020501647144556,
-0.004778176546096802,
-0.011776424013078213,
-0.007788519375026226,
-0.009930932894349098,
0.0016878931783139706,
0.014069583266973495,
-0.030404917895793915,
-0.07608538120985031,
0.02463090792298317,
-0.04692297428846359,
-0.023059498518705368,
0.025800326839089394,
0.009136092849075794,
-0.03656264394521713,
0.043926335871219635,
-0.006678483914583921,
0.009464992210268974,
-0.0010403726482763886,
0.05879989638924599,
0.0025261298287659883,
0.05342787131667137,
0.009012755937874317,
-0.035192232578992844,
-0.03438825532793999,
-0.008368661627173424,
-0.02178044617176056,
0.020483121275901794,
-0.0006281064124777913,
0.01720326393842697,
-0.05412221699953079,
0.013777228072285652,
-0.06095601245760918,
0.0059247566387057304,
0.023169131949543953,
0.0494445376098156,
-0.009145229123532772,
-0.06044439226388931,
-0.01269003376364708,
-0.0003554511349648237,
-0.02550797164440155,
0.033127475529909134,
-0.001823792583309114,
-0.016618553549051285,
0.037640705704689026,
-0.0029418219346553087,
0.0208120197057724,
-0.04016226530075073,
0.03245140239596367,
0.036909814924001694,
-0.0284863393753767,
0.023059498518705368,
0.019953226670622826,
-0.015120234340429306,
-0.002441620919853449,
-0.05518200248479843,
-0.05379331484436989,
0.05430493876338005,
0.07864349335432053,
-0.03667227923870087,
0.013603642582893372,
-0.0726136714220047,
-0.016125204041600227,
0.04703260585665703,
-0.014672565273940563,
-0.009729939512908459,
0.03407762572169304,
-0.06515861302614212,
-0.01677386648952961,
0.009464992210268974,
0.055876344442367554,
0.009382767602801323,
0.02669566497206688,
-0.013055477291345596,
0.006468353793025017,
-0.021177463233470917,
-0.035758670419454575,
-0.04706915095448494,
-0.021707357838749886,
-0.02318740449845791,
-0.01716671884059906,
-0.05247771739959717,
0.01606125198304653,
0.019423333927989006,
-0.0005127632175572217,
0.03546631336212158,
0.029600942507386208,
-0.00008408060966758057,
0.03427862003445625,
0.033785272389650345,
-0.0212870966643095,
0.03676363825798035,
0.025051167234778404,
0.02879696525633335,
0.04582664370536804,
0.011538885533809662,
0.005906484089791775,
0.039358288049697876,
0.006450081709772348,
0.02642158232629299,
-0.009848708286881447,
-0.049371447414159775,
-0.018473180010914803,
0.06095601245760918,
0.003119975794106722,
0.0028550291899591684,
0.03267066925764084,
-0.026238858699798584,
0.0447668582201004
]
|
40,548 | pyglove.core.geno.base | _on_bound | Event that is triggered when object is modified. | 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()
| (self) | [
0.01412213034927845,
0.017441917210817337,
-0.0480760782957077,
0.03667408600449562,
-0.018788950517773628,
-0.02143087610602379,
-0.00842548068612814,
0.04254889115691185,
0.06180713325738907,
-0.014078677631914616,
-0.05885234847664833,
-0.00118082738481462,
0.022108737379312515,
0.004992716014385223,
-0.07209673523902893,
0.03497074171900749,
0.015147614292800426,
0.026975441724061966,
-0.03663932532072067,
-0.08280348032712936,
0.008581910282373428,
-0.014339393936097622,
-0.0032241910230368376,
0.036743611097335815,
-0.02287350594997406,
-0.019640624523162842,
-0.013904866762459278,
0.008455896750092506,
0.06312809884548187,
0.008833935484290123,
-0.04376556724309921,
-0.03406692296266556,
-0.003830356290563941,
-0.01731155999004841,
-0.000030552684620488435,
-0.06948956847190857,
0.03060808777809143,
0.04098459333181381,
-0.013435577973723412,
0.02796616405248642,
-0.00031530371052213013,
0.007682438939809799,
-0.01671191118657589,
0.024837568402290344,
0.015547378920018673,
0.02485494874417782,
0.0035674674436450005,
0.0738348439335823,
0.061459511518478394,
-0.057948533445596695,
-0.03545740991830826,
-0.005057895090430975,
0.03363239765167236,
0.06597859412431717,
-0.024559471756219864,
0.032155003398656845,
0.02226516790688038,
0.08238633722066879,
0.0205618217587471,
-0.00038401331403292716,
-0.0320507176220417,
-0.016381671652197838,
-0.0004931882722303271,
-0.12020757049322128,
0.004575570113956928,
-0.045399390161037445,
-0.0009027300402522087,
0.05064847692847252,
-0.02621067315340042,
-0.005040514282882214,
-0.042757466435432434,
-0.0219523087143898,
0.06097283959388733,
0.04644225537776947,
-0.04338318482041359,
-0.011958185583353043,
-0.010524245910346508,
0.0027483839076012373,
0.07557295262813568,
-0.00983769353479147,
0.042340319603681564,
-0.014226417057216167,
-0.008777447044849396,
-0.01648595742881298,
-0.07550342381000519,
-0.032572150230407715,
0.02259540930390358,
-0.030260466039180756,
0.022299930453300476,
-0.01428725104779005,
-0.013061883859336376,
0.07202720642089844,
-0.03429287672042847,
0.053777072578668594,
0.020805157721042633,
-0.0053403377532958984,
-0.0008131088106893003,
-0.011054368689656258,
-0.0026397521141916513,
0.013896176591515541,
-0.020909443497657776,
0.008116966113448143,
-0.005753138568252325,
0.0537075474858284,
0.0008571046637371182,
-0.01367891300469637,
0.02860926277935505,
-0.04713749885559082,
-0.040949832648038864,
0.008573219180107117,
-0.008994710631668568,
0.05200420320034027,
-0.029321888461709023,
0.01986657828092575,
-0.003630473744124174,
0.0063962386921048164,
-0.04995323345065117,
-0.0331457257270813,
-0.012922835536301136,
-0.003289370099082589,
-0.031042614951729774,
-0.02699282206594944,
-0.043452709913253784,
0.006952433381229639,
-0.03684789687395096,
0.016503339633345604,
0.019988246262073517,
0.04658130556344986,
0.033962637186050415,
-0.057531386613845825,
0.0055793276987969875,
-0.08447206765413284,
-0.026784250512719154,
0.0495360866189003,
-0.005322956945747137,
-0.01847609132528305,
0.04129745438694954,
-0.00659612100571394,
-0.0067786225117743015,
0.07286150008440018,
0.0051230741664767265,
0.007517318706959486,
0.04970989748835564,
0.0009950670646503568,
0.06639573723077774,
-0.00010381123865954578,
-0.025949956849217415,
0.0495360866189003,
-0.02629757858812809,
-0.0529775433242321,
-0.010150552727282047,
-0.0062876068986952305,
0.017467988654971123,
0.014217725954949856,
-0.06097283959388733,
0.021830640733242035,
-0.04870179668068886,
-0.07307007163763046,
-0.008881733752787113,
-0.001849999069236219,
-0.016355600208044052,
-0.003189428709447384,
0.002559364540502429,
-0.045399390161037445,
-0.015451783314347267,
0.028400691226124763,
0.0205618217587471,
-0.10838843882083893,
-0.02986070141196251,
0.0432441346347332,
-0.012905454263091087,
-0.04672035202383995,
-0.009941979311406612,
0.062432851642370224,
0.031650952994823456,
0.06177237257361412,
0.016564171761274338,
-0.00030987212085165083,
0.04296603798866272,
0.010246148332953453,
0.03962887078523636,
-0.03809933364391327,
-0.05784424766898155,
0.03573550656437874,
-0.00243769702501595,
-0.020457535982131958,
0.005105693358927965,
-0.0013339981669560075,
0.050683241337537766,
0.037021707743406296,
0.01797204092144966,
-0.028139974921941757,
-0.022769220173358917,
-0.026784250512719154,
0.020718252286314964,
0.04282699152827263,
-0.017485370859503746,
-0.034744784235954285,
-0.0823168084025383,
0.027166632935404778,
-0.02370779775083065,
-0.05457660183310509,
-0.01986657828092575,
-0.004466938320547342,
-0.018545616418123245,
0.08447206765413284,
0.0033502038568258286,
0.06399714946746826,
0.024524709209799767,
-0.046789877116680145,
-0.007247911766171455,
0.0028743967413902283,
0.010585079900920391,
0.059895213693380356,
0.05888710916042328,
-0.04939704015851021,
-0.06514430046081543,
-0.011975566856563091,
0.023134222254157066,
0.03147714212536812,
0.0005377272609621286,
-0.011940804310142994,
-0.02593257650732994,
-0.029426174238324165,
-0.022943031042814255,
-0.024889711290597916,
0.017520131543278694,
-0.007682438939809799,
0.016598934307694435,
-0.02101372927427292,
0.0369521826505661,
0.020718252286314964,
-0.03356287255883217,
-0.045955583453178406,
0.05005751922726631,
0.05603661388158798,
-0.0031438034493476152,
-0.003469698829576373,
-0.0949007123708725,
0.023221127688884735,
-0.032624293118715286,
0.028348546475172043,
0.018910618498921394,
-0.007534699514508247,
-0.04459986090660095,
0.0003468069189693779,
0.019605861976742744,
0.05301230400800705,
-0.032380957156419754,
-0.024698520079255104,
0.03300667926669121,
-0.030451659113168716,
-0.042201269418001175,
0.03740409016609192,
-0.010054957121610641,
-0.07891011983156204,
-0.030295228585600853,
0.015521307475864887,
-0.005501112900674343,
-0.0016924829687923193,
-0.017885135486721992,
0.01805894635617733,
-0.05422898009419441,
0.08975591510534286,
0.030486419796943665,
0.0191713348031044,
0.02236945368349552,
0.05513279512524605,
-0.023777322843670845,
-0.0020390183199197054,
0.06910718977451324,
-0.04487795755267143,
-0.019379908218979836,
0.006987195461988449,
-0.03935077413916588,
-0.040671736001968384,
-0.011593182571232319,
0.02462899498641491,
-0.07619866728782654,
0.024889711290597916,
0.09177212417125702,
0.008138692006468773,
0.02448994666337967,
0.017720013856887817,
-0.07863201946020126,
-0.033736683428287506,
0.012679500505328178,
0.01041995920240879,
-0.015729879960417747,
-0.04143650457262993,
-0.0005757483886554837,
0.037021707743406296,
0.01573857106268406,
0.04505176842212677,
0.01903228648006916,
-0.03559646010398865,
-0.05342945083975792,
0.014904279261827469,
-0.0061789751052856445,
0.06535287201404572,
0.0016924829687923193,
-0.0027635921724140644,
-0.021378733217716217,
0.01986657828092575,
-0.014339393936097622,
-0.04922322928905487,
0.062015704810619354,
-0.00606599822640419,
0.007678093854337931,
-0.0037108613178133965,
0.03796028718352318,
0.002520257141441107,
-0.03432764112949371,
0.06785575300455093,
0.048493221402168274,
-0.029617365449666977,
-0.002357309451326728,
-0.04745035618543625,
0.03286762908101082,
0.10560746490955353,
-0.05784424766898155,
-0.04466938599944115,
-0.04421747475862503,
-0.002830944024026394,
0.016242623329162598,
-0.007074100896716118,
0.04811083897948265,
0.04199269786477089,
0.006570049561560154,
-0.0014817373594269156,
-0.05523708462715149,
-0.03385835140943527,
0.0397331565618515,
0.020353248342871666,
0.006074688863009214,
-0.023777322843670845,
0.005874806083738804,
-0.006835110951215029,
0.028504977002739906,
-0.03434501960873604,
0.01661631651222706,
0.022056594491004944,
-0.032572150230407715,
0.007260947488248348,
0.027062347158789635,
0.024976616725325584,
0.00928149838000536,
-0.004527772311121225,
0.052664682269096375,
-0.017259415239095688,
-0.07619866728782654,
0.00003406624455237761,
-0.009968051686882973,
0.03429287672042847,
0.017702633515000343,
-0.03497074171900749,
0.03060808777809143,
-0.010089718736708164,
-0.038690291345119476,
-0.04133221507072449,
0.03323263302445412,
-0.0383426696062088,
-0.02259540930390358,
-0.05520232021808624,
0.022769220173358917,
0.014313322491943836,
-0.02292564883828163,
-0.03467526286840439,
0.048319410532712936,
-0.061737608164548874,
-0.05471565201878548,
-0.03217238560318947,
-0.015990596264600754,
0.07091481983661652,
0.027809733524918556,
-0.026662582531571388,
0.012974978424608707,
0.04696368798613548,
0.015947144478559494,
0.019101811572909355,
0.030434276908636093,
-0.013765818439424038,
-0.022004451602697372,
0.012609976343810558,
-0.02754901722073555,
0.012757714837789536,
0.01740715466439724,
0.006826420780271292,
0.02037063054740429,
-0.018771570175886154,
0.037160757929086685,
-0.03128594905138016,
-0.026401866227388382,
-0.011732231825590134,
-0.011801755987107754,
0.0015545206842944026,
0.041888412088155746,
-0.029148077592253685,
-0.0177808478474617,
-0.005561946891248226,
-0.0167206022888422,
0.0006974159623496234,
-0.049188464879989624,
0.00844720657914877,
-0.0011753957951441407,
-0.010002813301980495,
0.03302405774593353,
0.07091481983661652,
0.01634690910577774,
-0.03921172395348549,
-0.030086655169725418,
0.03269381821155548,
-0.0010254839435219765,
-0.07425198704004288,
0.03823838382959366,
-0.051656581461429596,
0.038168858736753464,
-0.07543390244245529,
0.008686196058988571,
0.04477367177605629,
0.021309208124876022,
0.07466913759708405,
-0.01527797244489193,
0.029252363368868828,
-0.05207372456789017,
-0.0022204334381967783,
0.00435178866609931,
0.007960536517202854,
0.05756614729762077,
0.055028509348630905,
-0.027705447748303413,
0.030625469982624054,
-0.012010328471660614,
-0.0369521826505661,
-0.0032958879601210356,
-0.0038021120708435774,
0.014408918097615242,
-0.02148301899433136,
-0.016868341714143753,
0.04630320519208908,
-0.00856452900916338,
0.02607162483036518,
0.048806082457304,
-0.011462824419140816,
0.0090729258954525,
0.009411856532096863,
-0.013009740971028805,
0.024889711290597916,
0.0030069274362176657,
-0.03467526286840439,
0.060347121208906174,
0.0177808478474617,
0.038586005568504333,
-0.01388748548924923,
-0.014182964339852333,
-0.040080778300762177,
-0.10546841472387314,
-0.058643776923418045,
0.02139611355960369,
-0.00552283925935626,
-0.11116941273212433,
-0.0013470340054482222,
-0.04084554687142372,
-0.007504282984882593,
-0.008994710631668568,
0.019049666821956635,
-0.012835930101573467,
-0.000422306009568274,
-0.05381183326244354,
0.007465175352990627,
0.04070649668574333,
-0.02680163085460663,
0.02638448402285576,
-0.07578152418136597,
-0.029791176319122314,
0.0027549017686396837,
-0.018510853871703148,
0.0037869035732001066,
-0.016277384012937546,
-0.017667870968580246,
0.051830392330884933,
0.0035283600445836782,
0.03093832917511463,
0.0024442148860543966,
-0.01648595742881298,
0.016034049913287163,
-0.03295453265309334,
0.0030416895169764757,
-0.02593257650732994,
-0.009177211672067642,
-0.02843545190989971,
0.004540808033198118,
-0.020805157721042633,
0.0028917777817696333,
-0.012418784201145172,
0.0025506739038974047,
0.029513079673051834,
-0.004158424213528633,
0.07592057436704636,
-0.03583979606628418,
-0.0376126654446125,
-0.007008921820670366,
0.00018331612227484584,
-0.01088055782020092,
0.016737982630729675,
-0.01958848163485527,
-0.01505201868712902,
0.015947144478559494,
-0.055167559534311295,
-0.012775096110999584,
0.047519881278276443,
-0.06354524195194244,
0.0795358344912529,
0.002194361761212349,
0.034849073737859726,
-0.003230708884075284,
-0.00019064875959884375,
0.05050943046808243,
-0.06114665046334267,
-0.039559345692396164,
0.030434276908636093,
-0.029617365449666977,
0.057948533445596695,
-0.03172047808766365,
-0.004975335206836462,
-0.022838743403553963,
-0.06942004710435867,
-0.010480793192982674,
0.028783073648810387,
-0.002828771248459816,
0.06340619176626205,
-0.041366979479789734,
0.01259259507060051,
0.040115538984537125,
0.0071653518825769424,
0.04366128146648407,
0.03903791308403015,
-0.08607112616300583,
-0.047519881278276443,
0.025532811880111694,
0.011341157369315624,
-0.0003913459659088403,
0.05329040065407753,
0.023029936477541924,
0.013131408952176571,
-0.015599522739648819,
-0.013018431141972542,
-0.02296041138470173,
-0.02462899498641491,
-0.013687603175640106,
-0.006196356378495693,
-0.031320713460445404,
0.017372392117977142,
-0.033041439950466156,
-0.020492296665906906,
-0.032624293118715286,
0.027340443804860115,
-0.025776145979762077,
0.013322600163519382,
0.0279140193015337,
-0.011445443145930767,
0.032989297062158585,
0.10838843882083893,
0.015434402041137218,
0.019223477691411972,
0.04894513264298439,
-0.02662781998515129,
0.020527059212327003,
0.023725178092718124,
-0.01592976227402687,
0.04672035202383995,
0.022334692999720573,
0.003686962416395545,
-0.002235641935840249,
-0.024246610701084137,
0.029460936784744263,
0.002600644715130329,
-0.010924010537564754,
-0.026002101600170135,
-0.03239833936095238,
-0.007930119521915913,
0.006009509786963463,
-0.011514968238770962,
-0.017259415239095688,
-0.019049666821956635,
0.026923298835754395,
-0.010246148332953453,
0.1186085119843483,
0.03019094280898571,
-0.00018263717356603593,
-0.0656309723854065,
0.00851673074066639,
-0.039802681654691696,
-0.04167983680963516,
0.03239833936095238,
-0.0013394297566264868,
-0.04564272612333298,
-0.03046903945505619,
-0.035909317433834076,
-0.003867291146889329,
0.011680088005959988,
0.019223477691411972,
0.009820312261581421,
0.042618416249752045,
-0.030868804082274437,
-0.04449557512998581,
-0.04626844450831413,
0.023273270577192307,
-0.016312146559357643,
-0.008668815717101097,
-0.03184214606881142,
0.021500401198863983,
0.03653503581881523,
0.016538100317120552,
0.01661631651222706,
-0.041645076125860214,
0.005514148622751236,
0.009385785087943077,
0.024611614644527435,
0.037473615258932114,
-0.019918721169233322,
0.002194361761212349,
-0.029182840138673782,
0.02958260476589203,
-0.009924598969519138,
-0.07334817200899124,
0.06288476288318634,
-0.038690291345119476,
-0.005618435330688953,
0.017650490626692772,
-0.029426174238324165,
0.009524833410978317,
-0.04459986090660095,
-0.05287325754761696,
0.09316261112689972,
0.030677612870931625,
0.0031351130455732346,
0.014965113252401352,
-0.010915320366621017,
0.00951614324003458,
0.019293002784252167,
-0.04063697159290314,
0.07126244157552719,
0.0016283902805298567,
-0.01986657828092575,
0.06177237257361412,
-0.024437803775072098,
0.011254251934587955,
0.0425836555659771,
-0.018024183809757233,
-0.030295228585600853,
-0.024246610701084137,
-0.01894538104534149,
-0.0064657628536224365,
0.028765693306922913,
0.00016946556570474058,
-0.022525884211063385,
-0.029339268803596497,
0.01658155396580696,
0.005800936836749315,
-0.07842344790697098,
0.021743735298514366,
0.0025571919977664948,
-0.032102860510349274,
0.11422847956418991,
0.04703321307897568,
-0.031564049422740936,
0.03523145616054535,
-0.02555019222199917,
0.06837718188762665,
-0.04745035618543625,
-0.002483322285115719,
-0.014391536824405193,
0.0247332826256752,
-0.03462311998009682,
-0.0793967917561531,
0.029895463958382607,
0.014113440178334713,
0.019067049026489258,
0.011645326390862465,
0.0010298291454091668,
0.006765586789697409,
-0.012957598082721233,
-0.03253738954663277,
0.0439741425216198,
0.029930226504802704,
-0.009898527525365353,
-0.03041689656674862,
0.061007604002952576,
-0.03594408184289932,
-0.02393375150859356,
-0.025202570483088493,
0.041366979479789734,
0.0034414546098560095,
-0.049292754381895065,
-0.09246736764907837,
-0.0494665652513504,
-0.04237508028745651,
0.024142324924468994,
0.04181888699531555,
0.057670436799526215,
0.040254589170217514,
-0.0044799745082855225,
-0.03778647631406784,
0.008442861028015614,
0.019327765330672264,
-0.060173310339450836,
-0.00003345519144204445,
0.07202720642089844,
-0.045677486807107925,
0.01616440713405609,
0.06010378524661064,
-0.017850372940301895,
-0.019883958622813225,
0.03594408184289932,
0.05033561959862709,
-0.05833091586828232,
0.009490071795880795,
-0.004997061565518379,
0.006222427822649479,
0.002870051423087716,
0.003852082649245858,
0.03587455675005913,
-0.03046903945505619,
0.017189892008900642,
0.05690566822886467,
0.04619891941547394,
-0.04731130972504616,
-0.027427349239587784,
0.015364877879619598,
0.02907855249941349,
-0.011723540723323822,
-0.055028509348630905,
0.016633696854114532,
0.014295941218733788,
-0.025219952687621117,
0.0014426299603655934,
0.0008695973083376884,
-0.010289601050317287,
0.033493347465991974,
-0.031650952994823456,
-0.027983544394373894,
0.05429850518703461,
0.008951257914304733,
0.02282136306166649,
0.03184214606881142,
-0.018128469586372375,
0.009646501392126083,
0.02393375150859356,
0.019744910299777985,
0.0781453549861908,
0.09017305821180344,
0.01611226424574852,
-0.0069220163859426975,
0.05930425599217415,
-0.015225829556584358,
-0.02384684607386589,
0.054750412702560425,
0.031790003180503845,
-0.03587455675005913,
-0.05144800618290901,
-0.017467988654971123,
-0.016007978469133377,
-0.02648877166211605,
0.029704270884394646,
0.02707972750067711,
0.007573807146400213,
0.02542852610349655
]
|
40,552 | pyglove.core.geno.base | _on_path_change | Event that is triggered when path changes. | 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
| (self, old_path, new_path) | [
0.023677432909607887,
0.02241799607872963,
0.002581847831606865,
0.06930506974458694,
-0.0697728618979454,
-0.03076627105474472,
0.0038660247810184956,
0.053939927369356155,
0.023641450330615044,
0.011352933943271637,
0.015967873856425285,
-0.06779374927282333,
0.04793060943484306,
0.02078072726726532,
-0.05361607298254967,
-0.030442414805293083,
-0.0055460250005126,
-0.004111165180802345,
-0.018963538110256195,
-0.032007716596126556,
-0.009544740431010723,
-0.027203859761357307,
0.0050017680041491985,
0.0020589560735970736,
-0.029794704169034958,
0.023443538695573807,
-0.017605142667889595,
0.008676627650856972,
0.03168386220932007,
-0.04188530892133713,
-0.04390040785074234,
-0.021104581654071808,
-0.013628917746245861,
-0.01268433965742588,
-0.032223619520664215,
-0.0004891566932201385,
0.02207614853978157,
0.020222974941134453,
-0.01950329728424549,
0.027077917009592056,
-0.04188530892133713,
0.03353703394532204,
-0.028949081897735596,
0.01098409853875637,
0.014240644872188568,
0.039294466376304626,
-0.05350812152028084,
0.030208518728613853,
0.004925302229821682,
0.015760965645313263,
-0.024559039622545242,
-0.04951390251517296,
-0.006998876575380564,
0.02992064692080021,
0.0006752611370757222,
0.02088867872953415,
0.04048193618655205,
0.0023704422637820244,
0.03348305821418762,
-0.03038843907415867,
0.033051252365112305,
-0.020402895286679268,
0.03592996671795845,
-0.047858644276857376,
-0.017155343666672707,
-0.061100732535123825,
0.059229567646980286,
0.012747311033308506,
-0.05178089067339897,
0.0518888458609581,
-0.07959648221731186,
-0.03612787649035454,
0.03900659456849098,
-0.005393093451857567,
0.01026441901922226,
0.018324822187423706,
-0.03064032644033432,
0.020708758383989334,
0.08369864523410797,
0.018801609054207802,
0.0011795986210927367,
-0.08830459415912628,
0.020636791363358498,
-0.03470651060342789,
-0.010615263134241104,
0.023299602791666985,
0.07779727876186371,
-0.054767560213804245,
0.0394384004175663,
0.037027474492788315,
-0.022022172808647156,
0.007619599811732769,
-0.03474249690771103,
0.008330282755196095,
0.059337519109249115,
0.0014809641288593411,
0.018261849880218506,
-0.021230526268482208,
0.03799904137849808,
-0.0050422498025000095,
0.006841446738690138,
-0.0006398394471034408,
0.016165785491466522,
0.038322899490594864,
-0.012072612531483173,
-0.05786217749118805,
0.0049612862057983875,
-0.021320486441254616,
-0.02652016468346119,
-0.007052852772176266,
-0.04238908365368843,
0.04555566981434822,
-0.01903550513088703,
0.025332694873213768,
-0.0076240976341068745,
0.017812050879001617,
-0.03314121067523956,
-0.06657028943300247,
-0.008559680543839931,
-0.01720931939780712,
-0.003249799832701683,
0.008618153631687164,
-0.0492979995906353,
0.02558458223938942,
-0.0006162250065244734,
-0.014645464718341827,
0.014546508900821209,
0.05919358506798744,
0.00281799235381186,
-0.024864904582500458,
0.017902011051774025,
-0.02454104833304882,
-0.017281288281083107,
0.020240968093276024,
0.04181334003806114,
0.01174875721335411,
-0.004857832100242376,
-0.0033150205854326487,
0.007709559518843889,
0.05282442644238472,
-0.0184237789362669,
-0.02628627046942711,
0.05228466913104057,
-0.01026441901922226,
0.04652723670005798,
0.054875511676073074,
0.005046747624874115,
0.02558458223938942,
-0.0814676433801651,
0.006418635603040457,
-0.018585706129670143,
-0.011514861136674881,
0.044080328196287155,
-0.04404434561729431,
-0.011289961636066437,
-0.00877558346837759,
-0.0620003305375576,
-0.014573496766388416,
0.026700085029006004,
-0.003429719479754567,
-0.004338313825428486,
-0.07563824951648712,
0.08182748407125473,
-0.01032739132642746,
-0.002795502543449402,
0.003690602956339717,
-0.04861430451273918,
-0.06473511457443237,
-0.038934625685214996,
-0.004736386239528656,
0.013781849294900894,
0.01110104564577341,
-0.03427470475435257,
-0.0059868283569812775,
-0.02583646960556507,
0.011550845578312874,
0.06117270141839981,
0.023101691156625748,
0.035840004682540894,
0.057574305683374405,
0.03792707622051239,
-0.03089221380650997,
-0.008280804380774498,
0.10442540049552917,
0.02686201222240925,
0.011343937367200851,
-0.013637914322316647,
-0.011730764992535114,
0.018603697419166565,
0.03019052743911743,
-0.07351519167423248,
0.006944900844246149,
0.029272936284542084,
0.007376708090305328,
0.0293269120156765,
0.01496932003647089,
0.00283373543061316,
-0.043720491230487823,
-0.06272000819444656,
0.06750587373971939,
0.03688354045152664,
-0.022148115560412407,
0.015311167575418949,
0.01490634772926569,
0.002952932147309184,
0.08643342554569244,
0.01449253223836422,
0.06520289927721024,
0.033393099904060364,
0.032205626368522644,
-0.04839840158820152,
0.01149686984717846,
0.02031293511390686,
-0.02299373969435692,
-0.003758072853088379,
-0.054515670984983444,
-0.06603053212165833,
0.03724338114261627,
-0.0015754220075905323,
-0.0012167070526629686,
0.046095430850982666,
0.03461655229330063,
-0.03132402151823044,
0.0037828118074685335,
-0.023767393082380295,
-0.03663165122270584,
0.019665224477648735,
-0.01233349647372961,
0.005703454837203026,
-0.01948530413210392,
0.02993864007294178,
-0.015248195268213749,
-0.007115824613720179,
-0.07322732359170914,
0.042317114770412445,
0.04181334003806114,
-0.029560808092355728,
-0.01455550454556942,
-0.04195727780461311,
0.02912900038063526,
-0.060057200491428375,
-0.028553258627653122,
0.02686201222240925,
-0.03125205263495445,
-0.017137352377176285,
-0.025080807507038116,
0.02173430100083351,
0.008429238572716713,
0.0009665061952546239,
-0.03085622936487198,
0.023299602791666985,
-0.048182498663663864,
-0.032583460211753845,
0.02394731342792511,
0.03871872276067734,
-0.032331570982933044,
-0.03429269790649414,
0.013871809467673302,
-0.005114217754453421,
0.016930444166064262,
-0.029200969263911247,
0.017479199916124344,
-0.046059444546699524,
0.06908916682004929,
-0.02981269545853138,
-0.02347952127456665,
0.023515505716204643,
0.007813013158738613,
-0.03087422251701355,
-0.00378506095148623,
0.0866493284702301,
-0.019989078864455223,
-0.0596613772213459,
0.033051252365112305,
0.007340724114328623,
-0.0490461140871048,
-0.023407554253935814,
0.03130602836608887,
-0.08808869123458862,
-0.008469720371067524,
0.02052883803844452,
-0.013943777419626713,
0.044907961040735245,
0.041021693497896194,
-0.09017575532197952,
-0.026736069470643997,
-0.002035341691225767,
-0.02266988344490528,
-0.019575264304876328,
0.006540081463754177,
0.011038074269890785,
0.0260703656822443,
-0.08276306837797165,
0.06890925019979477,
0.0547315739095211,
0.010876146145164967,
-0.0008253816631622612,
-0.02689799666404724,
-0.0063286758959293365,
0.036685626953840256,
0.010795182548463345,
0.026592133566737175,
-0.016237754374742508,
-0.033033259212970734,
0.0110920500010252,
-0.01585092581808567,
0.046203382313251495,
-0.013754861429333687,
0.05555920675396919,
0.012036629021167755,
-0.0341307707130909,
-0.0004070683498866856,
-0.09427792578935623,
0.008037912659347057,
0.026933981105685234,
-0.043972376734018326,
-0.006387149915099144,
-0.022957755252718925,
0.00025793176610022783,
0.0635836273431778,
-0.07873286306858063,
0.05743037164211273,
-0.10233832895755768,
0.02018699049949646,
-0.03335711359977722,
0.002755020512267947,
0.061676476150751114,
0.05750234052538872,
-0.00027985949418507516,
0.038898639380931854,
-0.04015807807445526,
-0.011469881050288677,
0.026034381240606308,
-0.01756916008889675,
-0.020492855459451675,
-0.02968675270676613,
0.007826507091522217,
-0.025656551122665405,
0.018963538110256195,
0.03639775887131691,
0.09636499732732773,
0.005910362582653761,
-0.01233349647372961,
-0.014744420535862446,
0.04393639415502548,
0.04739085212349892,
0.030820246785879135,
0.012315504252910614,
-0.01795598678290844,
0.04497992619872093,
-0.06603053212165833,
0.006670523434877396,
-0.0422811321914196,
-0.027185868471860886,
0.017308276146650314,
-0.032691411674022675,
0.0016024098731577396,
-0.04541173577308655,
-0.020240968093276024,
-0.03637976571917534,
0.057358402758836746,
-0.01755116693675518,
-0.017578154802322388,
-0.04188530892133713,
0.018747633323073387,
0.016183778643608093,
-0.01583293452858925,
-0.002916948404163122,
0.05228466913104057,
-0.03332113102078438,
-0.028211411088705063,
-0.0314139798283577,
0.036001935601234436,
0.03531824052333832,
0.04789462685585022,
0.017353255301713943,
0.0284093227237463,
0.04832643270492554,
0.005815904587507248,
0.04285687580704689,
0.012306507676839828,
0.008348274976015091,
-0.0016215264331549406,
0.034346673637628555,
-0.047966595739126205,
-0.0028044984210282564,
0.07247165590524673,
-0.014501528814435005,
0.021806268021464348,
0.003092369996011257,
0.024091249331831932,
0.005303133279085159,
0.029093017801642418,
-0.06732595711946487,
0.005028755869716406,
-0.031018158420920372,
0.06639037281274796,
0.012324499897658825,
0.0018261850345879793,
-0.024271169677376747,
-0.024505063891410828,
0.02875117026269436,
-0.09377415478229523,
0.013071167282760143,
0.04105767607688904,
-0.02265189215540886,
0.02499084733426571,
0.06923310458660126,
-0.00863614585250616,
-0.05858185887336731,
0.0030114061664789915,
0.007619599811732769,
0.00980562437325716,
-0.005141205620020628,
0.04832643270492554,
-0.06948499381542206,
-0.01642666943371296,
-0.0537240244448185,
0.02804948203265667,
0.01139791402965784,
-0.028697194531559944,
0.09866797178983688,
0.005519037134945393,
0.004853334277868271,
0.021230526268482208,
0.0032767876982688904,
-0.0314139798283577,
0.05901366472244263,
0.03317719325423241,
0.08528194576501846,
0.055955030024051666,
0.021158557385206223,
-0.01982715167105198,
0.004572209436446428,
-0.025494622066617012,
0.021626349538564682,
0.028229402378201485,
0.0005779920611530542,
0.013134138658642769,
-0.006971888709813356,
-0.0345086008310318,
0.02279582805931568,
0.0111550223082304,
-0.015437111258506775,
0.036685626953840256,
-0.013305062428116798,
-0.026736069470643997,
-0.002739277668297291,
-0.007358716335147619,
-0.03623582795262337,
0.011901688762009144,
-0.022453980520367622,
-0.02783357910811901,
-0.0038660247810184956,
-0.04264097288250923,
-0.020168999210000038,
-0.05494748055934906,
0.010705222375690937,
-0.010426347143948078,
0.02783357910811901,
-0.0845622643828392,
0.04170538857579231,
0.00387502065859735,
-0.03533622995018959,
0.042461052536964417,
-0.04264097288250923,
0.013071167282760143,
-0.009886587969958782,
-0.049226030707359314,
-0.047138962894678116,
0.061352621763944626,
-0.052788443863391876,
-0.054659608751535416,
0.03159390017390251,
-0.057106517255306244,
-0.018513737246394157,
-0.007174298632889986,
-0.02560257539153099,
-0.022220084443688393,
0.015311167575418949,
0.03846683353185654,
0.026250286027789116,
0.0004275904211681336,
-0.02772562764585018,
0.009337833151221275,
-0.05185285955667496,
-0.03911454603075981,
0.02466699294745922,
-0.05667470768094063,
-0.006184739992022514,
-0.027419764548540115,
-0.04656321927905083,
-0.0594094879925251,
0.006274699699133635,
0.008496708236634731,
-0.01209060475230217,
0.019305385649204254,
-0.01806393824517727,
0.055955030024051666,
-0.025080807507038116,
-0.036811571568250656,
-0.041165631264448166,
0.03395085036754608,
0.0417773574590683,
0.00784000102430582,
0.04598747938871384,
0.0010575905907899141,
0.02804948203265667,
-0.042317114770412445,
0.02418120950460434,
0.033770930022001266,
-0.04159743711352348,
0.11579632759094238,
0.034688521176576614,
-0.0014899601228535175,
0.001161606633104384,
-0.029254944995045662,
0.05368804186582565,
0.03182779625058174,
-0.0016237753443419933,
-0.01818988285958767,
-0.06185639649629593,
0.06631840765476227,
-0.05185285955667496,
0.0032138158567249775,
-0.02394731342792511,
-0.04310876131057739,
-0.023155666887760162,
0.004790362436324358,
-0.015994861721992493,
0.007133816368877888,
-0.006553575396537781,
0.04357655346393585,
0.07844499498605728,
-0.012954219244420528,
0.05591904744505882,
0.028481289744377136,
-0.06048900634050369,
-0.08513800799846649,
0.011730764992535114,
0.0002053614880423993,
-0.004844338167458773,
-0.04674313962459564,
0.06354764103889465,
0.02934490516781807,
-0.007223776541650295,
0.043036796152591705,
-0.0294528566300869,
0.02605237439274788,
0.022597916424274445,
0.023191651329398155,
-0.01507727149873972,
0.00991357583552599,
0.026736069470643997,
0.014645464718341827,
-0.013583937659859657,
0.02099663019180298,
0.008861045353114605,
-0.0032632937654852867,
-0.0013212853809818625,
-0.04793060943484306,
-0.00542457913979888,
0.044296231120824814,
-0.005240161437541246,
0.055703140795230865,
0.016750525683164597,
-0.012936227023601532,
0.020133014768362045,
0.06077687814831734,
0.014465544372797012,
0.048650290817022324,
0.029254944995045662,
-0.007795021403580904,
-0.047858644276857376,
-0.05152900516986847,
0.023875344544649124,
-0.0008776708273217082,
-0.028445305302739143,
-0.015482091344892979,
-0.012846266850829124,
0.02524273470044136,
0.01184771303087473,
0.0422811321914196,
0.05858185887336731,
-0.0020791972056031227,
0.027527716010808945,
0.008271808736026287,
0.08693720400333405,
0.0013516468461602926,
-0.0009175905142910779,
-0.0934143140912056,
-0.055955030024051666,
0.018837593495845795,
-0.012486428022384644,
-0.01774008385837078,
-0.01890956237912178,
0.0016698797699064016,
-0.034796472638845444,
-0.025890445336699486,
-0.037171412259340286,
-0.01814490184187889,
0.0003140161279588938,
0.02804948203265667,
0.03146795555949211,
-0.041741371154785156,
-0.02664610929787159,
0.023389562964439392,
-0.01636369712650776,
-0.04073382169008255,
0.02875117026269436,
0.028121450915932655,
0.04296482726931572,
0.07329928874969482,
-0.022148115560412407,
-0.00928385742008686,
-0.004722892306745052,
0.03130602836608887,
-0.02581847831606865,
-0.05660273879766464,
0.03756723552942276,
-0.03745928406715393,
-0.009067953564226627,
-0.009418796747922897,
-0.011388917453587055,
-0.05832996964454651,
-0.0037220888771116734,
0.03193574771285057,
-0.027293819934129715,
0.004605944734066725,
-0.005919358227401972,
0.02090667001903057,
-0.016462653875350952,
-0.09269463270902634,
-0.029614783823490143,
0.07952450960874557,
-0.05271647498011589,
0.008546186611056328,
-0.009823616594076157,
0.0022231328766793013,
-0.0010474700247868896,
-0.03314121067523956,
0.01733526401221752,
-0.011074057780206203,
-0.032565467059612274,
-0.010372371412813663,
0.007884981110692024,
-0.017578154802322388,
0.007633093744516373,
0.039150528609752655,
0.014231649227440357,
0.011703777126967907,
-0.0072732544504106045,
-0.026340246200561523,
-0.011361929588019848,
0.028013499453663826,
0.030838238075375557,
-0.015967873856425285,
-0.05203277990221977,
0.004246104974299669,
0.0467071570456028,
-0.014060725457966328,
0.023515505716204643,
-0.018693657591938972,
0.01666056551039219,
0.06236017122864723,
0.024037273600697517,
0.033285144716501236,
-0.005330121610313654,
0.0021500405855476856,
0.0016024098731577396,
-0.04440418258309364,
-0.08319487422704697,
-0.019287392497062683,
-0.011110042221844196,
-0.057826194912195206,
-0.12572789192199707,
0.07063648104667664,
0.0029461851809173822,
-0.004432771820574999,
0.021626349538564682,
-0.049010127782821655,
0.008843054063618183,
-0.018117913976311684,
-0.05591904744505882,
0.02346152998507023,
0.07657382637262344,
0.018351810052990913,
-0.01889156922698021,
0.058869730681180954,
-0.006580563262104988,
0.014177673496305943,
-0.03249349817633629,
0.016948437318205833,
-0.007421688176691532,
-0.011568836867809296,
-0.03369896113872528,
-0.06894522905349731,
-0.04073382169008255,
-0.016777513548731804,
-0.011020082049071789,
0.09255069494247437,
0.028085466474294662,
-0.03485044836997986,
-0.024109240621328354,
-0.007520643994212151,
-0.016822492703795433,
-0.05095326155424118,
-0.048290450125932693,
-0.007435182109475136,
0.030928198248147964,
-0.032565467059612274,
-0.036685626953840256,
0.013934781774878502,
-0.059805311262607574,
0.049118079245090485,
0.01659759320318699,
-0.026826027780771255,
-0.05480354279279709,
0.02241799607872963,
-0.020222974941134453,
-0.01756916008889675,
-0.03886265680193901,
-0.0037985548842698336,
0.008919519372284412,
-0.02337156981229782,
0.05185285955667496,
0.08592965453863144,
-0.021860245615243912,
0.023335587233304977,
0.01507727149873972,
-0.039978157728910446,
0.026142334565520287,
-0.020744742825627327,
-0.026106350123882294,
0.044656071811914444,
-0.022094139829277992,
-0.03663165122270584,
0.006643535103648901,
0.028355346992611885,
-0.008685624226927757,
0.012324499897658825,
-0.026826027780771255,
-0.005905864294618368,
0.003488193266093731,
0.03157591074705124,
-0.005064739845693111,
0.00604980019852519,
0.047031011432409286,
-0.006904419045895338,
-0.015608035027980804,
0.021338477730751038,
0.043036796152591705,
0.045735590159893036,
-0.003076626919209957,
-0.012036629021167755,
-0.007502651773393154,
-0.014510524459183216,
0.026358237490057945,
0.06890925019979477,
0.011289961636066437,
-0.021266508847475052,
-0.021320486441254616,
-0.010660243220627308,
-0.047138962894678116,
0.09607712179422379,
0.03301526606082916,
0.011451889760792255,
0.05426378548145294
]
|
40,553 | pyglove.core.geno.base | _random_dna | Random DNA generation logic that should be overridden by subclasses. | @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."""
| (self, random_generator: Union[module, random.Random], previous_dna: Optional[pyglove.core.geno.base.DNA]) -> pyglove.core.geno.base.DNA | [
-0.02219807542860508,
-0.0005204127519391477,
-0.0069171288050711155,
0.026682347059249878,
-0.029789704829454422,
-0.024095982313156128,
-0.06162617355585098,
0.021584047004580498,
0.02690562978386879,
-0.031892288476228714,
0.03174343332648277,
0.06750596314668655,
0.03185507655143738,
0.1128324642777443,
-0.04536370933055878,
-0.012215454131364822,
0.03725108504295349,
0.10672938823699951,
-0.023184243589639664,
-0.04871296137571335,
-0.05578359588980675,
0.07584187388420105,
-0.0014571556821465492,
-0.012345702387392521,
-0.019351214170455933,
0.11707484722137451,
-0.03691616281867027,
-0.008754563517868519,
-0.001859530690126121,
0.009363940916955471,
0.007586978375911713,
-0.09429995715618134,
0.011796797625720501,
0.09519308805465698,
0.028729109093546867,
-0.02612413838505745,
-0.03215278685092926,
0.08804802596569061,
-0.12116836756467819,
0.0497177354991436,
0.015555398538708687,
-0.05857463553547859,
0.058462996035814285,
-0.0542578250169754,
-0.04100968688726425,
-0.025082150474190712,
0.029045427218079567,
0.001005356083624065,
-0.09809576719999313,
-0.0124294338747859,
0.03844192996621132,
-0.02117469348013401,
0.026217173784971237,
0.0014862290117889643,
0.005740239750593901,
0.08827130496501923,
-0.006679890211671591,
0.0046819704584777355,
0.024598369374871254,
0.0271289125084877,
-0.002364243846386671,
0.004579632077366114,
0.005716981366276741,
-0.08060524612665176,
0.04290759563446045,
-0.008759215474128723,
-0.06352408230304718,
-0.02180732972919941,
0.038479145616292953,
0.05637901648879051,
0.012913214042782784,
0.050462011247873306,
0.039483919739723206,
0.058797918260097504,
0.050871364772319794,
0.02141658402979374,
-0.049457237124443054,
-0.004554047714918852,
0.04878738895058632,
-0.057048868387937546,
0.00011571188952075318,
-0.006912476848810911,
0.0004486016114242375,
0.005851881578564644,
-0.032208606600761414,
-0.04711276292800903,
-0.040823619812726974,
-0.011043217033147812,
0.0477081835269928,
-0.05436946824193001,
-0.025584537535905838,
-0.037455763667821884,
0.006010040640830994,
0.0316690057516098,
0.013303959742188454,
0.020449023693799973,
0.021193301305174828,
-0.029864132404327393,
0.011620031669735909,
-0.02134215645492077,
0.0014327340759336948,
0.033306416124105453,
0.03840471804141998,
-0.0005332050495781004,
0.0014118013205006719,
-0.014885549433529377,
-0.05057365447282791,
0.03646959364414215,
-0.020039670169353485,
0.002788714598864317,
-0.12585732340812683,
-0.02195618487894535,
0.016439229249954224,
-0.02980831265449524,
-0.04461943358182907,
-0.01914653740823269,
-0.0019083739025518298,
0.010038441978394985,
-0.022012006491422653,
-0.0080754105001688,
0.014420376159250736,
-0.01360167097300291,
-0.045289281755685806,
0.014476196840405464,
0.04562420770525932,
-0.02792901173233986,
-0.005777454003691673,
-0.00024334383488167077,
-0.0657569169998169,
-0.020188525319099426,
0.02046762965619564,
0.06077025458216667,
-0.003967929165810347,
0.019723352044820786,
0.03715805336833,
0.06657561659812927,
-0.018458081409335136,
0.020802555605769157,
-0.055113743990659714,
0.011713066138327122,
0.026700953021645546,
-0.007242749910801649,
0.11327902972698212,
-0.0063914828933775425,
0.024821653962135315,
0.05254598706960678,
-0.0061449408531188965,
-0.030775872990489006,
-0.048043109476566315,
-0.007791654672473669,
0.035967208445072174,
0.006000737193971872,
0.019006986171007156,
0.015983358025550842,
-0.04603356122970581,
-0.02124912105500698,
-0.008112624287605286,
0.00046546413796022534,
-0.054853249341249466,
-0.019741959869861603,
-0.010633864440023899,
-0.04800589755177498,
0.008596404455602169,
-0.03271099552512169,
-0.0028096474707126617,
0.021379370242357254,
-0.03481357917189598,
-0.025528715923428535,
0.03963277488946915,
-0.030403733253479004,
-0.040898047387599945,
-0.018383653834462166,
-0.0009274394833482802,
-0.023351704701781273,
-0.020411809906363487,
0.023258671164512634,
-0.023742450401186943,
0.023426132276654243,
0.003791163209825754,
0.029119854792952538,
0.09132284671068192,
-0.03981884568929672,
-0.07829798758029938,
0.0045168339274823666,
0.04171675071120262,
0.01180610153824091,
-0.014066844247281551,
0.02619856595993042,
0.0345158688724041,
0.01157351490110159,
-0.025547323748469353,
0.024877473711967468,
-0.028189508244395256,
-0.03185507655143738,
0.05284370109438896,
-0.04112133011221886,
-0.0030306046828627586,
0.005609991494566202,
-0.028412792831659317,
0.06601741164922714,
0.023891305550932884,
0.030533982440829277,
-0.0365254171192646,
-0.019183751195669174,
-0.008610359393060207,
0.004263314418494701,
0.023742450401186943,
-0.01086645107716322,
-0.050350371748209,
-0.03914899379014969,
0.009647696278989315,
-0.040525905787944794,
0.058239709585905075,
0.03460890054702759,
0.02030016854405403,
-0.07688385993242264,
0.02283071167767048,
0.0005364030948840082,
-0.004809893202036619,
0.0242262315005064,
0.040339838713407516,
0.012150329537689686,
0.0008751074783504009,
-0.005996085237711668,
0.05113186314702034,
0.016923008486628532,
-0.008568494580686092,
-0.042721524834632874,
-0.0338832326233387,
-0.0178905688226223,
0.006438000127673149,
-0.05008987337350845,
0.03153875842690468,
-0.0011640964075922966,
0.047484900802373886,
-0.008573145605623722,
0.028133688494563103,
-0.02768712118268013,
-0.0721949115395546,
0.04447057843208313,
-0.08268922567367554,
0.0865594670176506,
0.013759829103946686,
0.045921918004751205,
0.014736693352460861,
0.0068613076582551,
-0.04298202320933342,
0.06519870460033417,
-0.03170622140169144,
-0.015313508920371532,
-0.013462118804454803,
-0.058537423610687256,
-0.042535457760095596,
0.017471913248300552,
0.002702657599002123,
0.025993891060352325,
-0.019351214170455933,
-0.009787248447537422,
0.024263445287942886,
0.03075726516544819,
-0.007991679012775421,
-0.030385127291083336,
-0.057048868387937546,
0.029398959130048752,
-0.01907210983335972,
0.021137479692697525,
0.0005416363128460944,
0.014290126971900463,
-0.026645133271813393,
0.0203187745064497,
0.11819125711917877,
0.050164300948381424,
-0.043651871383190155,
-0.01733236201107502,
0.013620277866721153,
0.005837926175445318,
0.01297833863645792,
-0.016029875725507736,
-0.032189998775720596,
-0.04093525931239128,
0.03217139467597008,
0.025044936686754227,
-0.0007053191657178104,
0.028766322880983353,
-0.04037705063819885,
-0.0002594795369077474,
0.009001105092465878,
0.010736201889812946,
0.029380353167653084,
0.03989327326416969,
0.017667286098003387,
-0.029045427218079567,
0.00713576003909111,
0.05042479932308197,
0.05537424236536026,
-0.029845526441931725,
0.001113508827984333,
0.04022819548845291,
-0.004684296436607838,
-0.044582217931747437,
0.02314702980220318,
-0.030533982440829277,
0.0013664468424394727,
0.017602162435650826,
-0.06423114240169525,
-0.01764868013560772,
0.02673816680908203,
-0.014652962796390057,
-0.020449023693799973,
0.027910403907299042,
-0.03764183074235916,
0.05083414912223816,
0.003595790360122919,
0.047484900802373886,
0.039335064589977264,
-0.0458102785050869,
0.020430415868759155,
-0.008177748881280422,
0.045847490429878235,
0.060100406408309937,
-0.07986097037792206,
0.04112133011221886,
-0.022086434066295624,
-0.04007934033870697,
0.003237606957554817,
-0.017230022698640823,
-0.048675745725631714,
0.016513656824827194,
-0.030887514352798462,
0.04212610423564911,
-0.0878247395157814,
0.006591507233679295,
-0.003907456528395414,
0.00756837148219347,
-0.06482656300067902,
0.01677415333688259,
-0.007214839570224285,
-0.03432979807257652,
0.05649065971374512,
-0.03524153679609299,
-0.0008640596061013639,
-0.023723844438791275,
-0.01867206022143364,
0.03974441811442375,
0.07807470858097076,
0.008168444968760014,
0.005279718432575464,
0.014373858459293842,
0.029510600492358208,
0.007540461141616106,
0.049754947423934937,
0.028338363394141197,
0.015583309344947338,
0.009629089385271072,
0.05105743184685707,
-0.01153630018234253,
-0.0033073830418288708,
0.05128071829676628,
-0.02729637548327446,
-0.010633864440023899,
0.0038213995285332203,
-0.06021204590797424,
0.003523688530549407,
0.03766043856739998,
0.004907579626888037,
-0.019946636632084846,
-0.03985605761408806,
0.01622524857521057,
0.05537424236536026,
-0.03444143757224083,
-0.009740731678903103,
-0.0633380115032196,
-0.039260637015104294,
-0.03153875842690468,
-0.002681724727153778,
-0.03332502394914627,
0.006582203786820173,
-0.0007884689257480204,
-0.013015552423894405,
-0.013248139061033726,
-0.0010821096366271377,
-0.015155349858105183,
-0.011192072182893753,
0.0613284632563591,
-0.016960222274065018,
-0.0478198267519474,
0.06784088909626007,
0.07096685469150543,
-0.05515095964074135,
-0.017118381336331367,
-0.001672298414632678,
-0.02156543917953968,
-0.019723352044820786,
-0.04313087835907936,
-0.04487993195652962,
-0.016188034787774086,
-0.030627017840743065,
0.0007756766863167286,
-0.09496980160474777,
0.01263410970568657,
0.027073092758655548,
-0.005600688047707081,
-0.023668022826313972,
-0.0000947790831560269,
0.013369083404541016,
0.002384013729169965,
0.0663895457983017,
-0.020765341818332672,
-0.03805118426680565,
-0.008270783349871635,
-0.05585802346467972,
0.030236272141337395,
-0.07446496188640594,
0.0035771834664046764,
0.05228549242019653,
-0.013369083404541016,
0.016429925337433815,
0.001339699374511838,
0.015155349858105183,
0.012299184687435627,
0.03903735429048538,
0.014206396415829659,
-0.004358674865216017,
0.07238098233938217,
0.06363572180271149,
0.060286473482847214,
0.020355988293886185,
0.03295288607478142,
-0.05459275096654892,
-0.007210188079625368,
0.01897907443344593,
0.003840006422251463,
-0.07844684273004532,
0.03457168862223625,
0.05864906311035156,
-0.019351214170455933,
-0.04573585093021393,
0.0010943204397335649,
-0.04100968688726425,
-0.002264231676235795,
0.0193698201328516,
0.015518184751272202,
-0.010633864440023899,
0.03453447297215462,
0.04573585093021393,
-0.028040653094649315,
0.039409492164850235,
0.010875754058361053,
0.024598369374871254,
-0.057458218187093735,
-0.0030538635328412056,
0.05890956148505211,
0.02651488408446312,
0.03073865920305252,
-0.033771589398384094,
-0.017434699460864067,
0.006610114127397537,
-0.010847844183444977,
-0.005530911963433027,
-0.022179467603564262,
0.009470930323004723,
0.04651734232902527,
-0.018858131021261215,
-0.031631793826818466,
0.03836750239133835,
0.09608621895313263,
0.020411809906363487,
-0.04469386115670204,
-0.07223212718963623,
0.019704746082425117,
0.07007372379302979,
-0.025584537535905838,
0.043019238859415054,
-0.04640569910407066,
-0.0413818284869194,
-0.03460890054702759,
-0.009489537216722965,
-0.00889876764267683,
-0.01318301446735859,
-0.007270660251379013,
0.03178064897656441,
0.0076986197382211685,
0.007945162244141102,
0.03142711520195007,
-0.015006494708359241,
0.01662529818713665,
-0.020430415868759155,
0.03485079109668732,
0.0034283280838280916,
0.004912231117486954,
-0.07416725158691406,
-0.011471176519989967,
-0.001664157840423286,
0.013238835148513317,
-0.02649627812206745,
0.006261234171688557,
0.03695337474346161,
-0.021211907267570496,
0.00995471142232418,
-0.03659984469413757,
0.01007565576583147,
-0.008675483986735344,
-0.01914653740823269,
-0.0345158688724041,
0.03576253354549408,
-0.03974441811442375,
-0.057309363037347794,
-0.00633101025596261,
-0.04313087835907936,
0.04722440615296364,
0.05139235779643059,
0.04904788359999657,
0.05377404764294624,
-0.0458102785050869,
0.058462996035814285,
-0.0041284142062067986,
-0.021528225392103195,
-0.028840752318501472,
-0.0031887637451291084,
-0.023574989289045334,
-0.0005486138979904354,
-0.014141271822154522,
-0.04141904041171074,
-0.012047991156578064,
0.01055013295263052,
-0.004856410436332226,
0.0058983988128602505,
0.02078394778072834,
0.01810454949736595,
-0.022309716790914536,
-0.01803012192249298,
0.01710907742381096,
0.01773240976035595,
0.0749487429857254,
-0.011033913120627403,
0.0054006632417440414,
-0.00235145166516304,
0.03741854801774025,
0.013499332591891289,
0.0020781622733920813,
0.022719070315361023,
-0.010987396351993084,
0.015322811901569366,
-0.015518184751272202,
0.0009815158555284142,
-0.043168094009160995,
-0.013303959742188454,
-0.010931574739515781,
0.020169919356703758,
0.051652856171131134,
-0.044656649231910706,
-0.021230515092611313,
-0.008405683562159538,
0.00741021241992712,
0.047261618077754974,
-0.020207133144140244,
0.005735588259994984,
0.03202253580093384,
0.01671833172440529,
0.03661845251917839,
-0.016197338700294495,
-0.01302485540509224,
0.028580253943800926,
-0.04651734232902527,
0.031966716051101685,
0.052583202719688416,
0.009456975385546684,
0.025528715923428535,
0.03686033934354782,
-0.028822144493460655,
-0.03312034532427788,
-0.011294410564005375,
-0.014634355902671814,
0.012392220087349415,
-0.04729883372783661,
0.041530683636665344,
-0.04640569910407066,
-0.005107603967189789,
-0.02690562978386879,
-0.06981322914361954,
-0.003977232612669468,
0.007675361353904009,
0.03421815484762192,
-0.036506809294223785,
0.019183751195669174,
-0.02792901173233986,
-0.026459064334630966,
0.016197338700294495,
-0.002414250047877431,
-0.035408999770879745,
-0.04037705063819885,
0.01694161631166935,
-0.018867433071136475,
-0.07755371183156967,
-0.029380353167653084,
0.05671394243836403,
0.038553573191165924,
-0.05340190604329109,
-0.01827201247215271,
-0.02824532985687256,
-0.008912722580134869,
0.07904226332902908,
0.04398679733276367,
0.03003159537911415,
0.060584183782339096,
0.02949199452996254,
-0.0248588677495718,
-0.017518430948257446,
-0.03585556522011757,
-0.020430415868759155,
-0.004616846330463886,
0.010689685121178627,
-0.019779173657298088,
-0.0774792805314064,
0.007270660251379013,
-0.04800589755177498,
-0.07498595118522644,
-0.021435189992189407,
0.05779314413666725,
0.02815229445695877,
-0.042312175035476685,
-0.005056434776633978,
-0.04257266968488693,
0.027259161695837975,
-0.04540092498064041,
0.0005890258471481502,
-0.0025979934725910425,
-0.004347045440226793,
0.025082150474190712,
-0.02573339268565178,
0.03098054975271225,
-0.0242262315005064,
0.0020153638906776905,
-0.05232270434498787,
-0.03498104214668274,
-0.006596159189939499,
-0.00425401097163558,
0.027556871995329857,
0.012122418731451035,
0.010224511846899986,
-0.0042074937373399734,
0.014950673095881939,
-0.04119575768709183,
-0.001091413083486259,
-0.02612413838505745,
-0.029138462617993355,
-0.03613467141985893,
0.027947617694735527,
-0.008014937862753868,
-0.040190983563661575,
-0.014411072246730328,
0.048750173300504684,
-0.0146715696901083,
-0.007773047778755426,
0.0274452306330204,
-0.05027594417333603,
-0.0100012281909585,
0.04119575768709183,
0.021453797817230225,
0.005526260007172823,
0.010847844183444977,
0.026384636759757996,
0.014494803734123707,
0.015164652839303017,
0.015332115814089775,
0.0022223659325391054,
-0.005326235666871071,
-0.04927116632461548,
0.025082150474190712,
-0.01812315545976162,
-0.029919954016804695,
-0.015406543388962746,
0.0027189385145902634,
-0.060100406408309937,
0.028133688494563103,
0.0055913846008479595,
0.027631301432847977,
0.006703149061650038,
0.05827692523598671,
0.0050936490297317505,
0.03896292671561241,
0.02539846859872341,
-0.05905841663479805,
-0.04674062505364418,
0.016755545511841774,
0.0033539002761244774,
0.007382302079349756,
0.004058638121932745,
0.003502755891531706,
-0.05209942162036896,
0.0008477785158902407,
-0.043949585407972336,
0.008428942412137985,
0.02573339268565178,
0.06423114240169525,
-0.008810384199023247,
-0.05716050788760185,
-0.025044936686754227,
-0.031017763540148735,
-0.013713312335312366,
0.03412512317299843,
-0.00741021241992712,
-0.03382740914821625,
0.056825585663318634,
-0.019723352044820786,
0.005689071025699377,
-0.048750173300504684,
0.04257266968488693,
0.05198778212070465,
-0.04179117828607559,
0.02400294877588749,
0.004402866121381521,
-0.004742443095892668,
0.010410580784082413,
-0.04607077315449715,
-0.06825024634599686,
0.058797918260097504,
0.08663389831781387,
-0.02863607555627823,
-0.004642430692911148,
-0.08395449817180634,
-0.018216190859675407,
0.07189720124006271,
-0.014652962796390057,
0.003121313638985157,
0.007628844119608402,
-0.05812807008624077,
-0.00956396572291851,
0.02344474010169506,
0.053922902792692184,
0.01718350499868393,
0.02234693057835102,
-0.0077218785881996155,
0.003663240699097514,
-0.014876245521008968,
-0.02863607555627823,
-0.05637901648879051,
-0.0068659596145153046,
-0.04681505262851715,
-0.026998665183782578,
-0.06464049965143204,
0.015750771388411522,
0.005149469710886478,
-0.00570767791941762,
0.04283316805958748,
0.030571196228265762,
-0.022551607340574265,
0.028133688494563103,
0.05113186314702034,
-0.023407526314258575,
0.03481357917189598,
0.013322566635906696,
0.017667286098003387,
0.03194810822606087,
0.03269238770008087,
0.016188034787774086,
0.028840752318501472,
-0.0019002333283424377,
0.019741959869861603,
-0.02430065907537937,
-0.028896572068333626,
-0.010568739846348763,
0.06229602172970772,
-0.024523941799998283,
0.0206909142434597,
0.014932066202163696,
-0.016215944662690163,
0.01953728310763836
]
|
40,567 | pyglove.core.geno.base | first_dna | Returns the first DNA in the spec. | def first_dna(self, attach_spec: bool = True) -> 'DNA':
"""Returns the first DNA in the spec."""
return self.next_dna(None, attach_spec)
| (self, attach_spec: bool = True) -> pyglove.core.geno.base.DNA | [
0.023906277492642403,
0.036909691989421844,
0.031008141115307808,
-0.01873825304210186,
0.014162051491439342,
0.006714262999594212,
0.0036947201006114483,
-0.0008778346818871796,
0.032975323498249054,
-0.030574694275856018,
-0.017087820917367935,
0.0498797632753849,
-0.03981045261025429,
0.0362761914730072,
-0.009944277815520763,
-0.05841533839702606,
0.015954189002513885,
0.10242689400911331,
-0.05368076264858246,
0.033558811992406845,
0.011194606311619282,
0.09289105981588364,
-0.0181881096214056,
-0.016696050763130188,
-0.0318416953086853,
0.06445025652647018,
0.008298012427985668,
-0.04104410856962204,
-0.031341563910245895,
0.005559793207794428,
0.07775375247001648,
-0.09535837173461914,
-0.012895052321255207,
0.0010591322788968682,
0.001453506643883884,
0.03947703167796135,
-0.03520924597978592,
0.06238304451107979,
-0.07055185735225677,
0.018888292834162712,
-0.022389212623238564,
-0.024006303399801254,
0.05017984285950661,
-0.023789579048752785,
-0.05231373757123947,
-0.02537332847714424,
0.041177477687597275,
-0.010027633048593998,
-0.036209508776664734,
0.005297224037349224,
0.09575847536325455,
-0.006368338596075773,
0.008919008076190948,
-0.021555660292506218,
-0.051646895706653595,
0.019671831279993057,
-0.015537412837147713,
0.02213914692401886,
0.01782134547829628,
0.04097742587327957,
0.049279604107141495,
-0.027990682050585747,
0.003525925800204277,
-0.0180880818516016,
0.01514564361423254,
-0.006034917663782835,
0.037776585668325424,
-0.010186008177697659,
-0.011669730767607689,
0.0181881096214056,
0.004876280203461647,
0.031941719353199005,
-0.0014410034054890275,
0.004215690307319164,
0.020938830450177193,
-0.05368076264858246,
-0.02920766919851303,
-0.0004399592580739409,
0.052180368453264236,
-0.028974274173378944,
-0.010060975328087807,
0.043011292815208435,
-0.046845633536577225,
-0.0023026878479868174,
-0.020555397495627403,
0.00891067273914814,
0.00355718401260674,
0.002986200852319598,
0.003334208857268095,
-0.03600945323705673,
0.03644290193915367,
0.0002560568100307137,
0.0408107154071331,
0.043444741517305374,
0.04151089861989021,
0.043711476027965546,
0.05118010565638542,
0.01642097905278206,
0.03614282235503197,
-0.03440903499722481,
-0.043178003281354904,
0.035776060074567795,
-0.034909166395664215,
0.009785902686417103,
-0.03470911458134651,
0.036909691989421844,
-0.001581665244884789,
-0.001774424221366644,
-0.003988547250628471,
0.03470911458134651,
-0.09402468800544739,
-0.09715884178876877,
0.023956289514899254,
0.006672585383057594,
0.011628053151071072,
-0.04617879167199135,
0.08262169361114502,
0.018054740503430367,
-0.008944015018641949,
-0.03487582504749298,
0.06528380513191223,
0.001814018003642559,
-0.07335259020328522,
-0.03384222090244293,
0.02052205428481102,
-0.0014805970713496208,
0.030007878318428993,
-0.02315608039498329,
-0.012219875119626522,
-0.013220137916505337,
0.07321922481060028,
0.041877660900354385,
-0.010944540612399578,
0.025556709617376328,
-0.012644986622035503,
-0.006401680875569582,
0.008031275123357773,
-0.014720532111823559,
-0.0702851191163063,
0.0071602133102715015,
-0.03382554650306702,
-0.023572856560349464,
0.058948811143636703,
-0.005105507094413042,
-0.030658049508929253,
0.021122213453054428,
-0.04647887125611305,
-0.037076402455568314,
-0.03319204971194267,
0.004409491084516048,
0.02418968454003334,
-0.026907064020633698,
-0.015529077500104904,
0.04424494877457619,
-0.014187058433890343,
-0.01176975667476654,
-0.037176426500082016,
-0.008268837817013264,
-0.009444146417081356,
0.0019994834437966347,
0.02047204226255417,
-0.010652797296643257,
-0.009952613152563572,
0.009035705588757992,
-0.006159950513392687,
-0.01694611646234989,
-0.0814213752746582,
0.04744579270482063,
0.009727554395794868,
0.007597828283905983,
0.012536625377833843,
0.07828722149133682,
-0.03670964017510414,
-0.014928920194506645,
0.011586375534534454,
0.03790995478630066,
0.01597919501364231,
0.06224967911839485,
0.018871622160077095,
-0.02855749800801277,
0.03349212557077408,
0.02559005282819271,
0.00982758030295372,
-0.00966920517385006,
0.049546342343091965,
0.024589790031313896,
0.03684300556778908,
0.024373065680265427,
0.07982096076011658,
0.003427983494475484,
0.04347808286547661,
0.07475296407938004,
-0.03029128722846508,
0.05841533839702606,
0.01755460910499096,
-0.04991310462355614,
0.01542071532458067,
-0.006493371445685625,
-0.03169165551662445,
0.0019525960087776184,
0.0067767794243991375,
-0.013303493149578571,
-0.027307169511914253,
-0.006626740097999573,
-0.0059098852798342705,
0.04177763685584068,
0.011744750663638115,
0.014187058433890343,
-0.03424232453107834,
-0.013095105066895485,
-0.05644815415143967,
-0.04324468970298767,
0.030524682253599167,
-0.03460908681154251,
-0.0015420715790241957,
-0.13443529605865479,
0.06915149092674255,
-0.010486086830496788,
0.03797663748264313,
-0.005509779788553715,
0.015529077500104904,
-0.008735626935958862,
0.065450519323349,
0.002879922743886709,
0.010811172425746918,
0.009760895743966103,
-0.027073774486780167,
-0.008685613982379436,
-0.053814128041267395,
-0.03684300556778908,
0.022639278322458267,
-0.0723523274064064,
0.023939618840813637,
-0.051113419234752655,
0.05798188969492912,
0.00021542113972827792,
0.024606460705399513,
0.0107694948092103,
-0.016012538224458694,
-0.0259734857827425,
0.007214394398033619,
0.07168548554182053,
0.02667367085814476,
0.04104410856962204,
-0.027440538629889488,
-0.007039348129183054,
-0.006476700771600008,
-0.045245211571455,
-0.05394749715924263,
-0.05037989467382431,
-0.04687897488474846,
-0.014937255531549454,
0.03379220515489578,
0.035942770540714264,
-0.030874773859977722,
-0.010110988281667233,
0.0009153445134870708,
0.0009648366831243038,
0.0061182728968560696,
0.017571279779076576,
-0.007972926832735538,
-0.01772131957113743,
0.0010268321493640542,
-0.005493109114468098,
-0.04847939684987068,
0.04394487291574478,
-0.0472123958170414,
0.03417564183473587,
0.033025339245796204,
-0.004672060254961252,
0.03332541510462761,
-0.007339427247643471,
-0.00529305636882782,
-0.05551457777619362,
0.011036231182515621,
0.0007871858542785048,
0.022389212623238564,
-0.008135469630360603,
0.02127225138247013,
0.012294895015656948,
-0.05824862793087959,
0.008560581132769585,
-0.02348950132727623,
0.03379220515489578,
-0.022272514179348946,
-0.006455861963331699,
0.02964111603796482,
0.024289710447192192,
-0.014320426620543003,
-0.005880710668861866,
0.013070098124444485,
0.020221976563334465,
0.07988764345645905,
-0.044311635196208954,
0.02040535770356655,
-0.015945853665471077,
0.013020085170865059,
-0.031291548162698746,
-0.00748113077133894,
-0.03440903499722481,
0.04141087457537651,
-0.023389475420117378,
-0.04644552990794182,
0.0020182381849735975,
-0.1059611514210701,
0.0028299097903072834,
-0.04747913405299187,
-0.002336030127480626,
0.008323018439114094,
-0.02042202837765217,
-0.07161880284547806,
0.04591205343604088,
0.008685613982379436,
0.07281912118196487,
-0.04364479333162308,
-0.029040958732366562,
-0.00522637227550149,
0.005722336005419493,
0.07642006874084473,
0.046412184834480286,
-0.012269888073205948,
0.052413761615753174,
-0.026123525574803352,
0.017788004130125046,
-0.017838016152381897,
0.0003553016285877675,
-0.022722633555531502,
0.011711408384144306,
-0.03077474795281887,
0.05911552160978317,
-0.01798805594444275,
-0.033725522458553314,
-0.022755974903702736,
0.005547289736568928,
-0.04107745364308357,
0.0384434275329113,
-0.006826792377978563,
-0.04294461011886597,
-0.025673408061265945,
-0.054781049489974976,
0.007531144190579653,
-0.06568391621112823,
0.024006303399801254,
0.007968759164214134,
0.07035180181264877,
-0.00874396227300167,
0.041177477687597275,
0.00023652044183108956,
0.010219349525868893,
-0.06725098937749863,
0.03914361074566841,
0.04401155561208725,
0.02867419458925724,
0.022555923089385033,
0.04217774048447609,
0.006251641549170017,
-0.01868824101984501,
0.06605067849159241,
-0.013920322060585022,
0.03510921820998192,
0.019155029207468033,
-0.027957340702414513,
-0.059749022126197815,
-0.03179167956113815,
-0.020021922886371613,
-0.02905762940645218,
-0.08195485174655914,
0.042744558304548264,
-0.012569966726005077,
-0.006843463517725468,
-0.0012763767736032605,
0.028090709820389748,
-0.03767655789852142,
-0.03991048038005829,
0.0008929427713155746,
-0.05831531062722206,
0.010527764447033405,
-0.0027361351530998945,
0.0037697397638112307,
-0.008047946728765965,
-0.05604805052280426,
0.030758075416088104,
-0.025139933452010155,
0.0950249508023262,
-0.07135206460952759,
-0.04531189799308777,
0.03099147044122219,
-0.02083880454301834,
-0.03330874443054199,
-0.03660961240530014,
0.029624445363879204,
-0.06671752035617828,
-0.03300866857171059,
0.017587950453162193,
-0.03991048038005829,
-0.019155029207468033,
-0.022922685369849205,
-0.02657364308834076,
-0.055747970938682556,
-0.006280815694481134,
0.04154423996806145,
-0.011969809420406818,
0.04801260679960251,
0.026606986299157143,
0.022605935111641884,
-0.024706486612558365,
0.04821265861392021,
-0.05264715477824211,
-0.05371410399675369,
0.028107380494475365,
-0.05804857611656189,
0.02078879252076149,
-0.03747650608420372,
0.01830480620265007,
0.03670964017510414,
0.03149160370230675,
0.03837674483656883,
0.03229181095957756,
-0.038910217583179474,
0.012503283098340034,
-0.010461079888045788,
-0.04497847706079483,
-0.07475296407938004,
0.05918220430612564,
0.05571462959051132,
0.021355606615543365,
0.04821265861392021,
0.03349212557077408,
-0.03670964017510414,
-0.0014420453226193786,
-0.023372802883386612,
-0.013778617605566978,
0.0018536116695031524,
-0.022005777806043625,
0.0226726196706295,
0.051813606172800064,
-0.049112893640995026,
-0.01134464517235756,
0.02797401137650013,
-0.02132226526737213,
0.015562419779598713,
0.026690341532230377,
-0.03807666525244713,
-0.021288923919200897,
-0.025239961221814156,
-0.029657786712050438,
0.008402206003665924,
0.011211276985704899,
0.03547598049044609,
-0.025256631895899773,
0.021405620500445366,
-0.07248570024967194,
0.06108270585536957,
-0.0015472812810912728,
-0.015195656567811966,
0.0031862533651292324,
0.031408246606588364,
0.01987188495695591,
0.00847722589969635,
-0.02915765531361103,
0.01657101698219776,
0.026973748579621315,
0.016604360193014145,
0.009135732427239418,
0.0031258207745850086,
0.08582253754138947,
0.014162051491439342,
0.046845633536577225,
-0.0902903750538826,
-0.00757282180711627,
0.05571462959051132,
-0.02035534381866455,
0.02899094484746456,
-0.05498110130429268,
0.06848464906215668,
-0.04087739810347557,
-0.01449547242373228,
-0.014462130144238472,
0.01647099107503891,
-0.01905500330030918,
-0.047545816749334335,
-0.05344736576080322,
0.002750722225755453,
0.046845633536577225,
-0.0012461604783311486,
0.005718167871236801,
-0.03660961240530014,
-0.014145380817353725,
-0.05551457777619362,
0.007456124294549227,
0.003528009634464979,
0.01696278713643551,
0.006747604813426733,
0.012711671181023121,
0.018888292834162712,
0.023989632725715637,
0.0655505433678627,
-0.012144855223596096,
0.019955240190029144,
-0.01691277325153351,
0.014462130144238472,
-0.049446314573287964,
-0.016070885583758354,
-0.05491441860795021,
0.0002795004693325609,
0.005688993725925684,
-0.11076241731643677,
-0.03195839002728462,
-0.04321134462952614,
0.04367813467979431,
0.01374527532607317,
0.011869783513247967,
-0.023989632725715637,
0.012711671181023121,
0.027840644121170044,
0.04991310462355614,
0.06024915352463722,
-0.0428779236972332,
0.03254187852144241,
-0.005547289736568928,
-0.01031104102730751,
-0.010802836157381535,
-0.052180368453264236,
0.0041177477687597275,
0.031174851581454277,
-0.005230539944022894,
0.018021399155259132,
0.010010961443185806,
0.017537938430905342,
0.005626477301120758,
0.03450905904173851,
0.03650958463549614,
0.013545223511755466,
0.06401681154966354,
0.009569179266691208,
-0.028707537800073624,
0.003986463416367769,
0.01206983532756567,
0.0023110234178602695,
0.0067767794243991375,
0.04044395312666893,
-0.06435023248195648,
0.016887767240405083,
0.0028861744794994593,
0.04691231623291969,
-0.01041940227150917,
-0.010736152529716492,
-0.006076595280319452,
0.016871096566319466,
0.049279604107141495,
-0.04627881944179535,
-0.03347545489668846,
-0.05144684016704559,
-0.024589790031313896,
0.010010961443185806,
0.005959898233413696,
-0.004863777197897434,
0.009619192220270634,
0.011778092943131924,
0.0057348390109837055,
0.032258469611406326,
-0.040310584008693695,
-0.014312091283500195,
-0.01668771542608738,
-0.0025965149980038404,
0.012544960714876652,
0.06488370150327682,
-0.004655389115214348,
0.014520479366183281,
-0.0023026878479868174,
-0.01927172765135765,
0.026540301740169525,
-0.03667629510164261,
0.045878712087869644,
-0.06261643767356873,
0.03867682069540024,
-0.03714308515191078,
0.016162576153874397,
-0.05784852057695389,
-0.0001686640753177926,
0.011486349627375603,
-0.03897690027952194,
0.05738173425197601,
-0.027873985469341278,
-0.0043094647116959095,
-0.012203204445540905,
0.003357131499797106,
-0.009544172324240208,
-0.0762866958975792,
-0.10155999660491943,
-0.012111512944102287,
-0.06481701880693436,
-0.027190472930669785,
-0.014520479366183281,
-0.0015087294159457088,
0.06725098937749863,
0.049713052809238434,
-0.008627264760434628,
0.01544572226703167,
-0.00936912652105093,
-0.012895052321255207,
0.0260234996676445,
0.023456158116459846,
0.051813606172800064,
0.06595064699649811,
0.03034129925072193,
0.02138894982635975,
-0.049446314573287964,
-0.005588967353105545,
-0.08848989754915237,
0.005263882223516703,
0.025256631895899773,
-0.05361407622694969,
-0.04271121323108673,
-0.019305068999528885,
-0.05158020928502083,
-0.011294632218778133,
-0.030474668368697166,
-0.004267787095159292,
0.0562814436852932,
0.017938043922185898,
0.01587916910648346,
-0.047279082238674164,
-0.01396199967712164,
0.013186795637011528,
-0.018388161435723305,
0.01905500330030918,
-0.000631936767604202,
0.037609875202178955,
0.013545223511755466,
0.06178288906812668,
-0.013995341025292873,
-0.015020610764622688,
-0.04254450276494026,
0.0024423080030828714,
-0.013878644444048405,
0.018671568483114243,
-0.012244882062077522,
-0.012945065274834633,
0.06581728160381317,
-0.08682280033826828,
0.017021136358380318,
-0.017321214079856873,
0.03981045261025429,
-0.0022464231587946415,
-0.08342190086841583,
-0.047979265451431274,
-0.029391050338745117,
-0.03137490525841713,
0.00023065952700562775,
-0.011786428280174732,
0.04164426773786545,
-0.018504858016967773,
0.0013753611128777266,
0.03554266691207886,
-0.011744750663638115,
0.04471173882484436,
0.03851011022925377,
-0.012753348797559738,
-0.0011398826027289033,
0.03997716307640076,
-0.006710095331072807,
0.0327252596616745,
-0.014045354910194874,
0.005130513571202755,
-0.044311635196208954,
-0.020855475217103958,
-0.01820478029549122,
-0.012353243306279182,
-0.044411659240722656,
-0.050246525555849075,
0.016979457810521126,
-0.008952350355684757,
-0.022105803713202477,
0.05238042026758194,
0.008944015018641949,
0.015729129314422607,
0.0009663995588198304,
0.08362195640802383,
0.016512669622898102,
0.0496797114610672,
-0.003392557380720973,
0.040410611778497696,
-0.05551457777619362,
-0.053914155811071396,
-0.06551720201969147,
0.0544142872095108,
-0.037609875202178955,
0.025473354384303093,
0.0136035718023777,
-0.016596024855971336,
-0.08862327039241791,
0.04331137239933014,
0.025289973244071007,
0.016754399985074997,
0.03255854919552803,
-0.025023236870765686,
0.02722381427884102,
-0.07788711786270142,
-0.015645774081349373,
0.048846159130334854,
0.020822133868932724,
-0.031191522255539894,
0.014403781853616238,
-0.015203991904854774,
-0.010352718643844128,
0.014045354910194874,
0.05794854834675789,
0.003169582225382328,
-0.002688205800950527,
0.027140459045767784,
0.04107745364308357,
0.0010752823436632752,
0.06658414751291275,
-0.0017014883924275637,
-0.053213972598314285,
-0.028740879148244858,
0.05788186565041542,
0.01303675677627325,
0.04834602773189545,
-0.062449730932712555,
-0.041277505457401276,
0.03964374214410782,
0.0316416397690773,
0.021989107131958008,
0.03320872038602829,
-0.02570674940943718,
0.02867419458925724,
-0.04847939684987068,
-0.02078879252076149,
-0.03147492930293083,
-0.007997933775186539,
0.0034404867328703403,
0.044945135712623596,
-0.03931032121181488,
0.01970517449080944,
0.03570937737822533,
0.013878644444048405,
0.02614019624888897,
-0.03967708349227905,
-0.049212921410799026,
0.04471173882484436,
-0.003269608598202467,
0.021238910034298897,
0.0190716739743948,
-0.001615007407963276,
0.01657101698219776,
-0.004255284089595079,
0.008977357298135757,
-0.06498372554779053,
0.0021109709050506353,
0.0018004727317020297,
0.022472567856311798,
0.020488712936639786,
-0.040577322244644165,
0.014345433562994003,
-0.009919270873069763,
0.04861276224255562,
0.028107380494475365,
-0.009302442893385887,
0.02624022401869297,
-0.01798805594444275,
0.04607876390218735,
0.02283933013677597,
-0.07148543745279312,
0.026423605158925056,
-0.025723420083522797,
0.050246525555849075
]
|
40,569 | pyglove.core.geno.base | get | Get decision point(s) by name or ID. | def get(self,
name_or_id: Union[object_utils.KeyPath, str],
default: Any = None
) -> Union['DecisionPoint', List['DecisionPoint']]:
"""Get decision point(s) by name or ID."""
try:
return self[name_or_id]
except KeyError:
return default
| (self, name_or_id: Union[pyglove.core.object_utils.value_location.KeyPath, str], default: Optional[Any] = None) -> Union[pyglove.core.geno.base.DecisionPoint, List[pyglove.core.geno.base.DecisionPoint]] | [
0.06544859707355499,
-0.06663726270198822,
0.016929466277360916,
-0.0000315703873638995,
-0.010121659375727177,
-0.014101885259151459,
0.05338184908032417,
0.0009787346934899688,
0.07571433484554291,
0.04117102175951004,
0.02425956539809704,
-0.014651192352175713,
0.017514793202280998,
-0.03250817582011223,
0.0026452289894223213,
0.002640726510435343,
0.01760484278202057,
0.02932039462029934,
-0.06127025932073593,
0.03656044229865074,
0.07809166610240936,
0.0018516603158786893,
0.03355276212096214,
-0.02746535651385784,
0.01579483225941658,
0.03321056813001633,
0.056047338992357254,
0.008568290621042252,
-0.05168890208005905,
-0.012760134413838387,
0.005551604088395834,
0.013813723810017109,
-0.06742969900369644,
0.04833902791142464,
-0.012877199798822403,
0.09062667191028595,
0.04477303475141525,
0.08306244015693665,
0.04426875337958336,
-0.007568731904029846,
-0.03652442246675491,
0.01708255149424076,
-0.024007422849535942,
-0.03665049374103546,
-0.07823574542999268,
-0.010706986300647259,
-0.02125188335776329,
-0.0021251882426440716,
0.015128458850085735,
-0.04916749149560928,
0.04156724363565445,
-0.03349873051047325,
-0.03499356657266617,
-0.006965394597500563,
0.009311206638813019,
-0.04315212741494179,
0.012616054154932499,
0.10035210847854614,
0.016380159184336662,
0.052013084292411804,
0.034399233758449554,
-0.0614863783121109,
0.009779468178749084,
-0.005794740281999111,
-0.006713253445923328,
-0.036758553236722946,
0.05536295473575592,
0.00891498476266861,
-0.04967177286744118,
0.044700995087623596,
0.008658341132104397,
-0.007487686816602945,
-0.038433488458395004,
-0.009356231428682804,
0.0389377698302269,
0.020351380109786987,
0.013651633635163307,
-0.03454331308603287,
0.07463373243808746,
0.03538978844881058,
-0.052409302443265915,
-0.018478332087397575,
-0.05233726277947426,
-0.012048737145960331,
-0.024061454460024834,
-0.014606166630983353,
0.0048176939599215984,
-0.04848310723900795,
0.021594073623418808,
-0.011814606375992298,
0.010481860488653183,
-0.016794390976428986,
-0.03562391921877861,
0.03340867906808853,
-0.00239533931016922,
-0.032093945890665054,
0.04102693870663643,
-0.0029964253772050142,
-0.0004910558345727623,
0.05957731232047081,
-0.011463409289717674,
-0.021053772419691086,
0.03038298897445202,
0.021810194477438927,
-0.01952291652560234,
-0.038613591343164444,
-0.011661520227789879,
0.04754658415913582,
0.01077902689576149,
-0.014146910049021244,
-0.03376888111233711,
0.058028444647789,
0.0017627356573939323,
-0.002784807002171874,
-0.011373359709978104,
-0.0085187628865242,
-0.03376888111233711,
-0.016605284065008163,
-0.09588561207056046,
0.014957363717257977,
-0.07149998098611832,
-0.006321534514427185,
-0.02507001720368862,
0.019144704565405846,
-0.02607858180999756,
0.002519158646464348,
-0.018694452941417694,
-0.025124046951532364,
-0.023124929517507553,
0.012444958090782166,
0.09667805582284927,
-0.004624085500836372,
-0.05176094174385071,
-0.011364353820681572,
-0.019000623375177383,
0.01986510679125786,
0.062170762568712234,
0.08515161275863647,
0.011571469716727734,
0.04387253150343895,
0.02697908505797386,
-0.030635129660367966,
-0.029266364872455597,
0.02977064624428749,
-0.02182820439338684,
-0.014327011071145535,
0.04106295853853226,
0.0127781443297863,
-0.005884790327399969,
0.0063485498540103436,
-0.01694747619330883,
0.030725179240107536,
0.004912246484309435,
-0.007811868097633123,
-0.02598853036761284,
-0.04808688908815384,
-0.03490351513028145,
-0.03535376861691475,
0.0015274790348485112,
0.004849211312830448,
0.006573675666004419,
-0.04055867716670036,
0.022116366773843765,
-0.01864042319357395,
0.043188147246837616,
0.0039329491555690765,
-0.04639394208788872,
0.032274045050144196,
0.07398536801338196,
0.052949607372283936,
-0.004876226652413607,
0.018622413277626038,
-0.04574557766318321,
0.024691807106137276,
0.012787150219082832,
-0.011958686634898186,
-0.011139228008687496,
0.003367883153259754,
0.07139191776514053,
-0.05381409078836441,
0.04711434245109558,
0.023989412933588028,
-0.034489285200834274,
0.01279615517705679,
0.0029198825359344482,
0.023178961127996445,
0.032670266926288605,
0.042143564671278,
-0.04228764399886131,
0.03589406982064247,
-0.02276472933590412,
-0.027267245575785637,
0.018604403361678123,
0.0435483492910862,
-0.01846032217144966,
0.011436394415795803,
0.026402762159705162,
-0.03146359324455261,
-0.02422354370355606,
0.005371503531932831,
0.059865474700927734,
0.000751920451875776,
-0.006564670708030462,
0.06418789178133011,
-0.03940603509545326,
0.07593045383691788,
0.04516925662755966,
0.03717278316617012,
-0.019847096875309944,
0.0168124008923769,
-0.02013525925576687,
0.006087403744459152,
-0.046826183795928955,
0.010661961510777473,
0.047222405672073364,
-0.023305030539631844,
-0.037821147590875626,
-0.039586134254932404,
0.004921251442283392,
0.03987429663538933,
0.04066673666238785,
-0.045097216963768005,
0.09919946640729904,
0.10870878398418427,
0.07830778509378433,
-0.04862719029188156,
-0.01876649260520935,
-0.008743888698518276,
-0.02262064814567566,
-0.031085381284356117,
0.046429961919784546,
-0.05705590173602104,
0.01408387441188097,
-0.0819818377494812,
0.007753335405141115,
-0.02843790128827095,
-0.007055445108562708,
0.009032050147652626,
-0.007708310149610043,
0.04372845217585564,
0.002211861778050661,
0.005092347506433725,
0.002816324820742011,
0.04412467032670975,
-0.014390045776963234,
0.03308450058102608,
-0.005069834645837545,
-0.016605284065008163,
0.004486758727580309,
-0.04902341216802597,
0.0745616927742958,
0.006902359426021576,
0.022350497543811798,
-0.0025619324296712875,
-0.01601995714008808,
-0.01579483225941658,
-0.06908662617206573,
-0.026961075142025948,
0.04679016396403313,
-0.0005932066706009209,
-0.06191862002015114,
0.054282352328300476,
-0.018532361835241318,
0.022350497543811798,
-0.031337521970272064,
-0.02053147926926613,
0.0013293683296069503,
-0.006109916139394045,
-0.026510823518037796,
0.006294519640505314,
-0.05129268020391464,
0.0030752194579690695,
0.010013598948717117,
-0.020423419773578644,
0.022602638229727745,
-0.03517366573214531,
0.007739827502518892,
0.026546843349933624,
-0.0536700077354908,
0.010968132875859737,
-0.030869260430336,
0.00604237848892808,
-0.004822196438908577,
0.02319697104394436,
-0.0849354937672615,
-0.02838386967778206,
-0.0010552775347605348,
-0.024331605061888695,
-0.013741683214902878,
0.005907303187996149,
0.006019866093993187,
0.04617781937122345,
-0.050680335611104965,
0.00427063787356019,
-0.019054654985666275,
0.046646080911159515,
-0.007496691774576902,
-0.037460945546627045,
0.029122283682227135,
0.0055651115253567696,
0.0040635219775140285,
-0.023809311911463737,
0.0488072894513607,
-0.029068253934383392,
-0.03792920708656311,
0.008127043955028057,
0.04210754483938217,
-0.07830778509378433,
0.0336248017847538,
-0.003824888728559017,
-0.02461976557970047,
-0.0458536371588707,
-0.021233873441815376,
0.04405263066291809,
-0.02550225891172886,
0.002345811575651169,
-0.02292681857943535,
-0.009356231428682804,
0.045313335955142975,
0.05042819678783417,
-0.058892928063869476,
0.023269010707736015,
-0.06498033553361893,
0.006839324254542589,
0.03602014109492302,
-0.014741242863237858,
-0.05536295473575592,
-0.022116366773843765,
0.023142939433455467,
0.0836387649178505,
-0.03695666417479515,
-0.02607858180999756,
-0.010085639543831348,
0.032274045050144196,
-0.0027217718306928873,
-0.017334692180156708,
0.008635828271508217,
0.06098209694027901,
0.023935383185744286,
0.020063217729330063,
0.0001349348167423159,
-0.026943065226078033,
0.0028073196299374104,
0.03553386777639389,
0.02825780026614666,
0.04621383920311928,
0.0745616927742958,
0.024997977539896965,
0.05042819678783417,
-0.038217369467020035,
-0.06606093794107437,
-0.012435953132808208,
0.009365236386656761,
0.00451377360150218,
0.010679971426725388,
-0.00604237848892808,
0.008280130103230476,
0.03331863135099411,
-0.002135318936780095,
-0.01658727414906025,
0.048158928751945496,
-0.07023927569389343,
-0.03113941103219986,
0.015263534151017666,
-0.04869922995567322,
0.0017030772287398577,
0.018478332087397575,
0.004558798857033253,
0.006375564727932215,
-0.031517621129751205,
-0.05237328261137009,
0.030689159408211708,
-0.055074796080589294,
-0.031607672572135925,
0.01916271448135376,
0.03611018881201744,
0.06220678240060806,
-0.0030887271277606487,
0.04228764399886131,
-0.020549489185214043,
0.009108592756092548,
-0.012985260225832462,
0.027537398040294647,
0.09343624114990234,
-0.03277832642197609,
-0.013021280989050865,
-0.056047338992357254,
0.010337780229747295,
0.01846032217144966,
-0.009950563311576843,
0.015623736195266247,
-0.016524238511919975,
-0.01937883533537388,
0.0030369481537491083,
-0.022818759083747864,
-0.020117247477173805,
0.04866321012377739,
-0.014516116119921207,
-0.05370602756738663,
0.027249235659837723,
0.0239533931016922,
0.06537655740976334,
-0.0022197412326931953,
0.03562391921877861,
-0.05619141831994057,
-0.016695335507392883,
0.03167971223592758,
0.02977064624428749,
-0.04920351132750511,
0.0034736923407763243,
0.01694747619330883,
0.047798726707696915,
0.023611202836036682,
-0.037424925714731216,
-0.019198734313249588,
0.06995110958814621,
0.018289227038621902,
0.08745690435171127,
-0.005790237337350845,
-0.016425184905529022,
-0.02634873241186142,
-0.033912960439920425,
0.00033628178061917424,
0.011256293393671513,
0.018568381667137146,
-0.009239166043698788,
0.04405263066291809,
0.016344139352440834,
0.028203770518302917,
-0.01468721218407154,
-0.01011265441775322,
-0.02507001720368862,
0.022998860105872154,
-0.04153122007846832,
0.043008048087358475,
0.00519140250980854,
-0.006082901265472174,
0.002073409268632531,
0.023809311911463737,
-0.03767706826329231,
0.00579924276098609,
-0.009635387919843197,
-0.036758553236722946,
0.007573234383016825,
-0.056623660027980804,
-0.03355276212096214,
-0.03137354180216789,
-0.0013575090561062098,
0.005177895072847605,
-0.07888410985469818,
0.057560183107852936,
-0.0033431192860007286,
0.08918586373329163,
0.03940603509545326,
0.04401661083102226,
-0.005024809390306473,
-0.07297680526971817,
-0.007447164040058851,
0.03836144879460335,
0.015371594578027725,
0.007411143742501736,
0.028059689328074455,
0.05096849799156189,
-0.032724298536777496,
-0.030184878036379814,
-0.005114859901368618,
-0.005466056521981955,
-0.0034826972987502813,
0.015641745179891586,
-0.03713676333427429,
0.019901126623153687,
-0.003939702641218901,
-0.006839324254542589,
-0.027159186080098152,
-0.04405263066291809,
0.009995589032769203,
0.03661447390913963,
-0.01538960449397564,
-0.00856378860771656,
-0.0025259123649448156,
0.035335756838321686,
-0.03969419375061989,
-0.0011751570273190737,
-0.04459293186664581,
-0.034003011882305145,
-0.05611937865614891,
-0.035335756838321686,
0.09113095700740814,
-0.06299922615289688,
-0.02546623907983303,
0.01916271448135376,
0.02995074726641178,
-0.047402504831552505,
-0.007865898311138153,
-0.031193440780043602,
-0.015407615341246128,
0.055254895240068436,
-0.07412944734096527,
0.009221156127750874,
0.00399373285472393,
0.027735508978366852,
-0.031913843005895615,
0.03385893255472183,
-0.018784502521157265,
0.040162455290555954,
-0.07564229518175125,
-0.008951004594564438,
0.03674054145812988,
-0.014281985349953175,
0.030130848288536072,
-0.012922225520014763,
-0.030310947448015213,
0.00551108131185174,
-0.016137022525072098,
0.03344469889998436,
0.038037266582250595,
0.0582805871963501,
0.03140956163406372,
-0.0666012391448021,
-0.024601755663752556,
0.037641048431396484,
0.015578710474073887,
0.011121218092739582,
0.025250118225812912,
0.006244991905987263,
0.036758553236722946,
-0.06833020597696304,
-0.06998713314533234,
-0.03735288605093956,
0.04574557766318321,
0.02271069772541523,
-0.04769066721200943,
-0.059109050780534744,
0.06843826919794083,
-0.04315212741494179,
0.0021724647376686335,
-0.0690506100654602,
0.018694452941417694,
-0.058316607028245926,
0.004209853708744049,
0.06018965318799019,
0.00014605041360482574,
0.008036993443965912,
-0.0029694102704524994,
0.05543499439954758,
-0.03922593221068382,
-0.03463336452841759,
0.04135112091898918,
0.05363398790359497,
0.02355717122554779,
0.06184658035635948,
-0.02276472933590412,
-0.01903664506971836,
-0.01912669464945793,
-0.0066232034005224705,
0.010842062532901764,
-0.048735249787569046,
-0.00011073378846049309,
-0.03556988760828972,
-0.013480537571012974,
0.013822728767991066,
-0.0211978517472744,
0.0644400343298912,
0.016200058162212372,
0.043224167078733444,
-0.01955893635749817,
-0.0458536371588707,
-0.056983862072229385,
0.04498915374279022,
-0.0698070302605629,
-0.009302201680839062,
0.0016119013307616115,
-0.0004699502605944872,
0.009815488010644913,
-0.012526003643870354,
0.036434371024370193,
0.007631767075508833,
-0.01991913840174675,
-0.05539897456765175,
0.01885654404759407,
-0.04484507441520691,
0.03875767067074776,
0.047618623822927475,
-0.03146359324455261,
0.02143198437988758,
0.007104972843080759,
-0.013372477144002914,
-0.015983937308192253,
0.02989671565592289,
-0.0024403645657002926,
-0.018514351919293404,
-0.025052007287740707,
0.012417943216860294,
0.06303524225950241,
0.005159885156899691,
0.040162455290555954,
-0.01823519542813301,
0.025052007287740707,
0.012255853042006493,
-0.031913843005895615,
-0.026997094973921776,
0.00766328489407897,
0.047762706875801086,
0.008365677669644356,
0.023521151393651962,
0.034795455634593964,
-0.016614289954304695,
-0.01837027072906494,
0.026114601641893387,
-0.03872165083885193,
0.009347226470708847,
-0.007474178913980722,
0.01970301754772663,
0.021504024043679237,
-0.020873671397566795,
-0.03254419565200806,
0.05900099128484726,
0.018064100295305252,
-0.049743812531232834,
-0.006398077588528395,
-0.028023669496178627,
-0.009815488010644913,
-0.012895210646092892,
0.03900981321930885,
-0.01677638106048107,
-0.07564229518175125,
0.02507001720368862,
-0.06022567301988602,
0.02231447771191597,
0.027303267270326614,
0.020243318751454353,
0.03875767067074776,
-0.002888364950194955,
-0.012408938258886337,
-0.044160693883895874,
0.020171279087662697,
0.039370011538267136,
-0.02838386967778206,
0.005961333401501179,
0.023359060287475586,
-0.03625427186489105,
0.06425993144512177,
-0.006789796520024538,
0.06022567301988602,
0.03330061957240105,
0.01091410219669342,
-0.03875767067074776,
0.06094607710838318,
0.061378318816423416,
0.06245892494916916,
-0.05590325593948364,
-0.04902341216802597,
-0.03535376861691475,
-0.014858308248221874,
0.034669384360313416,
-0.01699250191450119,
-0.02998676709830761,
-0.0372808463871479,
-0.05003197491168976,
0.0058712828904390335,
-0.0790281891822815,
-0.02822178043425083,
-0.02838386967778206,
-0.015596720390021801,
-0.03720880672335625,
-0.011886646039783955,
-0.09675009548664093,
-0.04859117045998573,
-0.018172161653637886,
0.021323923021554947,
-0.009815488010644913,
0.007388631347566843,
0.010265739634633064,
-0.004232366569340229,
0.002200605347752571,
-0.026060571894049644,
0.04693424329161644,
-0.007267063483595848,
-0.017091557383537292,
0.0021870979107916355,
0.066349096596241,
-0.005524589214473963,
0.011013157665729523,
0.02971661649644375,
-0.017721908167004585,
0.018910573795437813,
-0.011247288435697556,
-0.04884330928325653,
0.04851913079619408,
-0.027087146416306496,
-0.021540043875575066,
0.0058397650718688965,
0.03580401837825775,
-0.0063485498540103436,
0.008631326258182526,
-0.03760502487421036,
-0.052769504487514496,
0.001943961950019002,
-0.011724555864930153,
0.04520527645945549,
-0.011265299282968044,
-0.0016051474958658218,
-0.01546164508908987,
-0.01538960449397564,
-0.006082901265472174,
-0.022548608481884003,
-0.021413972601294518,
0.008793416433036327,
0.0389377698302269,
-0.04380049183964729,
-0.0557231567800045,
0.0016816903371363878,
0.016091996803879738,
-0.06105413660407066,
0.029878705739974976,
0.04293600842356682,
-0.04603374004364014,
0.027177195996046066,
-0.04344028979539871,
0.042972028255462646,
-0.00033177927252836525,
-0.008622321300208569,
0.023359060287475586,
-0.01946888491511345,
0.010409820824861526,
0.02804167941212654,
0.011391369625926018,
-0.09177931398153305,
-0.04747454449534416,
0.09984783083200455,
0.02213437668979168,
0.05532693490386009,
-0.0007113977917470038,
-0.06249494478106499,
-0.02071158029139042,
-0.046285878866910934,
0.06022567301988602,
-0.01077902689576149,
0.032003894448280334,
0.025232108309864998,
-0.035335756838321686,
0.021486014127731323,
0.027753518894314766,
-0.02577240951359272,
0.013984819874167442,
-0.05557907745242119,
0.027177195996046066,
0.032274045050144196,
-0.018712462857365608,
0.023034879937767982,
-0.0003433169622439891,
0.004108547233045101,
0.06227882206439972,
0.049923915416002274,
0.0031022345647215843,
-0.0389377698302269,
-0.026276692748069763,
0.01597493141889572,
0.027573417872190475,
-0.0038946776185184717,
-0.05860476940870285,
0.049707792699337006,
-0.06249494478106499,
-0.031643692404031754,
0.0038068785797804594,
-0.048771269619464874,
-0.01330944150686264,
0.05439041182398796
]
|
40,571 | pyglove.core.geno.base | iter_dna | 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.
| 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
| (self, dna: Optional[pyglove.core.geno.base.DNA] = None, attach_spec: bool = True) | [
0.0312802754342556,
0.019299840554594994,
-0.022241782397031784,
-0.03523239865899086,
-0.013167843222618103,
0.02279118075966835,
-0.039982039481401443,
0.0013147905701771379,
0.03657931089401245,
-0.01222854945808649,
-0.02980930358171463,
0.025804011151194572,
-0.03553368151187897,
0.05905148759484291,
-0.033442422747612,
-0.05472718924283981,
-0.027842102572321892,
0.10222358256578445,
-0.055152527987957,
0.004709763918071985,
-0.02502422034740448,
0.09719038009643555,
-0.04933953657746315,
-0.033725984394550323,
-0.02475838176906109,
0.05593232065439224,
0.022631676867604256,
-0.023003850132226944,
-0.017908621579408646,
0.056215882301330566,
0.08988869935274124,
-0.09265341609716415,
-0.0035378611646592617,
-0.0028976344037801027,
0.017908621579408646,
0.0017567463219165802,
-0.06972045451402664,
0.05291948840022087,
-0.09513457119464874,
0.05476263538002968,
0.020185967907309532,
-0.023251965641975403,
0.054479073733091354,
-0.009011909365653992,
-0.011147474870085716,
-0.011572815477848053,
0.012618444859981537,
-0.019246673211455345,
-0.04728372395038605,
-0.018076986074447632,
0.09130650013685226,
-0.037819888442754745,
0.030340980738401413,
-0.031687892973423004,
-0.017155414447188377,
0.030429592356085777,
-0.05221058800816536,
0.012724780477583408,
0.042356859892606735,
0.009215718135237694,
0.012210826389491558,
-0.07209527492523193,
-0.004087259527295828,
-0.03268035501241684,
0.004754070192575455,
-0.026211628690361977,
-0.023393746465444565,
-0.03337153419852257,
0.018076986074447632,
-0.007607398089021444,
-0.014346391893923283,
0.006260485388338566,
0.029277628287672997,
-0.0008844652911648154,
-0.01658829301595688,
-0.0403364896774292,
-0.05086367577314377,
0.01548063475638628,
0.07358396798372269,
-0.04423544928431511,
-0.01646423526108265,
0.034877948462963104,
-0.05433729290962219,
0.0022186399437487125,
-0.004789514932781458,
0.04402277618646622,
-0.007930834777653217,
-0.014364114962518215,
0.0414707325398922,
0.01800609566271305,
0.04423544928431511,
-0.022702567279338837,
0.05770457535982132,
0.042037852108478546,
-0.0029640940483659506,
0.04398733377456665,
0.04948131740093231,
0.031563833355903625,
0.012618444859981537,
-0.010261347517371178,
0.0002452078915666789,
-0.012937450781464577,
0.038138896226882935,
0.03012830950319767,
-0.0354982390999794,
-0.01722630485892296,
-0.044767122715711594,
-0.0317942276597023,
0.02475838176906109,
0.05795269086956978,
-0.09938797354698181,
-0.06940145045518875,
0.02699142135679722,
-0.022826625034213066,
-0.020327748730778694,
-0.04345565661787987,
0.08145277202129364,
0.013327346183359623,
-0.000404295336920768,
-0.06521893292665482,
0.039166804403066635,
0.04391644150018692,
-0.04072638601064682,
0.027788935229182243,
-0.013477987609803677,
-0.00598135543987155,
0.01582622341811657,
0.019264396280050278,
-0.05688933655619621,
0.026530634611845016,
0.03165244683623314,
0.027469929307699203,
0.021975943818688393,
0.029578911140561104,
0.02424442768096924,
-0.01101455558091402,
-0.017137691378593445,
-0.022808901965618134,
-0.058448921889066696,
-0.017465557903051376,
-0.010509463027119637,
-0.02463432401418686,
0.03273352235555649,
-0.028072495013475418,
0.006278207991272211,
0.0169781893491745,
-0.06404924392700195,
-0.07344218343496323,
-0.05979583412408829,
-0.05547153577208519,
-0.032201845198869705,
0.012370329350233078,
0.009375221095979214,
0.03445260971784592,
-0.03913135826587677,
0.024545710533857346,
-0.021213874220848083,
-0.005600321106612682,
-0.021302487701177597,
0.014399560168385506,
0.0029109264723956585,
-0.005436387844383717,
-0.0121931042522192,
0.05143079534173012,
0.002527676522731781,
0.0156401377171278,
-0.07035846263170242,
0.017031356692314148,
0.017128830775618553,
-0.04933953657746315,
0.009339775890111923,
0.0172883328050375,
-0.009073938243091106,
-0.009579029865562916,
-0.00926002487540245,
0.02598123624920845,
-0.003012831090018153,
0.0196011234074831,
0.027221813797950745,
-0.047390058636665344,
0.010766440071165562,
0.019955575466156006,
0.013150121085345745,
-0.007368144113570452,
0.0034913395065814257,
0.008936588652431965,
-0.0010805208003148437,
0.03898957744240761,
0.0626668855547905,
0.00332076009362936,
0.03191828727722168,
0.011625982820987701,
-0.0519624724984169,
0.05688933655619621,
0.030163755640387535,
-0.035143788903951645,
-0.0011685796780511737,
0.016171813011169434,
0.008427065797150135,
0.059016041457653046,
-0.011386728845536709,
-0.008737210184335709,
-0.01869727484881878,
0.008373897522687912,
0.014674259349703789,
0.025804011151194572,
0.011360145173966885,
-0.00788652803748846,
-0.0050907982513308525,
-0.036224860697984695,
-0.013575461693108082,
-0.01787317730486393,
0.07259150594472885,
-0.026725582778453827,
0.04122261703014374,
-0.04008837416768074,
0.06812542676925659,
-0.022613955661654472,
0.018945390358567238,
-0.018360545858740807,
0.02286207117140293,
0.012308300472795963,
0.01915805973112583,
-0.016393344849348068,
0.014647675678133965,
-0.0016714566154405475,
0.015595830976963043,
0.022294949740171432,
-0.04062005132436752,
-0.010394266806542873,
-0.04193151742219925,
-0.019866961985826492,
0.008852406404912472,
0.01997329667210579,
0.1018691286444664,
-0.004253408405929804,
0.0177491195499897,
0.009171412326395512,
-0.007921973243355751,
-0.014195750467479229,
-0.005325621925294399,
0.06847987323999405,
-0.015454051084816456,
-0.019512511789798737,
-0.02254306524991989,
-0.034115880727767944,
0.010358821600675583,
0.005405373405665159,
-0.01839599199593067,
-0.031687892973423004,
-0.033920932561159134,
-0.01953023299574852,
0.000796960259322077,
0.027983883395791054,
-0.024403931573033333,
-0.004886989016085863,
-0.03358420357108116,
-0.012042462825775146,
0.013079230673611164,
0.002649518894031644,
0.018165597692131996,
-0.03170561417937279,
-0.04217963293194771,
0.04572414234280586,
0.0005887204897589982,
0.039733923971652985,
-0.017474420368671417,
-0.03253857418894768,
0.019902406260371208,
-0.017961788922548294,
0.047531839460134506,
0.011369006708264351,
0.00008113597868941724,
-0.016614876687526703,
0.017979511991143227,
0.03959214314818382,
0.03434627130627632,
-0.004754070192575455,
-0.06351756304502487,
-0.013415958732366562,
-0.03177650645375252,
0.027806658297777176,
-0.0529903806746006,
0.019583402201533318,
-0.004198025446385145,
-0.014629952609539032,
-0.001023476361297071,
0.09364587813615799,
0.02254306524991989,
0.013743826188147068,
0.018927667289972305,
-0.005733239930123091,
0.05458540841937065,
-0.024722935631871223,
0.02190505340695381,
-0.04278219863772392,
-0.035143788903951645,
-0.01575533300638199,
-0.013761548325419426,
-0.021089816465973854,
0.06497081369161606,
-0.013265317305922508,
-0.000009371829037263524,
0.032591741532087326,
-0.08925068378448486,
0.015719888731837273,
-0.0012970680836588144,
0.03473616763949394,
-0.027930716052651405,
0.0022972836159169674,
-0.013318485580384731,
0.02539639361202717,
-0.002467863028869033,
0.07500176876783371,
-0.02029230259358883,
-0.06075285002589226,
-0.012556415982544422,
-0.0050110467709600925,
-0.007057999726384878,
0.036224860697984695,
-0.03533873334527016,
0.04870152845978737,
-0.0077846236526966095,
0.018289655447006226,
-0.024846993386745453,
0.027611710131168365,
0.013717242516577244,
0.041080836206674576,
0.00664152018725872,
0.052175141870975494,
0.014133721590042114,
-0.024793826043605804,
-0.07081925123929977,
0.030677707865834236,
-0.009986648336052895,
0.045688696205616,
-0.03650842234492302,
-0.012565277516841888,
0.0003206671099178493,
-0.035710908472537994,
-0.011439896188676357,
0.02279118075966835,
0.007722594775259495,
-0.028054773807525635,
0.02298612892627716,
-0.034239936619997025,
0.003243223996832967,
0.006371251307427883,
-0.0171819981187582,
0.013469127006828785,
0.04359743744134903,
0.1080365777015686,
0.04129350557923317,
0.009499278850853443,
0.02406720258295536,
-0.0033872195053845644,
0.01984923891723156,
0.03416904807090759,
-0.038918688893318176,
0.01571102812886238,
-0.008050461299717426,
-0.012405774556100368,
-0.0010871667182072997,
-0.028710506856441498,
-0.0207353662699461,
-0.04377466067671776,
-0.08450105041265488,
0.016765518113970757,
0.0061497194692492485,
0.02342919073998928,
-0.0018597585149109364,
0.02458115667104721,
0.01011956762522459,
-0.05532975494861603,
0.01442614383995533,
-0.08138187974691391,
0.0043951887637376785,
-0.0069162193685770035,
-0.014674259349703789,
0.051927026361227036,
-0.007328268140554428,
0.04345565661787987,
0.04430633783340454,
0.07805004715919495,
-0.03742999583482742,
-0.08776199072599411,
0.09222806990146637,
0.03260946646332741,
-0.059405937790870667,
-0.028745951130986214,
-0.03672109171748161,
-0.044270891696214676,
-0.013300762511789799,
0.027930716052651405,
-0.03707554191350937,
-0.10222358256578445,
-0.017855454236268997,
-0.018679551780223846,
-0.06451002508401871,
-0.025555895641446114,
0.0264951903373003,
-0.011129751801490784,
0.01634903810918331,
0.047141943126916885,
0.05086367577314377,
-0.029011789709329605,
0.002689394634217024,
-0.04193151742219925,
-0.028675062581896782,
0.040690939873456955,
-0.03564001992344856,
-0.00022000866010785103,
0.010270209051668644,
0.04859519004821777,
0.03287530317902565,
0.034683000296354294,
0.007456756662577391,
0.01780228689312935,
-0.033548757433891296,
0.03959214314818382,
0.01876816526055336,
-0.11250265687704086,
-0.06709751486778259,
0.08542262017726898,
0.04710649698972702,
-0.04086816683411598,
0.09222806990146637,
-0.009915758855640888,
-0.016003448516130447,
-0.03650842234492302,
-0.03888324275612831,
-0.0031125203240662813,
0.011785485781729221,
-0.014115999452769756,
0.07184715569019318,
-0.007434603292495012,
-0.07400930672883987,
-0.016871852800250053,
0.008338453248143196,
-0.01896311342716217,
0.006318083964288235,
0.032449960708618164,
0.01551607996225357,
-0.027310427278280258,
-0.013398236595094204,
0.025874901562929153,
0.04175429418683052,
0.026388855651021004,
0.0625605508685112,
-0.012707057408988476,
0.022064555436372757,
-0.07308773696422577,
0.04813440516591072,
-0.0190871711820364,
-0.007447895593941212,
0.004793945699930191,
0.07663223892450333,
-0.027859825640916824,
-0.013424820266664028,
0.001146426540799439,
0.009153689257800579,
-0.01984923891723156,
-0.0009237871272489429,
-0.02693825401365757,
0.014080554246902466,
0.11193553358316422,
0.022100001573562622,
0.05323849618434906,
-0.08308324217796326,
0.003336267312988639,
0.04026560112833977,
0.016517402604222298,
0.012795669957995415,
-0.07797915488481522,
0.07485999166965485,
-0.04540513455867767,
-0.019353007897734642,
0.006247193552553654,
-0.028373777866363525,
-0.019866961985826492,
-0.02814338542521,
-0.040301043540239334,
0.026796473190188408,
0.033282920718193054,
-0.00976511649787426,
-0.026158461347222328,
0.031103048473596573,
-0.004399619530886412,
-0.041009947657585144,
-0.024988774210214615,
0.011448757722973824,
-0.022419007495045662,
0.00804603099822998,
-0.018998557701706886,
0.030340980738401413,
0.012042462825775146,
0.04795718193054199,
-0.021089816465973854,
0.030429592356085777,
-0.06429735571146011,
0.003422664711251855,
-0.014151444658637047,
0.009871452115476131,
-0.011882959865033627,
0.029525743797421455,
0.057421013712882996,
-0.08528083562850952,
-0.028551004827022552,
-0.029508020728826523,
0.04728372395038605,
0.024917883798480034,
0.0011093199718743563,
0.03377915173768997,
-0.019122615456581116,
0.028178831562399864,
-0.002567552262917161,
-0.011129751801490784,
-0.04625581577420235,
0.034558944404125214,
0.029827026650309563,
0.014736288227140903,
-0.023907700553536415,
-0.034753892570734024,
-0.00042838690569624305,
0.02961435541510582,
-0.016862992197275162,
0.008378328755497932,
0.0005330606363713741,
0.000369404093362391,
-0.022879792377352715,
0.008511247113347054,
0.04724827781319618,
0.03927313908934593,
0.029720691964030266,
0.0006690256996080279,
-0.036472976207733154,
0.07337129861116409,
0.006863051559776068,
-0.01882133260369301,
0.057810910046100616,
0.06621139496564865,
-0.02055814117193222,
0.017199721187353134,
-0.00864416640251875,
0.045227911323308945,
0.026442022994160652,
-0.016508542001247406,
-0.05529430881142616,
0.06178075820207596,
0.03969847783446312,
-0.028072495013475418,
-0.03533873334527016,
-0.08201989531517029,
0.045298799872398376,
-0.02055814117193222,
0.0028843425679951906,
-0.014045109041035175,
-0.01066010445356369,
0.0012250702129676938,
0.03044731542468071,
0.019583402201533318,
0.0011586106847971678,
-0.0793260708451271,
-0.06847987323999405,
0.060930076986551285,
0.02266712300479412,
0.05681844800710678,
-0.022064555436372757,
0.04186062887310982,
0.042923979461193085,
-0.02176327258348465,
-0.00625605508685112,
-0.041009947657585144,
0.030784044414758682,
-0.0678064227104187,
0.026654692366719246,
-0.056144990026950836,
-0.03955669701099396,
-0.0467166043817997,
-0.054868970066308975,
-0.022454451769590378,
-0.016393344849348068,
0.047460950911045074,
0.010137289762496948,
-0.014816039241850376,
-0.019353007897734642,
-0.02412036992609501,
-0.0025498296599835157,
-0.037500884383916855,
-0.06550248712301254,
-0.021550603210926056,
-0.07149270921945572,
-0.01882133260369301,
-0.032520852982997894,
-0.00926002487540245,
0.05029655620455742,
0.010190458036959171,
-0.004311006516218185,
0.005480694118887186,
-0.03276896849274635,
0.008927727118134499,
0.05628677085042,
0.02700914442539215,
0.05557787045836449,
0.046362150460481644,
0.0324145182967186,
0.04742550477385521,
-0.0720243826508522,
-0.035019729286432266,
-0.06514804065227509,
-0.008843544870615005,
0.04639759659767151,
-0.021302487701177597,
-0.02419126033782959,
-0.02151515707373619,
-0.07599423080682755,
-0.028054773807525635,
-0.030411871150135994,
0.005653488915413618,
0.016960466280579567,
0.007585245184600353,
-0.032822135835886,
-0.03849334642291069,
0.005976925138384104,
-0.0162072591483593,
-0.04948131740093231,
0.015205935575067997,
0.012086768634617329,
0.02635340951383114,
-0.0017999450210481882,
0.017722535878419876,
-0.01081960741430521,
-0.03184739500284195,
-0.013876745477318764,
-0.03994659334421158,
-0.023836810141801834,
0.04065549746155739,
-0.049126867204904556,
-0.056215882301330566,
0.030819488689303398,
-0.03365509584546089,
0.02507738769054413,
-0.013451403938233852,
0.017438974231481552,
0.011112029664218426,
-0.029791582375764847,
-0.032006897032260895,
-0.034895673394203186,
-0.02112526260316372,
0.004031876567751169,
0.009020769968628883,
0.05125357210636139,
-0.04217963293194771,
-0.05313216149806976,
0.023730475455522537,
-0.009127105586230755,
0.014257779344916344,
0.04154162108898163,
0.019565679132938385,
0.03268035501241684,
0.037819888442754745,
0.012263994663953781,
-0.0014233411056920886,
-0.05501075088977814,
-0.012724780477583408,
-0.010057538747787476,
-0.02814338542521,
0.01876816526055336,
0.005538292229175568,
-0.036862872540950775,
-0.01496668066829443,
0.05547153577208519,
-0.04480256885290146,
-0.012937450781464577,
0.02527233585715294,
0.002179871778935194,
-0.009853729978203773,
-0.01321214996278286,
0.048985086381435394,
-0.010110706090927124,
-0.008763793855905533,
0.005174980498850346,
0.026016682386398315,
-0.044979795813560486,
-0.03835156559944153,
-0.05564875900745392,
0.08287057280540466,
-0.06454547494649887,
0.04214418679475784,
0.021142983809113503,
0.01187409833073616,
-0.050721894949674606,
0.0344703309237957,
-0.024669768288731575,
0.009437249973416328,
-0.0026162893045693636,
0.03326519951224327,
-0.0012073477264493704,
-0.03732365742325783,
-0.013540016487240791,
0.016942743211984634,
0.025201445445418358,
0.0012073477264493704,
0.06918877363204956,
0.004255623556673527,
-0.017598478123545647,
0.002259623259305954,
0.044200003147125244,
0.039733923971652985,
0.025449560955166817,
0.014435004442930222,
0.025697676464915276,
-0.033034805208444595,
0.031687892973423004,
-0.00823654793202877,
-0.030039697885513306,
0.0270623117685318,
0.03473616763949394,
0.06847987323999405,
0.0012339315144345164,
0.010624660179018974,
0.014417282305657864,
0.006380112841725349,
0.035462792962789536,
0.008462511003017426,
0.01799723505973816,
-0.07812093198299408,
0.07163448631763458,
-0.02559133991599083,
-0.0035666602198034525,
-0.01965429075062275,
-0.005640196613967419,
0.01933528669178486,
0.006699118297547102,
-0.06720385700464249,
0.0006756716757081449,
0.018555494025349617,
0.030340980738401413,
-0.029986528679728508,
-0.021603770554065704,
-0.036862872540950775,
0.05954771861433983,
0.025183722376823425,
0.02583945542573929,
0.04391644150018692,
0.010181596502661705,
0.0028422516770660877,
-0.01723516546189785,
0.03540962561964989,
-0.07443464547395706,
0.042356859892606735,
-0.0414707325398922,
0.021373378112912178,
0.03650842234492302,
-0.00625605508685112,
0.028621893376111984,
0.022294949740171432,
-0.006025662180036306,
0.014195750467479229,
0.008768224157392979,
-0.0007626228616572917,
-0.0014687550719827414,
0.05851981043815613,
0.010066400282084942,
-0.058697037398815155,
0.011599399149417877,
-0.014337531290948391,
0.026016682386398315
]
|
40,573 | pyglove.core.geno.base | next_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.
| 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
| (self, dna: Optional[pyglove.core.geno.base.DNA] = None, attach_spec: bool = True) -> Optional[pyglove.core.geno.base.DNA] | [
0.023924995213747025,
0.02475060150027275,
0.004411280620843172,
-0.009687690995633602,
-0.0003628492704592645,
0.019515911117196083,
-0.015194655396044254,
-0.03212835267186165,
-0.001341609051451087,
-0.021904896944761276,
-0.029317781329154968,
0.003980911802500486,
-0.03488622605800629,
0.037240080535411835,
0.009485680609941483,
-0.04465296491980553,
-0.0010786668863147497,
0.08115527033805847,
-0.05814371258020401,
0.030196085572242737,
0.009977531619369984,
0.10328852385282516,
-0.03184729442000389,
-0.017232321202754974,
-0.0207455363124609,
0.0688941478729248,
0.02576943300664425,
-0.024329015985131264,
-0.02963397093117237,
0.04247477278113365,
0.10715306550264359,
-0.09373258054256439,
0.006481882184743881,
-0.02100902609527111,
0.011567261070013046,
0.0555439330637455,
-0.043388206511735916,
0.05044976994395256,
-0.10153192281723022,
0.030002858489751816,
0.005924159195274115,
-0.01826871931552887,
0.05838963761925697,
-0.024047957733273506,
-0.0044793495908379555,
-0.00044903281377628446,
-0.006587278563529253,
-0.035237547010183334,
-0.02736794576048851,
-0.017574859783053398,
0.09541892260313034,
-0.060111112892627716,
0.01482576783746481,
-0.025312716141343117,
-0.027526041492819786,
0.032813429832458496,
-0.050555165857076645,
0.012085460126399994,
0.022326482459902763,
-0.0019190937746316195,
0.038645368069410324,
-0.062113646417856216,
0.0018477316480129957,
-0.019357815384864807,
0.0023977693635970354,
-0.007017647381871939,
0.014017729088664055,
-0.039031822234392166,
-0.012533395551145077,
0.019305117428302765,
-0.018707871437072754,
0.00001419524232915137,
-0.012252338230609894,
-0.021254951134324074,
-0.005054638255387545,
-0.06334327161312103,
-0.026946360245347023,
-0.02422361820936203,
0.039242614060640335,
-0.0047472319565713406,
-0.004808713216334581,
0.0367833636701107,
-0.02798275835812092,
-0.03455246984958649,
-0.01425487082451582,
0.033955223858356476,
-0.003530781250447035,
0.00712743541225791,
0.011233505792915821,
-0.016538459807634354,
0.05132807418704033,
-0.027473343536257744,
0.04423138126730919,
0.058249108493328094,
0.03601045534014702,
-0.004659401718527079,
0.06636463850736618,
0.023731768131256104,
0.03794272243976593,
-0.03688875958323479,
-0.03392009437084198,
-0.00435858266428113,
-0.006192042026668787,
0.005910984706133604,
-0.029721800237894058,
-0.015352750197052956,
-0.026313981041312218,
0.004134614951908588,
-0.010214673355221748,
0.037169817835092545,
-0.07462069392204285,
-0.1244380846619606,
0.023029126226902008,
0.018216021358966827,
-0.0016753645613789558,
-0.019779400900006294,
0.0809444785118103,
0.017276234924793243,
0.03226888179779053,
-0.0548764206469059,
0.021325215697288513,
0.04040197655558586,
-0.07419910281896591,
-0.030793331563472748,
-0.004857019986957312,
-0.010785570368170738,
0.041245147585868835,
-0.007869602181017399,
-0.06569712609052658,
0.01807549223303795,
0.044407039880752563,
0.036291513592004776,
0.01636279933154583,
0.0635891929268837,
-0.0060954284854233265,
0.008686424233019352,
-0.0361158512532711,
0.02295886166393757,
-0.07848522812128067,
0.0008991635404527187,
-0.032356712967157364,
-0.005331303924322128,
0.02589239552617073,
-0.035430774092674255,
-0.000030346081985044293,
0.013051594607532024,
-0.08136606216430664,
-0.04784999042749405,
-0.06151639670133591,
-0.017478246241807938,
-0.017899831756949425,
-0.019849665462970734,
-0.02536541409790516,
0.025453243404626846,
-0.004927284549921751,
-0.0037349869962781668,
-0.023661503568291664,
-0.002663456369191408,
-0.02824625000357628,
0.010882183909416199,
0.03383226320147514,
-0.030477141961455345,
-0.018778136000037193,
0.011321336030960083,
0.01281445287168026,
0.002716154558584094,
-0.08171738684177399,
0.05434944108128548,
0.021852198988199234,
-0.0006219488568603992,
0.015783119946718216,
0.06316760927438736,
-0.004571571480482817,
0.0045232647098600864,
-0.026577472686767578,
0.019094325602054596,
0.01261244248598814,
0.008374626748263836,
0.02817598544061184,
-0.0742693692445755,
0.021395480260252953,
0.02079823426902294,
0.027543608099222183,
-0.011725355871021748,
0.00812431052327156,
0.019568609073758125,
0.013534661382436752,
0.016406714916229248,
0.04788512364029884,
0.03564156964421272,
0.0251019224524498,
0.042123451828956604,
-0.05881122127175331,
0.04194778949022293,
0.0016643856652081013,
-0.04893908649682999,
0.01017075777053833,
0.0267706997692585,
0.026313981041312218,
0.040928956121206284,
0.0128759341314435,
0.014333917759358883,
0.006200824864208698,
0.0027315248735249043,
-0.003530781250447035,
0.018725436180830002,
0.015537193976342678,
-0.0007970607257448137,
-0.0009979726746678352,
-0.006740981712937355,
-0.03330527991056442,
-0.012120592407882214,
0.048341840505599976,
-0.03392009437084198,
0.02489113062620163,
-0.07511254400014877,
0.08291187882423401,
0.003153110621497035,
0.013359000906348228,
-0.011936148628592491,
0.03184729442000389,
0.008260447531938553,
0.026015358045697212,
0.0066443681716918945,
0.019287550821900368,
0.0067717223428189754,
-0.01631888374686241,
0.012322602793574333,
-0.01418460626155138,
-0.013727888464927673,
-0.0548764206469059,
-0.060111112892627716,
0.020464478060603142,
-0.018901098519563675,
0.0823497623205185,
0.021395480260252953,
0.004152181092649698,
0.014658890664577484,
-0.01616957224905491,
-0.005884635262191296,
0.0017357479082420468,
0.0709318146109581,
0.007790554780513048,
0.007636851631104946,
-0.02262510545551777,
-0.015528411604464054,
-0.006784896831959486,
-0.031741898506879807,
-0.02093876339495182,
-0.049676861613988876,
-0.024170920252799988,
0.004554005339741707,
0.026718001812696457,
0.03455246984958649,
-0.05340087041258812,
0.03392009437084198,
-0.019955063238739967,
-0.02007802575826645,
-0.005050247069448233,
0.011488214135169983,
0.023116955533623695,
-0.019164588302373886,
-0.03139057755470276,
-0.010118059813976288,
-0.038434576243162155,
0.021852198988199234,
-0.024504676461219788,
-0.003631786210462451,
0.01518587302416563,
-0.010987580753862858,
0.011479430831968784,
-0.004655010066926479,
0.011189590208232403,
-0.040647901594638824,
0.047006819397211075,
-0.0008234098204411566,
0.03973446413874626,
-0.0157216377556324,
-0.005836328957229853,
-0.0036537437699735165,
-0.06387025117874146,
0.020376648753881454,
-0.02334531582891941,
0.020306384190917015,
-0.007355794310569763,
0.006872727070003748,
-0.0020563288126140833,
0.07609624415636063,
0.008352668955922127,
0.004077525343745947,
0.02334531582891941,
0.00024372930056415498,
0.06710240989923477,
-0.009845785796642303,
0.024610072374343872,
-0.017970096319913864,
-0.023204786702990532,
-0.01277932059019804,
-0.008212140761315823,
-0.013701539486646652,
0.0635891929268837,
-0.013569793663918972,
-0.007329445332288742,
0.043001752346754074,
-0.09007883816957474,
0.007764205802232027,
-0.007399709429591894,
-0.0013778391294181347,
-0.005880244076251984,
-0.01764512248337269,
-0.031741898506879807,
0.053154945373535156,
-0.015238570980727673,
0.08677641302347183,
-0.04637444019317627,
-0.04096408933401108,
-0.008892825804650784,
0.00276885274797678,
0.0038316003046929836,
0.0207455363124609,
-0.019147023558616638,
0.047744594514369965,
-0.03787245973944664,
0.008054045960307121,
-0.019445646554231644,
0.03300665691494942,
-0.02020098827779293,
0.008365843445062637,
0.001015538815408945,
0.05441970378160477,
0.0049843741580843925,
-0.04380979388952255,
-0.06527553498744965,
0.02427631802856922,
-0.0264369435608387,
0.004993156995624304,
-0.0250843558460474,
-0.03472813218832016,
-0.011611176654696465,
-0.01650332845747471,
-0.011031495407223701,
-0.028720533475279808,
0.005199558567255735,
-0.04068303108215332,
0.05600064992904663,
-0.0501687116920948,
0.042931489646434784,
0.00022794728283770382,
0.005770456045866013,
-0.014509579166769981,
0.017047876492142677,
0.05975979194045067,
0.03290126100182533,
-0.0008267034427262843,
0.02086849883198738,
-0.033217448741197586,
0.0075138891115784645,
0.04728787764906883,
-0.00027488163323141634,
-0.007698332890868187,
-0.03383226320147514,
-0.004843845497816801,
-0.032356712967157364,
-0.0020771885756403208,
-0.028667835518717766,
-0.007974998094141483,
-0.10525592416524887,
0.028825931251049042,
-0.020446913316845894,
0.02093876339495182,
0.011251071467995644,
0.007131827063858509,
0.010495730675756931,
-0.030090687796473503,
0.01833898387849331,
-0.06808611005544662,
0.024733034893870354,
0.007535846438258886,
0.003212396055459976,
0.02401282638311386,
-0.016608724370598793,
0.04718248173594475,
0.009661342017352581,
0.09858082234859467,
-0.038645368069410324,
-0.029335347935557365,
0.0796094536781311,
0.0032014173921197653,
-0.0602165088057518,
-0.05747620016336441,
-0.018707871437072754,
-0.02896645851433277,
-0.0087786465883255,
0.04468809813261032,
-0.027526041492819786,
-0.0715993270277977,
-0.03980472683906555,
-0.0274206455796957,
-0.06379998475313187,
-0.01960374042391777,
0.04409085214138031,
0.007562195882201195,
0.026068056002259254,
0.038645368069410324,
0.05392785370349884,
0.012278687208890915,
0.004584745969623327,
-0.013842067681252956,
-0.04475836083292961,
0.033955223858356476,
-0.07440989464521408,
-0.0030301481019705534,
0.001187905902042985,
0.04106948524713516,
0.0347808301448822,
0.05828424170613289,
0.05385759100317955,
0.03312962129712105,
-0.01281445287168026,
0.009081661701202393,
0.00008124310261337087,
-0.08115527033805847,
-0.09598103910684586,
0.0976673811674118,
0.03868050128221512,
-0.024188486859202385,
0.08979777991771698,
0.01867273822426796,
-0.05273336172103882,
-0.015783119946718216,
-0.004496915265917778,
-0.029862329363822937,
0.03204052150249481,
-0.0095295961946249,
0.06049756705760956,
-0.004870194476097822,
-0.03446464240550995,
-0.03488622605800629,
-0.00637209415435791,
-0.04563666507601738,
0.0012504850747063756,
0.004301493056118488,
-0.023520976305007935,
-0.005981248803436756,
-0.057651862502098083,
-0.0015622829087078571,
0.03488622605800629,
0.012849584221839905,
0.05399811640381813,
-0.049676861613988876,
0.0387858971953392,
-0.07314514368772507,
0.021694103255867958,
0.03464030101895332,
-0.011830751784145832,
0.001684147515334189,
0.05926794186234474,
-0.025242451578378677,
0.0023450711742043495,
-0.018725436180830002,
0.010425466112792492,
-0.004615486599504948,
0.023538541048765182,
0.011865884065628052,
-0.0003323830896988511,
0.12429755181074142,
0.026928795501589775,
0.030424444004893303,
-0.07785285264253616,
-0.015414231456816196,
0.03941827639937401,
0.00013263759319670498,
0.010776787996292114,
-0.07602597773075104,
0.09394337236881256,
-0.044723231345415115,
0.020183421671390533,
-0.020042892545461655,
-0.005607969593256712,
-0.012340168468654156,
-0.027947627007961273,
-0.058986883610486984,
0.009081661701202393,
0.03755627200007439,
0.002586604794487357,
-0.002922555897384882,
0.010021446272730827,
0.005730932112783194,
-0.02717472054064274,
0.017917398363351822,
0.017276234924793243,
0.016494546085596085,
0.027016624808311462,
-0.010513296350836754,
-0.009108010679483414,
0.04177212715148926,
0.058916620910167694,
-0.039172351360321045,
0.03773193061351776,
-0.04047223925590515,
0.008567853830754757,
-0.06871849298477173,
0.001546912593767047,
-0.017118141055107117,
0.029282648116350174,
0.029458310455083847,
-0.11214183270931244,
0.0002750188868958503,
-0.034218717366456985,
0.04609338194131851,
0.03346337378025055,
0.01528248656541109,
0.027069322764873505,
0.0007674179505556822,
0.03249724209308624,
0.0488336905837059,
0.03098655864596367,
-0.030055556446313858,
0.0688941478729248,
0.015308835543692112,
0.0008684229105710983,
-0.016064176335930824,
-0.0204117801040411,
-0.018830833956599236,
0.035694267600774765,
-0.006077862344682217,
0.010548428632318974,
0.002461446449160576,
0.013692756183445454,
0.020499611273407936,
0.008458065800368786,
0.059724658727645874,
0.009617426432669163,
0.02294129505753517,
0.01518587302416563,
-0.02796519361436367,
0.023064257577061653,
0.04711221531033516,
0.003359511960297823,
-0.015379099175333977,
0.04128027707338333,
-0.030758198350667953,
0.005085378885269165,
0.013973813503980637,
0.04517994821071625,
0.021922463551163673,
-0.007856427691876888,
-0.02469790354371071,
0.05252256616950035,
0.027016624808311462,
-0.029335347935557365,
-0.007250397931784391,
-0.06369458884000778,
-0.007241614628583193,
-0.002435097238048911,
-0.004112657625228167,
0.005928550846874714,
0.020727969706058502,
0.015423014760017395,
0.003133348887786269,
0.005498182028532028,
0.003133348887786269,
-0.037837326526641846,
-0.07121287286281586,
0.05568446218967438,
-0.004415672272443771,
0.04556640237569809,
-0.038294047117233276,
0.051890186965465546,
0.013288736343383789,
-0.011356468312442303,
0.0036164158955216408,
-0.05701948329806328,
0.005098553374409676,
-0.06313247978687286,
0.02369663678109646,
-0.0354834720492363,
0.009116793051362038,
-0.05835450440645218,
-0.031074387952685356,
-0.017548510804772377,
-0.015993911772966385,
0.0675591304898262,
0.0004092346644029021,
-0.059373337775468826,
-0.04163160175085068,
-0.0036537437699735165,
-0.00923975557088852,
-0.05642223730683327,
-0.07321540266275406,
-0.021307650953531265,
-0.06738346815109253,
-0.02798275835812092,
-0.025997793301939964,
0.017574859783053398,
0.06260549277067184,
0.01100514642894268,
0.02410065568983555,
0.03818865120410919,
-0.007636851631104946,
-0.018620040267705917,
0.035149719566106796,
0.006029555574059486,
0.03741574287414551,
0.0635891929268837,
0.04563666507601738,
0.018180888146162033,
-0.07996077835559845,
-0.03685362637042999,
-0.10532619059085846,
0.029493441805243492,
0.04788512364029884,
-0.03579966351389885,
-0.025189753621816635,
-0.02724498324096203,
-0.06984271854162216,
-0.025804566219449043,
-0.054033249616622925,
0.009081661701202393,
0.043599002063274384,
0.02568160369992256,
0.02329261600971222,
-0.013034028001129627,
-0.015308835543692112,
-0.0077554224990308285,
-0.03913721814751625,
0.011567261070013046,
0.010478164069354534,
0.028492175042629242,
0.026278849691152573,
0.02622615173459053,
-0.007764205802232027,
-0.0015864362940192223,
-0.013394133187830448,
-0.041315410286188126,
-0.02441684529185295,
0.03532537817955017,
-0.05111728236079216,
0.007720290217548609,
0.025260018184781075,
-0.03969933092594147,
0.038575101643800735,
-0.03372686728835106,
0.013789369724690914,
0.019779400900006294,
-0.05301441624760628,
-0.03406061977148056,
-0.06123534217476845,
-0.028140854090452194,
0.020060459151864052,
-0.02114955522119999,
0.032953958958387375,
-0.039769597351551056,
-0.03293639421463013,
0.0528738871216774,
-0.025382980704307556,
0.05466562882065773,
0.06077862158417702,
0.0057045831345021725,
0.0347808301448822,
0.01184831839054823,
-0.009933616034686565,
0.0143866166472435,
-0.05838963761925697,
-0.019217288121581078,
0.0013229451142251492,
-0.040191181004047394,
-0.0031553064472973347,
0.011760488152503967,
-0.07321540266275406,
-0.02922995015978813,
0.029405610635876656,
-0.019586175680160522,
0.001085803029127419,
0.07391804456710815,
0.008936741389334202,
-0.02789492905139923,
-0.03219861909747124,
0.051152411848306656,
-0.008304362185299397,
0.02608562260866165,
0.00873033981770277,
0.020323950797319412,
-0.0361509844660759,
-0.07932840287685394,
-0.04461783170700073,
0.09211650490760803,
-0.05519261211156845,
0.03392009437084198,
0.04468809813261032,
0.004949241876602173,
-0.07729073613882065,
0.013982596807181835,
-0.01284080184996128,
0.0021650188136845827,
-0.020446913316845894,
0.010249805636703968,
0.005915375892072916,
-0.06875362247228622,
-0.02415335550904274,
0.008168225176632404,
0.04128027707338333,
-0.01168144028633833,
0.017109358683228493,
-0.0059461165219545364,
-0.019147023558616638,
0.031021689996123314,
0.026753133162856102,
0.03084602952003479,
-0.00950324721634388,
0.003497844794765115,
0.00963499303907156,
0.0047208829782903194,
0.04475836083292961,
-0.011883450672030449,
0.001820284640416503,
0.018110623583197594,
0.03969933092594147,
0.03158380463719368,
0.018778136000037193,
-0.03486866131424904,
-0.005893418565392494,
0.028825931251049042,
0.0006636683247052133,
0.012146941386163235,
0.023538541048765182,
-0.05224151164293289,
0.05375219136476517,
-0.026191018521785736,
-0.015300052240490913,
-0.02784223109483719,
0.01615200750529766,
0.056562766432762146,
0.013060377910733223,
-0.05856529623270035,
0.011426732875406742,
0.04644470661878586,
0.02596266008913517,
-0.007215265650302172,
-0.013394133187830448,
-0.04247477278113365,
0.05171452835202217,
0.030424444004893303,
0.01793496310710907,
0.03825891390442848,
-0.009854569099843502,
0.007153784390538931,
-0.034359246492385864,
0.025470810011029243,
-0.05853016674518585,
0.009441765956580639,
-0.020657705143094063,
0.030336612835526466,
0.04229911044239998,
-0.045671798288822174,
0.010363984853029251,
0.0014623758615925908,
0.04310715198516846,
0.05726540833711624,
-0.0069254254922270775,
0.029862329363822937,
0.0023538542445749044,
0.04957146570086479,
0.026138320565223694,
-0.0876898542046547,
0.013288736343383789,
-0.05006331577897072,
0.03472813218832016
]
|
40,575 | pyglove.core.geno.base | random_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.
| 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
| (self, random_generator: Union[module, random.Random, NoneType] = None, attach_spec: bool = True, previous_dna: Optional[pyglove.core.geno.base.DNA] = None) -> pyglove.core.geno.base.DNA | [
0.011768296360969543,
0.036626461893320084,
0.020066337659955025,
-0.004182734992355108,
0.022817369550466537,
-0.010968159884214401,
-0.06839816272258759,
0.008680129423737526,
0.03707597777247429,
-0.009970237500965595,
-0.0030724334064871073,
0.025118883699178696,
-0.019203269854187965,
0.05667481943964958,
-0.036860208958387375,
-0.009835382923483849,
-0.000884982175193727,
0.078826904296875,
-0.018951542675495148,
-0.031412091106176376,
-0.03944941610097885,
0.06987257301807404,
-0.05199986696243286,
0.0016542143421247602,
0.006225779186934233,
0.06918931007385254,
-0.06570107489824295,
-0.030189409852027893,
-0.016865793615579605,
0.05369004234671593,
0.0743677169084549,
-0.12370645999908447,
0.03301236405968666,
0.016191521659493446,
0.005493070464581251,
0.01712651178240776,
-0.038909997791051865,
0.07041198760271072,
-0.06145765632390976,
0.008329508826136589,
0.030567003414034843,
-0.0320773720741272,
0.028175584971904755,
-0.01818736642599106,
-0.005030069965869188,
-0.021828437224030495,
0.034378889948129654,
-0.04326130077242851,
-0.06264437735080719,
-0.029272399842739105,
0.080193430185318,
-0.014968841336667538,
0.03020739182829857,
0.005052546039223671,
-0.013845054432749748,
0.00247008353471756,
-0.03144805133342743,
0.028211545199155807,
0.006126886233687401,
0.0160746481269598,
0.029506148770451546,
-0.009421829134225845,
-0.036626461893320084,
-0.07206620275974274,
0.034432828426361084,
0.01307188905775547,
-0.04653376713395119,
0.012226801365613937,
0.018016550689935684,
0.014168704859912395,
-0.03592522069811821,
0.021720552816987038,
0.04671357199549675,
0.010959169827401638,
0.04070805758237839,
-0.03015344962477684,
-0.03272467479109764,
-0.03223919868469238,
0.03567349165678024,
-0.057322122156620026,
0.012154879048466682,
0.025586379691958427,
-0.02567628212273121,
-0.005362710915505886,
0.015445326454937458,
-0.023446690291166306,
-0.05128064379096031,
0.0295421089977026,
0.07167062908411026,
-0.03326409310102463,
0.03171776235103607,
-0.030549023300409317,
0.03988095000386238,
0.008572245948016644,
0.028409332036972046,
-0.006729235872626305,
0.05883248895406723,
0.01450134627521038,
0.1022016704082489,
-0.029218459501862526,
-0.001229422865435481,
0.005794245284050703,
-0.015445326454937458,
0.04462782293558121,
-0.012972995638847351,
0.00009847182809608057,
-0.03592522069811821,
-0.0036612977273762226,
0.008895897306501865,
-0.02972191572189331,
-0.1124865710735321,
-0.0788988322019577,
0.018627891317009926,
-0.01032984908670187,
0.004868244752287865,
-0.024417640641331673,
0.06458628177642822,
-0.003659049980342388,
-0.0007501277141273022,
-0.05264716595411301,
0.015229559503495693,
0.04351302981376648,
-0.04268592223525047,
0.008122731931507587,
0.0067876726388931274,
-0.03569146990776062,
0.004760361276566982,
-0.037471551448106766,
-0.07487117499113083,
0.03272467479109764,
0.04757663980126381,
0.03517003357410431,
0.011004121042788029,
0.05509252846240997,
0.0576457716524601,
0.04764856398105621,
-0.04045632854104042,
0.024939078837633133,
-0.056890588253736496,
0.00989831518381834,
-0.01593080349266529,
-0.011291810311377048,
0.026880981400609016,
-0.020336046814918518,
0.020030377432703972,
0.025262728333473206,
-0.03009950742125511,
-0.03793904557824135,
-0.09162908792495728,
-0.05012988671660423,
0.025172825902700424,
-0.012712277472019196,
0.020336046814918518,
0.0020104546565562487,
-0.026035893708467484,
0.00896781962364912,
-0.05210775136947632,
0.008590226992964745,
-0.04225438833236694,
0.01249651052057743,
0.006423566024750471,
-0.025208787992596626,
-0.004517623223364353,
0.010725421831011772,
0.03162785619497299,
0.01028489787131548,
-0.034235045313835144,
0.009583654813468456,
0.0031893071718513966,
-0.06548530608415604,
-0.013287656009197235,
0.01023095566779375,
0.001086140051484108,
-0.03144805133342743,
-0.04872740060091019,
0.009502741508185863,
0.0051289633847773075,
0.019778648391366005,
0.01194810215383768,
-0.0438007190823555,
0.07494310289621353,
-0.01116594672203064,
-0.010150043293833733,
-0.00362084130756557,
0.009988217614591122,
-0.037471551448106766,
0.004980623256415129,
-0.004782836884260178,
0.03383947163820267,
0.011426664888858795,
0.0009248766000382602,
0.043441105633974075,
-0.03303034231066704,
0.04293764755129814,
0.007722663227468729,
-0.051891982555389404,
0.007839537225663662,
-0.002209364902228117,
-0.02342870831489563,
0.04653376713395119,
0.04836778715252876,
-0.0008186787599697709,
-0.029937682673335075,
-0.013494432903826237,
-0.016632046550512314,
0.0005278988974168897,
0.019239231944084167,
-0.024777252227067947,
0.014060821384191513,
-0.01703660935163498,
-0.019670765846967697,
-0.03263477236032486,
0.06951296329498291,
0.006922527216374874,
-0.003618593793362379,
-0.09429021179676056,
0.09385868161916733,
0.017620978876948357,
0.025172825902700424,
-0.021217096596956253,
0.008855440653860569,
0.0030409672763198614,
0.0070753623731434345,
0.002153175650164485,
0.014869947917759418,
0.037147898226976395,
-0.06508973985910416,
0.009529712609946728,
-0.043297260999679565,
-0.038298655301332474,
0.004380521364510059,
-0.060055170208215714,
0.034846384078264236,
-0.039629220962524414,
0.04617415368556976,
-0.006553925108164549,
0.03822673484683037,
-0.0003067938087042421,
-0.018573949113488197,
0.0024903116282075644,
-0.009066712111234665,
0.09479366987943649,
0.056459054350852966,
0.008212634362280369,
0.03020739182829857,
-0.004625506699085236,
-0.02795981802046299,
0.0005006470601074398,
-0.05023776739835739,
-0.08788912743330002,
-0.033569760620594025,
-0.000900715182069689,
0.008172178640961647,
0.03630281239748001,
-0.0215227659791708,
0.05315062403678894,
0.022493718191981316,
0.017423192039132118,
-0.016659017652273178,
0.044304173439741135,
0.004083841573446989,
0.011076043359935284,
-0.032131314277648926,
0.009790431708097458,
-0.004630001727491617,
0.008158693090081215,
-0.023734379559755325,
0.04290168732404709,
0.03364168480038643,
0.008167683146893978,
0.05052545666694641,
0.010194994509220123,
0.010248936712741852,
-0.06142169609665871,
0.033749569207429886,
-0.03952133655548096,
0.03229314088821411,
-0.016011714935302734,
0.005951575469225645,
-0.015562200918793678,
-0.03053104132413864,
0.04326130077242851,
-0.013143811374902725,
0.031753722578287125,
-0.00944880023598671,
0.004272637888789177,
-0.013440490700304508,
0.04509532079100609,
0.008837459608912468,
0.04042036831378937,
-0.002380180638283491,
-0.021720552816987038,
0.07825152575969696,
0.0015036268159747124,
0.020839503034949303,
-0.005030069965869188,
-0.0010675975354388356,
0.0008546399185433984,
0.01047369372099638,
0.034612637013196945,
0.08645067363977432,
0.010410761460661888,
0.02418389357626438,
0.0641547441482544,
-0.08285456150770187,
0.0321492962539196,
0.015229559503495693,
-0.037327706813812256,
0.00782605167478323,
0.012613384053111076,
-0.04282976686954498,
0.03364168480038643,
0.03468455746769905,
0.09954054653644562,
-0.012847132049500942,
-0.027078768238425255,
0.022403815761208534,
-0.008680129423737526,
0.024489562958478928,
0.0255683995783329,
-0.04843971133232117,
0.07181447744369507,
-0.04247015342116356,
0.010590567253530025,
-0.019634803757071495,
-0.00509300222620368,
-0.029308361932635307,
0.0423622690141201,
-0.027636166661977768,
0.08745758980512619,
-0.0474327951669693,
-0.03301236405968666,
-0.0466776117682457,
0.042865727096796036,
-0.00934990681707859,
0.0313941091299057,
-0.003218525554984808,
-0.05487675964832306,
0.009988217614591122,
-0.05448118969798088,
-0.011174936778843403,
-0.034235045313835144,
-0.023986106738448143,
-0.013089869171380997,
0.05253928527235985,
-0.036806266754865646,
0.04340514540672302,
-0.006747216451913118,
-0.032850537449121475,
-0.001782326027750969,
0.023158999159932137,
0.07113121449947357,
0.025730224326252937,
0.015130667015910149,
0.03783116117119789,
-0.036572519689798355,
0.0020565299782902002,
0.049554504454135895,
0.016020705923438072,
0.024273796007037163,
-0.019401056692004204,
0.004719905089586973,
0.038766153156757355,
0.013943947851657867,
-0.011031092144548893,
-0.017378240823745728,
-0.06890162080526352,
0.009862354025244713,
-0.013898995704948902,
-0.028589138761162758,
0.0035039675422012806,
-0.053222548216581345,
-0.004479414317756891,
0.00046356208622455597,
0.013494432903826237,
-0.08206341415643692,
-0.029757875949144363,
0.004452443681657314,
0.025784166529774666,
-0.03044113889336586,
-0.025082923471927643,
0.049590468406677246,
-0.010986140929162502,
0.08386147022247314,
-0.011534548364579678,
-0.050453536212444305,
0.06379513442516327,
0.02348265051841736,
-0.06530550122261047,
-0.06390301883220673,
-0.037471551448106766,
-0.030998537316918373,
0.01976066827774048,
0.0386582687497139,
-0.032850537449121475,
-0.04318937659263611,
-0.051460448652505875,
-0.0189875029027462,
-0.062140919268131256,
0.011408684775233269,
0.017620978876948357,
-0.0019632556941360235,
-0.04761260375380516,
-0.004510880447924137,
0.033803507685661316,
0.0026588798500597477,
0.02389620430767536,
-0.014474375173449516,
-0.049266815185546875,
0.02905663289129734,
-0.03855038434267044,
0.017288336530327797,
-0.029452206566929817,
0.044735707342624664,
0.06584492325782776,
0.05329446867108345,
0.05095699056982994,
-0.008594722487032413,
0.019023464992642403,
0.02709674835205078,
0.015544219873845577,
-0.03373158723115921,
-0.017297327518463135,
0.05358215793967247,
0.0743677169084549,
0.05164025351405144,
0.03739962726831436,
0.002604937879368663,
-0.09090986102819443,
-0.021918339654803276,
0.028409332036972046,
-0.033713605254888535,
0.004904205910861492,
0.001995845464989543,
0.04394456371665001,
0.0496983528137207,
-0.028355389833450317,
-0.01023095566779375,
-0.03157391771674156,
-0.05099295452237129,
0.022871309891343117,
-0.005569487810134888,
-0.024885136634111404,
-0.014213656075298786,
-0.0993967056274414,
-0.001439571031369269,
0.04383667930960655,
0.026017913594841957,
0.0642266646027565,
-0.045347049832344055,
0.010338839143514633,
0.024543505162000656,
0.04157112538814545,
0.046353962272405624,
-0.03696809336543083,
0.012685306370258331,
0.0496983528137207,
-0.007219207007437944,
-0.042110543698072433,
-0.012011034414172173,
0.01837616227567196,
0.003587127663195133,
-0.011300801299512386,
0.001624995842576027,
-0.009799421764910221,
0.0817038044333458,
0.042110543698072433,
-0.0036657927557826042,
-0.0715627521276474,
0.026179738342761993,
0.06728336960077286,
-0.003854589071124792,
0.04793625324964523,
-0.011426664888858795,
0.008666644804179668,
-0.07925844192504883,
-0.026467429473996162,
0.0021835179068148136,
-0.030620945617556572,
-0.003688268596306443,
-0.01656012423336506,
0.002366695087403059,
0.0014373234007507563,
0.02743837982416153,
-0.0022891538683325052,
0.015184608288109303,
-0.03035123646259308,
0.02051585353910923,
0.00514244893565774,
0.02481321431696415,
-0.02414793334901333,
-0.012217811308801174,
0.031322188675403595,
-0.01474408432841301,
-0.03894595801830292,
0.03869422897696495,
0.059479791671037674,
-0.042721882462501526,
0.028427312150597572,
-0.02037200890481472,
-0.016434259712696075,
-0.03779520094394684,
-0.017719872295856476,
-0.004429968073964119,
0.03081873059272766,
-0.03711193799972534,
-0.07724461704492569,
-0.030459119006991386,
-0.04851163178682327,
0.020929407328367233,
0.05901229754090309,
0.009466780349612236,
0.08127226680517197,
0.0001851438864832744,
0.01702761836349964,
0.0014665419002994895,
0.002640899270772934,
-0.07897075265645981,
0.022008242085576057,
0.003445530543103814,
-0.002380180638283491,
0.004261400084942579,
-0.05753788724541664,
-0.054229460656642914,
0.010311868041753769,
0.005506555549800396,
0.016137579455971718,
0.02319496124982834,
0.012118917889893055,
0.026647234335541725,
0.00030595099087804556,
0.047396834939718246,
0.020929407328367233,
0.056459054350852966,
0.0031735741067677736,
-0.025550417602062225,
-0.01393495686352253,
0.05164025351405144,
-0.028175584971904755,
-0.023986106738448143,
0.04419628903269768,
-0.0073315855115652084,
0.005632420070469379,
0.020875465124845505,
0.06091823801398277,
-0.022817369550466537,
0.02582012675702572,
-0.02619772031903267,
0.045023396611213684,
0.03898191824555397,
-0.022925252094864845,
-0.022224009037017822,
-0.0721740871667862,
-0.031412091106176376,
0.006792168132960796,
0.01578695885837078,
-0.015013792552053928,
0.032472945749759674,
0.003850093809887767,
-0.0028971226420253515,
0.00459404056891799,
-0.022152086719870567,
-0.03044113889336586,
-0.03116036206483841,
0.024417640641331673,
0.033318035304546356,
0.01889760047197342,
-0.015858881175518036,
0.04653376713395119,
-0.023212941363453865,
-0.031609877943992615,
0.013800103217363358,
0.00005942023199168034,
0.022961214184761047,
-0.0320773720741272,
0.02591003105044365,
-0.03840653970837593,
0.025154845789074898,
-0.043584950268268585,
-0.0006186446989886463,
-0.005376196466386318,
-0.034001294523477554,
0.011058063246309757,
-0.0019048188114538789,
-0.035331860184669495,
-0.041391316801309586,
0.006369623821228743,
0.010563597083091736,
-0.021396901458501816,
-0.05415753647685051,
-0.01393495686352253,
0.03277861699461937,
-0.051316604018211365,
-0.06142169609665871,
0.02127103880047798,
0.049266815185546875,
0.03148401156067848,
-0.0004410863621160388,
-0.003704001661390066,
-0.027780011296272278,
0.002465588506311178,
0.040384404361248016,
0.0037332200445234776,
0.025945991277694702,
0.07188639789819717,
0.02882288582623005,
0.014438414014875889,
-0.08932757377624512,
-0.010239945724606514,
-0.06875777989625931,
-0.01956288143992424,
0.00061752088367939,
-0.09105370938777924,
-0.0445559024810791,
0.06048670411109924,
-0.06670799106359482,
-0.07566232234239578,
-0.08486838638782501,
0.028517216444015503,
0.047396834939718246,
0.011651422828435898,
-0.0177018903195858,
-0.016811851412057877,
-0.017423192039132118,
-0.045203205198049545,
-0.03355178236961365,
-0.004371530842036009,
0.01961682364344597,
0.03581733629107475,
0.027690108865499496,
0.030171429738402367,
-0.03567349165678024,
0.006499983370304108,
-0.008122731931507587,
-0.0034725014120340347,
-0.014663171023130417,
0.018241308629512787,
0.0032432489097118378,
0.034145139157772064,
-0.011273830197751522,
-0.005016584414988756,
0.018115444108843803,
-0.05419349670410156,
0.014330530539155006,
-0.03259880840778351,
-0.06465820223093033,
-0.01869981363415718,
-0.011534548364579678,
-0.025082923471927643,
-0.03587127849459648,
-0.0350261889398098,
0.04656972736120224,
-0.02547849528491497,
-0.011291810311377048,
-0.02900269255042076,
-0.04660569131374359,
0.02294323220849037,
0.04333322122693062,
0.032041411846876144,
0.016137579455971718,
0.017000647261738777,
0.03635675460100174,
0.03617694601416588,
-0.016290415078401566,
0.01252348069101572,
0.022799387574195862,
-0.0189875029027462,
-0.012577422894537449,
0.04264995828270912,
-0.03601512312889099,
-0.03926960751414299,
-0.0343429259955883,
-0.01708156056702137,
-0.027546264231204987,
0.03581733629107475,
0.0022689257748425007,
0.004683943931013346,
0.008783518336713314,
0.060666512697935104,
-0.013413520529866219,
0.002172280102968216,
0.027995778247714043,
-0.01665002666413784,
-0.038586344569921494,
-0.04297361150383949,
-0.03718385845422745,
0.07566232234239578,
-0.06886565685272217,
0.04060017317533493,
0.04128343611955643,
-0.015948783606290817,
-0.04376475512981415,
0.03391139209270477,
0.012712277472019196,
0.032994382083415985,
-0.024219855666160583,
-0.013710199855268002,
-0.009574663825333118,
-0.0904783308506012,
-0.012073966674506664,
0.023033136501908302,
0.03035123646259308,
-0.061385735869407654,
0.02547849528491497,
-0.028409332036972046,
-0.024058029055595398,
0.010860276408493519,
0.04178689047694206,
0.04146324098110199,
-0.032472945749759674,
0.013395539484918118,
0.0005065469304099679,
0.009421829134225845,
0.03250890597701073,
-0.009979227557778358,
-0.04861951619386673,
0.039916910231113434,
0.05944383144378662,
0.020354028791189194,
0.0015598161844536662,
-0.07659731060266495,
-0.0147890355437994,
0.06250052899122238,
-0.03707597777247429,
0.019634803757071495,
0.0030454625375568867,
-0.0423622690141201,
0.002744287485256791,
-0.00890039186924696,
0.000928809866309166,
-0.01941903680562973,
0.02724059484899044,
0.06588087975978851,
0.009997207671403885,
-0.02939826436340809,
-0.001341801485978067,
0.01702761836349964,
0.04056421294808388,
-0.01783674582839012,
-0.028175584971904755,
-0.07515886425971985,
0.07494310289621353,
-0.0034095693845301867,
0.022367853671312332,
0.04225438833236694,
-0.0008332879515364766,
-0.012559441849589348,
-0.037435587495565414,
0.04149920120835304,
-0.05311466380953789,
-0.0023307339288294315,
-0.027168672531843185,
0.031070459634065628,
0.0012496509589254856,
-0.015004802495241165,
0.04218246415257454,
-0.011417674832046032,
0.028031740337610245,
0.047073185443878174,
-0.023536592721939087,
0.03517003357410431,
0.025514457374811172,
0.0339653342962265,
-0.005304274149239063,
-0.029847780242562294,
-0.01266732532531023,
-0.033749569207429886,
0.033461879938840866
]
|
40,580 | pyglove.core.geno.base | set_userdata | Sets user data.
User data can be used for storing state associated with the DNASpec, and
is not persisted across processes or during serialization. Use `hints` to
carry persistent objects for the DNASpec.
Args:
key: Key of the user data.
value: Value of the user data.
| def set_userdata(self, key: str, value: Any) -> None:
"""Sets user data.
User data can be used for storing state associated with the DNASpec, and
is not persisted across processes or during serialization. Use `hints` to
carry persistent objects for the DNASpec.
Args:
key: Key of the user data.
value: Value of the user data.
"""
self._userdata[key] = value
| (self, key: str, value: Any) -> NoneType | [
-0.024658609181642532,
0.018533334136009216,
-0.021070947870612144,
0.027791250497102737,
-0.0036773530300706625,
0.003618287853896618,
-0.03846673294901848,
0.029768839478492737,
0.06125275790691376,
-0.03717167302966118,
-0.03059137612581253,
0.035054076462984085,
-0.010491722263395786,
0.038326725363731384,
-0.015689456835389137,
-0.009511678479611874,
0.018620837479829788,
0.086173877120018,
-0.009791690856218338,
-0.01287182979285717,
-0.015750708058476448,
0.016161978244781494,
0.03717167302966118,
0.0009603557409718633,
-0.028508782386779785,
-0.02877129428088665,
0.007166572380810976,
-0.010054202750325203,
0.0639478787779808,
0.006794680841267109,
-0.015488197095692158,
-0.043086938560009,
-0.025691157206892967,
0.021910985931754112,
0.05124230682849884,
-0.0365416444838047,
0.0020596240647137165,
0.06317784637212753,
-0.031746428459882736,
0.017492037266492844,
-0.05012225732207298,
0.002787000499665737,
0.013571861200034618,
-0.002616367768496275,
0.029611332342028618,
0.0758134126663208,
0.02997884899377823,
0.06643299013376236,
0.024343594908714294,
0.02327604778110981,
-0.01886584982275963,
-0.00804161187261343,
-0.028631288558244705,
-0.005967768840491772,
-0.018533334136009216,
0.007954107597470284,
-0.002248851116746664,
0.0215434692800045,
-0.038606736809015274,
0.02978634089231491,
-0.03305898979306221,
-0.016800755634903908,
-0.003898300463333726,
-0.08309374004602432,
-0.01024671085178852,
0.0021843169815838337,
-0.01089424081146717,
-0.009581681340932846,
0.03951677680015564,
-0.019215865060687065,
-0.007726597599685192,
-0.022558515891432762,
0.030731383711099625,
-0.006492792163044214,
0.06219780072569847,
0.020913440734148026,
-0.0966743528842926,
0.019828392192721367,
-0.07196323573589325,
0.019250866025686264,
0.03601662069559097,
-0.014761914499104023,
-0.032638970762491226,
0.0366816520690918,
0.003948615398257971,
0.05537249147891998,
0.018533334136009216,
0.00530273886397481,
0.06118275225162506,
0.057612594217061996,
0.028351275250315666,
-0.04004180058836937,
-0.0094941770657897,
0.049807243049144745,
0.02821126952767372,
-0.022296003997325897,
0.02723122574388981,
0.023381052538752556,
-0.04501202702522278,
0.021473467350006104,
0.003386402502655983,
-0.04893220216035843,
0.10388467460870743,
0.027493737637996674,
-0.023941077291965485,
-0.04126685857772827,
0.014333144761621952,
0.026496192440390587,
0.0047952160239219666,
0.008746018633246422,
-0.07455335557460785,
-0.04634208604693413,
-0.03171142563223839,
0.04441699758172035,
-0.0025726158637553453,
0.025428645312786102,
0.031991440802812576,
-0.04270192235708237,
0.018638338893651962,
0.007398458197712898,
-0.03899175673723221,
0.017369531095027924,
-0.020633429288864136,
0.03811671584844589,
-0.019373372197151184,
-0.004952722694724798,
0.013886875472962856,
0.05393742769956589,
0.02602367103099823,
-0.027126220986247063,
-0.0041367486119270325,
-0.026653699576854706,
0.033198993653059006,
-0.0037276677321642637,
0.05152231827378273,
0.011734277941286564,
0.019670885056257248,
0.023451056331396103,
0.023993579670786858,
0.04725212603807449,
-0.007739723194390535,
0.0027301227673888206,
0.005762134213000536,
-0.011804281733930111,
0.07637343555688858,
-0.008164117112755775,
0.005665880162268877,
0.006943437736481428,
-0.041721876710653305,
-0.029768839478492737,
-0.02815876714885235,
0.019950898364186287,
-0.03006635420024395,
0.040426820516586304,
-0.020510923117399216,
0.00518460851162672,
0.00004279489439795725,
-0.03410903364419937,
0.00861476268619299,
0.04882719740271568,
0.004637708887457848,
-0.03528158739209175,
0.020318415015935898,
0.019828392192721367,
-0.057157572358846664,
0.01707201823592186,
0.005893390160053968,
-0.01511192973703146,
0.048757195472717285,
0.032463960349559784,
-0.003460780717432499,
-0.07147321850061417,
-0.01793830655515194,
0.058417629450559616,
0.03633163496851921,
-0.049317218363285065,
0.002668870147317648,
-0.07266326993703842,
0.0209309421479702,
0.009634183719754219,
-0.00613402621820569,
0.02667120099067688,
-0.018130816519260406,
0.04077683389186859,
0.006974063813686371,
0.012854328379034996,
0.03955177962779999,
0.039306771010160446,
0.04844218119978905,
0.0639478787779808,
0.015146931633353233,
-0.029733838513493538,
-0.05729757994413376,
0.02182348258793354,
0.04203689098358154,
-0.01319559384137392,
0.051382314413785934,
-0.07637343555688858,
-0.06447289884090424,
-0.00354172196239233,
-0.008006609976291656,
-0.02161347307264805,
0.017772050574421883,
-0.034494053572416306,
0.025813661515712738,
-0.025691157206892967,
0.032428961247205734,
0.023223545402288437,
-0.037486687302589417,
-0.04784715175628662,
0.02423859015107155,
-0.05404243245720863,
0.005814636591821909,
0.037486687302589417,
0.04105684906244278,
-0.08288373053073883,
-0.02513113059103489,
-0.02061592787504196,
-0.0010445782681927085,
0.02978634089231491,
0.08162367343902588,
0.020703431218862534,
0.037556689232587814,
-0.01484941877424717,
0.017894554883241653,
0.017973309382796288,
-0.013510608114302158,
-0.05362241342663765,
-0.000808317621704191,
-0.013991880230605602,
0.024991124868392944,
0.025831162929534912,
-0.03818671777844429,
0.017273277044296265,
0.003368901554495096,
-0.01509442925453186,
0.010815487243235111,
-0.035176582634449005,
-0.008334750309586525,
0.04189688712358475,
-0.010561725124716759,
-0.017089519649744034,
0.05694756284356117,
-0.015593201853334904,
-0.06517293304204941,
0.03349650651216507,
-0.012373057194054127,
0.053482405841350555,
0.009056657552719116,
-0.01842832937836647,
0.05985269322991371,
-0.015855712816119194,
-0.01092924177646637,
0.049282219260931015,
-0.016161978244781494,
0.028806297108530998,
0.022418508306145668,
0.012163047678768635,
0.01725577749311924,
-0.016161978244781494,
-0.023363551124930382,
-0.06426288932561874,
-0.027493737637996674,
0.0587676465511322,
0.013755619525909424,
-0.004149874206632376,
0.02343355491757393,
0.040181808173656464,
-0.03269147127866745,
-0.0563175342977047,
0.047497138381004333,
0.07420334219932556,
-0.017728297039866447,
-0.08176367729902267,
-0.04203689098358154,
-0.0366116464138031,
0.015426944009959698,
0.004138936288654804,
0.0032070192974060774,
0.004169562831521034,
0.017518289387226105,
-0.029191313311457634,
0.048512183129787445,
0.023013535887002945,
0.010342965833842754,
-0.050892289727926254,
-0.0019557129126042128,
0.06730803102254868,
-0.011480516754090786,
-0.035054076462984085,
-0.023748569190502167,
-0.008325999602675438,
-0.06895310431718826,
0.04858218505978584,
-0.03407403454184532,
-0.015768209472298622,
-0.13160592317581177,
-0.007857853546738625,
0.04606207460165024,
-0.004860843997448683,
0.014490651898086071,
0.0056921313516795635,
-0.04578205943107605,
0.017605792731046677,
0.01870834268629551,
-0.034931574016809464,
0.03059137612581253,
-0.01432439498603344,
-0.01478816568851471,
0.00864538922905922,
0.0418618842959404,
-0.0347040630877018,
-0.053272396326065063,
0.09604432433843613,
0.04235190525650978,
-0.04546704515814781,
0.004333632532507181,
-0.03612162545323372,
0.013615612871944904,
0.05586251616477966,
-0.017894554883241653,
-0.08169367909431458,
-0.033391501754522324,
-0.03682165592908859,
0.03526408597826958,
0.029208814725279808,
0.03480906784534454,
0.02392357587814331,
-0.0008542572031728923,
0.03979679197072983,
-0.0693381205201149,
-0.023853573948144913,
0.014928172342479229,
0.0707031786441803,
-0.045852065086364746,
-0.00038009523996151984,
-0.029226316139101982,
-0.02367856539785862,
0.026723703369498253,
-0.0013464668300002813,
-0.04830217361450195,
0.019373372197151184,
-0.04161687195301056,
-0.04347195848822594,
0.07924356311559677,
-0.05701756477355957,
-0.007039691787213087,
-0.01846333034336567,
0.05523248761892319,
0.010500472970306873,
-0.019390873610973358,
0.049282219260931015,
0.03466906026005745,
-0.025306139141321182,
0.06331785023212433,
-0.06303783506155014,
-0.010089203715324402,
-0.014490651898086071,
-0.02885879948735237,
-0.08484382182359695,
0.0254636462777853,
-0.039376772940158844,
0.02833377569913864,
-0.017973309382796288,
-0.051942337304353714,
0.025551149621605873,
-0.03038136661052704,
0.024588607251644135,
0.06769304722547531,
0.029681336134672165,
0.019950898364186287,
-0.06429789215326309,
0.004550204612314701,
0.05278237536549568,
0.055302489548921585,
0.01085048820823431,
-0.007065942976623774,
0.00856663566082716,
-0.08827397227287292,
-0.015348190441727638,
0.010054202750325203,
0.007459710817784071,
0.021630974486470222,
0.04140686243772507,
0.017990808933973312,
0.021910985931754112,
-0.004992099478840828,
0.040391817688941956,
0.0014656910207122564,
0.00154553831089288,
0.01632823422551155,
0.03006635420024395,
0.03391652554273605,
0.016196979209780693,
0.0022926032543182373,
0.01477066520601511,
-0.008763519115746021,
-0.02331104874610901,
0.005346490535885096,
0.003933302126824856,
0.006335285026580095,
-0.08281372487545013,
0.024028580635786057,
0.054777465760707855,
0.04028681293129921,
0.01725577749311924,
-0.015225685201585293,
-0.013370601460337639,
-0.03225395083427429,
0.010614227503538132,
-0.01274932362139225,
-0.021508468315005302,
0.013650614768266678,
-0.012766825035214424,
0.03983179107308388,
0.04074183478951454,
-0.04392697662115097,
-0.053447406738996506,
0.06303783506155014,
0.022366005927324295,
-0.008404753170907497,
-0.02401108108460903,
-0.08022361248731613,
0.05404243245720863,
-0.020948443561792374,
0.025148632004857063,
0.03438904881477356,
-0.08421379327774048,
0.035579100251197815,
0.004663960076868534,
0.01313434075564146,
0.020825937390327454,
0.012241801247000694,
0.02206849306821823,
0.006274032406508923,
-0.018498333171010017,
-0.0047339629381895065,
-0.04371696710586548,
-0.013808121904730797,
-0.0027476237155497074,
-0.07980359345674515,
-0.01719452440738678,
0.03102889657020569,
0.005530248861759901,
-0.008619138039648533,
-0.007000315003097057,
-0.044837016612291336,
0.07623343169689178,
0.03916676342487335,
-0.005101479589939117,
0.00470771174877882,
-0.010675480589270592,
0.010132956318557262,
-0.015295688062906265,
0.007442209869623184,
0.004563330207020044,
-0.09611432254314423,
-0.03710167109966278,
0.06202279031276703,
-0.017833301797509193,
-0.020510923117399216,
-0.005827762186527252,
-0.05040226876735687,
-0.004206751938909292,
0.011638023890554905,
0.04158187285065651,
0.03902675583958626,
-0.009809191338717937,
-0.002336355159059167,
0.00867601577192545,
-0.04319194331765175,
-0.028018761426210403,
0.027301229536533356,
0.025708656758069992,
-0.0022729148622602224,
-0.009949197992682457,
0.0000436152440670412,
0.012994335032999516,
-0.08456380665302277,
-0.053237397223711014,
0.02234850637614727,
-0.00884227268397808,
0.027056217193603516,
0.03528158739209175,
0.029523828998208046,
-0.031588923186063766,
0.04448700323700905,
-0.013808121904730797,
0.0012392745120450854,
-0.0008630076190456748,
0.011471766047179699,
-0.006654674652963877,
-0.052747372537851334,
-0.013589361682534218,
0.016695750877261162,
-0.012119295075535774,
0.05600252002477646,
0.00901290588080883,
0.010745483450591564,
-0.018918352201581,
-0.0183408260345459,
0.003073575906455517,
0.020755933597683907,
-0.038571737706661224,
0.051347311586141586,
0.02618117816746235,
-0.03095889277756214,
0.019425874575972557,
-0.039096761494874954,
-0.01329184789210558,
0.0025704281870275736,
0.015033177100121975,
0.037801701575517654,
-0.053447406738996506,
0.0248861201107502,
0.006138401105999947,
-0.03221895173192024,
-0.0050489772111177444,
-0.08057362586259842,
-0.024501102045178413,
-0.017115769907832146,
0.02234850637614727,
0.05834762752056122,
0.010754234157502651,
0.0326564684510231,
-0.025936167687177658,
-0.06835807859897614,
0.007914731279015541,
0.01313434075564146,
0.031781431287527084,
-0.02877129428088665,
-0.005652754567563534,
0.006698426324874163,
0.05491747334599495,
0.049807243049144745,
-0.03692666068673134,
0.01802581176161766,
-0.018778344616293907,
0.035019077360630035,
-0.017710797488689423,
0.005175857804715633,
0.014193139038980007,
-0.007157822139561176,
-0.04910720884799957,
0.05379742011427879,
-0.04102184623479843,
-0.03578910976648331,
0.020265912637114525,
0.003452030476182699,
-0.030171357095241547,
-0.03979679197072983,
-0.07150822132825851,
0.006077148485928774,
0.02101844549179077,
-0.050052251666784286,
-0.02815876714885235,
0.00284825311973691,
-0.0029270066879689693,
-0.0064534153789281845,
0.00953792966902256,
-0.019705887883901596,
-0.038571737706661224,
0.0009444956085644662,
0.07959358394145966,
0.0319739393889904,
-0.02161347307264805,
-0.08001360297203064,
-0.02129845879971981,
-0.019740888848900795,
-0.0404968224465847,
-0.018043311312794685,
0.029926346614956856,
0.011323009617626667,
0.02929631806910038,
-0.06629298627376556,
0.009266667068004608,
0.05152231827378273,
0.06499792635440826,
0.00008114623051369563,
-0.024991124868392944,
-0.06223279982805252,
0.07028316706418991,
0.04343695566058159,
0.023468555882573128,
0.00994044728577137,
0.010762984864413738,
0.01123550534248352,
0.06485792249441147,
-0.02129845879971981,
-0.007367831654846668,
-0.04389197379350662,
-0.05726257711648941,
-0.06433289498090744,
-0.016932012513279915,
0.009739188477396965,
-0.011690526269376278,
-0.013239345513284206,
-0.07350330799818039,
0.09527429193258286,
-0.015453195199370384,
-0.008159742690622807,
-0.010045452043414116,
-0.031133901327848434,
0.001193334930576384,
-0.009966698475182056,
-0.03074888326227665,
-0.03818671777844429,
0.04942222312092781,
-0.009572930634021759,
-0.03318149223923683,
0.000006344890152831795,
0.032463960349559784,
-0.025043627247214317,
0.08694391697645187,
0.011638023890554905,
0.005477746482938528,
0.03979679197072983,
-0.05652754381299019,
-0.05446245148777962,
-0.033759020268917084,
-0.03559660166501999,
0.0038873625453561544,
0.01654699444770813,
-0.019828392192721367,
0.002913881093263626,
-0.09268417209386826,
-0.0027082469314336777,
0.05201233923435211,
-0.030258862301707268,
-0.07910355925559998,
-0.03522908687591553,
-0.001017780159600079,
-0.03773169964551926,
0.026618698611855507,
0.06034271419048309,
-0.014026881195604801,
0.018760845065116882,
-0.017509538680315018,
0.04154687002301216,
-0.020178407430648804,
-0.004882719833403826,
0.019828392192721367,
0.05418244004249573,
0.009835442528128624,
-0.02126345783472061,
0.060517724603414536,
-0.011935537680983543,
0.007026566192507744,
-0.0006934687262400985,
0.02392357587814331,
-0.03382902219891548,
-0.02142096497118473,
0.021193454042077065,
0.03262146934866905,
0.027301229536533356,
0.02598867006599903,
0.03822172060608864,
0.026653699576854706,
-0.0274412352591753,
-0.019793391227722168,
-0.0837937742471695,
0.004202376585453749,
-0.007940982468426228,
-0.024798616766929626,
0.06321284174919128,
0.01682700775563717,
-0.05180233344435692,
0.005412118509411812,
-0.004397072829306126,
0.04676210507750511,
0.012766825035214424,
0.0035395342856645584,
-0.01679200492799282,
-0.012679320760071278,
0.05806761234998703,
-0.08554384857416153,
-0.00259667937643826,
-0.037521690130233765,
-0.019530879333615303,
0.011769279837608337,
0.00660654716193676,
0.025971168652176857,
0.028176268562674522,
-0.05698256567120552,
-0.0326564684510231,
0.08813396841287613,
0.06419289112091064,
0.011139251291751862,
-0.01319559384137392,
-0.027896255254745483,
-0.010412968695163727,
-0.04753214120864868,
-0.0073590814135968685,
-0.008207869715988636,
-0.059467677026987076,
-0.06706301867961884,
-0.0017467973520979285,
0.025708656758069992,
-0.0023472930770367384,
0.033356502652168274,
-0.040916841477155685,
0.06373786926269531,
-0.007477211765944958,
-0.012705571949481964,
0.009966698475182056,
-0.023451056331396103,
-0.031343910843133926,
-0.013554359786212444,
0.052467361092567444,
-0.03717167302966118,
0.06597796827554703,
0.012959333136677742,
0.015164432115852833,
-0.03815171867609024,
-0.02469361200928688,
-0.010509222745895386,
-0.05201233923435211,
0.015400692820549011,
-0.00575775932520628,
0.0347040630877018,
0.023573560640215874,
0.017124520614743233,
0.032428961247205734,
-0.0639478787779808,
-0.010150456801056862,
-0.029593832790851593,
-0.035946618765592575,
-0.05491747334599495,
0.02553365007042885,
0.03972678631544113,
-0.00038665803731419146,
0.02234850637614727,
-0.03381152078509331,
0.04994724690914154,
-0.03664664924144745,
-0.05596752092242241,
-0.0073065790347754955,
-0.04497702419757843,
0.025026125833392143,
0.08505383133888245,
-0.05733257904648781,
0.027913756668567657,
0.008107240311801434,
-0.01214554626494646,
-0.03811671584844589,
-0.002364794025197625,
-0.012705571949481964,
-0.009704186581075191,
0.04816216602921486,
0.07105319947004318,
-0.020790936425328255,
0.04476701468229294,
-0.05173232778906822,
0.010867989622056484,
0.07280327379703522,
-0.007000315003097057,
0.004143311642110348,
0.01509442925453186,
0.034494053572416306,
-0.016932012513279915,
-0.010727982968091965,
0.019775889813899994,
-0.01267057005316019,
-0.03629663214087486,
0.04046181961894035,
-0.005167107563465834,
-0.007814101874828339,
0.0392717681825161
]
|
40,610 | pyglove.core.geno.base | validate | Validate whether a DNA value conforms to this spec. | @abc.abstractmethod
def validate(self, dna: 'DNA') -> bool:
"""Validate whether a DNA value conforms to this spec."""
| (self, dna: pyglove.core.geno.base.DNA) -> bool | [
0.039579760283231735,
0.0005456265062093735,
0.005874835420399904,
0.010095945559442043,
-0.03378715738654137,
-0.01702149026095867,
-0.02249431610107422,
-0.035833753645420074,
0.0038099633529782295,
-0.047437239438295364,
0.035596203058958054,
0.0627501830458641,
0.049228012561798096,
0.06691647320985794,
-0.02751944586634636,
-0.059241730719804764,
0.009520339779555798,
0.08376437425613403,
-0.005536781158298254,
0.008748296648263931,
-0.05427141860127449,
0.04798543453216553,
-0.0014824137324467301,
-0.004947470035403967,
0.019570602104067802,
0.11650995165109634,
0.027482900768518448,
-0.0024623144418001175,
-0.008058483712375164,
0.025911403819918633,
-0.01158521231263876,
-0.025783492252230644,
0.037460070103406906,
0.08807684481143951,
0.011640031822025776,
-0.041297443211078644,
-0.01587027870118618,
0.04009141027927399,
-0.15130214393138885,
0.0303517933934927,
-0.06121523678302765,
0.0020317519083619118,
0.051457345485687256,
-0.023389702662825584,
-0.018209248781204224,
-0.05657384172081947,
-0.02225676365196705,
0.020045705139636993,
-0.099844790995121,
0.008222942240536213,
0.011576075106859207,
-0.05218827351927757,
0.0036957557313144207,
-0.008049346506595612,
-0.004102334380149841,
0.06899961829185486,
0.01308361440896988,
0.053979046642780304,
0.03753316402435303,
0.013741450384259224,
-0.040018320083618164,
0.007843772880733013,
0.03179537504911423,
-0.10605768114328384,
0.007839204743504524,
0.011265430599451065,
-0.03126545250415802,
-0.05112842842936516,
0.0322156585752964,
0.05602564662694931,
0.006304255686700344,
0.007642767857760191,
0.03146645799279213,
0.046998683363199234,
0.05109187960624695,
0.0010210153413936496,
-0.0586935356259346,
0.02907266840338707,
0.05218827351927757,
-0.05423487350344658,
-0.0005173601093702018,
-0.0033622696064412594,
0.0022110578138381243,
-0.025344936177134514,
-0.05518507957458496,
-0.012489735148847103,
-0.031155815348029137,
0.0027364124543964863,
0.061069052666425705,
0.009365017525851727,
-0.013714040629565716,
-0.017359545454382896,
-0.009639116004109383,
0.02883511781692505,
-0.005354049149900675,
0.04853363335132599,
0.06497951596975327,
-0.02651442028582096,
-0.028762023895978928,
0.001998631749302149,
-0.013485625386238098,
0.05829152464866638,
0.02165374718606472,
-0.003462772350758314,
-0.03312931954860687,
0.001265419414266944,
-0.029931509867310524,
0.0024942925665527582,
-0.026185503229498863,
0.024449547752738,
-0.08069447427988052,
-0.04517136141657829,
0.0009599142940714955,
-0.008999553509056568,
-0.040895432233810425,
0.0031475594732910395,
0.0033097341656684875,
-0.03177710250020027,
-0.05854734778404236,
-0.013193254359066486,
0.05218827351927757,
0.013065341860055923,
-0.021799933165311813,
-0.012681604363024235,
0.076893649995327,
0.035596203058958054,
-0.013047068379819393,
0.03596166893839836,
-0.02010052464902401,
0.0059113819152116776,
0.015258125960826874,
0.05657384172081947,
0.015651000663638115,
0.027373261749744415,
0.02655096724629402,
0.04908182844519615,
0.03517591953277588,
-0.007921434007585049,
-0.03512109816074371,
-0.008560996502637863,
0.03413434699177742,
0.019479235634207726,
0.10291469097137451,
-0.04327094927430153,
-0.0015749218873679638,
0.01102787908166647,
-0.07269080728292465,
-0.04100507125258446,
-0.027848364785313606,
0.046669766306877136,
0.005989043042063713,
0.0009656246984377503,
0.0010832584230229259,
-0.017642779275774956,
-0.035596203058958054,
-0.030772076919674873,
0.017213359475135803,
-0.052773017436265945,
0.04758342728018761,
-0.04389223828911781,
-0.028579292818903923,
-0.029182307422161102,
-0.033238958567380905,
0.003387395292520523,
0.0018809980247169733,
0.048277806490659714,
-0.06212889775633812,
-0.03720424696803093,
0.008323444984853268,
-0.002276156097650528,
-0.026423053815960884,
-0.015020574443042278,
-0.02017361856997013,
0.01671084575355053,
-0.0014390149153769016,
0.018044790253043175,
0.0029122920241206884,
0.051895901560783386,
0.01602560095489025,
0.014956618659198284,
0.04535409435629845,
0.0052855247631669044,
-0.08551859855651855,
0.019552329555153847,
0.062421269714832306,
0.02883511781692505,
-0.026697153225541115,
0.02843310683965683,
0.030735529959201813,
0.0053175026550889015,
-0.0258017648011446,
-0.026094136759638786,
-0.022658774629235268,
-0.015724092721939087,
0.013896772637963295,
-0.06534498184919357,
0.020484263077378273,
0.04370950534939766,
-0.012535418383777142,
0.045281000435352325,
0.022421222180128098,
0.022311583161354065,
-0.023864805698394775,
0.02492465078830719,
-0.00698950095102191,
0.009136602282524109,
-0.005536781158298254,
-0.04345368221402168,
-0.039689403027296066,
-0.08573787659406662,
-0.01531294547021389,
-0.03943357616662979,
-0.005555054172873497,
0.01866607926785946,
0.04995894059538841,
-0.10035644471645355,
0.07426230609416962,
-0.009584295563399792,
0.004572869744151831,
0.05368667468428612,
0.10846974700689316,
0.02225676365196705,
0.05244409665465355,
-0.014947481453418732,
0.07002291828393936,
-0.003960717003792524,
0.0044837878085672855,
-0.030607618391513824,
-0.03429880738258362,
-0.02887166477739811,
-0.014006411656737328,
-0.044805899262428284,
0.060155391693115234,
0.004374148324131966,
0.020886274054646492,
0.023755166679620743,
0.021123824641108513,
-0.00807218812406063,
-0.06428513675928116,
0.0468890443444252,
-0.03680223599076271,
0.04367296025156975,
-0.013074478134512901,
0.057085491716861725,
-0.018565576523542404,
-0.03550483658909798,
-0.027373261749744415,
0.0741892158985138,
-0.010662415064871311,
-0.007035183720290661,
-0.05240755155682564,
-0.07042492926120758,
-0.0207400880753994,
0.0060575674287974834,
-0.013832815922796726,
0.055733274668455124,
-0.06801287084817886,
-0.021873027086257935,
0.09238932281732559,
0.003604389727115631,
0.03349478542804718,
0.0088122533634305,
-0.003346280660480261,
0.06545461714267731,
-0.014728203415870667,
0.011201474815607071,
0.04023759812116623,
0.025454575195908546,
-0.0018044790485873818,
0.0036820508539676666,
0.06264054775238037,
0.04502517729997635,
-0.026934703812003136,
-0.009218831546604633,
-0.01377799641340971,
0.0015395175432786345,
0.05065332353115082,
-0.025253569707274437,
0.010443137027323246,
-0.03683878108859062,
-0.009177717380225658,
-0.0004796716384589672,
0.002574237762019038,
0.027976276353001595,
-0.03596166893839836,
-0.018675215542316437,
0.01878485456109047,
-0.020228438079357147,
-0.012169954366981983,
0.007843772880733013,
0.005427141673862934,
-0.05938791483640671,
0.024577461183071136,
0.020392896607518196,
0.0795980840921402,
-0.0018375992076471448,
0.04027414321899414,
-0.027738725766539574,
-0.0278300903737545,
-0.0920969545841217,
0.02624032273888588,
-0.009712208062410355,
-0.020082252100110054,
0.0025011450052261353,
-0.07411611825227737,
-0.034956641495227814,
-0.026148956269025803,
0.027775270864367485,
-0.045756105333566666,
0.01830975152552128,
-0.030041148886084557,
0.06724539399147034,
-0.046998683363199234,
0.020045705139636993,
0.05525817349553108,
-0.009821848012506962,
0.014801296405494213,
-0.0264778733253479,
0.026733698323369026,
0.06300601363182068,
-0.02927367389202118,
0.03194156289100647,
0.0025879426393657923,
-0.0505802296102047,
-0.051786262542009354,
-0.025070836767554283,
-0.0036089580971747637,
-0.0008154417737387121,
-0.0014572880463674664,
-0.005820015911012888,
-0.04455007240176201,
0.002989953150972724,
0.058364614844322205,
-0.02313387766480446,
-0.03311104699969292,
-0.005436278413981199,
0.013485625386238098,
-0.010927376337349415,
0.04414806142449379,
-0.0031155813485383987,
0.02870720438659191,
0.0021116973366588354,
0.012910019606351852,
-0.006747380830347538,
0.0355779305100441,
-0.004769306629896164,
-0.09348571300506592,
0.005851993802934885,
0.07294663786888123,
0.007391511462628841,
0.00942897330969572,
0.01018731202930212,
-0.005070814397186041,
-0.02081318013370037,
0.018337160348892212,
-0.004259940702468157,
0.02360898070037365,
0.03612612560391426,
-0.032727308571338654,
-0.04301512613892555,
0.045683011412620544,
-0.08581097424030304,
-0.016062147915363312,
-0.007871182635426521,
-0.031320273876190186,
0.00016617195797152817,
-0.01086342055350542,
-0.006208321545273066,
0.0516035296022892,
-0.01150298211723566,
-0.0006338517996482551,
-0.019406143575906754,
-0.0559891015291214,
-0.06801287084817886,
-0.00809502974152565,
0.005271819420158863,
0.03716769814491272,
-0.008940165862441063,
-0.061471059918403625,
0.021397922188043594,
0.009529476054012775,
-0.01359526440501213,
-0.015239853411912918,
0.009232536889612675,
-0.022951144725084305,
-0.06629518419504166,
-0.00022555988107342273,
0.08054828643798828,
-0.09619015455245972,
0.028049370273947716,
0.024449547752738,
-0.027501173317432404,
-0.05818188562989235,
-0.04199182614684105,
-0.05555054172873497,
-0.034993186593055725,
-0.004732760135084391,
-0.00037345863529480994,
-0.05079951137304306,
0.017816374078392982,
0.01866607926785946,
-0.021708566695451736,
0.03316586837172508,
0.0005836004856973886,
0.015093667432665825,
0.036710869520902634,
0.06958436220884323,
-0.019004132598638535,
-0.04780270531773567,
0.011493845842778683,
0.006455009803175926,
0.022439496591687202,
-0.0455368272960186,
0.009712208062410355,
-0.001239151693880558,
-0.01152125559747219,
0.026605786755681038,
-0.01670170947909355,
-0.013129297643899918,
-0.024339908733963966,
0.03194156289100647,
-0.017999107018113136,
0.014381011947989464,
0.09567850083112717,
0.017167676240205765,
0.042247649282217026,
0.03504800796508789,
0.0543079636991024,
-0.0186295323073864,
-0.010342634283006191,
0.00015103946498129517,
0.023426249623298645,
-0.0806213766336441,
-0.04846053943037987,
-0.0048789456486701965,
-0.04867981746792793,
-0.06300601363182068,
-0.039177753031253815,
0.013558718375861645,
0.013741450384259224,
0.0039881267584860325,
0.02640478126704693,
0.04813162237405777,
0.05299229547381401,
0.04864327237010002,
-0.031174087896943092,
0.01397900190204382,
0.011219748295843601,
0.02137964963912964,
-0.05657384172081947,
0.011749670840799809,
0.043088216334581375,
0.029730504378676414,
0.008364559151232243,
-0.04301512613892555,
-0.015057120472192764,
-0.024833286181092262,
-0.0576702356338501,
-0.009305629879236221,
-0.014764749445021152,
0.04166290909051895,
0.038739193230867386,
-0.06483332812786102,
-0.05215172842144966,
-0.017999107018113136,
0.10130664706230164,
-0.023755166679620743,
-0.0024897241964936256,
-0.02711743675172329,
0.019351324066519737,
0.017003217712044716,
-0.030680710449814796,
0.048387445509433746,
-0.025783492252230644,
-0.0054591200314462185,
0.04166290909051895,
0.005513939540833235,
0.007478309329599142,
-0.024467822164297104,
0.0033554171677678823,
0.011375070549547672,
0.014582017436623573,
-0.003618094604462385,
0.0590224526822567,
0.024906378239393234,
-0.014645974151790142,
-0.014326192438602448,
0.014079504646360874,
-0.042576566338539124,
-0.02293287217617035,
-0.05525817349553108,
-0.009177717380225658,
0.029492951929569244,
0.008104166015982628,
0.023718619719147682,
-0.02695297822356224,
0.047510333359241486,
-0.014006411656737328,
-0.0010392885887995362,
-0.0214161965996027,
0.013905908912420273,
0.015979917719960213,
-0.020082252100110054,
-0.005098224151879549,
0.04564646631479263,
-0.03680223599076271,
-0.04374605417251587,
-0.015742365270853043,
-0.010653278790414333,
0.01140248030424118,
-0.03404298052191734,
0.039689403027296066,
0.062275081872940063,
0.0063682119362056255,
0.05149389058351517,
-0.0012117419391870499,
0.0029259969014674425,
-0.034956641495227814,
-0.02711743675172329,
-0.02408408373594284,
-0.0241206306964159,
-0.04341713339090347,
-0.0016377359861508012,
-0.023718619719147682,
0.0072635989636182785,
0.020191891118884087,
0.007158528082072735,
-0.005121065769344568,
-0.0015612168936058879,
-0.04279584437608719,
0.024577461183071136,
-0.004161722492426634,
0.04820471629500389,
0.04169945418834686,
-0.03174055740237236,
0.028999576345086098,
-0.0003917318244930357,
0.017058037221431732,
-0.026605786755681038,
0.056683480739593506,
0.044330794364213943,
-0.007729565724730492,
0.023517614230513573,
-0.011301977559924126,
0.023462794721126556,
-0.0005807452835142612,
-0.020411169156432152,
-0.04725450649857521,
-0.0029922372195869684,
0.027702178806066513,
-0.030918262898921967,
-0.002498860703781247,
-0.013860225677490234,
0.005025131162256002,
0.03797172009944916,
0.011073562316596508,
0.040493421256542206,
0.036034759134054184,
0.01602560095489025,
0.02974877692759037,
-0.00894930213689804,
-0.02320696972310543,
0.034828729927539825,
-0.03881228715181351,
-0.014143460430204868,
0.03164919093251228,
0.04232074320316315,
-0.010333497077226639,
0.01413432415574789,
-0.024230269715189934,
-0.015934234485030174,
-0.00877113826572895,
0.010013716295361519,
0.0034719088580459356,
-0.0482412613928318,
0.04323440417647362,
-0.03729560971260071,
-0.02097763866186142,
-0.06523533910512924,
-0.0701691061258316,
-0.004997721407562494,
-0.01070809829980135,
0.01190499309450388,
-0.04184563830494881,
0.037460070103406906,
0.014709929935634136,
-0.024778466671705246,
0.02600277028977871,
-0.040968526154756546,
-0.07057111710309982,
-0.02408408373594284,
0.00189927127212286,
0.0060712723061442375,
-0.06132487580180168,
-0.029328493401408195,
0.04367296025156975,
0.016116967424750328,
-0.048899095505476,
0.006304255686700344,
-0.03294659033417702,
-0.030973082408308983,
0.054454151540994644,
0.019570602104067802,
0.007601653225719929,
0.054417602717876434,
0.03515764698386192,
-0.005737786181271076,
0.009876667521893978,
-0.04158981516957283,
-0.04166290909051895,
0.024705372750759125,
-0.01757882349193096,
0.006706266198307276,
-0.07930570840835571,
0.00645044120028615,
-0.03228875249624252,
-0.03983558714389801,
0.005276388023048639,
0.006765654310584068,
0.03545001894235611,
0.016847895458340645,
0.003072182647883892,
-0.015778912231326103,
0.01922341249883175,
-0.009547749534249306,
0.004933765158057213,
-0.021562382578849792,
-0.0008182969759218395,
-0.014444968663156033,
-0.08040209859609604,
0.033841975033283234,
0.02803109586238861,
-0.014180007390677929,
-0.053175024688243866,
-0.008177259005606174,
-0.03815445303916931,
0.008168122731149197,
0.017999107018113136,
0.0234445221722126,
0.05865698680281639,
-0.0586935356259346,
0.012836926616728306,
-0.009538613259792328,
0.051895901560783386,
-0.012343550100922585,
0.003508455352857709,
-0.04403842240571976,
-0.024595733731985092,
0.036345403641462326,
-0.01922341249883175,
-0.007793521974235773,
0.08054828643798828,
-0.03225220739841461,
-0.017880331724882126,
0.0920969545841217,
0.02587485872209072,
0.004323896951973438,
0.03296486288309097,
-0.009566023014485836,
0.007003205828368664,
-0.020484263077378273,
0.008241215720772743,
-0.005116497166454792,
-0.0117222610861063,
0.014234826900064945,
0.015395174734294415,
0.003629515413194895,
-0.06300601363182068,
0.023316608741879463,
-0.012928292155265808,
-0.02289632521569729,
0.03466426953673363,
0.014929208904504776,
-0.014033821411430836,
0.021873027086257935,
-0.0007863188511691988,
-0.006514397449791431,
-0.01499316468834877,
0.0546368844807148,
0.013138433918356895,
0.014728203415870667,
0.013494761660695076,
-0.025545939803123474,
-0.05613528564572334,
0.01463683694601059,
-0.049703117460012436,
0.010753781534731388,
0.005966201424598694,
0.01068982481956482,
-0.048387445509433746,
-0.008049346506595612,
-0.057560596615076065,
-0.0022738720290362835,
0.00595249654725194,
0.0654180720448494,
-0.002795800333842635,
-0.028177281841635704,
0.03164919093251228,
0.02380998618900776,
0.0029785323422402143,
-0.006820473819971085,
-0.015395174734294415,
-0.015185032971203327,
0.06918235123157501,
0.027172256261110306,
0.021525835618376732,
-0.05807224661111832,
0.02172684110701084,
0.04560992121696472,
-0.05335775762796402,
0.03713115304708481,
0.02640478126704693,
-0.01646415702998638,
-0.049264561384916306,
-0.035870302468538284,
-0.054527245461940765,
0.04710832238197327,
0.05639110878109932,
0.038702648133039474,
-0.014042957685887814,
-0.02552766725420952,
-0.02499774470925331,
0.032672490924596786,
-0.023517614230513573,
-0.03680223599076271,
0.029529498890042305,
-0.08456839621067047,
-0.025070836767554283,
0.03354960307478905,
0.012087725102901459,
0.026660606265068054,
0.03453635796904564,
-0.06388312578201294,
0.05207863450050354,
-0.03133854642510414,
-0.00929192453622818,
-0.0661124587059021,
-0.013604400679469109,
-0.006025589536875486,
0.004065787885338068,
0.03333032503724098,
0.026112409308552742,
0.037862081080675125,
-0.053175024688243866,
0.033915068954229355,
0.06497951596975327,
-0.021343102678656578,
0.05174971744418144,
0.01312016136944294,
-0.04158981516957283,
0.023992717266082764,
0.01925995759665966,
-0.006852451711893082,
0.036674320697784424,
0.06344456970691681,
0.013924182392656803,
0.03358615189790726,
-0.010242131538689137,
-0.018675215542316437,
0.002713570836931467,
-0.043928783386945724,
0.019917793571949005,
0.02616722881793976,
0.0009519197628833354,
-0.04948383942246437,
0.005500234663486481,
-0.02097763866186142,
0.057560596615076065
]
|
40,611 | pyglove.core.symbolic.dict | Dict | Symbolic dict.
``pg.Dict`` implements a dict type whose instances are symbolically
programmable, which is a subclass of the built-in Python ``dict`` and
a subclass of :class:`pyglove.Symbolic`.
``pg.Dict`` provides the following features:
* It a symbolic programmable dict with string keys.
* It enables attribute access on dict keys.
* It supports symbolic validation and value completitions based on schema.
* It provides events to handle sub-nodes changes.
``pg.Dict`` can be used as a regular dict with string keys::
# Construct a symbolic dict from key value pairs.
d = pg.Dict(x=1, y=2)
or::
# Construct a symbolic dict from a mapping object.
d = pg.Dict({'x': 1, 'y': 2})
Besides regular items access using ``[]``, it allows attribute access
to its keys::
# Read access to key `x`.
assert d.x == 1
# Write access to key 'y'.
d.y = 1
``pg.Dict`` supports symbolic validation when the ``value_spec`` argument
is provided::
d = pg.Dict(x=1, y=2, value_spec=pg.typing.Dict([
('x', pg.typing.Int(min_value=1)),
('y', pg.typing.Int(min_value=1)),
(pg.typing.StrKey('foo.*'), pg.typing.Str())
])
# Okay: all keys started with 'foo' is acceptable and are strings.
d.foo1 = 'abc'
# Raises: 'bar' is not acceptable as keys in the dict.
d.bar = 'abc'
Users can mutate the values contained in it::
d = pg.Dict(x=pg.Dict(y=1), p=pg.List([0]))
d.rebind({
'x.y': 2,
'p[0]': 1
})
It also allows the users to subscribe subtree updates::
def on_change(updates):
print(updates)
d = pg.Dict(x=1, onchange_callaback=on_change)
# `on_change` will be triggered on item insertion.
d['y'] = {'z': 1}
# `on_change` will be triggered on item removal.
del d.x
# `on_change` will also be triggered on subtree change.
d.rebind({'y.z': 2})
| class Dict(dict, base.Symbolic, pg_typing.CustomTyping):
"""Symbolic dict.
``pg.Dict`` implements a dict type whose instances are symbolically
programmable, which is a subclass of the built-in Python ``dict`` and
a subclass of :class:`pyglove.Symbolic`.
``pg.Dict`` provides the following features:
* It a symbolic programmable dict with string keys.
* It enables attribute access on dict keys.
* It supports symbolic validation and value completitions based on schema.
* It provides events to handle sub-nodes changes.
``pg.Dict`` can be used as a regular dict with string keys::
# Construct a symbolic dict from key value pairs.
d = pg.Dict(x=1, y=2)
or::
# Construct a symbolic dict from a mapping object.
d = pg.Dict({'x': 1, 'y': 2})
Besides regular items access using ``[]``, it allows attribute access
to its keys::
# Read access to key `x`.
assert d.x == 1
# Write access to key 'y'.
d.y = 1
``pg.Dict`` supports symbolic validation when the ``value_spec`` argument
is provided::
d = pg.Dict(x=1, y=2, value_spec=pg.typing.Dict([
('x', pg.typing.Int(min_value=1)),
('y', pg.typing.Int(min_value=1)),
(pg.typing.StrKey('foo.*'), pg.typing.Str())
])
# Okay: all keys started with 'foo' is acceptable and are strings.
d.foo1 = 'abc'
# Raises: 'bar' is not acceptable as keys in the dict.
d.bar = 'abc'
Users can mutate the values contained in it::
d = pg.Dict(x=pg.Dict(y=1), p=pg.List([0]))
d.rebind({
'x.y': 2,
'p[0]': 1
})
It also allows the users to subscribe subtree updates::
def on_change(updates):
print(updates)
d = pg.Dict(x=1, onchange_callaback=on_change)
# `on_change` will be triggered on item insertion.
d['y'] = {'z': 1}
# `on_change` will be triggered on item removal.
del d.x
# `on_change` will also be triggered on subtree change.
d.rebind({'y.z': 2})
"""
@classmethod
def partial(cls,
dict_obj: Optional[typing.Dict[str, Any]] = None,
value_spec: Optional[pg_typing.Dict] = None,
*,
onchange_callback: Optional[Callable[
[typing.Dict[object_utils.KeyPath, base.FieldUpdate]], None]
] = None, # pylint: disable=bad-continuation
**kwargs) -> 'Dict':
"""Class method that creates a partial Dict object."""
return cls(dict_obj,
value_spec=value_spec,
onchange_callback=onchange_callback,
allow_partial=True,
**kwargs)
@classmethod
def from_json(cls,
json_value: Any,
*,
value_spec: Optional[pg_typing.Dict] = None,
allow_partial: bool = False,
root_path: Optional[object_utils.KeyPath] = None,
**kwargs) -> 'Dict':
"""Class method that load an symbolic Dict from a JSON value.
Args:
json_value: Input JSON value, only JSON dict is acceptable.
value_spec: An optional value spec to apply.
allow_partial: Whether to allow members of the dict to be partial.
root_path: KeyPath of loaded object in its object tree.
**kwargs: Allow passing through keyword arguments that are not applicable.
Returns:
A schemaless symbolic dict. For example::
d = Dict.from_json({
'a': {
'_type': '__main__.Foo',
'f1': 1,
'f2': {
'f21': True
}
}
})
assert d.value_spec is None
# Okay:
d.b = 1
# a.f2 is bound by class Foo's field 'f2' definition (assume it defines
# a schema for the Dict field).
assert d.a.f2.value_spec is not None
# Not okay:
d.a.f2.abc = 1
"""
return cls(json_value,
value_spec=value_spec,
allow_partial=allow_partial,
root_path=root_path)
def __init__(self,
dict_obj: Union[
None,
Iterable[Tuple[str, Any]],
typing.Dict[str, Any]] = None,
*,
value_spec: Optional[pg_typing.Dict] = None,
onchange_callback: Optional[Callable[
[typing.Dict[object_utils.KeyPath, base.FieldUpdate]], None]
] = None, # pylint: disable=bad-continuation
**kwargs):
"""Constructor.
Args:
dict_obj: A dict as initial value for this Dict.
value_spec: Value spec that applies to this Dict.
onchange_callback: Callback when sub-tree has been modified.
**kwargs: Key value pairs that will be inserted into the dict as initial
value, which provides a syntax sugar for usage as below: d =
pg.Dict(a=1, b=2)
"""
if value_spec and not isinstance(value_spec, pg_typing.Dict):
raise TypeError(
f'Argument \'value_spec\' must be a `pg.typing.Dict` object. '
f'Encountered {value_spec}')
allow_partial = kwargs.pop('allow_partial', False)
accessor_writable = kwargs.pop('accessor_writable', True)
sealed = kwargs.pop('sealed', False)
root_path = kwargs.pop('root_path', None)
# Skip schema check when dict_obj is validated against
# schema externally. This flag is helpful to avoid duplicated schema
# check in nested structures, which takes effect only when value_spec
# is not None.
pass_through = kwargs.pop('pass_through', False)
# If True, the parent of dict items should be set to `self.sym_parent`,
# This is useful when Dict is used as the field container of
# pg.Object.
self._set_raw_attr(
'_as_object_attributes_container',
kwargs.pop('as_object_attributes_container', False),
)
# We copy the symbolic form of dict values instead of their evaluated
# values.
if isinstance(dict_obj, Dict):
dict_obj = {k: v for k, v in dict_obj.sym_items()}
elif dict_obj is not None:
dict_obj = dict(dict_obj)
# NOTE(daiyip): we call __init__ of superclasses explicitly instead of
# calling super().__init__(...) since dict.__init__ does
# not follow super(...).__init__ fashion, which will lead to
# Symbolic.__init__ uncalled.
base.Symbolic.__init__(
self,
allow_partial=allow_partial,
accessor_writable=True,
# We delay seal operation until members are filled.
sealed=False,
root_path=root_path)
dict.__init__(self)
self._value_spec = None
self._onchange_callback = None
# NOTE(daiyip): values in kwargs is prior to dict_obj.
dict_obj = dict_obj or {}
for k, v in kwargs.items():
dict_obj[k] = v
if value_spec:
if pass_through:
for k, v in dict_obj.items():
super().__setitem__(k, self._relocate_if_symbolic(k, v))
# NOTE(daiyip): when pass_through is on, we simply trust input
# dict is validated and filled with values of their final form (
# symbolic Dict/List vs. dict/list). This prevents members from
# repeated validation and transformation.
self._value_spec = value_spec
else:
for k, v in dict_obj.items():
super().__setitem__(k, self._formalized_value(k, None, v))
self.use_value_spec(value_spec, allow_partial)
else:
for k, v in dict_obj.items():
self._set_item_without_permission_check(k, v)
# NOTE(daiyip): We set onchange callback at the end of init to avoid
# triggering during initialization.
self._onchange_callback = onchange_callback
self.set_accessor_writable(accessor_writable)
self.seal(sealed)
@property
def value_spec(self) -> Optional[pg_typing.Dict]:
"""Returns value spec of this dict.
NOTE(daiyip): If this dict is schema-less, value_spec will be None.
"""
return self._value_spec
def use_value_spec(self,
value_spec: Optional[pg_typing.Dict],
allow_partial: bool = False) -> 'Dict':
"""Applies a ``pg.typing.Dict`` as the value spec for current dict.
Args: | (dict_obj: Union[NoneType, Iterable[Tuple[str, Any]], Dict[str, Any]] = None, *, value_spec: Optional[pyglove.core.typing.value_specs.Dict] = None, onchange_callback: Optional[Callable[[Dict[pyglove.core.object_utils.value_location.KeyPath, pyglove.core.symbolic.base.FieldUpdate]], NoneType]] = None, **kwargs) | [
0.06464400887489319,
-0.02632879465818405,
-0.03292132541537285,
0.026080800220370293,
0.007181519642472267,
0.007770507596433163,
-0.011356101371347904,
0.002510948572307825,
0.02238154225051403,
-0.07415048778057098,
0.014621367678046227,
0.06914925575256348,
0.03292132541537285,
0.034987952560186386,
-0.04633371904492378,
0.027982095256447792,
0.02048024721443653,
0.07001723349094391,
-0.015427350997924805,
-0.0002688226231839508,
0.00892265047878027,
-0.016915321350097656,
0.031681351363658905,
0.05534420162439346,
-0.03891453891992569,
-0.06179207190871239,
-0.008746988140046597,
0.025109486654400826,
0.023848846554756165,
-0.028209423646330833,
0.002934606745839119,
-0.05662550777196884,
0.02554347738623619,
0.02182355336844921,
0.03360331431031227,
-0.058898795396089554,
-0.01792796701192856,
0.048607006669044495,
-0.06509866565465927,
0.015489350073039532,
-0.002079540863633156,
0.05356690660119057,
-0.06005610525608063,
-0.019457269459962845,
0.0601387694478035,
0.06381735950708389,
-0.02277420088648796,
0.03746790066361427,
0.024158839136362076,
-0.052946917712688446,
0.009403141215443611,
-0.02302219532430172,
0.005094229243695736,
-0.0033556814305484295,
-0.01075678039342165,
0.013546722941100597,
-0.015034692361950874,
0.04335778206586838,
0.022588204592466354,
-0.013629388064146042,
0.004559489898383617,
0.01230674795806408,
-0.0553855337202549,
-0.05125228688120842,
-0.0027563602197915316,
-0.023683516308665276,
-0.00517689436674118,
-0.046705711632966995,
-0.010560451075434685,
-0.05497220903635025,
-0.04042317345738411,
-0.021802887320518494,
0.00818383228033781,
0.009248143993318081,
0.0121827507391572,
-0.005672884173691273,
-0.017225313931703568,
-0.01795896701514721,
0.019374603405594826,
-0.03897653520107269,
0.035566605627536774,
-0.06183340400457382,
-0.05749349296092987,
-0.043936435133218765,
-0.05331891030073166,
0.05658417567610741,
0.018496287986636162,
0.011914089322090149,
0.03709590807557106,
0.03234267234802246,
-0.017163315787911415,
0.004647321533411741,
-0.007372682448476553,
0.030400045216083527,
-0.006349703297019005,
-0.037054575979709625,
0.02428283728659153,
-0.0802263617515564,
-0.02814742550253868,
0.021575558930635452,
0.026390794664621353,
0.0011941214324906468,
-0.035483941435813904,
0.014001380652189255,
-0.014001380652189255,
-0.031061364337801933,
-0.022112881764769554,
-0.0325700007379055,
0.007238352205604315,
-0.04761502519249916,
-0.06890125572681427,
-0.005306058097630739,
-0.009403141215443611,
0.0007478597108274698,
0.0011618303833529353,
0.04802834987640381,
-0.04348177835345268,
-0.044019099324941635,
0.025502145290374756,
0.023146193474531174,
0.005037397146224976,
0.02174088917672634,
0.019622599706053734,
0.04827634617686272,
0.04703637212514877,
0.025026822462677956,
0.03108203038573265,
-0.012110418640077114,
-0.001690757111646235,
0.03759189695119858,
0.018930280581116676,
0.024861492216587067,
0.0035959265660494566,
0.047739025205373764,
0.07530779391527176,
0.03329331800341606,
0.009496139362454414,
0.0013846383662894368,
-0.024386167526245117,
0.013908382505178452,
0.03794322535395622,
-0.00005763944500358775,
0.00709885498508811,
-0.042117804288864136,
-0.0272794421762228,
-0.008814153261482716,
-0.03124736063182354,
0.007620677351951599,
-0.03323132172226906,
-0.009620136581361294,
-0.024241505190730095,
0.0032471835147589445,
0.02075924165546894,
0.08779020607471466,
-0.05191360414028168,
0.03362397849559784,
-0.04389510303735733,
-0.04339911416172981,
0.002468324499204755,
0.01139743346720934,
-0.03455395996570587,
-0.020666243508458138,
-0.016119670122861862,
-0.05282292142510414,
-0.03680657967925072,
0.032074011862277985,
0.029242735356092453,
-0.11052307486534119,
-0.008695322088897228,
0.03337598592042923,
0.005657384172081947,
-0.01958126574754715,
-0.0016959236236289144,
0.041249822825193405,
0.0506322979927063,
0.03703390806913376,
0.01974659599363804,
0.017101317644119263,
-0.011046107858419418,
-0.01664665900170803,
0.039121199399232864,
-0.0157786775380373,
-0.06716529279947281,
0.02814742550253868,
0.03141269087791443,
0.020883239805698395,
-0.04141515493392944,
0.04666437953710556,
0.09721401333808899,
0.06096541881561279,
-0.012596075423061848,
-0.020542247220873833,
0.0757211223244667,
-0.022484874352812767,
0.00664419773966074,
-0.009713134728372097,
0.017462976276874542,
-0.008075335063040257,
-0.05534420162439346,
0.0696452409029007,
-0.05385623127222061,
-0.05600552260875702,
0.019829262048006058,
-0.005331891123205423,
-0.06522266566753387,
-0.030586041510105133,
0.03252866864204407,
-0.0056832171976566315,
0.02341485396027565,
-0.05282292142510414,
-0.06749595701694489,
-0.036021262407302856,
0.01368105411529541,
-0.004471658729016781,
-0.001404013019055128,
-0.10283523052930832,
0.03387197479605675,
-0.028932742774486542,
-0.03368597850203514,
-0.02380751259624958,
0.07361315935850143,
0.03126802667975426,
-0.02070757746696472,
-0.03583526611328125,
0.03870787471532822,
-0.06571865826845169,
-0.027548102661967278,
0.002547114621847868,
0.008927817456424236,
-0.00810116808861494,
0.007987502962350845,
-0.013598388992249966,
0.01312306523323059,
-0.03786056116223335,
0.09184078872203827,
-0.03593859821557999,
0.012844070792198181,
-0.047408364713191986,
0.04089849814772606,
0.018413623794913292,
0.02783743105828762,
0.02246420830488205,
-0.025378147140145302,
-0.005311224609613419,
-0.065140001475811,
0.016708659008145332,
0.0525335930287838,
0.051376283168792725,
-0.0044199931435287,
-0.013629388064146042,
0.0238901786506176,
-0.03519461303949356,
-0.01633666642010212,
0.05108695477247238,
-0.007109188009053469,
0.006024210248142481,
0.0025122403167188168,
0.025894803926348686,
0.029759392142295837,
-0.006432368420064449,
-0.016429664567112923,
-0.0014828030252829194,
-0.05993210896849632,
0.0762997716665268,
0.016119670122861862,
-0.023766180500388145,
0.031681351363658905,
0.007512179668992758,
-0.03728190436959267,
0.005440388806164265,
0.044019099324941635,
-0.010038628242909908,
0.022443540394306183,
0.029924722388386726,
-0.03451262786984444,
0.032632000744342804,
0.012275748886168003,
0.02002559043467045,
0.034367963671684265,
-0.010482951998710632,
0.015282687731087208,
-0.04240713268518448,
0.03300399333238602,
-0.02492349036037922,
0.026308128610253334,
0.019229941070079803,
-0.06129607930779457,
0.014900362119078636,
0.029284067451953888,
-0.020583579316735268,
0.08514492958784103,
0.0002854524936992675,
0.008700489066541195,
0.03812922164797783,
0.03802588954567909,
0.015954339876770973,
-0.08597157895565033,
-0.01756630837917328,
0.004985731560736895,
-0.018341291695833206,
0.07791174203157425,
0.03409930318593979,
0.06567732244729996,
0.08018502593040466,
0.008245831355452538,
-0.02182355336844921,
0.05695616826415062,
0.0033040158450603485,
-0.020862573757767677,
0.04327511414885521,
-0.022650202736258507,
0.034223299473524094,
-0.044101763516664505,
0.08531025797128677,
0.008788320235908031,
-0.02856075018644333,
-0.04372977092862129,
-0.06365203112363815,
0.03314865753054619,
0.027816765010356903,
-0.06146141141653061,
0.00963563658297062,
-0.021699557080864906,
-0.04294445365667343,
0.003789672628045082,
-0.04269646108150482,
0.07493580132722855,
0.01447670441120863,
0.01927127316594124,
-0.011893423274159431,
-0.02174088917672634,
-0.02215421386063099,
0.043853770941495895,
0.05162427946925163,
-0.01787630096077919,
0.01882694847881794,
0.026783453300595284,
0.00231461925432086,
-0.036744583398103714,
-0.06162673979997635,
0.050260305404663086,
0.005745215807110071,
0.023766180500388145,
-0.046003058552742004,
-0.01245141215622425,
-0.0496816523373127,
0.0391625314950943,
-0.029284067451953888,
0.05922945588827133,
-0.003918836358934641,
-0.02056291326880455,
0.013577722012996674,
-0.013329727575182915,
0.026060134172439575,
-0.012503077276051044,
-0.0688185915350914,
0.0166983250528574,
-0.05724549666047096,
-0.04951632022857666,
-0.052078936249017715,
0.08671556413173676,
0.011521430686116219,
-0.05083896219730377,
-0.018930280581116676,
0.01562368031591177,
-0.0067940279841423035,
-0.004458742216229439,
-0.027114111930131912,
0.01930227130651474,
-0.0190749429166317,
0.035091280937194824,
-0.08249964565038681,
-0.03283866122364998,
0.009341142140328884,
0.015148356556892395,
-0.0004333452961873263,
-0.0007853172719478607,
0.04645771533250809,
-0.046003058552742004,
0.012658074498176575,
0.06232939288020134,
-0.01656399480998516,
-0.011676427908241749,
0.035628605633974075,
0.03763322904706001,
-0.017421644181013107,
0.04554840177297592,
-0.002585863694548607,
0.01986026018857956,
-0.017824634909629822,
-0.021141568198800087,
-0.006442701444029808,
0.050260305404663086,
0.03283866122364998,
0.020066922530531883,
-0.020666243508458138,
-0.009604636579751968,
-0.007982336916029453,
-0.0090776477009058,
0.01676032319664955,
0.02856075018644333,
-0.05393889918923378,
0.006106875371187925,
-0.002189330291002989,
0.03804655373096466,
-0.036331258714199066,
0.05757615715265274,
0.02498548850417137,
0.00462923850864172,
0.06427201628684998,
0.0488550029695034,
0.017700638622045517,
-0.06261871755123138,
-0.013898049481213093,
0.008576490916311741,
-0.049392323940992355,
-0.0007091105217114091,
-0.04372977092862129,
-0.007341683376580477,
0.04649905115365982,
0.07518379390239716,
0.007780841086059809,
-0.009542638435959816,
0.03988585248589516,
0.012771738693118095,
0.0036863412242382765,
-0.007005856838077307,
0.008814153261482716,
0.016553660854697227,
0.053608238697052,
0.051210954785346985,
0.0032316839788109064,
0.018651286140084267,
-0.03955519199371338,
-0.01551001612097025,
-0.029552729800343513,
0.0011676427675411105,
-0.03597993031144142,
-0.011139106005430222,
0.016605326905846596,
-0.023456187918782234,
0.03664125129580498,
0.028126757591962814,
0.011211437173187733,
0.04992964491248131,
0.03759189695119858,
0.008989816531538963,
0.018878614529967308,
0.04926832765340805,
0.0034073470160365105,
0.02618413232266903,
-0.018206961452960968,
0.07047189027070999,
0.02428283728659153,
-0.10052061080932617,
-0.01792796701192856,
-0.006143040955066681,
-0.013567388989031315,
-0.018341291695833206,
0.04418443143367767,
-0.01591300778090954,
-0.010178125463426113,
-0.007212519180029631,
-0.026142798364162445,
-0.05906412750482559,
0.05637751519680023,
0.03804655373096466,
0.0286434143781662,
-0.04517640918493271,
-0.015014026314020157,
0.005848546978086233,
0.043853770941495895,
0.0033866807352751493,
-0.02411750704050064,
-0.015820009633898735,
-0.013619055040180683,
0.013836050406098366,
-0.04906166344881058,
-0.08721154928207397,
-0.0724971815943718,
0.05720416456460953,
0.0186306182295084,
0.02064557746052742,
-0.010472618974745274,
0.03265266492962837,
0.0023159109987318516,
0.018930280581116676,
0.01526202168315649,
0.005285392049700022,
0.04389510303735733,
-0.049557652324438095,
-0.009475473314523697,
0.01804163120687008,
0.00788933876901865,
0.0038852537982165813,
-0.0053990562446415424,
-0.02372484840452671,
0.0011844341643154621,
0.024861492216587067,
-0.07873839139938354,
-0.034223299473524094,
0.024303503334522247,
-0.036971911787986755,
0.061172083020210266,
-0.023662850260734558,
-0.02000492438673973,
-0.02380751259624958,
0.031040698289871216,
0.0003471283125691116,
-0.03748856857419014,
0.008829653263092041,
-0.02895340882241726,
0.0776224136352539,
-0.012089752592146397,
0.016109338030219078,
0.00941347423940897,
0.019281605258584023,
-0.006024210248142481,
-0.03662058338522911,
-0.08311963081359863,
-0.008421494625508785,
-0.04406043142080307,
0.037054575979709625,
-0.031288694590330124,
0.0026233214884996414,
-0.027486104518175125,
-0.005404222756624222,
-0.027341440320014954,
0.0555095337331295,
-0.024964822456240654,
0.0401751771569252,
-0.0058640469796955585,
0.027961429208517075,
0.020521581172943115,
-0.003006938612088561,
0.05451755225658417,
0.050094977021217346,
-0.02792009525001049,
-0.046085722744464874,
0.001250953646376729,
0.029924722388386726,
0.09184078872203827,
0.023910844698548317,
0.015954339876770973,
0.036496587097644806,
-0.03035871312022209,
0.005486887879669666,
-0.05708016827702522,
-0.006840527057647705,
0.0004785527125932276,
-0.058733467012643814,
-0.008540325798094273,
0.061337411403656006,
0.019281605258584023,
-0.05852680280804634,
-0.04769769310951233,
0.04348177835345268,
-0.013391726650297642,
0.011604095809161663,
0.002640112768858671,
-0.0009144812938757241,
0.007073021959513426,
0.03360331431031227,
-0.026204798370599747,
0.0439777672290802,
0.03006938472390175,
-0.02482016012072563,
0.061502743512392044,
-0.00676302844658494,
0.018640952184796333,
-0.002304286230355501,
0.032714664936065674,
0.03664125129580498,
0.005068396218121052,
-0.003037937916815281,
-0.009769966825842857,
-0.07423315197229385,
0.01620233617722988,
-0.010059294290840626,
-0.07646510004997253,
-0.019705263897776604,
0.040691833943128586,
-0.03037937916815281,
0.008845152333378792,
-0.007228018715977669,
0.025770805776119232,
-0.004717070143669844,
0.10432320088148117,
-0.02856075018644333,
-0.02271220274269581,
-0.05178960785269737,
-0.0044019101187586784,
-0.038790538907051086,
-0.017659306526184082,
-0.0054662213660776615,
0.003991168458014727,
-0.06654530763626099,
-0.0034486795775592327,
0.019477935507893562,
-0.039823852479457855,
-0.05625351518392563,
0.03438863158226013,
-0.004977981559932232,
-0.017803968861699104,
0.004593072924762964,
0.02302219532430172,
0.07009989768266678,
0.023828178644180298,
0.05083896219730377,
-0.08030902594327927,
-0.01510702446103096,
0.0067010298371315,
-0.003358264686539769,
-0.030276047065854073,
-0.016212668269872665,
-0.06071742624044418,
-0.052946917712688446,
0.04451508820056915,
0.005117478780448437,
-0.028374753892421722,
-0.05575752630829811,
0.001866420148871839,
-0.02719677798449993,
0.01071544736623764,
-0.030420711264014244,
-0.007336516864597797,
0.005342224147170782,
0.02688678354024887,
-0.050094977021217346,
-0.07613444328308105,
-0.011180438101291656,
0.025832805782556534,
-0.018930280581116676,
0.015396351926028728,
0.02539881318807602,
-0.03261133283376694,
-0.015303353779017925,
-0.0032394337467849255,
0.016915321350097656,
0.0813010036945343,
-0.02453083172440529,
-0.024220837280154228,
-0.006520200055092573,
0.07229052484035492,
-0.034140635281801224,
0.04625105485320091,
-0.0023314107675105333,
-0.03845988214015961,
0.02901540696620941,
0.031371358782052994,
0.02238154225051403,
0.013846383430063725,
-0.04215913638472557,
-0.04906166344881058,
0.032156676054000854,
0.03029671311378479,
0.006752695422619581,
-0.06910791993141174,
-0.019550267606973648,
0.03511194884777069,
-0.01894061267375946,
-0.042531128972768784,
-0.051210954785346985,
-0.01697731949388981,
0.049309659749269485,
0.03312798961997032,
-0.015654679387807846,
0.0005586344050243497,
0.08179699629545212,
0.033582646399736404,
0.007982336916029453,
-0.0449284166097641,
-0.016801657155156136,
0.010059294290840626,
-0.0420764721930027,
-0.021306898444890976,
0.024489499628543854,
0.06836393475532532,
0.02800276130437851,
-0.019064610823988914,
0.01879594847559929,
-0.0004491679137572646,
-0.031185362488031387,
0.02453083172440529,
-0.03957585617899895,
-0.01110810600221157,
0.020521581172943115,
-0.002211288083344698,
-0.00030030636116862297,
-0.08721154928207397,
-0.027734098955988884,
-0.0506322979927063,
-0.005760715343058109,
0.0014815113972872496,
-0.07758107781410217,
-0.1050671860575676,
-0.026680121198296547,
-0.0177109707146883,
0.03091670200228691,
0.024179505184292793,
0.025088820606470108,
0.007734342012554407,
0.024799492210149765,
-0.030565375462174416,
0.031144030392169952,
0.022753534838557243,
-0.02719677798449993,
-0.012368747033178806,
0.0746464729309082,
-0.023208191618323326,
-0.009284310042858124,
0.0746464729309082,
-0.005941545125097036,
-0.07022389769554138,
0.012627075426280499,
-0.0013407225487753749,
-0.0012438495177775621,
0.02271220274269581,
-0.015582348220050335,
-0.028498750180006027,
-0.00688185915350914,
0.006478867493569851,
0.03265266492962837,
0.01206908654421568,
0.011810758151113987,
-0.007150520570576191,
0.021926885470747948,
0.005988044198602438,
-0.012833737768232822,
0.014724698849022388,
0.05092162638902664,
0.022340210154652596,
-0.05187227204442024,
-0.047573693096637726,
-0.029614727944135666,
-0.041807811707258224,
-0.0055798860266804695,
0.008834819309413433,
0.003125769319012761,
0.0631147101521492,
-0.013836050406098366,
0.030710039660334587,
-0.02017025463283062,
0.0014789281412959099,
0.017576640471816063,
0.014497370459139347,
0.0013885132502764463,
-0.0034822621382772923,
0.05290558561682701,
0.022402208298444748,
0.041890475898981094,
0.05468288064002991,
-0.04935099184513092,
0.014704032801091671,
0.052244264632463455,
0.0064065358601510525,
-0.02878807857632637,
0.00867465604096651,
-0.01155243068933487,
-0.02100723795592785,
-0.0868808925151825,
-0.027465438470244408,
0.013784385286271572,
-0.021637557074427605,
-0.006757861934602261,
-0.013350393623113632,
-0.041249822825193405,
0.021637557074427605
]
|
40,615 | pyglove.core.symbolic.dict | __delattr__ | Delete an attribute. | def __delattr__(self, name: str) -> None:
"""Delete an attribute."""
del self[name]
| (self, name: str) -> NoneType | [
0.05083927512168884,
0.04069873318076134,
0.042235177010297775,
-0.017233796417713165,
-0.03334086760878563,
-0.0458885058760643,
-0.03970858082175255,
0.035850394517183304,
0.02485627308487892,
0.034962669014930725,
-0.025265991687774658,
0.01196720264852047,
0.03704540804028511,
0.0414157398045063,
-0.008800418116152287,
-0.006952415686100721,
-0.01527909655123949,
0.018932422623038292,
0.009286959655582905,
-0.042679041624069214,
0.014749876223504543,
0.026665864512324333,
-0.017233796417713165,
-0.008540076203644276,
0.002746396232396364,
0.038445279002189636,
0.031940992921590805,
0.0223979614675045,
0.01684114895761013,
-0.01790812611579895,
-0.06019451841711998,
0.0019109540153294802,
0.002714386908337474,
0.014980343170464039,
0.00239216024056077,
-0.02340518683195114,
-0.01901778019964695,
0.019649431109428406,
-0.05626804754137993,
0.02226138673722744,
0.011139229871332645,
0.014067011885344982,
0.02897053211927414,
-0.03656740114092827,
0.03334086760878563,
0.004925161134451628,
-0.0009250682196579874,
0.01645703800022602,
-0.0660671517252922,
-0.001248361892066896,
0.024566056206822395,
0.050531983375549316,
0.03516753017902374,
0.06145782023668289,
0.0004241229617036879,
0.022176029160618782,
0.016636289656162262,
0.0481419563293457,
-0.015842460095882416,
0.05223914608359337,
-0.005147092510014772,
0.03219706937670708,
-0.01581685245037079,
-0.11403840035200119,
-0.0036426561418920755,
-0.06145782023668289,
-0.0109172984957695,
0.058350782841444016,
-0.008971134200692177,
-0.03503095731139183,
-0.03477488085627556,
-0.0016154017066583037,
0.025317206978797913,
0.022312602028250694,
0.037079550325870514,
-0.024668484926223755,
0.015637600794434547,
0.01835198700428009,
0.05899950489401817,
-0.0548681765794754,
0.003343902761116624,
0.021117588505148888,
-0.019837217405438423,
0.031036198139190674,
-0.037659984081983566,
-0.013699972070753574,
0.02910710498690605,
-0.04667380079627037,
-0.02161266654729843,
0.02441241219639778,
-0.00696948729455471,
0.05213671550154686,
-0.030575264245271683,
0.0218175258487463,
-0.0017092955531552434,
-0.02809987962245941,
0.02818523906171322,
0.027895020321011543,
0.049405258148908615,
-0.03970858082175255,
0.05083927512168884,
0.018061770126223564,
-0.01780569553375244,
0.025692783296108246,
-0.016089998185634613,
-0.01813005656003952,
0.002765601733699441,
-0.06791088730096817,
-0.003738683881238103,
0.010353934951126575,
-0.00579154584556818,
0.01660214737057686,
-0.011762343347072601,
0.033614013344049454,
0.054902318865060806,
-0.022671107202768326,
-0.05206843093037605,
-0.04349847882986069,
0.017370369285345078,
-0.014954735524952412,
-0.0078102643601596355,
0.013068322092294693,
-0.07299823313951492,
0.00579154584556818,
0.02774137631058693,
0.028168166056275368,
0.006995094940066338,
0.03680640459060669,
0.02485627308487892,
0.01824955828487873,
-0.0036490580532699823,
-0.002409231849014759,
0.003755755489692092,
0.00461360439658165,
0.05920436605811119,
-0.0031347754411399364,
0.0682523250579834,
-0.0017925197025761008,
0.015236417762935162,
0.009346709586679935,
-0.027895020321011543,
0.028287667781114578,
0.03998172655701637,
0.02572692558169365,
0.02002500556409359,
-0.0097820358350873,
-0.05278543755412102,
0.01577417366206646,
-0.07313480228185654,
-0.023814905434846878,
-0.06087738275527954,
0.015637600794434547,
0.007438956759870052,
-0.04653722420334816,
-0.011011192575097084,
0.048961397260427475,
-0.11560898274183273,
0.015133988112211227,
-0.0660671517252922,
-0.05217085778713226,
-0.020895658060908318,
0.028731530532240868,
-0.0006988692912273109,
-0.07217879593372345,
0.00877481047064066,
-0.052102573215961456,
0.07709541916847229,
-0.040903594344854355,
-0.02359297312796116,
0.032043423503637314,
-0.05493646115064621,
-0.007400545757263899,
0.060023803263902664,
0.0514538511633873,
-0.010763654485344887,
0.05514132231473923,
0.02214188687503338,
0.025761069729924202,
0.0148181626573205,
-0.016260715201497078,
0.033972516655921936,
-0.06224311143159866,
-0.05684848129749298,
-0.014980343170464039,
0.06647687405347824,
-0.0329994335770607,
-0.015014486387372017,
0.033750586211681366,
0.02975582703948021,
0.05783863738179207,
0.03112155571579933,
-0.03718198090791702,
-0.036294255405664444,
-0.003072890918701887,
0.049746688455343246,
-0.016252178698778152,
-0.03170199319720268,
-0.0043191188015043736,
0.030711837112903595,
0.007336527109146118,
-0.018300773575901985,
0.044488631188869476,
-0.014963272027671337,
0.019973790273070335,
-0.014067011885344982,
-0.026119573041796684,
0.007891355082392693,
-0.026717079803347588,
-0.049746688455343246,
0.0024220356717705727,
0.05527789518237114,
0.03793312981724739,
0.07668569684028625,
0.03235071152448654,
0.07170078903436661,
-0.06756945699453354,
-0.01657653972506523,
0.023439329117536545,
0.014826699160039425,
0.03929886221885681,
0.032726287841796875,
0.01712283119559288,
0.052102573215961456,
0.018983637914061546,
-0.008672380819916725,
-0.0008626501075923443,
-0.00045533201773650944,
0.0031795885879546404,
-0.0017679792363196611,
-0.03141177445650101,
0.05548275262117386,
-0.010080789215862751,
0.08925040811300278,
-0.02753651700913906,
0.03929886221885681,
0.024309981614351273,
-0.05169285461306572,
0.024036835879087448,
-0.03834284842014313,
-0.034177374094724655,
-0.02057129703462124,
0.002054995857179165,
-0.002060330705717206,
0.07798314094543457,
0.021971169859170914,
0.06702316552400589,
0.01780569553375244,
0.07238364964723587,
-0.02036643773317337,
-0.06367713212966919,
0.02405390702188015,
-0.024805057793855667,
-0.017481334507465363,
0.04042558744549751,
0.05251229181885719,
-0.039230573922395706,
-0.047595664858818054,
0.011839166283607483,
0.005253789946436882,
0.02270524948835373,
-0.021851668134331703,
-0.053707305341959,
0.007140203379094601,
0.054902318865060806,
0.08146575093269348,
0.01780569553375244,
0.07040334492921829,
0.04609336331486702,
-0.04131331294775009,
0.016030248254537582,
0.03516753017902374,
-0.059375081211328506,
0.024685557931661606,
-0.038786713033914566,
-0.030865482985973358,
0.02306375280022621,
-0.026119573041796684,
-0.041586458683013916,
0.015458348207175732,
-0.0017925197025761008,
0.04991740733385086,
-0.05862392857670784,
0.025180634111166,
0.04732251912355423,
-0.031821493059396744,
0.038001418113708496,
0.0013347869971767068,
0.005518400110304356,
0.01358900684863329,
0.047015231102705,
0.05582418665289879,
-0.04199617728590965,
0.006871325429528952,
0.03670397400856018,
0.08528979867696762,
-0.0027954771649092436,
-0.03861599788069725,
0.04148402810096741,
0.02618785947561264,
0.024463625624775887,
-0.00939792487770319,
0.030506977811455727,
-0.026375647634267807,
0.01768619380891323,
-0.009005277417600155,
-0.03882085531949997,
0.03346036747097969,
0.03834284842014313,
-0.0010552392341196537,
0.03200928121805191,
0.047595664858818054,
0.019154353067278862,
-0.06780845671892166,
0.07101792097091675,
0.035304103046655655,
0.015168131329119205,
0.008053534664213657,
0.008702256716787815,
-0.007959641516208649,
0.057702064514160156,
-0.023524686694145203,
-0.046503081917762756,
-0.056336332112550735,
-0.02340518683195114,
0.0036319864448159933,
-0.023234469816088676,
-0.014843770302832127,
0.01515105925500393,
0.0036533258389681578,
0.0212541613727808,
-0.0492345429956913,
-0.013025643303990364,
-0.006017744541168213,
-0.026000071316957474,
-0.0034036533907055855,
-0.020998088642954826,
0.013204894959926605,
0.005454381462186575,
0.017336226999759674,
-0.015688816085457802,
-0.02092980220913887,
0.04568364471197128,
-0.008249858394265175,
-0.017771553248167038,
-0.03595282509922981,
0.021168803796172142,
-0.02361004613339901,
0.02664879336953163,
0.04909797012805939,
-0.007511510979384184,
0.08569951355457306,
-0.000737813941668719,
0.019615286961197853,
0.02762187458574772,
0.06019451841711998,
-0.041245024651288986,
-0.02427583746612072,
0.059375081211328506,
-0.026461005210876465,
-0.057702064514160156,
-0.012402528896927834,
-0.03279457613825798,
-0.01801055483520031,
-0.035304103046655655,
0.009850322268903255,
-0.04667380079627037,
-0.0627211183309555,
-0.045820217579603195,
0.0033908498007804155,
-0.042030319571495056,
-0.03245314210653305,
-0.01903485134243965,
-0.013034178875386715,
0.0007426153169944882,
0.026682935655117035,
-0.00847178976982832,
0.049405258148908615,
0.03813799098134041,
-0.01740451343357563,
0.026034215465188026,
-0.001185410306788981,
-0.011224587447941303,
0.02832181192934513,
0.016772862523794174,
0.00013123804819770157,
0.0064402674324810505,
-0.04175717383623123,
-0.0019482981879264116,
0.0033908498007804155,
0.06883275508880615,
0.01857391931116581,
-0.0173618346452713,
-0.06845717877149582,
0.012317171320319176,
-0.05688262730836868,
-0.009082099422812462,
-0.03827456384897232,
-0.043805766850709915,
-0.05848735570907593,
-0.018625132739543915,
0.0329994335770607,
0.024224624037742615,
-0.02415633760392666,
0.010029574856162071,
0.029602183029055595,
0.056438762694597244,
-0.01443405169993639,
-0.010132004506886005,
0.00944913923740387,
-0.04305461794137955,
0.025453779846429825,
0.04308876022696495,
0.010994120500981808,
-0.052409861236810684,
0.09034299105405807,
0.001883212709799409,
0.04619579389691353,
-0.02236381731927395,
0.09102585911750793,
0.02955096773803234,
-0.03714783862233162,
-0.0045709251426160336,
-0.019290925934910774,
-0.013452433981001377,
-0.05322929844260216,
0.02038351073861122,
0.002507393714040518,
0.005535471718758345,
0.0007570195011794567,
0.04121088236570358,
-0.038889143615961075,
-0.008591290563344955,
-0.004359663929790258,
-0.019973790273070335,
-0.00868091732263565,
-0.019973790273070335,
-0.03487731143832207,
-0.025573281571269035,
-0.030472835525870323,
0.02104930207133293,
-0.03680640459060669,
-0.02034936659038067,
0.02538549341261387,
-0.0033673762809485197,
-0.0035359584726393223,
0.011566019617021084,
-0.014177977107465267,
0.03503095731139183,
0.08091945946216583,
-0.035850394517183304,
0.02586349844932556,
0.041893746703863144,
0.004464227706193924,
-0.04554707184433937,
0.008198644034564495,
-0.06354055553674698,
-0.02987532876431942,
-0.07204221934080124,
-0.027365799993276596,
0.009662535041570663,
-0.04865410551428795,
0.06811574846506119,
-0.008454717695713043,
-0.06777431815862656,
-0.027724305167794228,
0.07320309430360794,
0.03455295041203499,
0.003395117586478591,
-0.038308706134557724,
-0.008356556296348572,
0.008091946132481098,
-0.051180705428123474,
-0.004634943790733814,
-0.041552312672138214,
-0.09539619088172913,
0.05022469535470009,
-0.037523411214351654,
0.05316101387143135,
0.007336527109146118,
-0.048619963228702545,
0.023678332567214966,
-0.007174346596002579,
0.0075072431936860085,
-0.013751187361776829,
0.013537791557610035,
0.015859531238675117,
-0.006589644122868776,
-0.034194447100162506,
0.03673812001943588,
0.0064402674324810505,
-0.06118467450141907,
-0.032521430402994156,
-0.004993447568267584,
-0.036533258855342865,
0.09000156074762344,
-0.009653999470174313,
0.007421885151416063,
0.0013828008668497205,
0.0008119687554426491,
-0.046264078468084335,
-0.055926613509655,
-0.014613303355872631,
-0.0022214441560208797,
-0.029516825452446938,
0.037762414664030075,
-0.005228182300925255,
0.022073600441217422,
0.05104413256049156,
-0.034416377544403076,
-0.06531600654125214,
-0.0458543598651886,
-0.012837855145335197,
0.04343019053339958,
0.018881207332015038,
0.04595679044723511,
-0.030285047367215157,
-0.03984515368938446,
0.003834711853414774,
-0.0037109425757080317,
0.021424878388643265,
0.022517461329698563,
0.03313600644469261,
-0.06162853538990021,
-0.020315224304795265,
-0.05660947784781456,
-0.019000709056854248,
-0.02596592903137207,
0.004041705280542374,
0.04612750560045242,
0.02494163066148758,
0.06442827731370926,
0.017267940565943718,
-0.030575264245271683,
0.0015897942939773202,
0.022346746176481247,
0.04073287546634674,
-0.09191358089447021,
-0.005906779319047928,
0.03612354025244713,
0.04913211241364479,
0.03926471620798111,
-0.02695608139038086,
0.04578607529401779,
0.023029610514640808,
-0.07682227343320847,
-0.004447156097739935,
-0.04681037366390228,
0.004873946309089661,
0.03187270835042,
0.03491145372390747,
-0.03313600644469261,
0.011566019617021084,
-0.039776865392923355,
-0.0917770117521286,
0.0031219718512147665,
0.011890380643308163,
0.008130357600748539,
-0.03503095731139183,
0.035986967384815216,
-0.00017031605239026248,
-0.03499681502580643,
0.006201264448463917,
0.10277113318443298,
-0.012889070436358452,
0.05848735570907593,
0.04496663808822632,
0.01903485134243965,
-0.023183254525065422,
0.0058128852397203445,
-0.049951549619436264,
-0.02572692558169365,
-0.02060544118285179,
0.020229864865541458,
0.015842460095882416,
-0.04544464126229286,
0.06753531098365784,
0.03970858082175255,
-0.04261075332760811,
-0.024122193455696106,
-0.05111242085695267,
-0.01982014626264572,
0.03323843702673912,
-0.06528186053037643,
-0.041245024651288986,
-0.055994901806116104,
-0.024992845952510834,
0.03902571648359299,
-0.015091308392584324,
-0.013725579716265202,
-0.04018658399581909,
-0.019547000527381897,
-0.008015124127268791,
0.03253849968314171,
-0.039537861943244934,
-0.004005427937954664,
0.02530013583600521,
0.01694357953965664,
-0.012223277240991592,
-0.06183339282870293,
0.06654515862464905,
0.06224311143159866,
-0.048619963228702545,
0.048858966678380966,
0.022534534335136414,
-0.004523978102952242,
0.05278543755412102,
-0.04803952947258949,
-0.008936990983784199,
-0.040459729731082916,
-0.016585074365139008,
-0.05497060343623161,
0.0016442100750282407,
-0.010866084136068821,
0.04708351939916611,
0.0369088351726532,
-0.03626011312007904,
0.032743360847234726,
-0.0212541613727808,
-0.013708507642149925,
-0.006696341559290886,
-0.05046369880437851,
-0.04264489933848381,
-0.020520083606243134,
0.021407807245850563,
-0.009329638443887234,
-0.022295530885457993,
-0.024873344227671623,
0.023746619001030922,
-0.050736844539642334,
0.012231812812387943,
-0.039230573922395706,
-0.06302841007709503,
0.02664879336953163,
-0.045820217579603195,
-0.009005277417600155,
-0.006350641138851643,
-0.014451122842729092,
-0.01141237560659647,
-0.00008729197725187987,
-0.017498407512903214,
0.07709541916847229,
0.01609853468835354,
0.004077982157468796,
0.018061770126223564,
-0.11089722067117691,
0.0011715396540239453,
0.0030494173988699913,
-0.026939010247588158,
0.04967840388417244,
-0.047595664858818054,
-0.052887868136167526,
-0.024753844365477562,
0.033289652317762375,
-0.03526996076107025,
-0.0013145144330337644,
-0.04418134316802025,
-0.03088255412876606,
0.02002500556409359,
0.002891504904255271,
-0.006585375871509314,
-0.04534221440553665,
-0.02495870366692543,
-0.01276103314012289,
0.017054544761776924,
0.04308876022696495,
-0.021629737690091133,
-0.03994758054614067,
-0.012308635748922825,
-0.024224624037742615,
-0.016747254878282547,
0.0051983073353767395,
0.06538429111242294,
-0.007549922447651625,
-0.03649911656975746,
-0.0184714887291193,
0.0017071616603061557,
-0.006004941184073687,
-0.05684848129749298,
0.0031411773525178432,
0.032060496509075165,
-0.04069873318076134,
0.08071459829807281,
0.00562082976102829,
-0.01970064453780651,
0.026273217052221298,
0.04052801802754402,
0.013452433981001377,
0.00797671265900135,
0.018625132739543915,
-0.04646893963217735,
-0.05223914608359337,
-0.005428773816674948,
-0.023234469816088676,
0.02707558311522007,
-0.025914713740348816,
-0.07190565019845963,
0.03704540804028511,
-0.02161266654729843,
0.06524771451950073,
0.012487887404859066,
0.025146489962935448,
0.02562449686229229,
-0.02203945629298687,
0.01119898073375225,
0.0016047318931668997,
0.03192392364144325,
-0.008339484222233295,
-0.017156973481178284,
-0.008467521518468857,
-0.000006497717095044209,
0.03547481819987297,
0.0492003969848156,
-0.02038351073861122,
-0.02651222050189972,
0.05961408466100693,
0.03660154715180397,
-0.033187221735715866,
-0.0402548722922802,
-0.018044698983430862,
0.02661464922130108,
0.008258393965661526,
0.0335627980530262,
0.036089397966861725,
0.019325070083141327,
-0.031155699864029884,
-0.022124813869595528,
-0.018966564908623695,
-0.03354572504758835,
-0.013904831372201443,
0.046707943081855774,
-0.023302756249904633,
0.00918453000485897,
-0.016329001635313034,
0.05896536260843277,
-0.03033626265823841,
-0.022773535922169685,
0.005497060250490904,
-0.009722285903990269,
0.031019126996397972,
0.057360630482435226,
-0.04568364471197128,
0.04954183101654053,
0.030165545642375946,
0.04162060096859932,
0.012795176357030869,
0.011975739151239395,
-0.023029610514640808,
0.09525962173938751,
0.024224624037742615,
-0.027126798406243324,
0.03701126575469971,
-0.014408444054424763,
-0.0559607595205307,
0.07422738522291183,
0.031377632170915604,
-0.055346179753541946,
0.0008157031843438745,
-0.026546362787485123,
0.0013454568106681108,
-0.026904867962002754,
-0.038445279002189636,
0.02405390702188015,
-0.03185563534498215,
-0.0042679039761424065,
0.009671070612967014,
0.0016399421729147434,
-0.0008450450259260833,
-0.005330612417310476
]
|
40,616 | pyglove.core.symbolic.dict | __delitem__ | Delete a key from the Dict.
This is used to delete a key which resolves to a pg.typing.NonConstKey.
Args:
name: Key to delete.
Raises:
WritePermissionError: When Dict is sealed.
KeyError: When key is not a NonConstKey.
| def __delitem__(self, name: str) -> None:
"""Delete a key from the Dict.
This is used to delete a key which resolves to a pg.typing.NonConstKey.
Args:
name: Key to delete.
Raises:
WritePermissionError: When Dict is sealed.
KeyError: When key is not a NonConstKey.
"""
if base.treats_as_sealed(self):
raise base.WritePermissionError('Cannot del item from a sealed Dict.')
if not base.writtable_via_accessors(self):
raise base.WritePermissionError(
self._error_message('Cannot del Dict field by attribute or key while '
'accessor_writable is set to False. '
'Use \'rebind\' method instead.'))
if name not in self:
raise KeyError(
self._error_message(f'Key does not exist in Dict: {name!r}.'))
update = self._set_item_without_permission_check(
name, pg_typing.MISSING_VALUE)
if flags.is_change_notification_enabled() and update:
self._notify_field_updates([update])
| (self, name: str) -> NoneType | [
0.026126490905880928,
0.007365348748862743,
-0.07620533555746078,
-0.0005403674440458417,
-0.01784450374543667,
-0.053100526332855225,
-0.01646263711154461,
0.028927074745297432,
0.06699289381504059,
-0.05678550526499748,
-0.02929557114839554,
0.05228983238339424,
0.04112435132265091,
0.0483100563287735,
-0.06334476172924042,
-0.002193713327869773,
-0.014638573862612247,
0.05590111017227173,
-0.03010626696050167,
-0.05439027026295662,
0.0021119527518749237,
0.03443611413240433,
0.04480932652950287,
-0.008480054326355457,
-0.04576742276549339,
0.0060525755397975445,
0.041013799607753754,
0.04982089623808861,
0.0902082547545433,
-0.028337478637695312,
-0.041492849588394165,
-0.008526116609573364,
0.006328949239104986,
0.03618647903203964,
-0.02282843552529812,
-0.044514529407024384,
-0.0014463537372648716,
-0.00668362807482481,
-0.04263519123196602,
0.009894165210425854,
0.009415118023753166,
0.03810266777873039,
0.032040879130363464,
-0.06275516748428345,
0.07657383382320404,
0.025168396532535553,
0.019456680864095688,
0.041013799607753754,
-0.03622332960367203,
0.011561617255210876,
-0.002766036195680499,
0.038250066339969635,
0.00372182740829885,
0.00007175630162237212,
-0.018747324123978615,
0.024910448119044304,
0.0024297821801155806,
0.0337359681725502,
-0.01617705076932907,
-0.006729690358042717,
0.00444730743765831,
-0.0043459702283144,
-0.009608578868210316,
-0.046504415571689606,
0.016711372882127762,
-0.03205930441617966,
0.024118177592754364,
-0.054685067385435104,
0.024339277297258377,
-0.018830236047506332,
-0.008641272783279419,
-0.026310740038752556,
-0.0045762816444039345,
0.056490708142519,
-0.0014417475322261453,
-0.009709916077554226,
-0.00831883680075407,
-0.017595767974853516,
0.04046105220913887,
-0.055680010467767715,
0.06308681517839432,
-0.0659242495894432,
-0.01161689218133688,
0.014859671704471111,
-0.01799190230667591,
0.047094013541936874,
0.047794159501791,
-0.011773503385484219,
-0.01627838797867298,
0.027342533692717552,
-0.0176326185464859,
0.015467693097889423,
-0.05306367576122284,
0.0071120066568255424,
0.026771362870931625,
-0.017190421000123024,
0.014113464392721653,
-0.04164024814963341,
0.012142001651227474,
0.004306817427277565,
0.06050733104348183,
0.0019012180855497718,
0.03049319051206112,
-0.005426129326224327,
-0.0046637998893857,
-0.0296456441283226,
0.05446396768093109,
-0.040239956229925156,
-0.02982989326119423,
-0.025518469512462616,
-0.04823635518550873,
0.026568688452243805,
0.002710761735215783,
0.020691148936748505,
0.013560717925429344,
0.05405862256884575,
-0.0524003803730011,
-0.08261720091104507,
0.0148873096331954,
0.00954409223049879,
0.01914345845580101,
0.027416232973337173,
-0.020377926528453827,
0.013450168073177338,
0.09846260398626328,
0.009986288845539093,
-0.021815067157149315,
0.01730096898972988,
0.011202331632375717,
0.00999550148844719,
-0.01274081040173769,
0.021538693457841873,
-0.00046637997729703784,
-0.012888208962976933,
0.04444082826375961,
0.06304996460676193,
0.08003771305084229,
0.005154362414032221,
-0.03159868344664574,
0.04823635518550873,
-0.006840239744633436,
0.024505101144313812,
0.03452824056148529,
0.039429258555173874,
0.06459765881299973,
-0.06426601111888885,
-0.0769423320889473,
-0.016398150473833084,
-0.025297371670603752,
-0.019493531435728073,
-0.048420604318380356,
0.04138229787349701,
-0.012473649345338345,
0.036665525287389755,
0.004279180429875851,
0.03240937739610672,
-0.05015254393219948,
-0.015559817664325237,
-0.07745823264122009,
-0.007392986211925745,
0.019254008308053017,
0.020709574222564697,
0.025131547823548317,
-0.026955612003803253,
-0.04160339757800102,
-0.019309282302856445,
0.035541608929634094,
-0.047167714685201645,
-0.017835291102528572,
0.041087500751018524,
-0.02382338047027588,
0.01676664873957634,
0.012888208962976933,
0.03434399142861366,
0.005766990128904581,
0.044330280274152756,
-0.0431879386305809,
0.013615991920232773,
-0.0019599474035203457,
-0.081290602684021,
0.08527038246393204,
-0.015495331026613712,
-0.010668010450899601,
0.016038864850997925,
0.05074214190244675,
0.04539892449975014,
-0.02566586807370186,
0.03880281373858452,
0.04768361151218414,
0.062276121228933334,
-0.050668440759181976,
-0.04514097422361374,
0.010907533578574657,
-0.030253665521740913,
0.02857700176537037,
-0.009295355528593063,
-0.02857700176537037,
-0.03312794864177704,
-0.014795185066759586,
0.05472191795706749,
-0.05965978652238846,
-0.005656440742313862,
-0.015163682401180267,
0.03994515538215637,
-0.013533079996705055,
-0.028816524893045425,
0.05497986450791359,
-0.0316908061504364,
0.004385123495012522,
0.037531495094299316,
-0.006269067991524935,
0.020580599084496498,
0.03410446643829346,
0.027360958978533745,
0.06212872266769409,
-0.09824150055646896,
-0.05995458737015724,
0.01590067893266678,
-0.007494323421269655,
0.0033648451790213585,
0.037126149982213974,
0.03283315151929855,
0.04569372162222862,
-0.029682494699954987,
0.03672080114483833,
-0.017669467255473137,
0.0009909134823828936,
0.02343645691871643,
0.020746424794197083,
-0.013846303336322308,
0.04105065017938614,
0.0046822247095406055,
0.007710815407335758,
-0.025647444650530815,
0.05531151220202446,
-0.04304054006934166,
-0.0549430176615715,
-0.05988088622689247,
0.033625420182943344,
-0.007075157016515732,
-0.007609478663653135,
0.0439617820084095,
0.007517354097217321,
0.07679492980241776,
0.009295355528593063,
0.03592853248119354,
-0.007291649468243122,
0.054685067385435104,
0.0051451497711241245,
-0.01894078403711319,
0.02317850850522518,
-0.0472782626748085,
-0.03172765672206879,
0.03281472623348236,
0.03156183287501335,
-0.016582399606704712,
-0.05615906044840813,
-0.005555103532969952,
0.0016087230760604143,
0.015624305233359337,
-0.022938985377550125,
-0.019511956721544266,
-0.04790470749139786,
0.05055789276957512,
0.0518844835460186,
0.004375910852104425,
0.06352901458740234,
0.03445453941822052,
0.0014164132298901677,
0.029074473306536674,
0.054758768528699875,
0.011174694634974003,
0.015495331026613712,
-0.06478190422058105,
-0.014012127183377743,
0.07056731730699539,
-0.020764848217368126,
-0.004707559011876583,
0.018590711057186127,
0.01581776700913906,
0.04252464324235916,
-0.0659242495894432,
0.02409975416958332,
0.033183224499225616,
-0.03777102008461952,
0.025776417925953865,
-0.01934613287448883,
0.01620468869805336,
0.016315238550305367,
0.051921334117650986,
0.007941126823425293,
0.0011170088546350598,
-0.02310480922460556,
0.04878910258412361,
0.004366698674857616,
-0.00010356802522437647,
-0.09337732940912247,
0.020175252109766006,
0.030124692246317863,
0.06942497938871384,
0.0393555611371994,
0.04772045835852623,
-0.02667923830449581,
0.007678572088479996,
0.02435770258307457,
-0.0237681046128273,
0.04823635518550873,
0.024191878736019135,
-0.06515040248632431,
0.0797429159283638,
-0.013256707228720188,
-0.008438598364591599,
-0.027508357539772987,
0.07403119653463364,
0.050668440759181976,
-0.01669294759631157,
-0.019972577691078186,
-0.006034150719642639,
-0.017512856051325798,
0.062276121228933334,
-0.049415551126003265,
-0.0033533296082168818,
-0.07819522172212601,
-0.032317254692316055,
0.010760135017335415,
-0.08143800497055054,
0.020119978114962578,
0.00016870288527570665,
0.04001885652542114,
0.044661927968263626,
0.006167731247842312,
0.011147057637572289,
-0.0040649911388754845,
-0.025389496237039566,
-0.025039423257112503,
-0.008834733627736568,
0.05295312777161598,
0.01715357042849064,
0.02192561700940132,
-0.012142001651227474,
0.01722726970911026,
0.006167731247842312,
0.03684977442026138,
-0.02032265067100525,
-0.055753711611032486,
-0.027545208111405373,
0.010612735524773598,
-0.023215359076857567,
0.07307310402393341,
-0.035283658653497696,
0.0649293065071106,
0.0058913580141961575,
0.004173236899077892,
0.011451068334281445,
0.0835752934217453,
-0.03743937239050865,
0.010483761318027973,
-0.027618907392024994,
-0.03817636892199516,
-0.03802897036075592,
0.06419230997562408,
-0.018996059894561768,
-0.05170023441314697,
-0.04937870055437088,
-0.0352652370929718,
-0.03404919430613518,
-0.036536552011966705,
-0.0922718420624733,
-0.013514655642211437,
-0.03156183287501335,
-0.023454882204532623,
-0.039502959698438644,
-0.04340903460979462,
0.03710772469639778,
0.016914047300815582,
-0.008443204686045647,
0.03839746490120888,
0.07170966267585754,
-0.04635701701045036,
0.006886302027851343,
0.0032911456655710936,
-0.03275945037603378,
0.0360390804708004,
0.024118177592754364,
-0.013855515979230404,
0.009267718531191349,
0.01809323951601982,
0.007287043146789074,
-0.003657340304926038,
0.043924931436777115,
-0.006923151668161154,
-0.010732497088611126,
-0.015043920837342739,
0.019125033169984818,
-0.05907019227743149,
0.008401748724281788,
-0.046246469020843506,
-0.06916703283786774,
-0.07907962054014206,
0.002452813321724534,
0.07152541726827621,
0.019382981583476067,
-0.01960408128798008,
-0.016904834657907486,
0.033699121326208115,
0.015983590856194496,
-0.021428145468235016,
-0.00028659336385317147,
-0.0028834950644522905,
-0.020433200523257256,
0.050926391035318375,
0.02693718671798706,
0.013689692132174969,
-0.005426129326224327,
0.042672041803598404,
-0.04510412737727165,
-0.0040281410329043865,
-0.04193504527211189,
0.0029825286474078894,
0.05538521334528923,
0.005214243195950985,
0.0006765388534404337,
-0.019438257440924644,
0.00028357055271044374,
-0.03631545603275299,
-0.005509041715413332,
-0.016342876479029655,
-0.016324451193213463,
0.013735754415392876,
-0.00976519100368023,
-0.004730590153485537,
-0.017780017107725143,
0.004873382858932018,
-0.019898878410458565,
-0.032851576805114746,
-0.004896414000540972,
0.008779458701610565,
0.010594310238957405,
-0.04304054006934166,
0.05232668295502663,
-0.052842579782009125,
-0.02502099797129631,
0.02752678282558918,
0.001555751427076757,
0.009894165210425854,
0.015698004513978958,
0.04068215191364288,
0.016296813264489174,
0.06666124612092972,
-0.01799190230667591,
0.05837004631757736,
0.056674957275390625,
0.0041778432205319405,
-0.033422745764255524,
-0.03976090997457504,
-0.0710463672876358,
-0.022625762969255447,
-0.015790129080414772,
-0.01901448518037796,
-0.027711031958460808,
0.003717221086844802,
0.0707884207367897,
-0.01072328444570303,
-0.052510932087898254,
-0.04031365364789963,
0.023731255903840065,
0.03218827769160271,
0.026900336146354675,
0.013920002616941929,
-0.021741367876529694,
-0.02047005109488964,
-0.00009306007996201515,
0.014113464392721653,
-0.03939241170883179,
-0.07473134249448776,
0.006969213951379061,
0.040239956229925156,
0.047094013541936874,
0.009364449419081211,
-0.014914946630597115,
0.06271831691265106,
-0.024836748838424683,
0.028097953647375107,
0.0012805296573787928,
0.014214800670742989,
0.00047904709936119616,
-0.051921334117650986,
-0.0013991399900987744,
0.005559709854424,
0.038839664310216904,
-0.015467693097889423,
-0.05796469748020172,
-0.02034107595682144,
-0.0043459702283144,
0.0840911865234375,
-0.04068215191364288,
-0.04046105220913887,
0.005209636874496937,
-0.013855515979230404,
-0.061944473534822464,
-0.0019703113939613104,
-0.007715421728789806,
-0.04340903460979462,
0.0031828994397073984,
0.00762329762801528,
-0.06404490768909454,
0.04296683892607689,
0.0350072868168354,
0.0008049372700043023,
-0.08858685940504074,
-0.04219299182295799,
-0.005370854865759611,
0.05837004631757736,
-0.008415567688643932,
0.04105065017938614,
-0.008811702951788902,
-0.06419230997562408,
-0.0023031109012663364,
-0.04363013431429863,
0.006550047546625137,
0.04606221988797188,
0.019567230716347694,
0.002627849578857422,
0.005877539049834013,
-0.06537150591611862,
-0.035615310072898865,
-0.0077753025107085705,
-0.022533638402819633,
0.06323421746492386,
0.009931014850735664,
-0.01906975917518139,
0.003344117198139429,
0.025500044226646423,
-0.028669126331806183,
0.030806412920355797,
0.019898878410458565,
-0.0431879386305809,
0.0011377368355169892,
-0.018434099853038788,
0.04930499941110611,
0.042156144976615906,
0.05612220987677574,
0.06047048419713974,
-0.06013883277773857,
-0.0074160173535346985,
-0.007696996908634901,
-0.011782716028392315,
-0.0035629128105938435,
-0.000445651967311278,
0.03255677595734596,
-0.05789099633693695,
0.008392536081373692,
0.016499487683176994,
-0.0672139897942543,
0.009977077133953571,
0.06253407150506973,
0.03777102008461952,
-0.04160339757800102,
0.01409503910690546,
-0.0026048184372484684,
-0.029737768694758415,
-0.018102452158927917,
0.06445025652647018,
0.007798333652317524,
0.034491389989852905,
0.02468935027718544,
-0.019309282302856445,
-0.005605772137641907,
0.05361642315983772,
0.03069586306810379,
-0.019180309027433395,
-0.014371412806212902,
0.047757308930158615,
0.00818064995110035,
-0.057669900357723236,
-0.02620019018650055,
-0.008093131706118584,
-0.009774402715265751,
-0.024726198986172676,
-0.09647271037101746,
0.011791928671300411,
0.0329621247947216,
-0.021815067157149315,
0.019254008308053017,
-0.019511956721544266,
0.017365457490086555,
0.01521895732730627,
0.02747150883078575,
-0.000543534173630178,
-0.00272227730602026,
-0.010050776414573193,
-0.014168739318847656,
0.002795976819470525,
-0.03670237585902214,
0.028632275760173798,
0.005550497677177191,
0.013256707228720188,
-0.01640736311674118,
-0.024670924991369247,
0.03288842365145683,
0.02732410840690136,
-0.031193334609270096,
0.038655415177345276,
0.0029226478654891253,
-0.004560159984976053,
0.05638015642762184,
-0.007439048495143652,
-0.0005700199981220067,
0.01184720266610384,
-0.05630645900964737,
-0.05862799286842346,
-0.030327364802360535,
-0.029793044552206993,
0.025002572685480118,
0.0025449376553297043,
-0.053763821721076965,
0.005177393555641174,
-0.02244151383638382,
-0.01088910922408104,
-0.01807481423020363,
-0.06279201805591583,
-0.02251521311700344,
-0.041345447301864624,
0.019327707588672638,
-0.005034600850194693,
-0.035744283348321915,
-0.005725534167140722,
0.06139172613620758,
-0.04897335171699524,
-0.008231318555772305,
-0.03895021229982376,
0.010059989057481289,
-0.0001858322648331523,
0.022423088550567627,
0.011285243555903435,
0.04197189584374428,
-0.03670237585902214,
-0.010612735524773598,
0.021243896335363388,
0.07030937075614929,
0.06209187209606171,
0.02021210268139839,
-0.03181978315114975,
0.07790042459964752,
-0.09595681726932526,
0.02588696777820587,
0.018010327592492104,
-0.054353419691324234,
0.04985774680972099,
-0.04259834066033363,
-0.006351979915052652,
0.009691490791738033,
0.007673965767025948,
-0.06673494726419449,
0.0062414309941232204,
-0.0264581385999918,
-0.04009255766868591,
-0.039097610861063004,
-0.06990402191877365,
0.003081562463194132,
-0.005504435393959284,
-0.051258038729429245,
-0.057927846908569336,
-0.030806412920355797,
0.06813523918390274,
-0.04204559326171875,
-0.025039423257112503,
0.010972021147608757,
0.019898878410458565,
-0.008788671344518661,
0.0148873096331954,
-0.014509599655866623,
-0.052437230944633484,
-0.0012137395096942782,
-0.027010885998606682,
-0.008346473798155785,
0.050263095647096634,
0.01508077047765255,
0.03340432047843933,
0.007941126823425293,
0.004136387258768082,
0.05560631304979324,
-0.003496122546494007,
0.011828778311610222,
0.003433938603848219,
0.03550475835800171,
-0.013394893147051334,
0.009470392018556595,
-0.01676664873957634,
-0.07447339594364166,
0.0027291865553706884,
-0.03979775682091713,
-0.03557845950126648,
-0.01610335148870945,
-0.05206873267889023,
-0.07672123610973358,
0.010013926774263382,
-0.019825179129838943,
-0.013284344226121902,
0.028337478637695312,
-0.0148228220641613,
0.015016283839941025,
0.04071900248527527,
-0.01613098941743374,
-0.012390737421810627,
0.011598466895520687,
-0.006421073339879513,
0.028024254366755486,
0.01871047355234623,
-0.030751138925552368,
0.017494430765509605,
0.07885851711034775,
-0.005366248544305563,
-0.06257092207670212,
0.01812087744474411,
0.00950724259018898,
0.005794627126306295,
-0.04164024814963341,
-0.02428400330245495,
-0.03976090997457504,
-0.001601813710294664,
-0.017706317827105522,
0.019622506573796272,
0.00614009378477931,
0.024173453450202942,
-0.02021210268139839,
-0.009977077133953571,
-0.05722770094871521,
-0.025979092344641685,
0.058185797184705734,
0.047094013541936874,
-0.019954154267907143,
-0.05077899247407913,
-0.00693236431106925,
0.046762365847826004,
-0.028005829080939293,
0.003724130569025874,
-0.03255677595734596,
0.07193076610565186,
0.052768878638744354,
-0.04046105220913887,
0.07226241379976273,
0.015099195763468742,
-0.015762491151690483,
-0.020285801962018013,
-0.00341551355086267,
-0.03939241170883179,
0.07731083035469055,
0.018203789368271828,
0.022662611678242683,
0.042672041803598404,
0.05822264775633812,
-0.028890224173665047,
0.045509472489356995,
0.04720456153154373,
-0.0700145736336708,
-0.02085697278380394,
0.02330748364329338,
0.016628460958600044,
0.006038757041096687,
-0.05907019227743149,
0.03174608200788498,
-0.020506899803876877,
0.0002367886045249179,
-0.033422745764255524,
-0.011395793408155441,
-0.00042924232548102736,
-0.008157619275152683
]
|
40,617 | pyglove.core.symbolic.dict | __eq__ | Operator ==. | def __eq__(self, other: Any) -> bool:
"""Operator ==."""
if isinstance(other, dict):
return dict.__eq__(self, other)
return False
| (self, other: Any) -> bool | [
0.04153572767972946,
-0.04775146394968033,
-0.0042367540299892426,
0.01633458398282528,
-0.04420483857393265,
-0.04010976478457451,
-0.03332730382680893,
0.012522876262664795,
0.03129804879426956,
-0.012120681814849377,
0.01856493577361107,
-0.031809933483600616,
0.07707510143518448,
0.04574048891663551,
-0.013702037744224072,
-0.023619789630174637,
-0.012961633503437042,
0.05206591263413429,
-0.014021964743733406,
-0.03255947679281235,
-0.011435122229158878,
-0.007417747285217047,
0.03321761265397072,
0.07466193288564682,
-0.0019149945583194494,
0.024680120870471,
-0.016462555155158043,
-0.0014282477786764503,
0.002694246592000127,
0.07213907688856125,
-0.0754663273692131,
-0.06939684599637985,
0.037385813891887665,
0.05751382187008858,
0.015621602535247803,
-0.017193816602230072,
-0.03063991293311119,
0.04767833650112152,
-0.08175518363714218,
-0.026837345212697983,
-0.017623433843255043,
0.01005486398935318,
-0.042047612369060516,
-0.006005496252328157,
0.020091446116566658,
-0.004209331702440977,
-0.036160945892333984,
0.004277887754142284,
0.051554031670093536,
-0.02402198500931263,
0.009415009059011936,
-0.04537485912442207,
-0.0023171890061348677,
0.06117013469338417,
-0.04453390836715698,
0.01890314370393753,
-0.004069934599101543,
0.05455220863223076,
-0.04321763291954994,
0.03376606106758118,
-0.03930537775158882,
-0.0128062404692173,
-0.02076786383986473,
-0.01937846466898918,
-0.03879349306225777,
-0.04413171112537384,
-0.07012810558080673,
0.007266924250870943,
0.015713009983301163,
-0.0052102478221058846,
-0.03296167403459549,
0.002790224738419056,
-0.017193816602230072,
0.047897715121507645,
-0.0428520031273365,
-0.0035192023497074842,
-0.06603303551673889,
0.042778875678777695,
0.004885749891400337,
-0.030329126864671707,
0.0026782501954585314,
-0.07992702722549438,
-0.046618007123470306,
-0.01963440701365471,
-0.09133473038673401,
0.03407684713602066,
-0.03435107320547104,
0.018318133428692818,
0.030585067346692085,
0.013327265158295631,
-0.005109698977321386,
0.03387575224041939,
0.01954299956560135,
-0.023436974734067917,
0.05473502352833748,
0.010438776575028896,
0.017065847292542458,
-0.029396766796708107,
-0.007180086802691221,
-0.000036456021916819736,
0.02606952004134655,
-0.022413205355405807,
0.04409514740109444,
0.005141691770404577,
-0.024533867835998535,
0.010027441196143627,
-0.01648997701704502,
-0.03361980989575386,
-0.022559458389878273,
-0.020694738253951073,
-0.0503108836710453,
0.04866554215550423,
-0.036160945892333984,
0.03621579334139824,
0.02791595831513405,
-0.012659987434744835,
-0.00923676323145628,
-0.026124365627765656,
-0.003903115401044488,
0.013464377261698246,
-0.0026668242644518614,
0.0931628867983818,
0.052650924772024155,
0.024460742250084877,
0.06632553786039352,
-0.020073164254426956,
0.01285194419324398,
0.001026624464429915,
-0.05473502352833748,
0.004570392891764641,
0.04519204422831535,
-0.01867462508380413,
-0.006640780717134476,
0.04391233250498772,
0.09191973507404327,
0.02506403438746929,
0.020530203357338905,
0.04570392891764641,
0.02338212914764881,
0.01596895232796669,
0.03541140258312225,
0.0013756882399320602,
0.004056223668158054,
0.008496359921991825,
-0.04489953815937042,
-0.039341941475868225,
-0.09740421175956726,
0.019981756806373596,
0.02288852632045746,
-0.014122513122856617,
-0.010676437057554722,
0.009090511128306389,
0.02215726301074028,
0.04438765347003937,
-0.0568191222846508,
-0.027111569419503212,
-0.003053022315725684,
-0.04299825429916382,
0.010091426782310009,
-0.0037408664356917143,
0.011727627366781235,
-0.0057632653042674065,
0.02681906521320343,
-0.05363813042640686,
-0.011800753884017467,
0.011590516194701195,
-0.02857409603893757,
-0.0353565588593483,
0.03592328727245331,
0.001453384873457253,
-0.010850111953914165,
-0.036636266857385635,
-0.011846457608044147,
-0.007920490577816963,
-0.0009900613222271204,
0.04263262450695038,
0.004449277184903622,
0.04043883457779884,
-0.02440589666366577,
-0.010000019334256649,
0.03883005678653717,
-0.04577705264091492,
-0.05707506462931633,
0.018638061359524727,
0.045484546571969986,
-0.016005516052246094,
0.018025629222393036,
-0.012723973020911217,
0.018080472946166992,
0.059926990419626236,
-0.022084137424826622,
-0.029908649623394012,
-0.009762358851730824,
-0.005443337839096785,
-0.003999093547463417,
-0.046983636915683746,
0.019232213497161865,
-0.04457046836614609,
0.03427794575691223,
0.08775153756141663,
-0.06829994916915894,
-0.042303554713726044,
-0.005607871804386377,
0.018089614808559418,
0.007111531216651201,
-0.031023826450109482,
0.031809933483600616,
-0.01688303053379059,
0.06694710999727249,
-0.02204757370054722,
-0.04965274780988693,
-0.05850102752447128,
0.025192005559802055,
-0.019798941910266876,
0.04453390836715698,
0.03376606106758118,
-0.004922313150018454,
-0.05597817152738571,
-0.04497266560792923,
0.02915910631418228,
0.10742250829935074,
-0.021261466667056084,
0.005420485977083445,
0.006069481372833252,
0.00910879299044609,
0.00591408833861351,
-0.0003850555804092437,
0.031883060932159424,
-0.02447902411222458,
-0.047349270433187485,
0.054405953735113144,
0.031078670173883438,
0.039707571268081665,
-0.025649044662714005,
0.0465448796749115,
-0.005347359459847212,
0.0008963682921603322,
-0.005612442269921303,
-0.027202976867556572,
-0.003041596384719014,
0.0558319166302681,
0.010676437057554722,
0.02524684928357601,
0.006462535355240107,
-0.03062163107097149,
-0.08277895301580429,
0.012038414366543293,
0.05557597428560257,
0.009744076989591122,
-0.014003682881593704,
0.028043929487466812,
-0.05089589208364487,
-0.0200366023927927,
-0.0003939107118640095,
0.007440599147230387,
0.02122490294277668,
-0.014753228053450584,
-0.00728977657854557,
0.06489957869052887,
0.0023377558682113886,
0.0042024762369692326,
0.07213907688856125,
-0.023162750527262688,
0.02893972583115101,
-0.030054902657866478,
-0.013053041882812977,
0.0037888556253165007,
0.03071303851902485,
-0.015319956466555595,
-0.027678297832608223,
0.11034756153821945,
-0.03861067816615105,
0.03879349306225777,
0.053491875529289246,
-0.018391260877251625,
0.014734946191310883,
0.04321763291954994,
-0.06585022062063217,
-0.06325423717498779,
-0.03149914741516113,
0.005653575994074345,
-0.008149010129272938,
0.0032495493069291115,
-0.057221315801143646,
-0.036160945892333984,
0.005191965959966183,
-0.04402202367782593,
0.006640780717134476,
0.03204759210348129,
-0.06786119192838669,
0.05363813042640686,
-0.02970755286514759,
0.021188341081142426,
0.033930595964193344,
-0.0034437908325344324,
0.034022003412246704,
-0.011298011057078838,
-0.05352843925356865,
0.02707500569522381,
0.04815365746617317,
0.03751378506422043,
-0.0030484518501907587,
0.05787945166230202,
0.013446095399558544,
0.03897630795836449,
0.023948857560753822,
0.021298030391335487,
0.05857415497303009,
0.011681923642754555,
0.019597843289375305,
0.008203854784369469,
0.030877573415637016,
0.018162740394473076,
0.0605485625565052,
-0.01639856956899166,
-0.025904985144734383,
-0.022778837010264397,
-0.041864797472953796,
0.011809894815087318,
0.06296172738075256,
-0.06021949276328087,
0.022851964458823204,
-0.02700188010931015,
-0.04336388781666756,
-0.005850102752447128,
-0.13455235958099365,
0.006686484441161156,
0.04076790437102318,
0.07590508460998535,
0.042303554713726044,
0.015393082983791828,
-0.04457046836614609,
0.08446085453033447,
0.015191985294222832,
0.009954315610229969,
-0.02226695418357849,
0.0021240899804979563,
0.061864834278821945,
0.00949727650731802,
-0.021096933633089066,
0.007934201508760452,
-0.026654530316591263,
0.07118843495845795,
-0.06153576821088791,
0.003183278487995267,
-0.0006678486242890358,
-0.054881274700164795,
0.02272399328649044,
0.02440589666366577,
-0.057111628353595734,
-0.07338222861289978,
0.011782472021877766,
0.05630723759531975,
-0.036270637065172195,
-0.01318101305514574,
0.009936033748090267,
0.056087858974933624,
-0.005397633649408817,
-0.02515544183552265,
-0.027861114591360092,
0.11787956953048706,
0.015868403017520905,
-0.02402198500931263,
-0.01452470850199461,
-0.013043900951743126,
0.022120701149106026,
0.005420485977083445,
-0.04351013898849487,
-0.036636266857385635,
-0.04504578933119774,
-0.02393057569861412,
-0.013702037744224072,
-0.04171854630112648,
-0.0265448410063982,
-0.022943371906876564,
-0.019396746531128883,
-0.08263269811868668,
0.06848276406526566,
-0.02925051376223564,
0.007659978233277798,
0.08416835218667984,
0.03358324617147446,
-0.01936018280684948,
0.026965316385030746,
0.007500014267861843,
-0.03623407334089279,
-0.0024771529715508223,
-0.008382100611925125,
0.017934221774339676,
0.04672769457101822,
-0.05038401111960411,
-0.03351011872291565,
-0.01635286584496498,
0.04636206477880478,
-0.07363817095756531,
-0.02597811259329319,
-0.03842786327004433,
-0.0057312725111842155,
-0.08694715052843094,
0.01285194419324398,
0.044643595814704895,
0.025575917214155197,
0.013382109813392162,
-0.02634374424815178,
0.043619826436042786,
0.006928715389221907,
0.00453840009868145,
0.0064716762863099575,
-0.007856504991650581,
0.01726694405078888,
-0.009442430920898914,
-0.0521390400826931,
-0.020329106599092484,
0.011672782711684704,
-0.0274589192122221,
-0.02263258397579193,
0.051919661462306976,
-0.02552107349038124,
0.032084155827760696,
0.02875691093504429,
0.03948819264769554,
0.01881173625588417,
-0.015109718777239323,
-0.001611063489690423,
0.02104208804666996,
-0.02177335135638714,
-0.01635286584496498,
0.021846476942300797,
0.03175508975982666,
-0.030987262725830078,
-0.02915910631418228,
-0.05659974366426468,
0.040731340646743774,
0.009287037886679173,
0.0503108836710453,
0.023894013836979866,
-0.006951567251235247,
-0.061974525451660156,
0.03361980989575386,
0.04519204422831535,
-0.012321778573095798,
-0.02707500569522381,
-0.021023806184530258,
-0.029543017968535423,
-0.054698459804058075,
-0.03864724189043045,
0.017074987292289734,
0.03592328727245331,
0.07846450060606003,
0.01191044319421053,
0.04153572767972946,
0.04990869015455246,
-0.046508315950632095,
-0.01772398315370083,
-0.021188341081142426,
-0.03669111430644989,
-0.02802564762532711,
0.005630723666399717,
0.0036745958495885134,
0.024277925491333008,
-0.054223138839006424,
-0.01765085756778717,
-0.03475326672196388,
-0.019670970737934113,
-0.028555814176797867,
0.041206661611795425,
-0.010493621230125427,
0.03550281003117561,
0.010740422643721104,
0.041389476507902145,
-0.0004967445856891572,
-0.028281589969992638,
-0.06471676379442215,
0.018318133428692818,
-0.03835473582148552,
0.009387586265802383,
0.013153590261936188,
-0.003775144461542368,
-0.05645349249243736,
0.018738610669970512,
-0.0274589192122221,
0.016636230051517487,
0.009387586265802383,
-0.051151834428310394,
0.013711177743971348,
-0.06340048462152481,
-0.0050457133911550045,
0.022687429562211037,
0.0041796243749558926,
0.022120701149106026,
0.02067645639181137,
-0.02866550348699093,
-0.06299829483032227,
0.022596022114157677,
0.03638032451272011,
-0.026215773075819016,
-0.006526520941406488,
0.045850180089473724,
-0.026782501488924026,
-0.009026525542140007,
0.0028610657900571823,
0.0419013611972332,
-0.018345557153224945,
0.046691130846738815,
0.005479901097714901,
-0.02420479990541935,
-0.0027445207815617323,
-0.02177335135638714,
-0.014021964743733406,
0.04606955870985985,
0.009862907230854034,
-0.030968980863690376,
0.030987262725830078,
-0.01919564977288246,
0.0875321626663208,
0.028446124866604805,
-0.012678269296884537,
-0.04610612243413925,
-0.020255981013178825,
-0.03332730382680893,
0.043729517608881,
-0.010164553299546242,
0.02447902411222458,
-0.028098775073885918,
-0.03499092534184456,
-0.010000019334256649,
-0.0024337340146303177,
0.00973493605852127,
0.02597811259329319,
-0.027714861556887627,
-0.01888486184179783,
-0.026380306109786034,
-0.04321763291954994,
0.02206585556268692,
-0.036819085478782654,
0.08541149646043777,
-0.030585067346692085,
-0.007998187094926834,
-0.00026751079712994397,
0.031791653484106064,
0.029287077486515045,
0.018665483221411705,
0.048738669604063034,
-0.005612442269921303,
-0.0009729223675094545,
0.04117009788751602,
-0.02513715997338295,
0.0020086877048015594,
0.03703846409916878,
0.06376612186431885,
-0.01276053674519062,
-0.01006400492042303,
0.06585022062063217,
0.00689215213060379,
-0.05067651346325874,
0.021572252735495567,
0.013948838226497173,
-0.005479901097714901,
0.06288860738277435,
0.044277966022491455,
0.04021945595741272,
0.001849866472184658,
0.028884882107377052,
-0.010685577988624573,
-0.02793424017727375,
-0.05323593318462372,
-0.0011985854944214225,
0.03091413713991642,
0.005617012735456228,
0.04581361636519432,
-0.02142600156366825,
0.02515544183552265,
-0.014780649915337563,
-0.0382084846496582,
0.03541140258312225,
-0.002472582506015897,
-0.050054941326379776,
0.03875692933797836,
-0.038866620510816574,
-0.046983636915683746,
-0.055722229182720184,
0.03959788382053375,
0.056380365043878555,
0.0009489277726970613,
-0.0023880302906036377,
-0.041389476507902145,
-0.016042077913880348,
0.021352874115109444,
-0.015566757880151272,
-0.041389476507902145,
-0.06106044724583626,
0.028830036520957947,
-0.004156772047281265,
-0.03828160837292671,
0.035064052790403366,
-0.027312666177749634,
0.0030461668502539396,
-0.01191044319421053,
-0.02261430397629738,
-0.031809933483600616,
0.013409532606601715,
-0.012394905090332031,
-0.02661796659231186,
-0.03612438589334488,
0.02645343355834484,
0.0025959829799830914,
-0.007500014267861843,
0.02524684928357601,
-0.009012814611196518,
-0.0284095611423254,
0.039890386164188385,
0.002506860299035907,
0.0540037602186203,
-0.020164573565125465,
0.06438769400119781,
-0.03839129954576492,
-0.010804408229887486,
0.044351089745759964,
-0.06164545565843582,
0.03773316368460655,
-0.00008490932668792084,
0.010868393816053867,
-0.02413167431950569,
0.026288898661732674,
-0.06727617979049683,
-0.038866620510816574,
0.036179229617118835,
0.0006284289993345737,
0.0018670054851099849,
-0.040365707129240036,
-0.01135285571217537,
-0.02140771970152855,
0.0484095998108387,
-0.03442419692873955,
-0.007413176819682121,
-0.06347361207008362,
0.027129851281642914,
0.012605142779648304,
0.022650865837931633,
0.07232189178466797,
0.01271483302116394,
-0.015164563432335854,
-0.0511883981525898,
0.0781719982624054,
-0.06917746365070343,
0.0382084846496582,
-0.01847352646291256,
-0.015100577846169472,
0.04778802767395973,
-0.010082286782562733,
-0.01415907684713602,
0.01284280326217413,
-0.041937924921512604,
0.018976271152496338,
-0.04676425829529762,
-0.01702014170587063,
-0.003295253263786435,
-0.014725805260241032,
-0.002082956489175558,
-0.005840961821377277,
0.018281571567058563,
-0.022760555148124695,
-0.0632907971739769,
-0.025722170248627663,
0.07766011357307434,
-0.0038734078407287598,
-0.036270637065172195,
-0.05166371911764145,
0.04032914713025093,
0.019798941910266876,
0.016252316534519196,
-0.0065402318723499775,
-0.03201103210449219,
-0.01763257570564747,
-0.0530896820127964,
-0.026489995419979095,
0.0028724917210638523,
0.014479003846645355,
0.003923682030290365,
-0.0344424806535244,
-0.0358501598238945,
0.001665908144786954,
-0.046618007123470306,
0.02533825673162937,
-0.026087801903486252,
0.05378438159823418,
-0.023692915216088295,
-0.002758231945335865,
0.011535671539604664,
-0.04292512685060501,
-0.0014499571407213807,
-0.08153580874204636,
-0.016435131430625916,
0.022742273285984993,
0.028537532314658165,
-0.03510061651468277,
-0.049213990569114685,
-0.01136199664324522,
-0.015667306259274483,
0.009862907230854034,
-0.005091417580842972,
-0.0005801542429253459,
0.04851929098367691,
-0.01783367246389389,
0.029853805899620056,
0.009798921644687653,
-0.0419013611972332,
0.034607015550136566,
0.10998193174600601,
-0.019524717703461647,
-0.06687398999929428,
0.05532003194093704,
0.006809885147958994,
-0.05912259966135025,
0.024552149698138237,
0.01965268887579441,
0.001456812722608447,
0.021480845287442207,
-0.0002933620708063245,
-0.004494981374591589,
-0.029908649623394012,
-0.011700205504894257,
0.019597843289375305,
-0.003608325030654669,
0.026032956317067146,
0.0274589192122221,
0.04274231195449829,
-0.06091419607400894,
-0.03297995403409004,
0.028336435556411743,
0.022303516045212746,
0.05279717594385147,
0.021352874115109444,
-0.004899460822343826,
-0.0633639246225357,
0.009305319748818874,
-0.05791601538658142,
-0.031243205070495605,
0.03427794575691223,
0.09089597314596176,
0.030420534312725067,
0.027879396453499794,
0.04069477692246437,
-0.016691073775291443,
0.019049396738409996,
-0.03592328727245331,
0.015109718777239323,
0.03062163107097149,
0.009424149990081787,
0.01457041222602129,
0.030219437554478645,
0.031243205070495605,
0.0183821190148592,
0.015228549018502235,
0.034698422998189926,
0.07488131523132324,
-0.024442460387945175,
-0.017961643636226654,
0.06299829483032227,
0.012687410227954388,
-0.06106044724583626,
0.0109415203332901,
-0.008318115025758743,
-0.010246820747852325,
-0.03109695203602314,
-0.005795258097350597,
-0.004739497322589159,
0.056672871112823486
]
|
40,618 | pyglove.core.symbolic.dict | __getattr__ | Get attribute that is not defined as property. | def __getattr__(self, name: str) -> Any:
"""Get attribute that is not defined as property."""
if name in self:
return self.sym_inferred(name)
raise AttributeError(
f'Attribute \'{name}\' does not exist in {self.__class__!r}.')
| (self, name: str) -> Any | [
0.07121396064758301,
-0.045418836176395416,
0.06379439681768417,
0.019710388034582138,
0.027008606120944023,
-0.040668927133083344,
0.04992605000734329,
-0.0541212260723114,
0.03706315904855728,
0.02078518457710743,
-0.001521184341982007,
0.01673736236989498,
0.06341301649808884,
0.005963389296084642,
-0.01872226968407631,
0.06531991809606552,
0.002496302593499422,
0.05803903192281723,
0.026679232716560364,
0.022414715960621834,
0.008624378591775894,
0.016156625002622604,
-0.020299794152379036,
-0.04846987500786781,
0.008585373871028423,
0.06694944947957993,
0.025153715163469315,
0.037756577134132385,
0.01765614002943039,
-0.053219784051179886,
-0.03630039840936661,
-0.028204752132296562,
0.03357873484492302,
0.001589442603290081,
0.03470553830265999,
-0.0077836099080741405,
-0.005725027061998844,
0.03931676596403122,
-0.1007535457611084,
-0.05172893404960632,
0.016962721943855286,
0.0395941324532032,
-0.0045982240699231625,
-0.016546672210097313,
-0.00663080345839262,
-0.06504254788160324,
-0.03449751436710358,
0.03734052553772926,
-0.04212510585784912,
-0.0027021607384085655,
0.04444805160164833,
0.032815977931022644,
0.01566256396472454,
0.03493089973926544,
0.006708812899887562,
0.0407729409635067,
-0.03172384575009346,
0.0433385856449604,
-0.009543156251311302,
0.07041653245687485,
-0.035346951335668564,
-0.005707691889256239,
0.04191707819700241,
-0.09423542022705078,
-0.01515983697026968,
-0.05731094628572464,
0.01332228071987629,
0.024633651599287987,
-0.03418547660112381,
0.014743786305189133,
-0.007571250665932894,
0.005490998737514019,
-0.019710388034582138,
0.04590423032641411,
0.035815007984638214,
-0.055334705859422684,
-0.04132767394185066,
-0.031481146812438965,
0.092779241502285,
-0.042090434581041336,
-0.015532548539340496,
0.007363225799053907,
-0.05096617713570595,
-0.0026523214764893055,
-0.05443326383829117,
0.004658897873014212,
-0.022536063566803932,
-0.05762298405170441,
-0.04326924309134483,
0.002200516639277339,
-0.049336645752191544,
0.08161522448062897,
-0.02331615798175335,
0.03226124122738838,
-0.0032698961440473795,
-0.03512158989906311,
0.0534278079867363,
-0.012412170879542828,
0.03636974096298218,
0.023905564099550247,
0.042749181389808655,
0.007675263565033674,
0.04319990053772926,
0.02331615798175335,
0.024373620748519897,
-0.04229845851659775,
0.0025764789897948503,
-0.0482618473470211,
0.0466323159635067,
0.014102376066148281,
0.010652624070644379,
-0.007198539096862078,
-0.044690750539302826,
0.009187780320644379,
0.02839544042944908,
-0.0242522731423378,
-0.0005360441282391548,
-0.04243714362382889,
0.015679899603128433,
0.017560794949531555,
0.033214692026376724,
0.02317747473716736,
-0.03331870585680008,
-0.002132258377969265,
0.051070187240839005,
0.010912655852735043,
-0.038345981389284134,
-0.04593890160322189,
0.0630316361784935,
0.03418547660112381,
0.0038137955125421286,
0.001029833103530109,
-0.02964359149336815,
0.04597357288002968,
0.01342629361897707,
0.08584506809711456,
0.062476903200149536,
0.04763777181506157,
0.03824196755886078,
-0.009855194017291069,
0.0032525607384741306,
-0.028950175270438194,
0.02205067127943039,
-0.05231833830475807,
-0.014648442156612873,
0.023628195747733116,
-0.027615346014499664,
0.058940477669239044,
0.0024551309179514647,
-0.031203782185912132,
-0.04590423032641411,
0.0337347537279129,
-0.013989695347845554,
-0.012914898805320263,
0.026228511705994606,
0.041709054261446,
-0.05269971862435341,
0.02026512287557125,
-0.02791004814207554,
-0.04430937021970749,
-0.029435567557811737,
-0.0035364285577088594,
-0.04805382341146469,
-0.07898023724555969,
0.030215661972761154,
-0.002615483710542321,
0.02451230399310589,
-0.01945035718381405,
0.03236525505781174,
0.030024971812963486,
-0.06726148724555969,
-0.022674748674035072,
0.019485028460621834,
0.025015031918883324,
0.023021455854177475,
0.05630549043416977,
-0.03057970479130745,
0.057935021817684174,
0.03437616676092148,
-0.005820372141897678,
0.01152806356549263,
-0.04524548351764679,
-0.06830161064863205,
-0.054537273943424225,
0.047880470752716064,
0.0438239760696888,
-0.016043944284319878,
0.0016208630986511707,
-0.016624681651592255,
0.06500788033008575,
0.009170444682240486,
-0.0065311249345541,
0.029400896281003952,
0.021409261971712112,
-0.00024201891210395843,
-0.02399224042892456,
-0.009187780320644379,
0.01879161037504673,
0.010037216357886791,
0.06642938405275345,
0.006344768684357405,
0.040807612240314484,
-0.042541153728961945,
0.09707842767238617,
-0.033353373408317566,
-0.033890772610902786,
0.04257582500576973,
-0.036681778728961945,
-0.041084978729486465,
-0.014934476464986801,
-0.04424002766609192,
0.0049275970086455345,
0.04458673670887947,
0.029504908248782158,
0.027008606120944023,
0.0407729409635067,
0.0011961449636146426,
-0.018340889364480972,
0.01056594680994749,
0.06792023032903671,
0.07856418937444687,
0.00943047646433115,
0.04677100107073784,
0.019831737503409386,
0.05193696171045303,
-0.022293368354439735,
-0.028828827664256096,
-0.033353373408317566,
-0.05724160373210907,
-0.029071522876620293,
0.02385355718433857,
0.010765304788947105,
0.024078918620944023,
0.026748575270175934,
0.01659001037478447,
-0.0005709858378395438,
-0.00010049134289147332,
0.00995920691639185,
-0.02413092367351055,
-0.0012470678193494678,
-0.022085342556238174,
0.021426595747470856,
-0.03331870585680008,
0.06511189043521881,
-0.0017703812336549163,
-0.0025504757650196552,
0.021166564896702766,
0.07135264575481415,
-0.04257582500576973,
-0.02659255638718605,
0.05744962766766548,
0.007120529655367136,
-0.02652321383357048,
0.004771578125655651,
0.017621468752622604,
-0.07787077128887177,
-0.08307140320539474,
-0.021079888567328453,
0.0482618473470211,
0.0026089828461408615,
-0.036092374473810196,
0.001532018999569118,
0.02239738032221794,
0.062338221818208694,
0.00873272493481636,
-0.024945689365267754,
-0.00022590237495023757,
0.03650842234492302,
-0.052075643092393875,
0.011207357980310917,
-0.04129300266504288,
-0.046216268092393875,
0.014752454124391079,
0.008082645945250988,
-0.0029968630988150835,
-0.005308976862579584,
0.015688568353652954,
0.039490118622779846,
-0.03217456489801407,
0.009482482448220253,
0.02584713138639927,
-0.008810734376311302,
0.01099933311343193,
0.035606980323791504,
-0.06057000532746315,
0.010236573405563831,
0.0005959055270068347,
-0.03571099415421486,
-0.008481360971927643,
0.004905927926301956,
0.10248708724975586,
-0.016754696145653725,
0.018964964896440506,
0.005183294881135225,
0.05477997288107872,
0.002394456882029772,
-0.01832355372607708,
-0.0048279184848070145,
0.026939265429973602,
-0.0036621105391532183,
0.041951749473810196,
0.055404048413038254,
-0.028014061972498894,
0.008112982846796513,
-0.03543362766504288,
-0.022016001865267754,
0.009335131384432316,
0.01932900957763195,
-0.02879415638744831,
0.0047455751337111,
0.017690811306238174,
0.0379646010696888,
-0.03699381649494171,
0.04742974787950516,
0.04302654787898064,
0.022154685109853745,
-0.02359352633357048,
0.014206388033926487,
0.011372044682502747,
0.08577572554349899,
-0.03493089973926544,
0.0251883864402771,
-0.017907503992319107,
-0.015298520214855671,
-0.03945544734597206,
0.008182324469089508,
-0.01619129627943039,
0.0035841010976582766,
-0.021842647343873978,
0.0104272635653615,
-0.0049275970086455345,
-0.028170080855488777,
-0.0034150804858654737,
-0.020022425800561905,
-0.049475327134132385,
-0.007341556251049042,
0.009716510772705078,
0.03557230904698372,
0.04378930479288101,
-0.006184415891766548,
0.004494211170822382,
0.03071838989853859,
-0.00789629016071558,
0.012152139097452164,
-0.00047862049541436136,
0.02711261808872223,
0.011545399203896523,
0.023628195747733116,
0.06486919522285461,
-0.03858867660164833,
0.002064000116661191,
-0.05488398298621178,
-0.012013455852866173,
0.013105588033795357,
0.004394532646983862,
-0.005178960971534252,
-0.012724208645522594,
0.036161717027425766,
-0.029418231919407845,
-0.00021791183098684996,
0.00832967646420002,
-0.013053582049906254,
-0.038415320217609406,
-0.033284034579992294,
-0.03406412899494171,
-0.004546217620372772,
-0.014154382050037384,
0.009967874735593796,
-0.020490482449531555,
-0.0281180739402771,
-0.06663741171360016,
-0.01572323963046074,
-0.0014897638466209173,
-0.03591901808977127,
0.010375257581472397,
0.03517359495162964,
0.022310703992843628,
0.0012849890626966953,
0.026089828461408615,
0.04905927926301956,
0.00952582061290741,
0.011016668751835823,
-0.0052439686842262745,
0.05457194522023201,
0.03489622846245766,
-0.02792738378047943,
-0.05516134947538376,
-0.03571099415421486,
0.01686737686395645,
0.04729106277227402,
-0.009837858378887177,
-0.05297708511352539,
-0.03243459761142731,
-0.005031609907746315,
-0.014709115959703922,
-0.07232343405485153,
-0.01402436662465334,
-0.06400242447853088,
-0.029227541759610176,
0.014501090161502361,
0.017768820747733116,
-0.0032200568821281195,
-0.015896592289209366,
0.025812461972236633,
-0.00879339873790741,
0.03706315904855728,
0.01712740957736969,
-0.004589556250721216,
-0.030666382983326912,
-0.021963994950056076,
-0.004476875998079777,
0.027285972610116005,
-0.04032221809029579,
-0.04299187660217285,
0.04656297713518143,
0.011727421544492245,
0.07585985958576202,
-0.0707632452249527,
0.006821493152529001,
-0.006093405187129974,
0.010825978592038155,
-0.039282094687223434,
0.019502364099025726,
-0.009612497873604298,
0.0004948724526911974,
0.01022790651768446,
-0.01032325066626072,
0.029747605323791504,
-0.009187780320644379,
0.05165959522128105,
-0.0109559940174222,
0.009092435240745544,
-0.009144441224634647,
-0.04912862181663513,
0.0433385856449604,
-0.049405988305807114,
-0.02551775984466076,
-0.05845508351922035,
-0.04042623192071915,
-0.010747969150543213,
-0.03799927234649658,
0.019779730588197708,
-0.0019827403593808413,
0.07017383724451065,
-0.03205321729183197,
-0.05769232288002968,
-0.007657927926629782,
0.05845508351922035,
0.06088204309344292,
-0.08161522448062897,
-0.003935143351554871,
0.00852903351187706,
0.05429457873106003,
-0.02092386968433857,
0.01056594680994749,
-0.03531228005886078,
-0.016347315162420273,
-0.04479476064443588,
0.023437507450580597,
0.02052515372633934,
-0.05748429894447327,
0.04538416489958763,
-0.04105030745267868,
-0.07599854469299316,
-0.03598836064338684,
0.033214692026376724,
0.012195478193461895,
0.004780245944857597,
-0.051070187240839005,
-0.00832967646420002,
0.056686870753765106,
-0.044413380324840546,
0.012845556251704693,
-0.035815007984638214,
-0.03111710399389267,
-0.006509455386549234,
-0.05644417181611061,
0.040148865431547165,
-0.0011874772608280182,
-0.05464128777384758,
-0.024078918620944023,
0.0022341040894389153,
-0.01626930572092533,
-0.005664353258907795,
0.016494665294885635,
0.013799005188047886,
-0.02825675718486309,
0.00889307726174593,
0.038345981389284134,
-0.04056491702795029,
-0.002704327693209052,
0.07343290001153946,
0.03344005346298218,
0.015142501331865788,
0.00579436868429184,
0.009187780320644379,
0.002966526197269559,
-0.012342829257249832,
0.030545035377144814,
0.010505273006856441,
-0.029210206121206284,
-0.039420776069164276,
0.03149848431348801,
0.03090907819569111,
0.01600060611963272,
-0.0033024002332240343,
0.00013516221952158958,
0.03434149548411369,
0.0379646010696888,
-0.031758517026901245,
0.009447811171412468,
0.010019880719482899,
0.02959158644080162,
0.027875378727912903,
0.05391319841146469,
-0.050688810646533966,
0.006518123205751181,
-0.021426595747470856,
-0.007588586304336786,
0.03019832633435726,
0.031481146812438965,
-0.03071838989853859,
-0.07322487235069275,
-0.03347472473978996,
-0.04184773936867714,
0.012186810374259949,
-0.0023966238368302584,
-0.0029578583780676126,
-0.023610861971974373,
-0.0025223055854439735,
0.029158199205994606,
-0.0034800884313881397,
-0.010175899602472782,
0.04642429202795029,
0.021305248141288757,
0.08126851171255112,
-0.09049096703529358,
0.003434582846239209,
-0.04035688936710358,
0.04278385266661644,
0.0747503936290741,
-0.0040088193491101265,
0.018288882449269295,
0.05876712128520012,
-0.009014425799250603,
-0.04396266117691994,
-0.0983959212899208,
-0.0016620347741991282,
0.04004485160112381,
0.0004488252161536366,
-0.0227267537266016,
0.026939265429973602,
-0.043754637241363525,
-0.04205576330423355,
0.017300764098763466,
-0.005798702593892813,
0.020091768354177475,
-0.02005709707736969,
-0.0072332099080085754,
0.04895526543259621,
0.006388107314705849,
-0.014917140826582909,
0.08487428724765778,
-0.005569008179008961,
-0.025205722078680992,
0.015714570879936218,
-0.0072895498014986515,
0.0075539154931902885,
0.002509304089471698,
-0.06282361596822739,
-0.004340359475463629,
0.020819855853915215,
0.004340359475463629,
0.004253682214766741,
0.023402836173772812,
0.053878530859947205,
0.024546975269913673,
0.013174929656088352,
-0.019034307450056076,
-0.05089683458209038,
0.008004636503756046,
-0.007848617620766163,
-0.0981879010796547,
-0.030007636174559593,
-0.06171414628624916,
-0.08556770533323288,
0.0012470678193494678,
-0.0020867527928203344,
-0.03324936330318451,
-0.06726148724555969,
-0.07481973618268967,
-0.07156067341566086,
0.002567811170592904,
-0.015229178592562675,
0.016980057582259178,
0.03619638457894325,
-0.004344693385064602,
0.0055170017294585705,
0.0014930142788216472,
-0.022345375269651413,
0.002693493152037263,
0.0022070175036787987,
0.04035688936710358,
0.024737663567066193,
0.04892059415578842,
0.011623408645391464,
-0.004676233511418104,
-0.006483452394604683,
-0.04444805160164833,
-0.01262886356562376,
-0.005595011170953512,
0.031151775270700455,
0.000629492977168411,
0.0627889409661293,
0.007913625799119473,
-0.012108800932765007,
-0.03344005346298218,
0.04923263192176819,
-0.023801550269126892,
-0.004097663331776857,
-0.016087282449007034,
-0.009612497873604298,
-0.03578033670783043,
0.019086312502622604,
-0.03546829894185066,
0.006305763963609934,
0.044274698942899704,
-0.03623105585575104,
-0.020906534045934677,
-0.011372044682502747,
-0.00489726010710001,
-0.013963691890239716,
0.04136234521865845,
-0.06317032128572464,
-0.02671390399336815,
0.0018418899271637201,
0.04736040532588959,
0.0015287685673683882,
-0.022778760641813278,
0.03740986809134483,
-0.022432051599025726,
-0.007237543817609549,
-0.0735715851187706,
0.04396266117691994,
-0.04229845851659775,
0.03713250160217285,
-0.05016874521970749,
-0.04898993670940399,
0.02539641037583351,
0.01586192287504673,
-0.05075814947485924,
-0.020837191492319107,
0.004123666323721409,
0.007701266556978226,
0.04396266117691994,
-0.06507722288370132,
-0.057276275008916855,
-0.02345484308898449,
0.017430778592824936,
-0.029695598408579826,
-0.055265363305807114,
-0.0438239760696888,
-0.061263423413038254,
0.024026911705732346,
0.04326924309134483,
-0.015497878193855286,
-0.05932185426354408,
-0.05439859256148338,
0.02619384042918682,
0.004507212899625301,
0.03824196755886078,
0.07114461809396744,
0.011909442953765392,
-0.0630316361784935,
-0.05339313670992851,
0.009889865294098854,
0.02797939069569111,
-0.07377960532903671,
0.04711771011352539,
-0.00905776396393776,
-0.0327986404299736,
-0.023558855056762695,
-0.04157036915421486,
0.011016668751835823,
-0.030753059312701225,
0.004080327693372965,
0.058212388306856155,
-0.0245989803224802,
0.0463896207511425,
-0.07024317979812622,
-0.02331615798175335,
-0.027233967557549477,
-0.01142405066639185,
0.08563704788684845,
-0.019346345216035843,
-0.095136858522892,
-0.014093708246946335,
-0.0022319371346384287,
0.020542489364743233,
0.016373317688703537,
0.03973281383514404,
0.01079130731523037,
-0.0007589669548906386,
-0.03383876755833626,
-0.006349102593958378,
0.04482943192124367,
0.018618255853652954,
0.011077342554926872,
-0.010279912501573563,
-0.03139447048306465,
-0.02626318298280239,
0.035208266228437424,
-0.021010546013712883,
-0.06715746968984604,
0.05911383032798767,
-0.016243301331996918,
-0.022640077397227287,
0.04684034362435341,
-0.04323457181453705,
0.03997551277279854,
0.01739610731601715,
0.026367194950580597,
0.009664504788815975,
-0.019693052396178246,
-0.02565644308924675,
0.026887258514761925,
-0.04996072128415108,
-0.027355315163731575,
0.002645820612087846,
0.047568429261446,
0.07232343405485153,
0.05252636596560478,
0.03272929787635803,
0.0728781670331955,
0.020161109045147896,
0.013452297076582909,
0.006669808179140091,
0.014518425799906254,
-0.004377197008579969,
0.06920305639505386,
-0.019762394949793816,
0.058663107454776764,
-0.022744089365005493,
0.022414715960621834,
0.03734052553772926,
0.01746544986963272,
-0.015497878193855286,
0.07703866809606552,
0.01867026276886463,
0.00826466828584671,
0.03245193138718605,
0.017413442954421043,
-0.007458570413291454,
0.04566153511404991,
0.06792023032903671,
-0.041015636175870895,
-0.00541732320562005,
-0.04496811702847481,
0.012412170879542828,
-0.031065097078680992,
-0.07468105107545853,
0.03538162261247635,
-0.04344259947538376,
0.04978736490011215,
0.0022341040894389153,
0.004320857115089893,
-0.019346345216035843,
0.042818523943424225
]
|
40,619 | pyglove.core.symbolic.dict | __getitem__ | Get item in this Dict. | def __getitem__(self, key: str) -> Any:
"""Get item in this Dict."""
try:
return self.sym_inferred(key)
except AttributeError as e:
raise KeyError(key) from e
| (self, key: str) -> Any | [
0.06390946358442307,
-0.05816909298300743,
-0.02809302695095539,
0.0028984523378312588,
0.021082816645503044,
0.0013361582532525063,
0.03959116339683533,
-0.011219816282391548,
0.08113057911396027,
-0.053750745952129364,
-0.008180028758943081,
0.03362465649843216,
0.05663832649588585,
-0.023048458620905876,
-0.054690077900886536,
0.029971694573760033,
0.0004612409684341401,
0.09943018108606339,
-0.0202652495354414,
0.0036420912947505713,
-0.02343115024268627,
-0.004194384440779686,
0.053820326924324036,
-0.027031928300857544,
-0.014272649772465229,
0.02713629975914955,
0.06390946358442307,
-0.0025722950231283903,
0.07786030322313309,
-0.0563947968184948,
-0.03440743684768677,
-0.04105234891176224,
-0.0032028660643845797,
0.07577289640903473,
-0.002320066560059786,
-0.017099346965551376,
-0.010323970578610897,
0.0049097565934062,
-0.020143482834100723,
-0.007188510149717331,
0.004522716626524925,
0.0030310899019241333,
0.050028201192617416,
-0.049506351351737976,
-0.0034007348585873842,
0.006570985075086355,
-0.028249582275748253,
0.02042180486023426,
0.005414213519543409,
-0.018403977155685425,
0.01759510673582554,
-0.020752310752868652,
-0.009715142659842968,
-0.021656854078173637,
-0.02682318724691868,
0.029971694573760033,
-0.030580520629882812,
0.01863011345267296,
-0.018334396183490753,
0.059247586876153946,
-0.004927151836454868,
-0.026701422408223152,
-0.030197830870747566,
0.009088920429348946,
0.024092162027955055,
-0.05475965887308121,
-0.015577279031276703,
0.003552941605448723,
-0.0035855574533343315,
-0.04021738842129707,
0.02233526110649109,
-0.019830372184515,
-0.06091751158237457,
0.007362460717558861,
0.027345038950443268,
-0.049610719084739685,
-0.06853654980659485,
-0.06561417877674103,
0.04741894453763962,
-0.016046946868300438,
-0.0120199890807271,
-0.018577927723526955,
-0.07619037479162216,
-0.008393118157982826,
-0.04755810275673866,
0.00810609944164753,
0.025918643921613693,
-0.025831669569015503,
-0.02645789086818695,
0.04272227734327316,
-0.02438787929713726,
0.02223089151084423,
-0.041504621505737305,
0.04540111497044563,
0.004514019005000591,
-0.029780348762869835,
0.06366593390703201,
-0.08189595490694046,
0.016873210668563843,
0.005114148836582899,
0.06126541271805763,
0.0020482686813920736,
0.03247658163309097,
0.008884528651833534,
-0.015368538908660412,
-0.02922370657324791,
0.005275052972137928,
-0.008867133408784866,
-0.00437485845759511,
-0.013524661771953106,
-0.03809518739581108,
0.0012111313408240676,
-0.05510756000876427,
0.03962595388293266,
-0.011185025796294212,
0.022196101024746895,
-0.011906920932233334,
-0.008493139408528805,
0.006936281453818083,
0.044600941240787506,
0.0013046297244727612,
0.013437686488032341,
-0.05093274638056755,
0.01689930446445942,
0.06815385818481445,
-0.005992599297314882,
-0.03033699095249176,
-0.014168279245495796,
0.035799041390419006,
0.028162607923150063,
0.032963644713163376,
0.012846254743635654,
-0.0295542124658823,
0.04919324070215225,
0.025448977947235107,
0.06871049851179123,
0.02913673035800457,
0.04268748685717583,
-0.0222482867538929,
0.04310496896505356,
0.05587294325232506,
-0.018299607560038567,
-0.008984549902379513,
-0.005462049972265959,
-0.008819296956062317,
-0.029014965519309044,
-0.029954299330711365,
0.0255881380289793,
0.00730157783254981,
-0.030371781438589096,
-0.038930151611566544,
0.0546552911400795,
-0.0077799418941140175,
0.04018259793519974,
-0.0007670135819353163,
0.009515100158751011,
-0.028893200680613518,
0.014942359179258347,
-0.016516612842679024,
-0.019412890076637268,
-0.012533143162727356,
-0.04881054908037186,
-0.019499866291880608,
-0.06001297011971474,
-0.014933661557734013,
0.011602506972849369,
0.00001999412961595226,
0.004583599045872688,
0.03767770901322365,
0.025205446407198906,
-0.04783642292022705,
-0.03536416217684746,
-0.06971941143274307,
-0.005344633013010025,
0.05413343757390976,
0.031067583709955215,
-0.0700325220823288,
0.05938674509525299,
0.02809302695095539,
-0.02645789086818695,
0.040391337126493454,
-0.013585544191300869,
-0.08711447566747665,
-0.04487926512956619,
0.017038464546203613,
0.07563373446464539,
0.01081103179603815,
0.027727730572223663,
0.011759063228964806,
0.09462914615869522,
-0.0175081305205822,
-0.010289180092513561,
0.022544002160429955,
0.0002257281303172931,
-0.0016057818429544568,
-0.026666631922125816,
-0.008958457969129086,
0.010828427039086819,
-0.05531630292534828,
0.10652736574411392,
-0.005109800025820732,
-0.009062828496098518,
-0.015238075517117977,
0.09497704356908798,
-0.04303538799285889,
-0.012298310175538063,
0.053750745952129364,
-0.025101076811552048,
-0.04380077123641968,
0.007384204305708408,
-0.0718763992190361,
-0.04491405561566353,
0.03157204017043114,
0.0032941901590675116,
0.03812997788190842,
0.006083923391997814,
-0.0255881380289793,
-0.02887580543756485,
-0.00797998532652855,
0.03411171957850456,
0.10270045697689056,
-0.03726022690534592,
0.05023694410920143,
0.016412243247032166,
0.06446610391139984,
-0.03868662193417549,
-0.019291125237941742,
-0.0099151860922575,
-0.05430738627910614,
-0.008958457969129086,
0.056673116981983185,
0.004272662568837404,
0.044253040105104446,
-0.00431397557258606,
0.06196121498942375,
-0.04303538799285889,
0.005827346350997686,
-0.013802982866764069,
0.06627519428730011,
0.026353521272540092,
0.002147203078493476,
0.06366593390703201,
-0.02275274321436882,
0.0498194620013237,
-0.03802561014890671,
0.02266576699912548,
0.026405707001686096,
0.08655783534049988,
-0.04289622604846954,
-0.0058882287703454494,
0.07097186148166656,
0.026492681354284286,
0.021848199889063835,
0.018056076020002365,
0.02490973100066185,
-0.016447031870484352,
-0.06342240422964096,
-0.01756901480257511,
0.034424830228090286,
-0.026875372976064682,
-0.06836260110139847,
0.04216563329100609,
0.012089569121599197,
0.0361817330121994,
-0.034685757011175156,
0.02070012502372265,
0.03729501739144325,
0.06505753844976425,
-0.011167630553245544,
0.02395300194621086,
0.005870833992958069,
0.025831669569015503,
0.019586840644478798,
-0.003596429480239749,
0.028493113815784454,
0.05956069752573967,
0.04432262107729912,
0.0503065250813961,
-0.012724488973617554,
0.025240236893296242,
0.005444654729217291,
-0.01920415088534355,
-0.04696667194366455,
0.02129155769944191,
-0.04025217518210411,
0.0260230153799057,
-0.0025440279860049486,
-0.007819080725312233,
0.042443953454494476,
0.0009616208262741566,
0.0484626479446888,
0.004687969572842121,
0.006375290919095278,
0.04620128870010376,
-0.0017753837164491415,
0.016873210668563843,
-0.0810609981417656,
-0.015620767138898373,
0.07493793219327927,
0.025014100596308708,
0.047592893242836,
0.017647292464971542,
-0.034964077174663544,
0.014359625056385994,
0.004120455589145422,
-0.006931932643055916,
0.05051526427268982,
0.028858410194516182,
-0.05058484524488449,
0.01768208108842373,
-0.028058236464858055,
0.009976068511605263,
-0.011019772849977016,
0.07208514213562012,
-0.018943224102258682,
-0.026562262326478958,
-0.07918232679367065,
0.0180908665060997,
0.00852792989462614,
0.10562282800674438,
-0.04345287010073662,
0.002811477053910494,
-0.021343743428587914,
-0.017629897221922874,
0.009210686199367046,
-0.026701422408223152,
-0.00879755336791277,
-0.04543590545654297,
0.02035222388803959,
0.042270004749298096,
0.015081520192325115,
-0.04380077123641968,
-0.011524229310452938,
-0.014716223813593388,
-0.058899685740470886,
0.014942359179258347,
0.001668838900513947,
0.04686230048537254,
0.005414213519543409,
-0.03205910325050354,
-0.002909324364736676,
-0.03924326226115227,
0.02654486708343029,
0.011272001080214977,
0.028597483411431313,
-0.016238290816545486,
0.02696234919130802,
-0.02870185486972332,
0.04613170772790909,
-0.0498194620013237,
-0.013733402825891972,
-0.03312020003795624,
0.03565987944602966,
0.0157686248421669,
0.015638161450624466,
-0.002210260136052966,
0.01341159362345934,
-0.01547290850430727,
-0.03746896609663963,
-0.028597483411431313,
0.08314840495586395,
-0.01266360655426979,
-0.05869094282388687,
-0.027605965733528137,
-0.047627683728933334,
-0.025240236893296242,
-0.0018590973922982812,
0.011272001080214977,
-0.0043226731941103935,
-0.04491405561566353,
-0.01670795865356922,
-0.022004755213856697,
-0.04853222519159317,
0.0001939277717610821,
-0.005670790560543537,
0.0007251566858030856,
0.039347633719444275,
0.0520460307598114,
-0.0057969046756625175,
0.00021730239677708596,
0.03499886766076088,
0.01955205202102661,
0.011185025796294212,
0.06871049851179123,
0.012707093730568886,
-0.0175081305205822,
-0.015559883788228035,
0.0027114555705338717,
0.021517693996429443,
0.03851266950368881,
-0.03059791587293148,
-0.05110669508576393,
-0.01791691593825817,
0.0384083017706871,
-0.02146550826728344,
-0.051837287843227386,
0.04533153399825096,
-0.08614035695791245,
-0.07841694355010986,
0.036425262689590454,
0.05430738627910614,
-0.004587947856634855,
-0.04487926512956619,
0.044009510427713394,
0.04091319069266319,
0.00035442441003397107,
-0.013333315961062908,
0.007688618265092373,
-0.023239804431796074,
-0.014116093516349792,
0.008349630050361156,
0.009193290956318378,
-0.0370514839887619,
-0.04647960886359215,
-0.006823213770985603,
0.00810609944164753,
-0.011037168093025684,
0.0033963860478252172,
-0.03484231233596802,
0.027971262112259865,
0.02388342283666134,
-0.09595116972923279,
-0.005453352350741625,
-0.0019482470816001296,
-0.0196390263736248,
-0.016951490193605423,
-0.007088488433510065,
-0.009428123943507671,
0.010297877714037895,
-0.00917589571326971,
-0.024770570918917656,
-0.04146983101963997,
0.01887364313006401,
-0.024892335757613182,
0.035381559282541275,
-0.04811474680900574,
-0.035903409123420715,
-0.033241964876651764,
-0.010602290742099285,
0.016255686059594154,
-0.006423127371817827,
0.036077361553907394,
0.0048227813094854355,
0.047279782593250275,
-0.014803199097514153,
-0.03367684409022331,
0.0038617041427642107,
0.04842785745859146,
0.05549025163054466,
-0.07792988419532776,
0.00033268058905377984,
-0.0071450225077569485,
0.06575334072113037,
0.024596620351076126,
0.03543374314904213,
-0.034250881522893906,
-0.038930151611566544,
0.0025070635601878166,
0.05058484524488449,
0.017177624627947807,
-0.03499886766076088,
0.02861487865447998,
-0.03466835990548134,
-0.0718763992190361,
-0.0297455582767725,
0.05475965887308121,
0.014690130949020386,
0.019099779427051544,
-0.021239371970295906,
-0.022370051592588425,
-0.0053968182764947414,
-0.004129153210669756,
-0.016003457829356194,
-0.06314408034086227,
-0.030580520629882812,
0.0027266761753708124,
0.0013252863427624106,
0.03508584201335907,
-0.004183512646704912,
-0.040634866803884506,
0.008845389820635319,
-0.04665356129407883,
-0.0017775580054149032,
-0.004922803025692701,
0.002237440086901188,
0.015359841287136078,
-0.01559467427432537,
0.04094797745347023,
-0.020230459049344063,
0.023796446621418,
0.00676667969673872,
0.02767554670572281,
0.015881692990660667,
0.03945200517773628,
0.04508800432085991,
0.005122845992445946,
-0.019343310967087746,
0.015542489476501942,
0.017029767856001854,
-0.010524013079702854,
0.017377668991684914,
-0.0120199890807271,
0.010202204808592796,
0.03405953571200371,
0.006871050223708153,
-0.0484626479446888,
-0.006553590297698975,
0.047592893242836,
0.01197650097310543,
-0.07403338700532913,
0.007079790811985731,
0.01030657533556223,
0.042965807020664215,
-0.01776036061346531,
0.07111101597547531,
-0.0047358060255646706,
-0.025831669569015503,
-0.02972816303372383,
-0.016403544694185257,
0.05110669508576393,
0.05034131184220314,
-0.04146983101963997,
-0.0024483550805598497,
-0.00607522577047348,
-0.008066960610449314,
-0.0028701855335384607,
-0.003983469679951668,
-0.014185674488544464,
-0.0005128826014697552,
0.05082837492227554,
-0.038825780153274536,
0.002029786352068186,
-0.01782993972301483,
0.036251313984394073,
0.010976284742355347,
0.0444965735077858,
0.0023722518235445023,
-0.011776457540690899,
-0.034685757011175156,
0.034946683794260025,
0.02878882922232151,
0.007401599548757076,
0.033902980387210846,
-0.03799081966280937,
0.07058916985988617,
-0.031345903873443604,
-0.08412252366542816,
-0.01482059434056282,
-0.007592945359647274,
0.0077016642317175865,
-0.06185684725642204,
0.001818871358409524,
0.015542489476501942,
0.01271579135209322,
-0.0017721221083775163,
-0.009384636767208576,
0.0005487598828040063,
-0.023987792432308197,
-0.015812112018465996,
0.03397255763411522,
0.015638161450624466,
-0.01068926602602005,
0.053054943680763245,
0.019778186455368996,
-0.020821891725063324,
-0.015420723706483841,
-0.041922103613615036,
0.00704934960231185,
0.02784949727356434,
-0.03449441120028496,
-0.013776890002191067,
-0.008649695664644241,
0.03092842362821102,
0.0262143611907959,
-0.011437254026532173,
0.025744693353772163,
-0.019708607345819473,
0.004535762593150139,
-0.023987792432308197,
-0.07368548959493637,
-0.027640756219625473,
0.039869483560323715,
0.021152397617697716,
0.04592296853661537,
-0.0071450225077569485,
-0.02878882922232151,
-0.003787775058299303,
-0.0016851468244567513,
-0.04129588231444359,
-0.04268748685717583,
-0.04070444777607918,
-0.08982811123132706,
-0.005927368067204952,
0.007149370852857828,
0.06641434878110886,
0.0019699910189956427,
-0.033589866012334824,
0.008993247523903847,
0.0034768383484333754,
-0.038999732583761215,
-0.011785155162215233,
-0.013333315961062908,
0.06460526585578918,
0.004324847832322121,
0.06095230206847191,
0.02431829832494259,
0.05622084438800812,
0.022804928943514824,
0.013872562907636166,
-0.08085225522518158,
-0.03816476836800575,
-0.020056508481502533,
0.009680353105068207,
0.03407692909240723,
-0.0009589028777554631,
-0.032789696007966995,
0.002883231732994318,
0.030371781438589096,
-0.007601642515510321,
0.0043313708156347275,
-0.039347633719444275,
-0.0015525093767791986,
-0.05886489525437355,
0.044079091399908066,
-0.005688185803592205,
-0.014246556907892227,
0.06067398190498352,
-0.004914105404168367,
-0.015490303747355938,
-0.046236079186201096,
-0.01248965598642826,
0.02715369313955307,
0.07959981262683868,
-0.01108065526932478,
-0.03875620290637016,
0.0255881380289793,
0.050897955894470215,
0.00974123552441597,
-0.0067188432440161705,
0.0969252958893776,
-0.031676411628723145,
0.006318756844848394,
-0.04390513896942139,
0.07577289640903473,
-0.0022048242390155792,
0.027814706787467003,
-0.035207606852054596,
-0.02190038561820984,
0.07591205835342407,
0.027171088382601738,
-0.018664903938770294,
0.0020319607574492693,
-0.05211561173200607,
-0.006653611548244953,
0.02327459491789341,
-0.051245857030153275,
-0.002270055701956153,
-0.07058916985988617,
-0.05622084438800812,
0.0043270220048725605,
-0.03694711625576019,
-0.0257794838398695,
-0.10402248054742813,
-0.03746896609663963,
0.04056528955698013,
-0.05722975730895996,
-0.06954546272754669,
-0.030911028385162354,
0.03092842362821102,
-0.022874508053064346,
0.051941659301519394,
-0.02818000316619873,
-0.024857545271515846,
-0.034355249255895615,
-0.03680795431137085,
-0.00704934960231185,
0.04160899296402931,
0.0010839299065992236,
0.03334633633494377,
-0.02482275478541851,
0.03670358285307884,
-0.016255686059594154,
-0.02414434775710106,
0.04637523740530014,
-0.06324844807386398,
0.02663184143602848,
0.007962590083479881,
-0.016864513978362083,
-0.0007246130844578147,
-0.08558370918035507,
0.02430090308189392,
-0.04842785745859146,
-0.0031985172536224127,
-0.00472275959327817,
-0.060987092554569244,
-0.06968462467193604,
-0.03659921512007713,
-0.019117174670100212,
0.011872130446135998,
0.016342662274837494,
-0.006157852243632078,
0.013907353393733501,
0.020752310752868652,
-0.028510509058833122,
-0.0010616424260661006,
-0.002611433854326606,
-0.024335693567991257,
0.041504621505737305,
-0.024266112595796585,
-0.04404430091381073,
-0.019325915724039078,
-0.006449219770729542,
0.0017819068161770701,
-0.04428783059120178,
0.032093893736600876,
-0.014394414611160755,
-0.022039545699954033,
0.020404409617185593,
-0.010941495187580585,
0.022022150456905365,
0.021778618916869164,
-0.046410027891397476,
0.030458755791187286,
0.04028696566820145,
0.0222482867538929,
-0.004213954322040081,
-0.0048314789310097694,
-0.03552072122693062,
-0.04877575859427452,
0.11272001266479492,
0.07292010635137558,
-0.008249608799815178,
-0.0036812303587794304,
0.01767338439822197,
-0.013576846569776535,
-0.02920631133019924,
-0.018125656992197037,
0.011567717418074608,
0.056742697954177856,
0.0850270688533783,
-0.015272866003215313,
0.06648392975330353,
-0.033659446984529495,
-0.0012611420825123787,
0.02216131053864956,
-0.0180908665060997,
-0.0038356115110218525,
0.02939765714108944,
0.016960186883807182,
0.015742532908916473,
0.018821459263563156,
0.0753554180264473,
0.015716439113020897,
0.06189163401722908,
0.05148938670754433,
-0.05121106654405594,
-0.015290260314941406,
-0.004194384440779686,
0.036425262689590454,
0.0005324520170688629,
-0.06557939201593399,
-0.01878666877746582,
-0.03708627447485924,
0.04644481837749481,
-0.06557939201593399,
-0.02811042219400406,
0.00035958856460638344,
0.024892335757613182
]
|
40,620 | pyglove.core.symbolic.dict | __getstate__ | Customizes pickle.dump. | def __getstate__(self) -> Any:
"""Customizes pickle.dump."""
return dict(value=dict(self), kwargs=self._init_kwargs())
| (self) -> Any | [
0.0056574102491140366,
-0.04138888046145439,
-0.011044589802622795,
0.00828562118113041,
-0.016954796388745308,
-0.009693436324596405,
-0.04790928587317467,
0.029010571539402008,
0.03654216229915619,
-0.05613824352622032,
-0.03136419132351875,
0.03458952531218529,
-0.0452941469848156,
0.03933164104819298,
-0.007335455156862736,
0.025331946089863777,
-0.025401683524250984,
0.03675137087702751,
-0.030736560001969337,
0.02738918736577034,
0.011506596580147743,
-0.006686029955744743,
0.03329939395189285,
0.051152054220438004,
-0.007361606694757938,
-0.002671796828508377,
-0.019840162247419357,
-0.022908587008714676,
0.031120114028453827,
0.03884347900748253,
-0.04250467196106911,
-0.05177968367934227,
0.013973541557788849,
0.0395408496260643,
0.03432801365852356,
-0.000701728044077754,
-0.04069150984287262,
0.08598566055297852,
-0.06300733238458633,
-0.03221847116947174,
0.0070826588198542595,
-0.0159000251442194,
-0.046619150787591934,
-0.01355511974543333,
0.058404695242643356,
0.015769267454743385,
-0.006668595597147942,
0.0054089720360934734,
0.06625010073184967,
-0.0714106336236,
0.03671650215983391,
0.010608733631670475,
0.007618761621415615,
0.03720466420054436,
-0.004371635150164366,
0.02226352132856846,
0.051082316786050797,
0.01508933212608099,
0.0007295138784684241,
0.058021143078804016,
-0.05516192689538002,
0.0016148462891578674,
0.05645206198096275,
-0.058683641254901886,
-0.03397933021187782,
-0.03975006192922592,
-0.0637047067284584,
-0.009327316656708717,
-0.029864847660064697,
0.04881586506962776,
0.03866913914680481,
-0.07678037881851196,
0.004092687275260687,
0.0395408496260643,
-0.022926021367311478,
0.007583893369883299,
-0.04878099635243416,
-0.01069590449333191,
-0.029864847660064697,
0.005334876477718353,
-0.034171104431152344,
-0.05544087290763855,
-0.0771988034248352,
0.04445730522274971,
-0.03519972413778305,
-0.02758096344769001,
0.02853984571993351,
0.01841055415570736,
-0.023937208577990532,
0.004637507256120443,
-0.00475082965567708,
0.08745013177394867,
-0.012509065680205822,
0.06611062586307526,
-0.04086585342884064,
-0.08403302729129791,
-0.02775530517101288,
0.05003626272082329,
0.01283159852027893,
-0.017399368807673454,
-0.06377443671226501,
-0.052721135318279266,
-0.05551061034202576,
-0.023274706676602364,
-0.012936203740537167,
-0.04250467196106911,
0.03256715461611748,
-0.03492077812552452,
-0.014531436376273632,
-0.047595467418432236,
0.03343886882066727,
-0.008119995705783367,
-0.033334262669086456,
0.046723756939172745,
0.013084394857287407,
-0.013720745220780373,
0.0060322461649775505,
-0.002887545619159937,
0.00350646092556417,
-0.018637198954820633,
-0.02034575492143631,
0.05157047510147095,
-0.025384249165654182,
0.05359284579753876,
0.013337191194295883,
0.03305531293153763,
0.025959579274058342,
0.011829130351543427,
0.041807301342487335,
0.005474350415170193,
0.027703003957867622,
0.022507600486278534,
-0.05725403502583504,
0.003992440178990364,
0.0226645078510046,
-0.00872147735208273,
0.05275600403547287,
0.00992879830300808,
-0.013712028041481972,
0.03288097307085991,
0.02285628579556942,
-0.012064492329955101,
0.04215598478913307,
0.01975299045443535,
0.04030795767903328,
-0.0061673615127801895,
0.025506289675831795,
0.05055928975343704,
-0.018654633313417435,
-0.028522411361336708,
0.09205277264118195,
0.017233744263648987,
-0.04804875701665878,
0.03706518933176994,
-0.03647242486476898,
-0.018149040639400482,
0.0159261766821146,
0.010390805080533028,
-0.03839018940925598,
-0.02738918736577034,
-0.008451246656477451,
0.0035958115477114916,
0.015150352381169796,
-0.0820106491446495,
0.017721902579069138,
0.03710005804896355,
0.05282573774456978,
-0.06300733238458633,
0.031381625682115555,
-0.009135540574789047,
-0.06600601971149445,
-0.023571088910102844,
-0.06516917794942856,
0.03741387277841568,
-0.010661035776138306,
0.07922117412090302,
-0.0079587297514081,
0.01909049041569233,
-0.023030627518892288,
0.02777273952960968,
0.02998688817024231,
-0.04675862565636635,
-0.09121593087911606,
0.0491645485162735,
0.045852042734622955,
-0.01461860816925764,
0.015961043536663055,
0.018480291590094566,
0.03261945769190788,
0.04362046346068382,
0.035060252994298935,
-0.0055353702045977116,
0.009318599477410316,
-0.03258458897471428,
-0.006149927154183388,
-0.01872437074780464,
-0.04899020865559578,
-0.05477837473154068,
0.007971804589033127,
0.08403302729129791,
-0.01398225873708725,
-0.04362046346068382,
-0.016135387122631073,
-0.015324695035815239,
-0.020851347595453262,
-0.021757928654551506,
0.010678470134735107,
-0.04620072990655899,
0.026447737589478493,
0.009266297332942486,
0.025087866932153702,
-0.03462439402937889,
0.004916455131024122,
0.03045761212706566,
0.04860665276646614,
-0.11450807005167007,
0.029428992420434952,
-0.009893929585814476,
0.009684719145298004,
0.026691816747188568,
0.06478562951087952,
0.06318167597055435,
-0.03587966039776802,
0.003454158315435052,
-0.035530976951122284,
0.00010521834337851033,
-0.0159174595028162,
-0.07392116636037827,
-0.025959579274058342,
-0.014792950823903084,
0.009030935354530811,
-0.01966582052409649,
-0.030544783920049667,
0.014113015495240688,
0.04463164880871773,
0.03790203109383583,
-0.015132918022572994,
-0.07273563742637634,
-0.032270774245262146,
0.005435123573988676,
0.08375407755374908,
-0.015621076337993145,
0.04620072990655899,
-0.045084938406944275,
0.01220396626740694,
-0.025436552241444588,
0.06049680337309837,
0.07287511229515076,
-0.011515313759446144,
0.027145108208060265,
0.08249881118535995,
-0.012805446982383728,
-0.03587966039776802,
0.029533598572015762,
0.03420597314834595,
-0.03218360245227814,
0.010809226892888546,
0.0029899717774242163,
0.027720436453819275,
0.001303209224715829,
-0.004367276560515165,
-0.01851516030728817,
-0.0005377372726798058,
0.02477405034005642,
0.012247552163898945,
0.004916455131024122,
0.004452268593013287,
-0.03558328002691269,
-0.0443526990711689,
0.020764175802469254,
0.0963764637708664,
-0.02979511208832264,
-0.058195482939481735,
0.027929648756980896,
-0.059555355459451675,
-0.04110993072390556,
0.013319757767021656,
-0.03594939783215523,
-0.01175939291715622,
0.015211371704936028,
0.05429021641612053,
0.016030780971050262,
0.0482231006026268,
-0.03547867387533188,
-0.01171580795198679,
-0.006324269808828831,
-0.020293451845645905,
0.026064185425639153,
0.04609612375497818,
-0.042295459657907486,
0.02093851938843727,
0.025000697001814842,
-0.0024342553224414587,
-0.0016344597097486258,
0.035809922963380814,
-0.045468490570783615,
-0.0675402358174324,
-0.031102679669857025,
0.03296814113855362,
0.028034253045916557,
0.01804443635046482,
-0.038808614015579224,
0.005077721551060677,
0.06910931318998337,
0.012500348500907421,
0.012230117805302143,
0.011837847530841827,
0.0414586178958416,
-0.05045468360185623,
0.027511226013302803,
0.0025432193651795387,
0.013023375533521175,
0.03453722596168518,
0.03532176464796066,
-0.006298118270933628,
-0.07831459492444992,
-0.0003813739458564669,
-0.03748361021280289,
-0.015132918022572994,
0.08326591551303864,
-0.0983988344669342,
-0.0255585927516222,
-0.04177243262529373,
0.0014721034094691277,
0.04320203885436058,
-0.041911907494068146,
0.004563411697745323,
-0.0023318291641771793,
0.05380205810070038,
-0.0009643312660045922,
-0.10111857950687408,
-0.02236812561750412,
0.05756785348057747,
0.042016513645648956,
-0.015490319579839706,
0.023884905502200127,
0.00113322539255023,
0.0035021023359149694,
-0.0013467948883771896,
-0.03933164104819298,
0.031381625682115555,
0.03296814113855362,
-0.017791640013456345,
-0.0005290201515890658,
-0.0226645078510046,
0.0217056255787611,
-0.0033953178208321333,
0.026482606306672096,
0.03441518545150757,
-0.028138859197497368,
-0.05233757942914963,
-0.021200032904744148,
-0.016946079209446907,
0.06478562951087952,
0.03317735344171524,
-0.05544087290763855,
0.0217056255787611,
-0.015342128463089466,
-0.02602931670844555,
-0.011977321468293667,
0.03094577044248581,
0.0028722905553877354,
-0.024442801252007484,
0.010582582093775272,
0.08284749835729599,
0.03150366619229317,
-0.01697223074734211,
-0.015786701813340187,
0.018271081149578094,
-0.08828698098659515,
-0.008821723982691765,
-0.0587882474064827,
-0.06883037090301514,
-0.0038791177794337273,
0.021339505910873413,
-0.0069998460821807384,
-0.05369745194911957,
0.030300704762339592,
-0.020014503970742226,
0.014627325348556042,
0.054150741547346115,
-0.010756924748420715,
0.008538417518138885,
0.012910053133964539,
0.05774219334125519,
0.005775091238319874,
0.053174424916505814,
0.014862687326967716,
0.05544087290763855,
-0.0030967562925070524,
-0.060706015676259995,
0.03877374529838562,
-0.0684816837310791,
0.016518939286470413,
0.018828976899385452,
-0.00694318488240242,
0.0006417978438548744,
0.0037810502108186483,
0.008355358615517616,
-0.004121017642319202,
0.0491994172334671,
-0.01900331862270832,
0.008333565667271614,
-0.005631258711218834,
-0.0017052863258868456,
-0.023867471143603325,
0.0033168636728078127,
-0.022734245285391808,
0.031468797475099564,
-0.080964595079422,
0.022716810926795006,
-0.018741805106401443,
-0.030126363039016724,
-0.05104744806885719,
0.025715500116348267,
-0.018863845616579056,
0.028871096670627594,
-0.013860218226909637,
-0.011271234601736069,
-0.006598858628422022,
0.033508602529764175,
0.09044882655143738,
0.024826353415846825,
-0.011201497167348862,
0.0337701179087162,
0.005753298290073872,
-0.06523891538381577,
0.02709280513226986,
0.013450514525175095,
0.02923721633851528,
0.00949294213205576,
-0.03577505424618721,
-0.007339813746511936,
0.017904961481690407,
0.039784930646419525,
-0.012116795405745506,
0.015429300256073475,
-0.0424349345266819,
0.00595815060660243,
0.09679488837718964,
-0.01678045280277729,
0.01744295470416546,
0.008185374550521374,
-0.003384421346709132,
0.06907445192337036,
-0.031590837985277176,
-0.016222557052969933,
0.04375993460416794,
0.07308432459831238,
0.00376143679022789,
0.017277328297495842,
-0.014113015495240688,
0.03894808515906334,
-0.026273395866155624,
-0.036298081278800964,
-0.00610198313370347,
0.013494099490344524,
-0.04644480720162392,
-0.021932270377874374,
-0.030509915202856064,
0.0027589681558310986,
-0.05007113143801689,
-0.021653322502970695,
0.04752572998404503,
0.02179279737174511,
-0.024564839899539948,
-0.0376230850815773,
0.008765063248574734,
-0.01966582052409649,
0.021060558035969734,
0.04281848669052124,
0.05143100023269653,
-0.01823621243238449,
-0.06213562190532684,
-0.03577505424618721,
0.009989817626774311,
0.0015788881573826075,
-0.024128984659910202,
-0.03643755614757538,
-0.07259616255760193,
0.0008891461184248328,
-0.002931131049990654,
0.0040164124220609665,
0.0007420447072945535,
-0.015516471117734909,
-0.019421739503741264,
0.0414934866130352,
0.036193475127220154,
0.06781918555498123,
0.04850204661488533,
-0.04550335928797722,
0.03751847892999649,
-0.02874905802309513,
0.016344597563147545,
0.027354318648576736,
-0.006925750989466906,
-0.0226645078510046,
0.033804986625909805,
0.03397933021187782,
-0.06258891522884369,
0.0055440873838961124,
-0.02439049817621708,
0.019805293530225754,
0.03218360245227814,
-0.02641286887228489,
-0.051535606384277344,
-0.047490861266851425,
0.025401683524250984,
0.013337191194295883,
0.020659571513533592,
-0.025802671909332275,
-0.0183408185839653,
-0.014662194065749645,
0.0011310460977256298,
-0.009850343689322472,
-0.020031938329339027,
-0.033613208681344986,
0.02719740942120552,
-0.038529664278030396,
-0.012761862017214298,
0.04776981100440025,
0.07259616255760193,
0.04871125891804695,
-0.06499483436346054,
-0.043062567710876465,
0.002796015702188015,
-0.006110700313001871,
-0.013127980753779411,
0.006193512585014105,
0.055022452026605606,
-0.01235215738415718,
-0.056173112243413925,
0.001692210673354566,
0.035809922963380814,
-0.010260048322379589,
0.03193952143192291,
-0.0052651395089924335,
0.03425827622413635,
-0.04494546353816986,
-0.04452704265713692,
0.0433763824403286,
-0.0015777985099703074,
0.004073073621839285,
-0.027650700882077217,
0.013197717256844044,
0.022926021367311478,
-0.017146572470664978,
0.03193952143192291,
-0.02236812561750412,
-0.028313200920820236,
0.01669328287243843,
-0.06182180717587471,
0.00715675437822938,
-0.045363884419202805,
-0.004044743254780769,
-0.05763758718967438,
0.02139180898666382,
0.00020580572891049087,
0.028871096670627594,
0.003739643841981888,
-0.0004936068435199559,
0.06401851773262024,
-0.025523724034428596,
-0.026395434513688087,
-0.005705354269593954,
0.03317735344171524,
-0.0036851619370281696,
0.05104744806885719,
-0.057846799492836,
-0.004238699097186327,
0.03230564296245575,
-0.000881518644746393,
0.014479134231805801,
-0.021339505910873413,
0.048257969319820404,
0.05216323956847191,
0.00042441472760401666,
0.034083932638168335,
0.020084241405129433,
-0.047316521406173706,
0.0395408496260643,
0.02862701751291752,
0.015315977856516838,
-0.043446119874715805,
-0.0226470734924078,
-0.006485536228865385,
-0.037936899811029434,
0.01311054639518261,
0.03458952531218529,
0.0017499615205451846,
-0.04163295775651932,
0.04124940559267998,
-0.004371635150164366,
-0.047700073570013046,
0.024826353415846825,
-0.02960333414375782,
0.019038187339901924,
-0.006402723491191864,
0.01070462167263031,
-0.0405171662569046,
0.002079032827168703,
0.03295070677995682,
-0.00814178865402937,
-0.00004750148582388647,
0.00679935235530138,
-0.02296089008450508,
-0.0007660167757421732,
0.06788892298936844,
0.018271081149578094,
0.0096498504281044,
-0.044213224202394485,
-0.03528689593076706,
0.031207283958792686,
-0.04173756390810013,
0.008259469643235207,
-0.03329939395189285,
0.003199182450771332,
-0.0010002893395721912,
-0.059834301471710205,
0.0038638629484921694,
-0.01100100390613079,
0.0021542180329561234,
-0.028888531029224396,
0.0079587297514081,
-0.024128984659910202,
-0.050280340015888214,
-0.004038205370306969,
0.03221847116947174,
0.010399522259831429,
-0.04173756390810013,
-0.009693436324596405,
0.027354318648576736,
0.0714106336236,
-0.07392116636037827,
0.02817372791469097,
0.02189740166068077,
0.040168482810258865,
0.030719125643372536,
-0.01736450009047985,
0.030248401686549187,
0.02826089784502983,
-0.023762864992022514,
-0.018009567633271217,
-0.03445005416870117,
-0.06890010833740234,
-0.011585050262510777,
0.03000432252883911,
-0.010913832113146782,
0.02306549623608589,
-0.03643755614757538,
-0.011088174767792225,
-0.03502538427710533,
-0.02322240360081196,
0.011680939234793186,
-0.04041256383061409,
0.006921392399817705,
0.0568704828619957,
0.05798627436161041,
0.01620512269437313,
-0.018166474997997284,
-0.11171859502792358,
0.010957418009638786,
-0.08982118964195251,
0.012735710479319096,
0.06910931318998337,
0.03347373753786087,
-0.10572121292352676,
0.04271388053894043,
0.037274397909641266,
-0.037274397909641266,
0.014008409343659878,
-0.007701574359089136,
-0.02496582828462124,
-0.01619640737771988,
-0.08249881118535995,
-0.03703032061457634,
-0.01977042481303215,
0.0008390226867049932,
0.03999413922429085,
-0.006049680523574352,
0.001430697157047689,
0.03549610823392868,
-0.045956648886203766,
0.035234592854976654,
0.007100093178451061,
0.04386454075574875,
-0.0039335996843874454,
0.013929955661296844,
0.03305531293153763,
-0.03305531293153763,
0.01311054639518261,
-0.022838851436972618,
-0.0013805737253278494,
0.040273088961839676,
-0.03326452523469925,
-0.0032144375145435333,
-0.0012127691879868507,
-0.059834301471710205,
0.037169795483350754,
-0.06924878805875778,
-0.017599862068891525,
0.014766799286007881,
0.028121424838900566,
-0.019404307007789612,
0.04954810068011284,
-0.014435548335313797,
-0.031573403626680374,
-0.0009588830289430916,
0.03432801365852356,
-0.001125597977079451,
0.007204698398709297,
0.04090072214603424,
-0.010242614895105362,
-0.017120420932769775,
-0.018358251079916954,
-0.03441518545150757,
0.004162424243986607,
-0.0016497146571055055,
-0.043725065886974335,
0.007457495201379061,
-0.06576194614171982,
0.0337352491915226,
0.009135540574789047,
0.0006445219623856246,
0.028400372713804245,
0.01851516030728817,
-0.014113015495240688,
-0.03500794991850853,
0.009553962387144566,
0.05244218558073044,
0.02362339198589325,
-0.012160380370914936,
-0.058021143078804016,
0.013093112036585808,
-0.006193512585014105,
-0.018445422872900963,
0.04511980712413788,
0.0327763669192791,
0.011314820498228073,
0.03933164104819298,
0.012578802183270454,
0.0274763572961092,
0.028714189305901527,
0.10711595416069031,
-0.012474196963012218,
-0.009074520319700241,
0.03776255622506142,
0.033037878572940826,
-0.020694440230727196,
-0.0012356515508145094,
0.01176811009645462,
0.050977710634469986,
0.002534502185881138,
0.005801242310553789,
0.027894780039787292,
-0.022298390045762062,
0.0029551032930612564,
-0.032741498202085495,
0.009841627441346645,
-0.02130463719367981,
-0.08835671842098236,
-0.07074813544750214,
-0.0011571975192055106,
0.013014658354222775,
0.0539763979613781,
0.044980332255363464,
0.006629368755966425,
-0.018916146829724312
]
|
40,621 | pyglove.core.symbolic.dict | __hash__ | Overridden hashing function using symbolic hash. | def __hash__(self) -> int:
"""Overridden hashing function using symbolic hash."""
return self.sym_hash()
| (self) -> int | [
0.028924643993377686,
-0.06829383224248886,
0.039183881133794785,
0.0716293454170227,
-0.009711739607155323,
-0.04329431429505348,
-0.04780904948711395,
-0.02146185003221035,
-0.017941027879714966,
-0.028318187221884727,
0.004999061115086079,
-0.02786334417760372,
0.04898827522993088,
0.021664002910256386,
-0.031956929713487625,
-0.0032365447841584682,
0.009105282835662365,
0.04534953087568283,
-0.01666072942316532,
-0.021074391901493073,
-0.02102385275065899,
0.015953196212649345,
0.02868879958987236,
0.014681320637464523,
-0.02124285139143467,
0.056097302585840225,
0.06512677669525146,
0.00728169921785593,
0.017974721267819405,
-0.000946536660194397,
-0.06839490681886673,
-0.005917170085012913,
0.029244719073176384,
0.05299763008952141,
0.03931864723563194,
-0.10821893811225891,
-0.006363590247929096,
0.09049690514802933,
-0.05276178568601608,
0.021057546138763428,
0.03010386787354946,
0.018581178039312363,
0.005180156324058771,
-0.0359831340610981,
0.036623284220695496,
0.01874963939189911,
-0.020855393260717392,
0.028587723150849342,
-0.020855393260717392,
-0.05454746633768082,
-0.030474480241537094,
-0.0678558349609375,
0.02073747105896473,
0.02862141653895378,
0.006662607192993164,
0.05795036628842354,
0.04632660001516342,
-0.050706569105386734,
-0.03689282014966011,
0.03898172825574875,
-0.025892358273267746,
-0.004910619463771582,
0.03635374829173088,
-0.05225640535354614,
-0.01367898192256689,
-0.03150208666920662,
-0.0602751187980175,
0.019642477855086327,
0.005866632331162691,
0.013746365904808044,
0.011716417968273163,
-0.02676835097372532,
0.00843565259128809,
-0.013788480311632156,
0.018833868205547333,
0.008145058527588844,
0.011590072885155678,
-0.018833868205547333,
0.05559191852807999,
-0.0054033659398555756,
0.0058371517807245255,
-0.06334109604358673,
-0.009181089699268341,
0.00015911608352325857,
-0.07877206802368164,
-0.007386987097561359,
0.07978282868862152,
-0.028419263660907745,
-0.045079994946718216,
-0.021007006987929344,
-0.04723628610372543,
0.018513793125748634,
-0.0019699332769960165,
0.020838547497987747,
0.021546080708503723,
-0.042216166853904724,
0.0026469335425645113,
-0.03067663311958313,
0.052087944000959396,
-0.037128664553165436,
0.0482807420194149,
0.01789049059152603,
-0.022893764078617096,
0.0018393766367807984,
-0.004531583748757839,
-0.01409170962870121,
-0.004653717391192913,
-0.05033595487475395,
-0.06229664385318756,
0.008090308867394924,
-0.03682543709874153,
0.07156196236610413,
-0.02612820267677307,
-0.028789876028895378,
0.025386976078152657,
-0.014159093610942364,
0.022102000191807747,
-0.01928871124982834,
0.03497236967086792,
0.023938218131661415,
-0.011362651363015175,
0.03955449163913727,
-0.03431537747383118,
-0.0020352117717266083,
0.05293024703860283,
0.03327092155814171,
0.01319044642150402,
-0.018008412793278694,
-0.010596157051622868,
0.016450153663754463,
0.04686567187309265,
0.04086848348379135,
-0.0049232542514801025,
0.07708746194839478,
0.0011234200792387128,
0.004594756290316582,
0.04026202857494354,
0.0631052553653717,
0.020316319540143013,
0.04053156450390816,
0.039689261466264725,
-0.026313507929444313,
0.02114177495241165,
-0.01763780042529106,
0.0052770208567380905,
0.02651566080749035,
-0.04551798850297928,
0.01903602108359337,
-0.011994377709925175,
0.011994377709925175,
0.06425078213214874,
0.020501626655459404,
0.05572668835520744,
0.07621146738529205,
-0.03888065367937088,
0.050605494529008865,
-0.010992038995027542,
-0.027256887406110764,
-0.03733081743121147,
-0.009762277826666832,
0.015405700542032719,
-0.017722031101584435,
0.005950862541794777,
-0.08106312900781631,
-0.03632005304098129,
0.0002742745273280889,
0.013291522860527039,
-0.0445072278380394,
-0.010958346538245678,
-0.017284033820033073,
-0.06842859834432602,
-0.07028166204690933,
-0.07304441183805466,
0.048247046768665314,
0.05993819609284401,
0.04501260817050934,
-0.010730925016105175,
0.03035655803978443,
0.02764434553682804,
0.00143823039252311,
0.01944032683968544,
-0.0880710780620575,
-0.059668660163879395,
-0.006772106513381004,
0.027846498414874077,
0.05501915514469147,
0.03729712590575218,
0.028958337381482124,
0.03477022051811218,
0.015237240120768547,
-0.06543000787496567,
-0.04026202857494354,
-0.015481507405638695,
0.023028532043099403,
0.043125852942466736,
-0.01603742688894272,
-0.03477022051811218,
0.01918763481080532,
-0.03483760356903076,
0.06081419065594673,
-0.01792418211698532,
-0.0008575685205869377,
-0.020501626655459404,
-0.010511926375329494,
-0.004897985141724348,
-0.031956929713487625,
0.027812806889414787,
0.004047260154038668,
0.008115578442811966,
-0.03180531784892082,
-0.0022615804336965084,
-0.05195317789912224,
-0.03487129509449005,
0.06704722344875336,
0.00885259173810482,
-0.046629827469587326,
0.020400550216436386,
-0.0076186200603842735,
0.019457172602415085,
0.02739165537059307,
0.08355633914470673,
-0.018614869564771652,
-0.0005490754847414792,
-0.007589139509946108,
0.010419273748993874,
-0.017182957381010056,
0.03696020320057869,
-0.012415529228746891,
-0.018345333635807037,
-0.03407953307032585,
0.025302747264504433,
-0.006329898256808519,
0.04289000853896141,
0.03380999341607094,
0.02518482506275177,
0.0034808123018592596,
0.008418806828558445,
0.020181551575660706,
-0.01965932361781597,
0.03288346156477928,
-0.029868021607398987,
0.03790358081459999,
0.07203365117311478,
0.046629827469587326,
-0.003238650504499674,
-0.02948056347668171,
0.009627509862184525,
0.08517356216907501,
-0.027004195377230644,
-0.047606900334358215,
-0.04005987569689751,
-0.04278893396258354,
-0.011514266021549702,
-0.03071032464504242,
0.034702833741903305,
-0.016492269933223724,
-0.02493213303387165,
0.02164715714752674,
0.027054734528064728,
0.00948431808501482,
-0.021327082067728043,
0.015658391639590263,
-0.016559652984142303,
-0.03158631920814514,
-0.002387925749644637,
-0.04046417772769928,
-0.022085154429078102,
0.08645385503768921,
-0.04686567187309265,
0.048583969473838806,
0.06869813799858093,
-0.06334109604358673,
-0.06607015430927277,
0.0419803224503994,
-0.020585857331752777,
0.011337382718920708,
0.024510983377695084,
0.06125218793749809,
-0.027627499774098396,
-0.01644173078238964,
0.015978464856743813,
-0.007643889170140028,
-0.0054033659398555756,
-0.047707974910736084,
-0.03150208666920662,
0.08335418999195099,
-0.012819834053516388,
-0.024477289989590645,
-0.00586242089048028,
-0.04204770550131798,
0.01864856295287609,
0.013485251925885677,
-0.023685527965426445,
0.016669152304530144,
0.08941876143217087,
0.005053810775279999,
-0.03042394109070301,
0.011792225763201714,
0.04952734708786011,
0.024696288630366325,
-0.07324656844139099,
0.01726718805730343,
0.00505802221596241,
-0.011177345179021358,
-0.05896112695336342,
-0.03252969682216644,
0.039655569940805435,
0.018614869564771652,
0.023618143051862717,
0.04427138343453407,
0.003072295803576708,
0.07695269584655762,
-0.03638743981719017,
0.04750582203269005,
0.034483835101127625,
-0.013687404803931713,
-0.015835274010896683,
-0.022742148488759995,
0.013544213026762009,
0.10046976059675217,
-0.03261392563581467,
0.027408501133322716,
-0.018598023802042007,
-0.015759466215968132,
0.012912486679852009,
-0.05791667476296425,
-0.02250630408525467,
-0.040598947554826736,
0.02174823358654976,
0.009080013260245323,
-0.009029475040733814,
-0.009240050800144672,
0.09319227188825607,
-0.0032218045089393854,
-0.06556477397680283,
0.016281694173812866,
0.06037619337439537,
0.047168903052806854,
-0.05535607412457466,
-0.04885350540280342,
0.026583045721054077,
-0.027256887406110764,
0.032900307327508926,
-0.023196991533041,
-0.05205425247550011,
-0.024072986096143723,
-0.08072620630264282,
-0.002598501043394208,
-0.036724358797073364,
0.009332704357802868,
0.0063341096974909306,
-0.04238462820649147,
-0.0018256892217323184,
-0.006077207624912262,
0.08288250118494034,
-0.018631715327501297,
-0.0021489225327968597,
-0.02467944286763668,
-0.040632639080286026,
-0.012103877030313015,
0.022927455604076385,
-0.048078589141368866,
-0.03155262768268585,
-0.013451560400426388,
0.009442203678190708,
0.011261574923992157,
-0.03702758625149727,
0.014487591572105885,
0.023803450167179108,
-0.06253248453140259,
-0.04329431429505348,
-0.04043048620223999,
-0.033371999859809875,
-0.06286940723657608,
0.04801120236515999,
-0.001113944104872644,
0.00908843707293272,
0.04531583935022354,
-0.04477676376700401,
-0.039655569940805435,
0.06539631634950638,
0.013527367264032364,
-0.03557882830500603,
0.00923162791877985,
-0.030373403802514076,
0.02786334417760372,
0.01513616368174553,
0.008115578442811966,
0.08517356216907501,
0.0684959813952446,
-0.04373231157660484,
-0.024224599823355675,
0.03807204216718674,
-0.006363590247929096,
-0.0325128510594368,
0.03483760356903076,
0.020350011065602303,
-0.024359367787837982,
-0.09541594982147217,
-0.045720141381025314,
0.027627499774098396,
-0.024123523384332657,
0.030289173126220703,
0.010537195950746536,
0.009240050800144672,
-0.001707766903564334,
0.003908280283212662,
0.018008412793278694,
-0.009930738247931004,
-0.03244546428322792,
-0.07203365117311478,
0.02843610942363739,
-0.01763780042529106,
-0.054075777530670166,
0.013721096329391003,
-0.04578752815723419,
0.02868879958987236,
-0.03952080011367798,
0.03793727234005928,
0.012575565837323666,
0.031636856496334076,
-0.036623284220695496,
-0.030760861933231354,
0.04737105593085289,
-0.008258769288659096,
0.03884695842862129,
-0.00448104552924633,
0.04625921696424484,
-0.051110874861478806,
0.031097782775759697,
0.0014719223836436868,
0.013358906842768192,
0.04346277564764023,
0.009475895203649998,
0.008418806828558445,
-0.05599622428417206,
0.011295267380774021,
-0.0457538366317749,
-0.004657928831875324,
0.05892743542790413,
0.05040334165096283,
0.011000461876392365,
-0.009349550120532513,
0.039621878415346146,
0.04080110043287277,
-0.008300884626805782,
0.02092277631163597,
0.014335976913571358,
0.007222738116979599,
0.0062962062656879425,
-0.00013404444325715303,
-0.0222536139190197,
-0.0023479163646698,
-0.05181840807199478,
-0.038644809275865555,
-0.022624226287007332,
-0.03605051711201668,
-0.057141754776239395,
0.01208703126758337,
0.005782402120530605,
-0.043226927518844604,
0.07439209520816803,
0.002741692354902625,
0.003998827654868364,
-0.061184804886579514,
-0.01780625991523266,
-0.019794093444943428,
-0.012474490329623222,
0.039183881133794785,
0.03182216361165047,
0.02691996656358242,
0.01313148532062769,
-0.045652758330106735,
-0.0030975649133324623,
-0.06637338548898697,
0.019305557012557983,
-0.026717813685536385,
-0.02196723222732544,
-0.08052405714988708,
-0.05293024703860283,
0.0019741449505090714,
-0.00870940089225769,
0.041677094995975494,
-0.020973315462470055,
0.0706859678030014,
-0.01903602108359337,
0.026903120800852776,
-0.003573465393856168,
0.012583988718688488,
0.014100132510066032,
-0.01726718805730343,
0.018328487873077393,
-0.014748704619705677,
0.05875897407531738,
0.0036429553292691708,
0.01208703126758337,
0.010250813327729702,
0.020114166662096977,
-0.04295739158987999,
-0.03601682558655739,
-0.04194663092494011,
0.011185768060386181,
0.018817022442817688,
0.018412718549370766,
0.03194008395075798,
0.018766485154628754,
-0.007239584345370531,
-0.006110899616032839,
0.009374819695949554,
-0.00022255192743614316,
-0.006161437835544348,
-0.049662116914987564,
0.06640707701444626,
-0.00022031457046978176,
0.039621878415346146,
0.007045854814350605,
-0.028065497055649757,
-0.03995879739522934,
-0.02174823358654976,
0.023533912375569344,
0.012920909561216831,
-0.04373231157660484,
-0.021832462400197983,
-0.053637780249118805,
0.009299011901021004,
0.003145997179672122,
-0.007850253023207188,
-0.018564332276582718,
0.053974699229002,
0.011699572205543518,
-0.04952734708786011,
0.0072480072267353535,
-0.05734390765428543,
0.037263430655002594,
-0.022674765437841415,
0.10235651582479477,
-0.055187616497278214,
0.013485251925885677,
-0.011034153401851654,
-0.01456339843571186,
-0.044170308858156204,
-0.014462321996688843,
0.019389787688851357,
-0.02452782914042473,
-0.0009439044515602291,
0.02818341925740242,
-0.04582121968269348,
0.010318197309970856,
-0.015405700542032719,
-0.04929150268435478,
-0.02312960848212242,
0.005095926113426685,
0.05478331074118614,
-0.06758629530668259,
0.03884695842862129,
-0.07452686131000519,
0.05006641894578934,
0.02503320947289467,
-0.0020162600558251143,
0.054075777530670166,
0.008692555129528046,
0.026431431993842125,
0.050740260630846024,
-0.08753200620412827,
-0.03207485377788544,
-0.013392599299550056,
-0.007033220026642084,
-0.013072524219751358,
0.00031402063905261457,
0.006919509265571833,
-0.0479775108397007,
0.08551047742366791,
0.04410292208194733,
0.020063629373908043,
0.018951790407299995,
0.011750110425055027,
-0.03288346156477928,
0.003145997179672122,
0.005866632331162691,
-0.09197936207056046,
-0.01486662682145834,
0.027442192658782005,
-0.04683198034763336,
0.045181069523096085,
-0.003767194924876094,
-0.019591940566897392,
-0.003011228982359171,
0.03453437611460686,
-0.05784928798675537,
0.00008574368985136971,
-0.0880710780620575,
-0.03655589744448662,
-0.031384166330099106,
-0.005988765973597765,
-0.004493680316954851,
-0.019170789048075676,
-0.04332800582051277,
-0.017225071787834167,
-0.0039040688425302505,
0.006237245164811611,
0.012887218035757542,
-0.0033881589770317078,
0.016938690096139908,
0.008844168856739998,
0.07129242271184921,
0.030777707695961,
-0.00077228550799191,
0.01409170962870121,
-0.03753297030925751,
-0.04791012778878212,
-0.039722952991724014,
0.013274677097797394,
0.04440615326166153,
-0.04204770550131798,
0.006258302368223667,
0.0034218512009829283,
0.01233972143381834,
0.007155354134738445,
-0.036758050322532654,
0.020366858690977097,
-0.07021427899599075,
0.04504629969596863,
-0.02919418178498745,
0.0334562286734581,
-0.025707051157951355,
0.03584836423397064,
0.023820295929908752,
0.07675053924322128,
0.0007049013511277735,
-0.04400184750556946,
-0.056636374443769455,
0.022674765437841415,
0.040160950273275375,
-0.01726718805730343,
0.06381278485059738,
-0.04484415054321289,
0.021411312744021416,
0.05205425247550011,
0.005285443738102913,
0.07324656844139099,
-0.01716611161828041,
-0.0031523145735263824,
-0.03143470361828804,
0.012314452789723873,
-0.038139425218105316,
0.01513616368174553,
0.010250813327729702,
-0.005445481278002262,
0.019052866846323013,
-0.03840896114706993,
-0.03284977003931999,
0.013249407522380352,
-0.007635465823113918,
-0.01423490047454834,
0.039150189608335495,
-0.022961147129535675,
-0.017941027879714966,
-0.0445072278380394,
0.016568075865507126,
-0.03042394109070301,
-0.021411312744021416,
0.016424885019659996,
-0.07445947825908661,
-0.0015129846287891269,
0.0022468401584774256,
0.01293775625526905,
0.020316319540143013,
-0.026802044361829758,
0.002522693946957588,
-0.016702845692634583,
0.0007438578177243471,
0.012474490329623222,
0.0012750343885272741,
-0.031670548021793365,
-0.0760767012834549,
-0.02124285139143467,
0.004763216711580753,
0.04844919964671135,
-0.006321475375443697,
-0.023971909657120705,
0.002310012700036168,
-0.02619558572769165,
-0.045720141381025314,
0.02127654477953911,
0.00046142347855493426,
0.05582776293158531,
-0.018833868205547333,
0.004582121968269348,
-0.02471313625574112,
-0.06607015430927277,
-0.03594944253563881,
-0.04683198034763336,
-0.002476367400959134,
0.005866632331162691,
-0.040127258747816086,
0.009829661808907986,
-0.03288346156477928,
-0.003737714374437928,
0.04053156450390816,
-0.04427138343453407,
-0.007648100610822439,
0.017334571108222008,
0.04194663092494011,
0.0033713129814714193,
0.015296201221644878,
-0.004556852858513594,
-0.031165167689323425,
-0.020400550216436386,
0.034736525267362595,
0.013561059720814228,
-0.00908843707293272,
-0.013274677097797394,
0.013005140237510204,
0.0012445009779185057,
0.04278893396258354,
-0.003581888508051634,
-0.003173372009769082,
0.028789876028895378,
-0.01450443733483553,
0.04885350540280342,
-0.0042978450655937195,
-0.044675689190626144,
0.08032190054655075,
0.03524190932512283,
-0.014538129791617393,
0.005281232297420502,
0.05987081304192543,
-0.0025753378868103027,
0.01244922075420618,
0.058118823915719986,
0.02471313625574112,
0.029682716354727745,
-0.027122119441628456,
0.04339538887143135,
0.024477289989590645,
0.019861476495862007,
0.030777707695961,
-0.027543269097805023,
-0.01650911569595337,
0.08025451749563217,
0.003284977050498128,
-0.008469345048069954,
-0.043092161417007446,
-0.013156753964722157,
0.09770701080560684,
0.004691621288657188,
-0.02471313625574112,
0.0899578332901001,
0.03995879739522934,
-0.034601759165525436,
-0.009307434782385826,
0.04278893396258354,
0.016711268573999405,
-0.010124468244612217,
0.02597658894956112,
0.02048478089272976,
-0.00956012587994337,
0.019238173961639404,
0.019389787688851357,
0.01145530492067337,
-0.02417406253516674,
-0.025336438789963722,
-0.035679906606674194,
0.02420775406062603,
-0.00045563263120129704,
-0.012213376350700855,
0.04400184750556946,
0.03888065367937088
]
|
40,622 | pyglove.core.symbolic.dict | __init__ | Constructor.
Args:
dict_obj: A dict as initial value for this Dict.
value_spec: Value spec that applies to this Dict.
onchange_callback: Callback when sub-tree has been modified.
**kwargs: Key value pairs that will be inserted into the dict as initial
value, which provides a syntax sugar for usage as below: d =
pg.Dict(a=1, b=2)
| def __init__(self,
dict_obj: Union[
None,
Iterable[Tuple[str, Any]],
typing.Dict[str, Any]] = None,
*,
value_spec: Optional[pg_typing.Dict] = None,
onchange_callback: Optional[Callable[
[typing.Dict[object_utils.KeyPath, base.FieldUpdate]], None]
] = None, # pylint: disable=bad-continuation
**kwargs):
"""Constructor.
Args:
dict_obj: A dict as initial value for this Dict.
value_spec: Value spec that applies to this Dict.
onchange_callback: Callback when sub-tree has been modified.
**kwargs: Key value pairs that will be inserted into the dict as initial
value, which provides a syntax sugar for usage as below: d =
pg.Dict(a=1, b=2)
"""
if value_spec and not isinstance(value_spec, pg_typing.Dict):
raise TypeError(
f'Argument \'value_spec\' must be a `pg.typing.Dict` object. '
f'Encountered {value_spec}')
allow_partial = kwargs.pop('allow_partial', False)
accessor_writable = kwargs.pop('accessor_writable', True)
sealed = kwargs.pop('sealed', False)
root_path = kwargs.pop('root_path', None)
# Skip schema check when dict_obj is validated against
# schema externally. This flag is helpful to avoid duplicated schema
# check in nested structures, which takes effect only when value_spec
# is not None.
pass_through = kwargs.pop('pass_through', False)
# If True, the parent of dict items should be set to `self.sym_parent`,
# This is useful when Dict is used as the field container of
# pg.Object.
self._set_raw_attr(
'_as_object_attributes_container',
kwargs.pop('as_object_attributes_container', False),
)
# We copy the symbolic form of dict values instead of their evaluated
# values.
if isinstance(dict_obj, Dict):
dict_obj = {k: v for k, v in dict_obj.sym_items()}
elif dict_obj is not None:
dict_obj = dict(dict_obj)
# NOTE(daiyip): we call __init__ of superclasses explicitly instead of
# calling super().__init__(...) since dict.__init__ does
# not follow super(...).__init__ fashion, which will lead to
# Symbolic.__init__ uncalled.
base.Symbolic.__init__(
self,
allow_partial=allow_partial,
accessor_writable=True,
# We delay seal operation until members are filled.
sealed=False,
root_path=root_path)
dict.__init__(self)
self._value_spec = None
self._onchange_callback = None
# NOTE(daiyip): values in kwargs is prior to dict_obj.
dict_obj = dict_obj or {}
for k, v in kwargs.items():
dict_obj[k] = v
if value_spec:
if pass_through:
for k, v in dict_obj.items():
super().__setitem__(k, self._relocate_if_symbolic(k, v))
# NOTE(daiyip): when pass_through is on, we simply trust input
# dict is validated and filled with values of their final form (
# symbolic Dict/List vs. dict/list). This prevents members from
# repeated validation and transformation.
self._value_spec = value_spec
else:
for k, v in dict_obj.items():
super().__setitem__(k, self._formalized_value(k, None, v))
self.use_value_spec(value_spec, allow_partial)
else:
for k, v in dict_obj.items():
self._set_item_without_permission_check(k, v)
# NOTE(daiyip): We set onchange callback at the end of init to avoid
# triggering during initialization.
self._onchange_callback = onchange_callback
self.set_accessor_writable(accessor_writable)
self.seal(sealed)
| (self, dict_obj: Union[NoneType, Iterable[Tuple[str, Any]], Dict[str, Any]] = None, *, value_spec: Optional[pyglove.core.typing.value_specs.Dict] = None, onchange_callback: Optional[Callable[[Dict[pyglove.core.object_utils.value_location.KeyPath, pyglove.core.symbolic.base.FieldUpdate]], NoneType]] = None, **kwargs) | [
0.05072780326008797,
-0.024670356884598732,
-0.02556205727159977,
0.03850160911679268,
-0.015277788043022156,
0.0036039529368281364,
-0.007728063967078924,
0.017120633274316788,
0.013880791142582893,
-0.05437386408448219,
0.026057446375489235,
0.07700321823358536,
0.04220711812376976,
0.010977813974022865,
-0.05298677459359169,
0.046011701226234436,
0.0066481162793934345,
0.061943404376506805,
0.002291172742843628,
0.01104716770350933,
0.012146931141614914,
-0.024769434705376625,
0.02599800005555153,
0.07482351362705231,
-0.03903663158416748,
-0.0344790555536747,
-0.04296010732650757,
0.023204006254673004,
0.05437386408448219,
-0.026929330080747604,
0.0020125166047364473,
-0.02209433540701866,
0.02944590523838997,
0.033785510808229446,
0.031229304149746895,
-0.05401718616485596,
-0.011919052340090275,
0.04561539366841316,
-0.06404384970664978,
0.014703136868774891,
0.011661450378596783,
0.043871622532606125,
-0.039393309503793716,
-0.02255009301006794,
0.08096633106470108,
0.07133597135543823,
-0.028256971389055252,
0.04549649730324745,
0.02754361182451248,
-0.062101926654577255,
0.01606050133705139,
-0.002003847388550639,
0.0065193152986466885,
-0.011889329180121422,
-0.03663894906640053,
0.024036260321736336,
-0.004914255812764168,
0.022886957973241806,
0.03436015918850899,
-0.003628722159191966,
-0.007435784675180912,
0.02956479787826538,
-0.042286381125450134,
-0.045179449021816254,
-0.03473665565252304,
-0.052748989313840866,
-0.017269250005483627,
-0.04383199289441109,
-0.00434703566133976,
-0.020647801458835602,
-0.031387828290462494,
-0.009120105765759945,
0.0003724703856278211,
0.01471304427832365,
0.0028261926490813494,
0.011552464216947556,
-0.024848697707057,
-0.02944590523838997,
0.032675839960575104,
-0.020152412354946136,
0.015168801881372929,
-0.05627615749835968,
-0.04434719681739807,
-0.014514888636767864,
-0.015545297414064407,
0.03774861991405487,
-0.011621818877756596,
-0.0021561793982982635,
0.0706622451543808,
0.04834993928670883,
-0.030218711122870445,
0.020429830998182297,
-0.013177339918911457,
0.0039284322410821915,
-0.004696284886449575,
-0.026315048336982727,
0.019736286252737045,
-0.06499499827623367,
-0.036123745143413544,
0.01807177998125553,
0.03570761904120445,
-0.03780806437134743,
-0.0030094864778220654,
0.02512611448764801,
0.0014787352411076427,
-0.04422830417752266,
-0.007505138870328665,
-0.035945404320955276,
0.0015617129392921925,
-0.044743508100509644,
-0.039274416863918304,
-0.007153412792831659,
-0.003066456178203225,
0.034082744270563126,
-0.03463757783174515,
0.05144116282463074,
-0.05199600011110306,
-0.05643467977643013,
0.03212100267410278,
-0.02385791949927807,
0.004426298197358847,
0.01811141148209572,
0.004247958306223154,
0.05049001798033714,
0.04288084805011749,
0.023481424897909164,
0.03764954209327698,
0.005181765649467707,
0.010730119422078133,
0.028534390032291412,
0.030813178047537804,
0.011324585415422916,
-0.015733545646071434,
0.015505666844546795,
0.08370087295770645,
0.006717470940202475,
0.015357050113379955,
-0.00983346626162529,
-0.046606168150901794,
-0.0038169699255377054,
0.04252416640520096,
-0.022787880152463913,
0.03031778894364834,
-0.013088169507682323,
-0.03204173967242241,
0.014316733926534653,
-0.023045482113957405,
0.007009750232100487,
-0.04008685424923897,
-0.009570909664034843,
-0.03707488998770714,
0.008183821104466915,
0.008238313719630241,
0.07581428438425064,
-0.052352678030729294,
0.02799936942756176,
-0.034102559089660645,
-0.04347531124949455,
0.022470831871032715,
0.01780427061021328,
-0.014594151638448238,
-0.010918366722762585,
0.014544612728059292,
-0.056910254061222076,
-0.03071410022675991,
0.03976980596780777,
0.011245323345065117,
-0.12594762444496155,
-0.00423309626057744,
0.0329928882420063,
0.016199210658669472,
-0.022708619013428688,
-0.004512991290539503,
0.05718767270445824,
0.049301084131002426,
0.05120337754487991,
0.022193413227796555,
0.007316891103982925,
-0.03879884257912636,
-0.009238999336957932,
0.022015074267983437,
-0.017883531749248505,
-0.03291362524032593,
0.042008962482213974,
0.022351939231157303,
0.018983295187354088,
-0.024908144026994705,
0.04985591769218445,
0.0777958407998085,
0.049618132412433624,
-0.01854735240340233,
-0.020647801458835602,
0.054056815803050995,
-0.01156237255781889,
0.010888643562793732,
0.0015530436066910625,
0.02052890881896019,
-0.015723638236522675,
-0.053779397159814835,
0.06665950268507004,
-0.043277155607938766,
-0.04910292848944664,
0.021638577803969383,
-0.011066983453929424,
-0.05401718616485596,
-0.0040919105522334576,
0.0459720715880394,
0.017992516979575157,
0.01393033005297184,
-0.03273528441786766,
-0.036103930324316025,
-0.04078039899468422,
-0.00023654810502193868,
-0.014395995996892452,
-0.0016248750034719706,
-0.09828511625528336,
0.03802603855729103,
-0.03574724867939949,
-0.04066150635480881,
-0.01142366323620081,
0.08156079798936844,
0.04498129338026047,
-0.010878736153244972,
-0.043713100254535675,
0.04125596955418587,
-0.0470421127974987,
-0.016427090391516685,
-0.02050909213721752,
0.01663515344262123,
-0.0017004216788336635,
-0.027246378362178802,
-0.040978554636240005,
-0.0016558367060497403,
-0.029327010735869408,
0.06582725048065186,
-0.019855178892612457,
0.027603058144450188,
-0.06875995546579361,
0.024333493784070015,
0.0026230833027511835,
0.03459794819355011,
0.005300659220665693,
0.0021586562506854534,
-0.002558682579547167,
-0.060794100165367126,
0.008010434918105602,
0.04854809492826462,
0.05401718616485596,
-0.006231989711523056,
-0.010492333211004734,
0.050331491976976395,
-0.019131911918520927,
-0.030753731727600098,
0.042405273765325546,
-0.007936127483844757,
0.002756838221102953,
0.0125036109238863,
0.04319789633154869,
0.024214599281549454,
-0.014574335888028145,
-0.012255916371941566,
-0.007985665462911129,
-0.05461164936423302,
0.08433496952056885,
-0.008198683150112629,
-0.04303937032818794,
0.03505370393395424,
-0.013910515233874321,
-0.05013333633542061,
0.01923098973929882,
0.02155931666493416,
-0.001923346659168601,
0.03816474601626396,
0.03689654916524887,
-0.04775547236204147,
0.01706118695437908,
0.007420922629535198,
-0.027801213786005974,
0.005513676442205906,
-0.005345243960618973,
0.03677765652537346,
-0.037114523351192474,
0.04490203037858009,
-0.00038733205292373896,
0.020905403420329094,
-0.008857550099492073,
-0.049340713769197464,
0.015594836324453354,
0.01563446782529354,
-0.02799936942756176,
0.056355420500040054,
0.019171543419361115,
-0.01063104160130024,
0.04763657972216606,
0.03875921294093132,
-0.012146931141614914,
-0.065549835562706,
-0.0037723849527537823,
0.00613291235640645,
-0.01924089714884758,
0.051916737109422684,
0.008030250668525696,
0.037233415991067886,
0.0658668801188469,
0.037708986550569534,
-0.028118262067437172,
0.036817289888858795,
-0.016744138672947884,
-0.0020026087295264006,
0.05702914670109749,
-0.01284047495573759,
0.056078001856803894,
-0.007158366963267326,
0.06218118965625763,
0.010839104652404785,
-0.028039000928401947,
-0.01406903937458992,
-0.06285491585731506,
0.02342197857797146,
0.0574650913476944,
-0.06471758335828781,
0.001131344004534185,
-0.05124300718307495,
-0.05603836849331856,
0.012325271032750607,
-0.05124300718307495,
0.07371383905410767,
0.017992516979575157,
0.02883162349462509,
-0.004842424765229225,
-0.05786139890551567,
-0.02268880233168602,
0.0588521771132946,
0.029822399839758873,
-0.017298974096775055,
0.010581502690911293,
0.01033380813896656,
-0.008099605329334736,
-0.037114523351192474,
-0.04692321643233299,
0.055760953575372696,
-0.004223188851028681,
0.017467405647039413,
-0.04292047768831253,
-0.03578687831759453,
-0.04125596955418587,
0.06535167992115021,
-0.028256971389055252,
0.04664580151438713,
-0.012582872994244099,
-0.019904717803001404,
-0.005701924208551645,
-0.01593170128762722,
0.019131911918520927,
0.01025454606860876,
-0.04854809492826462,
0.013791621662676334,
-0.06356827914714813,
-0.03487536311149597,
-0.0645986869931221,
0.10129708051681519,
-0.0040919105522334576,
-0.03976980596780777,
-0.02457127906382084,
0.03255694732069969,
-0.008882319554686546,
-0.0074803694151341915,
-0.03140764310956001,
0.00037525693187490106,
-0.02455146424472332,
0.042286381125450134,
-0.0777958407998085,
-0.019062558189034462,
0.007093966472893953,
0.02312474511563778,
0.0034924903884530067,
-0.024492017924785614,
0.036678578704595566,
-0.05762361362576485,
0.0037575233727693558,
0.06103188917040825,
0.001503504696302116,
-0.0025314362719655037,
0.03636153042316437,
0.012553149834275246,
-0.046606168150901794,
0.03889792039990425,
0.011919052340090275,
0.03889792039990425,
-0.0182501208037138,
-0.0023134653456509113,
0.01610013283789158,
0.04676469415426254,
0.01171098928898573,
0.031070780009031296,
-0.010205007158219814,
0.016119947656989098,
0.001012450666166842,
0.0029574704822152853,
0.01953813061118126,
0.024630727246403694,
-0.07632949203252792,
0.00890708900988102,
0.0030342559330165386,
0.07062261551618576,
-0.032675839960575104,
0.04834993928670883,
0.023025667294859886,
0.01062113419175148,
0.03891773521900177,
0.04038408771157265,
-0.004708669614046812,
-0.03477628529071808,
-0.00023654810502193868,
-0.004535283427685499,
-0.05956553667783737,
-0.022451015189290047,
-0.03806566819548607,
-0.01171098928898573,
0.028633467853069305,
0.06039779260754585,
0.022213229909539223,
-0.021004481241106987,
0.04232601076364517,
0.03247768431901932,
-0.014812122099101543,
0.0006155204609967768,
-0.00940247718244791,
0.0245316494256258,
0.04708174243569374,
0.04727989807724953,
0.015743453055620193,
0.008471147157251835,
-0.016575705260038376,
-0.02007315121591091,
0.00975915789604187,
-0.002364242682233453,
-0.019003110006451607,
-0.001483689178712666,
0.006345929112285376,
-0.028633467853069305,
0.020449645817279816,
0.038402531296014786,
0.0018477998673915863,
0.044862400740385056,
0.02829660288989544,
0.00628648279234767,
0.039551835507154465,
0.030099818482995033,
0.0022205798886716366,
0.054334234446287155,
0.005137180909514427,
0.02685006707906723,
0.020766694098711014,
-0.09170635789632797,
-0.029980923980474472,
-0.005518630146980286,
-0.005117365159094334,
-0.015357050113379955,
0.041969332844018936,
-0.018567169085144997,
-0.015357050113379955,
0.0042355735786259174,
-0.04002740606665611,
-0.05397755280137062,
0.056196894496679306,
0.048627354204654694,
0.041295602917671204,
-0.05179784446954727,
-0.04208822548389435,
0.011136338114738464,
0.03786751255393028,
-0.011988407000899315,
0.0020001318771392107,
-0.017328696325421333,
-0.038125116378068924,
0.017903348430991173,
-0.06856179982423782,
-0.0959865152835846,
-0.0686410591006279,
0.040007591247558594,
0.03499425947666168,
0.035826511681079865,
-0.016704507172107697,
0.004468406084924936,
-0.032537128776311874,
-0.005493860691785812,
-0.00962540227919817,
-0.015584928914904594,
0.044426459819078445,
-0.05195636674761772,
0.0036782610695809126,
-0.0033859817776829004,
0.017180079594254494,
0.01983536407351494,
-0.021717840805649757,
-0.01851763017475605,
-0.0011753096478059888,
0.021935811266303062,
-0.08536538481712341,
-0.03196248039603233,
0.023144559934735298,
-0.019032834097743034,
0.0686410591006279,
-0.03546983003616333,
-0.020192043855786324,
-0.05512685328722,
0.029049593955278397,
-0.007098920177668333,
-0.04220711812376976,
0.01709091104567051,
-0.03976980596780777,
0.05227341502904892,
0.0006991173140704632,
0.018012333661317825,
-0.006603531539440155,
-0.005533491726964712,
0.004096864722669125,
-0.02326345443725586,
-0.05524574965238571,
-0.0003737088409252465,
-0.008996258489787579,
0.03465739265084267,
-0.03249749913811684,
0.018022241070866585,
-0.04827067628502846,
-0.008228406310081482,
-0.02754361182451248,
0.04605133458971977,
-0.03961127996444702,
0.002932701027020812,
-0.03677765652537346,
0.02027130499482155,
0.03493481129407883,
-0.017705192789435387,
0.06947331130504608,
0.06012037396430969,
-0.01501027774065733,
-0.059922218322753906,
-0.004131541587412357,
0.026453757658600807,
0.10399200022220612,
0.027186932042241096,
-0.0027716998010873795,
0.045298341661691666,
-0.04375272989273071,
-0.00089355738600716,
-0.03428089991211891,
0.009991990402340889,
0.012543242424726486,
-0.03945275768637657,
0.0008093413198366761,
0.06986962258815765,
0.05671209841966629,
-0.0531056709587574,
-0.03332975134253502,
0.04498129338026047,
-0.025205377489328384,
0.016863031312823296,
0.0011678788578137755,
-0.002062055515125394,
0.02986203134059906,
0.008867457509040833,
-0.01063104160130024,
0.04727989807724953,
0.0333099365234375,
-0.0029748091474175453,
0.061943404376506805,
0.0065539926290512085,
0.025918737053871155,
-0.027246378362178802,
0.05413607880473137,
-0.002085586544126272,
-0.002719684038311243,
-0.03116985782980919,
-0.011988407000899315,
-0.07656727731227875,
0.005667246878147125,
-0.028474941849708557,
-0.09646208584308624,
-0.0047656395472586155,
0.02597818337380886,
-0.017001740634441376,
0.0016162056708708405,
-0.00516690406948328,
0.024848697707057,
-0.010512148030102253,
0.08496907353401184,
-0.02395699732005596,
-0.024511832743883133,
-0.06697655469179153,
-0.019894810393452644,
-0.07434793561697006,
-0.007876680232584476,
0.000625118613243103,
0.0053254286758601665,
-0.0740705206990242,
-0.023877736181020737,
0.0069503034465014935,
-0.053066037595272064,
-0.06911662966012955,
0.02730582468211651,
-0.01413839403539896,
0.019904717803001404,
-0.008386930450797081,
0.015584928914904594,
0.052313048392534256,
0.03588595613837242,
0.0324578694999218,
-0.04771583899855614,
-0.0044584982097148895,
0.016625244170427322,
0.048746246844530106,
-0.024650542065501213,
-0.009011120535433292,
-0.06451942771673203,
-0.06206229701638222,
0.031922847032547,
0.014287009835243225,
-0.024075891822576523,
-0.058812547475099564,
0.0075447699055075645,
-0.03412237390875816,
0.01994434930384159,
-0.06360790878534317,
-0.02643394097685814,
0.033963847905397415,
0.01025454606860876,
-0.04609096422791481,
-0.07922255992889404,
0.022510463371872902,
0.005374967586249113,
-0.01594160869717598,
0.0040993415750563145,
0.036242637783288956,
-0.012444164603948593,
0.0011753096478059888,
-0.000400955235818401,
0.011701080948114395,
0.063845694065094,
0.00860985554754734,
-0.021777287125587463,
0.008634625002741814,
0.05825771018862724,
-0.04058224335312843,
0.02797955460846424,
-0.014445534907281399,
-0.01557502057403326,
0.016020869836211205,
0.022490646690130234,
0.008941765874624252,
0.007460554130375385,
-0.05326419323682785,
-0.030951885506510735,
0.027682321146130562,
0.01594160869717598,
0.012018130160868168,
-0.07430830597877502,
-0.0002196739224018529,
0.04763657972216606,
-0.037273045629262924,
-0.03477628529071808,
-0.03715415298938751,
-0.01549575850367546,
0.05239230766892433,
0.020845957100391388,
-0.021321529522538185,
-0.01566419005393982,
0.06844290345907211,
0.0416126511991024,
0.00968980323523283,
-0.06162635609507561,
-0.03418182209134102,
0.02871272899210453,
-0.039551835507154465,
-0.019320160150527954,
0.03233897313475609,
0.04997481405735016,
0.052630096673965454,
-0.0010557972127571702,
0.007554677780717611,
0.00699984235689044,
-0.04149375855922699,
0.029327010735869408,
-0.0476762093603611,
-0.010492333211004734,
0.019171543419361115,
-0.006043742410838604,
0.024809066206216812,
-0.09123078733682632,
-0.0037352307699620724,
-0.06214156001806259,
-0.02223304472863674,
0.0012198947370052338,
-0.0829082503914833,
-0.11168043315410614,
-0.040701135993003845,
-0.03285418078303337,
0.041414495557546616,
0.02568094991147518,
0.05508722364902496,
0.015307511202991009,
0.012999000027775764,
-0.021321529522538185,
0.01212711539119482,
0.007693386636674404,
-0.03220026567578316,
-0.01738814264535904,
0.09123078733682632,
-0.01142366323620081,
-0.009972174651920795,
0.08306677639484406,
-0.004171173088252544,
-0.09685839712619781,
0.002125217579305172,
0.004012648481875658,
0.019756101071834564,
0.023342715576291084,
-0.003051594365388155,
-0.053779397159814835,
0.007876680232584476,
-0.008074835874140263,
0.019924534484744072,
0.009506509639322758,
0.04838956892490387,
-0.0036584455519914627,
0.038561057299375534,
0.006395468022674322,
-0.002831146353855729,
-0.0009505270863883197,
0.05488906800746918,
0.016991833224892616,
-0.036559686064720154,
-0.07914330065250397,
-0.010908459313213825,
-0.05041075497865677,
-0.011037260293960571,
0.015436312183737755,
-0.006261713337153196,
0.051599688827991486,
-0.008520686067640781,
0.01907246559858322,
-0.006459868513047695,
0.04121633991599083,
0.020568538457155228,
0.0143662728369236,
0.017199896275997162,
-0.014257286675274372,
0.06297381222248077,
0.004869671072810888,
0.03390440344810486,
0.05762361362576485,
-0.01720980368554592,
0.03059520572423935,
0.0500144436955452,
-0.01018519140779972,
-0.04434719681739807,
0.01163172721862793,
0.006321159657090902,
0.0044287750497460365,
-0.07125671207904816,
-0.029901662841439247,
0.03560854122042656,
-0.03648042306303978,
0.01924089714884758,
0.03663894906640053,
-0.018567169085144997,
0.011185877025127411
]
|
40,623 | pyglove.core.symbolic.dict | __iter__ | Iterate keys in field declaration order. | def __iter__(self):
"""Iterate keys in field declaration order."""
return self.sym_keys()
| (self) | [
0.044376980513334274,
-0.02279500849545002,
-0.06051712855696678,
0.004906908143311739,
-0.006141006015241146,
-0.02463141456246376,
0.0210428424179554,
-0.024277610704302788,
0.08262138068675995,
-0.016173843294382095,
-0.026046626269817352,
-0.023468919098377228,
0.028573788702487946,
0.03443680703639984,
-0.018094485625624657,
-0.013747765682637691,
-0.021851535886526108,
0.05623779818415642,
-0.06301059573888779,
0.005673480685800314,
-0.02335098572075367,
0.010133923031389713,
0.03302159532904625,
-0.01900426484644413,
-0.006090462673455477,
0.05502476170659065,
0.03652592748403549,
0.005799838807433844,
0.06621167063713074,
-0.001700569991953671,
-0.039558522403240204,
-0.0076699391938745975,
0.035043325275182724,
-0.003466424997895956,
0.016123298555612564,
-0.07723009586334229,
-0.011094245128333569,
0.030713453888893127,
-0.0047426423989236355,
0.0362226665019989,
0.06927795708179474,
-0.00012273850734345615,
-0.011633372865617275,
-0.03821070119738579,
-0.018313506618142128,
-0.011279569938778877,
0.044073719531297684,
-0.007758390158414841,
0.05431715399026871,
-0.05590084195137024,
0.03209497034549713,
-0.020554257556796074,
0.02611401677131653,
-0.027630314230918884,
-0.006810703780502081,
-0.010479302145540714,
0.01171761192381382,
-0.013545593246817589,
-0.026653144508600235,
0.04602805897593498,
-0.045488931238651276,
-0.017589053139090538,
0.007872112095355988,
-0.020385781303048134,
0.013402387499809265,
-0.06590840965509415,
-0.047443270683288574,
-0.009064090438187122,
-0.007754178252071142,
-0.009999141097068787,
-0.06011278182268143,
-0.026939556002616882,
-0.003957116045057774,
0.03652592748403549,
-0.043871548026800156,
-0.03418409079313278,
-0.0351107157766819,
0.014783903025090694,
0.054856281727552414,
-0.09899739176034927,
-0.04218677431344986,
0.0002033576456597075,
-0.0955604538321495,
0.003679127898067236,
-0.03281942382454872,
0.01769014075398445,
0.04087264835834503,
-0.00493217958137393,
-0.0026851105503737926,
0.05438454449176788,
-0.043703071773052216,
0.04602805897593498,
-0.0028051508124917746,
0.09852565824985504,
-0.06311167776584625,
-0.016679275780916214,
-0.03750309720635414,
-0.027664009481668472,
-0.028135746717453003,
0.0242439154535532,
0.022896096110343933,
0.00946001335978508,
0.020554257556796074,
0.0353802815079689,
-0.009064090438187122,
-0.05809105187654495,
-0.047443270683288574,
-0.08369963616132736,
0.02936563268303871,
-0.0030620789621025324,
-0.05303672328591347,
0.024783043190836906,
0.01244206540286541,
0.019695023074746132,
0.00869343988597393,
-0.05165521055459976,
0.00967060960829258,
0.000890824943780899,
0.03972700238227844,
-0.012517879717051983,
-0.007606760133057833,
0.04683675244450569,
-0.026905860751867294,
0.04400632902979851,
0.02747868373990059,
0.031033560633659363,
0.03362811356782913,
0.011296418495476246,
-0.0034074580762535334,
0.0026092957705259323,
0.040838953107595444,
0.014716511592268944,
-0.014531186781823635,
0.04191720858216286,
0.02778194472193718,
-0.0015468342462554574,
0.11867556720972061,
-0.007332984358072281,
-0.024345003068447113,
0.042928073555231094,
0.03965960815548897,
0.005037478171288967,
0.014994500204920769,
0.02394065633416176,
-0.03332485631108284,
-0.012138805352151394,
-0.0031252580229192972,
0.04562371224164963,
0.0021712540183216333,
-0.025625431910157204,
-0.011085821315646172,
0.014185807667672634,
0.05263238027691841,
0.05509215220808983,
-0.06021386757493019,
0.044511761516332626,
-0.07028882205486298,
-0.022508597001433372,
-0.03319007158279419,
-0.019273828715085983,
-0.03313953056931496,
-0.023789025843143463,
-0.04056938737630844,
-0.03362811356782913,
0.022744465619325638,
0.03932265564799309,
0.007935291156172752,
-0.08565397560596466,
0.02139664627611637,
0.01127114612609148,
-0.00866816844791174,
-0.05650736391544342,
-0.033341702073812485,
0.011473319493234158,
-0.032111816108226776,
0.056574754416942596,
-0.018633615225553513,
0.06974969804286957,
0.022356968373060226,
0.012627390213310719,
0.023637397214770317,
-0.03386398404836655,
-0.0810713842511177,
-0.02100914716720581,
0.058697570115327835,
0.03243192285299301,
0.012837987393140793,
0.012517879717051983,
0.04804978892207146,
-0.0186673104763031,
0.005424976348876953,
-0.02373848296701908,
-0.012239892035722733,
-0.0012067202478647232,
-0.018802091479301453,
0.00030536550912074745,
-0.02446293644607067,
0.023418376222252846,
-0.01875154860317707,
0.08612570911645889,
-0.04939761012792587,
-0.03868243843317032,
-0.05310411751270294,
0.029550958424806595,
-0.014430100098252296,
0.03443680703639984,
0.03548136726021767,
-0.06041603907942772,
-0.0027946210466325283,
-0.007640455849468708,
0.006027283612638712,
-0.04976826161146164,
0.017100468277931213,
-0.021548274904489517,
0.025237932801246643,
-0.022643379867076874,
0.01772383600473404,
-0.0370650552213192,
0.013815157115459442,
0.023249898105859756,
0.08235181123018265,
0.027175424620509148,
0.002232327125966549,
-0.062100816518068314,
0.017959704622626305,
-0.05718127265572548,
-0.015440965071320534,
-0.013486625626683235,
-0.09091047197580338,
-0.06472906470298767,
0.024732500314712524,
0.015339878387749195,
-0.05623779818415642,
0.013166518881917,
0.06597580015659332,
0.0035906771663576365,
0.003310583299025893,
-0.008293306455016136,
-0.00816273596137762,
0.003327431157231331,
0.002659838879480958,
0.06621167063713074,
-0.02075643092393875,
0.0017174177337437868,
-0.080262690782547,
-0.009232568554580212,
0.036660708487033844,
0.05216064304113388,
0.0047257947735488415,
0.023030877113342285,
0.0002627196372486651,
-0.06934534758329391,
0.018262963742017746,
0.02624879777431488,
0.0211776252835989,
-0.04525306448340416,
-0.02518738992512226,
0.01670454628765583,
0.04892587289214134,
-0.02304772473871708,
0.007311924826353788,
0.02020045556128025,
-0.044848717749118805,
0.03891830891370773,
0.06611058115959167,
0.04063677787780762,
0.04973456636071205,
0.017875464633107185,
-0.022592836990952492,
0.009055666625499725,
0.0721757709980011,
-0.014943956397473812,
-0.05603562667965889,
0.030477585271000862,
-0.007143447175621986,
0.03034280240535736,
0.02006567269563675,
0.02658575400710106,
-0.0434672012925148,
-0.010807833634316921,
0.03327431157231331,
-0.020739583298563957,
-0.0423552505671978,
-0.004043460823595524,
-0.018128180876374245,
0.035009630024433136,
-0.03612158074975014,
-0.00032326625660061836,
-0.00026153502403758466,
-0.03221290186047554,
0.08423876017332077,
0.044680241495370865,
0.053879112005233765,
-0.010951039381325245,
0.05728235840797424,
-0.019964586943387985,
-0.03531289100646973,
-0.015466236509382725,
0.04029982537031174,
0.014059449546039104,
0.043871548026800156,
0.005563970189541578,
0.006212608888745308,
0.03861504793167114,
-0.01661188341677189,
0.008929308503866196,
0.04862261563539505,
0.06587471067905426,
-0.026653144508600235,
-0.002512420993298292,
-0.024277610704302788,
0.04963348060846329,
-0.021935774013400078,
0.03861504793167114,
-0.0320444256067276,
-0.08295833319425583,
-0.04016504064202309,
0.0420856848359108,
-0.014312165789306164,
0.09899739176034927,
-0.050004128366708755,
0.0185325276106596,
-0.006996029056608677,
-0.01018446683883667,
-0.024867283180356026,
0.016763513907790184,
0.008604989387094975,
-0.00585880596190691,
0.023704787716269493,
-0.0019627632573246956,
0.011203755624592304,
-0.03575092926621437,
0.00781735684722662,
0.06280842423439026,
-0.0206216499209404,
0.04036721587181091,
0.033729199320077896,
-0.004032930824905634,
-0.008103769272565842,
-0.06594210118055344,
-0.011102668941020966,
-0.054182372987270355,
0.004300388973206282,
-0.0299553032964468,
-0.06597580015659332,
-0.018549375236034393,
-0.0124673368409276,
0.004864788614213467,
0.06954751908779144,
0.011582829989492893,
0.04023243486881256,
-0.03588571399450302,
0.04771283641457558,
0.024058591574430466,
0.045488931238651276,
-0.006010435521602631,
-0.019543392583727837,
-0.0070718443021178246,
-0.03401561081409454,
0.037267230451107025,
0.11604732275009155,
0.01312439888715744,
-0.04980195686221123,
-0.0028219986706972122,
0.027815639972686768,
-0.043703071773052216,
-0.06530188769102097,
0.009072515182197094,
0.04090634360909462,
-0.01598009280860424,
-0.029096068814396858,
0.005163836292922497,
-0.013857276178896427,
-0.03659331798553467,
-0.024260763078927994,
0.016906719654798508,
0.033729199320077896,
0.07197359949350357,
-0.043703071773052216,
-0.009005123749375343,
0.03175801411271095,
-0.02538956329226494,
0.03831179067492485,
0.05172260105609894,
-0.036323755979537964,
-0.005774567369371653,
0.05094760283827782,
-0.0163675919175148,
0.04488241299986839,
0.047443270683288574,
-0.04976826161146164,
-0.039861783385276794,
-0.05232911929488182,
0.0032221325673162937,
0.009771696291863918,
-0.04683675244450569,
0.015162977389991283,
-0.06567253917455673,
-0.03564984351396561,
-0.05165521055459976,
0.05455302447080612,
-0.0643584132194519,
-0.04154655709862709,
0.031168341636657715,
0.015533627942204475,
-0.04461284726858139,
0.030241716653108597,
-0.02535586804151535,
0.016797209158539772,
0.0011846076231449842,
0.00826382264494896,
0.011852393858134747,
-0.017841769382357597,
-0.07136707752943039,
0.0465334914624691,
-0.03435256704688072,
0.029550958424806595,
0.015162977389991283,
0.055496495217084885,
0.06887361407279968,
0.035683538764715195,
-0.051924772560596466,
-0.01892002671957016,
0.025675974786281586,
-0.018936874344944954,
-0.014556458219885826,
-0.019661327823996544,
0.023384680971503258,
0.011490167118608952,
0.005930408835411072,
-0.033813439309597015,
0.024092286825180054,
0.019627632573246956,
-0.007699423003941774,
0.010344520211219788,
-0.04508458450436592,
-0.012273588217794895,
-0.015289335511624813,
0.011700764298439026,
0.033560723066329956,
0.004100321792066097,
0.02577706053853035,
0.008777678944170475,
-0.06341493874788284,
0.0384465716779232,
0.01432058960199356,
0.0016742454608902335,
0.10297346115112305,
0.0629768967628479,
0.019779261201620102,
0.010892071761190891,
0.007939503528177738,
0.0638192892074585,
-0.04970087110996246,
0.02769770473241806,
0.010605660267174244,
0.008727136068046093,
-0.056574754416942596,
0.007147659081965685,
0.005041690077632666,
0.021245015785098076,
0.026215102523565292,
-0.013360267505049706,
-0.020655345171689987,
-0.01950969733297825,
0.017066773027181625,
-0.033038441091775894,
0.044511761516332626,
0.009316807612776756,
0.010639355517923832,
0.02488413080573082,
0.0081837959587574,
-0.030477585271000862,
-0.06371819972991943,
-0.033291157335042953,
0.009131481871008873,
-0.0003943427000194788,
0.0327351838350296,
-0.08019530028104782,
-0.09738001227378845,
-0.01186924148350954,
-0.06850296258926392,
-0.0020069885067641735,
-0.05020630359649658,
0.03507702052593231,
-0.022356968373060226,
0.013983634300529957,
-0.009603219106793404,
-0.04771283641457558,
-0.020267846062779427,
0.006638014689087868,
-0.0038686650805175304,
0.022340120747685432,
0.0160222128033638,
0.07615184038877487,
0.010386639274656773,
-0.000373283022781834,
0.03544767200946808,
-0.03319007158279419,
0.004649979528039694,
-0.018549375236034393,
0.014834445901215076,
0.0047510662116110325,
0.01359613612294197,
0.007581488694995642,
0.010892071761190891,
0.014438523910939693,
-0.03404930979013443,
0.0016763514140620828,
-0.04481502249836922,
0.008685016073286533,
-0.055328018963336945,
-0.0045404694974422455,
-0.014783903025090694,
0.021312406286597252,
-0.05782148614525795,
-0.039996564388275146,
-0.02109338715672493,
-0.048858482390642166,
0.0646616742014885,
0.015862159430980682,
-0.025894995778799057,
-0.04663458094000816,
0.020739583298563957,
-0.01827981136739254,
0.046971533447504044,
-0.034116700291633606,
-0.03514441102743149,
0.033425942063331604,
-0.0186673104763031,
0.035009630024433136,
-0.023249898105859756,
0.015626290813088417,
0.024109134450554848,
-0.056103017181158066,
0.02705749124288559,
0.016561340540647507,
0.026130864396691322,
-0.038581352680921555,
0.06573992967605591,
0.05027369409799576,
0.040838953107595444,
0.0076193963177502155,
-0.023671092465519905,
0.06796383112668991,
0.025339020416140556,
-0.05654105916619301,
-0.07042360305786133,
-0.021750448271632195,
-0.02867487445473671,
-0.06071930006146431,
0.005408128723502159,
-0.0020269951783120632,
-0.05020630359649658,
-0.013006464578211308,
-0.00615785364061594,
0.013217061758041382,
-0.02351946197450161,
0.003215814707800746,
0.012711629271507263,
0.022693922743201256,
0.013006464578211308,
-0.0381770059466362,
-0.02109338715672493,
-0.021666210144758224,
-0.002798832952976227,
0.0381770059466362,
0.019206438213586807,
-0.00750988582149148,
0.04336611554026604,
-0.01469966396689415,
0.015415693633258343,
0.028102051466703415,
0.041007429361343384,
0.05927039310336113,
0.024041742086410522,
-0.05687801167368889,
0.016931992024183273,
-0.02232327125966549,
-0.11510384827852249,
0.005264922510832548,
0.016687698662281036,
0.02803466096520424,
0.011624949052929878,
-0.03895200416445732,
-0.024041742086410522,
0.003883406985551119,
0.02458087168633938,
-0.006077826954424381,
0.0010471930727362633,
-0.03148844838142395,
-0.05219433829188347,
-0.045488931238651276,
-0.01598009280860424,
-0.001408893265761435,
-0.03787374868988991,
-0.05401389300823212,
0.0121219577267766,
-0.04141177609562874,
-0.029348785057663918,
-0.01819557324051857,
0.015474660322070122,
0.018077638000249863,
0.01555047556757927,
0.021278711035847664,
-0.03256670758128166,
0.04734218493103981,
0.06257255375385284,
0.04717370867729187,
0.0103108249604702,
-0.07372576743364334,
-0.02351946197450161,
0.014657544903457165,
-0.009999141097068787,
-0.0076699391938745975,
0.0009192554862238467,
0.03730092570185661,
0.011001582257449627,
0.02889389544725418,
-0.000048437290388392285,
-0.055496495217084885,
0.013832004740834236,
-0.012172501534223557,
0.048723701387643814,
-0.036458536982536316,
-0.008512327447533607,
0.020941756665706635,
-0.023789025843143463,
0.05027369409799576,
-0.01836404949426651,
-0.027899878099560738,
-0.003466424997895956,
0.06237037852406502,
-0.019695023074746132,
-0.01950969733297825,
-0.0078384168446064,
0.00013353160466067493,
-0.023283593356609344,
-0.058394309133291245,
0.0412432998418808,
-0.020857518538832664,
0.013983634300529957,
-0.031117798760533333,
0.03608788549900055,
-0.042759597301483154,
0.03605419024825096,
-0.008634473197162151,
-0.050004128366708755,
0.04946500062942505,
-0.05640627443790436,
-0.04205198958516121,
0.04333242028951645,
-0.04734218493103981,
-0.011431200429797173,
-0.01071517076343298,
-0.04525306448340416,
-0.01143962424248457,
-0.042759597301483154,
0.003927632234990597,
-0.036155276000499725,
0.01391624379903078,
-0.01858307048678398,
0.0023628973867744207,
-0.0783083513379097,
-0.002346049528568983,
0.015777919441461563,
-0.010917344130575657,
0.026130864396691322,
0.01287168264389038,
0.01648552529513836,
0.005745083559304476,
0.028102051466703415,
0.019324371591210365,
-0.06301059573888779,
-0.05391280725598335,
0.03686288371682167,
0.03137051686644554,
0.0108668003231287,
0.05761931464076042,
-0.029668891802430153,
-0.008234338834881783,
-0.02100914716720581,
0.011616525240242481,
0.04053569212555885,
-0.012138805352151394,
-0.013436082750558853,
0.0017774378648027778,
0.0031210461165755987,
0.009114634245634079,
-0.08188007771968842,
0.01501977164298296,
-0.04559001699090004,
0.05697909742593765,
-0.029348785057663918,
-0.017420576885342598,
0.007303500548005104,
0.022778160870075226,
-0.02309826947748661,
0.03158953785896301,
0.0006765425787307322,
-0.00933365523815155,
0.01870100572705269,
0.05889974161982536,
0.010445606894791126,
0.013646679930388927,
0.014093144796788692,
0.036155276000499725,
0.02385641820728779,
0.01849883235991001,
0.012627390213310719,
-0.00043067068327218294,
0.036963969469070435,
-0.07231055200099945,
-0.052666075527668,
0.06348232924938202,
-0.013949939049780369,
0.020773278549313545,
0.033088985830545425,
0.02432815544307232,
0.055496495217084885,
0.05623779818415642,
-0.009156753309071064,
0.01704992540180683,
0.04929652437567711,
-0.0021186049561947584,
0.011346961371600628,
-0.047274794429540634,
0.04602805897593498,
-0.047106314450502396,
0.033897679299116135,
0.039996564388275146,
-0.027242815122008324,
-0.05697909742593765,
0.05300302803516388,
-0.019610783085227013,
-0.013646679930388927,
0.0021649361588060856,
0.02357000671327114,
0.0040181889198720455,
0.07082795351743698,
-0.03421778604388237,
0.037435706704854965,
0.013309724628925323,
0.041613947600126266,
0.011178484186530113,
-0.008508115075528622,
0.015879007056355476,
0.01312439888715744,
0.0036580683663487434,
-0.03025856427848339,
0.01592954993247986,
0.06179755553603172,
0.026905860751867294,
-0.03591940924525261,
-0.013048584572970867,
0.012627390213310719,
-0.006418993696570396,
-0.02811889909207821,
-0.025423258543014526,
0.0017174177337437868,
-0.05633888393640518,
-0.057888876646757126,
-0.001632126048207283,
0.06055082380771637,
0.008474419824779034,
0.0015626290114596486,
0.06668340414762497,
-0.012517879717051983
]
|
40,624 | pyglove.core.symbolic.dict | __ne__ | Operator !=. | def __ne__(self, other: Any) -> bool:
"""Operator !=."""
return not self.__eq__(other)
| (self, other: Any) -> bool | [
0.01115892082452774,
0.0048676589503884315,
0.028436679393053055,
0.021769622340798378,
-0.10108461230993271,
-0.07710442692041397,
-0.07590188086032867,
0.013201480731368065,
0.034148771315813065,
-0.006985378451645374,
0.0006062468164600432,
-0.04406977817416191,
0.03812778741121292,
0.012476416304707527,
-0.03538668900728226,
-0.00942583940923214,
-0.036677658557891846,
0.06504359841346741,
0.011945880949497223,
-0.05457437410950661,
-0.042867232114076614,
0.027853090316057205,
0.008139291778206825,
0.07257719337940216,
0.009399312548339367,
0.06002119928598404,
-0.015314778313040733,
0.01128271222114563,
-0.02963922545313835,
0.05651966854929924,
-0.035864170640707016,
-0.024369243532419205,
0.0442112535238266,
-0.01964748091995716,
0.04877385497093201,
0.0060657840222120285,
-0.01595142111182213,
0.08615889400243759,
-0.09004948288202286,
-0.042301326990127563,
-0.014748874120414257,
-0.02222941815853119,
0.0015694994945079088,
0.0015849735355004668,
-0.015376674011349678,
-0.04081583023071289,
0.011097025126218796,
-0.009965216740965843,
-0.01215809490531683,
0.04799573868513107,
0.009699949063360691,
0.013961913995444775,
0.016207845881581306,
0.0813487097620964,
-0.057969797402620316,
0.04746520146727562,
0.009054465219378471,
0.014076863415539265,
-0.04852627217769623,
0.05556470528244972,
-0.08283420652151108,
0.022494686767458916,
0.00701190484687686,
-0.08127797394990921,
-0.004628918133676052,
-0.02825983427464962,
-0.06327515095472336,
-0.018232721835374832,
-0.004045329988002777,
0.03713745251297951,
-0.08042911440134048,
-0.0015374463982880116,
0.015173302963376045,
0.04339776933193207,
-0.008386874571442604,
-0.03770335763692856,
0.005101978778839111,
0.10306527465581894,
0.015756892040371895,
-0.035192158073186874,
-0.0016645537689328194,
-0.0407450906932354,
-0.007078221999108791,
0.015394358895719051,
-0.0476774163544178,
0.018674833700060844,
0.001047806697897613,
-0.0034484779462218285,
0.017657974734902382,
-0.0067864274606108665,
-0.03986086696386337,
-0.0074495961889624596,
-0.004096172749996185,
-0.05712094157934189,
0.05266444757580757,
0.07703369110822678,
-0.002816256834194064,
-0.02350270375609398,
0.010973233729600906,
-0.022989852353930473,
0.054008468985557556,
0.04010844975709915,
0.03872906044125557,
-0.019382214173674583,
0.0015020773280411959,
-0.009363943710923195,
-0.009443524293601513,
-0.04085119813680649,
-0.03452014923095703,
0.017428075894713402,
-0.05220464989542961,
0.06667057424783707,
-0.04201837629079819,
0.011830931529402733,
0.014465922489762306,
-0.013086531311273575,
-0.014200654812157154,
-0.012237675487995148,
0.030240498483181,
-0.007812128867954016,
0.011220816522836685,
0.06942935287952423,
-0.02963922545313835,
0.01802050694823265,
0.07169297337532043,
-0.02104455791413784,
0.04590896517038345,
0.025890110060572624,
-0.030735664069652557,
0.009965216740965843,
0.02767624519765377,
-0.007064958568662405,
-0.007484965492039919,
0.05365477874875069,
0.029356272891163826,
0.058111272752285004,
0.040426772087812424,
0.004107225686311722,
0.015969105064868927,
-0.01918768510222435,
-0.005203664768487215,
-0.020266439765691757,
0.06447769701480865,
0.06564486771821976,
-0.0023255120031535625,
0.02932090498507023,
-0.0953548327088356,
0.034590885043144226,
0.01377622690051794,
-0.0013219164684414864,
-0.02083234302699566,
0.025094307959079742,
0.017640290781855583,
0.02092076651751995,
-0.03685450181365013,
0.04520158842206001,
-0.005181558895856142,
-0.016773749142885208,
-0.02244163304567337,
0.019859695807099342,
0.012644418515264988,
0.006525581236928701,
0.07653852552175522,
-0.013457905501127243,
0.005597144830971956,
-0.025200415402650833,
0.006795269902795553,
-0.01874557137489319,
0.02196415141224861,
0.03393656015396118,
0.0026880442164838314,
-0.029444696381688118,
-0.03756188228726387,
0.01641121692955494,
-0.017543025314807892,
0.04212448373436928,
0.011247343383729458,
0.05093136429786682,
-0.043327029794454575,
0.01528825145214796,
0.035881854593753815,
-0.04155857861042023,
-0.06002119928598404,
0.013272218406200409,
0.0838245376944542,
-0.00526113947853446,
-0.022282471880316734,
-0.038446106016635895,
-0.004584707319736481,
0.042867232114076614,
-0.032840121537446976,
-0.02281300723552704,
-0.017065543681383133,
0.0203548613935709,
0.0406743548810482,
-0.03759725019335747,
-0.0018745572306215763,
0.008298452943563461,
0.042867232114076614,
0.03444940969347954,
-0.016446586698293686,
-0.00514176907017827,
0.005318613722920418,
-0.017047859728336334,
-0.010566489771008492,
-0.055069539695978165,
-0.03876442834734917,
-0.03282243385910988,
0.06033952161669731,
-0.02127445489168167,
0.015190986916422844,
-0.004365861415863037,
0.050436198711395264,
0.01791439950466156,
0.041806161403656006,
0.03278706595301628,
0.008095080964267254,
-0.015164460055530071,
-0.01029238011687994,
0.07576040923595428,
0.06104690209031105,
-0.042725756764411926,
0.011388818733394146,
-0.017534183338284492,
0.019682850688695908,
0.03643007203936577,
0.0030638398602604866,
0.00004763071774505079,
-0.0010334380203858018,
-0.06447769701480865,
0.023237435147166252,
0.023803340271115303,
0.011822089552879333,
-0.025978533551096916,
0.03294622525572777,
0.008240978233516216,
-0.04976418986916542,
0.019099261611700058,
-0.05726241692900658,
0.02314901351928711,
-0.004427757114171982,
-0.03333528712391853,
0.01262673456221819,
0.013228007592260838,
0.031460728496313095,
-0.037278931587934494,
0.020160332322120667,
0.08453191816806793,
0.025960849598050117,
0.006185154430568218,
0.01756955310702324,
-0.06387642025947571,
-0.042301326990127563,
-0.0048543959856033325,
0.016782592982053757,
0.008877620100975037,
-0.05195706710219383,
-0.007785602007061243,
0.08064132928848267,
0.015058353543281555,
-0.02477598749101162,
0.03406035155057907,
-0.027888460084795952,
0.029497748240828514,
0.0030373132321983576,
-0.012732841074466705,
-0.008294031023979187,
0.05078988894820213,
0.022282471880316734,
0.015465096570551395,
0.11480778455734253,
-0.05071915313601494,
0.01964748091995716,
0.03908275067806244,
-0.019099261611700058,
0.0053628250025212765,
0.02603158727288246,
-0.025447998195886612,
-0.05765147507190704,
-0.022936798632144928,
0.023060590028762817,
0.017127439379692078,
-0.004964923951774836,
-0.05545859783887863,
-0.04753594100475311,
0.011547979898750782,
-0.02279532328248024,
-0.0662461444735527,
-0.02092076651751995,
-0.035528164356946945,
0.07519450038671494,
-0.007087063975632191,
0.025784004479646683,
0.029939861968159676,
0.014457080513238907,
0.03543974086642265,
0.013192638754844666,
-0.042619649320840836,
0.032751698046922684,
0.0308064017444849,
0.023219751194119453,
0.003928170073777437,
0.004452073480933905,
-0.04049750789999962,
0.03116009198129177,
-0.013961913995444775,
-0.00712243327870965,
0.08304642140865326,
0.03398961201310158,
0.01638469099998474,
0.023821024224162102,
-0.012989266775548458,
-0.0020978241227567196,
0.04085119813680649,
0.021999521180987358,
0.04148784279823303,
0.04895070195198059,
-0.025094307959079742,
0.008170239627361298,
0.07837770879268646,
-0.016676485538482666,
0.023237435147166252,
-0.0581820122897625,
-0.018904732540249825,
-0.06872197240591049,
-0.09012021869421005,
-0.03352981433272362,
0.037208192050457,
-0.009248994290828705,
0.06221407651901245,
0.03207968547940254,
-0.035280581563711166,
0.06263850629329681,
0.004942818079143763,
0.008802460506558418,
-0.031938210129737854,
0.016658801585435867,
0.016906384378671646,
0.04746520146727562,
0.01064607035368681,
0.015076037496328354,
0.012290729209780693,
0.03664228692650795,
-0.04619191959500313,
-0.02443998120725155,
-0.00941699743270874,
-0.07116243243217468,
0.04933976009488106,
0.0442112535238266,
0.02663286030292511,
0.019506005570292473,
0.012326098047196865,
0.004805763252079487,
-0.02454608865082264,
0.01615479215979576,
0.004200069233775139,
-0.015208671800792217,
0.03964865207672119,
-0.026084640994668007,
-0.04428199306130409,
0.0185864120721817,
0.014828454703092575,
-0.006764322053641081,
0.015155618079006672,
0.002371933776885271,
-0.01500529982149601,
-0.01151261106133461,
-0.031460728496313095,
-0.06575097888708115,
-0.04000234231352806,
-0.06850975751876831,
-0.045413799583911896,
-0.0033821610268205404,
-0.04813721403479576,
-0.02081465907394886,
-0.043999042361974716,
-0.05195706710219383,
0.005694409366697073,
-0.009505419991910458,
0.004266385920345783,
0.06373494118452072,
-0.0068085333332419395,
-0.03071798011660576,
0.007034010719507933,
0.012432204559445381,
0.019399898126721382,
0.0036916397511959076,
0.03795094043016434,
0.022300157696008682,
0.04484789818525314,
-0.02419239841401577,
-0.06932324916124344,
-0.02742866240441799,
0.0026725702919065952,
-0.07590188086032867,
-0.014068021439015865,
-0.036925241351127625,
-0.022883744910359383,
-0.10306527465581894,
-0.022972168400883675,
0.03315844014286995,
0.07632631063461304,
-0.016490798443555832,
0.015730364248156548,
0.048915330320596695,
0.051568008959293365,
0.013988440856337547,
0.0025178310461342335,
-0.0018126614158973098,
0.008714037947356701,
-0.030169760808348656,
-0.03742040693759918,
-0.006348736118525267,
-0.01664111576974392,
0.01929379068315029,
-0.0024581458419561386,
0.03883516788482666,
-0.040886569768190384,
0.06882808357477188,
-0.023343542590737343,
-0.011123551987111568,
-0.02083234302699566,
0.011503768153488636,
-0.025607159361243248,
0.003985644783824682,
0.00867424812167883,
0.030771033838391304,
-0.011300397105515003,
-0.025854742154479027,
0.04360998049378395,
-0.05708557367324829,
-0.05556470528244972,
0.0250235702842474,
-0.006919061299413443,
0.03266327455639839,
-0.018798625096678734,
-0.034590885043144226,
-0.0942230224609375,
0.015022984705865383,
0.06426548212766647,
-0.044140517711639404,
-0.008037606254220009,
-0.008002237416803837,
-0.039825499057769775,
-0.02010727860033512,
0.01696828007698059,
0.0302581824362278,
0.029037952423095703,
0.08240977674722672,
0.01710091345012188,
0.017852503806352615,
0.03699597716331482,
-0.03278706595301628,
-0.03340602293610573,
-0.004690814297646284,
-0.045060109347105026,
-0.07229424268007278,
-0.03749114274978638,
0.0023011958692222834,
0.005628092680126429,
-0.03731429949402809,
0.02673896588385105,
-0.05358403921127319,
-0.034007295966148376,
-0.04177079349756241,
0.04290260002017021,
0.01733081229031086,
-0.007860761135816574,
0.011892827227711678,
0.043999042361974716,
-0.003426372306421399,
-0.07017210125923157,
-0.04201837629079819,
-0.00013118308561388403,
-0.04293797165155411,
0.03356518596410751,
-0.04474179074168205,
-0.01402380969375372,
-0.005110821221023798,
-0.02686275914311409,
-0.04152321070432663,
0.017657974734902382,
-0.019452951848506927,
-0.04569675400853157,
0.004352597985416651,
-0.06408863514661789,
-0.007984552532434464,
-0.010884811170399189,
0.03513910621404648,
-0.01989506371319294,
0.02350270375609398,
-0.04371608793735504,
-0.057403892278671265,
0.042725756764411926,
0.0407097227871418,
-0.036465443670749664,
-0.04481252655386925,
0.015553519129753113,
0.013351798988878727,
-0.013422536663711071,
-0.008462034165859222,
0.04640413448214531,
-0.030965562909841537,
0.005243454594165087,
0.05195706710219383,
-0.01931147649884224,
0.016137108206748962,
0.016322795301675797,
-0.04757130891084671,
0.017604921013116837,
0.019629796966910362,
-0.032486431300640106,
0.027959197759628296,
-0.01871020346879959,
0.06037488952279091,
0.0012710735900327563,
-0.004602391738444567,
-0.04626265540719032,
0.004429967608302832,
-0.011450715363025665,
0.07342605292797089,
-0.004562601447105408,
-0.04792499914765358,
-0.021840360015630722,
-0.020213386043906212,
-0.005880096927285194,
-0.04548453912138939,
-0.02592547982931137,
0.039365701377391815,
-0.030063653364777565,
-0.017764082178473473,
-0.026438329368829727,
-0.0010306749027222395,
0.008457613177597523,
-0.055529337376356125,
0.035758063197135925,
0.00012358427920844406,
0.04523695632815361,
0.02769392915070057,
0.08120723068714142,
0.006857165601104498,
0.0156861525028944,
0.056802619248628616,
0.013528644107282162,
-0.03317612409591675,
0.04933976009488106,
-0.04562601447105408,
0.02512967772781849,
0.005601565819233656,
0.04852627217769623,
-0.002875942038372159,
-0.004133752081543207,
0.03059418871998787,
-0.011326923035085201,
0.0015982368495315313,
0.027393292635679245,
0.0009356206865049899,
0.07300162315368652,
0.0523461252450943,
0.022600794211030006,
-0.003943643998354673,
-0.025872426107525826,
0.04265501722693443,
-0.08644184470176697,
-0.03674839437007904,
-0.008855514228343964,
0.0593491867184639,
-0.05386699363589287,
0.051214318722486496,
0.05340719595551491,
-0.02095613442361355,
0.012060830369591713,
-0.023202067241072655,
-0.00037386143230833113,
-0.014748874120414257,
0.029745332896709442,
-0.022742269560694695,
0.035280581563711166,
-0.0570148341357708,
-0.11346376687288284,
-0.026615174487233162,
-0.016950594261288643,
0.008625615388154984,
-0.05987972393631935,
-0.005239033605903387,
-0.054008468985557556,
-0.012069672346115112,
-0.00668916292488575,
0.018073560670018196,
-0.0313723050057888,
0.0018380829133093357,
0.012662103399634361,
0.03933033347129822,
-0.058217380195856094,
-0.0005808253772556782,
0.013413694687187672,
-0.01105281338095665,
0.01476655900478363,
-0.005429142154753208,
0.025518735870718956,
0.010195115581154823,
0.018869362771511078,
0.0061630490235984325,
-0.05124968662858009,
0.039118118584156036,
-0.005986203905194998,
-0.058429595082998276,
0.00306826108135283,
-0.006233786698430777,
-0.011247343383729458,
0.0616128034889698,
0.044494207948446274,
0.019134631380438805,
-0.012237675487995148,
0.04198300838470459,
0.0006543265772052109,
-0.005663461517542601,
0.0238387081772089,
-0.07731664180755615,
0.06345199048519135,
-0.02873731590807438,
0.002833941485732794,
-0.03130156919360161,
0.008731722831726074,
-0.04824332147836685,
-0.056802619248628616,
0.04315018281340599,
-0.012467573396861553,
-0.002931206254288554,
0.014050336554646492,
-0.018285775557160378,
-0.0488799624145031,
0.00316773634403944,
-0.017251230776309967,
-0.06306293606758118,
-0.055883027613162994,
-0.0018712413730099797,
0.017702186480164528,
0.010371960699558258,
0.07830697298049927,
-0.004880922380834818,
0.01349327526986599,
-0.01835651323199272,
0.027746982872486115,
-0.08226830512285233,
-0.03643007203936577,
-0.007586651481688023,
-0.023644179105758667,
0.01603984273970127,
-0.02569558098912239,
-0.04208911582827568,
0.045873597264289856,
0.024599142372608185,
-0.013802753761410713,
-0.060870055109262466,
0.02440461330115795,
-0.0047571309842169285,
0.02534189075231552,
0.03589953854680061,
-0.04392830282449722,
0.030169760808348656,
-0.03264559060335159,
-0.029939861968159676,
-0.015854155644774437,
0.036111753433942795,
0.024563772603869438,
0.014801927842199802,
-0.05637819319963455,
0.023184381425380707,
-0.007878446020185947,
-0.013236849568784237,
0.04141710326075554,
-0.01871020346879959,
-0.03455551713705063,
-0.011326923035085201,
-0.03699597716331482,
-0.009974058717489243,
-0.0072815935127437115,
-0.037844832986593246,
-0.011229658499360085,
-0.06125911325216293,
-0.00843992829322815,
-0.04838479682803154,
-0.041806161403656006,
-0.027941513806581497,
0.02802993543446064,
-0.03439635783433914,
0.022140996530652046,
0.04976418986916542,
-0.06564486771821976,
0.00036750605795532465,
-0.035422056913375854,
0.007798865437507629,
0.040073081851005554,
0.04958734288811684,
-0.018533358350396156,
-0.015535835176706314,
-0.004456494469195604,
0.01874557137489319,
0.025624843314290047,
0.01756071113049984,
-0.008210030384361744,
0.009319732896983624,
0.0006349841714836657,
0.027393292635679245,
0.01814429834485054,
0.000729485705960542,
-0.015783417969942093,
0.05124968662858009,
-0.0406743548810482,
-0.07300162315368652,
0.06232018396258354,
-0.005641356110572815,
-0.06256777048110962,
0.009912163019180298,
0.013183795846998692,
0.047500573098659515,
0.013431379571557045,
-0.01676490716636181,
0.0009660159121267498,
-0.014784243889153004,
-0.02221173420548439,
0.003662902396172285,
0.002144245896488428,
0.0314253605902195,
0.023449650034308434,
-0.034944575279951096,
-0.08658332377672195,
0.00241393456235528,
0.0054777744226157665,
0.054821956902742386,
0.07745812088251114,
0.018904732540249825,
0.011892827227711678,
-0.019629796966910362,
-0.004628918133676052,
-0.01755186729133129,
-0.030682610347867012,
-0.005915465764701366,
0.08347085118293762,
-0.005252297036349773,
0.005199243314564228,
0.04208911582827568,
-0.017481129616498947,
-0.00907214917242527,
-0.014731190167367458,
0.021079925820231438,
0.07027821242809296,
-0.0023851972073316574,
-0.014085705392062664,
0.020301807671785355,
-0.006821796763688326,
0.03223884850740433,
-0.0006178522598929703,
0.03223884850740433,
0.058075904846191406,
0.03660691902041435,
0.00688811345025897,
-0.0036319545470178127,
-0.03117777593433857,
-0.038905903697013855,
0.038658320903778076,
0.02686275914311409,
-0.006304524838924408,
-0.05167411267757416,
-0.0029046793933957815,
0.009584999643266201,
0.07286014407873154
]
|
40,625 | pyglove.core.symbolic.dict | __repr__ | Operator repr(). | def __repr__(self) -> str:
"""Operator repr()."""
return base.Symbolic.__repr__(self)
| (self) -> str | [
0.019771387800574303,
-0.058986078947782516,
0.09807989746332169,
0.015255914069712162,
0.023017695173621178,
-0.05238986015319824,
-0.03189323469996452,
-0.037574272602796555,
0.024399101734161377,
-0.030580898746848106,
0.001708411960862577,
-0.023000426590442657,
0.030183743685483932,
0.04427409544587135,
-0.042892687022686005,
0.024968931451439857,
0.00021908251801505685,
-0.04593178257346153,
-0.010464157909154892,
0.018355445936322212,
-0.02705831080675125,
0.029993800446391106,
0.05349498614668846,
-0.062059711664915085,
0.020030401647090912,
0.058122701942920685,
0.01309746503829956,
-0.021791696548461914,
-0.07680623233318329,
-0.03094351664185524,
-0.07300736010074615,
-0.05042135715484619,
0.025970451533794403,
-0.02001313492655754,
0.03961184620857239,
-0.00724375294521451,
-0.024640846997499466,
0.05035228654742241,
-0.07418155670166016,
-0.00019048307149205357,
0.020686570554971695,
-0.010610932484269142,
-0.0033520704600960016,
-0.024640846997499466,
-0.04061336815357208,
-0.03850672021508217,
0.018528122454881668,
-0.008184836246073246,
-0.005348635371774435,
-0.055325351655483246,
0.019823189824819565,
0.005534261930733919,
0.00007001467020018026,
-0.003397397929802537,
-0.05318417027592659,
0.025987720116972923,
0.04689876735210419,
-0.02054842934012413,
0.002648416208103299,
0.02422642521560192,
-0.03574390709400177,
0.04361792653799057,
0.016507813706994057,
-0.06212878227233887,
0.01167288888245821,
-0.0175697710365057,
-0.048556458204984665,
-0.0024001947604119778,
-0.007653858046978712,
0.03173782676458359,
-0.01802736148238182,
-0.02899228036403656,
-0.015506293624639511,
-0.012493100017309189,
0.01336511317640543,
-0.05984945967793465,
-0.008599258959293365,
-0.005715571343898773,
0.030874446034431458,
-0.06136900559067726,
-0.05739746242761612,
-0.011949170380830765,
-0.01940876804292202,
0.005361585877835751,
-0.029648447409272194,
-0.04644981026649475,
0.004204657394438982,
-0.021584484726190567,
-0.049109019339084625,
0.00449388986453414,
-0.02533155120909214,
0.009082751348614693,
-0.030580898746848106,
0.026074057444930077,
-0.01615382917225361,
-0.0011677206493914127,
0.00006087499059503898,
-0.06347565352916718,
0.05881340429186821,
-0.027662675827741623,
0.022845018655061722,
0.010369186289608479,
-0.027213718742132187,
-0.01404718216508627,
-0.021256400272250175,
0.0072998725809156895,
-0.01631787046790123,
-0.003837721422314644,
-0.02415735460817814,
-0.01620563119649887,
-0.04085511341691017,
0.09455730766057968,
0.01521274447441101,
-0.04417048767209053,
0.03258393704891205,
0.00040578830521553755,
-0.011724691838026047,
-0.002116358606144786,
0.0541166216135025,
0.0025081171188503504,
-0.02676476165652275,
0.023552989587187767,
-0.010654102079570293,
0.009902961552143097,
0.01292478945106268,
0.05877886712551117,
0.0030239862389862537,
0.0013328419299796224,
-0.014435702934861183,
-0.06116179749369621,
0.028836870566010475,
-0.0061602117493748665,
-0.04251280054450035,
0.08226278424263,
0.05035228654742241,
0.03764333948493004,
0.01701720803976059,
0.0008434137562289834,
-0.001582142780534923,
0.08488745987415314,
0.026954704895615578,
-0.03629646822810173,
0.0033110599033534527,
0.04116592928767204,
-0.06654928624629974,
0.013762267306447029,
-0.004886727314442396,
0.059504106640815735,
0.003097373526543379,
-0.03349912166595459,
0.008741715922951698,
0.037263453006744385,
0.026833830401301384,
-0.018165502697229385,
0.02365659549832344,
0.08191743493080139,
0.02194710448384285,
-0.004675199277698994,
0.021757161244750023,
-0.021843498572707176,
-0.04976518824696541,
-0.01861445978283882,
-0.017802882939577103,
-0.042892687022686005,
0.019046150147914886,
0.006212014704942703,
0.028923209756612778,
-0.07190223783254623,
0.0028577856719493866,
0.012967958115041256,
-0.0335509218275547,
-0.10975278913974762,
-0.055290814489126205,
0.030788108706474304,
-0.016749560832977295,
0.036434609442949295,
0.005167325492948294,
0.13040481507778168,
-0.0335509218275547,
-0.022568736225366592,
0.0649261325597763,
-0.052735213190317154,
-0.127158522605896,
-0.01942603662610054,
0.059814922511577606,
-0.028197970241308212,
0.01518684346228838,
-0.001358743291348219,
0.016179729253053665,
0.004860825836658478,
0.003470785217359662,
0.013580957427620888,
0.0033196937292814255,
0.039542775601148605,
-0.00606092344969511,
-0.10892394185066223,
-0.02306949719786644,
-0.012320423498749733,
0.013261507265269756,
0.05684489756822586,
0.006134310737252235,
0.04838377982378006,
0.006868183147162199,
0.05069763585925102,
0.025711437687277794,
-0.01266577560454607,
0.026540283113718033,
-0.00556448008865118,
0.01055049616843462,
-0.017172615975141525,
0.005693987011909485,
0.012657142244279385,
0.02982112392783165,
0.012717578560113907,
0.0013889615656808019,
0.01937423273921013,
-0.028612392023205757,
0.010645467787981033,
-0.03581297770142555,
0.04071697220206261,
0.05826083943247795,
-0.033671796321868896,
-0.006268134340643883,
-0.03346458449959755,
-0.056154195219278336,
-0.015031435526907444,
0.02980385720729828,
0.012743479572236538,
0.01802736148238182,
-0.0020980120170861483,
0.05225171893835068,
-0.032514866441488266,
-0.0063156201504170895,
-0.010213778354227543,
0.01615382917225361,
0.030166475102305412,
-0.03351638838648796,
0.047693077474832535,
-0.02785261906683445,
0.029095884412527084,
-0.04420502483844757,
0.011802395805716515,
0.0013652186607941985,
-0.0026333071291446686,
0.01419395674020052,
-0.020652035251259804,
0.04579364135861397,
0.03964637964963913,
-0.01677546091377735,
-0.021187329664826393,
0.05591244995594025,
-0.08564723283052444,
-0.032186783850193024,
-0.024986200034618378,
0.033343713730573654,
-0.02110099233686924,
-0.045137472450733185,
-0.019046150147914886,
0.06713638454675674,
0.01797555945813656,
-0.03629646822810173,
0.06506427377462387,
0.015894815325737,
0.011172128841280937,
0.045137472450733185,
-0.00576737429946661,
-0.059227824211120605,
0.008076914586126804,
0.03146154433488846,
0.002126071834936738,
0.13247692584991455,
0.013468718156218529,
-0.08233185857534409,
0.06672196090221405,
-0.04071697220206261,
-0.0033326444681733847,
0.008802153170108795,
0.021843498572707176,
-0.04227105528116226,
-0.0783257782459259,
0.025659635663032532,
-0.02255146950483322,
-0.020755641162395477,
-0.017336657270789146,
-0.03823043778538704,
0.03009740449488163,
0.02391560934484005,
-0.01970231719315052,
0.018441783264279366,
-0.012424029409885406,
0.09276147931814194,
0.06319937109947205,
0.025676902383565903,
0.04703690856695175,
0.10768067836761475,
0.014858759008347988,
0.027403661981225014,
-0.006859549321234226,
-0.006151577923446894,
0.029596645385026932,
-0.017630206421017647,
-0.03743613138794899,
0.042616408318281174,
0.024623580276966095,
-0.035847511142492294,
-0.03256667032837868,
0.03462151437997818,
0.06679102778434753,
-0.008033744990825653,
0.023725666105747223,
0.009652581065893173,
0.029959265142679214,
-0.007705661002546549,
0.05066310241818428,
0.018061896786093712,
0.038990214467048645,
-0.004843558184802532,
-0.03372360020875931,
0.05743199586868286,
0.06799975782632828,
-0.01675819419324398,
0.027075577527284622,
-0.02028941549360752,
-0.004679516423493624,
-0.02415735460817814,
-0.036192864179611206,
-0.03524314612150192,
-0.004200340714305639,
0.037297990173101425,
0.0042305588722229,
0.004757220391184092,
-0.04085511341691017,
0.029130419716238976,
0.01518684346228838,
-0.010472792200744152,
0.004118319600820541,
0.04417048767209053,
0.012544902041554451,
-0.07114246487617493,
-0.018648995086550713,
0.07314550131559372,
0.05988399311900139,
-0.003675837768241763,
-0.0017472640611231327,
-0.03462151437997818,
0.01825184002518654,
-0.05522174388170242,
0.0056680855341255665,
0.031962305307388306,
0.01942603662610054,
-0.033084698021411896,
0.01587754674255848,
-0.02194710448384285,
-0.023173103109002113,
-0.0051759593188762665,
0.013278774917125702,
-0.010705904103815556,
0.05062856897711754,
-0.04790028929710388,
-0.0205656960606575,
0.06547868996858597,
0.013330577872693539,
-0.027472732588648796,
0.03677996248006821,
-0.0063890074379742146,
-0.05114659294486046,
0.03439703583717346,
0.01521274447441101,
0.03158241882920265,
-0.021549949422478676,
-0.06136900559067726,
-0.017630206421017647,
-0.019805923104286194,
-0.0574665330350399,
-0.07176409661769867,
0.08723585307598114,
0.00827980786561966,
-0.01908068358898163,
-0.03294655680656433,
-0.0712805986404419,
0.06451170891523361,
0.00745096430182457,
-0.018234573304653168,
0.022655075415968895,
0.014211224392056465,
0.011767861433327198,
-0.03159968554973602,
0.06713638454675674,
0.052182648330926895,
0.045759107917547226,
-0.013865873217582703,
-0.01193190272897482,
0.00449388986453414,
0.006825014017522335,
-0.03608926013112068,
-0.025728706270456314,
0.02308676391839981,
-0.018096432089805603,
-0.09062030166387558,
0.00046946253860369325,
0.018424516543745995,
0.02446817234158516,
-0.0038010277785360813,
0.002691585337743163,
0.004744269885122776,
-0.006104092113673687,
0.027990760281682014,
0.005452240817248821,
-0.014522041194140911,
-0.021014655008912086,
0.02111825905740261,
-0.01404718216508627,
-0.05097391828894615,
-0.04731319099664688,
0.03971545025706291,
-0.04306536540389061,
0.01775108091533184,
-0.00704085873439908,
0.04050976037979126,
-0.022896820679306984,
-0.008841005153954029,
0.013744999654591084,
0.056154195219278336,
0.044584911316633224,
-0.0038010277785360813,
0.05857165902853012,
0.002872894983738661,
0.04296175763010979,
0.01464291475713253,
0.043134432286024094,
-0.042063843458890915,
-0.019546909257769585,
0.015644434839487076,
0.003725482150912285,
0.012881620787084103,
-0.08578537404537201,
-0.0022642123512923717,
-0.05207904428243637,
-0.00414422107860446,
0.0783257782459259,
0.016015687957406044,
0.001451556570827961,
0.0013619810342788696,
0.0010409117676317692,
-0.041753027588129044,
-0.0006119201425462961,
0.01714671403169632,
-0.01026558130979538,
0.011293002404272556,
0.0073732598684728146,
0.038403116166591644,
0.007783364970237017,
0.04990332946181297,
-0.015791209414601326,
-0.0012292363680899143,
-0.017336657270789146,
0.019581444561481476,
-0.025521494448184967,
-0.028249774128198624,
-0.0036002921406179667,
-0.048003893345594406,
0.0415458157658577,
-0.009877060540020466,
0.0012454247334972024,
-0.01628333516418934,
0.016637321561574936,
0.04924716055393219,
0.030460024252533913,
-0.027956224977970123,
-0.010680003091692924,
0.018666261807084084,
0.02253420278429985,
-0.03158241882920265,
-0.0010311987716704607,
-0.03854125738143921,
0.04648434743285179,
-0.05991853028535843,
-0.0040168724954128265,
-0.04227105528116226,
-0.05290788784623146,
-0.08053603023290634,
-0.05636140704154968,
-0.04928169399499893,
0.0034621513914316893,
-0.009289962239563465,
0.038368579000234604,
0.041476745158433914,
0.025193409994244576,
0.02446817234158516,
0.00646239472553134,
0.013382380828261375,
0.08191743493080139,
-0.056430477648973465,
-0.018493587151169777,
0.01574804075062275,
0.04303082823753357,
-0.04379060119390488,
-0.001596172689460218,
-0.044861193746328354,
0.007800632622092962,
-0.025486959144473076,
-0.029078617691993713,
-0.014073084108531475,
0.01197507232427597,
0.03429342806339264,
0.016067489981651306,
0.040060803294181824,
0.012881620787084103,
-0.00941083487123251,
-0.026315804570913315,
0.01688770018517971,
-0.06689463555812836,
0.03451790660619736,
0.0037125314120203257,
-0.003090898273512721,
-0.02196437120437622,
0.025970451533794403,
0.020496627315878868,
-0.03829950839281082,
-0.0022339941933751106,
0.031945038586854935,
-0.061507146805524826,
-0.10968371480703354,
-0.06295762211084366,
-0.006410591769963503,
-0.01776834763586521,
-0.047658540308475494,
-0.009505807422101498,
-0.010878580622375011,
0.028249774128198624,
0.019184289500117302,
0.0036866299342364073,
-0.014245759695768356,
0.010628200136125088,
-0.031392473727464676,
0.13731186091899872,
-0.03156515210866928,
0.046553418040275574,
0.02025488018989563,
0.032808415591716766,
0.00654873251914978,
-0.02054842934012413,
-0.006889767479151487,
-0.008901441469788551,
0.0028189336881041527,
-0.021567216143012047,
0.007511400617659092,
-0.028267040848731995,
0.02785261906683445,
-0.00793877337127924,
-0.009315863251686096,
-0.025279749184846878,
-0.014159422367811203,
0.00985115859657526,
0.040682435035705566,
0.07210944592952728,
0.05214811488986015,
0.03826497495174408,
-0.020203078165650368,
0.034776922315359116,
-0.012588071636855602,
0.008236639201641083,
0.07590831816196442,
-0.04361792653799057,
0.01825184002518654,
0.02445090375840664,
0.010041101835668087,
-0.012363593094050884,
-0.020997386425733566,
-0.011482945643365383,
0.0038139785174280405,
-0.03947370499372482,
0.062335990369319916,
-0.006842281669378281,
-0.02113552764058113,
0.03399987891316414,
0.021187329664826393,
0.035053204745054245,
-0.011880100704729557,
-0.02584957890212536,
-0.02529701590538025,
0.019771387800574303,
-0.050766706466674805,
-0.03809230029582977,
-0.003069313708692789,
0.001986851915717125,
-0.023293975740671158,
-0.0040794676169753075,
-0.0021530522499233484,
-0.05200997367501259,
-0.04033708572387695,
-0.01238086074590683,
0.004852192010730505,
-0.02249966748058796,
-0.00003305124118924141,
-0.05739746242761612,
-0.0348459929227829,
0.00044410076225176454,
-0.001282118377275765,
0.03140974044799805,
0.0075718373991549015,
0.013226971961557865,
0.04738226160407066,
0.013080197386443615,
0.031150728464126587,
0.01883893832564354,
0.02139454148709774,
0.037263453006744385,
-0.037263453006744385,
-0.0026333071291446686,
-0.0034405668266117573,
0.006168845575302839,
0.0022836385760456324,
-0.027524534612894058,
-0.03173782676458359,
-0.028595125302672386,
0.00852587167173624,
0.02058296464383602,
-0.035847511142492294,
0.05732839182019234,
-0.01661141961812973,
0.009324497543275356,
-0.06893221288919449,
0.00463634729385376,
-0.01112896017730236,
0.06900127977132797,
-0.0001640420814510435,
-0.013693196699023247,
0.055290814489126205,
-0.04268547520041466,
-0.012156382203102112,
0.027420928701758385,
-0.0035765490029007196,
-0.05342591553926468,
-0.05290788784623146,
-0.06717091798782349,
0.021152794361114502,
0.04126953333616257,
-0.01506596989929676,
0.05774281173944473,
-0.017889220267534256,
-0.02873326651751995,
-0.06848325580358505,
-0.00011298128811176866,
-0.02899228036403656,
0.04441223666071892,
-0.04893634468317032,
-0.049972400069236755,
0.03550216183066368,
-0.013037028722465038,
-0.030822644010186195,
0.04337618127465248,
-0.0008277649758383632,
0.005361585877835751,
0.02500346675515175,
-0.01825184002518654,
-0.022879553958773613,
-0.0075718373991549015,
-0.006082507781684399,
-0.01518684346228838,
-0.020755641162395477,
-0.04979972168803215,
-0.03213497996330261,
0.0035679154098033905,
0.010239679366350174,
0.01882166974246502,
-0.017138080671429634,
0.009074117057025433,
-0.002298747655004263,
-0.05297695845365524,
0.0005622758180834353,
0.012303155846893787,
-0.015843011438846588,
-0.01882166974246502,
-0.0691048875451088,
0.01532498374581337,
0.02336304634809494,
0.011698790825903416,
0.03204864263534546,
-0.01518684346228838,
-0.021221864968538284,
-0.03564029932022095,
-0.011344805359840393,
-0.0944882407784462,
-0.006704140920192003,
0.02194710448384285,
-0.00996339786797762,
0.050559498369693756,
-0.02080744318664074,
-0.09897781163454056,
-0.05857165902853012,
0.00996339786797762,
0.03577844053506851,
0.002066714456304908,
0.035035934299230576,
0.019771387800574303,
-0.003263574093580246,
-0.0866142213344574,
0.03180689737200737,
-0.019495107233524323,
0.021808963268995285,
0.018113698810338974,
0.017578404396772385,
-0.02222338505089283,
0.04931623116135597,
0.037885088473558426,
0.020099472254514694,
-0.04337618127465248,
0.004306104499846697,
0.02643667720258236,
0.00512847350910306,
0.0671018436551094,
-0.016965404152870178,
-0.06755080074071884,
0.02163628675043583,
-0.04451584070920944,
-0.0061645288951694965,
0.048867274075746536,
-0.04555189609527588,
0.02590138092637062,
-0.015342251397669315,
-0.00655304966494441,
0.06734359264373779,
0.0059357332065701485,
0.02641940861940384,
0.06900127977132797,
-0.051906369626522064,
-0.012432662770152092,
-0.005301149562001228,
0.008353195153176785,
-0.020047670230269432,
0.08668328821659088,
-0.025089804083108902,
0.0066955070942640305,
0.012363593094050884,
-0.004321213811635971,
-0.005029184743762016,
-0.031185263767838478,
0.021791696548461914,
0.05439290031790733,
0.021480878815054893,
0.02761087194085121,
-0.022171583026647568,
-0.015808476135134697,
0.03881753608584404,
0.006704140920192003,
-0.007627957034856081,
0.05656861886382103,
0.020703837275505066,
0.025417888537049294,
0.039266493171453476,
0.025107072666287422,
0.020600231364369392,
0.0025404938496649265,
0.04931623116135597,
-0.021031921729445457,
0.028526054695248604,
0.03096078522503376,
-0.001628549420274794,
-0.02389834076166153,
-0.06637660413980484,
-0.030252814292907715,
0.02728278934955597,
0.023449383676052094,
-0.03733252361416817,
0.009056849405169487,
-0.030805377289652824,
-0.01423712633550167
]
|
40,626 | pyglove.core.symbolic.dict | __setattr__ | Set attribute of this Dict.
NOTE(daiyip): When setting attributes, public attributes (not started with
'_') are set as dict fields, while private attributes (started with '_') are
set on the object instance.
Args:
name: Name of attribute.
value: Value of attribute.
| def __setattr__(self, name: str, value: Any) -> None:
"""Set attribute of this Dict.
NOTE(daiyip): When setting attributes, public attributes (not started with
'_') are set as dict fields, while private attributes (started with '_') are
set on the object instance.
Args:
name: Name of attribute.
value: Value of attribute.
"""
if name.startswith('_'):
super().__setattr__(name, value)
else:
self[name] = value
| (self, name: str, value: Any) -> NoneType | [
0.013580411672592163,
0.014970245771110058,
-0.003724393667653203,
0.020311571657657623,
-0.023527268320322037,
-0.03833400458097458,
-0.0069900513626635075,
0.04396601393818855,
0.041168175637722015,
-0.024453824386000633,
-0.048253607004880905,
0.004512420855462551,
0.05715581774711609,
0.05243219807744026,
-0.021274464204907417,
0.00012625183444470167,
-0.00548666762188077,
0.03330152854323387,
-0.026633957400918007,
-0.0172866377979517,
0.007925691083073616,
0.007839394733309746,
0.0034382513258606195,
0.016323745250701904,
-0.014443380758166313,
0.05021572858095169,
-0.03675340861082077,
0.03108506090939045,
0.048943985253572464,
-0.03680790960788727,
0.01062814798206091,
-0.05112411826848984,
0.005250486545264721,
0.01586046628654003,
0.061007384210824966,
-0.05312257260084152,
-0.04919833317399025,
0.013825676403939724,
-0.06580367684364319,
-0.012117905542254448,
0.0380069836974144,
0.018712807446718216,
-0.05195983499288559,
-0.04389334097504616,
0.045310430228710175,
0.053231578320264816,
0.03353771194815636,
0.08233635127544403,
0.02810554765164852,
-0.010737154632806778,
-0.011854472570121288,
-0.003851568093523383,
0.003722122870385647,
-0.0007851885166019201,
-0.032520316541194916,
0.03557250276207924,
0.015433523803949356,
0.05606575310230255,
-0.02191033586859703,
0.011636459268629551,
-0.039787426590919495,
-0.008402595296502113,
0.009329152293503284,
-0.04872597008943558,
-0.01916700229048729,
-0.03807965666055679,
-0.051523808389902115,
0.03382839635014534,
0.0005754074663855135,
-0.0043920595198869705,
0.02706998400390148,
-0.021819496527314186,
-0.0038038776256144047,
0.02258254401385784,
-0.023890623822808266,
0.05555705353617668,
-0.10777124017477036,
0.009801514446735382,
-0.007898439653217793,
-0.026361441239714622,
0.0603896826505661,
-0.010128534398972988,
-0.03326519578695297,
0.012426757253706455,
-0.058391228318214417,
0.013162552379071712,
-0.06097105145454407,
-0.01694144867360592,
-0.005368577316403389,
0.010891580954194069,
-0.025925414636731148,
0.08211833983659744,
0.00853885430842638,
0.0673661082983017,
0.0014806735562160611,
-0.02534404583275318,
0.05105144530534744,
-0.056392770260572433,
0.03244764357805252,
0.018876317888498306,
0.0008811370353214443,
-0.006663031410425901,
0.038043320178985596,
0.01640550047159195,
-0.04018711671233177,
-0.07681334763765335,
-0.007825768552720547,
-0.035281818360090256,
0.005345867481082678,
-0.004864421673119068,
0.011336690746247768,
-0.008207292295992374,
-0.050324734300374985,
0.02708815224468708,
0.006722076330333948,
0.012136072851717472,
0.005341325420886278,
-0.08190032839775085,
0.04276693984866142,
0.021801328286528587,
0.013980102725327015,
0.026615789160132408,
-0.01165462750941515,
0.04418402537703514,
0.018549297004938126,
0.010964252054691315,
0.01606031320989132,
0.03604486584663391,
0.06133440509438515,
-0.011636459268629551,
-0.036662567406892776,
0.0009413178195245564,
-0.0031475669238716364,
0.03241131082177162,
0.07354315370321274,
0.01985737681388855,
0.04211290180683136,
0.046182483434677124,
0.014334374107420444,
0.008152788504958153,
0.013471405021846294,
-0.030249344184994698,
0.04025978967547417,
0.0020631777588278055,
0.02779669500887394,
-0.004937092773616314,
-0.004973428323864937,
0.039097052067518234,
-0.007775807287544012,
-0.03591768816113472,
-0.0267792996019125,
0.01862196810543537,
0.009683423675596714,
0.0776854008436203,
-0.02312757633626461,
0.031139565631747246,
-0.04283961281180382,
-0.024471992626786232,
0.02814188227057457,
0.019076162949204445,
-0.005750100594013929,
-0.034264422953128815,
-0.013244307599961758,
-0.07216239720582962,
0.04465638846158981,
0.03361038118600845,
-0.0007817820296622813,
-0.05079709738492966,
0.02810554765164852,
0.013435069471597672,
-0.013516823761165142,
-0.049307338893413544,
0.0004908137489110231,
0.07201705873012543,
0.07038195431232452,
0.016687100753188133,
0.005954488180577755,
0.02845073491334915,
0.02761501632630825,
0.008202750235795975,
0.05406729504466057,
0.02556205913424492,
-0.04382067173719406,
0.028923096135258675,
0.029086606577038765,
-0.017213966697454453,
0.0207294300198555,
0.057046812027692795,
0.037007756531238556,
0.09091154485940933,
0.0655856654047966,
-0.028214553371071815,
-0.04690919443964958,
-0.038261331617832184,
0.009192894212901592,
0.011509285308420658,
0.0021188165992498398,
-0.04901665449142456,
-0.027324331924319267,
0.07383383810520172,
0.023690776899456978,
0.02345459721982479,
-0.015424440614879131,
0.058391228318214417,
0.06529498100280762,
-0.07143568992614746,
0.032883670181035995,
-0.006063494831323624,
-0.043929677456617355,
-0.028232721611857414,
0.000024962948373286054,
-0.042040228843688965,
0.043784335255622864,
0.026107091456651688,
0.06097105145454407,
-0.03159375861287117,
-0.013207972049713135,
-0.015251846052706242,
0.024035966023802757,
0.006944631692022085,
0.08567922562360764,
0.054103631526231766,
0.014597807079553604,
-0.03675340861082077,
0.04803559556603432,
-0.03938773646950722,
0.02436298504471779,
-0.06533131748437881,
-0.044801730662584305,
-0.005691055208444595,
0.00574555853381753,
-0.0095017459243536,
-0.056719791144132614,
0.014098192565143108,
0.05235952511429787,
-0.00887949950993061,
0.03673524037003517,
-0.03226596862077713,
-0.025761904194951057,
-0.04422036185860634,
0.032683826982975006,
0.04087749123573303,
0.0047508729621768,
0.029449962079524994,
-0.058064207434654236,
0.005423080641776323,
-0.03520914539694786,
0.08953078836202621,
-0.01491574291139841,
-0.00785301998257637,
0.02398146130144596,
-0.015397188253700733,
-0.05919060856103897,
0.021692322567105293,
-0.02349093183875084,
-0.010855245403945446,
-0.0517418198287487,
0.057228490710258484,
-0.00448971102014184,
-0.004900757223367691,
-0.045455772429704666,
-0.01491574291139841,
-0.05541171133518219,
0.03664439916610718,
0.06529498100280762,
0.008261795155704021,
0.05570239573717117,
0.023418260738253593,
-0.0724894180893898,
-0.02950446493923664,
0.07114500552415848,
-0.024617334827780724,
0.005500293802469969,
0.009024841710925102,
-0.03157559037208557,
-0.021492477506399155,
-0.011799969710409641,
-0.01467047818005085,
-0.057591844350099564,
-0.0010264792945235968,
0.033247027546167374,
-0.05559339001774788,
0.027415171265602112,
0.02863241173326969,
0.018948988988995552,
-0.016132984310388565,
-0.011981647461652756,
0.05977197736501694,
-0.0006619882769882679,
-0.03144841641187668,
0.013108049519360065,
0.015324517153203487,
-0.03037651814520359,
0.047381553798913956,
0.03092155233025551,
0.005563880782574415,
-0.07841211557388306,
0.04040512815117836,
-0.00029806504608131945,
-0.0018372162012383342,
0.044947072863578796,
0.05417630448937416,
0.002207384677603841,
0.050506412982940674,
0.015560698695480824,
-0.008815912529826164,
0.026107091456651688,
0.02643411234021187,
-0.035463497042655945,
0.016323745250701904,
0.0483262799680233,
0.04251259192824364,
-0.039932768791913986,
0.06373254954814911,
0.049779701977968216,
0.027923868969082832,
-0.00941090751439333,
0.01235408615320921,
-0.024544663727283478,
0.08546120673418045,
-0.030776210129261017,
-0.05969930812716484,
-0.0534495934844017,
-0.056174758821725845,
0.05846389755606651,
-0.04298495501279831,
0.049452681094408035,
0.0232910867780447,
0.020802101120352745,
0.010328379459679127,
-0.0760139673948288,
-0.02107461728155613,
-0.006190669257193804,
0.029086606577038765,
-0.025325877591967583,
0.01654175855219364,
-0.054612331092357635,
-0.011282187886536121,
-0.022128349170088768,
-0.02552572265267372,
-0.003890174673870206,
0.04759956896305084,
-0.03435526043176651,
-0.042040228843688965,
-0.020456913858652115,
-0.012817365117371082,
-0.005423080641776323,
0.009329152293503284,
0.043602656573057175,
-0.02363627403974533,
-0.01088249683380127,
-0.04265793412923813,
0.03471861779689789,
0.0005745558883063495,
0.031121397390961647,
-0.0327928327023983,
0.003485941793769598,
-0.012090654112398624,
-0.03916972130537033,
-0.06445926427841187,
0.034791287034749985,
-0.031848106533288956,
-0.0004544782277662307,
-0.022201020270586014,
-0.05795520171523094,
0.025834575295448303,
-0.05657444894313812,
-0.03054002858698368,
0.04592813178896904,
-0.00702638691291213,
0.009251939132809639,
-0.040150780230760574,
-0.039932768791913986,
0.026615789160132408,
0.004419310949742794,
0.012817365117371082,
0.0012070215307176113,
0.025761904194951057,
-0.04233091324567795,
-0.002306171925738454,
0.05039740726351738,
0.0035745096392929554,
0.06336919963359833,
0.06707542389631271,
0.03678974136710167,
-0.04076848551630974,
0.06333286315202713,
-0.01450696773827076,
0.032029785215854645,
0.02690647356212139,
-0.017023203894495964,
0.0022221459075808525,
-0.006531314924359322,
0.023400092497467995,
-0.02935912273824215,
-0.06751144677400589,
-0.03255665302276611,
-0.039278727024793625,
-0.03829766809940338,
0.0011638730065897107,
0.02834172733128071,
-0.061734095215797424,
-0.030085833743214607,
-0.003953761886805296,
0.05984465032815933,
0.055157363414764404,
0.03213879093527794,
-0.000027109725124319084,
-0.012335918843746185,
-0.007616839371621609,
-0.021092785522341728,
-0.008139163255691528,
-0.008357176557183266,
-0.07103599607944489,
0.0655129924416542,
-0.009456326253712177,
0.045673783868551254,
-0.034936629235744476,
0.007062722463160753,
0.026488615199923515,
0.017522817477583885,
0.007607755251228809,
-0.02450832724571228,
0.048071932047605515,
-0.021020114421844482,
0.012399505823850632,
-0.0008527499157935381,
-0.037171266973018646,
0.08422580361366272,
0.0034382513258606195,
-0.018894486129283905,
0.04214923456311226,
0.0070581804029643536,
-0.007344322744756937,
0.05831855535507202,
-0.04105916991829872,
0.007071806117892265,
-0.05889992415904999,
-0.06591268628835678,
-0.01621473766863346,
-0.040114447474479675,
-0.060680367052555084,
0.02016622945666313,
-0.012308667413890362,
-0.008843163959681988,
-0.026107091456651688,
-0.04501974582672119,
0.07826676964759827,
0.09955940395593643,
-0.022836891934275627,
0.04025978967547417,
0.0482899434864521,
0.005677429493516684,
0.017313888296484947,
0.028032876551151276,
-0.040114447474479675,
-0.026034420356154442,
-0.08509785681962967,
0.024035966023802757,
0.01568787358701229,
-0.03956941142678261,
0.015551614575088024,
-0.049452681094408035,
-0.0010781438322737813,
-0.04283961281180382,
0.06420491635799408,
0.03760729357600212,
0.001513602677732706,
-0.03517281264066696,
-0.006186127196997404,
0.0071626449935138226,
-0.029468130320310593,
0.008388970047235489,
-0.04033245891332626,
-0.03731660917401314,
-0.02708815224468708,
-0.025961749255657196,
-0.011709130369126797,
-0.08844072371721268,
-0.028232721611857414,
0.001085524563677609,
0.005150564014911652,
0.03259298577904701,
0.022382697090506554,
0.005491209682077169,
-0.012980874627828598,
0.01586955040693283,
0.010555476881563663,
0.005959029775112867,
0.02418130822479725,
0.020257068797945976,
0.01621473766863346,
-0.007049096282571554,
0.007616839371621609,
0.023926958441734314,
0.026706628501415253,
-0.023091241717338562,
0.03742561489343643,
-0.04298495501279831,
-0.029758814722299576,
-0.0740881860256195,
-0.03646272420883179,
-0.014779484830796719,
0.01605122908949852,
0.053413257002830505,
0.02036607451736927,
-0.03401007503271103,
0.005886358674615622,
-0.014970245771110058,
-0.025616561993956566,
0.006395056378096342,
-0.01657809317111969,
0.002010945463553071,
-0.041168175637722015,
0.032011616975069046,
-0.016523590311408043,
-0.04174954444169998,
-0.023073073476552963,
-0.059299614280462265,
-0.019203336909413338,
0.049634359776973724,
-0.04527409374713898,
0.020093558356165886,
0.0008374208700843155,
-0.019076162949204445,
-0.016269242390990257,
0.023091241717338562,
0.010728070512413979,
-0.009638004004955292,
0.02298223413527012,
-0.01278102956712246,
0.00500067975372076,
-0.015070169232785702,
0.044256698340177536,
0.029413627460598946,
0.08705997467041016,
0.003263386432081461,
-0.018331283703446388,
0.02160148322582245,
0.006581276189535856,
0.0328291691839695,
0.0016986868577077985,
-0.004900757223367691,
-0.026361441239714622,
0.02276422083377838,
-0.019076162949204445,
-0.08044690638780594,
-0.01847662590444088,
0.04004177451133728,
-0.028777753934264183,
-0.038261331617832184,
0.008239085786044598,
-0.0285052377730608,
-0.001842893660068512,
-0.03399190679192543,
-0.018522046506404877,
0.04109550639986992,
-0.05570239573717117,
0.0014749962138012052,
0.04934367537498474,
-0.027178989723324776,
-0.019930047914385796,
0.0310487262904644,
0.031666431576013565,
-0.0026842886582016945,
-0.006454101763665676,
-0.041349854320287704,
0.006635779514908791,
-0.006881044711917639,
-0.02712448686361313,
-0.016841527074575424,
0.02988598868250847,
0.03313802182674408,
0.04389334097504616,
-0.06093471497297287,
0.0432029664516449,
-0.0013092152075842023,
0.051342129707336426,
-0.04923466965556145,
-0.04334830865263939,
-0.018076935783028603,
0.05486667901277542,
-0.05919060856103897,
0.01745014637708664,
-0.04865330085158348,
-0.05243219807744026,
-0.0030158504378050566,
0.026652125641703606,
-0.029068438336253166,
-0.05613842234015465,
-0.09229229390621185,
-0.038261331617832184,
-0.009383655153214931,
-0.03228413313627243,
0.012326834723353386,
-0.013571327552199364,
-0.03746195137500763,
-0.03956941142678261,
0.04916199669241905,
-0.01466139405965805,
0.007712220307439566,
0.012726525776088238,
-0.030630867928266525,
0.041458860039711,
0.0448380671441555,
0.012208743952214718,
0.010909748263657093,
0.03264749050140381,
-0.012272331863641739,
-0.028196385130286217,
-0.043602656573057175,
0.026997312903404236,
0.013098965398967266,
0.0067902058362960815,
0.010092198848724365,
-0.024108637124300003,
0.009647088125348091,
0.016777940094470978,
-0.00250033987686038,
-0.06576734036207199,
-0.03844301030039787,
0.00017869709699880332,
-0.010991503484547138,
-0.009937772527337074,
-0.007548710331320763,
-0.0759412944316864,
0.04007811099290848,
-0.027869366109371185,
-0.001842893660068512,
-0.07652266323566437,
-0.012799196876585484,
-0.01654175855219364,
0.004376162774860859,
-0.040659479796886444,
0.018576549366116524,
0.030867047607898712,
0.015497111715376377,
0.013862011954188347,
0.0009617565665394068,
0.01691419817507267,
0.03746195137500763,
0.01373483706265688,
0.003034018212929368,
-0.0035290902014821768,
-0.04683652147650719,
0.05621109530329704,
-0.012999042868614197,
-0.04465638846158981,
0.00587273295968771,
-0.026979144662618637,
-0.040659479796886444,
-0.020584087818861008,
-0.022509872913360596,
0.008357176557183266,
0.01693236641585827,
-0.028541574254631996,
-0.05762818083167076,
0.00037300711846910417,
0.02743333950638771,
-0.00837080180644989,
-0.06707542389631271,
-0.021147288382053375,
-0.04905299097299576,
-0.031139565631747246,
0.0674024447798729,
0.02365444228053093,
-0.04283961281180382,
-0.046691179275512695,
0.0025525721721351147,
0.03639005124568939,
0.01674160361289978,
0.03818866237998009,
-0.01967569999396801,
-0.01061906386166811,
-0.017540985718369484,
-0.023545434698462486,
0.02310940809547901,
-0.035299986600875854,
0.06576734036207199,
0.011264019645750523,
-0.0517418198287487,
0.027306165546178818,
-0.00025931658456102014,
-0.032011616975069046,
-0.0029181987047195435,
0.054285310208797455,
0.016296492889523506,
-0.018512962386012077,
0.044947072863578796,
-0.05820954963564873,
-0.008220917545258999,
-0.059626635164022446,
-0.038370341062545776,
0.02761501632630825,
-0.04596446827054024,
-0.08538854122161865,
0.027651352807879448,
-0.01672343537211418,
0.025671064853668213,
0.01951218955218792,
0.01216332521289587,
0.06355087459087372,
0.0011496794177219272,
-0.006717534735798836,
-0.016641682013869286,
-0.0164327509701252,
-0.047890253365039825,
0.02209201268851757,
0.07187171280384064,
-0.030503692105412483,
0.027233494445681572,
0.030830712988972664,
-0.028686916455626488,
-0.05337692052125931,
0.0430939607322216,
-0.013144385069608688,
0.016986869275569916,
0.0009980921167880297,
0.021183624863624573,
0.02587090991437435,
0.020475082099437714,
0.03159375861287117,
0.04247625544667244,
-0.0028909470420330763,
-0.03144841641187668,
-0.04294861853122711,
-0.03502747043967247,
-0.016160234808921814,
-0.029758814722299576,
0.024126803502440453,
0.049125660210847855,
0.0534495934844017,
-0.054466988891363144,
-0.010582728311419487,
-0.021492477506399155,
-0.049307338893413544,
-0.00269564357586205,
0.005990823730826378,
0.01606031320989132,
0.09083887189626694,
-0.017749914899468422,
0.056174758821725845,
0.01880364678800106,
0.0028046502266079187,
-0.021328967064619064,
0.01760457269847393,
0.006349637173116207,
0.03130307421088219,
0.04905299097299576,
0.07325246930122375,
-0.00548666762188077,
0.03508197143673897,
-0.04352998733520508,
0.04563744738698006,
0.06591268628835678,
-0.06318751722574234,
-0.010900664143264294,
0.023890623822808266,
0.07492390275001526,
-0.01951218955218792,
-0.08953078836202621,
-0.000692078669089824,
-0.004891673102974892,
-0.019239673390984535,
0.01511558797210455,
0.04229457676410675,
0.02292773127555847,
0.030067667365074158
]
|
40,627 | pyglove.core.symbolic.dict | __setitem__ | Set item in this Dict.
Args:
key: String key. (Please be noted that key path is not supported.)
value: Value to be inserted.
Raises:
WritePermissionError: when Dict cannot be modified by accessor or
is sealed.
KeyError: Key is not allowed according to the value spec.
ValueError: Value is not acceptable according to the value spec.
| def __setitem__(self, key: str, value: Any) -> None:
"""Set item in this Dict.
Args:
key: String key. (Please be noted that key path is not supported.)
value: Value to be inserted.
Raises:
WritePermissionError: when Dict cannot be modified by accessor or
is sealed.
KeyError: Key is not allowed according to the value spec.
ValueError: Value is not acceptable according to the value spec.
"""
# NOTE(daiyip): THIS IS A WORKAROUND FOR WORKING WITH PICKLE.
# `pg.Dict` is a subclass of `dict`, therefore, when pickle loads a dict,
# it will try to set its items directly by calling `__setitem__` without
# calling `pg.Dict.__init__` at the first place. As a result, an error will
# raise, which complains about that an attribute set up during `__init__` is
# not available. A mitigation to this issue is to detect such calls in
# `__setitem__` as the follows, and simply do nothing, which will give a
# chance to `pg.Dict.__getstate__` to deal with the restoration logic as
# an object (instead of a dict).
if not hasattr(self, '_sym_parent'):
return
if base.treats_as_sealed(self):
raise base.WritePermissionError(
self._error_message('Cannot modify field of a sealed Dict.'))
if not base.writtable_via_accessors(self):
raise base.WritePermissionError(
self._error_message(
'Cannot modify Dict field by attribute or key while '
'accessor_writable is set to False. '
'Use \'rebind\' method instead.'))
update = self._set_item_without_permission_check(key, value)
if flags.is_change_notification_enabled() and update:
self._notify_field_updates([update])
| (self, key: str, value: Any) -> NoneType | [
0.030879797413945198,
-0.008353845216333866,
-0.08729655295610428,
0.07534307986497879,
0.007697310298681259,
-0.0292135551571846,
-0.015784014016389847,
0.052124373614788055,
0.04046068340539932,
-0.09714911133050919,
-0.009888779371976852,
0.056615978479385376,
0.029159221798181534,
0.0624116025865078,
-0.05306616052985191,
-0.003185328096151352,
0.001941306865774095,
0.054768625646829605,
-0.02053823508322239,
-0.005202475935220718,
0.01612812839448452,
-0.003576985327526927,
0.07889290153980255,
0.03428472578525543,
-0.02502984181046486,
-0.0174140315502882,
-0.020339010283350945,
0.06465740501880646,
0.0832396149635315,
0.009608054533600807,
0.008901712484657764,
-0.06041935458779335,
-0.003495484357699752,
0.011247128248214722,
0.04484362155199051,
-0.025392066687345505,
-0.015186339616775513,
0.007239999249577522,
-0.03399494290351868,
-0.004717998206615448,
-0.004235784523189068,
0.014479998499155045,
0.033179935067892075,
-0.06556297093629837,
0.04813988134264946,
0.05089280381798744,
-0.0007482237997464836,
0.08012446761131287,
0.027547314763069153,
-0.03578796237707138,
0.001074793515726924,
0.0170065276324749,
0.018410153687000275,
-0.015023337677121162,
-0.02582673914730549,
0.05063924565911293,
0.017060860991477966,
0.03122391179203987,
0.015621012076735497,
-0.013085426762700081,
-0.007054358255118132,
-0.01726008579134941,
-0.014833169057965279,
-0.04984234645962715,
0.027348089963197708,
-0.03289015218615532,
-0.031151466071605682,
-0.03937400504946709,
0.008358373306691647,
-0.007987091317772865,
0.031097132712602615,
-0.03875821828842163,
-0.008657209575176239,
0.0264063011854887,
-0.03370516374707222,
0.05929645523428917,
-0.060057129710912704,
0.010975458659231663,
0.03263659402728081,
0.013429542072117329,
0.051399920135736465,
-0.04748787358403206,
0.00005726996823796071,
0.027384312823414803,
-0.025011729449033737,
0.03674786537885666,
0.023146264255046844,
0.02117213048040867,
0.01548517681658268,
-0.000839346379507333,
-0.008457985706627369,
0.03403116762638092,
-0.002402013633400202,
0.016426965594291687,
-0.017033694311976433,
-0.05005968362092972,
0.018473545089364052,
-0.05831844359636307,
-0.029666338115930557,
0.030771128833293915,
-0.010749067179858685,
-0.0036109439097344875,
0.0292135551571846,
-0.013257484883069992,
-0.019216109067201614,
-0.05288504809141159,
0.026025963947176933,
-0.024015607312321663,
-0.06125247851014137,
-0.07809600234031677,
-0.026098409667611122,
0.017232919111847878,
-0.03553440421819687,
0.023635270074009895,
-0.008190843276679516,
0.06400539726018906,
-0.048502109944820404,
-0.10721900314092636,
0.05263148993253708,
0.007493557874113321,
-0.004210881423205137,
0.036711640655994415,
-0.0044214255176484585,
0.0587531141936779,
0.04451761767268181,
0.023218709975481033,
0.018029816448688507,
0.012478698045015335,
0.023164374753832817,
0.00433086883276701,
0.007801450323313475,
-0.004002601373940706,
-0.023780159652233124,
0.023544713854789734,
0.05216059461236,
0.024921173229813576,
0.02839854545891285,
0.007593169808387756,
-0.02689530700445175,
-0.017350642010569572,
0.008358373306691647,
-0.026188965886831284,
0.05980357155203819,
0.03185780718922615,
0.03473750874400139,
0.006746465805917978,
-0.049951013177633286,
0.03817865625023842,
0.0006921919411979616,
-0.02093668282032013,
-0.021226463839411736,
-0.005845427978783846,
-0.02303759567439556,
0.06574408710002899,
-0.02486683987081051,
0.04531451687216759,
-0.03202081099152565,
0.013447653502225876,
0.006533658131957054,
-0.004258423577994108,
-0.026279522106051445,
-0.01870899088680744,
0.02151624485850334,
-0.03178536146879196,
-0.03370516374707222,
0.041112691164016724,
0.046111416071653366,
-0.0656716376543045,
0.020556345582008362,
0.06201315298676491,
0.03135069087147713,
0.006900412030518055,
-0.0009440524154342711,
0.028144987300038338,
0.020737458020448685,
0.040641795843839645,
-0.018437322229146957,
0.014009104110300541,
-0.011093182489275932,
-0.018672768026590347,
0.04419161379337311,
-0.022910816594958305,
-0.02334548905491829,
0.03683841973543167,
0.03231059014797211,
0.01363782212138176,
-0.000734640343580395,
0.04194581136107445,
0.049081671983003616,
0.089180126786232,
0.017921149730682373,
-0.0292135551571846,
0.01861843466758728,
-0.041764698922634125,
0.0002858192310668528,
0.036874644458293915,
-0.023725826293230057,
-0.04516962543129921,
-0.0587531141936779,
0.0884556770324707,
-0.0014545652084052563,
-0.037852656096220016,
0.044408950954675674,
0.015222562476992607,
0.003604152239859104,
-0.07121369987726212,
0.05288504809141159,
-0.035824187099933624,
0.00801878608763218,
-0.016245851293206215,
0.0022367476485669613,
-0.026025963947176933,
0.0013560849474743009,
0.0006740806275047362,
0.05650731176137924,
-0.0871516615152359,
-0.0029204499442130327,
0.008946990594267845,
0.004917223006486893,
-0.003898461116477847,
0.06386050581932068,
0.07425640523433685,
0.0020035644993185997,
-0.02109968475997448,
0.03209325671195984,
-0.05302993953227997,
-0.005628092214465141,
-0.03145935758948326,
-0.00760222552344203,
0.03683841973543167,
-0.0011828955030068755,
-0.005102864000946283,
-0.032546039670705795,
-0.03698331117630005,
0.06951123476028442,
-0.03796132281422615,
-0.014652055688202381,
-0.07048925012350082,
0.04009845852851868,
0.028036320582032204,
0.028905663639307022,
0.04531451687216759,
0.005542063154280186,
0.03178536146879196,
-0.04487984627485275,
0.011582187376916409,
0.03825110197067261,
0.03625885769724846,
-0.014978059567511082,
0.04676342383027077,
0.06574408710002899,
-0.020176008343696594,
-0.04766898974776268,
0.05683331564068794,
0.01520445104688406,
-0.005469617899507284,
-0.011446353048086166,
0.028778884559869766,
-0.003640374867245555,
0.006420462392270565,
-0.03356027230620384,
-0.019850004464387894,
-0.02086423896253109,
0.01854598894715309,
0.01950589008629322,
-0.012804701924324036,
0.04082291200757027,
0.01821093074977398,
-0.006098986137658358,
0.01932477578520775,
-0.007729005068540573,
-0.0010566822020336986,
-0.00915527157485485,
0.003624527482315898,
-0.03231059014797211,
0.0076112812384963036,
0.025392066687345505,
0.01287714671343565,
-0.013148816302418709,
-0.0028774356469511986,
0.022657258436083794,
-0.03171291574835777,
0.03448395058512688,
0.00838553998619318,
-0.018745213747024536,
0.031260132789611816,
-0.06060047075152397,
0.02671419456601143,
0.005859011318534613,
-0.006551769096404314,
0.02655119262635708,
0.011075071059167385,
-0.0361320786178112,
0.04444517567753792,
-0.009934057481586933,
0.004242576193064451,
-0.0937441810965538,
0.006520074326545,
0.04013467952609062,
0.004890055861324072,
0.03209325671195984,
0.005845427978783846,
-0.013501987792551517,
0.0838916227221489,
0.051472365856170654,
-0.049552567303180695,
0.02119024097919464,
0.014208328910171986,
-0.0699821338057518,
0.05197948217391968,
0.010957347229123116,
0.01039589662104845,
-0.034049276262521744,
0.0884556770324707,
0.062302932143211365,
-0.0099068908020854,
-0.04549562931060791,
-0.015448953956365585,
-0.03223814442753792,
0.04415539279580116,
-0.05791999399662018,
0.003463789587840438,
-0.07005457580089569,
-0.02207769639790058,
0.025736182928085327,
-0.07751643657684326,
0.04813988134264946,
0.032383035868406296,
0.03508162125945091,
0.03265470638871193,
-0.07874801009893417,
-0.00919149350374937,
0.006610631011426449,
0.03578796237707138,
-0.00028780015418305993,
0.035425737500190735,
-0.016789192333817482,
-0.030916020274162292,
0.02432350069284439,
-0.01966889202594757,
0.01805698312819004,
0.012686978094279766,
-0.000873871089424938,
-0.04828477278351784,
0.02077368088066578,
-0.03314371034502983,
0.055167075246572495,
0.025337733328342438,
0.030753018334507942,
-0.012379085645079613,
0.0037354594096541405,
-0.024921173229813576,
-0.04357583075761795,
0.010287228971719742,
-0.011681799776852131,
-0.08541297167539597,
0.0065427133813500404,
-0.05491351708769798,
-0.03461072966456413,
-0.048429664224386215,
0.06462118029594421,
-0.04788632318377495,
-0.009282050654292107,
-0.002820837777107954,
-0.0505305752158165,
-0.0008540618582628667,
-0.060383133590221405,
-0.05560174584388733,
0.0071494425646960735,
-0.020737458020448685,
0.03763531893491745,
-0.08997702598571777,
-0.029485225677490234,
0.057485323399305344,
0.02944900281727314,
0.021842248737812042,
-0.01589268073439598,
0.0786031186580658,
-0.034701284021139145,
-0.018183762207627296,
0.052341707050800323,
-0.0393015593290329,
0.042018257081508636,
0.04324982687830925,
0.05031324177980423,
-0.02102724090218544,
0.068352110683918,
-0.008910768665373325,
0.04375694319605827,
-0.0127141447737813,
-0.04006223380565643,
0.05295749381184578,
0.016091905534267426,
0.02455894649028778,
-0.032292481511831284,
-0.00009529665840091184,
-0.007307916879653931,
-0.026188965886831284,
0.011545965448021889,
0.014144939370453358,
0.04853833094239235,
-0.05016835033893585,
0.005514896474778652,
0.009001324884593487,
0.03857710584998131,
0.02704019658267498,
0.0025333205703645945,
0.006153320427983999,
-0.0012270418228581548,
-0.01908932812511921,
0.002085065469145775,
0.022892706096172333,
-0.004267479293048382,
-0.042815156280994415,
0.028923774138092995,
-0.030590016394853592,
-0.0007855783915147185,
-0.054044172167778015,
-0.03227436915040016,
0.0409315787255764,
0.050747912377119064,
0.00882926769554615,
-0.022530479356646538,
0.05592774972319603,
-0.020809903740882874,
-0.0386495515704155,
-0.011247128248214722,
-0.015630066394805908,
0.025247177109122276,
0.01686163619160652,
0.025373956188559532,
0.0020986490417271852,
0.04122135788202286,
0.013619710691273212,
0.007805977948009968,
-0.05915156379342079,
0.01910744048655033,
-0.008136509917676449,
-0.047705210745334625,
0.030916020274162292,
-0.03442961350083351,
0.0010770574444904923,
0.01829243078827858,
-0.00730338878929615,
0.06690321117639542,
-0.021950917318463326,
-0.019451554864645004,
0.039120446890592575,
0.0709601417183876,
0.03642186149954796,
0.035914741456508636,
0.042090702801942825,
0.027094531804323196,
0.05451506748795509,
-0.0422355942428112,
-0.01637263223528862,
-0.02977500669658184,
-0.04629252851009369,
0.028615882620215416,
0.027384312823414803,
-0.0015100311720743775,
0.020194118842482567,
-0.014489054679870605,
0.0057775103487074375,
-0.04727054014801979,
0.02222258783876896,
0.01997678354382515,
0.027782762423157692,
-0.035353291779756546,
-0.004736109636723995,
-0.0024903062731027603,
-0.006891356315463781,
0.022113919258117676,
-0.04774143546819687,
-0.05005968362092972,
-0.025084175169467926,
0.04122135788202286,
-0.0065110186114907265,
-0.020320897921919823,
-0.05980357155203819,
0.03669352829456329,
-0.007882950827479362,
0.01894443854689598,
0.011736134067177773,
-0.0251022856682539,
-0.0349910669028759,
-0.010088004171848297,
0.04422783851623535,
0.028778884559869766,
0.039120446890592575,
-0.018636545166373253,
-0.004068254958838224,
-0.025464512407779694,
0.021570580080151558,
0.02631574496626854,
-0.027891429141163826,
-0.06295493990182877,
0.009698610752820969,
0.003916572313755751,
-0.09526553004980087,
-0.007239999249577522,
0.011781412176787853,
-0.014389442279934883,
0.0034524700604379177,
0.024269165471196175,
-0.038468439131975174,
-0.008367428556084633,
0.042815156280994415,
0.010377785190939903,
-0.0534646101295948,
-0.006619686726480722,
-0.03651241585612297,
0.00947221927344799,
-0.03153180330991745,
0.002519736997783184,
0.010260061360895634,
-0.021679246798157692,
-0.004468967672437429,
-0.061904482543468475,
-0.04781387746334076,
0.04593030363321304,
-0.030191566795110703,
0.05578285828232765,
-0.013067316263914108,
-0.030988464131951332,
-0.05031324177980423,
0.019777558743953705,
-0.04114891588687897,
0.02062879130244255,
0.003687917022034526,
-0.012641699984669685,
0.023490378633141518,
0.011971580795943737,
-0.014045326970517635,
0.026424413546919823,
0.06487473845481873,
0.03040890209376812,
0.01115657202899456,
-0.007964451797306538,
-0.012243250384926796,
0.008996796794235706,
0.06034691259264946,
0.020737458020448685,
-0.06063669174909592,
0.026496857404708862,
-0.05389928072690964,
-0.03893933445215225,
-0.001608511433005333,
0.02158869057893753,
-0.011410130187869072,
-0.044082947075366974,
0.01780342496931553,
0.043612051755189896,
-0.022584812715649605,
-0.03441150486469269,
-0.03705575689673424,
0.03024590015411377,
-0.06331716477870941,
0.02615274302661419,
0.01620963029563427,
-0.04194581136107445,
-0.03178536146879196,
0.031821586191654205,
0.01629113033413887,
0.044807400554418564,
0.016073795035481453,
-0.026533080264925957,
0.014144939370453358,
0.009961225092411041,
0.002294477540999651,
0.032364923506975174,
0.03193025290966034,
0.033016931265592575,
-0.011745189316570759,
-0.04310493543744087,
-0.015186339616775513,
-0.04277893155813217,
0.03604152426123619,
-0.00926846731454134,
-0.06751899421215057,
-0.011373907327651978,
0.06136114522814751,
0.00013541040243580937,
0.004000337328761816,
0.007163026370108128,
-0.002900074701756239,
-0.022765927016735077,
0.07635731250047684,
-0.039844900369644165,
0.018763326108455658,
-0.058064885437488556,
-0.005102864000946283,
-0.012668866664171219,
-0.0505305752158165,
0.06875056028366089,
0.006936634890735149,
-0.025718070566654205,
-0.026913417503237724,
0.03611396625638008,
-0.022584812715649605,
-0.02551884762942791,
0.008648154325783253,
-0.04194581136107445,
-0.038468439131975174,
0.0026940584648400545,
-0.010767178609967232,
0.032364923506975174,
0.04498851299285889,
0.03216569870710373,
-0.05400795117020607,
-0.056036416441202164,
0.004862888716161251,
0.0007510537398047745,
-0.0022605189587920904,
0.002143927151337266,
-0.05585530400276184,
-0.04890055954456329,
0.007163026370108128,
0.02142568863928318,
-0.056362420320510864,
-0.05422528460621834,
-0.019705113023519516,
-0.021135907620191574,
-0.026659859344363213,
-0.004772332031279802,
-0.07976224273443222,
-0.0023012692108750343,
0.019071217626333237,
-0.014199272729456425,
-0.0844711884856224,
-0.0204657893627882,
-0.007941813208162785,
0.026605525985360146,
-0.008471569046378136,
0.024758171290159225,
0.01532217487692833,
-0.0035475543700158596,
-0.009408829733729362,
0.023562824353575706,
0.07483596354722977,
0.05321105197072029,
-0.02133513242006302,
-0.00013993823085911572,
0.013927603140473366,
-0.04430028423666954,
0.05071169137954712,
0.016789192333817482,
-0.032292481511831284,
0.02430538833141327,
-0.007398473098874092,
-0.005587341729551554,
-0.026134632527828217,
-0.030952241271734238,
-0.05263148993253708,
0.007697310298681259,
-0.0020522386766970158,
0.002671419410035014,
-0.03008289821445942,
-0.047705210745334625,
0.02463139221072197,
-0.05342838913202286,
-0.013266540132462978,
-0.09099125862121582,
-0.02151624485850334,
0.08744144439697266,
0.011102237738668919,
-0.043141160160303116,
0.043358493596315384,
0.05882555991411209,
0.04864700138568878,
0.03154991567134857,
-0.06907656788825989,
-0.07092391699552536,
0.004607066512107849,
0.011219961568713188,
-0.05024079605937004,
0.010051781311631203,
0.014380386099219322,
0.03209325671195984,
0.022820260375738144,
-0.019451554864645004,
0.034628838300704956,
-0.06063669174909592,
0.022439923137426376,
-0.0029136582743376493,
0.06309983134269714,
0.021461911499500275,
0.019868114963173866,
0.013311818242073059,
-0.07766132801771164,
0.023055708035826683,
-0.005351894535124302,
-0.028289878740906715,
0.008530430495738983,
-0.07139481604099274,
-0.11207283288240433,
0.018962549045681953,
-0.034701284021139145,
-0.005451506469398737,
-0.001598323811776936,
0.00555564695969224,
0.0468720905482769,
0.025337733328342438,
-0.011736134067177773,
0.011020736768841743,
-0.02021223120391369,
-0.056289974600076675,
0.02968445047736168,
0.06458496302366257,
-0.022928928956389427,
0.002675947267562151,
0.10453853011131287,
-0.007135859224945307,
-0.07070658355951309,
0.007566003128886223,
-0.009445052593946457,
0.04078668728470802,
-0.024613281711935997,
-0.05650731176137924,
-0.030608126893639565,
-0.04419161379337311,
0.010957347229123116,
0.01256019901484251,
-0.051399920135736465,
0.007964451797306538,
-0.042742710560560226,
-0.002891019219532609,
-0.04669097810983658,
-0.03723686933517456,
0.04114891588687897,
0.03624074533581734,
0.004450856242328882,
-0.03810621425509453,
-0.00575939891859889,
0.0232730433344841,
-0.041112691164016724,
-0.036077745258808136,
-0.002445027930662036,
0.030553793534636497,
0.05795621871948242,
-0.009005852974951267,
0.015141061507165432,
-0.0007148310542106628,
-0.008245177567005157,
-0.03196647763252258,
0.015186339616775513,
-0.02207769639790058,
0.046328749507665634,
0.01685258187353611,
0.06882300972938538,
0.025482624769210815,
0.06262893974781036,
-0.040315791964530945,
0.04343093931674957,
0.06759143620729446,
-0.05545685440301895,
-0.007344139274209738,
0.011527854017913342,
0.01957833394408226,
-0.017712868750095367,
-0.08700677007436752,
0.01853693462908268,
0.0036064160522073507,
-0.026750415563583374,
-0.013266540132462978,
0.011808578856289387,
-0.014163050800561905,
0.009390718303620815
]
|
40,628 | pyglove.core.symbolic.dict | __setstate__ | Customizes pickle.load. | def __setstate__(self, state) -> None:
"""Customizes pickle.load."""
self.__init__(state['value'], **state['kwargs'])
| (self, state) -> NoneType | [
-0.0025328416377305984,
-0.028946762904524803,
-0.006546680349856615,
0.03944837674498558,
-0.027179664000868797,
0.011814318597316742,
-0.01636670157313347,
0.038842517882585526,
0.009500260464847088,
-0.05792718380689621,
-0.021592264994978905,
0.09000423550605774,
-0.031033622100949287,
0.05045488104224205,
-0.02221495658159256,
0.033625368028879166,
-0.025883790105581284,
0.05658082291483879,
-0.0601150207221508,
0.011982613243162632,
-0.01824319176375866,
0.018731247633695602,
0.04668506979942322,
0.06610632687807083,
0.020128097385168076,
0.009163670241832733,
-0.017957089468836784,
-0.011528216302394867,
0.02085176669061184,
-0.007489133160561323,
0.011831147596240044,
-0.00317236315459013,
-0.023090092465281487,
0.06176431104540825,
0.02786967344582081,
-0.026893561705946922,
-0.0017965504666790366,
0.06516387313604355,
-0.054123714566230774,
-0.011427239514887333,
0.005768315400928259,
-0.03705858811736107,
0.009197329171001911,
0.011603949591517448,
0.033860981464385986,
0.035106364637613297,
-0.023090092465281487,
-0.01905100792646408,
0.03816933557391167,
-0.044598210602998734,
0.025580860674381256,
0.020330050960183144,
-0.002276191720739007,
0.031588997691869736,
-0.009062692523002625,
0.06714975833892822,
0.044598210602998734,
0.06876538693904877,
0.008877567946910858,
0.047661181539297104,
-0.05082513019442558,
-0.014767897315323353,
0.023763272911310196,
-0.04978169873356819,
-0.014927778393030167,
-0.05449396371841431,
-0.02857651375234127,
0.005839840974658728,
-0.030898986384272575,
0.04140060022473335,
0.03719322383403778,
-0.02041419968008995,
0.019067838788032532,
0.020784448832273483,
-0.012150908820331097,
0.03867422044277191,
-0.0815894827246666,
0.025126462802290916,
-0.049613405019044876,
0.037462495267391205,
-0.014641676098108292,
-0.018108556047081947,
-0.033860981464385986,
0.04671872779726982,
-0.07627135515213013,
-0.07317472249269485,
0.03377683088183403,
0.0011948954779654741,
0.008347438648343086,
0.011275773867964745,
-0.03658736124634743,
0.06927027553319931,
-0.022820819169282913,
0.028997251763939857,
-0.01479314174503088,
-0.04567530006170273,
0.010501615703105927,
0.03476977348327637,
-0.010686741210520267,
-0.026035256683826447,
-0.05567203089594841,
-0.09108132123947144,
-0.042578667402267456,
-0.0657697394490242,
0.0001801283797249198,
-0.03948203846812248,
0.03308682143688202,
-0.025984767824411392,
-0.017140859737992287,
-0.07734844088554382,
0.0056967902928590775,
-0.01519704982638359,
-0.05509982630610466,
0.07505962997674942,
-0.03392829746007919,
-0.004834277555346489,
0.008031885139644146,
-0.023426681756973267,
-0.007034736219793558,
0.001743958331644535,
-0.008174936287105083,
0.06395214796066284,
-0.0453723669052124,
0.06947223097085953,
0.026775754988193512,
0.04998365417122841,
0.03719322383403778,
0.013194338418543339,
0.04577627405524254,
-0.04796411097049713,
0.04554066061973572,
-0.0036120342556387186,
-0.05691741406917572,
-0.006176431197673082,
-0.012723111547529697,
-0.007644806522876024,
0.028475536033511162,
0.014246182516217232,
-0.025311587378382683,
0.01201627217233181,
0.02492450922727585,
0.016812684014439583,
0.06822684407234192,
0.007442852016538382,
0.06607266515493393,
0.043723076581954956,
0.02335936389863491,
0.015575714409351349,
-0.023056432604789734,
0.018697589635849,
0.07001077383756638,
-0.006096491124480963,
-0.025917449966073036,
0.026944050565361977,
-0.024436453357338905,
-0.030427759513258934,
-0.0009808450704440475,
-0.013732882216572762,
-0.01565144769847393,
-0.0033048957120627165,
0.020565664395689964,
0.0026758925523608923,
-0.00442195450887084,
-0.05291198939085007,
-0.01994297280907631,
0.0374288372695446,
0.011477727442979813,
-0.07526158541440964,
0.0015199154149740934,
0.00606703944504261,
-0.03261559456586838,
-0.05614325404167175,
-0.03374317288398743,
0.04204012453556061,
0.007825723849236965,
0.060586247593164444,
-0.020010290667414665,
-0.0039381058886647224,
-0.011890050955116749,
0.02061615325510502,
0.009306720457971096,
-0.0009424527524970472,
-0.04274696484208107,
0.028054798021912575,
0.037563472986221313,
0.03864056244492531,
-0.005692582577466965,
0.024537429213523865,
0.04288160055875778,
0.05116172134876251,
0.053450532257556915,
-0.009155254811048508,
-0.008339024148881435,
-0.030545566231012344,
-0.007489133160561323,
0.009660140611231327,
-0.035981498658657074,
-0.06287506222724915,
0.021491287276148796,
0.10797815769910812,
0.00964331068098545,
0.0023834798485040665,
0.018630271777510643,
-0.026775754988193512,
-0.015239124186336994,
-0.0024150351528078318,
0.0019427569350227714,
0.0027726623229682446,
0.03551027178764343,
0.019993461668491364,
0.02120518684387207,
-0.0476275235414505,
-0.002726381178945303,
0.05388810113072395,
0.04106401279568672,
-0.08589783310890198,
-0.003412183839827776,
0.005789352580904961,
0.03941471874713898,
0.015718765556812286,
0.126827210187912,
0.08529197424650192,
-0.048233386129140854,
-0.0008193869143724442,
-0.011595534160733223,
0.013110190629959106,
-0.024184010922908783,
-0.08515733480453491,
-0.032935358583927155,
0.05870134010910988,
-0.031689971685409546,
-0.02844187617301941,
0.007123091258108616,
-0.0071862018667161465,
0.07532890141010284,
0.048334360122680664,
0.0158702302724123,
-0.02187836728990078,
-0.08482074737548828,
0.020700300112366676,
0.019084667786955833,
-0.013901177793741226,
0.015096073038876057,
-0.07620403170585632,
-0.009449771605432034,
-0.008986960165202618,
0.01883222535252571,
0.06701511889696121,
-0.07539621740579605,
0.015382175333797932,
0.063548244535923,
0.032817550003528595,
-0.03374317288398743,
0.016122672706842422,
0.037698108702898026,
-0.03692395240068436,
0.03126923367381096,
-0.04224207624793053,
0.0018028615741059184,
-0.0048973881639540195,
-0.019337110221385956,
-0.07775235176086426,
0.01713244430720806,
0.03197607398033142,
-0.009988316334784031,
-0.000818861008156091,
-0.005427517928183079,
-0.026691608130931854,
-0.02415035106241703,
-0.006193260662257671,
0.06738536804914474,
-0.0187144186347723,
-0.03450050204992294,
0.0714244544506073,
-0.034635137766599655,
-0.06600534915924072,
0.008650369942188263,
-0.03434903547167778,
0.0018207429675385356,
0.010846621356904507,
0.07007808983325958,
0.035442955791950226,
0.04012155905365944,
-0.004165304359048605,
-0.016905246302485466,
-0.03547661378979683,
-0.017435375601053238,
-0.008919642306864262,
0.008810250088572502,
-0.021508118137717247,
0.02504231594502926,
0.01735122874379158,
-0.00527605228126049,
0.009702214039862156,
0.029737750068306923,
-0.05200319364666939,
-0.07054931670427322,
0.018276851624250412,
0.02403254434466362,
-0.006706560961902142,
-0.005242393352091312,
-0.09774581342935562,
-0.014204109087586403,
0.047560203820466995,
0.03162265568971634,
-0.03389463946223259,
0.009887338615953922,
0.006567717529833317,
-0.04917583614587784,
0.044598210602998734,
0.05728766322135925,
0.048233386129140854,
-0.05149830877780914,
-0.001906994148157537,
0.046752385795116425,
-0.04025619477033615,
0.010568934492766857,
-0.02960311248898506,
-0.00974428839981556,
0.019673701375722885,
-0.06826050579547882,
-0.04217476025223732,
-0.07512694597244263,
0.002034267410635948,
0.0017208177596330643,
-0.012100419960916042,
0.015163390897214413,
-0.0057304492220282555,
0.01721659116446972,
-0.005217148922383785,
-0.08340706676244736,
0.0018154836725443602,
0.04153523966670036,
0.017435375601053238,
-0.0351736806333065,
-0.017839284613728523,
-0.006058624479919672,
0.010249173268675804,
0.02539573423564434,
-0.034870751202106476,
0.06980881839990616,
0.026826243847608566,
-0.05156562849879265,
0.027246981859207153,
-0.007691087666898966,
0.03709224611520767,
0.01200785767287016,
0.006054417230188847,
0.07505962997674942,
-0.02426815778017044,
-0.06647657603025436,
-0.04887290671467781,
-0.037125904113054276,
0.03261559456586838,
0.024217668920755386,
-0.029047738760709763,
-0.002125777769833803,
0.00987050961703062,
-0.0009235195466317236,
-0.0634809210896492,
0.005848255939781666,
-0.059913065284490585,
-0.04106401279568672,
-0.0007120987866073847,
0.08152215927839279,
0.031572166830301285,
-0.029283352196216583,
-0.045069437474012375,
-0.010299662128090858,
-0.02744893543422222,
-0.005414895713329315,
-0.09579358994960785,
-0.06284140050411224,
0.010964428074657917,
0.053248580545186996,
-0.016930490732192993,
-0.04681970551609993,
0.0068538193590939045,
0.0005138260894455016,
0.033860981464385986,
0.0453723669052124,
-0.02051517553627491,
0.024099862203001976,
0.02790333330631256,
0.023998886346817017,
0.026944050565361977,
0.018680758774280548,
0.036116134375333786,
0.08313779532909393,
-0.00939928274601698,
-0.03890983387827873,
0.05146465077996254,
-0.005907159298658371,
-0.02541256509721279,
0.018276851624250412,
-0.010678325779736042,
0.029552625492215157,
0.018293680623173714,
0.050623174756765366,
-0.0015609373804181814,
0.03404610604047775,
-0.012049931101500988,
-0.01463326159864664,
0.04328550770878792,
0.003919173032045364,
0.01733439788222313,
0.0059534404426813126,
0.039852287620306015,
-0.011948954313993454,
-0.08327242732048035,
0.024419622495770454,
-0.0027516253758221865,
-0.020447857677936554,
-0.06422141939401627,
-0.008625125512480736,
0.005621057469397783,
0.02290496788918972,
-0.03830397129058838,
-0.016063770279288292,
-0.01576925441622734,
0.02470572479069233,
0.09390868246555328,
0.030781179666519165,
-0.0317741222679615,
0.011755415238440037,
0.03251462057232857,
-0.00447665061801672,
0.007442852016538382,
0.02982189692556858,
0.03823665529489517,
-0.027045028284192085,
0.012596890330314636,
-0.042444031685590744,
0.030208975076675415,
0.05365248769521713,
-0.02914871647953987,
-0.012798844836652279,
-0.013615076430141926,
-0.016930490732192993,
0.019320281222462654,
0.010451127775013447,
0.0034921239130198956,
0.04432893544435501,
-0.0027915954124182463,
0.049041200429201126,
-0.038505926728248596,
-0.020902255550026894,
0.08132020384073257,
0.03614979237318039,
-0.029333841055631638,
-0.03330560773611069,
-0.010770888067781925,
0.004182133823633194,
-0.01400215458124876,
-0.02346034161746502,
0.01565144769847393,
-0.005372821819037199,
-0.01800757832825184,
-0.004552383441478014,
-0.031168257817626,
-0.012184567749500275,
-0.02707868628203869,
-0.006933759432286024,
0.008435793220996857,
0.04217476025223732,
-0.014313500374555588,
-0.03719322383403778,
-0.005595813039690256,
-0.012066761031746864,
0.006773878820240498,
-0.004148474894464016,
0.005835633724927902,
0.008355853147804737,
-0.03096630424261093,
-0.03833762928843498,
-0.0023624429013580084,
-0.008793420158326626,
-0.03049507737159729,
-0.01450704038143158,
-0.045641638338565826,
0.02527792938053608,
-0.016863172873854637,
0.03093264438211918,
0.022265445441007614,
-0.011704926379024982,
-0.03648638352751732,
0.03381049260497093,
0.03682297468185425,
0.09444722533226013,
0.02632135897874832,
-0.044026006013154984,
0.062067244201898575,
0.0031618447974324226,
0.003016690257936716,
0.019589552655816078,
-0.007733161095529795,
-0.051531970500946045,
0.01003880426287651,
0.05573934689164162,
-0.04614652320742607,
-0.007148335687816143,
-0.006521436385810375,
0.005414895713329315,
0.01650133728981018,
0.008751346729695797,
-0.000281631393590942,
-0.03752981498837471,
0.03002385050058365,
0.0025812266394495964,
-0.002026904374361038,
-0.01903417892754078,
0.012975554913282394,
0.015735594555735588,
0.009155254811048508,
-0.003572064219042659,
-0.025463053956627846,
-0.045507002621889114,
0.08253192901611328,
-0.040087901055812836,
0.0005438036168925464,
0.0804450735449791,
0.017502693459391594,
0.04022253677248955,
-0.06331262737512589,
-0.0351400226354599,
-0.027280639857053757,
0.017300739884376526,
-0.03864056244492531,
0.026708437129855156,
0.04035717248916626,
0.003723529865965247,
-0.061259426176548004,
-0.010838205926120281,
0.0464494563639164,
0.008616711013019085,
0.044934798032045364,
-0.020801277831196785,
0.013068117201328278,
-0.0065003992058336735,
-0.034971728920936584,
0.021710071712732315,
0.012866162694990635,
0.034870751202106476,
0.020717130973935127,
0.0032165406737476587,
0.000472541170893237,
-0.07526158541440964,
0.052104171365499496,
-0.00567154586315155,
-0.019337110221385956,
0.013699223287403584,
-0.06876538693904877,
-0.018512465059757233,
-0.04442991316318512,
0.01594596356153488,
-0.1031312569975853,
0.020245904102921486,
-0.0023582354187965393,
0.006895892787724733,
-0.00567154586315155,
-0.0055663613602519035,
0.0692029595375061,
-0.010047219693660736,
0.0073418752290308475,
0.0192697923630476,
0.002404516562819481,
-0.016055354848504066,
-0.0076742577366530895,
-0.03207705169916153,
-0.022820819169282913,
0.06987613439559937,
0.003121874760836363,
0.0021794219501316547,
0.023645466193556786,
0.019471745938062668,
0.018899543210864067,
0.024890849366784096,
0.007304008584469557,
0.01582815684378147,
-0.02630452811717987,
0.04214110225439072,
0.012319203466176987,
-0.006841197144240141,
-0.023325705900788307,
-0.009323550388216972,
-0.010560519061982632,
-0.03243046998977661,
0.06095649674534798,
0.012899821624159813,
-0.014145205728709698,
-0.005978684406727552,
0.014094716869294643,
0.009811606258153915,
-0.018748076632618904,
0.001054474152624607,
-0.022635694593191147,
0.05614325404167175,
-0.038808856159448624,
0.02800430916249752,
-0.03456781804561615,
-0.03571222722530365,
0.02923286333680153,
-0.01713244430720806,
-0.020952744409441948,
-0.025210609659552574,
-0.021710071712732315,
-0.0002921498380601406,
0.06432239711284637,
0.01812538504600525,
0.025109633803367615,
0.00923098810017109,
-0.01594596356153488,
0.010669911280274391,
-0.02583330310881138,
-0.0026927220169454813,
-0.018680758774280548,
-0.0021878366824239492,
-0.009172084741294384,
-0.03142070025205612,
-0.021491287276148796,
-0.05183489993214607,
-0.005536909680813551,
-0.01291665155440569,
0.018546123057603836,
-0.055604711174964905,
-0.04298257455229759,
-0.006189053412526846,
-0.00335748796351254,
-0.007442852016538382,
-0.08206070214509964,
0.0018228465924039483,
-0.0059534404426813126,
0.06193260848522186,
-0.061259426176548004,
0.023763272911310196,
-0.020902255550026894,
0.04604554921388626,
0.036217112094163895,
-0.004489272367209196,
0.012369692325592041,
0.013623490929603577,
-0.027146004140377045,
0.005166660528630018,
-0.04712263494729996,
-0.04039083048701286,
-0.04015521705150604,
0.008986960165202618,
0.008263290859758854,
0.02288813702762127,
-0.004939462058246136,
0.00860829558223486,
-0.0013253241777420044,
-0.012882992625236511,
0.03490440919995308,
-0.02877846732735634,
0.005831426475197077,
0.08199338614940643,
0.020144926384091377,
0.07687721401453018,
-0.023998886346817017,
-0.09929412603378296,
0.01995980180799961,
-0.05725400149822235,
0.06772196292877197,
0.07182835787534714,
0.014237768016755581,
-0.06502924114465714,
0.043453801423311234,
0.004169512074440718,
-0.008461037650704384,
-0.03254827857017517,
-0.007320838049054146,
-0.024554260075092316,
-0.02118835598230362,
-0.03150484710931778,
-0.05318126082420349,
-0.0016861067852005363,
-0.057893525809049606,
0.062067244201898575,
0.04294891655445099,
-0.033726345747709274,
0.02980506792664528,
-0.015659861266613007,
0.025075973942875862,
0.00389603222720325,
0.0782235786318779,
-0.013362633064389229,
0.012310788966715336,
0.05698473006486893,
-0.02756674215197563,
0.009803191758692265,
0.03443318232893944,
-0.02685990370810032,
-0.006820159964263439,
-0.04207378253340721,
-0.038034699857234955,
-0.023039603605866432,
-0.0873115137219429,
0.01746903359889984,
-0.042006462812423706,
0.011200040578842163,
0.011082233861088753,
-0.012327617965638638,
-0.028509195894002914,
0.009820020757615566,
-0.025883790105581284,
-0.0657697394490242,
-0.023157410323619843,
-0.006479362491518259,
-0.022753501310944557,
0.02027956396341324,
-0.007017906755208969,
-0.010341735556721687,
-0.010350150056183338,
0.01162077859044075,
-0.010981257073581219,
0.006441496312618256,
-0.0385395847260952,
-0.05839841067790985,
0.007114676758646965,
-0.05109440162777901,
-0.02482353150844574,
0.004926839843392372,
0.00621009012684226,
0.03369268402457237,
-0.016004865989089012,
-0.03264925628900528,
-0.014439722523093224,
0.009289891459047794,
0.043689414858818054,
0.023611806333065033,
0.010324906557798386,
-0.058331090956926346,
-0.0076574282720685005,
-0.0048805586993694305,
-0.04725727438926697,
0.06469264626502991,
0.06270676851272583,
0.021222015842795372,
0.04264598712325096,
0.013497269712388515,
-0.005090927705168724,
0.008288535289466381,
0.07243422418832779,
-0.005991306621581316,
0.014650091528892517,
0.011553460732102394,
0.012142493389546871,
-0.028475536033511162,
0.051733922213315964,
-0.0271964929997921,
0.04355477914214134,
0.008978544734418392,
0.029670432209968567,
0.019353939220309258,
-0.06018233671784401,
-0.013446780852973461,
-0.02096957340836525,
-0.02778552658855915,
-0.04466552659869194,
-0.0928989127278328,
-0.06361556053161621,
0.022198127582669258,
0.0005395962507463992,
0.0850227028131485,
0.034079764038324356,
0.003094526706263423,
-0.012462254613637924
]
|
40,630 | pyglove.core.symbolic.dict | _diff_base | Computes the diff between a value and a base value. | def _diff_base(self, value: Any, base_value: Any) -> Any:
"""Computes the diff between a value and a base value."""
if base.eq(value, base_value):
return pg_typing.MISSING_VALUE
if (isinstance(value, list)
or not isinstance(value, base.Symbolic)
or pg_typing.MISSING_VALUE == base_value):
return value
if value.__class__ is base_value.__class__:
getter = lambda x, k: x.sym_getattr(k)
elif isinstance(value, dict) and isinstance(base_value, dict):
getter = lambda x, k: x[k]
else:
return value
diff = {}
for k, v in value.sym_items():
base_v = getter(base_value, k)
child_diff = self._diff_base(v, base_v)
if pg_typing.MISSING_VALUE != child_diff:
diff[k] = child_diff
return diff
| (self, value: Any, base_value: Any) -> Any | [
0.05121763423085213,
-0.09271407872438431,
0.011661806143820286,
0.049041248857975006,
-0.04019061103463173,
-0.03215611353516579,
-0.013774714432656765,
-0.007413317449390888,
0.0007345305639319122,
-0.011516713537275791,
-0.008188655599951744,
0.03525746613740921,
0.029689542949199677,
-0.027803340926766396,
-0.024720126762986183,
0.0004769347724504769,
0.040045518428087234,
0.04436201602220535,
-0.0045001329854130745,
-0.01485383976250887,
0.042330723255872726,
0.036182429641485214,
-0.02577204629778862,
0.02154622972011566,
-0.019079657271504402,
0.024847082793712616,
0.00350488955155015,
-0.04403556138277054,
0.010065789334475994,
-0.014899181202054024,
-0.042221903800964355,
-0.00486059719696641,
0.005581525154411793,
-0.014581791125237942,
0.024339258670806885,
-0.06764935702085495,
-0.039864152669906616,
0.06920909881591797,
-0.08255760371685028,
0.021872688084840775,
0.018227240070700645,
-0.03942887485027313,
-0.06474750488996506,
-0.003114953637123108,
0.02647937275469303,
-0.0038970925379544497,
-0.0018419940024614334,
-0.005255067255347967,
-0.030687054619193077,
0.005023826379328966,
0.029290538281202316,
-0.037361305207014084,
0.012015468440949917,
0.021691322326660156,
-0.019134066998958588,
-0.004212215077131987,
-0.03961024060845375,
0.026044094935059547,
-0.03099537454545498,
0.08110667765140533,
-0.02241678349673748,
0.03594665601849556,
-0.05905262753367424,
-0.07943812012672424,
0.0032283070031553507,
-0.04008179157972336,
-0.001455458696000278,
-0.020983995869755745,
-0.033244308084249496,
0.0160871259868145,
-0.03152133524417877,
-0.031267423182725906,
-0.018880154937505722,
0.0005582658923231065,
0.06699644029140472,
-0.015325390733778477,
0.04465220123529434,
-0.03358890116214752,
0.058689896017313004,
-0.09053768962621689,
-0.0078531289473176,
-0.027295518666505814,
-0.015307254157960415,
-0.019025247544050217,
0.010138334706425667,
0.041822899132966995,
0.0046701631508767605,
0.019932076334953308,
0.056150779128074646,
0.02508285827934742,
-0.07813228666782379,
-0.021890824660658836,
0.008447101339697838,
0.05647723749279976,
0.02825675532221794,
-0.010491997934877872,
-0.029762089252471924,
-0.010510134510695934,
0.02566322684288025,
-0.018227240070700645,
0.08618491888046265,
0.023650070652365685,
-0.03514864668250084,
-0.02568136341869831,
0.0422944501042366,
-0.02281578816473484,
0.017565255984663963,
-0.07044238597154617,
0.01906152069568634,
-0.007413317449390888,
-0.10918207466602325,
0.004087526351213455,
-0.017628733068704605,
-0.004887802060693502,
-0.03888477757573128,
0.05165291205048561,
-0.034713368862867355,
0.00806623324751854,
0.014336948283016682,
-0.022453056648373604,
-0.037977948784828186,
0.047155048698186874,
0.014636200852692127,
0.013937943615019321,
0.051181361079216,
0.009403804317116737,
0.031358107924461365,
0.011235596612095833,
0.0008478840463794768,
0.07842247188091278,
0.027785204350948334,
0.00983001384884119,
-0.04740896075963974,
0.01526191271841526,
0.015134956687688828,
0.058109529316425323,
0.02379516325891018,
0.033244308084249496,
0.019188476726412773,
-0.01624128594994545,
0.049911804497241974,
-0.02725924551486969,
0.040734704583883286,
-0.028909672051668167,
-0.039682786911726,
0.03498541936278343,
-0.009095483459532261,
0.06873755156993866,
-0.06253484636545181,
0.022181008011102676,
-0.04312873259186745,
0.060793738812208176,
0.02341429516673088,
-0.019188476726412773,
0.010709636844694614,
-0.004021781496703625,
-0.03525746613740921,
-0.04806187376379967,
-0.018145624548196793,
0.00826573558151722,
-0.00890958309173584,
0.008954924531280994,
0.0642034113407135,
-0.08132431656122208,
0.005939722526818514,
0.03021550364792347,
0.0036318455822765827,
-0.022761378437280655,
-0.006851084064692259,
0.00943100918084383,
-0.016223149374127388,
-0.027785204350948334,
0.032174251973629,
0.012015468440949917,
0.033099215477705,
0.024828946217894554,
-0.0026456702034920454,
-0.03260952979326248,
-0.009503555484116077,
0.027531292289495468,
0.00379054038785398,
-0.024266712367534637,
-0.06166429445147514,
-0.013502666726708412,
0.013520803302526474,
-0.023541251197457314,
0.009902560152113438,
0.0026955457869917154,
0.032536983489990234,
0.05183427780866623,
-0.03834068030118942,
0.013557076454162598,
0.03525746613740921,
0.025010311976075172,
0.013901670463383198,
-0.017492709681391716,
0.05114508792757988,
-0.011988263577222824,
0.012895091436803341,
0.03665398061275482,
-0.06173683702945709,
-0.05865362286567688,
-0.013538939878344536,
0.0307233277708292,
-0.03525746613740921,
-0.01717531867325306,
0.005323079414665699,
-0.0011443033581599593,
0.023650070652365685,
-0.026515645906329155,
-0.04160526022315025,
-0.004239419940859079,
0.012931364588439465,
-0.022489329800009727,
-0.014980795793235302,
-0.04204053804278374,
-0.006760401651263237,
-0.009693989530205727,
0.0006455480470322073,
0.03805049508810043,
0.0723285898566246,
-0.050818633288145065,
0.06090255826711655,
-0.016939543187618256,
0.04138762131333351,
0.023069700226187706,
0.024411804974079132,
0.0030174695421010256,
-0.017601529136300087,
-0.011815967038273811,
0.003919763490557671,
-0.07091393321752548,
-0.006306987721472979,
0.006742265075445175,
0.06384067982435226,
-0.019496798515319824,
0.03143065422773361,
-0.04008179157972336,
0.04414437711238861,
0.0025368507485836744,
-0.013566144742071629,
-0.0072772931307554245,
0.031158603727817535,
0.04570412263274193,
-0.025844592601060867,
-0.05974181741476059,
0.03982787951827049,
-0.0005486308364197612,
-0.019986486062407494,
-0.022543739527463913,
0.03533001244068146,
-0.043310098350048065,
0.017383890226483345,
0.031738974153995514,
0.029181718826293945,
-0.009245109744369984,
-0.004416251555085182,
-0.04120625555515289,
0.06942673772573471,
-0.02034921571612358,
-0.021782005205750465,
0.01067336369305849,
-0.06674253195524216,
0.04516002535820007,
-0.027132289484143257,
-0.0280391164124012,
0.029199855402112007,
0.017610596492886543,
-0.020421762019395828,
0.03211984038352966,
0.009163495153188705,
-0.043600283563137054,
-0.025735773146152496,
-0.009376599453389645,
-0.03562019765377045,
0.03848577290773392,
0.044579654932022095,
0.005699412897229195,
0.020385488867759705,
-0.06387694925069809,
-0.030487552285194397,
-0.05266856029629707,
-0.012632112018764019,
-0.03694416582584381,
-0.039465148001909256,
0.028982218354940414,
-0.02823861874639988,
-0.10381364822387695,
-0.03465896099805832,
-0.01205174159258604,
0.08219487220048904,
-0.004522803705185652,
-0.05103627219796181,
0.04312873259186745,
0.019696300849318504,
0.04748150706291199,
-0.029671406373381615,
-0.05760170519351959,
0.021981507539749146,
0.043418917804956436,
0.013194344937801361,
-0.0009260979131795466,
0.059705544263124466,
0.03725248575210571,
-0.04900497570633888,
-0.04831578582525253,
0.07864011079072952,
-0.014463904313743114,
-0.012124287895858288,
-0.031176740303635597,
-0.009993243031203747,
0.0738520622253418,
0.028401847928762436,
0.016939543187618256,
0.041931718587875366,
-0.04653840512037277,
-0.03050568886101246,
-0.03260952979326248,
0.01841767318546772,
0.0848790854215622,
-0.034912873059511185,
0.05063726752996445,
-0.05905262753367424,
0.06862872838973999,
-0.018608106300234795,
-0.008959459140896797,
0.03848577290773392,
0.009866287000477314,
0.07011593133211136,
0.028891535475850105,
-0.0018125221831724048,
-0.028601350262761116,
0.06670625507831573,
-0.001278627198189497,
0.011489508673548698,
-0.008601262234151363,
0.03268207609653473,
-0.0037973416037857533,
-0.022235417738556862,
0.028002843260765076,
0.031031647697091103,
0.0032532447949051857,
0.03899359703063965,
-0.01926102302968502,
0.01264118030667305,
-0.021056542173027992,
0.053575389087200165,
0.03663584589958191,
0.04146016761660576,
0.008537784218788147,
-0.07776955515146255,
0.04740896075963974,
-0.061192743480205536,
-0.01056454423815012,
0.005980529356747866,
-0.019714437425136566,
-0.054663579910993576,
-0.05314011126756668,
-0.017801029607653618,
-0.018934564664959908,
0.07791464775800705,
0.02716856263577938,
0.011135845445096493,
0.00632512429729104,
0.018825745210051537,
-0.06623470783233643,
-0.016250355169177055,
-0.02123790793120861,
-0.029453767463564873,
-0.021473683416843414,
-0.0076536270789802074,
-0.0013330369256436825,
0.04338264465332031,
-0.017157182097434998,
0.0037111928686499596,
-0.008841571398079395,
0.019333569332957268,
-0.0015042006270959973,
0.011262801475822926,
0.04196799173951149,
0.05281365290284157,
0.010138334706425667,
-0.03997297212481499,
0.043709103018045425,
-0.0018272580346092582,
-0.004481996409595013,
0.06783071905374527,
-0.03542069345712662,
0.03415113687515259,
0.017120908945798874,
-0.010383178479969501,
-0.03819558769464493,
-0.0031262889970093966,
0.04751778021454811,
-0.030396869406104088,
-0.038268133997917175,
0.013439188711345196,
-0.05847225710749626,
-0.06717780232429504,
-0.037977948784828186,
0.04087979719042778,
0.012831613421440125,
-0.0011924785794690251,
-0.014826634898781776,
0.02468385361135006,
-0.06485632807016373,
0.03192033991217613,
0.030251776799559593,
-0.042403269559144974,
0.008945856243371964,
-0.03902987018227577,
-0.020458035171031952,
-0.013058320619165897,
-0.00434823939576745,
0.017365753650665283,
-0.03228307142853737,
-0.011226528324186802,
0.0043799784034490585,
0.005912517663091421,
-0.009811877273023129,
0.049512799829244614,
-0.036472614854574203,
0.011924785561859608,
0.01613246649503708,
0.018045874312520027,
0.02705974318087101,
-0.01129907462745905,
-0.024720126762986183,
0.008447101339697838,
0.023178519681096077,
0.05074608698487282,
-0.0153616638854146,
-0.01697581633925438,
-0.03665398061275482,
0.03286344185471535,
-0.03852204605937004,
-0.004955814220011234,
0.005540717858821154,
0.04911379516124725,
0.038848504424095154,
-0.03023364022374153,
0.03888477757573128,
0.02705974318087101,
0.041024889796972275,
0.00953076034784317,
-0.019968349486589432,
0.007739775348454714,
-0.011054230853915215,
-0.006220838986337185,
-0.008864241652190685,
0.0023894913028925657,
-0.0677219033241272,
0.08154195547103882,
-0.025064721703529358,
-0.006116553675383329,
-0.012822545133531094,
-0.07312659919261932,
0.014491109177470207,
0.015035205520689487,
0.018181897699832916,
0.011235596612095833,
0.06579943001270294,
-0.03634566068649292,
-0.02626173384487629,
-0.055352769792079926,
0.03623684123158455,
0.041714079678058624,
0.004797119181603193,
0.014309743419289589,
0.04871479049324989,
0.032047294080257416,
-0.010637090541422367,
0.006193634122610092,
0.01926102302968502,
-0.034223683178424835,
0.014355084858834743,
0.004434388130903244,
-0.043817922472953796,
-0.049041248857975006,
-0.07040611654520035,
0.015960169956088066,
-0.027567565441131592,
-0.002082303399220109,
-0.06141038239002228,
0.013874465599656105,
0.0049875532276928425,
-0.04574039578437805,
0.04668349772691727,
-0.004384512547403574,
-0.0061573609709739685,
-0.06627097725868225,
0.019623754546046257,
-0.0140195582062006,
0.04592176154255867,
-0.005472706165164709,
-0.01723879761993885,
0.057819344103336334,
-0.030578235164284706,
0.07929302752017975,
-0.005944256670773029,
0.022652558982372284,
-0.011915717273950577,
-0.004325568675994873,
0.08001849055290222,
0.00002376880729570985,
0.016177808865904808,
0.0014418562641367316,
0.0269690603017807,
-0.016458924859762192,
0.005626866593956947,
-0.038376953452825546,
0.015298185870051384,
0.08908676356077194,
-0.008551386184990406,
-0.04831578582525253,
-0.05201564356684685,
0.005971461068838835,
-0.013212481513619423,
-0.010637090541422367,
-0.036581434309482574,
0.011172118596732616,
-0.015624643303453922,
-0.05372048169374466,
-0.06460241228342056,
0.004350506700575352,
-0.030052274465560913,
-0.04584921523928642,
-0.050999999046325684,
0.018535559996962547,
-0.03525746613740921,
0.01924288645386696,
-0.019986486062407494,
0.05611450597643852,
-0.0001467927504563704,
0.015017068944871426,
0.03971906006336212,
-0.008442566730082035,
-0.019605617970228195,
-0.12485205382108688,
0.01985953003168106,
0.06997083872556686,
0.007508534472435713,
0.018716925755143166,
0.022960880771279335,
0.020385488867759705,
0.009177098050713539,
-0.027241108939051628,
-0.015806009992957115,
0.005844505503773689,
0.03997297212481499,
0.024411804974079132,
-0.022471193224191666,
0.021945234388113022,
0.05636841803789139,
-0.07363442331552505,
-0.030850281938910484,
0.011217460036277771,
0.03400604426860809,
0.05303129181265831,
0.006864686496555805,
0.03063264489173889,
-0.026533782482147217,
0.064348503947258,
-0.010546407662332058,
-0.018200034275650978,
0.030850281938910484,
-0.03765149042010307,
0.026207324117422104,
0.010192744433879852,
0.056549783796072006,
-0.03289971500635147,
0.04969416558742523,
0.0028134332969784737,
-0.03725248575210571,
0.06115647032856941,
0.01955120824277401,
-0.05854480341076851,
0.01722066104412079,
-0.027005333453416824,
-0.05103627219796181,
-0.05647723749279976,
0.02448435127735138,
0.03413299843668938,
0.011970127001404762,
0.054663579910993576,
0.02339615859091282,
-0.02488335594534874,
0.04599430784583092,
0.020675674080848694,
-0.007073257118463516,
-0.10707823187112808,
-0.060975104570388794,
-0.002371354727074504,
-0.024157892912626266,
-0.031067920848727226,
0.01917034015059471,
-0.0752304345369339,
-0.004738175310194492,
-0.03228307142853737,
0.024466214701533318,
-0.03317176178097725,
0.015733463689684868,
0.05379302799701691,
0.04900497570633888,
-0.008270270191133022,
0.0005681843031197786,
0.07153058052062988,
-0.008977595716714859,
-0.014336948283016682,
-0.012260312214493752,
0.055243950337171555,
0.03503982722759247,
0.010618953965604305,
-0.014835703186690807,
0.022235417738556862,
-0.050528448075056076,
0.0030265378300100565,
0.05350284278392792,
-0.03349822014570236,
-0.004579480737447739,
-0.02310597337782383,
-0.04751778021454811,
-0.058109529316425323,
-0.002007490023970604,
-0.04146016761660576,
0.05509885773062706,
0.043817922472953796,
0.05027453601360321,
-0.023378022015094757,
-0.048533424735069275,
0.0056676738895475864,
0.0119519904255867,
-0.021782005205750465,
-0.021274181082844734,
-0.000111582332465332,
-0.02132859081029892,
0.04432574287056923,
-0.03819558769464493,
-0.02676955796778202,
0.09431009739637375,
0.030070411041378975,
-0.035892244428396225,
0.0034436786081641912,
0.06837482005357742,
-0.053466569632291794,
-0.022144734859466553,
-0.04149644076824188,
-0.02043989859521389,
-0.003291785018518567,
0.07776955515146255,
0.010156471282243729,
0.02092958614230156,
-0.020222261548042297,
-0.030487552285194397,
0.03444132208824158,
0.003439144464209676,
0.03636379539966583,
-0.009267779998481274,
-0.019841393455863,
0.01391980703920126,
-0.0389210507273674,
-0.01975071057677269,
-0.046756044030189514,
0.04766286909580231,
0.04116998240351677,
-0.001404449576511979,
0.015942033380270004,
-0.017855439335107803,
0.044071830809116364,
-0.02341429516673088,
0.027495019137859344,
0.0024348327424377203,
-0.019097793847322464,
0.017057431861758232,
-0.07240113615989685,
-0.034024178981781006,
0.030088547617197037,
0.09090042114257812,
0.026334280148148537,
-0.03997297212481499,
0.022652558982372284,
0.011054230853915215,
-0.017048362642526627,
0.023468704894185066,
0.001810255111195147,
0.02292460761964321,
-0.019623754546046257,
0.04378164932131767,
-0.021655049175024033,
-0.03562019765377045,
-0.026733284816145897,
-0.059596724808216095,
-0.015243776142597198,
-0.006084814667701721,
-0.10490184277296066,
-0.021763868629932404,
-0.050999999046325684,
0.00543189886957407,
-0.00021678852499462664,
0.021763868629932404,
0.02134672738611698,
-0.008492442779242992,
-0.0020358285401016474,
0.020603127777576447,
0.0887240320444107,
0.01307645719498396,
-0.00943100918084383,
-0.03957396745681763,
0.003994576632976532,
-0.010646158829331398,
0.009340326301753521,
0.025409316644072533,
-0.0327908955514431,
-0.08531436324119568,
0.0011675407877191901,
-0.0071548717096447945,
-0.0194605253636837,
0.03177524730563164,
-0.029054764658212662,
0.008592193946242332,
-0.029199855402112007,
0.0038721547462046146,
0.09452773630619049,
0.056549783796072006,
-0.00345501396805048,
0.051181361079216,
0.057238973677158356,
-0.03634566068649292,
-0.04523257166147232,
0.0458129420876503,
-0.005354818422347307,
0.07294522970914841,
-0.02468385361135006,
-0.030777737498283386,
0.01812748797237873,
-0.007925675250589848,
-0.021056542173027992,
-0.008701013401150703,
-0.048243239521980286,
0.014654337428510189,
0.002496043685823679,
0.0022625355049967766,
-0.05390184745192528,
0.012759068049490452,
-0.011825035326182842,
0.0002658138982951641,
-0.014382289722561836,
0.02025853469967842,
0.0008422163664363325,
-0.02459317073225975,
0.02301529049873352,
-0.014636200852692127,
-0.02885526232421398,
0.00331898988224566,
0.04838833212852478,
0.016721906140446663,
0.007757911924272776,
-0.02417602948844433,
0.01372030470520258,
-0.008755423128604889,
-0.019097793847322464,
-0.019115930423140526,
0.037760309875011444,
0.05078236013650894,
-0.01588762365281582,
0.01897083781659603,
-0.029743952676653862,
0.03674466535449028
]
|
40,632 | pyglove.core.symbolic.dict | _formalized_value | Get transformed (formal) value from user input. | def _formalized_value(self, name: str,
field: Optional[pg_typing.Field],
value: Any) -> Any:
"""Get transformed (formal) value from user input."""
allow_partial = base.accepts_partial(self)
if field and pg_typing.MISSING_VALUE == value:
# NOTE(daiyip): default value is already in transformed form.
value = field.default_value
else:
value = base.from_json(
value,
allow_partial=allow_partial,
root_path=object_utils.KeyPath(name, self.sym_path))
if field and flags.is_type_check_enabled():
value = field.apply(
value,
allow_partial=allow_partial,
transform_fn=base.symbolic_transform_fn(self._allow_partial),
root_path=object_utils.KeyPath(name, self.sym_path))
return self._relocate_if_symbolic(name, value)
| (self, name: str, field: Optional[pyglove.core.typing.class_schema.Field], value: Any) -> Any | [
0.06897546350955963,
-0.03377847373485565,
0.03134926036000252,
-0.005177592393010855,
-0.01799745298922062,
-0.007606805302202702,
0.04567629471421242,
-0.05780462920665741,
0.03404444456100464,
-0.051314905285835266,
0.033902592957019806,
0.04046323895454407,
-0.030232176184654236,
-0.019681943580508232,
0.026597222313284874,
0.06596110761165619,
0.03172162175178528,
0.07347925752401352,
-0.006768993102014065,
0.04773314669728279,
0.055960554629564285,
-0.04046323895454407,
-0.0050667705945670605,
0.02631351910531521,
0.04890342429280281,
-0.0313669890165329,
0.04035685211420059,
-0.044576942920684814,
-0.054967593401670456,
-0.03228902816772461,
0.07206074148416519,
0.0255156010389328,
0.01399900484830141,
0.02418574132025242,
0.05901037156581879,
-0.053655464202165604,
-0.05911675840616226,
0.029292406514286995,
-0.09482796490192413,
-0.028760462999343872,
-0.01361777726560831,
-0.0037014468107372522,
-0.06727323681116104,
0.011755972169339657,
-0.022572176530957222,
0.003209398128092289,
0.014176319353282452,
0.04099518433213234,
-0.017430046573281288,
-0.005913448985666037,
0.013068101368844509,
-0.024664491415023804,
-0.004350862465798855,
-0.006494155153632164,
-0.007673298474401236,
-0.02149055525660515,
-0.01680057868361473,
0.056350648403167725,
0.06358509510755539,
0.011117639020085335,
-0.006622708402574062,
-0.0007790769450366497,
-0.05273342505097389,
-0.05177592486143112,
-0.027785230427980423,
-0.01680944487452507,
0.07581981271505356,
0.006990636698901653,
-0.05649250000715256,
0.00840915460139513,
-0.037768054753541946,
-0.010408379137516022,
-0.007504849694669247,
0.011055578477680683,
0.06337231397628784,
0.0020302545744925737,
-0.027980277314782143,
-0.01778467558324337,
0.03649139031767845,
-0.059258610010147095,
0.031828008592128754,
-0.016499143093824387,
-0.07872777432203293,
-0.06120907515287399,
-0.07716740667819977,
-0.013688703998923302,
-0.03496647998690605,
-0.009885300882160664,
0.08248685300350189,
-0.010124675929546356,
-0.011294953525066376,
-0.0556059256196022,
-0.029097361490130424,
0.08617500215768814,
-0.053052593022584915,
-0.006990636698901653,
0.016933564096689224,
-0.06805342435836792,
0.0010589018929749727,
0.05620879679918289,
0.0406050905585289,
0.016951296478509903,
-0.03287416696548462,
0.008129884488880634,
0.04500250145792961,
-0.013404999859631062,
0.04021500051021576,
-0.02106500044465065,
0.05351361259818077,
-0.01081620343029499,
-0.02104726806282997,
-0.05241425707936287,
-0.0545065738260746,
0.016853773966431618,
-0.027483796700835228,
0.035658009350299835,
-0.062308426946401596,
-0.011037847027182579,
-0.010993518866598606,
0.027590185403823853,
-0.0038854109589010477,
0.0010395081480965018,
0.009699120186269283,
-0.03939935192465782,
-0.005408101715147495,
0.049080740660429,
-0.00974344927817583,
-0.04000222310423851,
0.05042833462357521,
0.016082454472780228,
-0.009397685527801514,
0.025373749434947968,
-0.0026331250555813313,
0.004942650441080332,
0.01325428206473589,
0.05457749962806702,
0.02477088011801243,
0.02432759292423725,
0.019291851669549942,
0.05901037156581879,
0.04181083291769028,
0.030657730996608734,
0.040711481124162674,
-0.06596110761165619,
0.03454092517495155,
-0.02493046224117279,
0.08362166583538055,
0.06025157496333122,
-0.07560703903436661,
-0.008449050597846508,
-0.004468333441764116,
0.06663490831851959,
0.031987592577934265,
0.041491664946079254,
0.03422175720334053,
0.020036574453115463,
-0.0006073032272979617,
-0.10532499849796295,
0.0000819388369563967,
0.03851277753710747,
0.03769712895154953,
-0.023706991225481033,
-0.009131712839007378,
-0.017492106184363365,
0.01402560155838728,
0.03516152873635292,
0.05503851920366287,
-0.02278495393693447,
0.049577221274375916,
0.0011780352797359228,
-0.0084135876968503,
-0.02629578672349453,
-0.029416527599096298,
0.06720231473445892,
0.0410306490957737,
0.05837203562259674,
-0.03454092517495155,
-0.005128831136971712,
0.020816758275032043,
-0.0048229629173874855,
-0.03886740654706955,
0.010567963123321533,
-0.017314791679382324,
-0.027341945096850395,
0.025834769010543823,
0.0222530085593462,
-0.008706157095730305,
0.007003935053944588,
0.048052314668893814,
0.028849119320511818,
-0.028654074296355247,
0.012740069068968296,
0.010319721885025501,
-0.003619438735768199,
-0.05337175726890564,
-0.05549953505396843,
0.00958386529237032,
-0.01780240796506405,
0.027519259601831436,
0.005332742817699909,
-0.025391481816768646,
-0.028565416112542152,
0.002214218722656369,
0.059648703783750534,
-0.09738129377365112,
0.017456643283367157,
0.07113870233297348,
0.017270462587475777,
-0.05411648005247116,
-0.03459411859512329,
-0.021508287638425827,
-0.04595999792218208,
-0.03530338034033775,
-0.0042023612186312675,
-0.014220648445189,
-0.08652962744235992,
0.045924536883831024,
-0.0545065738260746,
0.005062337964773178,
0.0610317587852478,
0.05720175802707672,
0.02258990705013275,
0.038761019706726074,
-0.03748435154557228,
0.08376351743936539,
-0.04890342429280281,
-0.047626759856939316,
-0.047839537262916565,
-0.04209453612565994,
-0.020142963156104088,
-0.0177580788731575,
-0.03032083250582218,
-0.03773259371519089,
-0.00041668981430120766,
-0.019380509853363037,
0.01991245336830616,
0.07099685072898865,
-0.0679825022816658,
-0.03769712895154953,
0.024682221934199333,
-0.017713749781250954,
-0.011153101921081543,
-0.02611847221851349,
0.02801574021577835,
-0.06131546199321747,
-0.014708263799548149,
0.0012678009225055575,
0.06142185255885124,
-0.03253726661205292,
-0.006884247530251741,
0.0067069330252707005,
0.04315842688083649,
0.0042134434916079044,
0.045144353061914444,
-0.0117825698107481,
0.002486840356141329,
-0.02223527804017067,
-0.01564803160727024,
0.0629822239279747,
0.01390148140490055,
-0.050747498869895935,
-0.04599546268582344,
-0.04819416627287865,
0.03032083250582218,
0.015506180003285408,
-0.05454203486442566,
-0.025976620614528656,
0.006573946680873632,
0.03618995472788811,
-0.017829004675149918,
-0.03186347335577011,
-0.004689977038651705,
0.028955509886145592,
-0.015710093080997467,
-0.0007125838892534375,
0.007163518574088812,
0.0036682002246379852,
0.047874998301267624,
0.04578268527984619,
0.01073641236871481,
0.002234166720882058,
-0.025178704410791397,
-0.006104062311351299,
-0.026366712525486946,
-0.0034110937267541885,
-0.005722835659980774,
0.026136202737689018,
-0.011259490624070168,
-0.030019398778676987,
-0.007704328745603561,
0.04971907287836075,
-0.0045037963427603245,
-0.02145509235560894,
0.006636006757616997,
-0.01932731457054615,
-0.025178704410791397,
-0.07042944431304932,
-0.04986092448234558,
0.021384166553616524,
-0.050180092453956604,
0.024221204221248627,
0.02955837920308113,
-0.01507175900042057,
0.007407326251268387,
-0.014522083103656769,
-0.026987314224243164,
-0.04542805626988411,
-0.04872611165046692,
-0.01852939836680889,
-0.0000808998811407946,
-0.06170555576682091,
0.03072865679860115,
-0.07103231549263,
-0.01936277747154236,
0.008462349884212017,
0.04769768565893173,
0.012101735919713974,
0.02303319424390793,
0.03532111272215843,
0.03592398017644882,
0.006237048655748367,
-0.03383166715502739,
-0.04876157268881798,
-0.006285810377448797,
-0.03982490673661232,
-0.01916773058474064,
-0.01703108847141266,
0.030444953590631485,
0.022696295753121376,
0.01568349450826645,
-0.005638611037284136,
0.023121852427721024,
0.009973958134651184,
-0.0007186791044659913,
-0.054790277034044266,
-0.022341666743159294,
0.03347703814506531,
0.021951574832201004,
-0.026774536818265915,
-0.016552338376641273,
-0.00850667804479599,
0.012013078667223454,
0.010869397781789303,
0.005824791733175516,
0.0018185850931331515,
0.005736134015023708,
0.023511944338679314,
-0.021916110068559647,
0.11759518086910248,
-0.05415194481611252,
-0.05032194405794144,
-0.07560703903436661,
0.00410262169316411,
-0.014850115403532982,
-0.007429490797221661,
0.007970300503075123,
0.021366434171795845,
-0.03537430614233017,
-0.0575563870370388,
-0.03455865755677223,
0.07191888988018036,
-0.0716351866722107,
-0.013085832819342613,
0.012731203809380531,
0.046101853251457214,
-0.00028356516850180924,
-0.011755972169339657,
0.012154930271208286,
0.027377407997846603,
0.03076411969959736,
0.010763009078800678,
-0.006981770973652601,
-0.0020590682979673147,
-0.06610295921564102,
-0.016889236867427826,
0.04326481372117996,
0.04291018471121788,
0.018440740182995796,
-0.0235651396214962,
-0.02922148071229458,
0.03422175720334053,
0.042023610323667526,
-0.032980553805828094,
0.052130553871393204,
0.014530949294567108,
0.0072034141048789024,
-0.01875990815460682,
0.008183078840374947,
-0.0019094588933512568,
-0.039363887161016464,
-0.04971907287836075,
-0.004390757996588945,
0.041278887540102005,
-0.04064055532217026,
0.0421300008893013,
0.00044217880349606276,
-0.005013576243072748,
-0.023653795942664146,
-0.04844240844249725,
0.025178704410791397,
0.008347094990313053,
-0.01819249987602234,
-0.012438634410500526,
0.036810554563999176,
-0.03801629692316055,
-0.06120907515287399,
0.06766333431005478,
0.05085388943552971,
0.004627916496247053,
0.10234610736370087,
0.04776861146092415,
0.00493378471583128,
-0.006995069328695536,
-0.03968305513262749,
0.014672800898551941,
-0.014362500049173832,
0.008307198993861675,
-0.02282041683793068,
-0.02145509235560894,
0.003874328685924411,
-0.0021687818225473166,
0.022128889337182045,
-0.04851333424448967,
0.061386387795209885,
0.03611902892589569,
0.016853773966431618,
0.007549178320914507,
-0.006986203603446484,
0.015373194590210915,
0.05429379642009735,
0.021703332662582397,
-0.02264310233294964,
0.0023627199698239565,
-0.03308694437146187,
0.02666814811527729,
0.013094699010252953,
0.002803790383040905,
-0.022306203842163086,
0.02223527804017067,
-0.020142963156104088,
0.011277222074568272,
0.01680944487452507,
0.01149886567145586,
0.006813321728259325,
-0.05142129585146904,
-0.01586081087589264,
-0.00850667804479599,
0.05954231321811676,
-0.0328032411634922,
-0.04259101673960686,
0.05369092524051666,
0.020213888958096504,
0.024877268821001053,
-0.013245416805148125,
-0.021171389147639275,
0.005354907363653183,
-0.016472546383738518,
-0.0406050905585289,
0.04439963027834892,
0.017731482163071632,
0.02728874981403351,
0.03438134118914604,
0.0305158793926239,
0.016339560970664024,
0.005177592393010855,
0.06142185255885124,
-0.02219981513917446,
0.017164073884487152,
-0.03264365717768669,
-0.01895495317876339,
0.019469166174530983,
-0.006578379776328802,
0.011259490624070168,
0.0034798032138496637,
0.027962546795606613,
0.015515046194195747,
-0.01833435148000717,
-0.0048318286426365376,
-0.02434532344341278,
-0.05032194405794144,
0.02395523153245449,
-0.0026619385462254286,
-0.0010012745624408126,
0.020444398745894432,
0.052307870239019394,
0.016392754390835762,
0.010567963123321533,
0.035445231944322586,
0.009113981388509274,
0.03982490673661232,
-0.018059514462947845,
0.07560703903436661,
0.0432293526828289,
0.02977115660905838,
-0.0695074051618576,
0.010248796083033085,
-0.004663379397243261,
-0.0540810190141201,
0.005310578737407923,
0.043406665325164795,
-0.0235651396214962,
-0.012961712665855885,
-0.053655464202165604,
0.02803347259759903,
0.029097361490130424,
-0.02994847111403942,
-0.023884305730462074,
0.02163240686058998,
-0.00006687400309601799,
0.015585971996188164,
-0.02319277822971344,
-0.0332287959754467,
0.059435926377773285,
-0.014131990261375904,
0.03303375095129013,
-0.005306145641952753,
0.007602372672408819,
0.04014407470822334,
-0.06206018477678299,
-0.06163462996482849,
-0.020940879359841347,
-0.02260763943195343,
-0.059045832604169846,
-0.014167453162372112,
-0.02631351910531521,
0.0429811105132103,
-0.00035324436612427235,
-0.032395415008068085,
0.022501250728964806,
-0.03542749956250191,
0.041881758719682693,
-0.011729374527931213,
0.029079629108309746,
0.05489666759967804,
0.03844185173511505,
0.023441018536686897,
-0.03496647998690605,
0.028299443423748016,
-0.10333907604217529,
-0.012686874717473984,
0.027873888611793518,
0.08418907225131989,
-0.019611017778515816,
0.05003824084997177,
0.07042944431304932,
-0.05046379566192627,
0.0019327314803376794,
0.013520254753530025,
0.005354907363653183,
-0.03530338034033775,
-0.12241815030574799,
-0.03558708354830742,
0.008524409495294094,
0.047272130846977234,
-0.0328918993473053,
-0.02376018464565277,
-0.03801629692316055,
0.044967036694288254,
0.00782401580363512,
-0.00079736253246665,
0.010505902580916882,
0.012004212476313114,
0.016694189980626106,
0.004242256749421358,
-0.04695296287536621,
0.009814375080168247,
-0.009530670940876007,
0.022182082757353783,
0.041278887540102005,
-0.025409212335944176,
0.018884027376770973,
0.022731758654117584,
0.045321665704250336,
0.03618995472788811,
0.025426944717764854,
0.047839537262916565,
-0.01276666671037674,
0.0030897106043994427,
-0.0475558340549469,
0.0010605641873553395,
-0.015417522750794888,
-0.02418574132025242,
-0.03113648109138012,
-0.01644594967365265,
-0.033565692603588104,
-0.022128889337182045,
-0.0030232176650315523,
0.029647037386894226,
-0.03727157413959503,
0.002116695512086153,
-0.056563425809144974,
-0.06354963034391403,
-0.0230154637247324,
0.039895832538604736,
-0.012553888373076916,
0.030303101986646652,
-0.053265370428562164,
0.014229513704776764,
0.025958888232707977,
-0.034523192793130875,
-0.10575055330991745,
0.0005413643084466457,
-0.021348703652620316,
0.04911620169878006,
0.023281434550881386,
0.027980277314782143,
0.03581759333610535,
0.006839918904006481,
0.04869064688682556,
-0.020745832473039627,
0.04581814631819725,
0.03525018319487572,
-0.0002183188626077026,
0.008174212649464607,
0.0006327922455966473,
0.03445226699113846,
-0.022483518347144127,
-0.02007203735411167,
-0.00484069436788559,
-0.03074638918042183,
-0.029256943613290787,
-0.005913448985666037,
-0.0760325938463211,
0.009344490244984627,
-0.0044084894470870495,
-0.028334906324744225,
0.04893888905644417,
0.00842245388776064,
-0.04737851768732071,
-0.047626759856939316,
-0.01371530070900917,
0.003191666677594185,
-0.016969026997685432,
0.01439796295017004,
-0.02321050874888897,
0.004556990694254637,
-0.0332287959754467,
0.027572453022003174,
-0.04968361184000969,
0.02149055525660515,
-0.014007870107889175,
-0.001011248561553657,
-0.014096527360379696,
0.03383166715502739,
-0.02374245412647724,
0.03883194550871849,
-0.039895832538604736,
-0.07695462554693222,
-0.0027439468540251255,
0.03555161878466606,
-0.04500250145792961,
0.025746110826730728,
-0.018830833956599236,
0.014929907396435738,
0.06667037308216095,
-0.046669259667396545,
0.022483518347144127,
-0.06525184959173203,
0.01121516153216362,
-0.014353633858263493,
-0.05546407401561737,
-0.034523192793130875,
0.06411703675985336,
-0.02283814735710621,
0.02051532454788685,
-0.007819583639502525,
-0.02668587863445282,
-0.003617222188040614,
0.01973513886332512,
-0.03076411969959736,
-0.039895832538604736,
-0.027146898210048676,
-0.004601319320499897,
-0.023050926625728607,
-0.011826897971332073,
-0.012420902960002422,
0.07103231549263,
0.018901759758591652,
0.020834490656852722,
0.0097700459882617,
0.04216546192765236,
-0.08213222026824951,
-0.008098853752017021,
0.05549953505396843,
-0.023245971649885178,
-0.04702388867735863,
0.0034376909025013447,
-0.01390148140490055,
0.01703995279967785,
-0.02129550836980343,
-0.006396631710231304,
-0.033352915197610855,
-0.03730703517794609,
-0.07894055545330048,
-0.013892615213990211,
-0.05081842467188835,
-0.011649583466351032,
0.025657452642917633,
0.018298888579010963,
0.08567851781845093,
0.04872611165046692,
-0.015452985651791096,
0.03847731277346611,
-0.011303819715976715,
-0.0016867071390151978,
-0.008329363539814949,
0.017678286880254745,
-0.012926249764859676,
0.006906412076205015,
-0.020923148840665817,
0.0058292243629693985,
0.020373472943902016,
-0.05163407325744629,
0.029469722881913185,
0.01895495317876339,
0.032182637602090836,
-0.07177703827619553,
0.07787666469812393,
0.03303375095129013,
0.013573449105024338,
0.04181083291769028,
0.006777858827263117,
0.001134260674007237,
-0.03221810236573219,
0.041881758719682693,
0.023245971649885178,
-0.05503851920366287,
-0.03801629692316055,
0.020533055067062378,
0.044541481882333755,
0.038370925933122635,
0.07021666318178177,
-0.0037036631256341934,
0.02684546262025833,
0.012279050424695015,
0.0026929688174277544,
0.04635009169578552,
0.04542805626988411,
-0.0272532869130373,
0.013892615213990211,
-0.014353633858263493,
0.08922481536865234,
0.031189676374197006,
-0.015275671146810055,
0.026792269200086594,
0.020728101953864098,
0.01741231419146061,
-0.0011791435535997152,
-0.016277499496936798,
0.059258610010147095,
0.0011381395161151886,
0.007482685148715973,
0.01082506962120533,
0.026331249624490738,
0.022394860163331032,
-0.05294620245695114,
0.003612789325416088,
0.014220648445189,
0.0080101964995265,
0.004650081042200327,
-0.07284092903137207,
0.01602925918996334,
-0.02278495393693447,
0.009690254926681519,
0.0031052257400006056,
-0.023299166932702065,
-0.005270682740956545,
0.06745055317878723
]
|
40,633 | pyglove.core.symbolic.dict | _init_kwargs | null | def _init_kwargs(self) -> typing.Dict[str, Any]:
kwargs = super()._init_kwargs()
if not self._accessor_writable:
kwargs['accessor_writable'] = False
if self._onchange_callback is not None:
kwargs['onchange_callback'] = self._onchange_callback
# NOTE(daiyip): We do not serialize ValueSpec for now as in most use
# cases they come from the subclasses of `pg.Object`.
return kwargs
| (self) -> Dict[str, Any] | [
0.006646906957030296,
-0.012128694914281368,
0.03502996265888214,
0.020112622529268265,
-0.03930843248963356,
0.007119639310985804,
-0.01802114024758339,
0.06448263674974442,
-0.007444344460964203,
-0.024009086191654205,
0.03321543335914612,
0.08671539276838303,
0.01984521932899952,
0.017285777255892754,
0.006551405414938927,
0.020742934197187424,
-0.014067376032471657,
0.023818083107471466,
0.02110583893954754,
-0.034418754279613495,
0.012042743153870106,
-0.03306262940168381,
-0.039193831384181976,
0.04908778890967369,
0.0007162615074776113,
0.04641374573111534,
-0.061464786529541016,
0.00923022348433733,
0.07498780637979507,
0.008642888627946377,
-0.03829611465334892,
0.007573271635919809,
0.043166693300008774,
0.048476580530405045,
0.020704733207821846,
-0.030579591169953346,
-0.006637356709688902,
0.07884606719017029,
-0.06318381428718567,
0.012052293866872787,
-0.014745436608791351,
0.011049527674913406,
-0.05405386909842491,
-0.01449713297188282,
0.04698675498366356,
0.025307906791567802,
-0.02666402794420719,
0.041027460247278214,
0.03502996265888214,
-0.009836657904088497,
0.017524531111121178,
0.02899426594376564,
0.03863992169499397,
0.04007244482636452,
-0.06291641294956207,
-0.04931699112057686,
0.01792563870549202,
0.08633338660001755,
-0.01174668874591589,
0.059669360518455505,
-0.06337481737136841,
0.05069221556186676,
-0.010113612748682499,
-0.08144371211528778,
-0.03438055142760277,
-0.059516556560993195,
-0.044198110699653625,
-0.00467002484947443,
0.00167247059289366,
0.05351905897259712,
0.007439569570124149,
-0.045267727226018906,
-0.005706216674298048,
0.030140284448862076,
-0.023436076939105988,
-0.01990251988172531,
-0.03609957918524742,
0.021621547639369965,
0.015194294042885303,
-0.013857272453606129,
0.002745669102296233,
0.010056311264634132,
-0.056498706340789795,
0.0167987197637558,
0.008518736809492111,
0.006393827963620424,
-0.05103601887822151,
0.010829874314367771,
0.07750904560089111,
-0.012873606756329536,
-0.04286108911037445,
0.04274648800492287,
0.015891455113887787,
0.008652439340949059,
-0.02666402794420719,
-0.008127180859446526,
-0.011039976961910725,
0.02874596230685711,
0.009941710159182549,
-0.0032900278456509113,
-0.017744185402989388,
-0.048132773488759995,
0.03535466641187668,
-0.00005483877248479985,
0.0014468482695519924,
-0.06872290372848511,
0.006995487492531538,
-0.08067969977855682,
-0.011039976961910725,
-0.032031215727329254,
0.02213725633919239,
0.013971874490380287,
0.008031679317355156,
0.04461831599473953,
-0.03424685075879097,
0.018441345542669296,
-0.02616742067039013,
-0.0666600689291954,
0.03802870959043503,
-0.054168470203876495,
-0.02908976748585701,
0.04076005518436432,
-0.011135478504002094,
0.035526569932699203,
0.008299083448946476,
0.012386549264192581,
0.021335043013095856,
0.05802673101425171,
0.04286108911037445,
0.0070050377398729324,
0.02339787594974041,
-0.009001019410789013,
0.001212272560223937,
-0.016435815021395683,
-0.0007490901625715196,
-0.028784163296222687,
0.05974575877189636,
0.028726860880851746,
0.01936771161854267,
-0.0020019509829580784,
-0.005467462819069624,
0.003996739163994789,
0.03629058226943016,
-0.021487845107913017,
-0.008432785049080849,
0.016645917668938637,
0.007983928546309471,
-0.02572811394929886,
-0.04752156510949135,
-0.014621284790337086,
0.022156355902552605,
0.022882167249917984,
-0.03336823731660843,
0.008437560871243477,
-0.03434235230088234,
-0.015471248887479305,
-0.03455245494842529,
-0.05875254422426224,
0.021717049181461334,
0.04228807985782623,
0.023875383660197258,
-0.014554433524608612,
0.006489329040050507,
-0.048476580530405045,
-0.0017846849514171481,
0.039919640868902206,
0.04626094177365303,
-0.11910951137542725,
0.028516758233308792,
0.04534412920475006,
0.021315941587090492,
0.0022693551145493984,
0.024486593902111053,
0.036309681832790375,
-0.004586461000144482,
0.09305669367313385,
0.018937954679131508,
-0.02135414257645607,
-0.025231504812836647,
0.007033688016235828,
0.03839161619544029,
-0.019520513713359833,
-0.028096551075577736,
0.05726271867752075,
0.05237304046750069,
-0.03930843248963356,
-0.02179344929754734,
0.011488834396004677,
0.008141505531966686,
0.01403872575610876,
0.013847722671926022,
-0.02767634391784668,
-0.01257755234837532,
0.002428126521408558,
-0.0031348378397524357,
0.017715534195303917,
0.04817097261548042,
-0.032126717269420624,
-0.056995317339897156,
0.08663899451494217,
-0.03134360536932945,
-0.033444635570049286,
-0.054015666246414185,
-0.03625238314270973,
-0.039919640868902206,
0.00982710812240839,
0.02996838092803955,
0.009755481965839863,
0.017744185402989388,
-0.05126522481441498,
-0.013876372948288918,
-0.04606993868947029,
-0.005157082807272673,
0.0034094047732651234,
0.014372981153428555,
-0.09007705003023148,
0.03575577586889267,
-0.0025904790963977575,
-0.013255612924695015,
0.05439767241477966,
0.057912129908800125,
0.026473024860024452,
0.020800234749913216,
-0.054512277245521545,
0.058064933866262436,
0.021048538386821747,
-0.027504442259669304,
-0.07422379404306412,
-0.017629582434892654,
-0.015308896079659462,
-0.06337481737136841,
0.018756501376628876,
-0.028593160212039948,
0.03972863778471947,
-0.01792563870549202,
0.025613510981202126,
0.026625826954841614,
-0.06356582045555115,
-0.04305209219455719,
-0.011078177951276302,
0.06677467375993729,
0.02301586978137493,
0.013990974985063076,
0.01615886017680168,
-0.02144964411854744,
-0.04022524505853653,
0.047941770404577255,
0.08671539276838303,
0.02588091604411602,
0.012825855985283852,
0.06280180811882019,
-0.030999798327684402,
-0.021029438823461533,
0.07258116453886032,
-0.023531578481197357,
0.017190275713801384,
0.03107619844377041,
0.07613382488489151,
0.006083447951823473,
-0.03793320804834366,
-0.0037937983870506287,
0.004108953755348921,
-0.0783112570643425,
0.06287821382284164,
0.029891980811953545,
-0.039041027426719666,
0.05031020939350128,
0.0017405154649168253,
-0.10421127080917358,
0.03516366332769394,
0.1164354681968689,
-0.03531646728515625,
-0.021659748628735542,
0.002666880376636982,
-0.0209148358553648,
-0.012816306203603745,
0.0008601106819696724,
-0.10184283554553986,
-0.0066564567387104034,
0.007339293137192726,
0.06257260590791702,
0.0009991847909986973,
0.0997036024928093,
0.02572811394929886,
0.041867874562740326,
-0.02164064720273018,
-0.007401369046419859,
0.016750968992710114,
-0.003858261974528432,
-0.04179147258400917,
-0.017820585519075394,
0.02047552913427353,
-0.005171407945454121,
0.034418754279613495,
0.05336625874042511,
-0.033635638654232025,
-0.0024687147233635187,
-0.02188895083963871,
0.01286405697464943,
-0.018288543447852135,
0.006427253130823374,
-0.004686737898737192,
-0.004880128428339958,
0.05905814841389656,
0.02431469038128853,
-0.029070667922496796,
0.010581569746136665,
-0.005114107392728329,
0.005009055603295565,
0.01785878650844097,
-0.03205031529068947,
0.02719883620738983,
0.016779620200395584,
0.04286108911037445,
-0.030713293701410294,
-0.02763814479112625,
0.017791936174035072,
-0.022996770218014717,
-0.0011263212654739618,
0.07705064117908478,
-0.048132773488759995,
-0.03736019879579544,
-0.060051366686820984,
-0.04480931907892227,
0.026091018691658974,
-0.016875121742486954,
-0.0023254624102264643,
0.008938943967223167,
-0.004553035832941532,
0.01357076782733202,
-0.09832838177680969,
0.02028452605009079,
0.03715009614825249,
0.03059869073331356,
0.0094642024487257,
0.021564247086644173,
-0.00973160658031702,
0.0015912943053990602,
-0.010056311264634132,
-0.022595662623643875,
-0.03418954834342003,
-0.019577814266085625,
-0.01374267041683197,
-0.02358887903392315,
-0.04549692943692207,
-0.03842981904745102,
0.023474277928471565,
-0.02972007729113102,
0.03573667258024216,
-0.024792198091745377,
0.007716523949056864,
-0.015624050982296467,
-0.03197391331195831,
0.040836457163095474,
0.06860829889774323,
-0.055238086730241776,
-0.025766314938664436,
-0.0548560805618763,
-0.029490873217582703,
-0.004612724296748638,
0.08885462582111359,
0.01670321822166443,
0.029032466933131218,
0.009277974255383015,
0.051723629236221313,
0.04450371488928795,
0.004450371488928795,
-0.0029844229575246572,
-0.0031682634726166725,
-0.06264900416135788,
0.0039012376219034195,
-0.0599367618560791,
-0.008327733725309372,
-0.012978658080101013,
0.035144563764333725,
-0.03220311924815178,
-0.056498706340789795,
-0.007850226014852524,
-0.04889678582549095,
0.0205710306763649,
-0.027466241270303726,
-0.03489626199007034,
0.019577814266085625,
0.03491536155343056,
-0.01785878650844097,
0.0014217790449038148,
0.023818083107471466,
0.007802475243806839,
0.05214383825659752,
-0.00546268792822957,
-0.04354869946837425,
0.036309681832790375,
-0.031400904059410095,
0.03399854525923729,
0.027275238186120987,
0.001141840242780745,
0.011039976961910725,
0.011507934890687466,
0.020150823518633842,
-0.006685107480734587,
-0.01146018411964178,
-0.07609562575817108,
-0.007396593689918518,
0.010495618917047977,
0.06849370151758194,
-0.013494366779923439,
0.03930843248963356,
0.03560297191143036,
0.07410918921232224,
0.007812025491148233,
-0.010438317432999611,
-0.04335769638419151,
-0.011326481588184834,
-0.0014623672468587756,
0.03829611465334892,
-0.022461960092186928,
0.015824604779481888,
-0.04904958978295326,
0.011689388193190098,
0.018355395644903183,
0.02685503102838993,
0.03506816178560257,
-0.02251926250755787,
0.022748464718461037,
0.0759810209274292,
0.041027460247278214,
0.016407163813710213,
-0.009693405590951443,
0.02465849556028843,
0.05447407439351082,
0.017916087061166763,
0.05199103429913521,
-0.06115918233990669,
0.030866095796227455,
-0.004586461000144482,
0.07139694690704346,
0.02062833122909069,
-0.060547973960638046,
-0.007048013154417276,
0.0335974395275116,
-0.06799709051847458,
-0.030388588085770607,
0.017066124826669693,
0.030961597338318825,
0.01641671359539032,
0.004108953755348921,
-0.003153938101604581,
0.06421523541212082,
0.06482644379138947,
-0.014707236550748348,
0.05588749796152115,
0.011622536927461624,
0.013656719587743282,
-0.04584073647856712,
-0.03336823731660843,
-0.026931433007121086,
-0.04305209219455719,
-0.03862082213163376,
-0.007458670064806938,
-0.0057014417834579945,
0.026530325412750244,
-0.024200089275836945,
-0.06711848080158234,
-0.018278993666172028,
0.004684350453317165,
0.07028912752866745,
0.009941710159182549,
-0.014353880658745766,
-0.05607850104570389,
0.03069419227540493,
0.0071244146674871445,
0.02572811394929886,
0.01001811120659113,
-0.041753269731998444,
-0.03248962387442589,
-0.023760782554745674,
-0.00536241102963686,
-0.012061843648552895,
-0.06700387597084045,
-0.056307703256607056,
0.025174204260110855,
0.04041624814271927,
0.0032207893673330545,
-0.014888688921928406,
0.02767634391784668,
-0.03386484459042549,
-0.036806292831897736,
-0.017534080892801285,
-0.03094249777495861,
0.0012618140317499638,
-0.003925113007426262,
-0.0015053428942337632,
0.02355067804455757,
0.011956792324781418,
0.0303121879696846,
-0.00003435817052377388,
0.031591907143592834,
0.02685503102838993,
0.050272006541490555,
-0.005901994649320841,
-0.03600407764315605,
0.026186520233750343,
-0.009163372218608856,
0.05588749796152115,
-0.02421918883919716,
-0.06963972002267838,
-0.08786141127347946,
-0.0033759791404008865,
-0.039193831384181976,
-0.007587596774101257,
0.0373029001057148,
0.0036481586284935474,
-0.00896281935274601,
0.0385444201529026,
0.02358887903392315,
-0.042249880731105804,
-0.025384308770298958,
0.032566022127866745,
-0.019052555784583092,
-0.023531578481197357,
-0.005147532559931278,
0.06360401958227158,
0.02213725633919239,
-0.08129090815782547,
-0.003213626565411687,
-0.023436076939105988,
-0.025995517149567604,
0.0010511137079447508,
0.03736019879579544,
-0.01792563870549202,
-0.009659980423748493,
-0.06406243145465851,
-0.0031491632107645273,
0.07525520771741867,
-0.04744516313076019,
0.04198247566819191,
0.06883750855922699,
0.05584929883480072,
-0.02339787594974041,
0.0025284031871706247,
0.03594677895307541,
0.0673476830124855,
0.013045509345829487,
-0.018689651042222977,
0.018813801929354668,
-0.015308896079659462,
0.016397614032030106,
0.03802870959043503,
-0.0008237007423304021,
-0.02714153565466404,
-0.01449713297188282,
0.004414558410644531,
0.013790421187877655,
-0.010543369688093662,
-0.06593425571918488,
-0.04637554660439491,
0.022156355902552605,
-0.03478165715932846,
0.003736497601494193,
0.012539351359009743,
-0.0009860533755272627,
0.004994730465114117,
-0.0019912070129066706,
0.008026904426515102,
-0.0411420613527298,
0.0729631707072258,
-0.0030297862831503153,
0.05164723098278046,
-0.05405386909842491,
-0.019635114818811417,
-0.024066386744379997,
0.03153460845351219,
-0.044045306742191315,
0.0411420613527298,
-0.006995487492531538,
-0.0104574179276824,
-0.02452479489147663,
-0.0018384045688435435,
-0.04931699112057686,
-0.06784428656101227,
0.040836457163095474,
0.03502996265888214,
-0.030866095796227455,
-0.026033718138933182,
-0.03619508072733879,
-0.003884524805471301,
0.016426263377070427,
0.037092797458171844,
0.007979153655469418,
-0.017429029569029808,
-0.03214581683278084,
-0.006804484408348799,
-0.062190599739551544,
-0.033692941069602966,
-0.029891980811953545,
0.013265162706375122,
-0.04232627898454666,
-0.03365474194288254,
-0.023627080023288727,
-0.03892642632126808,
-0.03279522806406021,
0.032909829169511795,
-0.03909832984209061,
0.03609957918524742,
-0.03390304371714592,
-0.009301849640905857,
0.00314438808709383,
0.052525844424963,
-0.008012578822672367,
-0.035201866179704666,
-0.034762557595968246,
0.019491862505674362,
0.012300597503781319,
-0.047063156962394714,
0.002834008075296879,
-0.03715009614825249,
-0.005639365408569574,
-0.022118154913187027,
0.034323252737522125,
-0.04121846333146095,
-0.06983072310686111,
0.0044861845672130585,
0.024696696549654007,
0.01666501723229885,
-0.05378646403551102,
-0.07376538217067719,
0.025021402165293694,
-0.024677596986293793,
-0.05386286601424217,
-0.050233807414770126,
0.003925113007426262,
-0.007759499829262495,
0.03466705605387688,
-0.027943748980760574,
0.05753012374043465,
0.011145029217004776,
-0.014707236550748348,
-0.021831650286912918,
0.01616840995848179,
0.028765061870217323,
0.05264044553041458,
-0.011345582082867622,
0.049202390015125275,
0.002939059631898999,
-0.05726271867752075,
0.05015740543603897,
0.008313408121466637,
0.00038200613926164806,
-0.01284495647996664,
-0.03132450208067894,
0.006728082895278931,
-0.01924355886876583,
0.0010338041465729475,
-0.0441599078476429,
-0.02972007729113102,
0.029548175632953644,
-0.028039250522851944,
-0.006293551065027714,
0.05317525565624237,
-0.038257915526628494,
-0.05233484134078026,
0.036653488874435425,
-0.02232825942337513,
-0.020781133323907852,
0.053289856761693954,
0.059363752603530884,
-0.06570505350828171,
-0.010151812806725502,
0.049164190888404846,
0.028784163296222687,
0.03560297191143036,
-0.003292415291070938,
-0.018107090145349503,
0.018813801929354668,
-0.023321473971009254,
-0.01337976474314928,
0.0007855001022107899,
0.005868569482117891,
0.043128494173288345,
0.012224196456372738,
-0.029223470017313957,
-0.002855495782569051,
-0.04343409836292267,
0.03833431750535965,
0.0011925754370167851,
-0.019768817350268364,
-0.007281992118805647,
0.012166895903646946,
0.0676150843501091,
0.006570505443960428,
0.03248962387442589,
-0.05340445786714554,
-0.026148319244384766,
0.019043006002902985,
-0.0034953560680150986,
-0.10054401308298111,
-0.018861552700400352,
-0.08213131874799728,
0.029834680259227753,
0.01449713297188282,
0.01861324906349182,
0.009774582460522652,
-0.039193831384181976,
0.009970360435545444,
-0.015901004895567894,
-0.02213725633919239,
-0.0017894599586725235,
-0.034762557595968246,
0.07884606719017029,
-0.01802114024758339,
-0.012969108298420906,
0.04274648800492287,
-0.016435815021395683,
-0.07976288348436356,
-0.0029342847410589457,
0.010734372772276402,
0.04289928823709488,
0.003982414025813341,
0.008790915831923485,
-0.003550269640982151,
0.011364682577550411,
0.008714514784514904,
-0.023607978597283363,
0.01773463562130928,
0.01808799058198929,
-0.024543894454836845,
-0.04966079816222191,
-0.030999798327684402,
0.019711516797542572,
-0.02870776131749153,
0.028192052617669106,
-0.015643151476979256,
-0.020762033760547638,
-0.0370354950428009,
0.006298326421529055,
-0.04908778890967369,
0.02339787594974041,
-0.014678586274385452,
-0.02572811394929886,
0.025613510981202126,
-0.027103334665298462,
0.05355726182460785,
0.01931041106581688,
0.0883198156952858,
0.005080681759864092,
0.04381610453128815,
0.022633863613009453,
-0.016435815021395683,
0.07239016145467758,
-0.04927879199385643,
0.007840676233172417,
0.023359674960374832,
-0.012825855985283852,
-0.00707666389644146,
0.0030703742522746325,
-0.015643151476979256,
-0.03715009614825249,
0.02097213640809059,
0.012568001635372639,
0.006112098228186369,
-0.06444443762302399,
-0.02786734700202942,
-0.004130441229790449,
-0.024868600070476532,
0.04595533758401871,
0.04095105826854706,
0.05218203738331795,
0.0070145875215530396
]
|
40,636 | pyglove.core.symbolic.dict | _on_change | On change event of Dict. | def _on_change(self, field_updates: typing.Dict[object_utils.KeyPath,
base.FieldUpdate]):
"""On change event of Dict."""
if self._onchange_callback:
self._onchange_callback(field_updates)
| (self, field_updates: Dict[pyglove.core.object_utils.value_location.KeyPath, pyglove.core.symbolic.base.FieldUpdate]) | [
0.017407339066267014,
-0.015224543400108814,
-0.062072113156318665,
0.06530044972896576,
-0.055065155029296875,
-0.03718090429902077,
0.00044481345685198903,
0.04394940659403801,
0.04347249120473862,
-0.03789627179503441,
0.00009486678754910827,
-0.053634416311979294,
0.09677673876285553,
-0.027330806478857994,
0.017636625096201897,
-0.035034794360399246,
-0.09068691730499268,
0.011400064453482628,
0.0400240421295166,
-0.03180645406246185,
-0.017746681347489357,
-0.032558511942625046,
0.06284251064062119,
0.04189500957727432,
-0.016499370336532593,
-0.0021678924094885588,
0.02569829486310482,
0.011647692881524563,
0.07725997269153595,
-0.011730236001312733,
-0.03859329968690872,
-0.025019610300660133,
0.01838868111371994,
0.02729412168264389,
-0.04064769670367241,
-0.0005425463314168155,
0.0020108320750296116,
0.049598995596170425,
-0.06324605643749237,
0.013913031667470932,
0.008648641407489777,
0.034777991473674774,
-0.007112429942935705,
0.023423785343766212,
0.09516257047653198,
0.06166857108473778,
-0.07425174862146378,
0.024029098451137543,
0.020929161459207535,
-0.042225178331136703,
-0.0182235948741436,
-0.03444782271981239,
0.01610499806702137,
0.02900000289082527,
-0.001782693201676011,
0.021112589165568352,
0.023075271397829056,
0.01679285429418087,
0.02476281113922596,
0.00010539958020672202,
0.009749210439622402,
-0.02701897919178009,
-0.02564326673746109,
-0.030155600979924202,
-0.015031944029033184,
-0.0383731871843338,
0.0810752809047699,
0.009364011697471142,
-0.01361954677850008,
-0.023203670978546143,
0.017856739461421967,
0.011702721007168293,
0.008593612350523472,
-0.02999051660299301,
-0.05000253766775131,
0.03072422929108143,
-0.04923213645815849,
0.019223278388381004,
-0.021442759782075882,
0.003643343225121498,
0.0068327016197144985,
-0.05279064550995827,
0.012473119422793388,
-0.011152436956763268,
-0.011730236001312733,
-0.05088299140334129,
-0.009519925341010094,
-0.0030517871491611004,
0.021259332075715065,
0.06566730886697769,
-0.03347565233707428,
0.011748578399419785,
-0.03325553983449936,
0.007589343003928661,
-0.03657558932900429,
-0.0526072159409523,
-0.016444340348243713,
-0.019149906933307648,
-0.01511448621749878,
0.05139658972620964,
0.07725997269153595,
-0.047838084399700165,
0.07230740785598755,
0.014986086636781693,
0.01306926179677248,
-0.05869703367352486,
-0.019718535244464874,
-0.02146110311150551,
0.01629759930074215,
-0.01896647922694683,
0.04438963159918785,
-0.047838084399700165,
0.009171411395072937,
0.026376979425549507,
-0.021369388327002525,
0.07293106615543365,
-0.038079701364040375,
-0.037969645112752914,
-0.011271664872765541,
-0.04582037404179573,
-0.014591716229915619,
0.018122710287570953,
-0.009538267739117146,
-0.0030540800653398037,
0.006117331795394421,
-0.04868185147643089,
0.013216003775596619,
0.05675269663333893,
0.0331454835832119,
0.001676075509749353,
-0.010583808645606041,
-0.029807087033987045,
-0.002335270633921027,
0.011987035162746906,
0.07087667286396027,
0.003209994174540043,
-0.005667932331562042,
0.00551660405471921,
0.010987351648509502,
0.011519293300807476,
-0.004604048561304808,
0.03976723924279213,
0.02525806799530983,
-0.02503795363008976,
0.004526091739535332,
-0.017544910311698914,
-0.01422485988587141,
-0.013848831877112389,
-0.05132322013378143,
-0.017609110102057457,
-0.018838079646229744,
0.025991780683398247,
-0.0010598712833598256,
-0.010464580729603767,
-0.06445667892694473,
0.03582353517413139,
-0.04185832291841507,
-0.000018665255993255414,
0.03268691152334213,
0.06159520149230957,
-0.006181531585752964,
0.010372866876423359,
0.050259336829185486,
-0.04868185147643089,
0.00537903280928731,
0.06735485047101974,
-0.05733966454863548,
-0.06768501549959183,
-0.01924162171781063,
0.05224036052823067,
0.006598830688744783,
0.02729412168264389,
-0.014811829663813114,
0.0014788901899009943,
0.10374701023101807,
0.05689943954348564,
0.005869703367352486,
-0.009175997227430344,
0.02023213356733322,
0.010822265408933163,
-0.012574005872011185,
-0.01737065427005291,
0.010868122801184654,
0.10550791770219803,
-0.0011705014621838927,
0.03309045359492302,
-0.020305505022406578,
0.027991147711873055,
-0.023148642852902412,
-0.00421884935349226,
-0.012491462752223015,
-0.06951930373907089,
-0.00795619934797287,
-0.07146363705396652,
0.01665528304874897,
-0.001553407870233059,
0.03208159655332565,
-0.016536055132746696,
-0.03980392590165138,
0.014114802703261375,
-0.03586021810770035,
-0.06137508526444435,
-0.037034161388874054,
0.03187982738018036,
-0.06871221959590912,
0.06225554272532463,
0.07370146363973618,
0.02536812424659729,
0.04046426713466644,
-0.058036692440509796,
-0.0006374131189659238,
0.013216003775596619,
-0.01825110986828804,
0.0061356741935014725,
0.00013757117267232388,
-0.05711955204606056,
-0.017086340114474297,
0.000026529025490162894,
-0.06163188815116882,
0.020305505022406578,
0.03751107305288315,
0.03154965490102768,
-0.043876033276319504,
-0.05935737490653992,
0.05447818711400032,
0.002611559582874179,
-0.009657496586441994,
0.025826694443821907,
0.008465212769806385,
-0.024689439684152603,
-0.02995382994413376,
0.027532577514648438,
-0.048388369381427765,
0.009776724502444267,
0.04075775295495987,
0.002485452452674508,
0.046737514436244965,
-0.04086780920624733,
-0.01505945809185505,
-0.0254781823605299,
0.09002657979726791,
0.03859329968690872,
-0.026395322754979134,
0.008763283491134644,
-0.020213792100548744,
-0.03712587431073189,
0.02877989038825035,
0.04648071527481079,
-0.05117647722363472,
0.029862117022275925,
0.03219165652990341,
-0.027991147711873055,
0.018205251544713974,
0.08188236504793167,
-0.01433491613715887,
0.0012553369160741568,
-0.0034920149482786655,
0.060311201959848404,
0.06005440279841423,
-0.03499810770153999,
-0.008469798602163792,
0.005690861027687788,
-0.0800480842590332,
0.053194187581539154,
0.010345352813601494,
-0.008685327135026455,
0.08393675833940506,
-0.003925363998860121,
0.00831388495862484,
0.03398925065994263,
0.14373436570167542,
-0.01786590926349163,
-0.016866225749254227,
0.029843773692846298,
-0.021938016638159752,
-0.024799497798085213,
0.018838079646229744,
-0.02182796038687229,
0.0005832444876432419,
0.014986086636781693,
0.04692094400525093,
-0.0369974747300148,
-0.0020463713444769382,
0.012253005988895893,
-0.005287318956106901,
-0.040721066296100616,
0.022469958290457726,
0.037254273891448975,
-0.027440864592790604,
-0.02034219168126583,
0.06339279562234879,
-0.017462367191910744,
-0.010327009484171867,
0.05411132797598839,
-0.006475016474723816,
-0.023460472002625465,
0.03457622230052948,
0.02294687181711197,
0.021626189351081848,
0.012005377560853958,
0.01924162171781063,
0.009749210439622402,
-0.026450350880622864,
-0.03237508237361908,
0.024946238845586777,
-0.0029440231155604124,
0.0197368785738945,
-0.04666414111852646,
-0.003143501468002796,
0.019480077549815178,
-0.04802151024341583,
0.03677736222743988,
-0.05554207041859627,
0.028468061238527298,
-0.02877989038825035,
0.006438331212848425,
0.00783238559961319,
0.025900065898895264,
0.0005264963256195188,
0.06295257061719894,
-0.03800633177161217,
-0.005328590050339699,
-0.06871221959590912,
0.022580016404390335,
-0.01117077935487032,
-0.056385837495326996,
0.05304744467139244,
0.016774512827396393,
0.06728147715330124,
-0.033493995666503906,
0.013280204497277737,
-0.07535231858491898,
0.07579254359006882,
-0.022653385996818542,
-0.020140420645475388,
-0.001008282066322863,
-0.0306692011654377,
-0.007575585972517729,
-0.025881724432110786,
-0.013518661260604858,
0.003464500652626157,
-0.06618090718984604,
0.011803606525063515,
-0.007121601141989231,
0.0009910856606438756,
-0.0056083183735609055,
0.022414930164813995,
0.03032068721950054,
0.04064769670367241,
0.009157654829323292,
-0.024249212816357613,
-0.033273883163928986,
-0.012152120471000671,
0.0167103111743927,
0.046737514436244965,
-0.06731816381216049,
0.03899684175848961,
-0.10103227198123932,
-0.019865278154611588,
-0.0069014872424304485,
0.0378229022026062,
0.02415749803185463,
0.02751423418521881,
-0.04064769670367241,
0.04963567852973938,
0.011510121636092663,
0.036538902670145035,
-0.04306894913315773,
0.024579383432865143,
-0.019645163789391518,
0.012509805150330067,
-0.005750474985688925,
0.03611702099442482,
0.0257533248513937,
0.0011143265292048454,
-0.04394940659403801,
0.015985770151019096,
0.04622391611337662,
-0.03965718299150467,
0.01902150735259056,
0.017379825934767723,
-0.0029256802517920732,
-0.033328909426927567,
0.039510440081357956,
0.005617489572614431,
-0.00038061357918195426,
-0.0029256802517920732,
-0.0045513128861784935,
0.0010764944599941373,
-0.0006242292001843452,
0.0035791434347629547,
0.04571031406521797,
-0.03545667603611946,
-0.014252373948693275,
-0.044866546988487244,
-0.006511702202260494,
0.014949400909245014,
-0.017379825934767723,
0.02415749803185463,
-0.018021823838353157,
-0.023075271397829056,
-0.04908539354801178,
-0.061852000653743744,
0.01199620682746172,
0.019168250262737274,
0.005741303786635399,
-0.03540164977312088,
0.07131689786911011,
-0.003042615717276931,
0.011179951019585133,
0.012317205779254436,
0.030760914087295532,
-0.009960153140127659,
-0.04196837916970253,
-0.021130932494997978,
-0.021406074985861778,
-0.059687547385692596,
-0.06750158965587616,
-0.011932007037103176,
0.025129668414592743,
-0.012858319096267223,
0.03804301470518112,
-0.010629666037857533,
0.03677736222743988,
0.01957179233431816,
-0.057706523686647415,
0.003317758208140731,
0.03193485364317894,
0.057816579937934875,
0.046517398208379745,
0.045747000724077225,
0.007515972014516592,
-0.009749210439622402,
-0.02100253291428089,
0.013573689386248589,
0.03969386965036392,
0.012445605359971523,
0.018764708191156387,
-0.00011844018445117399,
-0.026340294629335403,
-0.03800633177161217,
-0.019149906933307648,
0.025349782779812813,
-0.04831499606370926,
0.007153701037168503,
-0.019314993172883987,
-0.019883619621396065,
0.00599810341373086,
-0.014527516439557076,
-0.03386085107922554,
0.005067205056548119,
0.029421888291835785,
-0.018351994454860687,
0.01709551177918911,
0.02072739042341709,
-0.03116445615887642,
-0.050919678062200546,
-0.034484509378671646,
0.03543833643198013,
-0.0184987373650074,
-0.08034156262874603,
-0.01298671867698431,
-0.014756801538169384,
-0.03551170602440834,
-0.004230313468724489,
0.02580835297703743,
0.010565466247498989,
0.027660977095365524,
-0.03334725275635719,
0.01516034360975027,
0.021662874147295952,
-0.008295541629195213,
-0.021204303950071335,
-0.0016141684027388692,
-0.005814674776047468,
-0.002866066060960293,
0.017554081976413727,
-0.010822265408933163,
-0.04963567852973938,
-0.010638837702572346,
0.015701455995440483,
0.06082480400800705,
0.017691653221845627,
-0.04152815043926239,
0.0400240421295166,
-0.053304243832826614,
-0.03292536735534668,
-0.009657496586441994,
-0.017242254689335823,
0.013775460422039032,
-0.030632514506578445,
-0.03553004935383797,
0.048608481884002686,
-0.022029731422662735,
-0.05003922060132027,
-0.05943074822425842,
0.041711580008268356,
0.0254781823605299,
0.01728811115026474,
-0.021662874147295952,
-0.007474700454622507,
0.05176344886422157,
0.013243518769741058,
0.00923561118543148,
-0.053634416311979294,
-0.04549020156264305,
-0.006401645485311747,
0.05697280913591385,
-0.027862748131155968,
-0.0030678370967507362,
-0.014903543516993523,
-0.05532195419073105,
0.09296143054962158,
-0.013858002610504627,
0.02795446291565895,
-0.03954712674021721,
-0.026652121916413307,
0.034117650240659714,
-0.015178686007857323,
0.009130140766501427,
0.029807087033987045,
-0.021589502692222595,
0.07792031019926071,
-0.003496600780636072,
-0.005855946335941553,
0.008456041105091572,
-0.05403795838356018,
-0.022745100781321526,
-0.009666668251156807,
-0.036703988909721375,
0.005800917744636536,
-0.015839027240872383,
0.04952562227845192,
-0.021424418315291405,
-0.033053766936063766,
0.03822644427418709,
0.037969645112752914,
-0.008419356308877468,
-0.1600961685180664,
0.031457941979169846,
0.018434537574648857,
0.04945225268602371,
0.009299811907112598,
0.011519293300807476,
0.016691969707608223,
-0.0361720472574234,
0.02877989038825035,
-0.04831499606370926,
0.04560025781393051,
-0.007167458068579435,
-0.05777989327907562,
0.0383731871843338,
0.04394940659403801,
0.005502847023308277,
-0.02459772676229477,
-0.027532577514648438,
-0.02234155870974064,
-0.0009452286176383495,
-0.01372960302978754,
-0.017489882186055183,
0.004477941896766424,
0.0020028071012347937,
0.006851044483482838,
0.07465529441833496,
-0.028908289968967438,
0.05521189793944359,
0.026835551485419273,
0.0674649029970169,
0.008625712245702744,
0.001254190574400127,
0.028816575184464455,
0.04152815043926239,
0.005810089409351349,
-0.02311195805668831,
0.010703037492930889,
-0.017544910311698914,
-0.04189500957727432,
-0.04901202395558357,
-0.02927514538168907,
-0.09670336544513702,
-0.05568881332874298,
0.02839468978345394,
-0.00422572810202837,
0.03624542057514191,
-0.0003060958697460592,
0.009877610020339489,
0.018507909029722214,
0.02294687181711197,
-0.0002416093775536865,
0.056275781244039536,
-0.06137508526444435,
-0.06911575794219971,
-0.06478685140609741,
0.020415563136339188,
-0.012592348270118237,
0.027807720005512238,
-0.06339279562234879,
0.011886149644851685,
-0.06232891231775284,
-0.023643899708986282,
-0.035988617688417435,
0.0032283368054777384,
-0.008125870488584042,
-0.04919545352458954,
-0.024084126576781273,
-0.01588488556444645,
0.03428273648023605,
0.037969645112752914,
0.04178495332598686,
-0.01544465683400631,
-0.02228653058409691,
0.014105631038546562,
0.026597093790769577,
-0.0027904019225388765,
0.05411132797598839,
0.02459772676229477,
0.011757750064134598,
0.01855376549065113,
0.036153703927993774,
0.014738458208739758,
-0.025331439450383186,
0.03164137154817581,
-0.018342822790145874,
0.02734914980828762,
-0.035988617688417435,
-0.06933587044477463,
0.024964582175016403,
-0.018535422161221504,
-0.03402593731880188,
-0.016279255971312523,
-0.022635044530034065,
0.04648071527481079,
0.02861480414867401,
-0.035383306443691254,
0.09406200051307678,
-0.01006103865802288,
0.01196869183331728,
-0.04791145399212837,
-0.014399115927517414,
-0.03472296521067619,
0.02580835297703743,
0.030412402004003525,
0.08100190758705139,
-0.019425049424171448,
0.04703100025653839,
0.060017719864845276,
-0.03499810770153999,
0.0017505931900814176,
0.03464959189295769,
-0.04571031406521797,
-0.009446553885936737,
-0.000855234160553664,
-0.08430361747741699,
-0.00017740949988365173,
0.03954712674021721,
0.009804239496588707,
-0.027165722101926804,
-0.08019482344388962,
-0.0052827331237494946,
0.0085615124553442,
-0.02962365932762623,
0.004565070383250713,
0.002900458872318268,
-0.01816856674849987,
0.09127388894557953,
-0.013005062006413937,
0.003306293860077858,
0.029733717441558838,
0.03688741847872734,
0.009538267739117146,
0.011372550390660763,
-0.023405442014336586,
0.01130835060030222,
0.02061733417212963,
0.019480077549815178,
-0.03241176903247833,
0.04350917786359787,
0.05257053300738335,
0.05323087424039841,
0.026321951299905777,
0.019480077549815178,
0.009666668251156807,
-0.02916508913040161,
0.019773563370108604,
0.030981028452515602,
0.0009538268204778433,
0.01033618114888668,
0.013968059793114662,
0.046187229454517365,
0.01474762987345457,
0.019755220040678978,
-0.03749272972345352,
-0.029458574950695038,
-0.04420620575547218,
-0.017462367191910744,
-0.07755345851182938,
-0.05436812713742256,
-0.03866667300462723,
-0.02553321048617363,
0.04857179522514343,
0.047067683190107346,
0.009157654829323292,
-0.008052499033510685,
-0.004134013783186674,
-0.004943390842527151,
-0.030577486380934715,
-0.03545667603611946,
-0.048278309404850006,
0.02949525974690914,
-0.008607369847595692,
-0.06438331305980682,
-0.020654018968343735,
-0.03969386965036392,
-0.07850728183984756,
0.006355788093060255,
0.024010755121707916,
-0.015600571408867836,
0.0041638207621872425,
0.06640101969242096,
0.014775143936276436,
-0.03209993988275528,
0.01880139485001564,
-0.01638014055788517,
-0.02195635996758938,
0.022580016404390335,
-0.016013285145163536,
0.029697030782699585,
-0.02569829486310482,
-0.04361923411488533,
0.01676534116268158,
0.052020248025655746,
-0.045747000724077225,
-0.03054080158472061,
-0.07432512193918228,
-0.0017746681114658713,
-0.030339030548930168,
-0.01841619424521923,
-0.00031927975942380726,
-0.017709996551275253,
-0.021589502692222595,
-0.021626189351081848,
-0.059137262403964996,
0.055945612490177155,
0.024450983852148056,
0.006112745963037014,
0.007194972597062588,
-0.004386227577924728,
0.01745319552719593,
0.013610375113785267,
0.03729096055030823,
0.009359425865113735,
0.06441999226808548,
0.02443264052271843,
-0.009419039823114872,
0.0006815505330450833,
0.008602784015238285,
-0.0553586408495903,
0.007997470907866955,
0.0026436594780534506,
0.05033270642161369,
-0.026395322754979134,
0.078947514295578,
0.00741508649662137,
-0.030137259513139725,
0.03800633177161217,
-0.010235295630991459,
-0.014243202283978462,
0.025991780683398247
]
|
40,639 | pyglove.core.symbolic.dict | _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."""
if not isinstance(key, str):
raise KeyError(self._error_message(
f'Key must be string type. Encountered {key!r}.'))
old_value = self.get(key, pg_typing.MISSING_VALUE)
if old_value is value:
return None
field = None
if self._value_spec and self._value_spec.schema:
field = self._value_spec.schema.get_field(key)
if not field:
if (self.sym_parent is not None
and self.sym_parent.sym_path == self.sym_path):
container_cls = self.sym_parent.__class__
else:
container_cls = self.__class__
raise KeyError(
self._error_message(
f'Key \'{key}\' is not allowed for {container_cls}.'))
# Detach old value from object tree.
if isinstance(old_value, base.TopologyAware):
old_value.sym_setparent(None)
old_value.sym_setpath(object_utils.KeyPath())
if (pg_typing.MISSING_VALUE == value and
(not field or isinstance(field.key, pg_typing.NonConstKey))):
if key in self:
# Using pg.MISSING_VALUE for deleting keys.
super().__delitem__(key)
new_value = pg_typing.MISSING_VALUE
else:
# This condition could trigger when copying a partial Dict to a Dict
# without schema.
return None
else:
new_value = self._formalized_value(key, field, value)
super().__setitem__(key, new_value)
# NOTE(daiyip): If current dict is the field dict of a symbolic object,
# Use parent object as update target.
target = self
if (self.sym_parent is not None
and self.sym_parent.sym_path == self.sym_path):
target = self.sym_parent
return base.FieldUpdate(
self.sym_path + key, target, field, old_value, new_value)
| (self, key: str, value: Any) -> Optional[pyglove.core.symbolic.base.FieldUpdate] | [
0.07610248774290085,
-0.0360708087682724,
-0.06160494312644005,
0.04906860738992691,
-0.03553244099020958,
-0.03618617355823517,
0.025380313396453857,
0.01844879612326622,
0.08106318861246109,
-0.05902845785021782,
0.002523610834032297,
0.02336142584681511,
0.055259864777326584,
0.014324495568871498,
-0.012392130680382252,
0.04430018365383148,
0.014055310748517513,
0.052683379501104355,
0.036570724099874496,
-0.01941017247736454,
0.0366668626666069,
0.006229713559150696,
0.034071147441864014,
0.029321953654289246,
-0.022380823269486427,
-0.009118647314608097,
0.029475774616003036,
0.030917836353182793,
0.05210655555129051,
-0.014584067277610302,
0.03045637719333172,
0.003001895034685731,
0.030840927734971046,
0.017583558335900307,
0.031071657314896584,
-0.013824580237269402,
-0.02499576471745968,
0.04676130786538124,
-0.06279704719781876,
-0.02870667353272438,
-0.013180458918213844,
0.011017363518476486,
0.002123438287526369,
-0.05210655555129051,
0.06852684915065765,
0.06687328219413757,
0.008041906170547009,
0.07287226617336273,
0.012843976728618145,
0.01774699240922928,
-0.0028384611941874027,
0.03541707620024681,
0.011680712923407555,
0.0057730600237846375,
-0.047222767025232315,
0.024534303694963455,
-0.009027316235005856,
0.02034270577132702,
0.01216140016913414,
-0.009065771475434303,
-0.006623877212405205,
0.02882203832268715,
-0.06437370926141739,
-0.0637199729681015,
-0.009902168065309525,
-0.019631288945674896,
0.010421310551464558,
-0.02568795345723629,
-0.008782165125012398,
0.021284854039549828,
-0.04726122319698334,
-0.048607148230075836,
0.00323022180236876,
0.024668896570801735,
0.017554717138409615,
-0.015901152044534683,
-0.013516940176486969,
0.010690496303141117,
0.04233897849917412,
-0.06537353992462158,
0.03441724553704262,
0.006373920012265444,
-0.019506309181451797,
-0.007844824343919754,
-0.03234067186713219,
0.08060172200202942,
0.04041622579097748,
0.0330328643321991,
0.05602896586060524,
-0.010046374052762985,
-0.033667370676994324,
-0.04206979274749756,
-0.014968616887927055,
0.01127693522721529,
0.031206250190734863,
0.033705826848745346,
0.017689310014247894,
-0.10659731924533844,
-0.07579484581947327,
0.0187083687633276,
0.04410791024565697,
0.00128223467618227,
0.06891139596700668,
-0.0004001725756097585,
0.029610365629196167,
-0.03855115920305252,
0.03501329571008682,
-0.020400388166308403,
-0.005162586458027363,
-0.06091275438666344,
-0.008224567398428917,
0.009166715666651726,
-0.04645366594195366,
0.033552005887031555,
-0.03284058719873428,
0.059374552220106125,
-0.07740996032953262,
-0.08198610693216324,
0.03280213475227356,
-0.012661315500736237,
0.00016839093586895615,
0.006412374787032604,
-0.025111129507422447,
-0.0010755389230325818,
0.06610418111085892,
-0.018064245581626892,
-0.009594528004527092,
0.03987785801291466,
0.042569708079099655,
0.006960358936339617,
-0.05668270215392113,
0.006152803543955088,
-0.01333427894860506,
0.012324834242463112,
0.007205509580671787,
0.0349748432636261,
0.013853421434760094,
0.023669065907597542,
-0.02036193385720253,
0.00008201735181501135,
0.0067104012705385685,
-0.007018041331321001,
0.04453091323375702,
0.006965165957808495,
0.04426173120737076,
-0.018554547801613808,
-0.02991800755262375,
0.05083753913640976,
-0.021400218829512596,
-0.01393033191561699,
-0.04249279946088791,
0.014910934492945671,
0.02034270577132702,
0.0426466204226017,
-0.011430755257606506,
0.04245434328913689,
-0.02418820932507515,
-0.04756886139512062,
0.012747840024530888,
0.009407059289515018,
0.013093934394419193,
-0.042300522327423096,
0.030129509046673775,
-0.014391792006790638,
-0.019189056009054184,
0.02622632496058941,
0.014449474401772022,
-0.04879942163825035,
0.022169319912791252,
0.054029304534196854,
0.023957477882504463,
0.012690156698226929,
0.0002167601342080161,
0.010305945761501789,
0.006071086507290602,
0.026207096874713898,
-0.00921959150582552,
-0.03662840649485588,
-0.004198807757347822,
-0.01250749547034502,
0.0018410341581329703,
0.019169827923178673,
0.013603463768959045,
0.0019612060859799385,
0.03747441992163658,
0.0319368951022625,
-0.023553701117634773,
0.021246399730443954,
0.035609349608421326,
0.0861392468214035,
-0.029071995988488197,
-0.022361595183610916,
0.03443647176027298,
-0.023842113092541695,
-0.03733982518315315,
-0.01695866510272026,
0.027033880352973938,
-0.037782058119773865,
-0.032879043370485306,
0.050760626792907715,
-0.022034727036952972,
-0.04799186810851097,
0.06798847764730453,
0.05072217434644699,
-0.07952498644590378,
-0.013372733257710934,
0.04576147720217705,
0.01162303052842617,
-0.017179781571030617,
0.010603971779346466,
-0.040531594306230545,
0.007402591407299042,
-0.03022564761340618,
-0.02363061159849167,
0.026053277775645256,
-0.067757748067379,
-0.02282305434346199,
-0.009753154590725899,
-0.028264440596103668,
0.030417922884225845,
0.030167965218424797,
0.004302155692130327,
0.01980433613061905,
-0.025630271062254906,
0.051606640219688416,
-0.010248263366520405,
-0.023707520216703415,
-0.01019058097153902,
0.00331674562767148,
0.011325003579258919,
0.009315729141235352,
0.0037133130244910717,
-0.022592324763536453,
-0.01483402494341135,
0.026610875502228737,
-0.08621615916490555,
0.005619239993393421,
-0.08783126622438431,
0.01476672850549221,
0.018093086779117584,
-0.011988352984189987,
-0.03320591151714325,
0.002586100250482559,
0.06564272195100784,
-0.037935879081487656,
0.01915059983730316,
0.0011578566627576947,
0.03289826959371567,
0.005696150008589029,
-0.001550218090415001,
0.04726122319698334,
0.0002574683749116957,
-0.0239382516592741,
0.03270599618554115,
0.010680882260203362,
-0.025341859087347984,
-0.05483686178922653,
-0.01627608761191368,
0.03564780578017235,
0.007215123623609543,
-0.07479501515626907,
-0.01420913077890873,
-0.03214839845895767,
-0.011286548338830471,
-0.023322969675064087,
-0.03501329571008682,
0.04333880916237831,
0.05668270215392113,
-0.005537522956728935,
0.05033762380480766,
-0.014314881525933743,
-0.04183906316757202,
0.02568795345723629,
-0.0006519327871501446,
-0.0023109065368771553,
0.04849178344011307,
0.013488098978996277,
0.013949559070169926,
0.014334109611809254,
-0.028456715866923332,
0.04756886139512062,
-0.045415379106998444,
0.03949330747127533,
0.016564499586820602,
-0.02870667353272438,
-0.014901320450007915,
-0.017612399533391,
0.020861849188804626,
-0.020977213978767395,
0.01624724641442299,
0.014757114462554455,
0.008633152581751347,
-0.03720523416996002,
0.05968219414353371,
-0.031629256904125214,
0.029879551380872726,
-0.11275012046098709,
-0.045723021030426025,
0.047222767025232315,
0.002333739073947072,
0.013228527270257473,
0.06529662758111954,
-0.059951379895210266,
0.03086015395820141,
0.09036929905414581,
-0.008681220933794975,
0.036166947335004807,
0.0027423237916082144,
-0.014112993143498898,
0.04933779314160347,
-0.027918346226215363,
0.013353506103157997,
-0.0257071815431118,
0.04110841825604439,
0.08498559892177582,
0.004814087878912687,
-0.010248263366520405,
0.007469887845218182,
0.016651025041937828,
0.05687497556209564,
-0.029283499345183372,
-0.012132558971643448,
-0.09529154002666473,
0.029571911320090294,
-0.01721823588013649,
-0.062104858458042145,
0.04222361370921135,
0.022726917639374733,
0.005225075874477625,
0.06264322996139526,
0.006498898845165968,
0.004148335661739111,
0.012863204814493656,
-0.010690496303141117,
-0.05429849028587341,
-0.0026846411637961864,
-0.00771984551101923,
-0.04660748690366745,
0.05345248058438301,
0.004458379000425339,
0.022207774221897125,
0.021784769371151924,
0.020458070561289787,
-0.04003167897462845,
0.013440029695630074,
-0.04864560067653656,
0.051991190761327744,
-0.00841203611344099,
0.040108587592840195,
-0.007594866678118706,
0.016881754621863365,
0.025207266211509705,
-0.022188547998666763,
-0.02011197619140148,
0.029687276110053062,
-0.04414636641740799,
-0.02051575481891632,
-0.045569200068712234,
-0.03295595198869705,
-0.05656733736395836,
0.12090259045362473,
-0.006849800702184439,
0.0006861817673780024,
0.010825088247656822,
-0.030283330008387566,
-0.014930161647498608,
-0.03284058719873428,
-0.06656564027070999,
0.009214784950017929,
-0.026976197957992554,
0.004285331349819899,
-0.07960189133882523,
0.013584236614406109,
0.010478992946445942,
0.034071147441864014,
0.04879942163825035,
-0.0014312478015199304,
0.07560256868600845,
-0.062258679419755936,
-0.012113331817090511,
0.05929764360189438,
-0.025918684899806976,
-0.021111806854605675,
0.04233897849917412,
0.027091562747955322,
0.01012328453361988,
0.02978341467678547,
0.005191428121179342,
0.03268676996231079,
-0.03460951894521713,
-0.023342197760939598,
0.021515583619475365,
-0.005998983513563871,
-0.009277273900806904,
-0.01372844260185957,
0.00638834061101079,
-0.03184075653553009,
-0.037628237158060074,
-0.012949728406965733,
-0.018756436184048653,
0.0404546819627285,
-0.0281490758061409,
0.013132389634847641,
0.010421310551464558,
0.0347248837351799,
-0.012199855409562588,
-0.008104396052658558,
0.02295764721930027,
-0.032532949000597,
0.02201549895107746,
0.04480009898543358,
-0.05560595914721489,
0.016977891325950623,
-0.024245891720056534,
0.017708538100123405,
-0.042838893830776215,
0.01271899789571762,
-0.0404546819627285,
0.01653565838932991,
0.01693943701684475,
0.010767405852675438,
0.004011339507997036,
-0.04472319036722183,
0.014401405118405819,
-0.03047560527920723,
-0.02474580705165863,
0.007960189133882523,
-0.04341571778059006,
0.009657016955316067,
0.03926257789134979,
0.024899626150727272,
-0.03155234456062317,
0.0191313736140728,
0.03280213475227356,
-0.04356953874230385,
-0.017112484201788902,
0.03222530707716942,
-0.01747780665755272,
-0.010296331718564034,
0.04826105013489723,
-0.05437539890408516,
-0.04049313813447952,
-0.012151787057518959,
0.03322513774037361,
0.027668388560414314,
0.02868744544684887,
-0.022303912788629532,
0.06487362086772919,
0.04306962341070175,
0.007878472097218037,
0.04895324259996414,
0.027437657117843628,
0.031110111624002457,
0.0180354043841362,
-0.05449076369404793,
-0.05806708335876465,
-0.07237234711647034,
-0.03132161498069763,
0.025784092023968697,
0.011728781275451183,
-0.005926880054175854,
0.04718431085348129,
-0.0336289145052433,
-0.04164678975939751,
-0.013853421434760094,
0.0637199729681015,
0.03487870469689369,
0.009325342252850533,
-0.0035114241763949394,
0.003758978331461549,
-0.031648483127355576,
-0.0664118230342865,
0.03701295703649521,
0.017535489052534103,
-0.045684564858675,
-0.019169827923178673,
0.04726122319698334,
-0.0076477425172924995,
-0.027149245142936707,
-0.03689759224653244,
0.01763162761926651,
0.011363458819687366,
-0.007109371945261955,
0.015901152044534683,
0.0075996736995875835,
-0.04126223921775818,
-0.015487760305404663,
0.01736244186758995,
0.02597636729478836,
0.04003167897462845,
-0.011786463670432568,
-0.023842113092541695,
-0.0036436133086681366,
0.016776002943515778,
0.004383872263133526,
-0.04629984498023987,
-0.06245095655322075,
-0.013901489786803722,
0.030917836353182793,
-0.032532949000597,
0.0018073860555887222,
-0.0006759671960026026,
-0.018093086779117584,
0.010315559804439545,
0.021015670150518417,
-0.046261392533779144,
-0.02676469460129738,
0.010200194083154202,
0.004218035377562046,
-0.036551497876644135,
0.013968786224722862,
-0.003905588062480092,
0.1038285568356514,
-0.029418092221021652,
0.006715208292007446,
0.02980264090001583,
-0.03485947847366333,
0.017679696902632713,
-0.007325681392103434,
-0.04987616464495659,
0.016295315697789192,
-0.05110672488808632,
0.03297518193721771,
-0.05206809937953949,
-0.011940283700823784,
-0.04595375061035156,
-0.021823225542902946,
-0.030648652464151382,
0.033417414873838425,
-0.051337454468011856,
-0.03866652399301529,
0.024841943755745888,
0.011940283700823784,
0.012151787057518959,
0.038339655846357346,
0.05352938920259476,
0.0358208529651165,
0.021554039791226387,
-0.046799760311841965,
-0.0028408647049218416,
0.028668219223618507,
0.08629307150840759,
0.04233897849917412,
-0.053798574954271317,
0.012411357834935188,
-0.025188038125634193,
-0.032609857618808746,
0.01888141594827175,
-0.014382177963852882,
-0.030552513897418976,
-0.08606233447790146,
0.02322683297097683,
0.06110502779483795,
0.012959342449903488,
-0.010296331718564034,
-0.008311091922223568,
0.01927557960152626,
0.029841097071766853,
0.01789119839668274,
0.01707402989268303,
-0.015776172280311584,
-0.041069962084293365,
0.03905107453465462,
-0.026457054540514946,
0.02789911814033985,
-0.020150430500507355,
-0.048722513020038605,
0.004198807757347822,
0.07860206067562103,
0.03305209055542946,
-0.01641068048775196,
-0.0058355494402348995,
0.017573945224285126,
-0.006369112990796566,
-0.022457731887698174,
-0.033302050083875656,
-0.022938420996069908,
0.013651533052325249,
-0.06214331462979317,
-0.08721598982810974,
-0.0040786354802548885,
0.018814118579030037,
0.030956292524933815,
0.0060614729300141335,
0.004927049390971661,
-0.023592155426740646,
0.017968108877539635,
0.053798574954271317,
-0.04333880916237831,
-0.013757283799350262,
-0.03184075653553009,
-0.01641068048775196,
0.016612568870186806,
-0.020746484398841858,
0.04895324259996414,
0.02038116194307804,
-0.057874806225299835,
-0.03212917223572731,
0.018141156062483788,
0.01735282875597477,
0.0005990571225993335,
0.01993892900645733,
0.011796077713370323,
-0.0049126287922263145,
0.004525675438344479,
0.00471554696559906,
0.00509529048576951,
-0.007215123623609543,
0.01134423166513443,
-0.07914043217897415,
0.005984562914818525,
0.016766389831900597,
0.00628739595413208,
0.013545781373977661,
-0.008613924495875835,
-0.045876841992139816,
-0.0075996736995875835,
0.017131712287664413,
-0.012728611938655376,
-0.05741334706544876,
-0.05833626911044121,
0.018121927976608276,
-0.0589900016784668,
-0.006595036014914513,
-0.03687836602330208,
-0.0237652026116848,
0.019573606550693512,
0.016285700723528862,
-0.04068541154265404,
-0.04649212211370468,
0.0028432682156562805,
-0.0017701326869428158,
-0.004285331349819899,
0.05998983234167099,
0.016458749771118164,
0.008700449019670486,
-0.01572810299694538,
0.008013064973056316,
0.037166777998209,
0.0932149738073349,
0.05614433065056801,
-0.02776452526450157,
-0.0004890998243354261,
0.062258679419755936,
-0.06487362086772919,
0.017458580434322357,
0.011113501153886318,
-0.06206640601158142,
-0.032052259892225266,
0.027783753350377083,
-0.06464289128780365,
0.002963440027087927,
-0.03062942437827587,
-0.07287226617336273,
0.06768083572387695,
-0.006099927704781294,
0.010680882260203362,
-0.08606233447790146,
-0.04918397217988968,
-0.01831420324742794,
-0.0190063938498497,
-0.02803371101617813,
-0.03893570974469185,
0.028322122991085052,
0.043531082570552826,
0.0018386307638138533,
0.003960867412388325,
-0.02076571248471737,
0.06295087188482285,
0.020265797153115273,
0.03307131677865982,
-0.06318160146474838,
-0.0852932408452034,
0.043800268322229385,
-0.003686875104904175,
-0.060605112463235855,
0.0483764186501503,
0.021419446915388107,
0.009594528004527092,
0.012171014212071896,
0.00443674810230732,
-0.00434301421046257,
-0.042838893830776215,
0.04614602401852608,
-0.02403438836336136,
0.020265797153115273,
0.02418820932507515,
-0.002053738571703434,
0.021515583619475365,
-0.10613586008548737,
0.019073691219091415,
-0.03782051429152489,
-0.01736244186758995,
-0.020188886672258377,
-0.05625969544053078,
-0.07614094018936157,
-0.030014144256711006,
0.0228422824293375,
0.015689648687839508,
0.07967880368232727,
0.013103548437356949,
0.008335125632584095,
-0.003223011502996087,
-0.04430018365383148,
0.023880567401647568,
-0.002393824979662895,
-0.046799760311841965,
0.010825088247656822,
0.026995424181222916,
-0.005422158166766167,
0.010892384685575962,
0.04960697889328003,
-0.03866652399301529,
-0.10759714990854263,
0.008157270960509777,
-0.008094782009720802,
-0.02297687530517578,
-0.03678222745656967,
-0.009118647314608097,
-0.007623707875609398,
-0.012267151847481728,
0.007474694866687059,
0.007436239626258612,
-0.04537692666053772,
0.030167965218424797,
-0.024418938905000687,
-0.01572810299694538,
-0.06837302446365356,
-0.012594019062817097,
0.07175707072019577,
0.083601213991642,
0.05618278682231903,
-0.008109202608466148,
-0.02432280033826828,
0.09198441356420517,
-0.04603065922856331,
-0.02364983782172203,
-0.0010941654909402132,
0.006417181808501482,
0.07156479358673096,
0.01372844260185957,
0.04933779314160347,
-0.009104226715862751,
-0.015170506201684475,
-0.0012858398258686066,
0.019996611401438713,
-0.03484024852514267,
0.03841656818985939,
0.017179781571030617,
0.019352490082383156,
0.011469210498034954,
0.024245891720056534,
-0.025803320109844208,
0.07952498644590378,
0.07983262091875076,
-0.039301030337810516,
-0.023399880155920982,
0.07637166976928711,
0.027783753350377083,
0.0035835274029523134,
-0.05456767603754997,
0.0075035360641777515,
0.009940623305737972,
0.003278290620073676,
-0.047068946063518524,
0.016487590968608856,
-0.03457106277346611,
0.03487870469689369
]
|
40,641 | pyglove.core.symbolic.dict | _sym_clone | Override Symbolic._sym_clone. | def _sym_clone(self, deep: bool, memo=None) -> 'Dict':
"""Override Symbolic._sym_clone."""
source = dict()
for k, v in self.sym_items():
if deep or isinstance(v, base.Symbolic):
v = base.clone(v, deep, memo)
source[k] = v
return Dict(
source,
value_spec=self._value_spec,
allow_partial=self._allow_partial,
accessor_writable=self._accessor_writable,
sealed=self._sealed,
onchange_callback=self._onchange_callback,
# NOTE(daiyip): parent and root_path are reset to empty
# for copy object.
root_path=None,
pass_through=True)
| (self, deep: bool, memo=None) -> pyglove.core.symbolic.dict.Dict | [
0.033190131187438965,
-0.06669703125953674,
0.04272833466529846,
-0.0006984270294196904,
-0.0782766193151474,
0.0016190308379009366,
-0.006040568929165602,
0.03952547162771225,
0.037413690239191055,
-0.022314468398690224,
-0.005706204101443291,
0.013137027621269226,
0.0008606601040810347,
0.03653378412127495,
-0.056138135492801666,
-0.0034052443224936724,
0.03141271695494652,
0.03479156643152237,
-0.09319986402988434,
-0.0037836048286408186,
0.0075276135466992855,
0.0125562883913517,
-0.0021392765920609236,
-0.027382738888263702,
-0.03517872467637062,
0.01208993699401617,
0.007685997057706118,
0.018266892060637474,
0.004304950125515461,
-0.0017279194435104728,
-0.04174283891916275,
0.005758998449891806,
0.01351538859307766,
0.04269314184784889,
0.0524425208568573,
-0.04343226179480553,
-0.034175630658864975,
0.07187089323997498,
-0.05381517857313156,
-0.03077918477356434,
-0.002338355639949441,
0.00027235905872657895,
-0.03512592986226082,
-0.006889680400490761,
0.04874690622091293,
0.01858365908265114,
-0.032556600868701935,
0.005750199314206839,
0.07236363738775253,
-0.0865829586982727,
-0.015459985472261906,
0.013480192050337791,
-0.0012758667580783367,
-0.009335825219750404,
-0.0052574509754776955,
-0.019076406955718994,
0.03324292600154877,
0.015477582812309265,
-0.03137752041220665,
-0.00006936150748515502,
-0.05782755836844444,
-0.01731659099459648,
-0.008970662951469421,
-0.04776141047477722,
-0.033999647945165634,
-0.04737425222992897,
-0.04230597987771034,
-0.027646711096167564,
0.03857516869902611,
-0.03141271695494652,
-0.026326850056648254,
-0.04860612377524376,
0.010286125354468822,
-0.018918024376034737,
-0.016199108213186264,
-0.026749204844236374,
0.029952071607112885,
-0.0716245174407959,
0.015539176762104034,
-0.05304085835814476,
-0.08616060018539429,
-0.033577293157577515,
-0.09495968371629715,
0.03352449834346771,
-0.090032197535038,
0.07292678207159042,
0.04491050913929939,
0.008939865976572037,
0.033911656588315964,
0.009555801749229431,
0.01402573473751545,
0.046846307814121246,
-0.0427987277507782,
0.03245101124048233,
0.010259727947413921,
-0.027382738888263702,
0.0009678988717496395,
-0.00952940434217453,
0.05064750835299492,
-0.010470906272530556,
-0.008878272958099842,
-0.047479841858148575,
-0.11924514174461365,
0.018918024376034737,
-0.009960559196770191,
0.007026066072285175,
0.042622748762369156,
-0.03257419541478157,
-0.004694309551268816,
-0.024918997660279274,
-0.07148373126983643,
0.07257481664419174,
-0.005811792798340321,
0.0001436724851373583,
0.011482800357043743,
0.03083197958767414,
0.0016718253027647734,
0.0025649319868534803,
0.03889193758368492,
0.008583503775298595,
-0.04149646684527397,
0.06856244057416916,
0.03227502852678299,
0.008337128907442093,
0.015433588065207005,
0.06504280865192413,
0.044699329882860184,
-0.009221436455845833,
-0.01481765229254961,
0.0473390556871891,
-0.008865074254572392,
-0.010972454212605953,
0.025165371596813202,
0.07000548392534256,
0.0010531400330364704,
0.009758180938661098,
-0.00510786660015583,
0.036604177206754684,
0.0005579167045652866,
0.0064321281388401985,
0.029582509770989418,
-0.008266736753284931,
-0.026115672662854195,
0.04160205274820328,
-0.028984172269701958,
-0.043221086263656616,
-0.029265742748975754,
0.028280245140194893,
-0.043080300092697144,
0.018143704161047935,
0.0009250033763237298,
0.04047577083110809,
-0.021821720525622368,
0.09460771828889847,
-0.00936222169548273,
0.07046303898096085,
-0.009494207799434662,
-0.004601919092237949,
-0.03556588292121887,
0.036815352737903595,
-0.03523151949048042,
-0.0007600206299684942,
0.0225080493837595,
-0.0858086347579956,
-0.02358153648674488,
0.010541298426687717,
0.05346321687102318,
-0.11797807365655899,
-0.00639693159610033,
0.0014705463545396924,
-0.032978955656290054,
-0.02349354512989521,
0.03137752041220665,
0.024531837552785873,
0.02088901773095131,
0.018319686874747276,
0.028280245140194893,
-0.015459985472261906,
-0.03317253291606903,
-0.015178414061665535,
0.027277151122689247,
-0.05142182856798172,
-0.08383764326572418,
0.04997877776622772,
0.03377087041735649,
0.023651929572224617,
0.012609083205461502,
0.0007336233393289149,
0.052336931228637695,
0.044276975095272064,
-0.04230597987771034,
0.044664133340120316,
0.04026459529995918,
0.009274231269955635,
0.008768283762037754,
-0.08299293369054794,
0.007188849151134491,
0.021628141403198242,
-0.06968872249126434,
0.11192430555820465,
-0.02571091428399086,
-0.033190131187438965,
0.012045941315591335,
-0.008169946260750294,
-0.02289520762860775,
-0.024109480902552605,
-0.007329634390771389,
-0.025006987154483795,
0.05473028123378754,
0.018847631290555,
-0.017870932817459106,
-0.015547975897789001,
0.06525398045778275,
-0.00459312042221427,
-0.02094181254506111,
-0.0026617220137268305,
-0.008112752810120583,
-0.0121955256909132,
-0.011069243773818016,
-0.011201229877769947,
0.0033942454028874636,
0.0005042973207309842,
-0.0524425208568573,
-0.015178414061665535,
-0.03232782334089279,
-0.03730810433626175,
-0.027611516416072845,
0.004234557505697012,
-0.02835063822567463,
-0.017941325902938843,
0.012767466716468334,
-0.03505553677678108,
-0.025992484763264656,
-0.02080102637410164,
0.048711709678173065,
-0.010154139250516891,
0.02822745218873024,
-0.02430306188762188,
0.051140256226062775,
0.032855767756700516,
-0.004958282224833965,
0.03169428929686546,
0.007540812250226736,
0.008913468569517136,
-0.00735603179782629,
-0.018231695517897606,
0.021856917068362236,
0.0369209423661232,
0.04864132031798363,
-0.0032138642854988575,
0.051527418196201324,
-0.02975849062204361,
-0.0061813541688025,
0.04149646684527397,
0.038434386253356934,
-0.012177927419543266,
-0.01012774184346199,
0.03125433623790741,
0.01914680004119873,
-0.027981076389551163,
0.00982857309281826,
0.047515034675598145,
-0.02157534658908844,
-0.013040238060057163,
0.01842527464032173,
-0.023687126114964485,
-0.008614299818873405,
-0.004386341664940119,
-0.05268889665603638,
0.012987443245947361,
0.07377149164676666,
0.003750608302652836,
-0.02331756427884102,
0.06166395917534828,
0.013541785068809986,
0.014940839260816574,
0.009520605206489563,
0.022120889276266098,
0.0018665050156414509,
-0.02502458542585373,
0.028280245140194893,
0.004984679166227579,
0.03663937374949455,
-0.05501185357570648,
-0.005376238375902176,
0.03811761736869812,
-0.009239034727215767,
-0.01974513754248619,
0.028966573998332024,
-0.03158869966864586,
0.04476972296833992,
0.05666607990860939,
0.02157534658908844,
0.03113114833831787,
0.06887920200824738,
0.03706172853708267,
-0.072504423558712,
-0.005495025776326656,
-0.014465688727796078,
0.06486682593822479,
0.004311549477279186,
0.013796959072351456,
0.026467634364962578,
0.06743615865707397,
0.00509466789662838,
-0.029899276793003082,
0.055574994534254074,
0.022138487547636032,
-0.008042359724640846,
0.03952547162771225,
-0.006238548085093498,
0.02417987398803234,
0.012697073630988598,
0.07757269591093063,
-0.033401310443878174,
-0.05370958894491196,
-0.018566060811281204,
-0.07792466133832932,
0.05124584585428238,
0.04853573068976402,
-0.0627550408244133,
-0.01905880868434906,
-0.062191903591156006,
-0.03709692507982254,
0.0339820496737957,
-0.03560107946395874,
0.046247970312833786,
-0.003493234980851412,
0.027734702453017235,
0.012705872766673565,
-0.002916895318776369,
-0.009881367906928062,
0.029089761897921562,
0.05328723415732384,
0.006999668665230274,
0.023458348587155342,
0.018865229561924934,
-0.03415803238749504,
-0.054765477776527405,
-0.07743190973997116,
0.04674071818590164,
0.014140122570097446,
0.015679962933063507,
-0.0886947363615036,
-0.03678015619516373,
-0.032556600868701935,
0.018302088603377342,
0.0009074052213691175,
-0.008948665112257004,
-0.004014580510556698,
-0.027875488623976707,
0.031782280653715134,
-0.0036978137213736773,
0.040440574288368225,
0.028333039954304695,
0.005649009719491005,
-0.021469756960868835,
-0.042869120836257935,
-0.048887692391872406,
-0.09847931563854218,
0.059165019541978836,
0.04431217163801193,
-0.003963985946029425,
-0.013163425028324127,
0.052724093198776245,
-0.015627168118953705,
-0.031201541423797607,
0.03005765937268734,
-0.012037142179906368,
-0.06697860360145569,
-0.0391383096575737,
-0.019023612141609192,
-0.022349664941430092,
-0.04621277377009392,
-0.018354883417487144,
0.016586266458034515,
-0.01648067869246006,
-0.0062209502793848515,
-0.017668554559350014,
-0.013119429349899292,
0.08102193474769592,
-0.005028674844652414,
-0.015530377626419067,
0.020695438608527184,
0.05807393416762352,
-0.006682902108877897,
0.10305483639240265,
0.0012824659934267402,
0.08883552253246307,
-0.0072548422031104565,
-0.05106986686587334,
-0.017043819651007652,
0.03565387427806854,
0.09897205978631973,
0.020308278501033783,
-0.022314468398690224,
0.019252389669418335,
-0.019709940999746323,
-0.10467386245727539,
0.0006115360883995891,
0.039631061255931854,
-0.023986294865608215,
-0.004491930827498436,
-0.04051096737384796,
0.006999668665230274,
-0.036815352737903595,
0.00397058529779315,
0.0074572209268808365,
0.022912805899977684,
-0.015275204554200172,
0.021223383024334908,
-0.009907765313982964,
0.000632433919236064,
-0.028632208704948425,
0.019639547914266586,
-0.015196012333035469,
0.051914576441049576,
-0.046846307814121246,
0.026326850056648254,
0.019551558420062065,
0.05691245570778847,
-0.052372127771377563,
-0.04269314184784889,
0.0038869939744472504,
0.045649632811546326,
0.029265742748975754,
-0.025147773325443268,
0.01872444339096546,
-0.00541583402082324,
0.007474819198250771,
0.007839981466531754,
0.03394685313105583,
0.012037142179906368,
0.014509684406220913,
0.018055714666843414,
-0.04336186870932579,
0.03211664408445358,
-0.0332077294588089,
-0.019674744457006454,
0.07792466133832932,
-0.020396269857883453,
-0.0013000641483813524,
0.0007099758367985487,
-0.016559870913624763,
-0.01445688959211111,
0.0443473681807518,
0.035794660449028015,
0.0096173956990242,
0.004298350773751736,
0.005741400178521872,
0.027101168408989906,
-0.02382791042327881,
0.06356456130743027,
-0.046916697174310684,
-0.06092483550310135,
0.009283030405640602,
0.028473826125264168,
-0.0013506589457392693,
-0.021839318796992302,
0.013964141719043255,
0.007716794032603502,
0.011245225556194782,
0.02328236773610115,
0.0019500963389873505,
-0.031201541423797607,
-0.01630469597876072,
0.015055227093398571,
0.013409798964858055,
0.026872392743825912,
-0.0065729133784770966,
0.03440440446138382,
0.026960384100675583,
0.013717766851186752,
-0.034087639302015305,
-0.00426975404843688,
-0.019551558420062065,
-0.03377087041735649,
-0.03266218677163124,
-0.08390803635120392,
-0.05106986686587334,
-0.049732405692338943,
-0.040827736258506775,
-0.01266187708824873,
-0.048711709678173065,
0.024655023589730263,
-0.000034852608223445714,
0.011342015117406845,
0.02891377918422222,
-0.028632208704948425,
0.05701804533600807,
-0.020519455894827843,
0.015424788929522038,
-0.04638875275850296,
0.04776141047477722,
0.005050672218203545,
0.014060931280255318,
-0.014228113926947117,
0.03632260486483574,
0.032046250998973846,
-0.061593566089868546,
-0.06546515971422195,
0.006005372852087021,
0.005785395856946707,
0.0981273502111435,
-0.03044481948018074,
0.03215184062719345,
-0.0644092708826065,
0.001998491119593382,
-0.009036656469106674,
-0.013093031942844391,
0.012133932672441006,
-0.04674071818590164,
0.021311374381184578,
0.0017334189033135772,
0.029265742748975754,
-0.04008861258625984,
-0.019463567063212395,
-0.00491428654640913,
-0.01651587523519993,
-0.07208207249641418,
0.041214894503355026,
-0.014940839260816574,
-0.013849752955138683,
-0.07398267090320587,
-0.003891393542289734,
-0.025552529841661453,
-0.03443960100412369,
0.015891140326857567,
0.02720675803720951,
-0.05568058416247368,
0.020695438608527184,
0.005890984553843737,
-0.00666090426966548,
0.023176778107881546,
0.008623098954558372,
0.018865229561924934,
0.03364768624305725,
0.0014199516735970974,
-0.049697209149599075,
0.025464540347456932,
-0.01803811639547348,
0.017756545916199684,
0.005706204101443291,
0.0026441237423568964,
0.014333702623844147,
0.057792361825704575,
0.03074398823082447,
-0.024250267073512077,
-0.01185236219316721,
-0.015574373304843903,
0.01405213214457035,
0.00577659672126174,
-0.00019096754840575159,
-0.019551558420062065,
-0.004610718227922916,
-0.02754112333059311,
0.04480491951107979,
-0.024883801117539406,
-0.014140122570097446,
0.008535108529031277,
0.05339282378554344,
-0.009080651216208935,
0.02622126042842865,
-0.07004068046808243,
-0.004333547316491604,
0.007554010953754187,
-0.0339292548596859,
0.060185711830854416,
-0.03095516562461853,
0.0332605242729187,
-0.0005009976448491216,
0.04881729930639267,
0.06901998817920685,
0.029864080250263214,
0.05726441740989685,
-0.0014661467866972089,
0.007681597489863634,
0.022613637149333954,
-0.004421538207679987,
-0.03137752041220665,
0.0217865239828825,
0.024637427181005478,
-0.019797932356595993,
0.03074398823082447,
-0.037202514708042145,
0.026573223993182182,
-0.012213123962283134,
0.034897156059741974,
0.01914680004119873,
-0.039032723754644394,
-0.02118818648159504,
0.04350265488028526,
-0.0361466258764267,
-0.0384695827960968,
-0.06602830439805984,
-0.024443846195936203,
-0.08770924061536789,
0.03313734009861946,
-0.0012065739138051867,
0.005125464405864477,
-0.040229398757219315,
-0.003944187890738249,
0.018302088603377342,
0.015020030550658703,
-0.02873779833316803,
0.006234148982912302,
0.04339706525206566,
-0.0032556599471718073,
0.04938044026494026,
-0.03670976683497429,
-0.024760613217949867,
-0.021082596853375435,
0.026027681306004524,
-0.08968023210763931,
0.002996087074279785,
-0.011799567379057407,
-0.01402573473751545,
-0.010092545300722122,
-0.033066947013139725,
0.004747103899717331,
-0.082711361348629,
-0.034949950873851776,
-0.06261426210403442,
0.0032732579857110977,
-0.06191033124923706,
0.03414043411612511,
-0.01392014604061842,
0.1129801943898201,
-0.0487821027636528,
-0.052336931228637695,
-0.036428194493055344,
0.015653565526008606,
-0.01690303348004818,
0.03556588292121887,
0.027699505910277367,
0.013163425028324127,
0.037800852209329605,
0.0021414763759821653,
-0.004729506094008684,
0.12543970346450806,
0.008354727178812027,
-0.032169438898563385,
-0.011262823827564716,
0.042129997164011,
-0.09348143637180328,
-0.0015992328990250826,
0.023053592070937157,
-0.01714061014354229,
0.0017917128279805183,
-0.022244077175855637,
0.008865074254572392,
-0.01522240974009037,
-0.04913406819105148,
-0.013031438924372196,
0.0391383096575737,
0.01756296493113041,
-0.008394323289394379,
-0.03998302295804024,
0.030902372673153877,
-0.0184604711830616,
-0.022912805899977684,
-0.0036362202372401953,
-0.04132048413157463,
-0.03509073331952095,
0.05733481049537659,
0.047726213932037354,
-0.021205784752964973,
-0.00599217414855957,
0.06384613364934921,
-0.01905880868434906,
-0.008187544532120228,
-0.05430792644619942,
-0.04216519370675087,
0.04681111127138138,
-0.06447966396808624,
0.037026531994342804,
0.000992096378467977,
0.06694340705871582,
0.027945879846811295,
0.00785317923873663,
-0.009415016509592533,
-0.0041685644537210464,
0.012811461463570595,
-0.006146158091723919,
-0.02592209167778492,
0.04980279877781868,
0.006498121190816164,
0.02382791042327881,
-0.04797258973121643,
-0.043080300092697144,
-0.01656867004930973,
-0.013964141719043255,
0.013779360800981522,
0.03482676297426224,
-0.05004917085170746,
-0.004445735365152359,
-0.036991335451602936,
-0.07489777356386185,
0.03568907082080841,
0.012415503151714802,
-0.00511666527017951,
0.016533473506569862,
0.039842236787080765,
-0.02349354512989521,
0.06754174083471298,
-0.026749204844236374,
-0.01635749079287052,
0.009599797427654266,
0.011869960464537144,
0.04438256472349167,
0.004403939936310053,
-0.0032446610275655985,
0.0015079424483701587,
-0.013770561665296555,
0.018900426104664803,
-0.02034347504377365,
0.01965714618563652,
-0.042622748762369156,
0.011060444638133049,
0.007413225714117289,
0.02886098437011242,
-0.02993447333574295,
0.03598824143409729,
0.06349416822195053,
-0.004544725175946951,
0.033999647945165634,
0.009247833862900734,
0.016287097707390785,
0.030409622937440872,
0.024109480902552605,
0.0020094900391995907,
0.021821720525622368,
-0.012776264920830727,
0.003257859731093049,
-0.01597033254802227,
-0.016709454357624054,
0.013884949497878551,
0.02916015312075615,
-0.000762220355682075,
0.059200216084718704,
-0.023176778107881546,
0.018407676368951797,
-0.0045579238794744015,
0.06680262088775635,
-0.02784029208123684,
-0.012125133536756039,
-0.02110019512474537,
-0.012723471038043499,
0.05163300782442093,
-0.02094181254506111,
0.007360430900007486,
0.02801627293229103,
0.01990352012217045,
-0.007444022223353386,
-0.02579890564084053,
-0.013524186797440052,
-0.04839494451880455,
0.00019138000789098442,
0.00547742797061801,
0.012098736129701138,
-0.019516361877322197,
-0.05036593973636627,
0.006810488644987345,
0.056595686823129654,
-0.017395783215761185,
-0.007285638712346554,
0.03496754541993141,
-0.0018214096780866385
]
|
40,642 | pyglove.core.symbolic.dict | _sym_getattr | Gets symbolic attribute by key. | def _sym_getattr( # pytype: disable=signature-mismatch # overriding-parameter-type-checks
self, key: str) -> Any:
"""Gets symbolic attribute by key."""
return super().__getitem__(key)
| (self, key: str) -> Any | [
0.07468712329864502,
-0.0753038078546524,
0.010509300976991653,
0.03328373283147812,
0.024889998137950897,
-0.025232600048184395,
0.0490947924554348,
-0.004646532703191042,
0.04337334632873535,
-0.027322469279170036,
-0.009173154830932617,
0.013609844259917736,
0.07797610014677048,
0.013892490416765213,
-0.021087121218442917,
0.03032023087143898,
0.01247069425880909,
0.07201483100652695,
-0.022029275074601173,
0.02309134043753147,
-0.011597060598433018,
0.041043657809495926,
-0.013995270244777203,
-0.05933857709169388,
-0.006038350984454155,
0.08421144634485245,
0.05546718090772629,
0.017327070236206055,
0.05978395789861679,
-0.070918507874012,
-0.02545529045164585,
0.010577821172773838,
0.022217705845832825,
0.045908600091934204,
-0.004162608180195093,
-0.013558453880250454,
0.0009207414695993066,
0.037514861673116684,
-0.015494151972234249,
-0.017952317371964455,
0.023382551968097687,
0.010183828882873058,
0.08215583860874176,
-0.08284103870391846,
0.004766443278640509,
-0.021549632772803307,
-0.07619456946849823,
0.023656632751226425,
0.007764206267893314,
-0.03110821545124054,
0.02415340393781662,
-0.022166315466165543,
0.008505081757903099,
-0.02028200775384903,
-0.007781336084008217,
0.01643630675971508,
-0.018877342343330383,
0.034619878977537155,
0.0003926534263882786,
0.04587433859705925,
-0.014517737552523613,
-0.044195592403411865,
-0.05598108097910881,
-0.005001981742680073,
0.00391208054497838,
-0.07852426171302795,
-0.007443017326295376,
0.015682583674788475,
-0.004466666840016842,
-0.026089103892445564,
0.02100147120654583,
-0.0129931615665555,
-0.063038669526577,
-0.035938896238803864,
0.015708278864622116,
-0.06896568089723587,
-0.02853870391845703,
-0.0738648772239685,
0.016590476036071777,
-0.027579419314861298,
-0.032701313495635986,
-0.032786961644887924,
-0.055227357894182205,
-0.013764014467597008,
-0.09407836943864822,
0.0019121444784104824,
0.04895775392651558,
-0.05324026942253113,
-0.04864941164851189,
0.03655557706952095,
-0.04703918471932411,
0.02355385199189186,
-0.048272550106048584,
0.04073531553149223,
-0.009378715418279171,
-0.04162608087062836,
0.05467919632792473,
-0.014680473133921623,
0.0584135539829731,
-0.021806584671139717,
0.05046520009636879,
-0.029223905876278877,
0.004089805297553539,
0.03676113858819008,
-0.020093576982617378,
-0.012316523119807243,
-0.030868394300341606,
-0.017866667360067368,
-0.00183291791472584,
-0.007781336084008217,
-0.03720651939511299,
0.03203323855996132,
0.0066678812727332115,
0.008038287051022053,
-0.008736337535083294,
0.020693128928542137,
-0.0018521893071010709,
-0.00682633463293314,
0.007220326457172632,
0.018534740433096886,
-0.00577711733058095,
0.035219430923461914,
-0.020504698157310486,
-0.0038949507288634777,
0.04100939631462097,
0.04402429237961769,
-0.033951807767152786,
0.00391208054497838,
0.03830284625291824,
0.04566877707839012,
-0.000002647298970259726,
0.022389007732272148,
0.009841227903962135,
0.08585593104362488,
0.008089677430689335,
0.04251684248447418,
0.04587433859705925,
0.06989070028066635,
-0.016796037554740906,
0.03662410005927086,
0.03597315400838852,
-0.030611442402005196,
-0.015417066402733326,
-0.017815276980400085,
-0.03360920399427414,
-0.00030272052390500903,
0.00032573906355537474,
0.029378077015280724,
-0.006162544246762991,
-0.035219430923461914,
-0.024444615468382835,
0.057796869426965714,
-0.01708724908530712,
0.034876830875873566,
0.029086865484714508,
0.04076957702636719,
-0.03467126935720444,
0.05577552318572998,
-0.026003452017903328,
-0.015014509670436382,
-0.025438159704208374,
0.0009228827548213303,
-0.06406647711992264,
-0.13087376952171326,
0.009704186581075191,
0.006346692331135273,
0.013198722153902054,
-0.01673608273267746,
0.029223905876278877,
0.010552125982940197,
-0.0724259540438652,
-0.005310323089361191,
-0.027134036645293236,
-0.005854202900081873,
0.05320601165294647,
0.01608514040708542,
-0.029480857774615288,
0.02953224815428257,
0.0387139692902565,
-0.03032023087143898,
0.01778101734817028,
-0.04539469629526138,
-0.0846225693821907,
-0.022954300045967102,
0.02262882888317108,
0.08571889251470566,
0.004916331265121698,
0.0028157560154795647,
-0.003385331016033888,
0.04357890784740448,
-0.01699303276836872,
0.01073199138045311,
0.013584149070084095,
-0.0054559288546442986,
-0.017558326944708824,
-0.04930035397410393,
-0.011305849067866802,
0.03045727126300335,
-0.05334305018186569,
0.08249843865633011,
0.032701313495635986,
0.004603707231581211,
-0.05334305018186569,
0.10298600792884827,
-0.04285944625735283,
-0.05560421943664551,
0.06855455785989761,
-0.014260786585509777,
-0.016847427934408188,
0.002850016113370657,
-0.01483464427292347,
-0.022286226972937584,
0.0322730615735054,
-0.013438543304800987,
-0.00341316731646657,
0.05176708474755287,
-0.02809332124888897,
-0.00047375360736623406,
0.015134420245885849,
0.03052579239010811,
0.07078146934509277,
-0.018157878890633583,
0.036247238516807556,
0.004569447133690119,
0.03187906742095947,
-0.036247238516807556,
0.01647913083434105,
-0.00028371685766614974,
-0.07612604647874832,
-0.005485906265676022,
0.035065263509750366,
-0.0008597156265750527,
0.04618268087506294,
0.005190412513911724,
-0.0014560562558472157,
-0.032581400126218796,
0.017609715461730957,
0.04542895779013634,
0.05375417321920395,
0.011665580794215202,
-0.009884052909910679,
0.04902627319097519,
-0.011871141381561756,
0.055090319365262985,
-0.035013873130083084,
0.005156152416020632,
0.034808311611413956,
0.07201483100652695,
-0.026209013536572456,
-0.02093295007944107,
0.07996318489313126,
-0.010021093301475048,
0.03071422316133976,
0.013883925043046474,
-0.0024902846198529005,
-0.05087631940841675,
-0.0953802540898323,
-0.0010840125614777207,
0.023416811600327492,
-0.0342087596654892,
-0.07653716951608658,
0.04786142706871033,
-0.031399425119161606,
-0.02283438853919506,
0.01624787598848343,
0.0030363055411726236,
0.037172261625528336,
0.04200294241309166,
-0.016941644251346588,
0.00577711733058095,
-0.023656632751226425,
-0.021857975050807,
-0.035219430923461914,
0.038028765469789505,
0.01719859428703785,
0.055432919412851334,
0.04556599631905556,
0.0501568578183651,
0.001911073923110962,
-0.026414575055241585,
0.0014892457984387875,
-0.0035330778919160366,
-0.011271588504314423,
0.011854011565446854,
-0.0387139692902565,
0.009147459641098976,
0.008372323587536812,
-0.025215469300746918,
0.024102013558149338,
-0.010877597145736217,
0.08613001555204391,
0.031467948108911514,
0.03518517315387726,
0.024136275053024292,
0.05255506932735443,
0.008329498581588268,
-0.0440928116440773,
-0.00820530578494072,
0.05262358859181404,
0.0055587091483175755,
0.006697859149426222,
0.04162608087062836,
-0.02980632893741131,
0.007468712516129017,
0.0006188239203765988,
0.00804257020354271,
0.041043657809495926,
0.03933065012097359,
-0.037514861673116684,
0.03950195014476776,
-0.0036979548167437315,
0.02781924046576023,
-0.021172771230340004,
0.0286757443100214,
-0.021241292357444763,
-0.014432087540626526,
-0.05282915011048317,
0.038748227059841156,
0.022920038551092148,
0.11600486189126968,
-0.020453307777643204,
-0.004886353854089975,
-0.04457245394587517,
-0.007447299547493458,
0.006873442325741053,
0.01599092409014702,
-0.014646213501691818,
-0.05526161938905716,
0.009044678881764412,
0.016684692353010178,
0.012393608689308167,
-0.007494407240301371,
-0.016496261581778526,
-0.036007415503263474,
-0.022029275074601173,
0.03820006549358368,
-0.011794055812060833,
0.0171043798327446,
-0.01463764812797308,
-0.02225196547806263,
-0.026431703940033913,
-0.021703803911805153,
0.02271447889506817,
-0.023536721244454384,
0.0007633589557372034,
-0.0245473962277174,
0.024975648149847984,
0.004402428865432739,
0.01915142312645912,
-0.03682965785264969,
0.003051294479519129,
-0.0609145425260067,
0.017147203907370567,
0.03150220587849617,
0.022920038551092148,
-0.004402428865432739,
-0.02081304043531418,
0.02322838082909584,
-0.014260786585509777,
-0.012693384662270546,
0.04279092699289322,
0.0012001758441329002,
-0.051287442445755005,
-0.03885100781917572,
-0.0026551615446805954,
-0.040118634700775146,
-0.028264623135328293,
0.013969575054943562,
0.028298882767558098,
-0.0523495078086853,
-0.049060530960559845,
-0.0115542346611619,
-0.03614445775747299,
0.009918312542140484,
-0.018483350053429604,
0.017952317371964455,
0.03038875199854374,
-0.002404634142294526,
0.009524321183562279,
-0.0077470759861171246,
0.04508635401725769,
-0.021446852013468742,
0.03122812509536743,
0.07612604647874832,
0.026945605874061584,
-0.01683029718697071,
-0.030114671215415,
-0.032769832760095596,
0.0509105809032917,
0.036452796310186386,
-0.001462480053305626,
-0.041180700063705444,
-0.019254203885793686,
0.06464889645576477,
-0.0012590604601427913,
-0.044332630932331085,
0.027408119291067123,
-0.07509824633598328,
-0.04022141546010971,
0.006911985110491514,
0.002333972603082657,
0.011151677928864956,
-0.019596805796027184,
0.013549888506531715,
0.013113072142004967,
0.026517353951931,
0.005044806748628616,
0.018157878890633583,
-0.04220850393176079,
-0.02781924046576023,
-0.03778894245624542,
0.04700492322444916,
-0.012290827929973602,
-0.06231921166181564,
0.027904890477657318,
0.0042247045785188675,
0.06540262699127197,
0.018603259697556496,
-0.006582230795174837,
0.013464238494634628,
0.006008373573422432,
-0.08297807723283768,
-0.028435923159122467,
0.003205465152859688,
0.0000063526813391945325,
0.016427740454673767,
0.018980123102664948,
0.006419495213776827,
-0.004916331265121698,
0.05320601165294647,
-0.02579789236187935,
0.0055886865593492985,
-0.006800639443099499,
-0.0004338726575952023,
0.01891160197556019,
-0.02579789236187935,
-0.03813154622912407,
-0.05498753860592842,
-0.0196995846927166,
-0.013567018322646618,
-0.03778894245624542,
0.032255928963422775,
-0.014406392350792885,
0.0207959096878767,
-0.037514861673116684,
-0.04539469629526138,
0.020247748121619225,
0.07989466935396194,
0.04638824239373207,
-0.08482813090085983,
-0.0136184087023139,
-0.009627101942896843,
0.04193442314863205,
-0.007520102430135012,
0.00016300336574204266,
-0.02494138851761818,
0.0136184087023139,
-0.0215153731405735,
0.03761764243245125,
0.015828188508749008,
-0.03922786936163902,
0.037240780889987946,
-0.019785236567258835,
-0.06331275403499603,
-0.037309300154447556,
0.053068969398736954,
0.005622946657240391,
-0.0020491851028054953,
-0.000059955258620902896,
-0.005087632220238447,
0.009233109652996063,
-0.01157992985099554,
0.0028564399108290672,
-0.029583638533949852,
-0.030919784680008888,
0.012727645225822926,
-0.025318250060081482,
0.025386769324541092,
-0.05927005782723427,
-0.07420748472213745,
-0.03820006549358368,
-0.053068969398736954,
-0.029018346220254898,
-0.016658997163176537,
0.024633046239614487,
0.010877597145736217,
0.007121828384697437,
0.048272550106048584,
-0.03542499244213104,
-0.012641995213925838,
0.010483605787158012,
0.10839910805225372,
0.02500990778207779,
0.0387139692902565,
0.04070105776190758,
0.0368981808423996,
-0.01039795484393835,
0.0024089165963232517,
0.01870604045689106,
-0.006402365397661924,
-0.04100939631462097,
-0.052075427025556564,
0.03758338466286659,
0.048992011696100235,
0.0027193992864340544,
0.02823036164045334,
-0.04717622324824333,
0.023348290473222733,
0.02874426543712616,
-0.059235796332359314,
0.01856900006532669,
-0.00577711733058095,
0.04035845398902893,
-0.021361202001571655,
0.05478197708725929,
-0.01805509813129902,
-0.011862576007843018,
-0.033694855868816376,
-0.022337617352604866,
0.04080383852124214,
0.04501783475279808,
-0.04443541169166565,
-0.034551359713077545,
-0.03847414627671242,
0.007520102430135012,
-0.024204794317483902,
-0.034362927079200745,
0.008406584151089191,
-0.007777053862810135,
0.006338127423077822,
-0.012556344270706177,
0.035801853984594345,
-0.03891952708363533,
0.018277788534760475,
0.018997251987457275,
0.057385750114917755,
-0.01766110584139824,
0.020196357741951942,
-0.02422192506492138,
0.03300965204834938,
0.01401240099221468,
-0.008697794750332832,
-0.0027814956847578287,
-0.021738063544034958,
0.006209651939570904,
-0.03175915777683258,
-0.07400192320346832,
-0.004470949526876211,
0.02494138851761818,
-0.007121828384697437,
-0.020984340459108353,
0.04895775392651558,
0.0005674337153322995,
-0.03427727892994881,
0.026020582765340805,
-0.012556344270706177,
0.007468712516129017,
-0.039022307842969894,
-0.060811761766672134,
0.027116907760500908,
0.019202813506126404,
-0.027082648128271103,
0.041386257857084274,
-0.020950080826878548,
-0.0345856212079525,
0.006886289920657873,
-0.0024388942401856184,
-0.006320997606962919,
0.017506936565041542,
-0.041900161653757095,
-0.020093576982617378,
-0.0030277406331151724,
0.033300865441560745,
0.027647940441966057,
0.0293952077627182,
0.02709977701306343,
0.017095813527703285,
-0.006119719240814447,
-0.027390988543629646,
-0.03734356164932251,
0.03679540008306503,
0.028641484677791595,
-0.015365676954388618,
0.03559629246592522,
-0.011648450046777725,
-0.024530265480279922,
0.031861938536167145,
-0.005353148095309734,
-0.02461591735482216,
-0.07763349264860153,
-0.04542895779013634,
-0.09476356953382492,
-0.022406136617064476,
-0.006625056266784668,
-0.004158325493335724,
0.01759258657693863,
-0.05498753860592842,
0.040255673229694366,
0.004770725499838591,
-0.015656888484954834,
0.03331799432635307,
-0.025027038529515266,
0.05793391168117523,
0.015656888484954834,
0.03441431745886803,
0.0465938001871109,
0.04717622324824333,
0.012393608689308167,
-0.013704059645533562,
-0.04625120013952255,
-0.032701313495635986,
-0.006770662032067776,
0.00871492549777031,
0.03479117900133133,
0.0064880154095590115,
0.015536976978182793,
0.010971812531352043,
0.03379763662815094,
-0.002488143276423216,
-0.013883925043046474,
-0.04775864630937576,
0.018928732722997665,
-0.0408380962908268,
0.03864544630050659,
-0.02742524817585945,
0.044195592403411865,
0.06180530786514282,
0.04638824239373207,
-0.012256568297743797,
-0.025044169276952744,
-0.015776798129081726,
0.020487569272518158,
0.055672742426395416,
0.004053403623402119,
-0.017010163515806198,
-0.018791692331433296,
0.070918507874012,
0.009490061551332474,
-0.0267057865858078,
0.09263943880796432,
-0.00802115723490715,
0.0002553451631683856,
-0.05406251549720764,
0.04566877707839012,
-0.021960755810141563,
0.05642646551132202,
-0.0390908308327198,
-0.017558326944708824,
0.023125600069761276,
0.021241292357444763,
-0.05317175015807152,
-0.02742524817585945,
-0.04724474623799324,
0.0004060362989548594,
0.05642646551132202,
-0.06636190414428711,
-0.026620134711265564,
-0.04940313473343849,
0.007669990882277489,
-0.016076574102044106,
-0.03789172321557999,
-0.014098051004111767,
-0.06231921166181564,
0.009421540424227715,
-0.022937169298529625,
-0.05957839637994766,
-0.04337334632873535,
-0.06142844632267952,
0.05005407705903053,
-0.028007671236991882,
0.06461463868618011,
-0.0033532120287418365,
-0.017952317371964455,
-0.043715950101614,
-0.03143368661403656,
0.03847414627671242,
0.04943739250302315,
-0.019802365452051163,
0.0656081810593605,
-0.006038350984454155,
0.01915142312645912,
-0.021755194291472435,
-0.010226653888821602,
0.02920677699148655,
-0.04090661555528641,
-0.0037000959273427725,
0.0555357001721859,
0.031793419271707535,
0.0069762226194143295,
-0.11723823100328445,
-0.0017504794523119926,
-0.04549747705459595,
-0.0002636425488162786,
0.006984787527471781,
-0.058242253959178925,
-0.03984455391764641,
-0.024187665432691574,
-0.009036114439368248,
0.05156152322888374,
0.014363567344844341,
-0.008453691378235817,
-0.002216203371062875,
0.02315985970199108,
-0.01733563467860222,
0.01499737985432148,
-0.00834662839770317,
0.0022526048123836517,
-0.007494407240301371,
-0.042619623243808746,
-0.00037177614285610616,
-0.01557980291545391,
-0.07215186953544617,
-0.015348546206951141,
-0.05125318095088005,
0.07365931570529938,
-0.032975394278764725,
-0.07009626179933548,
-0.009592841379344463,
-0.021035730838775635,
0.06958235800266266,
0.007571492809802294,
-0.03196471929550171,
0.05005407705903053,
0.04364743083715439,
-0.009627101942896843,
0.01194822695106268,
-0.018671780824661255,
0.02264595776796341,
-0.013961010612547398,
0.08681521564722061,
0.051801346242427826,
0.015108725056052208,
0.010509300976991653,
0.027647940441966057,
-0.00015122644254006445,
-0.010946117341518402,
-0.01181118655949831,
-0.01733563467860222,
0.04731326550245285,
0.10278044641017914,
-0.03446570783853531,
0.08695225417613983,
-0.04481227323412895,
0.029686419293284416,
0.04244832322001457,
0.030114671215415,
-0.04762160778045654,
0.042414065450429916,
0.0465938001871109,
-0.028196102008223534,
-0.0039013742934912443,
0.055878300219774246,
0.0195454154163599,
0.017900926992297173,
0.03813154622912407,
-0.025301119312644005,
-0.01503164041787386,
-0.009695622138679028,
0.042174242436885834,
0.007357366848737001,
-0.042688146233558655,
0.018329178914427757,
-0.07201483100652695,
0.051424480974674225,
-0.027528028935194016,
-0.04231128469109535,
-0.03206750005483627,
0.009036114439368248
]
|
40,644 | pyglove.core.symbolic.dict | _sym_missing | Returns missing values.
Returns:
A dict of key to MISSING_VALUE.
| def _sym_missing(self) -> typing.Dict[str, Any]:
"""Returns missing values.
Returns:
A dict of key to MISSING_VALUE.
"""
missing = dict()
if self._value_spec and self._value_spec.schema:
matched_keys, _ = self._value_spec.schema.resolve(self.keys())
for key_spec, keys in matched_keys.items():
field = self._value_spec.schema[key_spec]
assert keys or isinstance(key_spec, pg_typing.NonConstKey), key_spec
if keys:
for key in keys:
v = self.sym_getattr(key)
if object_utils.MISSING_VALUE == v:
missing[key] = field.value.default
else:
if isinstance(v, base.Symbolic):
missing_child = v.sym_missing(flatten=False)
if missing_child:
missing[key] = missing_child
else:
for k, v in self.sym_items():
if isinstance(v, base.Symbolic):
missing_child = v.sym_missing(flatten=False)
if missing_child:
missing[k] = missing_child
return missing
| (self) -> Dict[str, Any] | [
0.06540439277887344,
-0.07477866113185883,
0.0017745117656886578,
0.024674804881215096,
0.0013120835646986961,
0.0020719473250210285,
0.019323209300637245,
-0.0396161712706089,
0.05603012442588806,
-0.013989572413265705,
0.00022882895427756011,
0.012121901847422123,
0.04389026388525963,
-0.04033450409770012,
-0.018254686146974564,
0.01707841269671917,
0.014115281403064728,
0.08088450878858566,
0.004229196812957525,
-0.031157776713371277,
0.0028464021161198616,
0.013899780809879303,
-0.062315553426742554,
0.029092563316226006,
-0.04629668593406677,
-0.0177787896245718,
0.019395042210817337,
-0.03302544727921486,
-0.010146480984985828,
-0.012669632211327553,
-0.04184300824999809,
0.01757226698100567,
0.008615529164671898,
-0.029523564502596855,
0.00930243730545044,
-0.04529101774096489,
-0.004563671536743641,
0.024549094960093498,
-0.05286945030093193,
-0.0020461322274059057,
0.040693674236536026,
0.00994893815368414,
-0.06996582448482513,
-0.051253195852041245,
0.0057556587271392345,
-0.01774287223815918,
0.025339264422655106,
0.010011793114244938,
-0.0014063650742173195,
0.0025725369341671467,
0.050355277955532074,
0.029649274423718452,
-0.003254955168813467,
0.015219721011817455,
-0.0029204804450273514,
0.009787313640117645,
-0.04489593207836151,
0.016270285472273827,
-0.04389026388525963,
0.017240038141608238,
-0.03090636059641838,
0.050858113914728165,
-0.020544378086924553,
-0.0340849906206131,
0.003856560681015253,
0.026668183505535126,
0.04845169186592102,
-0.04647626727819443,
-0.0031090432312339544,
-0.00662215007469058,
-0.012804320082068443,
-0.07679000496864319,
-0.04320784658193588,
0.0015343184350058436,
0.07772383838891983,
-0.0737011656165123,
0.0040294099599123,
-0.03665303811430931,
0.03272015601396561,
-0.07230041176080704,
-0.02462092973291874,
-0.003012517001479864,
-0.07420399785041809,
0.015560929663479328,
-0.005046302918344736,
0.08224935084581375,
0.05901121348142624,
0.019089750945568085,
0.039364755153656006,
0.02641676738858223,
-0.050391193479299545,
-0.020688045769929886,
0.018784457817673683,
0.045003682374954224,
0.03219936415553093,
0.01934116706252098,
-0.003544533858075738,
-0.040190838277339935,
0.013917738571763039,
-0.04493184760212898,
0.07057640701532364,
-0.05735904350876808,
-0.054018784314394,
0.013378988020122051,
0.016665369272232056,
-0.04213034361600876,
0.011942317709326744,
-0.08914536237716675,
0.02372300997376442,
-0.018999958410859108,
-0.062028221786022186,
-0.0057556587271392345,
0.0049295732751488686,
-0.003870029468089342,
-0.014860553666949272,
-0.016826994717121124,
-0.024333594366908073,
0.021388422697782516,
0.007389870472252369,
-0.010137501172721386,
-0.026039641350507736,
0.06666147708892822,
-0.01267861109226942,
-0.016458848491311073,
0.05804146081209183,
0.012876152992248535,
0.006523379124701023,
0.00898816529661417,
0.0578259602189064,
0.07758016884326935,
0.04094509035348892,
0.03575512021780014,
0.0008356255129911005,
0.012490048073232174,
-0.04001125320792198,
0.040154922753572464,
0.026668183505535126,
0.002366015687584877,
0.08289585262537003,
0.012597798369824886,
0.04748193919658661,
-0.0494573600590229,
-0.03911333531141281,
-0.009127343073487282,
-0.004420004319399595,
0.02582414075732231,
0.0006363998400047421,
0.06407547742128372,
-0.04525509849190712,
-0.03514453396201134,
0.0021594944410026073,
0.041914843022823334,
-0.013055737130343914,
0.0007671592175029218,
-0.005338126327842474,
0.02837422862648964,
0.04051408916711807,
-0.014797699637711048,
-0.054773036390542984,
-0.04130425676703453,
-0.017231058329343796,
-0.04008308798074722,
0.004749989602714777,
-0.023274051025509834,
-0.005661377217620611,
0.01784164272248745,
0.04180709272623062,
-0.04572201892733574,
0.028553813695907593,
0.03868233412504196,
-0.02824852056801319,
-0.0035400441847741604,
0.01405242644250393,
-0.02575230598449707,
0.03615020588040352,
0.029056647792458534,
-0.006738879252225161,
-0.03415682539343834,
0.005665866658091545,
0.0026780422776937485,
0.03965208679437637,
-0.01830856129527092,
-0.07082781940698624,
-0.03774850070476532,
0.024962138384580612,
0.011816609650850296,
-0.012220672331750393,
-0.03588083013892174,
0.0018205300439149141,
0.02758406102657318,
0.0033537261188030243,
0.03825133293867111,
0.05646112561225891,
0.1268579512834549,
0.026937559247016907,
-0.01133173331618309,
0.04841577261686325,
0.037999916821718216,
-0.045973435044288635,
0.040262673050165176,
-0.023417718708515167,
-0.045039597898721695,
-0.029146438464522362,
0.042309924960136414,
-0.0823211818933487,
-0.0629979744553566,
-0.0422021746635437,
-0.03512657806277275,
0.010828899219632149,
-0.01628824509680271,
-0.03993942216038704,
0.0018979755695909262,
-0.0000954038550844416,
-0.020921504124999046,
-0.042812760919332504,
-0.004781416617333889,
0.04123242571949959,
0.024710720404982567,
-0.036006536334753036,
0.007591902278363705,
0.0011874974006786942,
-0.049924276769161224,
0.03738933056592941,
0.005724231246858835,
0.005746679380536079,
0.020580295473337173,
-0.004485103767365217,
0.021819423884153366,
-0.0381435826420784,
-0.004451431799679995,
-0.008126163855195045,
0.017922455444931984,
-0.03645549714565277,
-0.0063752224668860435,
0.03638366237282753,
0.001551154418848455,
0.04618893563747406,
-0.02336384356021881,
0.08497902005910873,
0.007668225094676018,
-0.039292920380830765,
-0.004624281078577042,
-0.02149617299437523,
0.04381842911243439,
0.02020316943526268,
-0.03661712259054184,
0.015560929663479328,
0.06648189574480057,
0.009895063936710358,
-0.022555716335773468,
0.01794041506946087,
-0.023633219301700592,
0.026991434395313263,
0.009733438491821289,
0.027099184691905975,
-0.06996582448482513,
-0.02641676738858223,
0.025662515312433243,
0.08670302480459213,
-0.027332643046975136,
-0.00525731360539794,
0.04094509035348892,
-0.05383920297026634,
0.062387388199567795,
-0.02392055280506611,
-0.0011672942200675607,
0.011834567412734032,
0.004343681503087282,
-0.045506518334150314,
0.012687590904533863,
0.049062274396419525,
0.000338683690642938,
-0.026434725150465965,
-0.044213514775037766,
0.016108660027384758,
0.09482020884752274,
0.04166342690587044,
0.008911842480301857,
0.040119003504514694,
-0.007955559529364109,
-0.005751168821007013,
-0.06281838566064835,
0.03083452582359314,
0.010739106684923172,
-0.008400028571486473,
0.08030984550714493,
-0.06490156054496765,
-0.07151024043560028,
-0.013145528733730316,
-0.031588777899742126,
0.029092563316226006,
0.03914925456047058,
-0.011798650957643986,
0.0066445982083678246,
0.04755377024412155,
0.04881085827946663,
-0.10128522664308548,
-0.030780650675296783,
0.015596847049891949,
0.06217188760638237,
0.0324866957962513,
0.0552399568259716,
0.049529191106557846,
0.03415682539343834,
-0.013163487426936626,
-0.05692804232239723,
0.07499416172504425,
0.04137609153985977,
-0.02923623099923134,
-0.0029204804450273514,
-0.058292876929044724,
0.03911333531141281,
0.061094384640455246,
0.008260851725935936,
0.01780572719871998,
-0.02970314957201481,
-0.031750403344631195,
-0.011969255283474922,
0.029451731592416763,
0.01674618199467659,
0.0016892094863578677,
0.018586916849017143,
-0.06217188760638237,
0.009742417372763157,
-0.03254057094454765,
0.009482020512223244,
0.029002772644162178,
-0.007165390998125076,
0.006119315512478352,
0.004352660849690437,
0.023669134825468063,
-0.054916705936193466,
-0.03810766711831093,
0.023651177063584328,
-0.018236728385090828,
0.012768402695655823,
0.023309968411922455,
-0.04442901536822319,
0.025806181132793427,
0.025231514126062393,
-0.020921504124999046,
-0.014537302777171135,
-0.00039508420741185546,
-0.028823189437389374,
-0.0276199784129858,
-0.05538362264633179,
0.009562833234667778,
-0.044680431485176086,
-0.028661563992500305,
0.02880522981286049,
-0.03200181946158409,
0.06957073509693146,
-0.03291769698262215,
0.0119961928576231,
0.061920471489429474,
0.007861278019845486,
-0.010550543665885925,
0.009095915593206882,
-0.005194459576159716,
0.012346381321549416,
0.10207539051771164,
0.04855944216251373,
-0.027997102588415146,
-0.0006431342335417867,
0.040585923939943314,
-0.04805660620331764,
0.023148342967033386,
-0.0024939689319580793,
-0.07528150081634521,
-0.044608596712350845,
-0.024171970784664154,
-0.016261307522654533,
-0.008215955458581448,
-0.027009392157197,
0.013423883356153965,
0.01395365595817566,
0.040657754987478256,
0.012157818302512169,
-0.021837381646037102,
-0.03958025574684143,
-0.010065668262541294,
-0.025375181809067726,
-0.05847246199846268,
0.013181446120142937,
0.006442566402256489,
-0.017787767574191093,
0.04482409730553627,
-0.013361029326915741,
0.016871891915798187,
-0.0017038006335496902,
0.010478710755705833,
-0.03918517008423805,
0.018982000648975372,
0.05121728032827377,
0.001750941388309002,
-0.048990439623594284,
-0.002797016641125083,
-0.05146869644522667,
-0.022968759760260582,
-0.02289692498743534,
0.04184300824999809,
-0.0396161712706089,
-0.004790395963937044,
-0.002783547854050994,
0.03083452582359314,
-0.0578259602189064,
-0.013765092939138412,
-0.006114826072007418,
-0.00818901788443327,
0.012633715756237507,
0.010326064191758633,
-0.02505193091928959,
0.00845390371978283,
-0.0537673681974411,
0.010442794300615788,
-0.02305855043232441,
0.025770265609025955,
-0.008772664703428745,
0.026003723964095116,
0.022483883425593376,
0.02625514194369316,
-0.09309620410203934,
0.00525731360539794,
0.07384482771158218,
-0.0006717554060742259,
0.012750444933772087,
-0.011825588531792164,
-0.029757024720311165,
-0.0001791628310456872,
0.04791294038295746,
0.03263036534190178,
0.027925269678235054,
0.00006429237691918388,
-0.023579344153404236,
-0.01794041506946087,
-0.03692241385579109,
0.014483427628874779,
-0.03681466355919838,
0.0013581019593402743,
0.0754251629114151,
-0.05725129321217537,
0.04410576447844505,
0.013801009394228458,
0.07485049962997437,
0.03442620113492012,
0.00847635231912136,
0.01774287223815918,
0.02704530954360962,
0.04223809391260147,
0.03139123693108559,
-0.04618893563747406,
-0.062315553426742554,
0.05581462383270264,
-0.057933710515499115,
-0.017859602347016335,
0.05383920297026634,
-0.008961227722465992,
-0.021280672401189804,
-0.024207886308431625,
0.015866221860051155,
0.00368820084258914,
0.053982868790626526,
-0.06116621941328049,
0.0049161044880747795,
-0.024710720404982567,
0.052115198224782944,
-0.00884000863879919,
-0.04403392970561981,
-0.03020598366856575,
0.032450780272483826,
0.0072641619481146336,
0.026596350595355034,
0.03832316771149635,
-0.04791294038295746,
-0.05448570474982262,
-0.074563167989254,
0.0021089864894747734,
0.0340849906206131,
-0.03598858043551445,
-0.0636085569858551,
-0.015498075634241104,
0.004514285828918219,
-0.03451599180698395,
-0.05110953003168106,
0.028787272050976753,
0.05599420517683029,
-0.01574949361383915,
-0.006788264960050583,
-0.023381801322102547,
0.011654984205961227,
-0.022717341780662537,
-0.04338742792606354,
-0.0063752224668860435,
0.004732031375169754,
0.01541726291179657,
0.01734778843820095,
0.01582132652401924,
-0.014959325082600117,
0.0505707785487175,
-0.023848719894886017,
-0.010451773181557655,
0.02196308970451355,
-0.028320353478193283,
0.07413216680288315,
-0.024082178249955177,
-0.06504523009061813,
-0.014977282844483852,
-0.0006667046109214425,
0.017455538734793663,
-0.02169371396303177,
-0.007156411651521921,
-0.008409008383750916,
0.06544031202793121,
-0.011699879541993141,
0.00608788849785924,
-0.009877105243504047,
0.001950728241354227,
-0.04313601180911064,
0.0030057826079428196,
0.016090702265501022,
-0.015893159434199333,
-0.01867670752108097,
0.0016678838292136788,
-0.02582414075732231,
-0.05330045148730278,
0.04715868830680847,
-0.030223941430449486,
-0.03846683353185654,
-0.009028571657836437,
-0.049062274396419525,
0.027260810136795044,
-0.012876152992248535,
0.02435155399143696,
0.027296727523207664,
-0.019592585042119026,
0.04076550528407097,
0.06026829779148102,
0.00884000863879919,
-0.1187407597899437,
0.03140919283032417,
0.05150461196899414,
0.032217320054769516,
0.0552399568259716,
0.020257044583559036,
0.0578259602189064,
-0.007978007197380066,
-0.03528820350766182,
-0.010335044004023075,
0.01588418148458004,
0.004406535532325506,
-0.014303844422101974,
0.00554015813395381,
0.016360078006982803,
-0.0006610925775021315,
-0.009086936712265015,
-0.0026376359164714813,
0.03627591207623482,
0.030313733965158463,
-0.0021785751450806856,
-0.006815202534198761,
0.036473456770181656,
-0.03943658620119095,
0.0447881817817688,
-0.0698939859867096,
-0.05161236226558685,
-0.026596350595355034,
-0.0396161712706089,
0.021190879866480827,
0.01721310056746006,
0.07291099429130554,
-0.047805190086364746,
0.0396161712706089,
0.03911333531141281,
-0.010155459865927696,
0.03681466355919838,
-0.0413401760160923,
-0.01064931508153677,
0.02266346663236618,
-0.03139123693108559,
-0.06051971763372421,
0.022106757387518883,
0.02532130666077137,
0.012912070378661156,
0.0010965830879285932,
0.01860487461090088,
-0.010676252655684948,
-0.0387541688978672,
0.04600935056805611,
0.033546239137649536,
-0.00764128752052784,
-0.019592585042119026,
-0.04313601180911064,
-0.002198778325691819,
-0.030349649488925934,
0.0013322867453098297,
0.030277816578745842,
-0.0494573600590229,
0.019179541617631912,
-0.012059047818183899,
-0.010864815674722195,
0.020292961969971657,
0.02216063253581524,
0.011592130176723003,
0.029361939057707787,
0.010586461052298546,
0.017590226605534554,
0.0722285732626915,
0.0008019536035135388,
0.013738155364990234,
-0.05538362264633179,
-0.010128522291779518,
-0.02199900709092617,
-0.013046758249402046,
-0.0033537261188030243,
0.016126619651913643,
-0.017787767574191093,
0.007758017163723707,
0.01488749124109745,
-0.02102925442159176,
0.03169652819633484,
-0.058436546474695206,
-0.06784673035144806,
-0.07247999310493469,
0.008548185229301453,
0.012247609905898571,
0.010200356133282185,
0.008400028571486473,
0.09898655116558075,
-0.05987321585416794,
0.0004467145190574229,
-0.02086762897670269,
0.020131336525082588,
0.008229424245655537,
-0.0022100021596997976,
-0.010954607278108597,
0.03426457569003105,
0.031175734475255013,
-0.03139123693108559,
-0.009356312453746796,
0.09848371893167496,
-0.03415682539343834,
-0.03219936415553093,
-0.0578259602189064,
0.08397334814071655,
-0.03782033175230026,
0.016000909730792046,
-0.01957462728023529,
-0.033151157200336456,
0.016530681401491165,
0.02582414075732231,
-0.0011409178841859102,
-0.02348955161869526,
0.0000620125065324828,
-0.06515298038721085,
-0.01847916655242443,
0.016530681401491165,
-0.048200272023677826,
-0.03575512021780014,
-0.021675756201148033,
0.0022470413241535425,
-0.029487648978829384,
-0.03385153412818909,
-0.06565581262111664,
0.01217577699571848,
0.03832316771149635,
0.001420956221409142,
0.00423593120649457,
-0.024297678843140602,
0.05915487930178642,
-0.01582132652401924,
0.013720196671783924,
-0.01144846249371767,
0.037892166525125504,
0.010460752062499523,
-0.09467653930187225,
0.01817387342453003,
-0.00044755631824955344,
0.0895763635635376,
0.036473456770181656,
-0.029254188761115074,
0.029361939057707787,
-0.010855836793780327,
-0.040693674236536026,
0.0199337936937809,
-0.054916705936193466,
-0.012059047818183899,
-0.009580791927874088,
-0.0004130425804760307,
0.0004352099495008588,
-0.030726775527000427,
-0.019125666469335556,
-0.008202486671507359,
0.025895973667502403,
0.05103769525885582,
-0.09280887246131897,
-0.03431845083832741,
-0.012903090566396713,
0.02212471514940262,
0.008628997951745987,
0.015354408882558346,
-0.007874746806919575,
0.010263210162520409,
-0.016925767064094543,
-0.014824637211859226,
0.025069888681173325,
0.034480076283216476,
0.028464021161198616,
0.00003067303987336345,
-0.05322861671447754,
0.020562337711453438,
-0.050391193479299545,
0.02063417062163353,
-0.06892423331737518,
-0.08189018070697784,
-0.011646004393696785,
-0.021226797252893448,
0.024369511753320694,
-0.018003268167376518,
-0.004799375310540199,
-0.0051720114424824715,
0.03485720232129097,
0.018461206927895546,
0.0015421753050759435,
0.05735904350876808,
-0.008539206348359585,
0.09201870113611221,
-0.04399801418185234,
-0.049062274396419525,
-0.0028059957548975945,
0.05685620754957199,
0.05599420517683029,
0.08347051590681076,
-0.01741064339876175,
0.0514327809214592,
0.03404907509684563,
-0.04787702113389969,
-0.003944107796996832,
0.03724566474556923,
-0.01490544993430376,
0.05362370237708092,
-0.0026241671293973923,
0.026165349408984184,
0.00745272496715188,
0.014555261470377445,
0.04234584420919418,
0.0016690063057467341,
-0.006249513942748308,
0.03532411903142929,
-0.006200128234922886,
0.01807510294020176,
0.039221085608005524,
-0.0002626412024255842,
-0.008597571402788162,
0.01757226698100567,
0.0042785825207829475,
-0.002469276310876012,
0.006442566402256489,
0.025267431512475014,
0.01847916655242443,
0.0031225120183080435,
-0.0396161712706089,
-0.04248951002955437,
0.0029115010984241962,
0.08275218307971954,
-0.03785625100135803,
0.0022201037500053644,
0.00010010389814851806,
-0.013989572413265705
]
|
40,645 | pyglove.core.symbolic.dict | _sym_nondefault | Returns non-default values as key/value pairs in a dict. | def _sym_nondefault(self) -> typing.Dict[str, Any]:
"""Returns non-default values as key/value pairs in a dict."""
non_defaults = dict()
if self._value_spec is not None and self._value_spec.schema:
dict_schema = self._value_spec.schema
matched_keys, _ = dict_schema.resolve(self.keys())
for key_spec, keys in matched_keys.items():
value_spec = dict_schema[key_spec].value
for key in keys:
diff = self._diff_base(self.sym_getattr(key), value_spec.default)
if pg_typing.MISSING_VALUE != diff:
non_defaults[key] = diff
else:
for k, v in self.sym_items():
if isinstance(v, base.Symbolic):
non_defaults_child = v.sym_nondefault(flatten=False)
if non_defaults_child:
non_defaults[k] = non_defaults_child
else:
non_defaults[k] = v
return non_defaults
| (self) -> Dict[str, Any] | [
0.075284942984581,
-0.05334518104791641,
0.03439553454518318,
-0.018573587760329247,
-0.03490917384624481,
-0.0037330619525164366,
-0.00785593967884779,
-0.029424233362078667,
0.07932069152593613,
-0.010850644670426846,
-0.00028390646912157536,
0.024471275508403778,
-0.00850716233253479,
-0.02548021264374256,
-0.008919908665120602,
0.008851117454469204,
-0.004306321032345295,
0.05147406458854675,
-0.0036092379596084356,
-0.005750933196395636,
0.03995385393500328,
-0.004420972894877195,
-0.05539974197745323,
-0.004324665293097496,
-0.030818399041891098,
-0.0019341754959896207,
-0.016674954444169998,
-0.0334232859313488,
-0.02263684757053852,
0.008924494497478008,
-0.039513591676950455,
0.004437023773789406,
0.0222699623554945,
-0.011116636916995049,
0.05308835953474045,
-0.06636962294578552,
-0.023223863914608955,
0.10316825658082962,
-0.06956152617931366,
-0.035587914288043976,
0.03678029030561447,
-0.021811354905366898,
-0.08093498647212982,
-0.03641340509057045,
-0.005916032008826733,
0.007722944021224976,
0.015207412652671337,
0.015363338403403759,
0.050483472645282745,
-0.00882360152900219,
0.05829813703894615,
-0.010291144251823425,
0.008580539375543594,
0.04134801775217056,
-0.026727622374892235,
-0.041751593351364136,
-0.03421209007501602,
0.056096822023391724,
-0.04758507385849953,
0.017399555072188377,
-0.036248307675123215,
0.02115095965564251,
-0.006966242101043463,
-0.06013256683945656,
-0.010254455730319023,
0.010676373727619648,
0.0454571396112442,
-0.03500089421868324,
-0.008420026861131191,
0.022563470527529716,
-0.0548127219080925,
-0.07579858601093292,
-0.042448677122592926,
-0.009869225323200226,
0.07154271006584167,
-0.08665840327739716,
0.00752574298530817,
-0.04490680992603302,
0.009905913844704628,
-0.05345524474978447,
-0.05606013536453247,
-0.007571603637188673,
-0.07491806149482727,
0.03199243173003197,
-0.010538791306316853,
0.055950067937374115,
0.07025860995054245,
0.027241263538599014,
0.0565003976225853,
0.005200604908168316,
-0.03808273375034332,
-0.015418371185660362,
0.043952908366918564,
0.06541571766138077,
0.005645453929901123,
0.0022483214270323515,
0.005961892660707235,
-0.031350381672382355,
0.0377158485352993,
-0.08687853068113327,
0.02012368105351925,
-0.05672052875161171,
-0.05694065988063812,
-0.029956217855215073,
-0.005287739913910627,
-0.050520159304142,
0.03182733431458473,
-0.05789456516504288,
-0.00896118301898241,
-0.03061661124229431,
-0.0941428691148758,
-0.028873903676867485,
0.025498555973172188,
-0.005948134232312441,
-0.009896742179989815,
0.003964658360928297,
-0.02348068542778492,
0.013996689580380917,
0.04681461676955223,
0.003923384007066488,
-0.07378071546554565,
0.05015327408909798,
-0.009227175265550613,
0.0066681476309895515,
0.011520210653543472,
0.03955027833580971,
0.03439553454518318,
0.0347624197602272,
0.06603942811489105,
0.10911180824041367,
0.048575665801763535,
0.041898347437381744,
-0.027663182467222214,
0.03844962269067764,
-0.02665424533188343,
0.02870880626142025,
0.046044155955314636,
0.04509025067090988,
0.09069414436817169,
0.014547018334269524,
0.06240725889801979,
-0.045677270740270615,
-0.031625546514987946,
0.028672117739915848,
-0.035551223903894424,
0.009584888815879822,
0.021591223776340485,
0.04626428708434105,
-0.04879579693078995,
-0.027112852782011032,
0.03962365537881851,
0.06923133134841919,
-0.044283103197813034,
0.01918812282383442,
-0.009029974229633808,
0.04145808517932892,
0.029277479276061058,
-0.05811469629406929,
-0.03386354818940163,
-0.028451986610889435,
-0.025003260001540184,
-0.004764928016811609,
0.030543234199285507,
-0.04255874082446098,
0.014060894027352333,
0.02133440412580967,
0.05701403692364693,
-0.057160791009664536,
0.07667911052703857,
0.022416716441512108,
-0.03808273375034332,
0.009158384054899216,
-0.005604179110378027,
-0.008484232239425182,
0.07084562629461288,
0.052024390548467636,
0.02913072519004345,
-0.044283103197813034,
-0.005842654965817928,
0.027754902839660645,
0.03645009547472,
-0.016665782779455185,
-0.057857874780893326,
-0.001993794459849596,
0.015968700870871544,
0.01344636082649231,
0.023315586149692535,
-0.010456242598593235,
-0.015042313374578953,
0.009658265858888626,
-0.012263154610991478,
0.02795669063925743,
0.03278123587369919,
0.10045330226421356,
0.01837180182337761,
-0.03320315480232239,
0.053014982491731644,
0.020380500704050064,
-0.04131133109331131,
0.014895559288561344,
-0.021205993369221687,
-0.04417303949594498,
-0.024819817394018173,
0.00741109112277627,
-0.05363868921995163,
-0.05308835953474045,
-0.015189068391919136,
-0.01900467835366726,
-0.02777324803173542,
-0.004196255002170801,
-0.04098113253712654,
-0.005095125176012516,
-0.02852536365389824,
-0.035276059061288834,
-0.02683768980205059,
-0.04457661136984825,
0.05701403692364693,
0.024287832900881767,
-0.06563585251569748,
0.026342393830418587,
0.0006409034831449389,
-0.018802892416715622,
0.04354933276772499,
0.010135217569768429,
0.03254276141524315,
0.008204481564462185,
-0.01052961964160204,
-0.01482218224555254,
-0.013904968276619911,
-0.014134272001683712,
-0.010960710234940052,
-0.015271617099642754,
-0.0753583237528801,
-0.016729988157749176,
0.043255824595689774,
-0.034982550889253616,
0.07242323458194733,
-0.05437245965003967,
0.053381867706775665,
0.035551223903894424,
-0.008768567815423012,
-0.004322372376918793,
-0.016885913908481598,
0.011079948395490646,
-0.016794193536043167,
-0.015794429928064346,
0.020527254790067673,
0.032322630286216736,
0.042228542268276215,
-0.02562696672976017,
0.04699805751442909,
-0.04321913421154022,
0.004448489286005497,
0.029002314433455467,
0.011896268464624882,
-0.0062416428700089455,
-0.0804213434457779,
0.04846560209989548,
0.058188073337078094,
-0.04098113253712654,
0.00884194578975439,
0.051510751247406006,
-0.08695191144943237,
0.024434586986899376,
0.010419554077088833,
-0.02030712366104126,
-0.01922481134533882,
-0.006576426327228546,
-0.01816084235906601,
0.020563943311572075,
0.05495947599411011,
-0.0031024771742522717,
-0.04299900308251381,
-0.055619873106479645,
-0.00829620286822319,
0.06934139877557755,
0.026947755366563797,
-0.023462340235710144,
0.032047465443611145,
-0.03360673040151596,
-0.03311143442988396,
-0.02109592780470848,
0.018986335024237633,
-0.02175632119178772,
0.0329279899597168,
0.044980186969041824,
-0.050300028175115585,
-0.0642416849732399,
0.00873187929391861,
-0.040687624365091324,
0.056977350264787674,
0.06328777968883514,
-0.007466123905032873,
0.026635902002453804,
0.017913194373250008,
0.019261499866843224,
-0.07866029441356659,
-0.06802061200141907,
0.024049358442425728,
0.05639033019542694,
0.024562997743487358,
0.022324994206428528,
0.06442512571811676,
0.045860711485147476,
0.0004322372260503471,
-0.02124268189072609,
0.06959822028875351,
0.011556899175047874,
0.011180841363966465,
0.0022276840172708035,
-0.06787385791540146,
0.018894612789154053,
0.04142139479517937,
0.009704126976430416,
0.01482218224555254,
-0.010997398756444454,
0.004384283907711506,
-0.03611989691853523,
0.042925626039505005,
0.05107048898935318,
-0.021261027082800865,
0.02689272165298462,
-0.10441567003726959,
-0.004948371089994907,
0.002893810858950019,
-0.006310434080660343,
-0.011015743017196655,
0.0014870335580781102,
0.0270211324095726,
0.026947755366563797,
0.02236168272793293,
-0.034615665674209595,
-0.04387953132390976,
0.028085099533200264,
-0.00975915975868702,
0.009181315079331398,
0.020472222939133644,
-0.015574297867715359,
-0.023774193599820137,
-0.01855524443089962,
-0.03859637677669525,
-0.015702707692980766,
0.028727149590849876,
-0.06490208208560944,
-0.042081788182258606,
-0.02913072519004345,
0.016849225386977196,
-0.03907332569360733,
-0.003157509956508875,
0.014950592070817947,
-0.016445651650428772,
0.06695663928985596,
-0.032230909913778305,
0.055436428636312485,
0.021829698234796524,
0.015317478217184544,
0.0009154944564215839,
0.003673443105071783,
-0.0051272278651595116,
-0.024214455857872963,
0.05550980567932129,
0.0540422648191452,
-0.02931416779756546,
0.005241879262030125,
0.07697261869907379,
-0.028837215155363083,
0.03329487890005112,
0.011804547160863876,
-0.040357425808906555,
-0.0608663372695446,
-0.020178712904453278,
0.0008455569040961564,
-0.008663089014589787,
-0.07025860995054245,
0.030194692313671112,
0.011190013960003853,
-0.011685309931635857,
-0.0027997964061796665,
-0.014803837984800339,
-0.035165995359420776,
0.009474823251366615,
-0.02940588817000389,
-0.01388662401586771,
0.05943548306822777,
0.005145572125911713,
-0.02054559998214245,
0.04288893938064575,
0.029515953734517097,
0.021261027082800865,
-0.020105335861444473,
-0.0062599871307611465,
-0.04079768806695938,
-0.01589532382786274,
0.045530516654253006,
0.021077582612633705,
-0.051694195717573166,
-0.012024679221212864,
-0.03481745347380638,
-0.05096042528748512,
-0.002831899095326662,
0.011575243435800076,
0.003035979112610221,
0.0020981275010854006,
-0.012657556682825089,
0.005521629936993122,
-0.04288893938064575,
0.020839108154177666,
-0.007135926745831966,
0.0008317986503243446,
0.020178712904453278,
0.007250578608363867,
0.015326649881899357,
0.011382629163563251,
-0.0582614503800869,
0.04659448564052582,
-0.01465708389878273,
0.02474644035100937,
0.04850228875875473,
0.0376424714922905,
-0.014831354841589928,
0.005792208015918732,
-0.061783552169799805,
0.03800935670733452,
0.06141666695475578,
0.0402473621070385,
0.03874313086271286,
0.008076071739196777,
-0.057344235479831696,
-0.034982550889253616,
0.03544116020202637,
0.023443996906280518,
0.001985768787562847,
0.00044026284012943506,
-0.015913667157292366,
0.03057992272078991,
-0.028818871825933456,
0.02762649394571781,
-0.05092373490333557,
-0.00884194578975439,
0.04831884801387787,
-0.063324473798275,
0.029570987448096275,
-0.013914139941334724,
0.042228542268276215,
0.034890830516815186,
0.00351293059065938,
-0.008938252925872803,
0.034010306000709534,
0.03100184164941311,
0.03243269398808479,
-0.029681053012609482,
-0.07359727472066879,
0.10324163734912872,
-0.033019714057445526,
-0.03467069938778877,
0.04509025067090988,
-0.036908701062202454,
0.011492694728076458,
0.024471275508403778,
0.004709895234555006,
0.04501687362790108,
0.022948700934648514,
-0.025975506752729416,
0.006851590238511562,
-0.0008323719375766814,
0.05470265820622444,
-0.011685309931635857,
-0.030213037505745888,
-0.03235931694507599,
0.010419554077088833,
0.018243391066789627,
0.007342299912124872,
0.03670691326260567,
-0.06912126392126083,
-0.03696373477578163,
-0.031075218692421913,
-0.0018413076177239418,
0.00505385035648942,
-0.03544116020202637,
-0.05943548306822777,
-0.02665424533188343,
0.00631501991301775,
-0.04527369514107704,
-0.04219185560941696,
0.030121315270662308,
0.026012195274233818,
-0.009199659340083599,
-0.023590750992298126,
-0.04013729467988014,
0.0403207391500473,
-0.00554456003010273,
0.009630749933421612,
0.0008558755507692695,
0.02445293217897415,
0.01661992259323597,
0.0047007231041789055,
0.026067228987812996,
-0.0270211324095726,
0.05323511362075806,
-0.026360737159848213,
-0.015500920824706554,
-0.002328577684238553,
-0.03681698068976402,
0.07352389395236969,
-0.02203148603439331,
-0.042411986738443375,
-0.07128588855266571,
-0.002616353565827012,
-0.005971064791083336,
-0.03158885985612869,
-0.0007360644522123039,
-0.02828688733279705,
0.06556247174739838,
-0.018472695723176003,
0.02082076296210289,
-0.03369845077395439,
0.0403207391500473,
-0.02834192104637623,
0.028598740696907043,
-0.02124268189072609,
-0.006342536304146051,
-0.01559264212846756,
-0.023792536929249763,
0.006016925442963839,
-0.01174034271389246,
0.04021067172288895,
-0.022765258327126503,
-0.00674611097201705,
0.010098529048264027,
-0.03626665100455284,
0.04131133109331131,
0.002726419363170862,
0.022948700934648514,
0.047034747898578644,
-0.022380027920007706,
0.019866861402988434,
0.060572829097509384,
0.008126518689095974,
-0.08181551098823547,
0.030800053849816322,
0.04131133109331131,
0.04083437845110893,
0.03314812108874321,
0.018454350531101227,
0.042265232652425766,
0.007301025558263063,
-0.0334232859313488,
0.03456063196063042,
-0.009814192540943623,
-0.023609094321727753,
0.004005933180451393,
0.00045029487228021026,
0.014968936331570148,
-0.006177437957376242,
-0.03804604709148407,
-0.01421682070940733,
0.02795669063925743,
0.037275586277246475,
0.0000013973185559734702,
0.0049437847919762135,
0.025315113365650177,
-0.01983017288148403,
0.03628499433398247,
-0.05848158150911331,
-0.010392037220299244,
0.017959054559469223,
-0.0351843386888504,
0.026158951222896576,
-0.013006097637116909,
0.08812594413757324,
-0.0411645770072937,
0.002900690073147416,
0.075284942984581,
-0.0058747571893036366,
0.037092145532369614,
0.0017472931649535894,
-0.006388397421687841,
0.003331780666485429,
-0.06787385791540146,
-0.03837624564766884,
0.023223863914608955,
0.05000652000308037,
0.01716107875108719,
-0.028507018461823463,
0.02762649394571781,
-0.015225756913423538,
-0.030414825305342674,
0.03608321025967598,
0.008089829236268997,
-0.02109592780470848,
-0.03925677016377449,
0.04013729467988014,
-0.015766913071274757,
-0.025003260001540184,
-0.04971301183104515,
0.001851626206189394,
-0.04233860969543457,
0.02837860956788063,
0.012217293493449688,
0.01134594064205885,
-0.014767149463295937,
0.014170960523188114,
0.019995270296931267,
0.05455590412020683,
0.010052667930722237,
-0.007080893963575363,
0.0755050778388977,
-0.030873430892825127,
0.030543234199285507,
-0.04729156568646431,
-0.02516835927963257,
-0.01628972589969635,
-0.0009848588379099965,
-0.004285683389753103,
0.014391091652214527,
-0.014978108927607536,
0.0003671723243314773,
0.012951064854860306,
-0.03345997631549835,
-0.0038064392283558846,
-0.05297829583287239,
-0.02390260249376297,
-0.06053613871335983,
0.00206258543767035,
-0.0008283591014333069,
-0.011024915613234043,
0.0012772207846865058,
0.10536957532167435,
-0.028653772547841072,
0.02670927904546261,
0.004874993581324816,
0.0082319974899292,
0.0012497043935582042,
0.005558318458497524,
-0.01519824005663395,
0.017151907086372375,
0.03309309110045433,
-0.028066756203770638,
-0.021866386756300926,
0.10133382678031921,
-0.012850171886384487,
-0.030634956434369087,
0.01634475775063038,
0.06504883617162704,
-0.03024972602725029,
0.0031735613010823727,
0.019298188388347626,
-0.026103917509317398,
0.011309252120554447,
0.025461867451667786,
-0.026819344609975815,
-0.023352274671196938,
-0.0012990046525374055,
-0.06919464468955994,
-0.05448252707719803,
0.022618504241108894,
-0.015620158985257149,
-0.044833432883024216,
-0.007929316721856594,
-0.03057992272078991,
-0.05947217345237732,
-0.03958696871995926,
-0.06750696897506714,
0.014271853491663933,
0.028635429218411446,
-0.00068561767693609,
-0.015225756913423538,
0.007773390971124172,
0.046007465571165085,
-0.053712066262960434,
0.045677270740270615,
0.0044393171556293964,
0.01617048680782318,
0.002896104007959366,
-0.06732352823019028,
0.024214455857872963,
-0.003739941166713834,
0.09707795828580856,
0.031717266887426376,
-0.038302868604660034,
0.05433577299118042,
-0.020508911460638046,
-0.04336588829755783,
0.012795139104127884,
-0.053712066262960434,
-0.02674596756696701,
-0.004432437941431999,
-0.015629330649971962,
0.013006097637116909,
-0.02091248519718647,
0.005746347364038229,
-0.016418134793639183,
0.025828752666711807,
0.04373277351260185,
-0.09047401696443558,
-0.024709751829504967,
-0.022068174555897713,
0.01834428496658802,
0.010428725741803646,
0.025792064145207405,
0.0016314948443323374,
0.00871812179684639,
-0.020508911460638046,
-0.006888279225677252,
0.03245104104280472,
0.00023661261366214603,
0.02036215551197529,
-0.027332983911037445,
-0.015079001896083355,
0.029589330777525902,
-0.027663182467222214,
0.05000652000308037,
-0.05723416805267334,
-0.07143264263868332,
-0.029717741534113884,
-0.0028066756203770638,
-0.027571460232138634,
-0.02632404863834381,
-0.028837215155363083,
0.004714481066912413,
0.006292089819908142,
-0.027809936553239822,
-0.01565684750676155,
0.060426075011491776,
0.006512220948934555,
0.05536305159330368,
-0.05224452540278435,
-0.03538612648844719,
0.015060657635331154,
0.047548387199640274,
0.05345524474978447,
0.05587669089436531,
-0.010245283134281635,
0.016509857028722763,
0.0024168596137315035,
-0.04417303949594498,
0.04145808517932892,
-0.007044205442070961,
-0.029479265213012695,
0.03226759657263756,
-0.010639685206115246,
0.042228542268276215,
0.0070304470136761665,
0.05668384209275246,
0.031808990985155106,
-0.020343812182545662,
0.004159566480666399,
0.02979111857712269,
0.0269844438880682,
0.01761968620121479,
0.010144389234483242,
0.020563943311572075,
-0.004365939646959305,
-0.02837860956788063,
0.011162497103214264,
-0.007310197688639164,
0.018894612789154053,
0.018114982172846794,
0.016454823315143585,
0.01365732029080391,
-0.018692826852202415,
-0.03966034576296806,
-0.00973164290189743,
0.051143866032361984,
-0.04677792638540268,
-0.01861944980919361,
0.014345230534672737,
-0.029607675969600677
]
|
40,646 | pyglove.core.symbolic.dict | _sym_parent_for_children | null | def _sym_parent_for_children(self) -> Optional[base.Symbolic]:
if self._as_object_attributes_container:
return self.sym_parent
return self
| (self) -> Optional[pyglove.core.symbolic.base.Symbolic] | [
0.05564844608306885,
-0.04839145019650459,
0.05324091017246246,
0.033946242183446884,
-0.034066617488861084,
0.009965474717319012,
0.059294141829013824,
0.0797237977385521,
0.07332663238048553,
-0.005107413046061993,
0.013422006741166115,
-0.029561087489128113,
0.036972854286432266,
0.0022850085515528917,
-0.02077358588576317,
0.009750516153872013,
0.0015337286749854684,
0.009690327569842339,
-0.024178527295589447,
0.00043797786929644644,
0.01717088185250759,
-0.0025709031615406275,
0.007235501892864704,
-0.09692046791315079,
-0.04598391428589821,
0.05478861182928085,
0.0019754683598876,
0.0474628284573555,
-0.05974125489592552,
-0.03520159795880318,
0.003766072215512395,
0.021839778870344162,
-0.0066164215095341206,
-0.01881316490471363,
0.07483993470668793,
0.0477035827934742,
-0.046774961054325104,
0.062183182686567307,
0.010489973239600658,
-0.02514154091477394,
-0.0008845540578477085,
0.006891568191349506,
-0.016534604132175446,
-0.022682417184114456,
-0.017678184434771538,
0.041891105473041534,
0.019913751631975174,
0.012931901030242443,
0.07401449978351593,
-0.02355944737792015,
0.06407482177019119,
-0.0025730528868734837,
0.01023202296346426,
-0.011917296797037125,
-0.05251865088939667,
0.015115879476070404,
-0.005722194444388151,
-0.026035768911242485,
-0.024316100403666496,
-0.018538018688559532,
0.03783268854022026,
0.005098814610391855,
0.006496044807136059,
-0.021444255486130714,
0.0012736289063468575,
-0.021048732101917267,
0.03975871577858925,
-0.03817662224173546,
-0.025760622695088387,
0.03265649080276489,
-0.07373934984207153,
-0.08495158702135086,
-0.03958674892783165,
0.014496798627078533,
0.028082173317670822,
-0.10496851801872253,
0.004383002873510122,
-0.022854384034872055,
0.043679557740688324,
-0.06878671050071716,
-0.06950896978378296,
0.010842504911124706,
-0.062045611441135406,
-0.007686914410442114,
-0.029440710321068764,
0.03296602889895439,
0.06803005188703537,
0.05258743837475777,
-0.012587967328727245,
0.0019991137087345123,
-0.03494364768266678,
0.012949097901582718,
0.021444255486130714,
0.05059262365102768,
0.046774961054325104,
0.04447060823440552,
0.018434837460517883,
-0.03621620312333107,
0.032432932406663895,
-0.016121884807944298,
0.0063842665404081345,
0.04467696696519852,
-0.002656886586919427,
0.006620720494538546,
-0.013886316679418087,
0.04402349144220352,
-0.010610349476337433,
-0.029027990996837616,
0.049698397517204285,
-0.03594105318188667,
-0.07477115094661713,
-0.009019657038152218,
0.007661119569092989,
0.05798719450831413,
-0.008585440926253796,
-0.04061855003237724,
-0.037110429257154465,
0.005343867465853691,
0.032553307712078094,
-0.04051537066698074,
-0.04068733751773834,
0.03358510881662369,
-0.011298216879367828,
-0.03453092649579048,
-0.0015788698801770806,
0.057368114590644836,
0.019999735057353973,
-0.019346261397004128,
-0.038658130913972855,
0.004823667928576469,
0.07160696387290955,
-0.00043636569171212614,
0.012192443944513798,
-0.023232711479067802,
-0.0061349146999418736,
0.021513042971491814,
0.05165881663560867,
0.02839171327650547,
-0.08054923266172409,
0.012029075995087624,
0.05004233121871948,
-0.008099635131657124,
-0.012089263647794724,
-0.0032544711139053106,
-0.07050637900829315,
0.03993068262934685,
-0.02993941493332386,
0.011495978571474552,
-0.06520979851484299,
-0.019483834505081177,
-0.04471135884523392,
-0.017729774117469788,
0.05815916135907173,
0.05712736025452614,
-0.02551986835896969,
0.02029207907617092,
-0.07250119000673294,
0.008293097838759422,
0.000060692178522003815,
-0.04436742514371872,
-0.013439202681183815,
-0.008933673612773418,
-0.007063535042107105,
-0.07208847254514694,
-0.013396210968494415,
-0.040274616330862045,
-0.014677363447844982,
-0.05544208735227585,
0.029457908123731613,
0.04398909956216812,
-0.02037806250154972,
-0.004527025390416384,
-0.010567357763648033,
0.014023889787495136,
-0.062183182686567307,
0.04113445058465004,
0.05337848514318466,
0.011427192017436028,
-0.004866659641265869,
0.03931160271167755,
0.05344727262854576,
-0.008916476741433144,
-0.014703159220516682,
0.03002539835870266,
0.08481401205062866,
0.01879596710205078,
0.016061697155237198,
-0.0025537065230309963,
0.08907878398895264,
-0.0001703545858617872,
-0.05557965859770775,
0.06833959370851517,
0.008512355387210846,
0.004535623360425234,
0.007390271872282028,
-0.033997830003499985,
0.041856713593006134,
-0.003667191369459033,
-0.07105667144060135,
0.003028764622285962,
-0.0159069262444973,
-0.01502129714936018,
-0.016672179102897644,
-0.007373075466603041,
-0.024505265057086945,
0.049939148128032684,
-0.023335890844464302,
0.018417641520500183,
-0.06520979851484299,
0.04856341704726219,
-0.04237261041998863,
0.018039314076304436,
0.003963834140449762,
-0.020206095650792122,
-0.0317450650036335,
-0.04288851097226143,
-0.02517593465745449,
0.0009184100199490786,
-0.015322239138185978,
0.00024532133829779923,
-0.02024048939347267,
0.0020936953369528055,
0.019329065456986427,
-0.00938078761100769,
-0.03917403146624565,
-0.0626646876335144,
-0.00628108624368906,
-0.0014208754291757941,
0.025640245527029037,
-0.003555412869900465,
0.005425551440566778,
-0.04065294563770294,
-0.005447047296911478,
-0.04536483436822891,
0.009888089261949062,
-0.0479099415242672,
-0.0074934521690011024,
0.036972854286432266,
-0.04140959680080414,
0.015090083703398705,
-0.02976744808256626,
-0.011255225166678429,
0.013103867881000042,
0.05176199600100517,
0.001170448842458427,
0.005696399137377739,
0.0627678707242012,
-0.00475918035954237,
0.004625906236469746,
-0.010335203260183334,
0.07043758779764175,
-0.05726493522524834,
-0.019243082031607628,
-0.013060876168310642,
0.03515000641345978,
-0.057540081441402435,
-0.013808931224048138,
0.0018712134333327413,
0.02498677186667919,
0.013937906362116337,
-0.012373008765280247,
0.06496904790401459,
0.041753530502319336,
-0.016061697155237198,
-0.034186992794275284,
0.031143182888627052,
-0.012914704158902168,
-0.03628498688340187,
-0.10937086492776871,
0.00509451562538743,
0.012115058489143848,
-0.027463093400001526,
-0.005554526578634977,
0.014023889787495136,
0.016844145953655243,
-0.0469813197851181,
-0.029131170362234116,
0.02498677186667919,
-0.028684057295322418,
-0.021616222336888313,
0.005619014147669077,
0.0010919889900833368,
0.0080480445176363,
0.01895073801279068,
-0.031022805720567703,
-0.004982737358659506,
-0.024281708523631096,
-0.043266840279102325,
-0.004230382386595011,
-0.007665418554097414,
0.024660034105181694,
0.03800465539097786,
-0.02190856635570526,
-0.0021549586672335863,
0.05196835845708847,
-0.0072441003285348415,
-0.014642970636487007,
-0.003445784095674753,
0.029612677171826363,
-0.009294804185628891,
0.03986189886927605,
0.01268254965543747,
0.06758294254541397,
0.030764855444431305,
-0.03597544878721237,
0.04588073492050171,
0.045089688152074814,
0.03673210367560387,
-0.005386859178543091,
0.0072441003285348415,
-0.031143182888627052,
0.04828827083110809,
0.01269974559545517,
0.010214826092123985,
-0.030283348634839058,
-0.014909518882632256,
0.035287581384181976,
-0.07532144337892532,
0.03948356956243515,
0.0784856304526329,
-0.05224350467324257,
-0.01903672143816948,
-0.043370019644498825,
-0.02214932069182396,
0.000008409409929299727,
0.043266840279102325,
-0.016766760498285294,
-0.01747182384133339,
0.008138326928019524,
0.009965474717319012,
0.00863273162394762,
-0.005786682013422251,
-0.0080050528049469,
-0.032243769615888596,
-0.0158037468791008,
0.02508995123207569,
0.043266840279102325,
0.02355944737792015,
-0.0004635041987057775,
-0.062458332628011703,
0.02337028458714485,
0.005773784127086401,
0.0236798245459795,
0.0033555016852915287,
-0.06476268917322159,
-0.011220831423997879,
0.06758294254541397,
-0.017987724393606186,
0.032278161495923996,
0.014746150933206081,
-0.043335627764463425,
0.07133181393146515,
-0.023181119933724403,
-0.0006663712556473911,
-0.02366262674331665,
0.00558891985565424,
-0.05946610867977142,
0.046465422958135605,
-0.03938039019703865,
0.031641885638237,
0.09072966873645782,
-0.008873485028743744,
-0.02041245624423027,
0.020893963053822517,
-0.06844277679920197,
-0.02189137041568756,
-0.003761772997677326,
0.035631515085697174,
0.0060618286952376366,
-0.03649134933948517,
-0.025760622695088387,
0.0053825597278773785,
0.02973305433988571,
-0.05698978900909424,
-0.023937774822115898,
0.09169267863035202,
0.02524472214281559,
-0.002663335297256708,
0.06569130718708038,
-0.06751415133476257,
0.013628366403281689,
-0.02206333726644516,
-0.0031362439040094614,
0.0234390702098608,
-0.021341076120734215,
-0.024006560444831848,
0.05798719450831413,
-0.040137045085430145,
0.05379120633006096,
-0.0031190472654998302,
0.004363656975328922,
-0.038726918399333954,
0.033688291907310486,
0.026138948276638985,
0.012226837687194347,
-0.016328245401382446,
0.006732499226927757,
0.002534360159188509,
-0.020842373371124268,
-0.009320599026978016,
0.025674639269709587,
-0.048219483345746994,
0.030696067959070206,
-0.04051537066698074,
0.011186438612639904,
-0.0635245218873024,
0.02068760246038437,
0.013215646147727966,
-0.009217418730258942,
-0.021358272060751915,
-0.021358272060751915,
-0.044986508786678314,
-0.0012338615488260984,
-0.013000687584280968,
-0.005593219306319952,
-0.0633869543671608,
0.08522672951221466,
0.06854595243930817,
0.06197682395577431,
-0.03958674892783165,
-0.008529551327228546,
-0.001631534774787724,
-0.0028976399917155504,
0.0035855071619153023,
0.02073919214308262,
0.019741784781217575,
-0.0024827702436596155,
0.009131435304880142,
-0.02679242193698883,
0.011771125718951225,
-0.03490925580263138,
0.018520820885896683,
0.06434996426105499,
0.0032351247500628233,
-0.001674526371061802,
0.030885232612490654,
0.005425551440566778,
-0.02674083225429058,
-0.07490872591733932,
0.05630192160606384,
0.01917429454624653,
0.0003407091717235744,
-0.09169267863035202,
0.012940499000251293,
0.047566007822752,
0.06128895655274391,
0.017987724393606186,
0.0625959038734436,
-0.003699435153976083,
0.021599026396870613,
0.013146859593689442,
-0.07649081945419312,
0.04206307232379913,
-0.01407548040151596,
-0.08474522083997726,
0.0005218116566538811,
0.052725013345479965,
-0.006573429796844721,
-0.0016272355569526553,
-0.011960288509726524,
-0.037419967353343964,
0.02856368012726307,
0.09217418730258942,
-0.029045186936855316,
-0.06864913552999496,
0.0469125360250473,
0.006285385228693485,
-0.0238517913967371,
-0.022802794352173805,
-0.04550240561366081,
0.07236361503601074,
0.010567357763648033,
0.011427192017436028,
-0.031865444034338,
-0.008370482362806797,
-0.055992379784584045,
-0.024402083829045296,
-0.062458332628011703,
-0.034049421548843384,
-0.06448753923177719,
-0.07353299111127853,
-0.0015229807468131185,
0.0031985819805413485,
-0.04082491248846054,
0.024298904463648796,
-0.009372188709676266,
0.007600931450724602,
-0.03931160271167755,
0.0008979889680631459,
0.0029384822119027376,
-0.013783136382699013,
0.08302555978298187,
-0.023060744628310204,
0.06434996426105499,
0.030541298910975456,
0.055786021053791046,
0.03604423627257347,
-0.05795280262827873,
0.0117195351049304,
-0.027841420844197273,
-0.008099635131657124,
0.02834012359380722,
0.011427192017436028,
0.013232843019068241,
0.00006334557110676542,
-0.008490859530866146,
-0.08646488934755325,
-0.04419545829296112,
-0.0319686233997345,
0.04536483436822891,
0.05719614773988724,
-0.017815757542848587,
0.03686967492103577,
-0.040171436965465546,
-0.03296602889895439,
0.043438807129859924,
0.01576935313642025,
0.0238517913967371,
0.0314011313021183,
-0.039965078234672546,
0.011057463474571705,
-0.04636223986744881,
-0.008882083930075169,
-0.05155563727021217,
0.0010382493492215872,
-0.009312000125646591,
0.011023069731891155,
0.008310293778777122,
-0.008516654372215271,
-0.03265649080276489,
0.0313495434820652,
-0.03470289334654808,
-0.07012804597616196,
0.06730779260396957,
-0.031641885638237,
0.013198449276387691,
-0.018194084987044334,
0.028735646978020668,
-0.021736599504947662,
-0.019191492348909378,
0.0004471135907806456,
0.011659347452223301,
0.032398540526628494,
0.03827980160713196,
0.024316100403666496,
-0.027531879022717476,
-0.026087358593940735,
-0.014668765477836132,
-0.030541298910975456,
0.03628498688340187,
0.0034479338210076094,
0.0042583271861076355,
0.018383247777819633,
-0.0016401330940425396,
0.012863114476203918,
0.029509497806429863,
0.05017990246415138,
0.02543388493359089,
-0.008177019655704498,
0.010017064400017262,
0.05492618680000305,
0.03583787381649017,
0.052862584590911865,
-0.09808984398841858,
0.0467405691742897,
-0.032329753041267395,
0.01023202296346426,
-0.0012166649103164673,
0.06008518859744072,
0.0796550065279007,
-0.0236970204859972,
0.00430561788380146,
0.002828853437677026,
0.022441662847995758,
0.05169321224093437,
0.016672179102897644,
-0.03459971398115158,
0.03355071693658829,
-0.0633181631565094,
-0.024333298206329346,
0.038417376577854156,
-0.02533070556819439,
-0.00625959038734436,
0.010610349476337433,
-0.005636211019009352,
0.003723080502822995,
0.005614715162664652,
0.07442721724510193,
-0.0637996718287468,
-0.029698660597205162,
-0.017059102654457092,
-0.02674083225429058,
-0.017729774117469788,
0.024419281631708145,
0.009638737887144089,
-0.005975845269858837,
-0.04065294563770294,
-0.014797740615904331,
0.02534790150821209,
0.03184824436903,
-0.014436610043048859,
-0.004198138602077961,
0.032123394310474396,
0.06448753923177719,
0.04887295514345169,
-0.01107466034591198,
0.003772520925849676,
-0.019844966009259224,
-0.056370705366134644,
-0.06572569906711578,
0.022682417184114456,
0.0006599224871024489,
0.01424744725227356,
-0.03628498688340187,
-0.06655114144086838,
-0.05337848514318466,
-0.026018572971224785,
0.011659347452223301,
-0.007024842780083418,
-0.03745436295866966,
-0.005223490763455629,
-0.047566007822752,
-0.03597544878721237,
-0.009604344144463539,
-0.05698978900909424,
0.059294141829013824,
0.03444494307041168,
0.00746765686199069,
0.005361063871532679,
0.01888195052742958,
0.04140959680080414,
-0.000555130245629698,
-0.008473662659525871,
-0.033602308481931686,
-0.006706703919917345,
0.01336181815713644,
0.016121884807944298,
-0.004892454482614994,
-0.02863246761262417,
0.03587226942181587,
-0.03279406204819679,
-0.04557119309902191,
-0.026173342019319534,
0.05709296837449074,
-0.055992379784584045,
-0.013439202681183815,
0.022390073165297508,
0.02373141422867775,
-0.05557965859770775,
-0.02048124186694622,
-0.022854384034872055,
-0.017815757542848587,
-0.03012857772409916,
-0.07160696387290955,
0.07298269867897034,
-0.02032647281885147,
-0.025846606120467186,
-0.021358272060751915,
-0.018348854035139084,
-0.023095136508345604,
0.03738557547330856,
-0.04130641743540764,
-0.028924809768795967,
0.04278533160686493,
0.038382984697818756,
0.005997341126203537,
-0.004223933909088373,
-0.03324117511510849,
0.032398540526628494,
-0.01274273730814457,
-0.022579235956072807,
0.009011059068143368,
-0.05093655735254288,
-0.0021280888468027115,
-0.030541298910975456,
-0.011057463474571705,
0.02698158659040928,
0.04852902144193649,
0.05987882986664772,
-0.003884299425408244,
-0.03007698804140091,
-0.011891501955688,
0.010489973239600658,
0.016147680580615997,
0.010532964952290058,
0.009406582452356815,
0.0474628284573555,
0.009793507866561413,
0.027531879022717476,
-0.07704111188650131,
0.020893963053822517,
-0.03766072168946266,
0.08667125552892685,
0.044883325695991516,
0.002891191281378269,
0.011573364026844501,
-0.03286284953355789,
-0.004922548774629831,
0.0028052078559994698,
0.02692999690771103,
0.060910630971193314,
0.0042626261711120605,
0.01742883212864399,
-0.021478649228811264,
0.046671781688928604,
-0.023232711479067802,
0.027445895597338676,
0.05103973671793938,
0.018366051837801933,
0.048116303980350494,
-0.019483834505081177,
-0.01095428317785263,
-0.014462404884397984,
-0.06029155105352402,
-0.012046271935105324,
0.000859833846334368,
0.021839778870344162,
0.002074349205940962,
-0.008250106126070023,
-0.00869721919298172,
-0.014961108565330505,
0.002852498786523938,
0.0797925814986229,
0.03496084362268448,
0.03294883295893669,
0.04137520492076874,
0.02997380867600441,
-0.013043679296970367,
-0.02667204663157463,
0.041925497353076935,
-0.035390760749578476,
0.038761310279369354,
-0.02063601277768612,
0.0035640113055706024,
0.03666331619024277,
0.002435479313135147,
0.019672999158501625,
0.007583734579384327,
-0.08302555978298187,
0.0011672244872897863,
-0.0022097730543464422,
0.015356632880866528,
-0.03934599831700325,
0.026465686038136482,
0.035459548234939575,
0.013791735284030437,
-0.04928567633032799,
0.03766072168946266,
0.04113445058465004,
-0.005120310466736555,
0.012940499000251293,
0.02993941493332386,
0.06548494845628738,
0.016586195677518845,
-0.043679557740688324,
0.031435526907444,
-0.046499814838171005,
0.02815096080303192,
0.022493254393339157,
0.0064917453564703465,
-0.017781363800168037,
-0.03938039019703865,
-0.01747182384133339,
0.05809037387371063,
-0.008873485028743744,
-0.024144135415554047,
-0.010747923515737057,
0.017024710774421692
]
|
40,647 | pyglove.core.symbolic.dict | _sym_rebind | Subclass specific rebind implementation. | def _sym_rebind(
self, path_value_pairs: typing.Dict[object_utils.KeyPath, Any]
) -> List[base.FieldUpdate]:
"""Subclass specific rebind implementation."""
updates = []
for k, v in path_value_pairs.items():
update = self._set_item_of_current_tree(k, v)
if update is not None:
updates.append(update)
return updates
| (self, path_value_pairs: Dict[pyglove.core.object_utils.value_location.KeyPath, Any]) -> List[pyglove.core.symbolic.base.FieldUpdate] | [
0.05379684269428253,
-0.03256598114967346,
-0.09780590236186981,
0.0033555557020008564,
-0.061209652572870255,
-0.011928865686058998,
-0.005334703717380762,
0.035912543535232544,
0.06880238652229309,
-0.00217931205406785,
-0.005892463494092226,
-0.015446350909769535,
0.06444825977087021,
0.028175871819257736,
-0.020367233082652092,
-0.02288614958524704,
0.006787578575313091,
0.03101864829659462,
-0.040734466165304184,
-0.04375716671347618,
0.01946762017905712,
-0.001122266985476017,
0.0287336315959692,
0.006594161503016949,
-0.015536312945187092,
-0.009877747856080532,
0.030460888519883156,
0.04980256408452988,
0.05851081386208534,
-0.005815996788442135,
-0.013395234011113644,
0.0013730339705944061,
-0.00973381008952856,
0.011146202683448792,
0.07794245332479477,
-0.036668214946985245,
-0.03269192948937416,
0.043397318571805954,
0.00934697687625885,
-0.036182425916194916,
0.06905427575111389,
0.0051772715523839,
-0.054480548948049545,
-0.021806614473462105,
0.08744236081838608,
0.08175680786371231,
-0.0373879075050354,
0.067722849547863,
0.07887804508209229,
-0.008483348414301872,
-0.0015068514039739966,
-0.007840124890208244,
0.001143070519901812,
0.024847304448485374,
0.02655656822025776,
0.03395138680934906,
0.04713970795273781,
0.06621149927377701,
0.01971951127052307,
-0.04195794090628624,
0.03396937996149063,
-0.043793149292469025,
-0.03609246388077736,
-0.040230683982372284,
-0.022670241072773933,
-0.024739351123571396,
-0.005204259883612394,
-0.05221352353692055,
-0.007718677632510662,
-0.01595013402402401,
-0.07142925262451172,
-0.012441644445061684,
-0.03238606080412865,
-0.05250140279531479,
0.009994697757065296,
0.03377146273851395,
0.0421738475561142,
0.02619672380387783,
0.026088770478963852,
-0.06599559634923935,
-0.041885972023010254,
-0.02518915757536888,
-0.019809473305940628,
-0.009985702112317085,
-0.09456729143857956,
0.05710741877555847,
0.0270963367074728,
-0.008870181627571583,
0.025261126458644867,
-0.019809473305940628,
-0.033879417926073074,
0.0017519958782941103,
-0.04145415499806404,
0.05966231971979141,
0.020187310874462128,
-0.04382913559675217,
-0.028661662712693214,
-0.09996496886014938,
-0.04872302711009979,
0.019899435341358185,
0.03128853067755699,
-0.05390479788184166,
-0.03332165628671646,
-0.011991837993264198,
0.017344534397125244,
-0.04663592576980591,
-0.0095358956605196,
-0.0347430445253849,
-0.012864463031291962,
-0.006346768233925104,
-0.03161239251494408,
0.03206219896674156,
0.0574672631919384,
0.02085302397608757,
-0.04746356979012489,
0.026520583778619766,
-0.006913524121046066,
-0.010705391876399517,
0.08046136796474457,
-0.010588441975414753,
-0.009144564159214497,
-0.005285224877297878,
-0.006099374499171972,
0.0373879075050354,
0.016256002709269524,
0.0411662794649601,
0.028247840702533722,
0.04695978760719299,
-0.0047994339838624,
-0.018999822437763214,
-0.02531510405242443,
-0.012765505351126194,
-0.022796187549829483,
0.019773488864302635,
0.05081012845039368,
-0.033627524971961975,
-0.008483348414301872,
-0.008181978017091751,
-0.0210869237780571,
0.019035806879401207,
0.0056450702250003815,
0.008195471949875355,
0.01997140422463417,
0.04742758721113205,
0.030694788321852684,
-0.0059239501133561134,
-0.004261915571987629,
0.09154459834098816,
-0.054984331130981445,
0.015086506493389606,
-0.04987453296780586,
0.03369949385523796,
0.06290092319250107,
0.08420375734567642,
-0.0549483485519886,
0.07405612617731094,
-0.061461545526981354,
-0.014375812374055386,
-0.005663062445819378,
-0.001154877943918109,
-0.019881442189216614,
-0.02464938908815384,
-0.0034792523365467787,
-0.039870839565992355,
0.01647190935909748,
-0.006432231515645981,
-0.021518737077713013,
-0.06664331257343292,
-0.01997140422463417,
0.05591993033885956,
0.013269288465380669,
-0.04249770566821098,
-0.01442079246044159,
0.02009734883904457,
0.07873410731554031,
-0.012378672137856483,
0.007840124890208244,
-0.037819720804691315,
0.03164837881922722,
0.006909026298671961,
-0.009445934556424618,
-0.03810759633779526,
-0.01259457878768444,
0.014717664569616318,
0.00940994918346405,
0.09780590236186981,
-0.003177882172167301,
0.021536730229854584,
0.04224581643939018,
0.05099005252122879,
0.004261915571987629,
-0.01125415600836277,
0.05455251783132553,
-0.012333691120147705,
0.014321835711598396,
0.014870598912239075,
-0.0030609325040131807,
0.02655656822025776,
-0.0059239501133561134,
0.07707881927490234,
-0.028391778469085693,
-0.050018470734357834,
0.018711945042014122,
0.03636234998703003,
0.005249240435659885,
0.02288614958524704,
0.03648829460144043,
-0.034886982291936874,
0.012117784470319748,
0.012144772335886955,
0.0180012509226799,
0.00929300021380186,
0.011596008203923702,
-0.03396937996149063,
-0.019647542387247086,
0.01609407179057598,
-0.0048309206031262875,
-0.032871849834918976,
0.011299136094748974,
-0.02364182285964489,
0.02045719511806965,
0.053724873811006546,
-0.03792767599225044,
-0.030856717377901077,
0.011479059234261513,
-0.04613214358687401,
-0.061209652572870255,
-0.003272341564297676,
-0.031972236931324005,
-0.015446350909769535,
0.018478047102689743,
0.00008651744428789243,
-0.03539076820015907,
-0.04361322894692421,
0.10018087923526764,
-0.06567173451185226,
0.03051486611366272,
-0.013512183912098408,
0.023174025118350983,
0.027438189834356308,
-0.017065653577446938,
0.024253560230135918,
-0.022544296458363533,
0.008703753352165222,
-0.0373879075050354,
-0.0348689928650856,
0.012162764556705952,
-0.0029079983942210674,
0.007016979623585939,
0.021770630031824112,
0.03602049499750137,
0.013943998143076897,
-0.02848174050450325,
0.044296931475400925,
-0.015446350909769535,
-0.028661662712693214,
-0.03850342705845833,
0.03670420125126839,
0.010264582000672817,
-0.028067918494343758,
-0.005339202005416155,
0.015050522051751614,
-0.036434318870306015,
0.008334912359714508,
-0.0030182008631527424,
0.03699207678437233,
0.057647187262773514,
0.01603109948337078,
-0.046707894653081894,
0.016876734793186188,
0.03925910219550133,
-0.02083503268659115,
-0.053221091628074646,
0.0762871652841568,
-0.03670420125126839,
0.050558239221572876,
0.05541614815592766,
-0.032332081347703934,
-0.03929508477449417,
-0.04260566085577011,
0.03551671281456947,
-0.04919082671403885,
0.02875162474811077,
-0.009967709891498089,
-0.005537116434425116,
0.01758742891252041,
-0.012144772335886955,
0.017578434199094772,
-0.011766934767365456,
0.0008686885703355074,
0.0694860890507698,
0.04789538308978081,
0.05084611475467682,
0.01060643419623375,
0.0404106043279171,
0.023371940478682518,
-0.08470753580331802,
0.0414181724190712,
-0.001360664376989007,
0.021824605762958527,
-0.012693536467850208,
0.032098185271024704,
0.0054921358823776245,
0.020637117326259613,
0.07283265143632889,
-0.05692749470472336,
0.06682323664426804,
0.02542305737733841,
-0.008789217099547386,
0.004212436731904745,
-0.016211021691560745,
0.04947870224714279,
-0.07873410731554031,
0.03321370482444763,
0.02517116628587246,
-0.04562836140394211,
-0.03929508477449417,
0.007831129245460033,
-0.010786357335746288,
0.02923741564154625,
-0.05379684269428253,
-0.022022521123290062,
-0.04929877817630768,
0.016624843701720238,
-0.01590515300631523,
0.028931546956300735,
0.06505999714136124,
-0.007264373358339071,
0.004284405615180731,
-0.012576586566865444,
-0.008649776689708233,
-0.0036434317007660866,
0.01997140422463417,
0.025135179981589317,
0.05070217698812485,
-0.008951147086918354,
0.008694757707417011,
-0.017785344272851944,
-0.013008400797843933,
-0.0354987196624279,
0.017344534397125244,
0.034653082489967346,
-0.03810759633779526,
-0.04501662403345108,
-0.0050153410993516445,
0.007039470132440329,
0.00235023838467896,
0.061713434755802155,
0.040734466165304184,
-0.018352100625634193,
-0.022706225514411926,
-0.032763898372650146,
-0.02389371581375599,
0.052717309445142746,
0.0376397967338562,
-0.01959356665611267,
-0.026340661570429802,
-0.009355972521007061,
0.030173012986779213,
-0.035426750779151917,
0.031846292316913605,
0.002712332410737872,
0.000008947808964876458,
0.009778791107237339,
0.057647187262773514,
-0.016238011419773102,
-0.0599861815571785,
0.01297241635620594,
-0.032350074499845505,
-0.009517903439700603,
-0.035642657428979874,
-0.013782067224383354,
0.036956094205379486,
-0.012234733439981937,
-0.04102234169840813,
0.014411796815693378,
0.044188980013132095,
0.01812719739973545,
-0.010444504208862782,
-0.0386473648250103,
0.05311313644051552,
-0.02187858335673809,
0.058798689395189285,
0.021266845986247063,
0.02455942891538143,
0.0013764075702056289,
0.09859755635261536,
-0.009284003637731075,
0.06002216413617134,
0.010525469668209553,
0.0074128094129264355,
-0.027654096484184265,
-0.041238248348236084,
0.03598451241850853,
-0.03879130259156227,
-0.027492165565490723,
0.030568841844797134,
0.005878969561308622,
-0.0394030399620533,
-0.02720429003238678,
-0.011416085995733738,
-0.02923741564154625,
-0.05214155465364456,
-0.002263650530949235,
0.00025329721393063664,
-0.016624843701720238,
0.012540602125227451,
0.10543461889028549,
-0.029939113184809685,
-0.00896913930773735,
0.007300357799977064,
-0.013008400797843933,
0.03283586725592613,
-0.0294893067330122,
0.020907001569867134,
-0.0005366752739064395,
-0.028553709387779236,
-0.014429789036512375,
0.026790468022227287,
0.07027775049209595,
0.011811915785074234,
-0.014627703465521336,
-0.0652759000658989,
0.02594483271241188,
-0.01130813267081976,
-0.022922134026885033,
0.014897587709128857,
0.026862436905503273,
-0.014654692262411118,
0.057539232075214386,
0.018136193975806236,
0.016795771196484566,
0.00022138908389024436,
-0.020799046382308006,
-0.005069317761808634,
-0.025782901793718338,
0.044045042246580124,
-0.009149061515927315,
0.01455573458224535,
0.011488054879009724,
-0.0388992577791214,
-0.00000527116844750708,
0.027690080925822258,
-0.06462818384170532,
0.0062613049522042274,
-0.018603991717100143,
-0.04832719638943672,
-0.0027595621068030596,
-0.0013336759293451905,
0.004055004566907883,
-0.03013702854514122,
-0.017263568937778473,
0.027492165565490723,
0.006400744896382093,
-0.020313255488872528,
-0.009742806665599346,
-0.02581888623535633,
-0.045844268053770065,
-0.010885315015912056,
-0.008663270622491837,
-0.003015951719135046,
-0.0007461163331754506,
0.05386881157755852,
-0.003209368558600545,
-0.0346170999109745,
-0.029957104474306107,
0.0003311699547339231,
-0.01921572908759117,
-0.021788621321320534,
-0.05188966542482376,
0.0012538352748379111,
-0.04807530716061592,
-0.016381949186325073,
-0.025495026260614395,
-0.04256967827677727,
-0.015572297386825085,
0.024469466879963875,
0.02999309077858925,
-0.07700685411691666,
-0.08341209590435028,
-0.037064045667648315,
-0.029453322291374207,
0.02999309077858925,
0.0012808237224817276,
0.005451653618365526,
-0.03799964487552643,
0.041274234652519226,
-0.01150604709982872,
-0.02240035869181156,
-0.026088770478963852,
0.018532022833824158,
-0.05761120095849037,
-0.02697039023041725,
0.02630467712879181,
-0.012981412000954151,
-0.0048759011551737785,
-0.04616812616586685,
-0.015230444259941578,
0.019881442189216614,
-0.02745618112385273,
-0.033879417926073074,
-0.024631397798657417,
0.02338993176817894,
0.04994650185108185,
0.024235568940639496,
0.03395138680934906,
0.0032948318403214216,
0.020295264199376106,
-0.02198653668165207,
-0.033501580357551575,
0.008843193762004375,
-0.0594823956489563,
0.017299553379416466,
0.008843193762004375,
0.014978552237153053,
-0.017821328714489937,
-0.048902951180934906,
-0.030856717377901077,
-0.0534369982779026,
-0.034383200109004974,
0.008906166069209576,
-0.02722228318452835,
-0.0010705392342060804,
-0.035156868398189545,
-0.0002830968878697604,
-0.036686208099126816,
-0.02518915757536888,
-0.0007264373125508428,
0.015410366468131542,
-0.036956094205379486,
0.04044659063220024,
0.024217575788497925,
0.025656957179307938,
-0.03395138680934906,
0.008663270622491837,
0.06718308478593826,
0.051673758774995804,
-0.04616812616586685,
-0.11723753809928894,
0.019017813727259636,
0.013593149371445179,
0.0529332160949707,
-0.012963419780135155,
-0.0095358956605196,
-0.013764075003564358,
0.003015951719135046,
-0.014402800239622593,
-0.1034194827079773,
0.004592522978782654,
-0.046743880957365036,
-0.07887804508209229,
-0.004394608549773693,
-0.007741168141365051,
0.015050522051751614,
-0.013260291889309883,
-0.05743128061294556,
-0.024505451321601868,
-0.05199761688709259,
-0.0298671443015337,
-0.00331957102753222,
0.023371940478682518,
-0.018873875960707664,
0.038575395941734314,
0.029777182266116142,
0.03933107107877731,
0.019359666854143143,
-0.027654096484184265,
0.025728926062583923,
0.03683014586567879,
0.04336133599281311,
0.017704378813505173,
-0.00743979774415493,
0.07279666513204575,
0.0021343312691897154,
0.03886327147483826,
-0.019791480153799057,
0.03459910675883293,
-0.05426464229822159,
0.011470062658190727,
-0.11968448013067245,
0.009337980300188065,
0.05063020810484886,
-0.0010210605105385184,
-0.008379893377423286,
0.0210869237780571,
0.008631784468889236,
-0.003974039573222399,
0.11730950325727463,
0.01609407179057598,
-0.017200596630573273,
-0.06905427575111389,
-0.021950552240014076,
-0.0344911552965641,
-0.03226011246442795,
-0.03468906879425049,
-0.03557068854570389,
-0.0762871652841568,
0.0360025018453598,
-0.03546273708343506,
0.022796187549829483,
0.016939708963036537,
-0.009364969097077847,
0.03879130259156227,
-0.004880399443209171,
-0.05606386810541153,
-0.07060161232948303,
0.03359154239296913,
-0.0021219616755843163,
0.020133333280682564,
0.05386881157755852,
0.03368150070309639,
0.02074507065117359,
0.0883059874176979,
-0.010003694333136082,
-0.0036344355903565884,
0.025009235367178917,
-0.0008242701878771186,
0.07923789322376251,
-0.007394817192107439,
-0.006333273835480213,
-0.06837057322263718,
-0.028895562514662743,
-0.02464938908815384,
0.021140899509191513,
-0.047607507556676865,
-0.012162764556705952,
0.028553709387779236,
0.00002565302020229865,
-0.027006374672055244,
-0.014924575574696064,
-0.0013269288465380669,
-0.04156211018562317,
0.0035062406677752733,
0.051673758774995804,
0.027024367824196815,
-0.010903307236731052,
0.01335025392472744,
-0.030946679413318634,
-0.01397998258471489,
-0.002181560965254903,
0.017578434199094772,
-0.027240274474024773,
0.01565326191484928,
0.020673101767897606,
-0.033267680555582047,
0.00048522863653488457,
0.018747929483652115,
-0.08643479645252228,
0.024217575788497925,
0.009832767769694328,
-0.028769616037607193,
-0.008708251640200615,
-0.0652759000658989,
0.007961573079228401,
0.023875722661614418,
0.06164146587252617,
-0.05224950984120369,
-0.0689823105931282,
-0.00905460212379694,
-0.012954424135386944,
-0.04983854666352272,
0.0014787385007366538,
0.007358832284808159,
-0.02353386953473091,
0.02731224335730076,
0.01455573458224535,
0.05692749470472336,
0.0338614247739315,
0.02833780273795128,
0.031972236931324005,
0.01145207043737173,
-0.0541926734149456,
-0.05566803738474846,
0.05566803738474846,
-0.015392374247312546,
-0.045700330287218094,
0.01411492470651865,
0.061353590339422226,
0.032350074499845505,
0.052573371678590775,
-0.017470480874180794,
-0.0203312486410141,
-0.0017857314087450504,
0.03290783613920212,
-0.007606226019561291,
0.04400905594229698,
0.04274959862232208,
0.04703175649046898,
0.08737039566040039,
-0.033105749636888504,
0.0012358430540189147,
-0.0367581769824028,
0.03792767599225044,
-0.01397998258471489,
-0.0725087895989418,
-0.02072707749903202,
0.02734822779893875,
-0.06945010274648666,
0.0406624972820282,
0.01659785583615303,
0.03843145817518234,
0.04501662403345108,
0.008739737793803215,
-0.02607077732682228,
0.04256967827677727,
-0.01603109948337078,
-0.021770630031824112,
-0.015383378602564335,
-0.03767578303813934,
0.0411662794649601,
0.007021477911621332,
-0.033123742789030075,
-0.012630563229322433,
-0.059194520115852356,
0.05710741877555847,
-0.01810920424759388,
0.03904319554567337,
-0.05861876904964447,
0.01664283685386181,
0.014258862473070621,
0.009194042533636093,
0.018280131742358208,
0.033249687403440475,
0.00169352104421705,
0.0394030399620533,
0.020655108615756035,
0.05037831515073776,
0.013296276330947876,
-0.02099696174263954,
0.024757344275712967,
0.016759786754846573,
0.02328197844326496,
-0.02351587824523449,
-0.021842598915100098,
0.017515460029244423,
-0.01747947558760643,
0.007588233798742294,
0.047247663140296936,
-0.026610545814037323,
0.08996127545833588,
-0.018621984869241714,
-0.010309562087059021,
0.018289128318428993,
0.029453322291374207,
-0.06243312731385231,
-0.016795771196484566,
-0.02263425663113594,
-0.008537325076758862,
0.01702067442238331,
-0.016984689980745316,
0.05861876904964447,
0.06945010274648666,
-0.012756508775055408,
-0.023210009559988976,
0.03670420125126839,
-0.03954697772860527,
-0.03810759633779526,
-0.035768602043390274,
-0.01232469454407692,
-0.02009734883904457,
0.012288710102438927,
0.02517116628587246,
0.0028090409468859434,
0.022706225514411926,
0.04332534968852997,
0.010381530970335007,
-0.01130813267081976,
0.02594483271241188
]
|
40,648 | pyglove.core.symbolic.dict | _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."""
del old_path
for k, v in self.sym_items():
if isinstance(v, base.TopologyAware):
v.sym_setpath(object_utils.KeyPath(k, new_path))
| (self, old_path: pyglove.core.object_utils.value_location.KeyPath, new_path: pyglove.core.object_utils.value_location.KeyPath) -> NoneType | [
0.05835837498307228,
-0.037114351987838745,
-0.021978430449962616,
0.014195523224771023,
-0.10374822467565536,
0.015762852504849434,
0.025614634156227112,
0.07924415916204453,
0.05649549514055252,
0.014016399160027504,
0.008633743971586227,
-0.0365232452750206,
0.0787426084280014,
0.02824774757027626,
-0.05817925184965134,
-0.02840895764529705,
0.015100095421075821,
0.006515610497444868,
0.004146704915910959,
-0.0023084518034011126,
-0.015798676759004593,
-0.04001614823937416,
0.03283330425620079,
-0.01245802640914917,
-0.02946578525006771,
0.023232294246554375,
0.006148407701402903,
0.04467335715889931,
0.0734405592083931,
-0.06810268759727478,
-0.03629038482904434,
0.015261306427419186,
-0.0037145698443055153,
-0.00012370703916531056,
0.01030854694545269,
0.020258847624063492,
0.00030422976124100387,
0.003835478099063039,
0.04768262803554535,
0.033657271414995193,
0.030540525913238525,
0.0075724381022155285,
-0.05982718616724014,
-0.032116811722517014,
0.07609158754348755,
0.06552331149578094,
-0.01075635477900505,
0.08906011283397675,
0.03261835500597954,
-0.011123557575047016,
0.0029913594480603933,
-0.05746275931596756,
0.02029467187821865,
0.024163736030459404,
0.030898772180080414,
0.01518070138990879,
0.0022759856656193733,
0.015476254746317863,
0.018091455101966858,
-0.03829656541347504,
0.06634727865457535,
-0.011025040410459042,
-0.044458407908678055,
-0.011437023989856243,
-0.02479066699743271,
-0.0848328024148941,
0.017509303987026215,
-0.037400949746370316,
-0.03234967216849327,
0.02815818600356579,
-0.08454620838165283,
-0.04288212209939957,
-0.011804226785898209,
-0.0229277852922678,
-0.02694014646112919,
0.0046751187182962894,
-0.009878651238977909,
0.023196469992399216,
0.003448123810812831,
-0.039514604955911636,
-0.06254985928535461,
-0.056674618273973465,
-0.024414507672190666,
-0.013891013339161873,
-0.02446824498474598,
0.057641882449388504,
0.07487354427576065,
-0.008123242296278477,
0.04338366910815239,
0.0010316383559256792,
-0.013667109422385693,
0.0211007259786129,
-0.011553454212844372,
0.02446824498474598,
0.05366534739732742,
-0.014114917255938053,
-0.0020106593146920204,
-0.05377281829714775,
0.010424977168440819,
-0.012556544505059719,
0.004970672074705362,
-0.018207885324954987,
0.008924819529056549,
0.03783084452152252,
0.03469618782401085,
-0.061905018985271454,
-0.02081413008272648,
-0.030379313975572586,
0.009439799003303051,
-0.015306087210774422,
-0.062119968235492706,
0.0515516921877861,
0.008203848265111446,
0.03707852587103844,
-0.06057950481772423,
0.009412930347025394,
0.016712205484509468,
-0.0620841421186924,
0.03186603635549545,
-0.03575301542878151,
-0.02228294126689434,
0.028194010257720947,
0.028014887124300003,
0.01030854694545269,
0.013550679199397564,
0.02815818600356579,
0.02873137965798378,
0.06305141001939774,
-0.054847560822963715,
-0.01638978347182274,
-0.03351397439837456,
0.025148913264274597,
-0.024324946105480194,
0.013631284236907959,
0.04607051610946655,
-0.043598614633083344,
0.0015214286977425218,
-0.021154463291168213,
-0.0127804484218359,
0.004643771797418594,
0.020187197253108025,
-0.016452476382255554,
0.04431510716676712,
-0.012171429581940174,
0.002478618873283267,
0.01923784427344799,
-0.00880391150712967,
0.012359509244561195,
-0.1168600544333458,
0.0004875512677244842,
-0.04972463473677635,
0.03396178036928177,
0.03965790197253227,
-0.049617160111665726,
0.0030294230673462152,
-0.014822454191744328,
-0.03847568854689598,
-0.012117692269384861,
0.0017341376515105367,
-0.014079093001782894,
-0.026886409148573875,
-0.06659805029630661,
0.03392595797777176,
-0.027871588245034218,
-0.01984686404466629,
0.0024696628097444773,
-0.0037369602359831333,
-0.08089209347963333,
-0.04184320569038391,
0.023357680067420006,
0.028265658766031265,
0.004225071053951979,
-0.03840404003858566,
0.009941344149410725,
0.015109051950275898,
-0.008593440987169743,
0.03908470645546913,
-0.029716558754444122,
0.05434601381421089,
-0.007205235306173563,
-0.01578972116112709,
-0.0005877483636140823,
0.021172376349568367,
0.06022125855088234,
0.051157619804143906,
0.05044112727046013,
-0.035770926624536514,
0.01691819727420807,
-0.004804982803761959,
0.013416336849331856,
-0.042308926582336426,
0.04456588253378868,
0.021978430449962616,
0.040517695248126984,
0.02093951590359211,
0.009377106092870235,
0.01223412249237299,
-0.021853044629096985,
-0.028068624436855316,
0.1306883692741394,
-0.026116179302334785,
-0.03174065053462982,
0.03818909078836441,
0.007451530080288649,
0.0434194914996624,
-0.0020621572621166706,
0.007088805083185434,
0.016040492802858353,
-0.01201021857559681,
0.022300852462649345,
-0.024808580055832863,
0.045389849692583084,
0.028874678537249565,
-0.06179754436016083,
-0.03659489378333092,
-0.015261306427419186,
-0.039013057947158813,
0.016774898394942284,
-0.013783539645373821,
-0.026510251685976982,
0.008396405726671219,
0.06376790255308151,
-0.019416967406868935,
-0.027334218844771385,
-0.031794387847185135,
-0.03290495276451111,
0.023339768871665,
-0.010299590416252613,
0.014526900835335255,
-0.03689940273761749,
0.016730118542909622,
-0.004724377300590277,
-0.02625947818160057,
-0.021476885303854942,
0.04327619448304176,
-0.019040808081626892,
0.0010204431600868702,
-0.018843773752450943,
0.012431158684194088,
0.03380056843161583,
-0.06054368242621422,
-0.05928981676697731,
-0.011920657008886337,
-0.02430703490972519,
-0.020849954336881638,
-0.01357754785567522,
0.03919218108057976,
-0.014768717810511589,
0.0397653765976429,
-0.0005743141518905759,
0.015646422281861305,
-0.05860915035009384,
-0.013416336849331856,
0.013998487032949924,
0.017643647268414497,
-0.06430526822805405,
-0.020115548744797707,
0.03876228630542755,
-0.003436928614974022,
-0.0018584043718874454,
-0.02135149948298931,
0.040804293006658554,
-0.03417672961950302,
0.04492412880063057,
0.003067486919462681,
0.021315675228834152,
0.06423362344503403,
0.007720214780420065,
-0.06287228316068649,
-0.02097534015774727,
0.04574809595942497,
-0.039263829588890076,
-0.06709959357976913,
0.04947385936975479,
0.030952509492635727,
0.028265658766031265,
-0.025148913264274597,
-0.013228257186710835,
-0.03120328113436699,
-0.040481869131326675,
0.014285084791481495,
-0.061940841376781464,
0.011696752160787582,
0.02507726475596428,
-0.03421255201101303,
-0.014034312218427658,
-0.038654811680316925,
-0.011777358129620552,
-0.02142314799129963,
-0.011920657008886337,
-0.0008295648731291294,
-0.01898707076907158,
-0.04825581982731819,
0.02978820726275444,
0.050584424287080765,
0.015341912396252155,
-0.0572119876742363,
-0.007970987819135189,
0.011069821193814278,
-0.011490760371088982,
0.016819680109620094,
0.0028256704099476337,
-0.00744705181568861,
-0.0009622280485928059,
0.07078953832387924,
-0.004563166294246912,
0.03351397439837456,
0.017321225255727768,
0.012475939467549324,
0.013640240766108036,
-0.037114351987838745,
-0.009672659449279308,
-0.045640621334314346,
-0.02154853567481041,
-0.0005815910408273339,
-0.04173573479056358,
0.015037402510643005,
-0.026116179302334785,
-0.02994941920042038,
0.045998867601156235,
-0.09558020532131195,
0.001579643809236586,
-0.10217194259166718,
0.02545342408120632,
-0.030128542333841324,
0.04761097952723503,
0.07111195474863052,
0.018127279356122017,
0.01930949278175831,
-0.01306704618036747,
0.0012650584103539586,
0.015727026388049126,
-0.004948281683027744,
-0.019452791661024094,
-0.03919218108057976,
-0.007635131478309631,
-0.006448439322412014,
-0.04073264077305794,
-0.026026617735624313,
0.029698645696043968,
0.060042135417461395,
0.044171810150146484,
-0.008490445092320442,
-0.017661558464169502,
0.031883951276540756,
0.024539895355701447,
0.05534910410642624,
0.006779817398637533,
-0.0405893437564373,
0.014338821172714233,
-0.05251895636320114,
0.024378683418035507,
-0.05893157050013542,
-0.001300883130170405,
0.023518892005085945,
-0.00998612493276596,
-0.004598991014063358,
-0.005982718896120787,
-0.039514604955911636,
-0.026349039748311043,
0.06949985027313232,
-0.011329549364745617,
0.006564869545400143,
0.009645790793001652,
-0.004312393721193075,
-0.03383639454841614,
-0.009645790793001652,
0.0271909199655056,
0.02686849795281887,
-0.04119836166501045,
0.01519861351698637,
0.0036250080447643995,
0.06147512421011925,
0.04270299896597862,
-0.010424977168440819,
0.07326143980026245,
-0.019506528973579407,
0.027370043098926544,
0.011875876225531101,
0.036182910203933716,
0.027173006907105446,
-0.061905018985271454,
0.050226178020238876,
0.022265028208494186,
0.0135954599827528,
-0.03371100872755051,
0.10776058584451675,
-0.07902920991182327,
0.042631350457668304,
-0.0017744404030963778,
-0.02860599383711815,
0.024539895355701447,
0.008839735761284828,
0.008741217665374279,
-0.004520624876022339,
-0.019578179344534874,
0.0552058070898056,
-0.0211007259786129,
0.0038556293584406376,
-0.015368781052529812,
0.0174555666744709,
-0.015888238325715065,
-0.05284138023853302,
0.012529675848782063,
0.04614216834306717,
-0.03417672961950302,
0.029573259875178337,
0.05979136377573013,
0.003544402541592717,
0.023930875584483147,
0.007348534185439348,
-0.013398423790931702,
0.019757302477955818,
0.015888238325715065,
0.037723369896411896,
-0.06022125855088234,
0.04316871985793114,
0.00925171934068203,
0.08218178153038025,
0.04918726161122322,
0.010505582205951214,
0.011786314658820629,
-0.0035847052931785583,
-0.009166635572910309,
0.061582595109939575,
-0.04642876237630844,
-0.028337309136986732,
-0.006143929902464151,
0.008329234085977077,
0.044494230300188065,
0.0269938837736845,
0.008553138002753258,
-0.05294885113835335,
0.01465228758752346,
-0.01797502487897873,
0.02462945692241192,
0.032439231872558594,
-0.005221444647759199,
0.002102460013702512,
0.017142102122306824,
-0.02312481962144375,
-0.014643331058323383,
-0.016130054369568825,
-0.0482916459441185,
0.03829656541347504,
-0.016040492802858353,
-0.0060140653513371944,
-0.00837849359959364,
0.02577584609389305,
0.007608262822031975,
-0.013873101212084293,
-0.03055843710899353,
-0.027405867353081703,
0.014088048599660397,
-0.03933548182249069,
-0.027244657278060913,
0.09321577101945877,
-0.03261835500597954,
-0.01972147636115551,
0.011454936116933823,
-0.017679471522569656,
0.02840895764529705,
0.028301484882831573,
0.011302681639790535,
0.028516432270407677,
-0.033424410969018936,
0.011293725110590458,
-0.025614634156227112,
-0.0074560078792274,
-0.057355284690856934,
0.07494519650936127,
-0.07293901592493057,
-0.03290495276451111,
0.004639293998479843,
-0.002366666914895177,
-0.06143929809331894,
-0.029644908383488655,
-0.005449826829135418,
-0.09407556802034378,
-0.026187829673290253,
-0.031507790088653564,
-0.02090369164943695,
0.04857824370265007,
-0.030970420688390732,
-0.007773952092975378,
-0.04979628324508667,
0.018252665176987648,
0.010863829404115677,
-0.03972955048084259,
-0.019542353227734566,
0.002389057306572795,
-0.03432002663612366,
-0.03453497588634491,
0.029447874054312706,
0.003163765650242567,
0.010926522314548492,
-0.005570735316723585,
0.0036205300129950047,
0.029537435621023178,
-0.02350097894668579,
-0.03580675274133682,
-0.031113719567656517,
0.022085905075073242,
0.043204545974731445,
0.0005258948658592999,
0.06795938313007355,
-0.01813623495399952,
0.02475484274327755,
0.007773952092975378,
0.03424837812781334,
0.04553314670920372,
-0.04485248029232025,
0.03299451619386673,
-0.02013345994055271,
-0.0030697258189320564,
-0.005678209010511637,
-0.04005197435617447,
0.04800504818558693,
0.040159448981285095,
-0.004086250904947519,
-0.05126509442925453,
-0.029573259875178337,
0.04427928477525711,
-0.036827754229307175,
-0.018010849133133888,
-0.0269938837736845,
-0.02289195917546749,
-0.0357171893119812,
0.03761589527130127,
0.013891013339161873,
0.0024584676139056683,
0.025632547214627266,
0.04370608925819397,
0.04162826016545296,
0.0033384107518941164,
0.07207922637462616,
0.036541156470775604,
-0.03580675274133682,
-0.03689940273761749,
-0.017321225255727768,
0.002915231976658106,
0.0053468309342861176,
-0.06147512421011925,
0.022659098729491234,
-0.00849940162152052,
0.020688742399215698,
0.0592539943754673,
-0.06480681896209717,
0.018091455101966858,
0.005163229536265135,
-0.03217054903507233,
0.010299590416252613,
-0.010451845824718475,
0.07451529800891876,
0.005266225431114435,
-0.035896312445402145,
0.018610913306474686,
-0.05993466079235077,
-0.03152570500969887,
0.0017061495454981923,
-0.044100161641836166,
0.015055314637720585,
0.04979628324508667,
0.005996153224259615,
0.0698222666978836,
0.010944434441626072,
-0.0381532683968544,
0.05857332423329353,
0.06914160400629044,
0.044780828058719635,
0.049617160111665726,
0.03226010873913765,
0.013935794122517109,
-0.05918234586715698,
0.01329095009714365,
-0.038654811680316925,
0.008830779232084751,
-0.02414582297205925,
-0.005825985688716173,
-0.03876228630542755,
0.003134658094495535,
0.06258568912744522,
0.03338858485221863,
0.05377281829714775,
0.03433794155716896,
0.01818101666867733,
0.025471335276961327,
0.09070804715156555,
0.013219300657510757,
-0.01029063481837511,
-0.07702302932739258,
-0.045389849692583084,
0.017849639058113098,
-0.009833870455622673,
-0.022838223725557327,
-0.043598614633083344,
-0.037114351987838745,
-0.028480608016252518,
0.016085274517536163,
0.0024472724180668592,
-0.002635351847857237,
-0.0013915642630308867,
0.05405941605567932,
0.053916119039058685,
-0.036469507962465286,
-0.017760077491402626,
0.03793831914663315,
-0.014320909045636654,
-0.05979136377573013,
0.06143929809331894,
0.043849386274814606,
0.030486788600683212,
0.12080076336860657,
-0.02074247971177101,
-0.0269938837736845,
-0.011875876225531101,
-0.0151180075481534,
-0.026384864002466202,
-0.00024097683490253985,
-0.043849386274814606,
-0.0625140368938446,
-0.049903757870197296,
-0.020402146503329277,
-0.02670728601515293,
-0.07867096364498138,
0.015556859783828259,
0.033173639327287674,
-0.019506528973579407,
-0.04470917955040932,
-0.016497258096933365,
0.00287045119330287,
-0.103891521692276,
-0.0357171893119812,
-0.006914160214364529,
-0.003172721713781357,
-0.0474676787853241,
0.012162473052740097,
-0.03645159676671028,
0.01696297898888588,
0.010792179964482784,
-0.016730118542909622,
-0.017634689807891846,
-0.016165878623723984,
-0.018610913306474686,
-0.04614216834306717,
-0.000051323029765626416,
0.008683002553880215,
-0.0361291728913784,
-0.030701735988259315,
0.022820310667157173,
0.00947562325745821,
-0.006435004994273186,
-0.0807487890124321,
-0.0045004733838140965,
0.028910502791404724,
0.026725199073553085,
-0.019793126732110977,
-0.048434946686029434,
0.02565045841038227,
-0.005163229536265135,
0.008042637258768082,
-0.0010904131922870874,
0.007267928682267666,
0.0007679912378080189,
0.07623488456010818,
-0.004813939332962036,
0.030862947925925255,
0.02126193791627884,
0.051802463829517365,
-0.00011747970711439848,
0.027101358398795128,
-0.07086118310689926,
-0.07003721594810486,
0.0011564649175852537,
-0.03919218108057976,
-0.07107613235712051,
0.029000064358115196,
0.017106276005506516,
0.011831095442175865,
0.010962346568703651,
-0.05989883840084076,
0.02308899536728859,
-0.04574809595942497,
0.03555597737431526,
0.002462945645675063,
0.059433117508888245,
0.054560963064432144,
0.03861898556351662,
0.025722108781337738,
-0.03007480502128601,
0.04123418778181076,
-0.05047694966197014,
0.03303033858537674,
0.039299655705690384,
-0.03007480502128601,
0.023160645738244057,
0.006824598181992769,
-0.05434601381421089,
0.013550679199397564,
-0.014150742441415787,
0.041126713156700134,
0.03552015498280525,
-0.03790249302983284,
-0.019470704719424248,
0.04918726161122322,
-0.02799697406589985,
-0.053342923521995544,
0.0030204670038074255,
-0.04607051610946655,
0.05287720263004303,
-0.004207158926874399,
-0.006855945102870464,
-0.0013221539556980133,
-0.07523179054260254,
0.02670728601515293,
0.00626931618899107,
0.014938884414732456,
-0.07816941291093826,
0.02491605281829834,
-0.016873415559530258,
-0.0026375907473266125,
-0.041055064648389816,
0.04861406981945038,
0.014258216135203838,
-0.0058707669377326965,
0.021781396120786667,
0.05749858543276787,
0.01107877679169178,
0.008396405726671219,
0.028910502791404724,
-0.07168515026569366,
0.03430211544036865,
0.0027607381343841553,
-0.014070136472582817,
0.034552887082099915,
-0.015467298217117786,
-0.02593705616891384,
0.006779817398637533,
-0.023805489763617516,
0.05011870339512825,
0.02670728601515293,
0.012681931257247925,
-0.027746202424168587,
0.02545342408120632,
-0.008897950872778893,
-0.032403409481048584,
-0.01274462416768074,
0.07945910096168518,
0.012332640588283539,
-0.012932703830301762,
0.02548924833536148,
0.06122434884309769,
0.0012348314048722386,
0.004845285788178444,
-0.008539704605937004,
-0.004475844092667103,
0.009627878665924072,
-0.024378683418035507,
0.028391046449542046,
-0.006323053035885096,
-0.012404290027916431,
0.015270262956619263,
0.01244011428207159,
0.049617160111665726,
0.09995081275701523,
0.028516432270407677,
-0.015843456611037254,
0.03371100872755051
]
|
40,649 | pyglove.core.symbolic.dict | clear | Removes all the keys in current dict. | def clear(self) -> None:
"""Removes all the keys in current dict."""
if base.treats_as_sealed(self):
raise base.WritePermissionError('Cannot clear a sealed Dict.')
value_spec = self._value_spec
self._value_spec = None
super().clear()
if value_spec:
self.use_value_spec(value_spec, self._allow_partial)
| (self) -> NoneType | [
0.0031453734263777733,
0.002232692437246442,
0.001058078370988369,
-0.022636234760284424,
-0.03479950502514839,
-0.017033809795975685,
-0.04680594801902771,
-0.02268851175904274,
0.04541187360882759,
-0.005571928806602955,
-0.058097925037145615,
0.010960886254906654,
0.015796571969985962,
0.03326602652668953,
-0.053950563073158264,
0.03486920893192291,
-0.0013929822016507387,
0.025162987411022186,
0.018262334167957306,
-0.06311658024787903,
0.02434397116303444,
0.0017719954485073686,
0.018053224310278893,
0.0603632889688015,
-0.040811438113451004,
-0.04039321839809418,
0.004635287448763847,
-0.03047788515686989,
0.07214319705963135,
-0.003929538652300835,
-0.04251917824149132,
0.027044985443353653,
0.029397480189800262,
0.025929726660251617,
-0.0064780754037201405,
-0.07918325066566467,
0.0011708021629601717,
-0.012093569152057171,
-0.02070195972919464,
0.038232408463954926,
-0.016833411529660225,
0.04757268726825714,
-0.01404526922851801,
-0.05994506925344467,
0.040253810584545135,
0.04820001870393753,
0.07764977216720581,
0.06315143406391144,
0.030965810641646385,
-0.02793370559811592,
-0.022043753415346146,
0.06273321062326431,
-0.014254380017518997,
0.03635041043162346,
-0.03420702740550041,
-0.009200870990753174,
0.0010526328114792705,
-0.004700634628534317,
0.009871767833828926,
-0.028247371315956116,
-0.0026683397591114044,
-0.016859550029039383,
-0.0434601753950119,
-0.08329576253890991,
0.030930958688259125,
-0.053950563073158264,
0.01323496550321579,
0.006678473204374313,
0.0487576462328434,
0.0031954729929566383,
-0.04586494714021683,
-0.03872033208608627,
-0.01701638288795948,
0.0773012563586235,
-0.0159185528755188,
-0.03394563868641853,
-0.015709441155195236,
-0.006286390591412783,
0.019987497478723526,
-0.0720037892460823,
0.01764371618628502,
-0.05036082863807678,
-0.03729140758514404,
0.05900407209992409,
-0.00892205722630024,
0.05935258790850639,
0.040915995836257935,
0.003398048924282193,
0.01967383176088333,
0.03586248680949211,
0.033753953874111176,
0.0649985745549202,
-0.038790035992860794,
-0.013775167986750603,
0.04143877327442169,
0.04199640080332756,
-0.0447845421731472,
-0.01595340482890606,
-0.011283265426754951,
-0.05032597482204437,
0.02613883838057518,
-0.01582271046936512,
0.04659683629870415,
0.01218941155821085,
-0.02922322042286396,
-0.008830570615828037,
0.07758007198572159,
-0.07841651141643524,
-0.01897679641842842,
0.08671124279499054,
-0.02925807237625122,
0.024587932974100113,
-0.007087981794029474,
0.02397802844643593,
0.010411970317363739,
0.028212519362568855,
-0.06705483049154282,
-0.04220551252365112,
0.011370394378900528,
0.014994979836046696,
0.01778312213718891,
0.04206610471010208,
0.01883738860487938,
-0.0258774496614933,
0.05227767676115036,
0.038302112370729446,
-0.03642011433839798,
0.007336300797760487,
0.01661558821797371,
0.036838337779045105,
-0.045830097049474716,
0.03452069312334061,
-0.0021520976442843676,
0.02988540567457676,
0.005341035779565573,
0.015639739111065865,
0.07043545693159103,
-0.048548534512519836,
0.0021553649567067623,
0.05715692788362503,
-0.007114120293408632,
0.027306372299790382,
0.060119327157735825,
0.04729387164115906,
0.04750298336148262,
-0.0010150582529604435,
0.006730750668793917,
0.0014256557915359735,
-0.050639644265174866,
-0.024605359882116318,
-0.017068661749362946,
0.01916848123073578,
-0.03669892996549606,
0.006695899181067944,
-0.015099535696208477,
0.03472980484366417,
-0.015221516601741314,
0.01661558821797371,
-0.06374391168355942,
-0.0017545694718137383,
-0.003936073277145624,
0.0008097594254650176,
0.0666714608669281,
-0.06736849993467331,
-0.036768633872270584,
-0.010080878622829914,
0.04593465104699135,
-0.05977081134915352,
0.007105407305061817,
-0.005354105494916439,
-0.030199071392416954,
-0.029536888003349304,
0.005214698147028685,
0.02514556236565113,
0.06329084187746048,
0.0318371057510376,
-0.028003409504890442,
-0.01901164837181568,
-0.007593332324177027,
-0.029397480189800262,
0.0447845421731472,
-0.06778672337532043,
-0.058028221130371094,
0.01150980219244957,
0.07015664130449295,
-0.022880196571350098,
-0.033022064715623856,
-0.018000947311520576,
-0.01847144588828087,
0.0015498152934014797,
-0.06095577031373978,
0.006730750668793917,
-0.005127568729221821,
-0.009889193810522556,
0.03662922605872154,
-0.024256842210888863,
-0.01464646216481924,
-0.04485424607992172,
-0.03593219071626663,
-0.020510274916887283,
-0.057331185787916183,
-0.038302112370729446,
0.025093285366892815,
-0.025929726660251617,
-0.012537929229438305,
0.0013450609985738993,
0.011527227237820625,
-0.06715939193964005,
-0.00006885269249323756,
0.03410246968269348,
-0.014123685657978058,
-0.013844870962202549,
0.027689741924405098,
-0.05172004923224449,
0.03459039703011513,
-0.08991760015487671,
-0.013836158439517021,
-0.006051140837371349,
-0.02775944583117962,
0.019116204231977463,
0.014698740094900131,
-0.007998484186828136,
0.005567572545260191,
-0.05712207406759262,
-0.007183824200183153,
0.010917321778833866,
-0.007732739672064781,
-0.020126905292272568,
-0.01901164837181568,
-0.016171228140592575,
0.04617861285805702,
-0.022305142134428024,
-0.034851785749197006,
-0.009645231068134308,
-0.002820816356688738,
0.02368178777396679,
-0.026644188910722733,
-0.05503096804022789,
0.028073111549019814,
-0.004415285307914019,
-0.00009768029121914878,
-0.0003722061519511044,
0.015230230055749416,
0.03267354890704155,
-0.023437824100255966,
0.05928288400173187,
-0.005811534821987152,
0.06520769000053406,
0.05767970159649849,
-0.014751018024981022,
0.044436026364564896,
-0.0693202018737793,
-0.001262288074940443,
0.02305445447564125,
0.06130428984761238,
-0.08176228404045105,
-0.04607405886054039,
-0.0005110687343403697,
0.03190680965781212,
-0.01913362927734852,
0.012311392463743687,
0.01147495023906231,
-0.03662922605872154,
0.09612122178077698,
0.06130428984761238,
0.021242162212729454,
0.03337058424949646,
0.03513059765100479,
-0.009375129826366901,
0.0036659720353782177,
0.005537077318876982,
-0.035409413278102875,
0.015779145061969757,
-0.02713211439549923,
-0.006081636529415846,
0.10560090839862823,
0.027532909065485,
-0.012433374300599098,
-0.0006855999235995114,
0.07158556580543518,
0.08120466023683548,
-0.03206364065408707,
0.05492641031742096,
0.020214034244418144,
0.02599943056702614,
0.0434601753950119,
-0.034311581403017044,
-0.06046784669160843,
0.0031083435751497746,
-0.014367648400366306,
0.024657636880874634,
0.008486409671604633,
-0.004918457940220833,
0.030111942440271378,
0.04896675795316696,
-0.051964011043310165,
-0.04596950486302376,
-0.06722909212112427,
0.020214034244418144,
0.038859739899635315,
0.02779429778456688,
-0.010342267341911793,
0.011257125996053219,
0.017765697091817856,
0.06492887437343597,
-0.052033714950084686,
0.010107017122209072,
0.030164219439029694,
0.003787953406572342,
0.04185699298977852,
-0.014637749642133713,
0.02782914973795414,
-0.003526564920321107,
0.028439056128263474,
0.006099062040448189,
-0.03833696246147156,
0.003546169027686119,
-0.004001420456916094,
-0.014053981751203537,
0.06458035856485367,
-0.04447087645530701,
-0.012163273058831692,
-0.04792120307683945,
-0.0421358086168766,
0.015090822242200375,
-0.06290747225284576,
0.034085046499967575,
0.010420683771371841,
0.014751018024981022,
-0.01391457486897707,
-0.034450989216566086,
-0.03241216018795967,
0.015744293108582497,
-0.01857600174844265,
-0.04792120307683945,
-0.003894686931744218,
-0.019516998901963234,
0.0051929159089922905,
0.01595340482890606,
-0.000256351224379614,
-0.0030996305868029594,
0.006133913993835449,
0.04352987930178642,
-0.04335562139749527,
-0.0364898182451725,
0.02613883838057518,
0.02822994440793991,
-0.014507055282592773,
0.05412482097744942,
-0.06189676746726036,
0.022740788757801056,
0.01380130648612976,
0.06398787349462509,
0.019255610182881355,
0.07785888761281967,
-0.04248432442545891,
-0.0062689646147191525,
0.014123685657978058,
-0.03270839899778366,
-0.058097925037145615,
0.09793351590633392,
0.0034677525982260704,
-0.09709706902503967,
-0.03359711915254593,
0.012346244417130947,
-0.016694005578756332,
-0.029606590047478676,
-0.06883227080106735,
-0.002568140858784318,
-0.017704706639051437,
-0.001253575086593628,
-0.09361189603805542,
-0.048478830605745316,
0.009592954069375992,
0.03525257855653763,
0.03725655749440193,
0.004840041510760784,
0.09012671560049057,
-0.021137606352567673,
0.0335099920630455,
0.04206610471010208,
0.006783028598874807,
0.0030473528895527124,
-0.0009567904053255916,
-0.013060705736279488,
0.00478340731933713,
0.02511071041226387,
-0.030164219439029694,
-0.00431944290176034,
0.04670139029622078,
0.015378349460661411,
-0.00974978692829609,
-0.0068962969817221165,
0.015265081077814102,
-0.0014561511343345046,
0.08231991529464722,
-0.03472980484366417,
-0.019116204231977463,
-0.02521526627242565,
0.016737569123506546,
0.06736849993467331,
-0.0278640016913414,
-0.019482146948575974,
-0.020649682730436325,
0.04248432442545891,
-0.007462638430297375,
0.0059378729201853275,
-0.03840666636824608,
0.02092849649488926,
-0.02716696634888649,
0.0782771110534668,
0.008264229632914066,
0.03276067599654198,
0.01547419186681509,
0.07311904430389404,
-0.06485917419195175,
0.015578747726976871,
-0.0500820130109787,
0.026644188910722733,
0.059701107442379,
0.016171228140592575,
0.022531678900122643,
-0.048409126698970795,
0.05621592700481415,
0.022566530853509903,
-0.004341225605458021,
-0.07458281517028809,
-0.044436026364564896,
0.017356188967823982,
-0.008499478921294212,
0.0023808125406503677,
-0.03051273711025715,
-0.02235741913318634,
0.0020257600117474794,
-0.06095577031373978,
0.029833126813173294,
-0.02570319175720215,
0.019917795434594154,
-0.039521925151348114,
0.03527000546455383,
-0.03276067599654198,
-0.016179941594600677,
-0.0016336773987859488,
0.014716166071593761,
0.049872905015945435,
0.041578177362680435,
0.007074912078678608,
0.08991760015487671,
-0.004861823748797178,
0.023908324539661407,
0.0331614725291729,
0.007510559633374214,
-0.027620039880275726,
-0.03896429389715195,
-0.06552135199308395,
-0.011265839450061321,
-0.001125059206970036,
0.029467184096574783,
-0.03732626140117645,
-0.005502225365489721,
0.01916848123073578,
0.0074582817032933235,
-0.023402974009513855,
-0.017007671296596527,
0.00857353862375021,
0.01474230457097292,
-0.027114687487483025,
0.016798559576272964,
-0.03596704080700874,
-0.009462259709835052,
-0.004114688839763403,
-0.01648489385843277,
-0.004809546284377575,
-0.038127850741147995,
-0.06360450387001038,
-0.005280045326799154,
0.050639644265174866,
0.015334784984588623,
-0.03635041043162346,
-0.012851595878601074,
0.045690689235925674,
0.012851595878601074,
-0.011736338026821613,
-0.03459039703011513,
0.02481446973979473,
-0.011527227237820625,
-0.02504100650548935,
-0.007933137007057667,
-0.015683302655816078,
0.03997499495744705,
-0.02155582793056965,
-0.041508473455905914,
-0.044505730271339417,
0.028020834550261497,
0.05562344938516617,
-0.019151056185364723,
-0.011004450730979443,
0.003485178342089057,
-0.012163273058831692,
-0.043704137206077576,
0.008081257343292236,
-0.017399752512574196,
-0.050604790449142456,
0.017208067700266838,
-0.003883795812726021,
-0.008312150835990906,
0.009166019037365913,
0.0006082725594751537,
0.00431944290176034,
-0.04182214289903641,
-0.026191115379333496,
-0.015901125967502594,
0.0474332794547081,
-0.00616876594722271,
0.02852618508040905,
-0.012093569152057171,
-0.04617861285805702,
-0.0441223606467247,
0.0008304526563733816,
-0.024884173646569252,
-0.02915351837873459,
0.0474332794547081,
-0.015204090625047684,
0.01638905145227909,
-0.04067203402519226,
-0.00801155436784029,
-0.04523761570453644,
-0.029118666425347328,
0.04304195195436478,
-0.005476086400449276,
0.0031736905220896006,
-0.027254095301032066,
0.01459418423473835,
0.014524481259286404,
0.0210679043084383,
0.020440571010112762,
-0.026417652145028114,
-0.09193900972604752,
-0.03387593477964401,
0.008917700499296188,
0.025023581460118294,
-0.0014659531880170107,
0.05795851722359657,
-0.017033809795975685,
0.010472960770130157,
-0.00196585850790143,
-0.01960412785410881,
-0.027445780113339424,
0.005327966529875994,
0.04973349720239639,
-0.07953177392482758,
-0.012137133628129959,
0.05356719344854355,
-0.023193862289190292,
-0.016458755359053612,
0.00039072116487659514,
0.0530792661011219,
-0.004036272410303354,
0.015265081077814102,
0.009558102115988731,
0.0010068898554891348,
0.004482810851186514,
0.051336679607629776,
-0.006312529556453228,
0.01701638288795948,
0.01834946498274803,
-0.026016857475042343,
0.05363689735531807,
0.009976323693990707,
0.04603920876979828,
-0.03197651356458664,
0.022008901461958885,
0.02092849649488926,
-0.04698020592331886,
-0.016763707622885704,
0.01827976107597351,
-0.041647881269454956,
0.023995453491806984,
0.0002364748070249334,
-0.05381115525960922,
0.012485651299357414,
0.006739463657140732,
-0.0012971397954970598,
-0.07723155617713928,
0.028665592893958092,
0.029205795377492905,
0.00399706419557333,
0.01831461302936077,
-0.01562231220304966,
0.0009426318574696779,
-0.028177667409181595,
0.0015204091323539615,
0.03319632634520531,
-0.04060233011841774,
-0.014672601595520973,
0.021242162212729454,
0.031697697937488556,
-0.03690803796052933,
-0.02998995967209339,
0.026121411472558975,
-0.006146983243525028,
0.011257125996053219,
-0.004358651116490364,
0.045760393142700195,
-0.0318371057510376,
0.054055117070674896,
0.030791550874710083,
0.09103286266326904,
0.0348343588411808,
-0.032882656902074814,
-0.0507441982626915,
0.0008141159196384251,
0.009035324677824974,
-0.009863055311143398,
0.05719177797436714,
-0.03662922605872154,
0.005036083050072193,
-0.03194165974855423,
-0.026347948238253593,
-0.011065441183745861,
-0.024936452507972717,
-0.03378880396485329,
-0.09960640221834183,
0.012755753472447395,
-0.0364898182451725,
0.01960412785410881,
-0.014402499422430992,
0.1114560067653656,
-0.04893190413713455,
0.016763707622885704,
-0.001135950325988233,
-0.05649474263191223,
-0.042972251772880554,
0.06914594024419785,
0.013653186149895191,
0.06562591344118118,
-0.030669569969177246,
0.012346244417130947,
0.023960601538419724,
0.05687811225652695,
0.04398295283317566,
-0.03204621747136116,
0.045760393142700195,
0.04039321839809418,
-0.08204109966754913,
0.0421358086168766,
-0.03290008381009102,
-0.028212519362568855,
-0.0037727055605500937,
-0.010568803176283836,
-0.008604033850133419,
-0.007636897265911102,
0.01141395978629589,
-0.05154578760266304,
0.006260251626372337,
-0.032882656902074814,
0.01387972291558981,
-0.04262373223900795,
-0.02878757379949093,
0.007737095933407545,
-0.04272828623652458,
-0.0055980677716434,
-0.00429548230022192,
0.0037966661620885134,
0.09082374721765518,
-0.023002177476882935,
-0.060049623250961304,
0.062210433185100555,
0.029467184096574783,
0.018262334167957306,
0.010838905349373817,
-0.03718685358762741,
-0.04879249632358551,
0.021451273933053017,
-0.046352874487638474,
0.030669569969177246,
0.01705123484134674,
0.01605795882642269,
0.051859453320503235,
-0.006347381044179201,
-0.020545126870274544,
0.04136906936764717,
-0.0017033809563145041,
-0.0025441802572458982,
0.0008075811783783138,
0.016876976937055588,
-0.043007101863622665,
-0.008965621702373028,
-0.040881142020225525,
-0.07758007198572159,
0.03065214492380619,
-0.12149331718683243,
-0.012677336111664772,
-0.008468983694911003,
-0.05781910941004753,
-0.018889667466282845,
-0.008917700499296188,
-0.04541187360882759,
0.03708229959011078,
0.003337058238685131,
0.02308930642902851,
0.035339709371328354,
0.007493133656680584,
0.015413201414048672,
0.01967383176088333,
0.030756698921322823,
0.02653963305056095,
0.047154463827610016,
-0.01728648506104946,
-0.007244814652949572,
0.04722416773438454,
0.10734349489212036,
-0.058167628943920135,
-0.02371663972735405,
0.021468698978424072,
0.03528743237257004,
-0.010621081106364727,
-0.04820001870393753,
0.010603655129671097,
-0.0500820130109787,
0.010359693318605423,
0.04380869120359421,
-0.027114687487483025,
0.019220758229494095,
0.08134406805038452,
0.022374846041202545,
-0.040253810584545135,
-0.007096694782376289,
0.02669646590948105,
0.02852618508040905,
0.0010983757674694061,
-0.04321621358394623,
-0.030861254781484604,
0.021486125886440277,
0.006207974161952734,
0.002535467268899083,
0.004896675702184439,
0.02511071041226387,
0.03969618305563927,
0.008665025234222412,
-0.047015056014060974,
0.01404526922851801,
0.0009023344609886408,
0.03068699687719345,
-0.029745997861027718,
-0.00034606733242981136,
-0.01628449559211731,
0.04603920876979828,
-0.005811534821987152,
0.03018164448440075,
0.015578747726976871,
0.05022142082452774,
-0.00976721290498972,
0.029606590047478676,
0.022008901461958885,
-0.0111961355432868,
-0.03669892996549606,
-0.010891182348132133,
0.016563311219215393,
0.03586248680949211,
-0.05084875226020813,
-0.022740788757801056,
-0.01462903618812561,
0.03246443718671799,
0.0006534709827974439,
0.042972251772880554,
0.04792120307683945,
-0.02859588898718357
]
|
40,651 | pyglove.core.symbolic.dict | copy | Overridden copy using symbolic copy. | def copy(self) -> 'Dict':
"""Overridden copy using symbolic copy."""
return self.sym_clone(deep=False)
| (self) -> pyglove.core.symbolic.dict.Dict | [
0.027972672134637833,
-0.027770215645432472,
0.039782606065273285,
-0.01911522075533867,
-0.08408673107624054,
0.013876671902835369,
-0.008401923812925816,
0.03883780911564827,
0.07693327963352203,
-0.0210048109292984,
-0.024952702224254608,
-0.005727817770093679,
-0.010628940537571907,
0.07396392524242401,
-0.051018912345170975,
0.007883130572736263,
0.013826058246195316,
0.0597582645714283,
-0.06923995167016983,
-0.0013908306136727333,
0.006250828970223665,
-0.044978976249694824,
0.019334549084305763,
0.01556380558758974,
-0.027213461697101593,
-0.0061917793937027454,
-0.008237428963184357,
-0.011666527017951012,
0.020296214148402214,
0.005921838339418173,
-0.03596968203783035,
-0.03620588034391403,
0.004888468887656927,
0.05091768503189087,
0.036374595016241074,
-0.04437160864472389,
-0.029862260445952415,
0.020346827805042267,
-0.03995131701231003,
-0.007111267186701298,
-0.01980694569647312,
-0.026572350412607193,
-0.017579929903149605,
-0.006693701725453138,
0.040727399289608,
0.014686495997011662,
-0.006440631579607725,
0.005740471184253693,
0.04396669566631317,
-0.052975986152887344,
0.008334439247846603,
0.028731880709528923,
-0.004260011948645115,
0.014813031069934368,
-0.01666044257581234,
-0.011809933930635452,
0.03381015360355377,
0.015749389305710793,
-0.04437160864472389,
0.04292067140340805,
-0.03296658769249916,
-0.030098458752036095,
-0.004989697132259607,
-0.07517866045236588,
0.01578313298523426,
-0.02935612015426159,
-0.04761090502142906,
-0.032544802874326706,
0.07328907400369644,
-0.03433316573500633,
-0.028023285791277885,
-0.021629050374031067,
0.005660332273691893,
0.0022544320672750473,
-0.0060019767843186855,
-0.0039141494780778885,
0.012754728086292744,
-0.04902809485793114,
0.019418904557824135,
-0.07612346112728119,
-0.061782825738191605,
-0.04855569824576378,
-0.09873104840517044,
0.045586343854665756,
-0.06880129873752594,
0.05300972983241081,
0.030368400737643242,
-0.010974803008139133,
0.006567166652530432,
-0.011708705686032772,
0.01771490089595318,
0.07416637986898422,
-0.04723973572254181,
0.042583245784044266,
0.019975658506155014,
-0.03596968203783035,
-0.014686495997011662,
-0.004715537652373314,
0.0413685105741024,
0.00816994346678257,
-0.025458842515945435,
-0.016500163823366165,
-0.06890252977609634,
0.007874694652855396,
-0.0017873069737106562,
0.011548427864909172,
0.03475494682788849,
-0.05085020139813423,
-0.016972562298178673,
-0.03576722741127014,
-0.069914810359478,
0.10527712106704712,
-0.00270995800383389,
0.022152060642838478,
0.023771708831191063,
-0.008043408393859863,
-0.010628940537571907,
-0.038939036428928375,
0.021831505000591278,
0.05901592597365379,
-0.01727624610066414,
0.06816019117832184,
0.023501768708229065,
0.01266193576157093,
0.01732685975730419,
0.0647859200835228,
0.022050833329558372,
-0.035666000097990036,
-0.016711056232452393,
0.007140791974961758,
0.00039489465416409075,
-0.01823791116476059,
0.004163001663982868,
0.0750436931848526,
0.0311613529920578,
-0.004036466591060162,
0.012223280966281891,
0.035699743777513504,
0.014627446420490742,
0.03300032764673233,
0.014678060077130795,
-0.011734012514352798,
0.042178332805633545,
0.056181542575359344,
-0.024142878130078316,
-0.045586343854665756,
-0.017309987917542458,
0.04487774893641472,
-0.017461830750107765,
-0.000925814441870898,
0.012240152806043625,
0.059387095272541046,
-0.002383075887337327,
0.0597582645714283,
-0.0470372773706913,
0.029372991994023323,
-0.03316904231905937,
-0.038939036428928375,
-0.024412820115685463,
0.0027120669838041067,
-0.03755559027194977,
0.0036273368168622255,
0.028630653396248817,
-0.09346719086170197,
-0.019941916689276695,
0.011902726255357265,
0.08091491460800171,
-0.08381678909063339,
0.001853737747296691,
0.0006606181850656867,
-0.030672084540128708,
-0.03748810291290283,
0.00241049169562757,
0.03279787302017212,
-0.0012389885960146785,
0.044945232570171356,
0.007229366339743137,
0.014332197606563568,
-0.017900485545396805,
-0.013750136829912663,
0.04400043934583664,
-0.05429195240139961,
-0.09495186805725098,
0.05388703942298889,
0.0533471554517746,
-0.015091408044099808,
-0.0026129477191716433,
0.0420096218585968,
0.06714791059494019,
0.05763247609138489,
-0.00272472039796412,
0.03156626597046852,
0.03920897841453552,
-0.007824080996215343,
-0.00284492876380682,
-0.08024006336927414,
-0.03644208237528801,
-0.004799894522875547,
-0.07058966159820557,
0.11836927384138107,
-0.019469518214464188,
-0.05952206626534462,
0.014382812194526196,
0.007773466873914003,
-0.018271654844284058,
-0.04140225425362587,
-0.013151204213500023,
-0.016854463145136833,
0.04413541033864021,
0.014484040439128876,
-0.011843676678836346,
-0.019452648237347603,
0.06839638948440552,
-0.028833109885454178,
0.01546257734298706,
-0.05287475883960724,
-0.030587727203965187,
-0.04858944192528725,
0.011826804839074612,
-0.015437270514667034,
0.04400043934583664,
0.009895036928355694,
-0.05628276988863945,
-0.0008968168403953314,
-0.0508839413523674,
-0.051660023629665375,
-0.008148854598402977,
-0.020498670637607574,
-0.028782496228814125,
-0.03853412717580795,
0.04163845255970955,
-0.029305506497621536,
-0.018592210486531258,
-0.04980417713522911,
0.07544860243797302,
0.00026717339642345905,
-0.017293117940425873,
-0.021612178534269333,
0.05989323556423187,
0.018052326515316963,
-0.010974803008139133,
0.029659803956747055,
0.04076114296913147,
0.052064936608076096,
-0.005065618082880974,
-0.012459480203688145,
-0.0040659913793206215,
0.04966920614242554,
0.03772430121898651,
0.005807956680655479,
0.044540319591760635,
-0.04612622782588005,
-0.05999446287751198,
0.05149130895733833,
0.04035622999072075,
0.01955387555062771,
-0.01088201068341732,
-0.010164978913962841,
0.008553766645491123,
-0.021983347833156586,
0.01530229952186346,
0.014239405281841755,
-0.005504272412508726,
-0.011531556956470013,
-0.0015004941960796714,
-0.010713296942412853,
0.0019518024055287242,
-0.002482194919139147,
-0.04750967398285866,
0.023586124181747437,
0.061782825738191605,
0.027567759156227112,
-0.02007688768208027,
0.030857669189572334,
-0.019975658506155014,
-0.003405900439247489,
0.0068581970408558846,
0.02051554247736931,
-0.003283583326265216,
-0.0200431440025568,
0.026943519711494446,
0.006773840636014938,
0.023991037160158157,
-0.05371832847595215,
-0.03644208237528801,
0.0362396240234375,
-0.017984841018915176,
0.002114189090207219,
0.01779925636947155,
-0.04825201630592346,
0.03961389139294624,
0.03536231443285942,
0.011784626170992851,
0.006955207325518131,
0.06876755505800247,
0.015327606350183487,
-0.07821550220251083,
-0.004394982475787401,
0.0013233452336862683,
0.06819392740726471,
0.00520058861002326,
-0.007107049226760864,
0.02235451713204384,
0.10021572560071945,
-0.021527821198105812,
-0.017546186223626137,
0.024935830384492874,
0.03472120314836502,
-0.011717141605913639,
0.022708814591169357,
-0.004179873038083315,
0.0038487729616463184,
-0.001102963462471962,
0.08752848207950592,
-0.028833109885454178,
-0.07092708349227905,
-0.023737967014312744,
-0.04315687343478203,
0.008266953751444817,
0.069914810359478,
-0.08867572993040085,
-0.014104435220360756,
-0.028512554243206978,
-0.03345585614442825,
0.047138504683971405,
-0.03072269819676876,
0.021426593884825706,
-0.0068961577489972115,
0.04899435490369797,
0.02760150283575058,
-0.018828408792614937,
0.036340851336717606,
0.028984950855374336,
0.04602499678730965,
0.0042410315945744514,
0.018187297508120537,
-0.010772346518933773,
-0.031414423137903214,
-0.04858944192528725,
-0.06718165427446365,
0.024767117574810982,
0.014821466989815235,
0.029592318460345268,
-0.08563888818025589,
-0.017343731597065926,
-0.02307998389005661,
-0.034619975835084915,
0.015074537135660648,
-0.02179776318371296,
-0.03343898430466652,
-0.02112291008234024,
0.04943300783634186,
0.02016124315559864,
0.06613563001155853,
0.02491896040737629,
0.002355660079047084,
0.0006975242285989225,
-0.00002894817771448288,
-0.042583245784044266,
-0.07929527014493942,
0.07909281551837921,
0.03186994791030884,
-0.0257625263184309,
-0.022236417979002,
0.06917247176170349,
0.005255420692265034,
-0.027668986469507217,
0.003405900439247489,
-0.061175454407930374,
-0.05176125094294548,
-0.026049340143799782,
-0.032544802874326706,
-0.03758933022618294,
-0.03769056126475334,
-0.00013932031288277358,
-0.02179776318371296,
-0.06019691750407219,
0.006702137179672718,
-0.051018912345170975,
0.015968717634677887,
0.09137514233589172,
-0.0003221370279788971,
-0.04983792081475258,
0.026218052953481674,
0.042785704135894775,
-0.013724830001592636,
0.05068148672580719,
-0.008304914459586143,
0.07180439680814743,
0.008680300787091255,
-0.05840855836868286,
-0.013210254721343517,
0.012535400688648224,
0.09447947144508362,
0.0052343313582241535,
-0.0030726916156709194,
-0.016449550166726112,
-0.001469914917834103,
-0.08354684710502625,
0.003785505425184965,
0.041942134499549866,
-0.02351863868534565,
-0.01952013373374939,
-0.023535510525107384,
-0.013994771055877209,
-0.04187465086579323,
0.019975658506155014,
0.024294720962643623,
0.0431906133890152,
-0.06141165643930435,
0.018102940171957016,
-0.009717888198792934,
-0.011826804839074612,
-0.009296105243265629,
0.022017089650034904,
-0.019503261893987656,
0.06903749704360962,
-0.05091768503189087,
0.0264036376029253,
0.03359082713723183,
0.053785812109708786,
-0.03148191049695015,
-0.038669098168611526,
0.02375483699142933,
0.04352804273366928,
0.01844036765396595,
-0.04592376947402954,
0.05108639970421791,
0.013066847808659077,
0.0034501878544688225,
0.02220267429947853,
0.0010328419739380479,
0.02407539263367653,
0.015766261145472527,
0.030975768342614174,
-0.030334658920764923,
0.024210363626480103,
-0.029103050008416176,
0.034619975835084915,
0.10035069286823273,
-0.0024189273826777935,
-0.01413817796856165,
0.016213351860642433,
-0.02932237833738327,
-0.009810680523514748,
0.014011642895638943,
0.01333678886294365,
-0.0036990398075431585,
0.027820829302072525,
-0.018710309639573097,
0.04113231226801872,
0.0072082774713635445,
0.06654053926467896,
-0.03401260823011398,
-0.05196370929479599,
0.020954197272658348,
-0.02083609625697136,
-0.038027986884117126,
-0.03279787302017212,
0.01732685975730419,
0.009878166019916534,
0.016407372429966927,
0.02579626999795437,
0.010131236165761948,
-0.012248588725924492,
-0.017411217093467712,
-0.003064255928620696,
-0.0021373871713876724,
-0.0015785241266712546,
0.0046817949041724205,
0.04470903426408768,
0.0006395289674401283,
-0.005116231739521027,
-0.06218773499131203,
0.005613936111330986,
-0.008714043535292149,
-0.01701474003493786,
-0.025374485179781914,
-0.06120919808745384,
-0.028141384944319725,
-0.034586235880851746,
-0.014323762618005276,
0.0013117461930960417,
-0.021460335701704025,
-0.016415808349847794,
0.009709452278912067,
0.009557610377669334,
0.03704944998025894,
-0.0008630741504020989,
0.0654270350933075,
-0.02120726741850376,
0.024109136313199997,
-0.08334438502788544,
0.029339250177145004,
0.014602139592170715,
0.0035978120286017656,
-0.008916500024497509,
0.04103108495473862,
0.03414757922291756,
-0.051660023629665375,
-0.03968137875199318,
-0.00784938782453537,
-0.014905823394656181,
0.0884057879447937,
-0.03133006766438484,
0.020852968096733093,
-0.04251576215028763,
-0.0023261350579559803,
0.003785505425184965,
-0.004428725223988295,
-0.00844832044094801,
-0.03168436512351036,
0.005567539948970079,
0.0012263350654393435,
0.032460447400808334,
-0.03812921419739723,
-0.052739787846803665,
0.009760066866874695,
-0.032544802874326706,
-0.07004977762699127,
0.03904026746749878,
0.01887902244925499,
-0.017309987917542458,
-0.0909702330827713,
-0.04079488664865494,
-0.031144481152296066,
-0.012071439065039158,
-0.00552957970649004,
0.050344061106443405,
-0.02783770114183426,
-0.009009292349219322,
-0.025813139975070953,
-0.006238175556063652,
0.03262915834784508,
0.017428087070584297,
0.039141494780778885,
0.025931239128112793,
-0.007828298956155777,
-0.037454359233379364,
0.01768115721642971,
-0.007031128276139498,
0.0039710900746285915,
0.039782606065273285,
0.0006300388486124575,
-0.0003587794490158558,
0.066169373691082,
-0.018659695982933044,
-0.00033927196636796,
-0.019334549084305763,
-0.0007349574589170516,
-0.02076861262321472,
-0.02252322994172573,
0.01940203458070755,
-0.009717888198792934,
-0.002163748489692807,
0.002762680873274803,
0.02923802100121975,
-0.04828575626015663,
0.02328244037926197,
0.009557610377669334,
0.05108639970421791,
-0.059859491884708405,
0.04308938607573509,
-0.042380791157484055,
-0.022219546139240265,
0.030334658920764923,
-0.018592210486531258,
0.07288416475057602,
-0.04727347567677498,
0.011793062090873718,
0.0035239998251199722,
0.04406792297959328,
0.0559116005897522,
0.02896808087825775,
0.04359552636742592,
0.007596318144351244,
0.008975549601018429,
0.01572408340871334,
0.013775443658232689,
-0.04234704747796059,
0.015504756011068821,
0.06461720913648605,
0.003956327680498362,
0.0311613529920578,
-0.03671202063560486,
0.016145866364240646,
-0.03964763507246971,
0.019655104726552963,
0.029153665527701378,
-0.04211084917187691,
-0.007452911697328091,
0.05483183637261391,
-0.02044805698096752,
-0.023991037160158157,
-0.038500383496284485,
-0.029406733810901642,
-0.04848821461200714,
-0.009515432640910149,
-0.018777795135974884,
0.017529316246509552,
0.00021181431657169014,
0.021173523738980293,
0.015977153554558754,
0.006837108172476292,
-0.02415974996984005,
0.016854463145136833,
0.02407539263367653,
0.003378484630957246,
0.05979200825095177,
-0.026808548718690872,
-0.03904026746749878,
-0.03758933022618294,
0.0032308604568243027,
-0.09434449672698975,
0.0026888689026236534,
-0.036307111382484436,
-0.0215953066945076,
-0.0006295116618275642,
-0.029491091147065163,
0.009329847991466522,
-0.05108639970421791,
-0.027550887316465378,
-0.04508020356297493,
0.015454141423106194,
-0.0260830819606781,
-0.015504756011068821,
0.004006941802799702,
0.08422169834375381,
-0.03691447898745537,
-0.021106038242578506,
-0.009726324118673801,
-0.03392825275659561,
0.020583027973771095,
0.02488521672785282,
0.00964196678251028,
0.03166749328374863,
0.03515985980629921,
0.003973199054598808,
-0.0008224775083363056,
0.13173137605190277,
0.03151565045118332,
-0.027500273659825325,
-0.015504756011068821,
0.02611682377755642,
-0.11101337522268295,
-0.014070692472159863,
-0.002203817944973707,
-0.029609190300107002,
0.012619758024811745,
-0.03369205445051193,
-0.01887902244925499,
0.024969574064016342,
-0.017234066501259804,
0.0018600645707920194,
0.0068877218291163445,
-0.028833109885454178,
-0.01060363370925188,
-0.005812174640595913,
0.013024670071899891,
-0.01100010983645916,
-0.024260977283120155,
0.020498670637607574,
-0.06191779300570488,
-0.05904966965317726,
0.08935058116912842,
0.03644208237528801,
-0.011286922730505466,
0.014256277121603489,
0.04153722524642944,
0.019047735258936882,
-0.031110739335417747,
-0.03607091307640076,
-0.08206216990947723,
0.0068581970408558846,
-0.04535014554858208,
0.011042287573218346,
0.018372882157564163,
0.022135190665721893,
0.03357395529747009,
-0.01546257734298706,
-0.0029103050474077463,
0.030014103278517723,
-0.0001917796180350706,
-0.0016533907037228346,
-0.037386875599622726,
0.08381678909063339,
-0.015825310721993446,
0.011354407295584679,
-0.04443909227848053,
-0.03735313192009926,
-0.010434919968247414,
-0.03468746319413185,
0.019587619230151176,
0.04349429905414581,
-0.017343731597065926,
0.004437160678207874,
-0.022152060642838478,
-0.10392741858959198,
0.016812283545732498,
-0.0007043781806714833,
0.009498560801148415,
0.012375122867524624,
0.035463541746139526,
-0.009169570170342922,
0.05095142871141434,
-0.016786977648735046,
-0.03924272209405899,
0.008515805937349796,
0.03731939196586609,
0.021106038242578506,
0.01035899855196476,
0.04005254805088043,
0.01633988693356514,
0.012628193013370037,
0.02404165081679821,
-0.013345224782824516,
0.0032076623756438494,
-0.026791678741574287,
-0.017900485545396805,
-0.01330304704606533,
0.0009985720971599221,
-0.023771708831191063,
0.04943300783634186,
0.07058966159820557,
0.04612622782588005,
0.058543529361486435,
-0.0014129742048680782,
-0.04636242613196373,
-0.012839085422456264,
0.02716284804046154,
-0.0009827552130445838,
0.04403417930006981,
-0.005816392134875059,
0.005036093294620514,
-0.008452538400888443,
-0.022978756576776505,
0.010772346518933773,
0.02707849070429802,
0.015175764448940754,
0.053380899131298065,
0.0027711165603250265,
0.023586124181747437,
0.030030973255634308,
0.06859884411096573,
-0.040727399289608,
-0.0445740632712841,
-0.001970782643184066,
-0.004740844946354628,
0.02459840476512909,
-0.02599872462451458,
0.020532412454485893,
0.043460555374622345,
0.006440631579607725,
0.015116714872419834,
-0.007444476243108511,
-0.01407912839204073,
-0.010367434471845627,
-0.013589859008789062,
0.022911271080374718,
0.0048420727252960205,
-0.06056808680295944,
-0.01943577639758587,
0.0018105050548911095,
0.0528072752058506,
-0.0071787526831030846,
0.004652270115911961,
0.046261198818683624,
-0.004639616701751947
]
|
40,652 | pyglove.core.symbolic.dict | custom_apply | Implement pg.typing.CustomTyping interface.
Args:
path: KeyPath of current object.
value_spec: Origin value spec of the field.
allow_partial: Whether allow partial object to be created.
child_transform: Function to transform child node values in dict_obj into
their final values. Transform function is called on leaf nodes first,
then on their containers, recursively.
Returns:
A tuple (proceed_with_standard_apply, transformed value)
| def custom_apply(
self,
path: object_utils.KeyPath,
value_spec: pg_typing.ValueSpec,
allow_partial: bool,
child_transform: Optional[
Callable[[object_utils.KeyPath, pg_typing.Field, Any], Any]] = None
) -> Tuple[bool, 'Dict']:
"""Implement pg.typing.CustomTyping interface.
Args:
path: KeyPath of current object.
value_spec: Origin value spec of the field.
allow_partial: Whether allow partial object to be created.
child_transform: Function to transform child node values in dict_obj into
their final values. Transform function is called on leaf nodes first,
then on their containers, recursively.
Returns:
A tuple (proceed_with_standard_apply, transformed value)
"""
proceed_with_standard_apply = True
if self._value_spec:
if value_spec and not value_spec.is_compatible(self._value_spec):
raise ValueError(
object_utils.message_on_path(
f'Dict (spec={self._value_spec!r}) cannot be assigned to an '
f'incompatible field (spec={value_spec!r}).', path))
if self._allow_partial == allow_partial:
proceed_with_standard_apply = False
else:
self._allow_partial = allow_partial
elif isinstance(value_spec, pg_typing.Dict):
self._value_spec = value_spec
return (proceed_with_standard_apply, self)
| (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, pyglove.core.symbolic.dict.Dict] | [
0.09990070760250092,
-0.03993811458349228,
-0.031920935958623886,
0.048287805169820786,
-0.01212736964225769,
-0.0015644122613593936,
0.01096358522772789,
-0.016884107142686844,
0.043891288340091705,
-0.027025654911994934,
0.051465120166540146,
0.05216708779335022,
0.006239176262170076,
-0.03816473111510277,
-0.025086013600230217,
0.032770682126283646,
-0.004983027931302786,
0.06664973497390747,
0.0362250916659832,
0.01924861967563629,
0.06291823834180832,
-0.017696907743811607,
-0.02621285244822502,
0.044002123177051544,
0.034858107566833496,
-0.010335511527955532,
0.0025723325088620186,
-0.020301567390561104,
0.021908698603510857,
0.0014962939312681556,
-0.010492529720067978,
0.0035975708160549402,
0.021853279322385788,
0.009827510453760624,
0.012376751750707626,
-0.05822615325450897,
-0.05294294282793999,
0.05789364129304886,
-0.04222873970866203,
-0.0766250267624855,
0.010409402661025524,
0.027154963463544846,
-0.09118156135082245,
-0.0030872607603669167,
0.05382963642477989,
0.033805157989263535,
-0.008386635221540928,
0.07370632886886597,
0.03982727974653244,
-0.03701942041516304,
-0.005906666163355112,
-0.03053548000752926,
0.028023183345794678,
0.022001061588525772,
-0.06598471105098724,
-0.014639665372669697,
-0.016902578994631767,
0.06188375875353813,
0.029168494045734406,
-0.012967880815267563,
0.01182256918400526,
0.039236150681972504,
-0.06550442427396774,
-0.017438288778066635,
-0.04795529693365097,
-0.0411573201417923,
0.01252453401684761,
-0.041563719511032104,
-0.022148843854665756,
0.019636549055576324,
-0.0851224958896637,
-0.041748445481061935,
0.047659732401371,
0.04060313478112221,
0.010834276676177979,
-0.013281917199492455,
-0.03864502161741257,
-0.04093564674258232,
0.07810284942388535,
0.008049506694078445,
-0.03905142471194267,
-0.038016948848962784,
-0.04769667610526085,
-0.07278268784284592,
-0.05538134649395943,
0.03249359130859375,
-0.014759738929569721,
-0.014935229904949665,
0.11150160431861877,
0.0007042741635814309,
0.000423430377850309,
0.023977648466825485,
0.011074421927332878,
0.025640197098255157,
0.04200706630945206,
-0.0021971045061945915,
0.02479044906795025,
-0.019267093390226364,
-0.02163160778582096,
0.00887154508382082,
0.028817512094974518,
-0.005070773884654045,
-0.008331216871738434,
-0.014935229904949665,
0.051280394196510315,
0.012228969484567642,
0.013448172248899937,
-0.03646523505449295,
-0.009735146537423134,
0.0108712213113904,
0.006289976183325052,
-0.037647493183612823,
-0.02637910656630993,
0.044741034507751465,
-0.003964717034250498,
0.01978433132171631,
-0.03168078884482384,
-0.04182233661413193,
0.03072020597755909,
-0.0010056111495941877,
0.010741912759840488,
-0.004475027322769165,
0.043041542172431946,
-0.026009652763605118,
-0.03121897205710411,
0.052869051694869995,
0.04806613177061081,
0.00523702846840024,
0.012912462465465069,
0.05892811715602875,
0.0024984413757920265,
-0.011970351450145245,
0.016385341063141823,
-0.014639665372669697,
0.025215324014425278,
0.016376106068491936,
0.03871891275048256,
0.008220380172133446,
-0.001318493508733809,
-0.012016532942652702,
0.02717343531548977,
-0.027044126763939857,
0.05619414895772934,
-0.009596601128578186,
0.014898284338414669,
-0.008829981088638306,
0.012838571332395077,
0.03371279314160347,
-0.04440852627158165,
-0.004853718914091587,
-0.021114369854331017,
0.021668553352355957,
0.006206848658621311,
0.06509801745414734,
0.003902371507138014,
0.03652065619826317,
0.01856512762606144,
-0.07307825237512589,
-0.00531553803011775,
-0.04038146138191223,
0.0020735678263008595,
-0.009873692877590656,
-0.012506061233580112,
0.013023299165070057,
0.06325074285268784,
0.03166231885552406,
-0.005126192234456539,
-0.085048608481884,
0.0014835938345640898,
0.004812154918909073,
0.018463527783751488,
-0.021206732839345932,
0.04762278497219086,
0.030498534440994263,
0.07972844690084457,
0.06882952153682709,
0.015332394279539585,
-0.042672086507081985,
-0.044741034507751465,
-0.008562126196920872,
0.014196319505572319,
-0.026416052132844925,
0.008386635221540928,
0.010280093178153038,
0.008428198285400867,
0.029002239927649498,
-0.019100837409496307,
0.003865425940603018,
0.024106957018375397,
0.044925764203071594,
-0.039310041815042496,
-0.009291800670325756,
0.05035675689578056,
-0.01112060435116291,
-0.008331216871738434,
-0.030092133209109306,
0.015018356963992119,
0.015304685570299625,
0.005370956379920244,
0.07008566707372665,
-0.06676056981086731,
-0.11260996758937836,
0.017696907743811607,
0.006497794762253761,
-0.05527051165699959,
-0.0036529891658574343,
0.03151453658938408,
0.04662525653839111,
-0.053238507360219955,
-0.05168679356575012,
-0.07237628847360611,
-0.04197011888027191,
0.02394070290029049,
-0.016172904521226883,
0.02571408823132515,
-0.07862008363008499,
0.04366961494088173,
-0.05031980946660042,
-0.04189622774720192,
0.00034751888597384095,
0.06942065060138702,
0.03975338861346245,
0.022887755185365677,
0.00035588935134001076,
0.0879303589463234,
-0.04411296173930168,
-0.041268154978752136,
-0.037665966898202896,
0.007093541324138641,
-0.0007793197291903198,
-0.015415521338582039,
-0.00699655944481492,
-0.016237560659646988,
-0.026600779965519905,
0.02388528361916542,
-0.0018726764246821404,
0.05730251595377922,
-0.018768329173326492,
0.06140346825122833,
-0.016727088019251823,
0.03628050908446312,
-0.003408225020393729,
-0.048287805169820786,
-0.00482600973919034,
-0.06960537284612656,
-0.03144064545631409,
0.03434086963534355,
0.01219202484935522,
0.05663749575614929,
0.0074491421692073345,
0.027136489748954773,
0.0034266978036612272,
-0.029186967760324478,
0.05630498379468918,
-0.01182256918400526,
0.03265984728932381,
-0.013882282190024853,
-0.015147666446864605,
0.01814025454223156,
0.01581268571317196,
0.005472556222230196,
-0.007874015718698502,
-0.030701734125614166,
0.02987045980989933,
-0.023977648466825485,
-0.04954395443201065,
0.022573718801140785,
0.009356454946100712,
-0.02065255120396614,
0.02089269645512104,
-0.08460526168346405,
-0.024771977216005325,
0.029519477859139442,
-0.005551065783947706,
-0.0345810130238533,
0.035449232906103134,
0.021262152120471,
0.006825686432421207,
0.023608192801475525,
0.0028078602626919746,
0.0017387489788234234,
-0.022518299520015717,
0.0018080217996612191,
-0.022573718801140785,
-0.01615443266928196,
0.00013933947775512934,
-0.04189622774720192,
0.07684669643640518,
-0.005915902554988861,
-0.023922229185700417,
-0.00169949431437999,
-0.02815249189734459,
0.018953057006001472,
0.028780566528439522,
0.0332140289247036,
-0.013097189366817474,
-0.06520885974168777,
-0.0982012152671814,
0.002821714850142598,
-0.019322510808706284,
0.029851986095309258,
0.0067471773363649845,
0.018371164798736572,
0.0560833103954792,
0.07736393809318542,
0.047364167869091034,
0.030184496194124222,
-0.01880527473986149,
-0.02748747356235981,
0.0486203171312809,
-0.030701734125614166,
0.035282980650663376,
-0.00106102938298136,
0.01771538145840168,
0.029574895277619362,
-0.0010431339032948017,
0.009402637369930744,
-0.0037730620242655277,
-0.0033666612580418587,
0.015221557579934597,
-0.07913732528686523,
-0.009892165660858154,
-0.06280739605426788,
-0.010917403735220432,
0.03578174486756325,
-0.05253653973340988,
0.055307455360889435,
-0.0014073937200009823,
0.01941487565636635,
0.017539890483021736,
-0.05294294282793999,
0.040824808180332184,
0.06428521871566772,
0.03543076291680336,
-0.02296164631843567,
-0.0189345832914114,
0.010095365345478058,
-0.0016925670206546783,
-0.04740111157298088,
0.0036737709306180477,
0.010150783695280552,
0.03365737572312355,
0.04440852627158165,
-0.028374165296554565,
-0.01175791397690773,
-0.02944558672606945,
-0.005463319830596447,
0.034968942403793335,
0.07204378396272659,
-0.031569954007864,
-0.016662433743476868,
-0.04481492564082146,
-0.011471586301922798,
0.02584339678287506,
-0.021964116021990776,
-0.02425473928451538,
0.025252269580960274,
-0.044556308537721634,
-0.043891288340091705,
-0.07307825237512589,
0.14009743928909302,
-0.04256124794483185,
0.0033574248664081097,
0.014815157279372215,
0.05648971349000931,
0.012718497775495052,
-0.07455607503652573,
-0.007264414336532354,
-0.015323158353567123,
0.0020089130848646164,
0.03905142471194267,
-0.05346018075942993,
0.001318493508733809,
-0.012838571332395077,
0.05501189082860947,
-0.012847807258367538,
-0.035209089517593384,
0.056415822356939316,
-0.037388876080513,
0.01683792471885681,
0.05382963642477989,
0.03744429349899292,
-0.021908698603510857,
-0.016459232196211815,
0.018398873507976532,
-0.020006002858281136,
0.06487634778022766,
-0.024771977216005325,
0.02772761881351471,
-0.050430648028850555,
-0.026988709345459938,
0.019655020907521248,
0.0030041332356631756,
-0.03993811458349228,
0.017429053783416748,
-0.02322026528418064,
-0.04060313478112221,
-0.0006927286740392447,
-0.006816450040787458,
-0.0018264945829287171,
-0.003793844021856785,
-0.03217955678701401,
0.0074399057775735855,
0.00943958293646574,
0.016385341063141823,
-0.06605860590934753,
0.042302630841732025,
0.04740111157298088,
-0.0072043780237436295,
0.07869397848844528,
0.02682245336472988,
-0.01341122668236494,
0.01657930575311184,
0.021945644170045853,
-0.010649548843502998,
-0.02602812461555004,
0.018888400867581367,
-0.026988709345459938,
-0.03860807791352272,
-0.009430346079170704,
0.045960236340761185,
0.01991363987326622,
-0.016745559871196747,
0.001002147444523871,
0.04256124794483185,
-0.04954395443201065,
-0.016745559871196747,
-0.02179786190390587,
0.018204908818006516,
0.013392753899097443,
-0.00503844628110528,
-0.0710831955075264,
-0.015443230979144573,
0.027450527995824814,
0.0027062599547207355,
-0.008788418024778366,
0.0028147874400019646,
0.003595261834561825,
0.011166785843670368,
0.009642782621085644,
-0.024568775668740273,
0.043152377009391785,
-0.007208996452391148,
-0.04197011888027191,
0.020301567390561104,
-0.0021301405504345894,
-0.035282980650663376,
0.022130372002720833,
-0.00028834829572588205,
-0.008123397827148438,
0.056046366691589355,
0.034359339624643326,
0.03842334821820259,
0.020726442337036133,
-0.03589257970452309,
0.005158519372344017,
-0.012358278967440128,
-0.03707483783364296,
-0.019895166158676147,
0.0191747285425663,
0.025991179049015045,
-0.028983766213059425,
-0.003923153504729271,
-0.05135428532958031,
-0.0016175213968381286,
0.022204263135790825,
-0.028817512094974518,
0.017641490325331688,
-0.03868196904659271,
-0.05501189082860947,
0.018010945990681648,
-0.008760708384215832,
-0.001355439075268805,
0.006072921212762594,
0.015517122112214565,
0.00014835938054602593,
0.03831251338124275,
-0.032345809042453766,
-0.07451912760734558,
-0.02748747356235981,
0.04618190973997116,
0.012635370716452599,
0.025510886684060097,
-0.006968850269913673,
0.01924861967563629,
-0.018574364483356476,
0.009504237212240696,
0.026711616665124893,
0.04703165590763092,
0.029722677543759346,
0.002574641490355134,
0.033509593456983566,
0.05216708779335022,
0.02370055578649044,
-0.038090839982032776,
-0.052979886531829834,
0.0074214329943060875,
-0.016699379310011864,
0.03701942041516304,
-0.0673147514462471,
-0.023183319717645645,
-0.009314890950918198,
0.014011591672897339,
0.07289353013038635,
-0.018574364483356476,
-0.009550418704748154,
-0.018860692158341408,
0.02401459403336048,
0.01729050651192665,
-0.023257210850715637,
-0.040344517678022385,
-0.028023183345794678,
0.06531969457864761,
0.017807744443416595,
0.03060937114059925,
0.023054009303450584,
0.03140369802713394,
0.010150783695280552,
-0.029722677543759346,
-0.08091070502996445,
-0.0008428198634646833,
-0.028078600764274597,
0.009028563275933266,
-0.04233957454562187,
0.03280762955546379,
0.005541829392313957,
-0.011129840277135372,
-0.024938231334090233,
0.04887893423438072,
-0.046994712203741074,
0.03378668427467346,
-0.022462882101535797,
0.04876809939742088,
0.029981296509504318,
0.02320179156959057,
0.08216685801744461,
-0.004066317342221737,
-0.04451936110854149,
-0.06214237958192825,
-0.009074745699763298,
0.046514421701431274,
0.012367515824735165,
0.01209966093301773,
0.03653912618756294,
0.06583692878484726,
0.030092133209109306,
0.03648370876908302,
-0.05778280645608902,
0.03439628705382347,
-0.024771977216005325,
-0.011037476360797882,
-0.00435033580288291,
0.0003443438617978245,
0.04481492564082146,
-0.025621723383665085,
-0.012302860617637634,
0.013614427298307419,
-0.011499295942485332,
-0.021539242938160896,
-0.01362366322427988,
0.036132726818323135,
-0.012727734632790089,
0.039790332317352295,
-0.006239176262170076,
0.0169487614184618,
-0.026803981512784958,
-0.07913732528686523,
0.051280394196510315,
-0.013669845648109913,
-0.008520562201738358,
0.017031889408826828,
0.03727803751826286,
0.017041124403476715,
-0.03761054947972298,
0.02401459403336048,
0.021206732839345932,
-0.06321380287408829,
-0.014925993047654629,
-0.03434086963534355,
-0.052610430866479874,
-0.07588611543178558,
-0.00867296289652586,
0.04917449876666069,
-0.021594662219285965,
-0.04924838989973068,
-0.0388297513127327,
0.032530538737773895,
0.08187129348516464,
0.01075114868581295,
-0.011268386617302895,
-0.07075068354606628,
0.02419932186603546,
-0.028263328596949577,
-0.014242500998079777,
0.0444454699754715,
-0.02719190903007984,
-0.0575241893529892,
0.005430992692708969,
-0.019193202257156372,
-0.07440829277038574,
-0.07307825237512589,
-0.027099544182419777,
-0.0008422426180914044,
0.07721615582704544,
-0.04293070361018181,
0.01856512762606144,
0.016034359112381935,
-0.008271180093288422,
0.03585563600063324,
-0.03048006072640419,
0.016690142452716827,
0.009809037670493126,
0.04470409080386162,
0.00482600973919034,
0.028485001996159554,
-0.06040593981742859,
-0.06509801745414734,
0.022887755185365677,
-0.03175467997789383,
-0.039605606347322464,
-0.04832475259900093,
-0.011129840277135372,
-0.0748516395688057,
-0.00483986409381032,
-0.06029510125517845,
-0.0028586601838469505,
0.011693259701132774,
-0.001988131320104003,
-0.031551480293273926,
-0.03103424422442913,
0.009735146537423134,
0.005929757375270128,
-0.018371164798736572,
0.009259472601115704,
-0.0010258157271891832,
-0.029519477859139442,
0.008788418024778366,
-0.013069480657577515,
0.02362666465342045,
0.02963031455874443,
0.005929757375270128,
-0.04588634520769119,
-0.015147666446864605,
0.035707853734493256,
-0.05076315626502037,
-0.00423719035461545,
-0.021779388189315796,
-0.05198235809803009,
-0.002556168707087636,
0.033509593456983566,
0.000890156312379986,
-0.007264414336532354,
-0.01887916587293148,
-0.03860807791352272,
0.06018426641821861,
-0.008575980551540852,
0.07352159917354584,
-0.04647747427225113,
-0.016773270443081856,
0.044741034507751465,
-0.04075091704726219,
-0.050910938531160355,
-0.03291846439242363,
-0.012016532942652702,
0.0439651794731617,
0.0022536772303283215,
-0.0034174614120274782,
-0.010529475286602974,
0.05346018075942993,
-0.02161313407123089,
0.032475121319293976,
-0.0588911734521389,
-0.06480246037244797,
0.06199459731578827,
-0.06953148543834686,
-0.05722862482070923,
0.012884752824902534,
0.04100953787565231,
0.00992911122739315,
-0.02168702520430088,
-0.00463435472920537,
-0.027505945414304733,
-0.046699147671461105,
0.10433417558670044,
-0.015748031437397003,
-0.008386635221540928,
0.04330015927553177,
-0.019451821222901344,
0.018518945202231407,
-0.054272979497909546,
0.04666220396757126,
-0.07315214723348618,
-0.011831805109977722,
0.013642136007547379,
-0.04378044977784157,
-0.055122729390859604,
-0.01887916587293148,
0.014334864914417267,
0.034913524985313416,
0.048103079199790955,
0.023737501353025436,
0.002385295694693923,
0.005694229621440172,
-0.06668668240308762,
0.008515944704413414,
-0.023682083934545517,
-0.03993811458349228,
-0.004043226130306721,
0.0804673582315445,
0.0004528713470790535,
-0.01319879014045,
0.09591059386730194,
0.018232617527246475,
-0.056415822356939316,
0.00532939238473773,
0.019876694306731224,
0.00809107068926096,
0.027339691296219826,
0.04662525653839111,
-0.06155125051736832,
-0.002142840763553977,
0.018657492473721504,
-0.011656314134597778,
-0.0005792943411506712,
0.022093426436185837,
0.0026623872108757496,
0.02608354389667511,
-0.015276975929737091,
0.023441938683390617,
0.017604544758796692,
0.055861640721559525,
0.007860161364078522,
0.002286004601046443,
-0.05789364129304886,
-0.006456231232732534,
0.013632900081574917,
0.014925993047654629,
0.020301567390561104,
-0.029334750026464462,
0.018823746591806412,
0.0024730414152145386,
0.07802895456552505,
0.009633546695113182,
0.01175791397690773,
0.024033065885305405,
-0.022148843854665756,
0.009541182778775692,
0.041563719511032104,
0.035948000848293304,
0.020597131922841072,
0.04038146138191223,
0.05349712446331978,
0.013115662150084972,
0.03831251338124275,
0.05209319666028023,
0.015221557579934597,
-0.011443877592682838,
-0.030018242076039314,
0.015489412471652031,
0.002800932852551341,
-0.028503475710749626,
-0.040455352514982224,
-0.031736209988594055,
0.017207380384206772,
0.012570716440677643,
0.016246795654296875,
0.008331216871738434,
0.06107096001505852
]
|
40,653 | pyglove.core.symbolic.dict | format | Formats this Dict. | def format(
self,
compact: bool = False,
verbose: bool = True,
root_indent: int = 0,
*,
python_format: bool = False,
hide_default_values: bool = False,
hide_missing_values: bool = False,
include_keys: Optional[Set[str]] = None,
exclude_keys: Optional[Set[str]] = None,
use_inferred: bool = False,
cls_name: Optional[str] = None,
bracket_type: object_utils.BracketType = object_utils.BracketType.CURLY,
key_as_attribute: bool = False,
extra_blankline_for_field_docstr: bool = False,
**kwargs) -> str:
"""Formats this Dict."""
cls_name = cls_name or ''
exclude_keys = exclude_keys or set()
def _indent(text, indent):
return ' ' * 2 * indent + text
def _should_include_key(key):
if include_keys:
return key in include_keys
return key not in exclude_keys
field_list = []
if self._value_spec and self._value_spec.schema:
matched_keys, unmatched = self._value_spec.schema.resolve(self.keys()) # pytype: disable=attribute-error
assert not unmatched
for key_spec, keys in matched_keys.items():
for key in keys:
if _should_include_key(key):
field = self._value_spec.schema[key_spec]
v = self.sym_getattr(key)
if use_inferred and isinstance(v, base.Inferential):
v = self.sym_inferred(key, default=v)
if pg_typing.MISSING_VALUE == v:
if hide_missing_values:
continue
elif hide_default_values and base.eq(v, field.default_value):
continue
field_list.append((field, key, v))
else:
for k, v in self.sym_items():
if _should_include_key(k):
if use_inferred and isinstance(v, base.Inferential):
v = self.sym_inferred(k, default=v)
field_list.append((None, k, v))
open_bracket, close_bracket = object_utils.bracket_chars(bracket_type)
if not field_list:
return f'{cls_name}{open_bracket}{close_bracket}'
if compact:
s = [f'{cls_name}{open_bracket}']
kv_strs = []
for _, k, v in field_list:
v_str = object_utils.format(
v,
compact,
verbose,
root_indent + 1,
hide_default_values=hide_default_values,
hide_missing_values=hide_missing_values,
python_format=python_format,
use_inferred=use_inferred,
extra_blankline_for_field_docstr=extra_blankline_for_field_docstr,
**kwargs)
if not python_format or key_as_attribute:
kv_strs.append(f'{k}={v_str}')
else:
kv_strs.append(f'\'{k}\': {v_str}')
s.append(', '.join(kv_strs))
s.append(close_bracket)
else:
s = [f'{cls_name}{open_bracket}\n']
for i, (f, k, v) in enumerate(field_list):
if i != 0:
s.append(',\n')
if verbose and f and typing.cast(pg_typing.Field, f).description:
if i != 0 and extra_blankline_for_field_docstr:
s.append('\n')
description = typing.cast(pg_typing.Field, f).description
for line in description.split('\n'):
s.append(_indent(f'# {line}\n', root_indent + 1))
v_str = object_utils.format(
v,
compact,
verbose,
root_indent + 1,
hide_default_values=hide_default_values,
hide_missing_values=hide_missing_values,
python_format=python_format,
use_inferred=use_inferred,
extra_blankline_for_field_docstr=extra_blankline_for_field_docstr,
**kwargs)
if not python_format:
# Format in PyGlove's format (default).
s.append(_indent(f'{k} = {v_str}', root_indent + 1))
elif key_as_attribute:
# Format `pg.Objects` under Python format.
s.append(_indent(f'{k}={v_str}', root_indent + 1))
else:
# Format regular `pg.Dict` under Python format.
s.append(_indent(f'\'{k}\': {v_str}', root_indent + 1))
s.append('\n')
s.append(_indent(close_bracket, root_indent))
return ''.join(s)
| (self, compact: bool = False, verbose: bool = True, root_indent: int = 0, *, python_format: bool = False, hide_default_values: bool = False, hide_missing_values: bool = False, include_keys: Optional[Set[str]] = None, exclude_keys: Optional[Set[str]] = None, use_inferred: bool = False, cls_name: Optional[str] = None, bracket_type: pyglove.core.object_utils.formatting.BracketType = <BracketType.CURLY: 2>, key_as_attribute: bool = False, extra_blankline_for_field_docstr: bool = False, **kwargs) -> str | [
0.06519968807697296,
-0.036028239876031876,
-0.015628276392817497,
-0.0020111757330596447,
0.014395257458090782,
-0.05365140363574028,
-0.0046864780597388744,
-0.05136580765247345,
-0.0006064854096621275,
-0.05970623344182968,
-0.01354316994547844,
0.018836133182048798,
0.029351890087127686,
0.0028344420716166496,
0.0175730399787426,
0.03699059784412384,
-0.00489699374884367,
-0.022916126996278763,
0.03781261295080185,
-0.00673148687928915,
0.07839199900627136,
-0.003994784317910671,
0.020369891077280045,
0.04466940462589264,
0.03412357717752457,
-0.0574607327580452,
0.034644853323698044,
0.04230361059308052,
-0.05092472583055496,
-0.017643211409449577,
0.019337361678481102,
-0.0036815167404711246,
-0.015878891572356224,
0.05609739571809769,
-0.017542965710163116,
-0.082040935754776,
-0.01281137764453888,
0.009548385627567768,
-0.054252877831459045,
-0.03524632751941681,
0.00924263708293438,
0.00650092214345932,
-0.08468741923570633,
-0.06431752443313599,
0.0019510284764692187,
0.049561385065317154,
0.056899357587099075,
0.03534657135605812,
-0.009172465652227402,
-0.045631762593984604,
0.024680448696017265,
-0.021653033792972565,
-0.03111620992422104,
0.01245049387216568,
-0.0431857705116272,
-0.07855239510536194,
-0.01098690927028656,
0.0053831846453249454,
0.003989771939814091,
-0.00019312926451675594,
-0.03011375479400158,
0.06808675825595856,
-0.024600250646471977,
0.042824886739254,
-0.04799755662679672,
-0.01822463609278202,
-0.023317107930779457,
-0.018154464662075043,
-0.03249960020184517,
-0.04807775467634201,
-0.02333715744316578,
-0.006520971190184355,
0.015257368795573711,
0.004693996626883745,
-0.020510233938694,
-0.01940753310918808,
-0.02848977781832218,
-0.014204790815711021,
-0.0070221987552940845,
-0.0842062383890152,
0.0075484877452254295,
0.001395918894559145,
-0.06788627058267593,
-0.050844527781009674,
0.04386744275689125,
0.030234050005674362,
0.02241489849984646,
0.05256875231862068,
-0.001209838199429214,
0.026424719020724297,
-0.04394763708114624,
0.019618049263954163,
-0.0007449495606124401,
0.07442227751016617,
-0.03598814457654953,
-0.035486914217472076,
0.004225348588079214,
-0.0567389652132988,
-0.014134618453681469,
0.05693945661187172,
0.05325042083859444,
-0.08003602921962738,
-0.016500413417816162,
-0.011407940648496151,
-0.031817927956581116,
-0.05657857283949852,
-0.05000246688723564,
0.029732821509242058,
0.03354215249419212,
-0.032459501177072525,
-0.04286498576402664,
-0.030875621363520622,
0.0010813985718414187,
-0.014866410754621029,
0.047556474804878235,
0.0009542120969854295,
-0.014154667966067791,
0.019527828320860863,
0.030053608119487762,
-0.04338626191020012,
0.0087865199893713,
0.0016903901705518365,
-0.023938631638884544,
-0.0046739475801587105,
-0.006616204511374235,
-0.015217270702123642,
0.012761254794895649,
0.02297627367079258,
0.04422832652926445,
0.04043904319405556,
0.020159374922513962,
0.0171219352632761,
-0.03366244584321976,
-0.025422263890504837,
0.07097382843494415,
0.037130940705537796,
0.03213871642947197,
0.01492655836045742,
-0.031637486070394516,
0.082040935754776,
0.06447792053222656,
-0.021031510084867477,
0.016981592401862144,
-0.02445990778505802,
-0.05593700334429741,
-0.04017840698361397,
0.0167610514909029,
0.04158184304833412,
-0.041501644998788834,
0.013302581384778023,
-0.0058543384075164795,
0.02261538989841938,
0.06748528778553009,
0.03717103973031044,
-0.0063906521536409855,
-0.009172465652227402,
-0.04775696620345116,
-0.046473823487758636,
0.03396318480372429,
-0.016049308702349663,
-0.00034991951542906463,
-0.034644853323698044,
0.03530647233128548,
-0.006250308360904455,
0.0477970652282238,
0.05216776952147484,
-0.01199938915669918,
-0.06507939100265503,
-0.00576912984251976,
0.01125757209956646,
0.0135531947016716,
-0.0333416610956192,
-0.0217733271420002,
0.030193950980901718,
0.00966366846114397,
0.057621125131845474,
-0.011698652990162373,
-0.00988922081887722,
-0.003042451571673155,
-0.05300983414053917,
0.016510438174009323,
-0.015497958287596703,
0.016089405864477158,
0.007082346361130476,
0.020530283451080322,
-0.01281137764453888,
-0.001709186122752726,
-0.004739107098430395,
0.0435466542840004,
0.029412036761641502,
0.021552788093686104,
0.006706425454467535,
0.011788873933255672,
0.01469599362462759,
-0.0065961554646492004,
-0.0031903136987239122,
0.01451555173844099,
-0.016911419108510017,
0.01459574792534113,
0.04474960267543793,
-0.0470752976834774,
-0.003418372245505452,
0.02022954635322094,
-0.04559166356921196,
-0.027026193216443062,
-0.01314218807965517,
0.030835522338747978,
-0.03111620992422104,
-0.02241489849984646,
-0.007563524879515171,
-0.006215222645550966,
-0.025241822004318237,
-0.03664976358413696,
-0.021412443369627,
0.01414464320987463,
-0.04835844039916992,
0.11227498948574066,
-0.010099736042320728,
-0.06728479266166687,
0.02911129966378212,
0.0620720274746418,
-0.009317821823060513,
-0.041140761226415634,
-0.006435762625187635,
0.016881346702575684,
-0.042063020169734955,
-0.027066290378570557,
0.012671033851802349,
-0.0005544830346480012,
-0.07658758014440536,
0.01221992913633585,
-0.024660399183630943,
-0.04402783513069153,
0.022675536572933197,
-0.0007342984317801893,
-0.0008934382349252701,
0.01729235239326954,
-0.014625822193920612,
-0.01021501887589693,
-0.025422263890504837,
0.04067963361740112,
0.023136666044592857,
-0.03769231587648392,
-0.03131670132279396,
-0.015127049759030342,
-0.0770687609910965,
0.020550332963466644,
0.009959393180906773,
0.01940753310918808,
0.019287237897515297,
0.0003514858544804156,
0.02279583178460598,
0.039697226136922836,
0.0312164556235075,
-0.013793784193694592,
0.00727782491594553,
-0.021292150020599365,
0.01222995389252901,
0.023297060281038284,
-0.007713892962783575,
-0.034544605761766434,
-0.062112126499414444,
-0.034103527665138245,
0.03917594999074936,
0.07181589305400848,
0.025562608614563942,
0.03608838841319084,
-0.028449678793549538,
0.012199880555272102,
0.005197730381041765,
-0.03257979452610016,
0.002902108011767268,
-0.0063906521536409855,
0.013102089986205101,
-0.0538518950343132,
-0.00723271444439888,
0.02235475182533264,
-0.03137684985995293,
0.003428397001698613,
-0.01932733692228794,
0.012620911002159119,
-0.042423903942108154,
0.008550942875444889,
0.006601167842745781,
0.0862913429737091,
0.04695500433444977,
-0.05962603539228439,
-0.00814494863152504,
-0.007217677775770426,
0.0011177376145496964,
0.04964158311486244,
-0.0036890353076159954,
0.04266449436545372,
0.00004280014036339708,
0.03342185914516449,
-0.02061047963798046,
-0.013031917624175549,
-0.0201493501663208,
-0.029151398688554764,
-0.058463189750909805,
0.007994580082595348,
0.03618863224983215,
0.13256467878818512,
0.04891981557011604,
0.020369891077280045,
-0.02003907971084118,
0.009783962741494179,
-0.02810884453356266,
0.023477502167224884,
0.010004503652453423,
-0.05914485827088356,
0.07911376655101776,
0.053691502660512924,
0.04486989602446556,
-0.01930728740990162,
0.014706018380820751,
-0.05144600197672844,
0.01904664933681488,
0.026865800842642784,
0.00508495420217514,
-0.016079381108283997,
-0.008355464786291122,
-0.03829379007220268,
0.031076112762093544,
0.013192310929298401,
-0.09455157816410065,
0.004338125232607126,
-0.006987113039940596,
0.021853523328900337,
-0.03679010644555092,
0.014726066961884499,
-0.042544201016426086,
0.003257979406043887,
0.06572096794843674,
-0.017713384702801704,
0.013172261416912079,
-0.00493959803134203,
-0.03951678425073624,
-0.05172669142484665,
-0.05722014605998993,
0.05401228740811348,
0.01039546076208353,
0.002008669776841998,
-0.02967267483472824,
-0.08621115237474442,
-0.05124551057815552,
0.06247301027178764,
-0.027607617899775505,
0.04238380864262581,
0.0006130640394985676,
0.003135178703814745,
-0.04659412056207657,
0.024038877338171005,
0.045190680772066116,
-0.003280534641817212,
-0.07337972521781921,
-0.009458164684474468,
-0.032980777323246,
-0.02233470231294632,
0.018164489418268204,
0.030915718525648117,
0.00874140951782465,
0.0046513923443853855,
0.024760644882917404,
0.032359253615140915,
-0.013934127986431122,
-0.02554255910217762,
-0.03562726080417633,
0.01066612359136343,
0.010966860689222813,
-0.02261538989841938,
-0.038233641535043716,
0.03506588563323021,
-0.07582571357488632,
-0.04394763708114624,
0.05373160168528557,
-0.00503232516348362,
0.062392812222242355,
-0.07638708502054214,
-0.011197424493730068,
0.06199183315038681,
-0.005944559350609779,
-0.0046413675881922245,
0.040038060396909714,
-0.01305196713656187,
0.010315264575183392,
0.045351073145866394,
-0.010555853135883808,
0.033020876348018646,
-0.017372548580169678,
-0.04338626191020012,
0.02169313095510006,
0.018635643646121025,
0.01085659023374319,
-0.011748774908483028,
0.00764372106641531,
-0.02518167532980442,
-0.02482079155743122,
-0.015257368795573711,
-0.01482631266117096,
0.03937644138932228,
-0.07177579402923584,
0.04001801460981369,
-0.03296072781085968,
-0.013342679478228092,
-0.055977098643779755,
0.07791081815958023,
-0.02397872880101204,
-0.01977844163775444,
0.08087808638811111,
0.0749034583568573,
0.004142646212130785,
-0.062432911247015,
0.02089116722345352,
0.019096771255135536,
-0.014264937490224838,
-0.022475047037005424,
0.027346977964043617,
-0.05657857283949852,
0.045832253992557526,
0.017803605645895004,
0.008225144818425179,
-0.009187501855194569,
0.029051152989268303,
-0.0006804164731875062,
-0.014134618453681469,
-0.05024305731058121,
0.015167147852480412,
0.06022750958800316,
0.0066863764077425,
-0.001526238047517836,
0.006525983568280935,
0.03847423195838928,
0.01786375232040882,
-0.022454997524619102,
-0.023216864094138145,
0.05280934274196625,
-0.050042565912008286,
0.035486914217472076,
0.019287237897515297,
0.021833475679159164,
-0.03476514667272568,
0.01098690927028656,
-0.017282327637076378,
-0.001060096430592239,
0.0556563138961792,
-0.02792840264737606,
0.031817927956581116,
0.031637486070394516,
0.03065508045256138,
0.07289854437112808,
0.023958679288625717,
0.03003355860710144,
0.02097136341035366,
-0.02562275528907776,
-0.04687480628490448,
-0.00402736384421587,
-0.009713791310787201,
0.0063806273974478245,
0.012891573831439018,
-0.00007663300493732095,
0.011297670193016529,
0.027587568387389183,
0.02528192102909088,
-0.01704173907637596,
-0.017342476174235344,
0.005974633153527975,
0.002013681922107935,
-0.052127670496702194,
-0.02628437615931034,
-0.007518414407968521,
0.00549345463514328,
-0.02253519371151924,
0.049400992691516876,
-0.0012681058142334223,
0.03237930312752724,
0.047556474804878235,
-0.020199472084641457,
-0.09615550935268402,
-0.06042800098657608,
0.0635155662894249,
-0.03506588563323021,
-0.0503232516348362,
-0.04057938605546951,
0.06159085035324097,
0.04374714568257332,
0.04775696620345116,
0.013352703303098679,
-0.001983608352020383,
0.021993868052959442,
-0.0342438705265522,
0.017262279987335205,
-0.020389938727021217,
0.022394848987460136,
0.0030950806103646755,
-0.007157530169934034,
-0.007493352983146906,
-0.043065477162599564,
-0.03211866691708565,
-0.04723569005727768,
0.021171854808926582,
-0.002502378774806857,
-0.011097179725766182,
0.00961855798959732,
0.008300329558551311,
-0.036028239876031876,
0.033923085778951645,
0.05886417254805565,
0.031156308948993683,
-0.027447223663330078,
-0.011147302575409412,
-0.03169763460755348,
0.039977915585041046,
-0.0018908812198787928,
-0.01912684552371502,
-0.018445177003741264,
-0.013904053717851639,
-0.020480159670114517,
0.012300125323235989,
-0.035025786608457565,
-0.037592072039842606,
0.0431857705116272,
-0.02169313095510006,
0.015728522092103958,
-0.03650942072272301,
0.08324388414621353,
0.0402987003326416,
-0.01085659023374319,
0.023958679288625717,
-0.01062602549791336,
0.050403449684381485,
0.0013219878310337663,
0.0171219352632761,
-0.00952833704650402,
-0.025482412427663803,
0.06540017575025558,
0.006525983568280935,
0.0602676086127758,
-0.04515058547258377,
0.0017392598092556,
0.10016532987356186,
0.08436663448810577,
-0.012971770949661732,
-0.00870131142437458,
0.025301970541477203,
0.0026088897138834,
0.06131016090512276,
-0.013533145189285278,
0.001281889621168375,
-0.0208711177110672,
-0.038674723356962204,
0.002924663247540593,
0.041261058300733566,
0.042824886739254,
-0.017923898994922638,
-0.009443128481507301,
0.03833388909697533,
0.00993433129042387,
0.05064404010772705,
-0.011427989229559898,
-0.00430303905159235,
0.031617436558008194,
0.017713384702801704,
-0.04667431488633156,
0.0166708305478096,
0.03833388909697533,
0.012430445291101933,
0.04495009407401085,
-0.01804419420659542,
0.045711956918239594,
-0.05092472583055496,
0.0477970652282238,
0.03219886124134064,
0.020089203491806984,
0.024700496345758438,
-0.007999592460691929,
-0.08260231465101242,
0.0756252259016037,
-0.019197016954421997,
-0.05449346825480461,
-0.0235376488417387,
0.024018827825784683,
0.055335529148578644,
-0.047837164252996445,
0.004606281872838736,
0.014295011758804321,
0.010039589367806911,
0.00850583240389824,
0.03683020547032356,
0.015798695385456085,
-0.04523077979683876,
0.012520666234195232,
0.009182489477097988,
-0.010996934026479721,
0.02043003775179386,
0.03147709369659424,
-0.02546236291527748,
0.01455564983189106,
0.009829073213040829,
-0.0028970956336706877,
-0.060187410563230515,
0.04807775467634201,
-0.019638098776340485,
0.023958679288625717,
0.02143249288201332,
-0.02021952159702778,
0.09639609605073929,
0.03368249535560608,
0.04579215496778488,
-0.023417353630065918,
-0.003947167657315731,
0.023397305980324745,
-0.04001801460981369,
-0.01566837541759014,
-0.01126759685575962,
-0.033201318234205246,
-0.021653033792972565,
0.021753277629613876,
0.026524964720010757,
-0.06271360069513321,
-0.016259822994470596,
0.03412357717752457,
-0.03725123777985573,
0.02333715744316578,
-0.048278242349624634,
0.04631343111395836,
-0.049481190741062164,
0.007393107283860445,
-0.015096975490450859,
-0.05722014605998993,
0.007478315848857164,
0.008956937119364738,
-0.015207245945930481,
0.0062302593141794205,
-0.05244845896959305,
-0.0176632609218359,
-0.0034158662892878056,
0.0134629737585783,
-0.03133675083518028,
0.057741422206163406,
-0.0007104901596903801,
-0.061109669506549835,
-0.025883393362164497,
0.09022097289562225,
-0.03440426290035248,
0.006485885474830866,
0.008395562879741192,
-0.0842062383890152,
0.041421450674533844,
0.024740595370531082,
-0.04928069934248924,
0.023497549816966057,
-0.042985279113054276,
-0.07959494739770889,
-0.0242594163864851,
-0.005523528438061476,
-0.04266449436545372,
-0.037592072039842606,
-0.01674100197851658,
-0.001335771637968719,
0.014154667966067791,
-0.049761876463890076,
-0.0467144139111042,
-0.02223445661365986,
-0.0237180907279253,
-0.003130166558548808,
-0.026585113257169724,
0.04402783513069153,
0.10184945166110992,
-0.00855595525354147,
-0.02802864834666252,
-0.014886460267007351,
0.020019030198454857,
0.015878891572356224,
-0.07911376655101776,
-0.01107713021337986,
0.03175778314471245,
0.07947465032339096,
0.03003355860710144,
-0.07337972521781921,
0.08192063868045807,
-0.01731240190565586,
-0.041261058300733566,
0.010866614989936352,
0.004603775683790445,
-0.04835844039916992,
-0.00960853323340416,
-0.00850583240389824,
0.02482079155743122,
-0.06503929197788239,
-0.025301970541477203,
-0.027166536077857018,
-0.0265650637447834,
-0.02983306720852852,
-0.030254099518060684,
-0.0734599158167839,
0.034644853323698044,
0.00833040289580822,
0.035386670380830765,
0.0036213696002960205,
-0.020991412922739983,
0.012460518628358841,
0.019267190247774124,
0.015257368795573711,
0.02433961257338524,
0.03626883029937744,
0.02957242913544178,
0.006947014946490526,
-0.013853930868208408,
0.0007123697432689369,
0.04092022404074669,
0.10978889465332031,
-0.0272868312895298,
-0.030434541404247284,
0.0011509439209476113,
-0.0161295048892498,
0.003107611322775483,
0.011969315819442272,
0.019197016954421997,
-0.0100746750831604,
-0.0328003354370594,
0.08781507611274719,
-0.0031627463176846504,
0.006661314982920885,
0.02893085777759552,
0.02024959586560726,
-0.06973078846931458,
-0.000060421421949286014,
-0.03951678425073624,
-0.0182045865803957,
0.03833388909697533,
0.02726678177714348,
-0.07161540538072586,
-0.019477704539895058,
0.021412443369627,
-0.02097136341035366,
-0.02169313095510006,
0.008435660973191261,
0.013422875665128231,
0.0399378165602684,
-0.05148610100150108,
0.07903356850147247,
-0.029973411932587624,
0.0328003354370594,
-0.029973411932587624,
0.016620708629488945,
0.047917358577251434,
0.01102700736373663,
-0.014224839396774769,
0.021031510084867477,
0.010099736042320728,
0.04274469241499901,
-0.028068747371435165,
0.00594957172870636,
0.0670442059636116,
0.009738852269947529,
-0.029612528160214424,
0.03223896026611328,
0.03255974501371384,
-0.030915718525648117,
-0.022314652800559998,
-0.04250410199165344,
0.02828928641974926,
0.03422382101416588,
0.022815881296992302,
0.015117025002837181,
-0.02582324668765068,
-0.0011879093945026398
]
|
40,655 | pyglove.core.symbolic.dict | items | Returns an iterator of (key, value) items in current dict. | def items(self) -> Iterator[Tuple[str, Any]]: # pytype: disable=signature-mismatch
"""Returns an iterator of (key, value) items in current dict."""
return self.sym_items()
| (self) -> Iterator[Tuple[str, Any]] | [
0.05057375133037567,
-0.047366637736558914,
-0.06400135159492493,
-0.04863538593053818,
0.01310159731656313,
-0.006612474098801613,
0.00567853357642889,
-0.007083849515765905,
0.1337825506925583,
-0.01137468870729208,
0.004121232312172651,
0.020564310252666473,
0.023330887779593468,
0.05198347195982933,
-0.03295223414897919,
0.003533113980665803,
-0.018802158534526825,
0.031806837767362595,
-0.06992217898368835,
0.0480010099709034,
-0.026573246344923973,
0.0377100445330143,
0.022326461970806122,
-0.0019174412591382861,
-0.00619836850091815,
-0.0007610292523168027,
0.015436448156833649,
-0.03092576190829277,
0.08246869593858719,
-0.0015727203572168946,
-0.07640689611434937,
-0.0046564857475459576,
0.0349787101149559,
-0.011920955963432789,
0.026555625721812248,
-0.020617173984646797,
-0.0030617385637015104,
-0.005898802541196346,
0.041868723928928375,
0.021445386111736298,
0.03143678605556488,
0.002993455156683922,
0.04645031690597534,
-0.019154587760567665,
0.01603557914495468,
-0.0036278297193348408,
0.012431980110704899,
-0.016176551580429077,
0.08430133759975433,
-0.047366637736558914,
0.03517254814505577,
-0.00787681806832552,
0.015031153336167336,
-0.012097171507775784,
-0.0019526842515915632,
0.014969478361308575,
-0.02722524292767048,
-0.022062139585614204,
-0.016714008525013924,
0.06618641316890717,
0.011057501658797264,
-0.0393664687871933,
0.025886008515954018,
-0.03993035480380058,
0.02770102396607399,
-0.05085569620132446,
-0.028705449774861336,
-0.04475865140557289,
-0.03693469986319542,
0.006044180132448673,
0.003193899756297469,
-0.02868782915174961,
-0.04370136186480522,
0.006603663321584463,
-0.06185152381658554,
-0.037428099662065506,
-0.035225410014390945,
0.020811010152101517,
0.01744530163705349,
-0.0667150616645813,
-0.023436617106199265,
0.0020628187339752913,
-0.06445951014757156,
0.009823995642364025,
-0.02840588428080082,
0.06230968236923218,
-0.004024313762784004,
0.011762361973524094,
-0.008092681877315044,
0.10544715821743011,
-0.0056697227992117405,
0.016758061945438385,
-0.01137468870729208,
0.05092618241906166,
-0.003583775833249092,
-0.02447628602385521,
-0.026044601574540138,
-0.04659128934144974,
-0.014150077477097511,
0.01571839302778244,
0.0012973841512575746,
-0.011665443889796734,
0.004260001704096794,
0.00443181162700057,
-0.002883320674300194,
-0.02063479647040367,
-0.02955128252506256,
-0.06653884798288345,
0.026925677433609962,
-0.00799576286226511,
-0.07915585488080978,
0.05512010306119919,
0.01645849645137787,
0.03732237219810486,
-0.020423337817192078,
0.02722524292767048,
-0.034326713532209396,
-0.030115172266960144,
0.03374520316720009,
0.020687660202383995,
-0.04183347895741463,
0.03115484118461609,
0.035577841103076935,
0.045639727264642715,
0.03559546172618866,
0.014546561986207962,
0.021974030882120132,
-0.027295729145407677,
-0.06378988921642303,
0.02294321544468403,
0.03319893777370453,
0.007854791358113289,
0.02156873606145382,
0.0031212111935019493,
0.003295223694294691,
-0.007991357706487179,
0.10340306162834167,
0.010978205129504204,
-0.010978205129504204,
0.06301454454660416,
0.04370136186480522,
0.0349787101149559,
-0.019982799887657166,
0.06537582725286484,
-0.056212637573480606,
-0.05173677206039429,
-0.018484970554709435,
0.05025656521320343,
0.03134867921471596,
-0.04162202030420303,
-0.011586147360503674,
0.03531352058053017,
-0.011101555079221725,
0.10664542019367218,
-0.021674465388059616,
0.003870125627145171,
-0.024811094626784325,
0.005392184015363455,
-0.019401289522647858,
-0.014916613698005676,
-0.04338417202234268,
-0.041516292840242386,
0.008577273227274418,
-0.009542050771415234,
0.0137095395475626,
0.03855587914586067,
-0.015824122354388237,
-0.04137532040476799,
0.05363989621400833,
-0.04334893077611923,
0.028899287804961205,
-0.05173677206039429,
-0.04077618941664696,
-0.036441296339035034,
-0.01200025249272585,
0.004643269814550877,
-0.017233842983841896,
0.05445048585534096,
0.05096142739057541,
-0.017075249925255775,
0.003209318732842803,
-0.051172882318496704,
-0.07499717175960541,
-0.04521680995821953,
0.03277602046728134,
0.04141056537628174,
0.031172463670372963,
0.034908223897218704,
0.060054127126932144,
-0.029163610190153122,
-0.011498039588332176,
-0.0213396567851305,
-0.018907887861132622,
0.003114602994173765,
-0.04387757554650307,
-0.023189915344119072,
-0.021780194714665413,
0.01594747230410576,
-0.05441524460911751,
0.050749968737363815,
-0.05804527550935745,
-0.07041557878255844,
-0.05022132396697998,
0.04024754464626312,
-0.011427553370594978,
-0.006083828397095203,
0.010775557719171047,
-0.07478571683168411,
0.02648513950407505,
0.02690805494785309,
-0.03437957912683487,
-0.03494346886873245,
0.004938430152833462,
-0.015533367171883583,
-0.03721664473414421,
-0.019771341234445572,
-0.024070991203188896,
-0.04126959294080734,
-0.02067003957927227,
-0.024811094626784325,
0.0785919651389122,
-0.03393904119729996,
-0.012379115447402,
-0.046661775559186935,
0.051102396100759506,
-0.055543020367622375,
0.011092744767665863,
0.007136714179068804,
-0.06706748902797699,
0.008515598252415657,
0.04229164123535156,
0.014449643902480602,
0.018766915425658226,
-0.004828295670449734,
0.0036366404965519905,
-0.0136566748842597,
-0.00004639415055862628,
-0.05205395817756653,
0.008180788718163967,
0.01897837407886982,
-0.025216389447450638,
0.0529702790081501,
-0.01571839302778244,
0.05367514118552208,
-0.06625690311193466,
0.0018370430916547775,
0.008925298228859901,
0.05906732380390167,
0.020846253260970116,
0.03448530659079552,
0.04595691338181496,
-0.006423042621463537,
0.011894524097442627,
0.02495206706225872,
0.03785101696848869,
-0.021198684349656105,
-0.04726090654730797,
-0.016247037798166275,
0.032705534249544144,
-0.04489962384104729,
0.055225834250450134,
0.07633640617132187,
-0.03127819299697876,
0.051772017031908035,
0.0668560341000557,
0.07260064780712128,
0.03281126543879509,
0.011119176633656025,
-0.047014206647872925,
0.047366637736558914,
0.0213748998939991,
-0.004541946109384298,
-0.026185574010014534,
0.029410311952233315,
-0.023912398144602776,
0.042221155017614365,
0.020969605073332787,
0.039190251380205154,
-0.06971071660518646,
-0.018361620604991913,
-0.006467096507549286,
0.015550988726317883,
-0.05029180645942688,
-0.024194343015551567,
-0.009295349940657616,
-0.021357277408242226,
-0.004403176251798868,
0.012202899903059006,
0.03203591704368591,
-0.018555456772446632,
0.039507441222667694,
0.026079844683408737,
0.0014515724033117294,
-0.031683485954999924,
0.05913781002163887,
0.019788963720202446,
-0.032194510102272034,
-0.03111959807574749,
0.05769284442067146,
0.042256396263837814,
0.04313747212290764,
-0.011004636995494366,
-0.030749546363949776,
0.03651178255677223,
0.03275839984416962,
0.07957877218723297,
0.06632738560438156,
0.06054753065109253,
-0.0597369410097599,
-0.003224737476557493,
-0.031190084293484688,
-0.011462796479463577,
0.03060857392847538,
-0.010502424091100693,
-0.07802807539701462,
-0.07767564803361893,
-0.04549875482916832,
0.03342801705002785,
0.007665359880775213,
0.05811576172709465,
-0.049481216818094254,
0.01245841197669506,
-0.022326461970806122,
-0.04722566530108452,
-0.015031153336167336,
0.04659128934144974,
0.0014009105507284403,
0.01783297397196293,
0.04341941699385643,
0.026590868830680847,
0.013489270582795143,
-0.018555456772446632,
-0.043595630675554276,
0.0214101430028677,
-0.008061843924224377,
0.07136714458465576,
0.0030220900662243366,
0.0427497997879982,
0.01196500938385725,
-0.07767564803361893,
0.003583775833249092,
-0.0548381581902504,
0.0512433685362339,
-0.009542050771415234,
-0.039824627339839935,
-0.024705365300178528,
0.0041476646438241005,
-0.022573161870241165,
0.07697078585624695,
0.00016589005826972425,
-0.005665317643433809,
0.01964799128472805,
0.00801338441669941,
0.018872644752264023,
0.039155010133981705,
0.01402672752737999,
-0.046697020530700684,
-0.02089911885559559,
-0.017075249925255775,
0.05089094117283821,
0.0957905650138855,
-0.006299692206084728,
-0.02542784810066223,
-0.00021958061552140862,
0.03295223414897919,
-0.07697078585624695,
-0.007066227961331606,
0.008401057682931423,
0.030784789472818375,
-0.011066311970353127,
-0.007092660292983055,
-0.012810842134058475,
-0.041516292840242386,
-0.016123687848448753,
-0.01015880424529314,
-0.007044201251119375,
0.04144580662250519,
0.06586922705173492,
-0.03989511355757713,
-0.004599215928465128,
0.03304034471511841,
-0.043948061764240265,
0.03134867921471596,
0.04571021348237991,
0.024194343015551567,
-0.009198431856930256,
0.03009754978120327,
-0.0308376532047987,
0.0158681757748127,
0.0428202860057354,
-0.047331392765045166,
-0.01074912492185831,
-0.018837401643395424,
0.04902305826544762,
0.0031212111935019493,
-0.03964841365814209,
0.03894355148077011,
-0.08627494424581528,
-0.07795758545398712,
-0.010290965437889099,
0.029410311952233315,
-0.03689945489168167,
-0.06449475139379501,
-0.020264744758605957,
0.0014064173446968198,
-0.07675932347774506,
-0.012088360264897346,
0.003130021970719099,
-0.003259980585426092,
-0.016555415466427803,
0.029145987704396248,
-0.006947282701730728,
-0.01074912492185831,
-0.021233927458524704,
0.026079844683408737,
-0.03633556887507439,
-0.03633556887507439,
0.013445217162370682,
0.030908139422535896,
0.03296985849738121,
0.03393904119729996,
-0.08430133759975433,
-0.00099671701900661,
0.004220353439450264,
-0.021938787773251534,
-0.011075123213231564,
-0.026819948107004166,
0.0012235940666869283,
0.008779920637607574,
-0.02986847050487995,
-0.001992332749068737,
-0.03799198940396309,
0.005171915050595999,
-0.008061843924224377,
0.0038877471815794706,
0.011718308553099632,
-0.044970110058784485,
-0.0323883481323719,
0.024582015350461006,
0.009973778389394283,
-0.02447628602385521,
0.026978541165590286,
0.019630368798971176,
-0.023137051612138748,
0.04373660311102867,
-0.005982504691928625,
-0.0273133497685194,
0.04828295484185219,
0.08119995146989822,
0.0248287171125412,
0.00568734435364604,
0.000580959371291101,
0.028123941272497177,
-0.05956072732806206,
0.01740124821662903,
0.04655604809522629,
-0.027683403342962265,
-0.020070906728506088,
-0.004793052561581135,
0.004484675824642181,
0.07386939972639084,
-0.024159099906682968,
-0.00837022066116333,
-0.03552497550845146,
0.0307671669870615,
-0.04475865140557289,
-0.03901403769850731,
0.05092618241906166,
0.013850511983036995,
0.03143678605556488,
-0.003185089211910963,
0.035260654985904694,
-0.01728670857846737,
-0.05709371343255043,
0.006017747800797224,
-0.008572868071496487,
0.0004592607729136944,
-0.0009020013967528939,
-0.01602676883339882,
-0.06622166186571121,
0.0021949801594018936,
-0.04172775149345398,
0.017392436042428017,
0.007793115917593241,
-0.007528793066740036,
0.005594831425696611,
0.0027819969691336155,
-0.02789486013352871,
-0.06756089627742767,
0.026044601574540138,
0.027330972254276276,
-0.02067003957927227,
-0.02290797233581543,
0.047366637736558914,
0.036441296339035034,
0.004903187043964863,
0.0052908603101968765,
0.00023733980196993798,
-0.020652417093515396,
0.021357277408242226,
0.02793010324239731,
-0.007625711150467396,
0.06921731680631638,
0.02696092054247856,
-0.004066165070980787,
0.0010440748883411288,
-0.011304202489554882,
-0.043948061764240265,
-0.0001064174430212006,
-0.07478571683168411,
0.033110830932855606,
-0.0273133497685194,
0.04504059627652168,
-0.04278504103422165,
0.030749546363949776,
-0.06551679968833923,
-0.026767084375023842,
-0.0008607009658589959,
-0.016793305054306984,
0.0012412156211212277,
-0.00451991893351078,
-0.04169250652194023,
0.0025727413594722748,
0.02252029813826084,
-0.006643311586230993,
0.005964883137494326,
-0.031683485954999924,
-0.02354234643280506,
-0.01910172402858734,
-0.02569217048585415,
0.014537750743329525,
0.01913696713745594,
-0.010740314610302448,
-0.016951898112893105,
-0.046379830688238144,
-0.0045595671981573105,
0.058362461626529694,
0.005418616347014904,
-0.013172083534300327,
0.06731419265270233,
0.046379830688238144,
0.03009754978120327,
0.012009063735604286,
-0.027401458472013474,
0.04764857888221741,
0.008806352503597736,
-0.0665740892291069,
-0.03291699290275574,
-0.017630327492952347,
0.009022216312587261,
-0.05032705143094063,
-0.036441296339035034,
-0.02070528268814087,
-0.016634711995720863,
-0.015938661992549896,
-0.007431874517351389,
0.027066649869084358,
-0.0239300187677145,
-0.050115592777729034,
0.00799576286226511,
0.047014206647872925,
0.02578027918934822,
-0.08077703416347504,
-0.015586231835186481,
0.013850511983036995,
-0.002489039208739996,
0.021427763625979424,
0.03587740659713745,
-0.010934150777757168,
0.049445975571870804,
-0.005568399094045162,
0.016749251633882523,
0.049340248107910156,
0.003563951700925827,
0.026150330901145935,
-0.034555792808532715,
-0.05060899630188942,
-0.02644989639520645,
-0.029145987704396248,
-0.06558728218078613,
0.030115172266960144,
0.07164908945560455,
0.07186054438352585,
0.03989511355757713,
0.010114750824868679,
0.0051675098948180676,
-0.01595628261566162,
0.03633556887507439,
-0.013973862864077091,
0.027524808421730995,
0.0011817429913207889,
-0.04179823771119118,
-0.03802723437547684,
-0.038097720593214035,
0.008061843924224377,
-0.06780759245157242,
-0.028582099825143814,
0.02290797233581543,
-0.07739370316267014,
-0.007960519753396511,
0.006960499100387096,
0.04398330673575401,
0.037745289504528046,
0.02974512055516243,
0.015277855098247528,
-0.01178879477083683,
0.0752791166305542,
0.01015880424529314,
0.00614109868183732,
0.02373618260025978,
-0.05748138576745987,
-0.03668799623847008,
0.02648513950407505,
-0.04673226177692413,
0.015374773181974888,
0.006850364618003368,
0.006969309877604246,
0.05060899630188942,
0.015612663701176643,
0.008317355997860432,
-0.07154335826635361,
-0.03732237219810486,
-0.05882062390446663,
0.06572825461626053,
-0.006872391328215599,
-0.04845917224884033,
0.02424720674753189,
0.01638801023364067,
0.030872896313667297,
-0.037815775722265244,
-0.017709624022245407,
-0.0239300187677145,
0.06942877173423767,
0.00013415755529422313,
-0.017586274072527885,
0.04867062717676163,
-0.011639012023806572,
-0.0166611447930336,
-0.05363989621400833,
0.05230066180229187,
0.01186809130012989,
0.04916403070092201,
-0.04303174465894699,
0.05536680668592453,
-0.003319453215226531,
0.029093123972415924,
-0.020599553361535072,
0.016564225777983665,
0.04063521698117256,
-0.015260233543813229,
0.027366215363144875,
0.01897837407886982,
-0.008383436128497124,
-0.007352577988058329,
-0.012581762857735157,
-0.028775935992598534,
-0.019788963720202446,
-0.04398330673575401,
-0.032194510102272034,
-0.00907508097589016,
-0.0000054852134780958295,
-0.011929766274988651,
-0.031225327402353287,
-0.020106149837374687,
0.03316369280219078,
-0.02377142570912838,
-0.03022090159356594,
0.06400135159492493,
0.014766830950975418,
0.004211542662233114,
0.04860014095902443,
-0.006528771948069334,
-0.004775431007146835,
-0.03256456181406975,
-0.02463488094508648,
0.035736434161663055,
0.004356919787824154,
0.028546856716275215,
0.07104995101690292,
-0.009445132687687874,
-0.05497913062572479,
-0.032194510102272034,
-0.015921039506793022,
0.050468023866415024,
-0.028775935992598534,
-0.03612411022186279,
-0.007334956433624029,
0.021075334399938583,
-0.050468023866415024,
-0.09064508229494095,
0.04126959294080734,
-0.04796576872467995,
0.030908139422535896,
-0.015031153336167336,
-0.027366215363144875,
0.016176551580429077,
0.022167867049574852,
-0.03704042732715607,
0.062062982469797134,
-0.0006035369588062167,
-0.011691875755786896,
0.012696302495896816,
0.0857110545039177,
-0.007854791358113289,
0.035384006798267365,
0.012202899903059006,
0.028652586042881012,
-0.006378989201039076,
0.010916529223322868,
0.03462627902626991,
-0.020793389528989792,
0.02149824984371662,
-0.08063606172800064,
-0.021903544664382935,
0.03788626194000244,
-0.030661439523100853,
0.010202857665717602,
-0.027560051530599594,
0.015374773181974888,
0.02322515845298767,
-0.01901361718773842,
-0.0018733874894678593,
-0.014255806803703308,
0.07358745485544205,
0.017850596457719803,
0.04348990321159363,
-0.027612917125225067,
0.03326942399144173,
-0.0495869480073452,
0.06590446829795837,
0.016352767124772072,
-0.02593887224793434,
-0.04306698590517044,
0.050785209983587265,
-0.015550988726317883,
0.03367471694946289,
-0.026044601574540138,
0.03376282751560211,
0.014608236961066723,
0.05402756854891777,
-0.01399148441851139,
0.07115568220615387,
-0.006136693060398102,
0.028705449774861336,
-0.01481088437139988,
-0.041481051594018936,
-0.015788879245519638,
-0.008264491334557533,
-0.022414568811655045,
-0.012017874047160149,
0.03561308607459068,
0.08084751665592194,
0.018960751593112946,
-0.010317398235201836,
0.005555183161050081,
0.004956051707267761,
0.025322118774056435,
-0.056212637573480606,
-0.029022637754678726,
-0.00048183833132497966,
-0.036723241209983826,
0.004665296524763107,
0.017189789563417435,
0.03834442049264908,
-0.04708469286561012,
-0.01736600510776043,
0.04264406859874725,
0.01481088437139988
]
|
40,656 | pyglove.core.symbolic.dict | keys | Returns an iterator of keys in current dict. | def keys(self) -> Iterator[str]: # pytype: disable=signature-mismatch
"""Returns an iterator of keys in current dict."""
return self.sym_keys()
| (self) -> Iterator[str] | [
0.009832269512116909,
-0.034119702875614166,
-0.038708094507455826,
-0.02033727429807186,
0.0094269048422575,
0.020665016025304794,
0.016326742246747017,
0.000819894892629236,
0.11750424653291702,
-0.021010007709264755,
-0.0155936349183321,
-0.044262465089559555,
0.02846183441579342,
0.022493474185466766,
-0.03163576126098633,
-0.03808710724115372,
-0.004236931912600994,
0.023183457553386688,
-0.07362128049135208,
-0.011824598535895348,
-0.041261035948991776,
0.026098638772964478,
0.033515967428684235,
-0.020578768104314804,
-0.04702239856123924,
0.04950634017586708,
0.0000494241357955616,
-0.01369617972522974,
0.07865815609693527,
0.010030640289187431,
-0.0822460725903511,
0.01602487452328205,
0.03436119481921196,
-0.03336071968078613,
0.01963004097342491,
-0.05416373163461685,
0.0158696286380291,
-0.021441247314214706,
0.07244830578565598,
-0.002410631161183119,
0.0524732731282711,
0.03681064024567604,
0.004049342591315508,
-0.03784561529755592,
-0.010125513188540936,
0.004211057908833027,
0.014015297405421734,
-0.006270228419452906,
0.06837739795446396,
-0.031152771785855293,
0.03239474073052406,
-0.017008101567626,
0.003960938658565283,
-0.029100069776177406,
-0.005757052917033434,
-0.007451825775206089,
0.00802537426352501,
-0.04829886928200722,
-0.0256501492112875,
0.022062234580516815,
-0.01612837240099907,
-0.0326017364859581,
0.04415896534919739,
-0.004890260752290487,
0.04498694837093353,
-0.05989059805870056,
-0.012057468295097351,
-0.024511676281690598,
-0.015792004764080048,
-0.003279579570516944,
-0.03182550519704819,
-0.049816835671663284,
-0.021251503378152847,
0.014644906856119633,
-0.06623844802379608,
-0.05340474843978882,
-0.04909235239028931,
0.02220023050904274,
0.0036914136726409197,
-0.06316801905632019,
-0.035189177840948105,
-0.011384733952581882,
-0.07686419785022736,
0.01963004097342491,
-0.01246283296495676,
0.05212828144431114,
0.024891167879104614,
0.0005579166463576257,
-0.023028211668133736,
0.08486801385879517,
-0.0436759777367115,
0.0396740697324276,
-0.0033593589905649424,
0.05371524393558502,
-0.009677023626863956,
-0.007106833625584841,
-0.032981228083372116,
-0.022493474185466766,
0.04308949038386345,
-0.0031890191603451967,
0.024908417835831642,
0.022752217948436737,
0.04246850684285164,
0.03760411962866783,
-0.0008473864290863276,
-0.02466692216694355,
-0.05426723137497902,
-0.06306452304124832,
0.018974555656313896,
-0.01267845369875431,
-0.07251730561256409,
0.04543543606996536,
0.032291244715452194,
-0.01593862660229206,
0.033705711364746094,
-0.016180122271180153,
-0.004756576381623745,
-0.019233299419283867,
0.048850856721401215,
0.002725436119362712,
-0.014998524449765682,
0.049644339829683304,
0.009746021591126919,
0.020216526463627815,
0.02432193048298359,
0.01709434948861599,
0.03215324878692627,
0.01904355362057686,
-0.03172200918197632,
0.01823282241821289,
0.06278853118419647,
0.04678090661764145,
-0.005161941517144442,
0.03839760273694992,
0.011833223514258862,
0.015438389033079147,
0.11232937127351761,
0.0225452221930027,
0.001273235771805048,
0.0632370188832283,
0.04695340245962143,
0.0011158332927152514,
0.007490637246519327,
0.06823940575122833,
-0.050506819039583206,
-0.004133434500545263,
-0.009556276723742485,
0.02176899090409279,
0.04943734407424927,
-0.02271771803498268,
0.018715811893343925,
0.010660250671207905,
-0.01022038608789444,
0.06337501853704453,
-0.053611744195222855,
0.03524092584848404,
-0.05109330266714096,
-0.004622892010957003,
-0.024373680353164673,
-0.013653055764734745,
-0.0309112761169672,
-0.047608885914087296,
-0.006438411772251129,
-0.034930434077978134,
0.031152771785855293,
0.01646474003791809,
-0.003540479578077793,
-0.026478130370378494,
0.05171428993344307,
-0.019405795261263847,
0.021613745018839836,
-0.02335595339536667,
-0.02439092844724655,
-0.009720147587358952,
0.00952177681028843,
-0.003443450666964054,
-0.00952177681028843,
0.08852493017911911,
0.008943915367126465,
0.00876279454678297,
0.046297915279865265,
-0.029565807431936264,
-0.0714823305606842,
-0.046194419264793396,
0.043744977563619614,
0.012048843316733837,
0.02271771803498268,
0.021389499306678772,
0.04757438600063324,
-0.0413990318775177,
-0.03625865280628204,
-0.02247622422873974,
-0.004392178263515234,
0.049023352563381195,
-0.03358496353030205,
-0.024615174159407616,
-0.02573639713227749,
-0.021079007536172867,
-0.07306928932666779,
0.025857144966721535,
-0.03474068641662598,
-0.027409609407186508,
-0.07582922279834747,
0.005019632633775473,
0.01577475666999817,
0.0023804442025721073,
-0.004532331600785255,
-0.05664767324924469,
0.04950634017586708,
0.021734490990638733,
-0.015714382752776146,
-0.07251730561256409,
0.001422013621777296,
-0.02625388652086258,
-0.026305634528398514,
0.005459497217088938,
-0.009185410104691982,
-0.00449351966381073,
-0.0032774233259260654,
-0.024804919958114624,
0.07617421448230743,
0.028030594810843468,
-0.01603350043296814,
-0.049368344247341156,
0.003887627739459276,
-0.05647517740726471,
0.03587916120886803,
0.016611361876130104,
-0.06913638114929199,
-0.041640523821115494,
0.03639664873480797,
0.03327447175979614,
-0.016939103603363037,
0.008266869001090527,
0.02333870343863964,
-0.02007853053510189,
-0.011574478819966316,
-0.01787058264017105,
0.025391405448317528,
0.006533284671604633,
-0.04484894871711731,
0.0708613395690918,
0.004640141502022743,
0.04467645287513733,
-0.04322749003767967,
0.013489183969795704,
-0.00872398354113102,
0.05682016909122467,
0.032015249133110046,
0.038190606981515884,
0.022683219984173775,
-0.06961937248706818,
-0.0011341609060764313,
0.012048843316733837,
0.02025102637708187,
-0.025943392887711525,
-0.04888535663485527,
0.016180122271180153,
0.038984086364507675,
-0.017560089007019997,
0.014032546430826187,
0.087351955473423,
-0.05992509797215462,
0.03075603023171425,
0.0748632475733757,
0.04640141502022743,
0.04546993598341942,
0.014644906856119633,
-0.05682016909122467,
0.027012867853045464,
0.02387344092130661,
-0.018370820209383965,
-0.06796340644359589,
0.03963957354426384,
-0.00796500127762556,
0.02069951593875885,
-0.01593000255525112,
0.039777569472789764,
-0.05392223969101906,
0.012790575623512268,
-0.005412060767412186,
-0.018853809684515,
-0.04546993598341942,
-0.011315735056996346,
-0.04581492766737938,
0.012454208917915821,
-0.027806349098682404,
-0.0419510193169117,
0.014826027676463127,
-0.0382596030831337,
0.060649581253528595,
0.0558541938662529,
0.008547174744307995,
-0.04747088998556137,
0.04146802797913551,
-0.00764157110825181,
-0.021734490990638733,
-0.06865338981151581,
0.038880590349435806,
0.04588392749428749,
0.05557819828391075,
-0.01206609234213829,
-0.01149685587733984,
0.01078962255269289,
-0.006399600300937891,
0.03446469455957413,
0.06037358567118645,
0.06472048908472061,
-0.03512017801403999,
-0.013972173444926739,
-0.05154179409146309,
0.00824099499732256,
0.007214643526822329,
-0.02458067424595356,
-0.050506819039583206,
-0.08769694715738297,
-0.013946298509836197,
0.035465169697999954,
0.022044984623789787,
0.08769694715738297,
-0.027288861572742462,
0.04177852347493172,
-0.030531786382198334,
-0.047332894057035446,
-0.03110102191567421,
0.018905557692050934,
0.03812160715460777,
0.011729725636541843,
0.0357411652803421,
0.005515558645129204,
0.014256791211664677,
-0.0595456063747406,
-0.025684649124741554,
0.011514105834066868,
-0.022665970027446747,
0.05268026888370514,
0.030807778239250183,
0.02458067424595356,
0.008180621080100536,
-0.04809187352657318,
0.021734490990638733,
-0.06882589310407639,
0.0479193776845932,
-0.02307995967566967,
-0.10073764622211456,
-0.009401029907166958,
0.003971719648689032,
-0.021441247314214706,
0.04684990271925926,
0.015257268212735653,
0.005744115449488163,
0.02703011780977249,
0.03746612370014191,
0.022976461797952652,
0.06458248943090439,
0.02290746383368969,
-0.041433531790971756,
0.006442724261432886,
-0.0317392572760582,
0.0450904443860054,
0.09687373042106628,
0.013903174549341202,
-0.0618225522339344,
-0.024011438712477684,
0.02361469715833664,
-0.06741142272949219,
-0.01101386733353138,
-0.03470618650317192,
0.032532740384340286,
-0.017215097323060036,
-0.028065092861652374,
0.006490160711109638,
-0.043296486139297485,
-0.0333089716732502,
-0.021872488781809807,
-0.014334414154291153,
0.05920061469078064,
0.0609600730240345,
-0.01576613076031208,
0.021354999393224716,
0.01692185364663601,
-0.03663814440369606,
0.053266752511262894,
0.06175355613231659,
-0.04371047765016556,
0.01937129721045494,
0.034136950969696045,
-0.030773280188441277,
0.04502144828438759,
0.05719966068863869,
-0.00448920764029026,
-0.05036882311105728,
-0.0087584825232625,
0.06296102702617645,
0.01251458190381527,
-0.03991556540131569,
0.04557343199849129,
-0.06986086815595627,
-0.042951494455337524,
-0.02466692216694355,
0.04129553213715553,
-0.012730201706290245,
-0.05319775640964508,
-0.002945368643850088,
0.015990376472473145,
-0.040295056998729706,
0.01859506405889988,
-0.030428288504481316,
-0.0053818742744624615,
-0.028841324150562286,
-0.005713928956538439,
0.00021588947856798768,
-0.0039005649741739035,
-0.02361469715833664,
0.03770761936903,
-0.03884609043598175,
-0.028513582423329353,
-0.013722053728997707,
0.03601715713739395,
0.05433622747659683,
0.010806872509419918,
-0.08010712265968323,
0.019440295174717903,
0.019888784736394882,
0.026460880413651466,
0.03794911131262779,
-0.03460269048810005,
-0.020492520183324814,
0.00912503618746996,
-0.020458022132515907,
-0.01663723587989807,
0.0031092397402971983,
0.018612314015626907,
-0.009435528889298439,
-0.02615038864314556,
0.005597494076937437,
-0.01859506405889988,
0.0010349757503718138,
0.005873487330973148,
0.01904355362057686,
-0.016154246404767036,
0.003490887116640806,
-0.0027081866282969713,
-0.020923759788274765,
0.04702239856123924,
0.04198551923036575,
0.012868198566138744,
0.07907214760780334,
0.08804193884134293,
0.0413990318775177,
0.01603350043296814,
-0.012005719356238842,
0.015628134831786156,
-0.08949090540409088,
0.011910846456885338,
0.05488821491599083,
-0.011850472539663315,
0.01682698167860508,
-0.03327447175979614,
0.011117365211248398,
0.052369773387908936,
0.01954379305243492,
0.0032386116217821836,
-0.006093420088291168,
0.027978844940662384,
-0.0216827429831028,
-0.0317392572760582,
0.05264576897025108,
0.01727547124028206,
0.01480015367269516,
0.01699085161089897,
0.02897932194173336,
-0.017008101567626,
-0.057130664587020874,
-0.024960165843367577,
0.0005854081828147173,
-0.019526543095707893,
0.020837511867284775,
-0.014705280773341656,
-0.05392223969101906,
-0.032446492463350296,
-0.054646722972393036,
0.016171496361494064,
-0.03110102191567421,
0.018905557692050934,
-0.022700468078255653,
-0.007908940315246582,
-0.030531786382198334,
-0.07389727234840393,
0.012971696443855762,
0.037397123873233795,
-0.008784356527030468,
-0.023821692913770676,
0.037121132016181946,
0.08369503915309906,
0.021613745018839836,
0.022424474358558655,
-0.014213667251169682,
-0.05057581514120102,
0.02501191385090351,
-0.00045980955474078655,
0.008120247162878513,
0.04540093615651131,
0.04898885264992714,
0.013566807843744755,
-0.003264486091211438,
0.005131755024194717,
-0.03670714050531387,
-0.010996617376804352,
-0.06461698561906815,
0.028910323977470398,
-0.03154951333999634,
0.0413990318775177,
-0.011703850701451302,
0.016973603516817093,
-0.06461698561906815,
-0.026098638772964478,
-0.00999614130705595,
-0.02280396595597267,
0.05036882311105728,
-0.027099115774035454,
-0.023045461624860764,
-0.007887378334999084,
0.01246283296495676,
0.0008711045957170427,
0.038190606981515884,
-0.03512017801403999,
-0.033515967428684235,
-0.005183503497391939,
-0.005015320144593716,
0.026840372011065483,
0.003365827491506934,
0.022269228473305702,
0.027150863781571388,
-0.06554846465587616,
0.0075682601891458035,
0.021010007709264755,
-0.012626704759895802,
0.01990603469312191,
0.05340474843978882,
0.043020494282245636,
0.002133559435606003,
0.023131709545850754,
-0.0034283571876585484,
0.06020108982920647,
0.03327447175979614,
-0.06558296829462051,
-0.03636214882135391,
-0.0391220860183239,
0.004441771190613508,
-0.02994529902935028,
-0.03441294655203819,
-0.011263986118137836,
-0.025770897045731544,
-0.017301345244050026,
-0.0011783631052821875,
0.055371202528476715,
-0.029272565618157387,
-0.044089969247579575,
0.0108413714915514,
0.01975078694522381,
0.00614516856148839,
-0.0516107939183712,
-0.04812637344002724,
0.007874440401792526,
-0.018077576532959938,
0.05512971058487892,
-0.005166254006326199,
-0.001219330821186304,
0.04740189015865326,
-0.014136044308543205,
0.0405365526676178,
0.055992189794778824,
0.0076329465955495834,
-0.0009239314822480083,
0.008210808038711548,
-0.04036405682563782,
-0.014834652654826641,
-0.031308017671108246,
-0.07817517220973969,
0.05557819828391075,
0.018181074410676956,
0.053680744022130966,
0.05847613140940666,
0.0026435006875544786,
-0.010056514292955399,
-0.011746974661946297,
0.023217957466840744,
-0.02271771803498268,
0.0015999000752344728,
-0.017732584848999977,
-0.04729839414358139,
-0.030083296820521355,
-0.05164529010653496,
-0.0013120474759489298,
-0.037569619715213776,
-0.007378514856100082,
0.01727547124028206,
-0.02652987837791443,
-0.020768513903021812,
0.027996094897389412,
0.022044984623789787,
0.04698789864778519,
0.044538456946611404,
0.0047781383618712425,
-0.0031717694364488125,
0.07589822262525558,
0.03349871560931206,
0.02299371175467968,
0.02149299718439579,
-0.09652873873710632,
-0.009418279863893986,
0.022182980552315712,
-0.06230554357171059,
0.006839464884251356,
0.014593158848583698,
0.04088154435157776,
-0.010211761109530926,
0.015817880630493164,
0.021596495062112808,
-0.05164529010653496,
-0.03358496353030205,
-0.03743162378668785,
0.050782810896635056,
-0.022131232544779778,
-0.042330510914325714,
0.010548127815127373,
0.02880682609975338,
0.036879636347293854,
-0.020992759615182877,
-0.02704736776649952,
-0.028755076229572296,
0.047781381756067276,
-0.00409677904099226,
0.005192128475755453,
0.040226057171821594,
-0.021889736875891685,
-0.03029029071331024,
-0.06544496864080429,
0.04360697790980339,
-0.04098504036664963,
0.031480513513088226,
-0.039329078048467636,
0.03612065315246582,
-0.023907940834760666,
0.02687487192451954,
-0.010505003854632378,
0.01423091720789671,
0.04978233575820923,
-0.04184751957654953,
0.03258448839187622,
0.01892280764877796,
-0.006390975322574377,
-0.010065139271318913,
-0.021630993112921715,
-0.026719624176621437,
-0.04598742350935936,
-0.046125419437885284,
-0.004791075363755226,
-0.015748880803585052,
0.03460269048810005,
-0.01308381836861372,
-0.04208901524543762,
-0.018629563972353935,
-0.009970266371965408,
-0.009288907982409,
-0.008072811178863049,
0.03425769880414009,
-0.009763271547853947,
0.004929072223603725,
0.02307995967566967,
0.004760888405144215,
-0.0034693251363933086,
-0.07645021378993988,
-0.05136929824948311,
0.05023082345724106,
0.01875031180679798,
0.02687487192451954,
0.09135386347770691,
-0.0428134985268116,
-0.07762318104505539,
-0.009754646569490433,
0.0023782881908118725,
0.03636214882135391,
-0.006158106029033661,
-0.041192036122083664,
0.019440295174717903,
0.003260173602029681,
-0.004605642054229975,
-0.0643409937620163,
0.035637665539979935,
-0.027599353343248367,
0.03750062361359596,
0.0029733991250395775,
-0.016628609970211983,
0.029807303100824356,
0.020751263946294785,
-0.041019540280103683,
0.002803059294819832,
-0.016697609797120094,
0.0027793413028120995,
0.028220338746905327,
0.055992189794778824,
0.0007034601294435561,
-0.004241244401782751,
0.011160489171743393,
0.056061189621686935,
0.0021173879504203796,
0.0005094021325930953,
0.03355046361684799,
-0.02211398258805275,
0.008219433017075062,
-0.045849427580833435,
-0.03522367402911186,
0.04384847357869148,
-0.04239950701594353,
0.03601715713739395,
-0.04678090661764145,
0.03650014474987984,
0.04177852347493172,
0.022044984623789787,
-0.023925190791487694,
-0.005925236269831657,
0.09135386347770691,
-0.00271034287288785,
0.04446946084499359,
-0.038018111139535904,
0.04757438600063324,
-0.06585896015167236,
0.039329078048467636,
0.026460880413651466,
-0.03522367402911186,
-0.07099933922290802,
0.0433654859662056,
-0.009081912226974964,
-0.010608501732349396,
-0.012238588184118271,
-0.01825007237493992,
0.02344220131635666,
0.04653941094875336,
-0.027202613651752472,
0.04667740687727928,
-0.00832724291831255,
0.014998524449765682,
0.04067454859614372,
-0.048747360706329346,
-0.0036914136726409197,
-0.0016559612704440951,
0.013816926628351212,
-0.019354047253727913,
0.0061753555200994015,
0.04967883601784706,
0.007356952875852585,
-0.05374974384903908,
-0.04622891917824745,
0.027633853256702423,
-0.023631947115063667,
-0.014765654690563679,
-0.016801107674837112,
0.012411084957420826,
-0.0433654859662056,
-0.031204519793391228,
-0.011962595395743847,
0.040916044265031815,
-0.014394788071513176,
-0.020854761824011803,
0.07272429764270782,
-0.019957782700657845
]
|
40,659 | pyglove.core.symbolic.dict | pop | Pops a key from current dict. | def pop(
self, key: Any, default: Any = base.RAISE_IF_NOT_FOUND # pylint: disable=protected-access
) -> Any:
"""Pops a key from current dict."""
if key in self:
value = self[key]
with flags.allow_writable_accessors(True):
del self[key]
return value if value != pg_typing.MISSING_VALUE else default
if default is base.RAISE_IF_NOT_FOUND:
raise KeyError(key)
return default
| (self, key: Any, default: Any = (MISSING_VALUE,)) -> Any | [
0.04199344292283058,
-0.008839765563607216,
-0.07042650878429413,
-0.01194735337048769,
-0.04385253041982651,
-0.012020259164273739,
0.04119148477911949,
0.006452117580920458,
0.08515337109565735,
-0.06969745457172394,
-0.018882468342781067,
0.0017770662670955062,
-0.02442326955497265,
-0.013587722554802895,
-0.04111858084797859,
0.08420560508966446,
0.044873204082250595,
0.0005510614137165248,
0.017351457849144936,
-0.03572358936071396,
0.06597927957773209,
0.0017975709633901715,
0.03202364593744278,
-0.01255793496966362,
-0.0221814326941967,
0.00547700934112072,
0.0403895266354084,
0.007477348204702139,
0.07206687331199646,
-0.009176952764391899,
-0.016330784186720848,
-0.02595428191125393,
-0.025680886581540108,
0.047424886375665665,
0.006224288605153561,
0.008051477372646332,
-0.03579649329185486,
0.02867000363767147,
-0.010853773914277554,
-0.007486461661756039,
0.015619956888258457,
0.003766013542190194,
0.024022290483117104,
-0.060402028262615204,
0.03213300555944443,
0.01712362840771675,
0.023420821875333786,
0.0404624342918396,
0.011974693275988102,
0.0012929296353831887,
0.03592408075928688,
0.05416862666606903,
-0.0011653454275801778,
0.00030842353589832783,
-0.04625840485095978,
-0.014389680698513985,
-0.011783316731452942,
0.026902049779891968,
-0.028232570737600327,
-0.012147842906415462,
0.0020265390630811453,
-0.014480812475085258,
-0.07461855560541153,
-0.040899865329265594,
0.04837265610694885,
-0.023384369909763336,
0.056902576237916946,
-0.021926265209913254,
0.023767122998833656,
-0.0031599884387105703,
-0.015255430713295937,
0.01656772568821907,
-0.02699318155646324,
0.011254752986133099,
0.03477581962943077,
-0.03373692184686661,
0.007960345596075058,
-0.09011093527078629,
0.034265484660863876,
-0.037728484719991684,
0.007686951197683811,
-0.005230954382568598,
-0.0404624342918396,
0.057923249900341034,
0.015273657627403736,
0.03904078155755997,
0.08755924552679062,
-0.008525361306965351,
0.0031736581586301327,
0.024787796661257744,
-0.01566552370786667,
0.004966672509908676,
-0.017570173367857933,
0.0081289391964674,
0.05504348874092102,
-0.03145863115787506,
0.001325964811258018,
-0.030401503667235374,
0.03083893470466137,
-0.036051664501428604,
-0.0030369607266038656,
0.014362340793013573,
0.033263035118579865,
-0.016276104375720024,
0.03896787390112877,
0.0487007312476635,
0.07057231664657593,
0.003911823965609074,
-0.03435661643743515,
-0.005627376493066549,
-0.02469666488468647,
-0.038384631276130676,
-0.04844556003808975,
0.021707547828555107,
0.0031577101908624172,
0.057011932134628296,
-0.0727594718337059,
0.0058688754215836525,
0.009099490940570831,
0.02096026949584484,
-0.019447484984993935,
-0.028141440823674202,
-0.0263734869658947,
-0.0019354075193405151,
0.028068535029888153,
-0.024678438901901245,
-0.01750638149678707,
0.006247071549296379,
0.026172997429966927,
0.05427798628807068,
-0.01664063148200512,
0.04946623742580414,
-0.044180601835250854,
-0.008106156252324581,
-0.019629748538136482,
0.05343957245349884,
0.04239442199468613,
0.04268604516983032,
-0.005171718541532755,
0.01632167026400566,
0.040207263082265854,
0.018900694325566292,
0.03493985906243324,
0.04108212888240814,
0.024149876087903976,
-0.044071245938539505,
-0.019903142005205154,
-0.011765090748667717,
-0.01908295787870884,
-0.020814457908272743,
0.008402334526181221,
0.03962402045726776,
-0.03610634058713913,
0.0011100969277322292,
0.04724262282252312,
0.03122168779373169,
-0.03442952036857605,
-0.015291883610188961,
-0.0566474050283432,
-0.030401503667235374,
0.003916380926966667,
-0.0036475425586104393,
0.019210543483495712,
-0.07706088572740555,
-0.04239442199468613,
-0.028979850932955742,
0.07257720828056335,
0.023603085428476334,
0.03572358936071396,
0.0808519572019577,
-0.04760714992880821,
0.037655580788850784,
0.022764675319194794,
-0.013159403577446938,
-0.009386555291712284,
0.054533153772354126,
-0.06823934614658356,
0.0066070412285625935,
0.014699527993798256,
-0.023803574964404106,
0.03198719397187233,
-0.04115503281354904,
0.026701560243964195,
-0.07461855560541153,
0.04130084440112114,
0.007317868061363697,
0.008452456444501877,
0.006848540157079697,
-0.018900694325566292,
0.072686567902565,
-0.043269287794828415,
-0.035668909549713135,
0.036015212535858154,
0.0068941060453653336,
0.022126754745841026,
-0.014827112667262554,
0.025790244340896606,
-0.01398870162665844,
-0.03257043659687042,
0.06408374756574631,
-0.02560798078775406,
-0.022855807095766068,
0.010215853340923786,
0.0030939180869609118,
-0.05482477322220802,
-0.007869213819503784,
0.030893614515662193,
-0.02595428191125393,
-0.024787796661257744,
0.032661568373441696,
-0.04425350949168205,
0.017260326072573662,
0.03541374206542969,
-0.03904078155755997,
0.0111453952267766,
-0.037582673132419586,
-0.04439931735396385,
0.000008361146683455445,
0.004743400029838085,
0.04064469784498215,
0.06623445451259613,
-0.0893089771270752,
0.029143888503313065,
0.017907360568642616,
0.028870493173599243,
0.02260063774883747,
-0.023530181497335434,
-0.023420821875333786,
0.014900017529726028,
0.007659611292183399,
0.049794308841228485,
-0.0043287514708936214,
0.027758687734603882,
-0.04629485681653023,
0.01807139813899994,
-0.058542944490909576,
-0.019411033019423485,
-0.03603343665599823,
0.03614279627799988,
0.07669635862112045,
0.01039811596274376,
0.04133729636669159,
0.008730407804250717,
0.04141020029783249,
0.01250325608998537,
0.05015883594751358,
-0.016440141946077347,
0.044873204082250595,
0.03823882341384888,
0.00467505119740963,
0.06506796926259995,
0.013970475643873215,
-0.001955911982804537,
0.056282881647348404,
0.04997657239437103,
-0.007281415164470673,
-0.1054939478635788,
-0.08471594005823135,
0.029216792434453964,
-0.01830833964049816,
-0.03351820632815361,
-0.0030346824787557125,
-0.02679269202053547,
0.04202989488840103,
-0.009386555291712284,
0.012357445433735847,
0.02455085515975952,
0.0010525700636208057,
0.00823374092578888,
0.034028541296720505,
0.05121596157550812,
-0.038603346794843674,
0.0152280917391181,
-0.0645211786031723,
0.05759517475962639,
0.06667188555002213,
-0.016194086521863937,
-0.0024081526789814234,
0.021507058292627335,
-0.009081264957785606,
0.036470867693424225,
-0.02741238661110401,
0.005518018733710051,
0.003991564270108938,
-0.06412019580602646,
0.06528668105602264,
-0.0015902465675026178,
-0.04130084440112114,
0.04235797002911568,
0.022928712889552116,
0.055480923503637314,
0.02099672146141529,
-0.05890747159719467,
0.03253398463129997,
-0.02037702687084675,
-0.016622405499219894,
-0.09579754620790482,
0.005700281821191311,
0.0648128017783165,
0.07516534626483917,
0.014909130521118641,
-0.031002972275018692,
-0.02431391179561615,
0.013050045818090439,
0.007837317883968353,
0.00006831310747656971,
0.07487373054027557,
-0.019447484984993935,
-0.0346117839217186,
0.054678965359926224,
-0.02901630289852619,
-0.009272640570998192,
-0.016266992315649986,
0.0203041210770607,
0.018773110583424568,
-0.01643102802336216,
-0.003319468814879656,
-0.015383015386760235,
0.007254075724631548,
0.038603346794843674,
-0.03809301182627678,
-0.03654377534985542,
-0.0888715386390686,
-0.008634719997644424,
-0.005513462238013744,
-0.046477120369672775,
-0.08661147952079773,
0.020322348922491074,
0.04603968560695648,
0.04188408702611923,
0.016266992315649986,
-0.04199344292283058,
-0.03958756849169731,
-0.012293653562664986,
-0.027959177270531654,
-0.019611522555351257,
-0.009687289595603943,
0.036015212535858154,
0.0609123669564724,
-0.02072332799434662,
-0.040170811116695404,
-0.031002972275018692,
0.0484091080725193,
-0.020522838458418846,
0.06065719574689865,
0.02096026949584484,
0.060256216675043106,
-0.03388272970914841,
0.020814457908272743,
-0.07516534626483917,
0.021288342773914337,
0.028597097843885422,
-0.01744258962571621,
0.05026819556951523,
-0.002708886982873082,
-0.025024738162755966,
0.03676249086856842,
-0.0008446760475635529,
0.015948031097650528,
-0.012457690201699734,
0.029143888503313065,
-0.021197210997343063,
-0.06550540030002594,
-0.009723742492496967,
-0.02236369624733925,
-0.014672189019620419,
-0.018618186935782433,
-0.022309016436338425,
-0.08573661744594574,
-0.029690677300095558,
0.004483675118535757,
-0.035103894770145416,
-0.03320835903286934,
0.015319222584366798,
-0.006338203325867653,
0.03419257700443268,
0.018645526841282845,
0.07917513698339462,
-0.0015230369754135609,
-0.04323283210396767,
0.012676406651735306,
-0.011828882619738579,
-0.029690677300095558,
0.05755872279405594,
0.013961361721158028,
0.03411967307329178,
-0.00619239266961813,
-0.01814430207014084,
0.004998568445444107,
0.004665938206017017,
-0.027740461751818657,
-0.049830760806798935,
-0.0014114007353782654,
-0.009113160893321037,
-0.03740040957927704,
0.016804669052362442,
-0.04538353905081749,
-0.06273499876260757,
-0.039150137454271317,
0.024878928437829018,
0.0814352035522461,
0.055408015847206116,
-0.03565068542957306,
-0.004249011166393757,
0.033463526517152786,
-0.011601053178310394,
-0.00798768550157547,
0.01670442335307598,
-0.036434415727853775,
-0.0051626055501401424,
0.03747331723570824,
-0.001568602747283876,
-0.007545697037130594,
-0.020413478836417198,
0.03820236772298813,
-0.031203461810946465,
0.024040518328547478,
0.011619280092418194,
-0.00846156943589449,
0.02187158539891243,
-0.02137947455048561,
-0.04148310795426369,
-0.03211477771401405,
-0.008001355454325676,
-0.028232570737600327,
0.01786179468035698,
-0.05117950960993767,
-0.052929237484931946,
-0.05726709961891174,
-0.024532629176974297,
0.0170871764421463,
-0.064739890396595,
0.03459355607628822,
0.049794308841228485,
0.021889811381697655,
-0.0018055449472740293,
-0.008393220603466034,
0.02671978622674942,
-0.02092381753027439,
0.046550024300813675,
0.0030392389744520187,
-0.001594803063198924,
-0.04913816228508949,
0.03577826917171478,
-0.017570173367857933,
0.011500808410346508,
-0.002968612127006054,
0.0402437187731266,
0.05205437168478966,
-0.03370046615600586,
0.01973910629749298,
0.011847108602523804,
0.030365051701664925,
0.022855807095766068,
-0.010981358587741852,
-0.07968547940254211,
-0.0892360657453537,
0.01908295787870884,
0.011446129530668259,
-0.035140346735715866,
0.013560382649302483,
0.03958756849169731,
0.009249857626855373,
0.0012678684433922172,
-0.015118733048439026,
0.04370671883225441,
0.02378534898161888,
0.00638376921415329,
-0.044217053800821304,
-0.014817998744547367,
-0.015300996601581573,
-0.04910171031951904,
-0.011099829338490963,
-0.054496701806783676,
-0.04749779403209686,
-0.015510599128901958,
0.06791127473115921,
0.017880020663142204,
0.012348332442343235,
0.002932159462943673,
0.053694743663072586,
-0.006752851884812117,
-0.028925171121954918,
-0.010689737275242805,
-0.006087591405957937,
0.033572882413864136,
-0.024095196276903152,
0.05354893207550049,
-0.013788212090730667,
0.05362183600664139,
-0.0042011672630906105,
-0.03080248273909092,
-0.028269024565815926,
0.028123212978243828,
0.03125813975930214,
-0.031130556017160416,
-0.014362340793013573,
-0.003283016150817275,
0.029745357111096382,
-0.05183565616607666,
0.026428164914250374,
-0.017779776826500893,
-0.021926265209913254,
0.012074938043951988,
-0.02413165010511875,
-0.07771703600883484,
0.0152098648250103,
0.03065667301416397,
0.015501486137509346,
-0.03725460171699524,
0.011619280092418194,
0.024641986936330795,
0.05070562660694122,
-0.025207001715898514,
0.017141854390501976,
-0.0019467989914119244,
0.010789982043206692,
0.007814534939825535,
0.030857162550091743,
0.01855439506471157,
0.06178722903132439,
-0.012968027964234352,
-0.01897360011935234,
0.017005158588290215,
-0.03373692184686661,
0.009997136890888214,
-0.005700281821191311,
0.006338203325867653,
0.005691168829798698,
0.00046477120486088097,
-0.04319638013839722,
0.0015754376072436571,
-0.012785764411091805,
0.008944567292928696,
0.06703641265630722,
-0.010990471579134464,
-0.022418374195694923,
0.01360594853758812,
-0.01736968383193016,
-0.035905852913856506,
0.038348179310560226,
0.0201218593865633,
0.030638445168733597,
-0.021197210997343063,
-0.01269463263452053,
-0.04618549719452858,
-0.03863980248570442,
0.01681378111243248,
0.04315992817282677,
0.04144665598869324,
-0.07108265161514282,
0.01171952486038208,
0.02358485944569111,
-0.003848032094538212,
0.020850911736488342,
0.0486278235912323,
-0.00656603230163455,
0.0445086769759655,
0.04108212888240814,
0.018773110583424568,
-0.005795970093458891,
0.009003803133964539,
0.0723949447274208,
0.013031819835305214,
-0.0008258801535703242,
0.008730407804250717,
-0.08646566420793533,
0.00006108665547799319,
0.08420560508966446,
0.022855807095766068,
-0.015255430713295937,
-0.02141592651605606,
0.017989378422498703,
-0.01058949250727892,
-0.008867105469107628,
0.0011699020396918058,
-0.019866690039634705,
0.024259233847260475,
-0.02515232376754284,
-0.016904912889003754,
-0.001709856791421771,
0.017351457849144936,
0.08646566420793533,
-0.010999584570527077,
-0.03388272970914841,
0.024095196276903152,
-0.02435036562383175,
0.014562830328941345,
0.00986955314874649,
-0.01911941170692444,
0.018754884600639343,
-0.016832007095217705,
0.027758687734603882,
-0.003802466206252575,
0.03661667928099632,
0.024477949365973473,
0.053913459181785583,
-0.017624853178858757,
-0.030201014131307602,
0.030529087409377098,
0.011920014396309853,
-0.009687289595603943,
0.061131082475185394,
0.03630683198571205,
0.0016984653193503618,
0.037764936685562134,
-0.009003803133964539,
0.012904235161840916,
0.029034528881311417,
-0.06251627951860428,
-0.030474409461021423,
-0.04629485681653023,
-0.04928397387266159,
0.026428164914250374,
-0.011127169243991375,
-0.02965422533452511,
-0.0021917151752859354,
-0.00410775700584054,
-0.05978233367204666,
-0.02630058117210865,
-0.04596678167581558,
-0.01039811596274376,
-0.07494663447141647,
0.02305629663169384,
0.01981201022863388,
-0.04516482353210449,
-0.010197626426815987,
0.03541374206542969,
-0.028651777654886246,
0.04359735921025276,
-0.04512837156653404,
-0.020012499764561653,
0.027357708662748337,
0.018773110583424568,
-0.0007951232837513089,
0.006834870669990778,
0.03038327768445015,
0.0026792692951858044,
-0.01200203225016594,
0.024897154420614243,
-0.013451024889945984,
-0.04042597860097885,
0.0033969306387007236,
0.07173880189657211,
-0.042613137513399124,
0.01611206866800785,
0.002264620503410697,
0.042613137513399124,
0.018363019451498985,
-0.019939595833420753,
0.006921445485204458,
-0.021579964086413383,
-0.0067163994535803795,
-0.04279540106654167,
-0.019283447414636612,
-0.06375566869974136,
0.023675991222262383,
-0.004267237614840269,
-0.07997709512710571,
-0.012849556282162666,
-0.03809301182627678,
-0.04108212888240814,
-0.05989169329404831,
0.041738275438547134,
0.052127279341220856,
-0.07071812450885773,
-0.08690310269594193,
0.0008179061696864665,
0.03791074827313423,
-0.045820970088243484,
0.020905589684844017,
-0.08617404848337173,
-0.06721867620944977,
0.005827866028994322,
-0.04556580260396004,
-0.021087853237986565,
0.03253398463129997,
0.026665108278393745,
0.023603085428476334,
-0.0009483383037149906,
0.07749831676483154,
0.054606057703495026,
-0.006388325709849596,
0.010297871194779873,
-0.02106962725520134,
0.07647764682769775,
0.00935010239481926,
-0.0006720955716446042,
0.009441234171390533,
-0.042467329651117325,
0.0442899614572525,
-0.06408374756574631,
-0.012348332442343235,
-0.0131138376891613,
-0.08529918640851974,
-0.023293238133192062,
-0.07060876488685608,
-0.03087538853287697,
-0.020048953592777252,
0.015218977816402912,
0.004278629086911678,
0.013341667130589485,
-0.012603500857949257,
-0.021579964086413383,
-0.02500651217997074,
0.02092381753027439,
-0.0016278383554890752,
0.06134979799389839,
-0.02354840748012066,
-0.03621570020914078,
-0.00986955314874649,
0.03275270015001297,
-0.022655317559838295,
-0.04560225456953049,
0.00793756265193224,
0.012840443290770054,
-0.039295949041843414,
-0.004784409422427416,
-0.06772901117801666,
0.005112483166158199,
-0.01862730085849762,
-0.00046647991985082626,
0.005823309533298016,
-0.03495808318257332,
0.040826957672834396,
-0.004998568445444107,
0.02553507685661316,
-0.10746239125728607,
-0.03435661643743515,
0.13173985481262207,
0.04461803287267685,
0.008147165179252625,
0.02721189707517624,
-0.010261419229209423,
0.04589387774467468,
-0.06291726231575012,
-0.005937224254012108,
0.00011605040344875306,
0.09557882696390152,
0.01782534271478653,
-0.05489768087863922,
0.024222780019044876,
-0.005098813213407993,
-0.0035336280707269907,
-0.0054542263969779015,
-0.017005158588290215,
-0.05427798628807068,
0.012840443290770054,
-0.005691168829798698,
0.02320210635662079,
-0.00004880524647887796,
0.021926265209913254,
0.01573842763900757,
0.06309952586889267,
0.010698850266635418,
-0.05358538404107094,
-0.016959592700004578,
0.04644066467881203,
0.03568713739514351,
0.04673228785395622,
-0.0725407600402832,
-0.014234757050871849,
-0.04523772746324539,
0.00990600511431694,
-0.04188408702611923,
0.006971567869186401,
-0.028761135414242744,
0.00903569906949997
]
|
40,660 | pyglove.core.symbolic.dict | popitem | null | def popitem(self) -> Tuple[str, Any]:
if self._value_spec is not None:
raise ValueError(
'\'popitem\' cannot be performed on a Dict with value spec.')
if base.treats_as_sealed(self):
raise base.WritePermissionError('Cannot pop item from a sealed Dict.')
return super().popitem()
| (self) -> Tuple[str, Any] | [
0.0811854749917984,
0.013274778611958027,
-0.042323846369981766,
-0.03603532910346985,
-0.00017402171215508133,
-0.07270657271146774,
0.025224728509783745,
0.016516191884875298,
0.10245338082313538,
-0.06528753787279129,
-0.00899116788059473,
0.051191363483667374,
-0.013327771797776222,
-0.0021694062743335962,
-0.04356035217642784,
0.0835171714425087,
-0.02420019544661045,
0.05295779928565025,
0.011384690180420876,
0.05066142976284027,
0.03635328635573387,
-0.008328753523528576,
0.004318939987570047,
0.0353817455470562,
-0.0036697741597890854,
-0.0637330710887909,
0.03801373764872551,
-0.02628459222614765,
0.09658880531787872,
-0.005105004645884037,
-0.053770359605550766,
-0.02003140188753605,
0.030241411179304123,
0.032043177634477615,
-0.009874386712908745,
0.018176643177866936,
-0.051579978317022324,
0.005458292085677385,
0.01663101091980934,
0.014378801919519901,
-0.06871442496776581,
-0.0032679096329957247,
0.029004905372858047,
-0.03552306070923805,
0.04433758556842804,
0.015217860229313374,
0.03361530601978302,
0.026496564969420433,
-0.00450883200392127,
0.007825318723917007,
0.002660696627572179,
0.07305985689163208,
0.005427379626780748,
0.01974877342581749,
-0.0582924410700798,
-0.0034600095823407173,
-0.005935230292379856,
0.017602551728487015,
0.0029389106202870607,
0.016763493418693542,
0.02190382592380047,
0.009309126064181328,
-0.045291461050510406,
-0.07532089948654175,
0.036883216351270676,
-0.04539744555950165,
0.032820411026477814,
-0.019183512777090073,
-0.027026494964957237,
0.006319430656731129,
-0.016048084944486618,
-0.01803532801568508,
-0.030117761343717575,
0.0562080442905426,
0.008562806062400341,
-0.0418999008834362,
0.024270853027701378,
-0.04324239119887352,
0.04712855443358421,
-0.04673993960022926,
-0.01361040212213993,
0.010192344896495342,
0.004129047971218824,
0.05044945701956749,
-0.036671243607997894,
0.053558386862277985,
0.040133461356163025,
-0.0015997301088646054,
0.02013738825917244,
0.07454366981983185,
0.03432188183069229,
0.016639841720461845,
-0.03656525909900665,
-0.005484788678586483,
0.03041805513203144,
-0.005961726885288954,
0.012223748490214348,
-0.03645927086472511,
-0.027132481336593628,
-0.025012755766510963,
0.02146221697330475,
-0.02167418971657753,
0.010545632801949978,
-0.0026187438052147627,
-0.00013579489313997328,
0.008531893603503704,
0.07687536627054214,
-0.03552306070923805,
-0.00701275747269392,
0.027909714728593826,
-0.018176643177866936,
0.011093228124082088,
-0.05518351122736931,
0.032096169888973236,
-0.002393522998318076,
0.050696760416030884,
-0.0676545575261116,
-0.045680075883865356,
0.027273796498775482,
0.0152885178104043,
-0.005135917570441961,
0.006050048861652613,
0.017814522609114647,
0.017788026481866837,
0.021550538018345833,
0.032149165868759155,
-0.034251224249601364,
-0.04532678797841072,
0.010616290383040905,
0.07496761530637741,
-0.003232580842450261,
-0.008125613443553448,
-0.03184887021780014,
-0.014431795105338097,
-0.006434249226003885,
0.04564474895596504,
0.05638469010591507,
-0.007591265719383955,
0.024182530120015144,
0.012108929455280304,
0.03978017345070839,
0.06023552268743515,
0.019872423261404037,
0.038508340716362,
0.004290235228836536,
-0.04066339507699013,
-0.025878310203552246,
0.045962706208229065,
0.0014308145036920905,
-0.017726201564073563,
-0.023829244077205658,
-0.008417075499892235,
-0.04868302121758461,
0.0512620210647583,
0.03645927086472511,
0.007507360074669123,
-0.010192344896495342,
-0.013318940065801144,
-0.02635524980723858,
-0.05027281492948532,
0.0025723748840391636,
-0.027856720611453056,
0.050202157348394394,
-0.02628459222614765,
-0.018441608175635338,
0.012806672602891922,
0.09637683629989624,
-0.012709518894553185,
0.010386653244495392,
0.029446514323353767,
-0.00797546561807394,
0.013672227039933205,
-0.006950932089239359,
-0.028457310050725937,
-0.006871442310512066,
0.047835130244493484,
-0.02437683939933777,
0.014175661839544773,
0.017205102369189262,
-0.03978017345070839,
0.025295386090874672,
-0.07277722656726837,
-0.021638860926032066,
0.01941314898431301,
0.04935426637530327,
0.004601569846272469,
-0.014740921556949615,
0.02123258076608181,
0.007781157735735178,
0.03257311135530472,
-0.05631403252482414,
-0.02667320892214775,
0.006253188941627741,
-0.01800883188843727,
0.01479391474276781,
-0.015279685147106647,
-0.006646221503615379,
0.027856720611453056,
-0.01265652570873499,
0.004219577647745609,
-0.0598469078540802,
-0.08803924918174744,
0.005135917570441961,
0.02667320892214775,
-0.06044749543070793,
-0.020172717049717903,
0.04038076475262642,
-0.07168203592300415,
0.01774386502802372,
0.007684003561735153,
-0.05846908688545227,
0.022734051570296288,
0.047163885086774826,
-0.042995091527700424,
0.011835131794214249,
-0.09616486728191376,
-0.0335623137652874,
-0.0640157014131546,
-0.019130518659949303,
-0.0020788763649761677,
0.02799803577363491,
-0.03843768313527107,
0.035894013941287994,
-0.028227673843503,
0.03674190118908882,
-0.0353817455470562,
-0.04642198234796524,
-0.021144257858395576,
0.02919921465218067,
0.05483022332191467,
0.02200981229543686,
-0.008077035658061504,
0.019254170358181,
-0.048647690564394,
-0.024465160444378853,
0.006663885898888111,
-0.0137252202257514,
-0.08945240080356598,
0.030241411179304123,
0.05709126219153404,
0.020879292860627174,
0.031548574566841125,
-0.010139351710677147,
0.1056329682469368,
-0.029340527951717377,
0.041723255068063736,
0.015703629702329636,
0.07631010562181473,
0.027927378192543983,
0.01361923385411501,
0.1006869450211525,
0.029234543442726135,
-0.006725711282342672,
0.07631010562181473,
0.05006084218621254,
-0.03520510345697403,
-0.05087340250611305,
-0.05857507139444351,
0.04158193990588188,
-0.03416290506720543,
0.006791952531784773,
-0.010192344896495342,
0.015111873857676983,
0.06952698528766632,
0.004804710391908884,
0.01587144285440445,
0.023776249960064888,
0.0008053851779550314,
-0.005740922410041094,
0.047057896852493286,
-0.05483022332191467,
-0.0327850803732872,
0.015429832972586155,
-0.03294406086206436,
-0.001293915556743741,
0.0676545575261116,
0.046845924109220505,
-0.005325809586793184,
0.007034837733954191,
0.008024042472243309,
0.02674386464059353,
-0.004681059624999762,
0.027962706983089447,
0.02365260012447834,
-0.003111138241365552,
0.0152885178104043,
0.0161275751888752,
0.015606475993990898,
0.050908733159303665,
0.02734445407986641,
0.023334641009569168,
-0.004901864565908909,
-0.015721295028924942,
0.01540333591401577,
0.02409420907497406,
-0.012479881756007671,
-0.03744847699999809,
-0.024500489234924316,
0.048930320888757706,
0.05087340250611305,
0.024677133187651634,
-0.008788026869297028,
-0.061860647052526474,
0.009335623122751713,
0.028669282793998718,
0.024500489234924316,
0.06023552268743515,
0.009945043362677097,
-0.06638272851705551,
0.05320510268211365,
0.0004540296795312315,
0.01342492550611496,
-0.017010794952511787,
0.028404317796230316,
-0.034604512155056,
-0.014149165712296963,
0.0196427870541811,
0.02250441536307335,
-0.0167811568826437,
0.049919527024030685,
-0.05956427752971649,
-0.04663395136594772,
-0.0450088307261467,
-0.05479489639401436,
0.045574091374874115,
-0.042005885392427444,
-0.0598469078540802,
0.03338567167520523,
0.0281040221452713,
0.03970951586961746,
-0.020049067214131355,
-0.019572129473090172,
-0.008589303120970726,
-0.019077526405453682,
0.042005885392427444,
0.06539352238178253,
-0.012135426513850689,
0.04811776056885719,
0.04790578782558441,
-0.05995289236307144,
-0.025772325694561005,
-0.06390970945358276,
0.061754658818244934,
-0.01881256140768528,
0.029693815857172012,
0.015014720149338245,
0.024942100048065186,
0.0011089915642514825,
0.07602747529745102,
-0.02458881214261055,
0.0014893277548253536,
0.027856720611453056,
0.005365554243326187,
0.0299234539270401,
-0.019183512777090073,
-0.019978409633040428,
-0.017258094623684883,
0.008810107596218586,
0.0182119719684124,
-0.012329734861850739,
0.07984297722578049,
-0.03970951586961746,
-0.013548576273024082,
-0.010642786510288715,
-0.009004415944218636,
-0.04928360879421234,
-0.05182727798819542,
-0.01865358091890812,
-0.005467124283313751,
-0.03762512281537056,
-0.024518154561519623,
-0.053275760263204575,
-0.04412561282515526,
0.003499754471704364,
0.006588812451809645,
0.023917565122246742,
-0.0001425570371793583,
0.05896368622779846,
-0.046951912343502045,
-0.013592737726867199,
0.039144258946180344,
-0.03184887021780014,
-0.04052207991480827,
0.04239450395107269,
0.037201177328825,
0.0188655536621809,
-0.00638125604018569,
-0.03999214619398117,
-0.015906771644949913,
-0.006743375677615404,
-0.03861432522535324,
0.0024973012041300535,
0.0010444062063470483,
0.016436701640486717,
-0.0029786555096507072,
0.008836603723466396,
-0.050696760416030884,
-0.08754464983940125,
-0.0188655536621809,
0.06034150719642639,
0.03587634861469269,
0.003607948776334524,
-0.056455347687006,
-0.019218841567635536,
0.017054954543709755,
-0.05433562025427818,
-0.036989204585552216,
0.03483415022492409,
-0.009609420783817768,
-0.035788025707006454,
0.05878704413771629,
-0.03366830199956894,
0.0007441118359565735,
-0.03801373764872551,
0.06458096206188202,
-0.010536800138652325,
-0.02817467972636223,
0.0549008809030056,
-0.001222154009155929,
-0.029181549325585365,
0.03483415022492409,
-0.012259077280759811,
-0.03322669118642807,
0.0161275751888752,
-0.0478704608976841,
-0.018353287130594254,
-0.04726986959576607,
-0.012400392442941666,
-0.008359665982425213,
0.009697742760181427,
0.021550538018345833,
-0.06871442496776581,
0.05027281492948532,
0.014740921556949615,
0.02146221697330475,
-0.002066731918603182,
-0.06429833173751831,
-0.024995092302560806,
-0.014149165712296963,
0.05634935945272446,
-0.014935229904949665,
0.04119332507252693,
-0.020755641162395477,
0.02188616245985031,
0.08111481368541718,
-0.0009599484619684517,
0.008465652354061604,
0.03509911522269249,
0.04009813442826271,
-0.003199460217729211,
0.042005885392427444,
0.0027335621416568756,
0.041723255068063736,
0.00481354258954525,
-0.07327183336019516,
-0.036282628774642944,
-0.06274386495351791,
0.0024001470301300287,
0.0027291460428386927,
-0.014352305792272091,
0.013071638531982899,
-0.022133463993668556,
-0.03939155861735344,
-0.029994111508131027,
0.010969577357172966,
0.0291462205350399,
-0.031813543289899826,
0.011252207681536674,
-0.06419233977794647,
0.01709911599755287,
-0.02013738825917244,
-0.00797546561807394,
0.010951912961900234,
-0.01047497522085905,
-0.030135424807667732,
-0.008540726266801357,
0.07871246337890625,
0.016975466161966324,
0.007763493340462446,
-0.02050834149122238,
0.051509320735931396,
0.022133463993668556,
-0.012956819497048855,
0.025842981413006783,
-0.03008243255317211,
0.0032215407118201256,
-0.03151324763894081,
0.01759371906518936,
-0.0067168790847063065,
0.04811776056885719,
-0.001715652528218925,
-0.04147595539689064,
-0.026690872386097908,
0.0434543639421463,
0.029552500694990158,
-0.017576053738594055,
-0.008823355659842491,
-0.03970951586961746,
-0.0021042688749730587,
-0.04027477651834488,
0.02107360027730465,
0.009962707757949829,
0.017231598496437073,
-0.03244945779442787,
-0.03949754685163498,
-0.049919527024030685,
0.002411187393590808,
0.018847890198230743,
0.02034936100244522,
-0.07090480625629425,
-0.01969577930867672,
0.029746809974312782,
0.06578213721513748,
0.011367025785148144,
0.022893032059073448,
0.020066730678081512,
0.03350932151079178,
0.009264965541660786,
0.006434249226003885,
-0.0132041210308671,
0.03532875329256058,
-0.02024337463080883,
-0.02019038237631321,
-0.02365260012447834,
-0.02375858649611473,
-0.05253385379910469,
-0.01865358091890812,
-0.009309126064181328,
0.011216878890991211,
-0.02271638810634613,
-0.021868497133255005,
0.011640823446214199,
0.006398920435458422,
-0.028669282793998718,
0.0491776242852211,
0.000747975951526314,
-0.034604512155056,
0.029676152393221855,
-0.05394700542092323,
0.004636898636817932,
0.03660058602690697,
0.015995092689990997,
0.02734445407986641,
-0.009185475297272205,
0.013769381679594517,
-0.031707555055618286,
-0.028192345052957535,
0.006571148056536913,
-0.013036309741437435,
0.029287535697221756,
-0.08740333467721939,
-0.012630028650164604,
0.04677526652812958,
-0.03691854700446129,
-0.009123650379478931,
0.02123258076608181,
0.019872423261404037,
0.01774386502802372,
0.02596663311123848,
0.003157507162541151,
0.0030956820119172335,
0.009830225259065628,
0.011102060787379742,
0.00660206051543355,
0.017372913658618927,
0.031990185379981995,
-0.047057896852493286,
0.06362708657979965,
-0.011146221309900284,
0.011402354575693607,
-0.010201177559792995,
-0.03299705311655998,
-0.002389106899499893,
0.005974975414574146,
0.03176054731011391,
-0.026655543595552444,
-0.021320901811122894,
0.022522078827023506,
-0.01317762490361929,
-0.00481354258954525,
0.007480863481760025,
0.04087536782026291,
0.05433562025427818,
-0.035629045218229294,
-0.019006868824362755,
0.009900882840156555,
-0.008995583280920982,
0.015164867043495178,
-0.006328262854367495,
0.020420018583536148,
0.008368498645722866,
0.0012188419932499528,
-0.014714425429701805,
-0.03366830199956894,
0.04741118475794792,
-0.00901766400784254,
0.023952893912792206,
0.00013703691365662962,
-0.07708733528852463,
0.020826298743486404,
-0.004480127245187759,
0.007189400959759951,
0.01738174632191658,
0.033191364258527756,
0.007591265719383955,
0.00017098564421758056,
0.007149656303226948,
0.027097152546048164,
0.02222178503870964,
-0.029994111508131027,
-0.02817467972636223,
-0.028757603839039803,
-0.04850637540221214,
-0.018688909709453583,
0.008500981144607067,
-0.02674386464059353,
-0.02716781012713909,
0.018459273502230644,
-0.02266339398920536,
-0.03350932151079178,
-0.039850831031799316,
-0.030488712713122368,
-0.07729931175708771,
0.04087536782026291,
0.0002900821855291724,
-0.053381744772195816,
-0.001871319836936891,
0.06260254979133606,
-0.014458292163908482,
-0.04444357007741928,
-0.018565259873867035,
-0.010845926590263844,
0.05380569025874138,
0.018724238499999046,
-0.027362119406461716,
0.04730520024895668,
0.005727673880755901,
-0.020155053585767746,
0.002702649449929595,
0.02294602431356907,
0.04080471023917198,
-0.04002747684717178,
-0.03469283506274223,
0.08245731145143509,
-0.061366043984889984,
0.04306574910879135,
-0.009724238887429237,
0.0023802747018635273,
0.012029440142214298,
-0.02942885085940361,
0.025825317949056625,
-0.003881746670231223,
-0.016021588817238808,
-0.07376643270254135,
0.0071982331573963165,
-0.013795877806842327,
0.034127574414014816,
-0.0016549312276765704,
-0.10612757503986359,
0.01600392535328865,
-0.04504415765404701,
-0.03670657426118851,
-0.05956427752971649,
-0.014422963373363018,
0.10443179309368134,
-0.02573699690401554,
-0.08033758401870728,
0.04253581911325455,
0.08104415982961655,
-0.03161923214793205,
0.022416092455387115,
-0.06878507882356644,
-0.045291461050510406,
0.04197055846452713,
-0.04278311878442764,
-0.05136800557374954,
0.008342001587152481,
0.039038270711898804,
0.0291462205350399,
0.03091265819966793,
-0.00984788965433836,
0.006946515757590532,
-0.03917958587408066,
0.025895975530147552,
0.005065259989351034,
0.014449459500610828,
-0.03410990908741951,
0.01454661414027214,
-0.03674190118908882,
-0.056914620101451874,
0.04197055846452713,
-0.12442786246538162,
-0.042217858135700226,
-0.009768400341272354,
-0.05263984203338623,
-0.05680863559246063,
-0.009494601748883724,
0.00470314035192132,
0.039956819266080856,
0.05023748427629471,
0.008085868321359158,
0.011287536472082138,
0.06585279107093811,
-0.019536800682544708,
0.031212951987981796,
0.011464180424809456,
-0.019572129473090172,
0.035894013941287994,
0.019554464146494865,
-0.027856720611453056,
-0.04242983087897301,
0.07539156079292297,
-0.032820411026477814,
-0.058893028646707535,
0.0052286554127931595,
0.0379784069955349,
-0.02239842899143696,
-0.015085376799106598,
-0.051685962826013565,
-0.02591363899409771,
-0.052392538636922836,
0.02024337463080883,
-0.028227673843503,
0.01402551494538784,
0.06694798916578293,
-0.005846908316016197,
-0.01081059779971838,
-0.06617075204849243,
-0.0016759076388552785,
0.07991363853216171,
0.018044160678982735,
-0.02338763326406479,
-0.016189400106668472,
0.018512265756726265,
0.023122668266296387,
0.01815897785127163,
-0.022804709151387215,
0.04621000960469246,
0.057833168655633926,
0.03843768313527107,
-0.012365063652396202,
0.06588812172412872,
0.0035637877881526947,
0.012665357440710068,
-0.056631989777088165,
-0.028739940375089645,
-0.048153091222047806,
0.015306182205677032,
-0.015747791156172752,
-0.018044160678982735,
0.051615308970212936,
0.055042196065187454,
0.017964670434594154,
0.03645927086472511,
0.033579979091882706,
-0.018459273502230644,
0.02167418971657753,
0.014378801919519901,
0.03262610360980034,
0.043878309428691864,
-0.04416093975305557,
0.03469283506274223,
-0.002532629994675517,
0.022239450365304947,
-0.07203532755374908,
0.028033364564180374,
-0.045468103140592575,
0.0035814521834254265
]
|
40,663 | pyglove.core.symbolic.dict | seal | Seals or unseals current object from further modification. | def seal(self, sealed: bool = True) -> 'Dict':
"""Seals or unseals current object from further modification."""
if self.is_sealed == sealed:
return self
for v in self.sym_values():
if isinstance(v, base.Symbolic):
v.seal(sealed)
super().seal(sealed)
return self
| (self, sealed: bool = True) -> pyglove.core.symbolic.dict.Dict | [
0.05001197010278702,
-0.057233139872550964,
0.03515852242708206,
0.021502645686268806,
-0.04189709201455116,
-0.056375179439783096,
-0.019947590306401253,
-0.03278125450015068,
0.017203902825713158,
0.025524336844682693,
-0.06870836764574051,
0.00873600784689188,
-0.021502645686268806,
0.055195484310388565,
-0.08086281269788742,
-0.006729630753397942,
-0.03960919380187988,
0.049797479063272476,
-0.03721405565738678,
0.007779739331454039,
0.03399670124053955,
-0.00019619711383711547,
0.010134663432836533,
0.029099173843860626,
-0.03356771916151047,
-0.03203054144978523,
0.010536832734942436,
0.017034098505973816,
0.03194116801023483,
-0.0391802154481411,
-0.024702124297618866,
0.01630125753581524,
0.017025161534547806,
0.027561994269490242,
0.06556250900030136,
-0.026525290682911873,
-0.03907296806573868,
0.025595832616090775,
0.010009543970227242,
0.03356771916151047,
-0.03860824182629585,
0.044149238616228104,
0.03907296806573868,
-0.028151841834187508,
0.020090583711862564,
0.03753579035401344,
0.05179939046502113,
0.04032416269183159,
0.05801960453391075,
-0.03065422736108303,
0.029796266928315163,
0.026882775127887726,
0.03378221020102501,
-0.013450324535369873,
0.020233577117323875,
0.003646333934739232,
0.02749049663543701,
0.021288154646754265,
0.011591409333050251,
-0.049511492252349854,
0.0002813787723425776,
-0.05669691786170006,
-0.002971583278849721,
-0.03817925974726677,
-0.03426481410861015,
-0.04489995539188385,
-0.05147765576839447,
-0.006305119022727013,
0.027937352657318115,
0.02497023716568947,
-0.007471409626305103,
-0.0611654631793499,
-0.04568641632795334,
0.024344639852643013,
-0.026900649070739746,
-0.023397307842969894,
-0.03281700611114502,
-0.0326203890144825,
-0.007511626463383436,
-0.048653531819581985,
0.022449977695941925,
-0.08236424624919891,
-0.05458776280283928,
0.06238090619444847,
-0.04014541953802109,
0.04994047433137894,
0.041861340403556824,
-0.012958784587681293,
0.019411364570260048,
0.014013361185789108,
0.03276338055729866,
0.09673509001731873,
-0.007113925646990538,
0.0460081547498703,
0.02059106156229973,
0.022521473467350006,
-0.018249543383717537,
-0.050869930535554886,
0.007212233729660511,
-0.030797220766544342,
0.00462494557723403,
0.0013472667196765542,
-0.027973100543022156,
-0.00984867662191391,
-0.027097264304757118,
0.0001894942979561165,
0.0546950064599514,
-0.02623930387198925,
0.019286246970295906,
-0.005398003850132227,
-0.03585561737418175,
0.034568674862384796,
-0.04994047433137894,
0.03628459572792053,
-0.043255530297756195,
0.006819001864641905,
-0.04908251389861107,
-0.01853553019464016,
-0.0012433730298653245,
0.028151841834187508,
-0.034407805651426315,
0.058448586612939835,
0.016685552895069122,
0.03374646231532097,
0.04779557138681412,
0.010796007700264454,
-0.00870025996118784,
-0.00870025996118784,
0.045150190591812134,
0.05780511721968651,
-0.02205674536526203,
0.03717830404639244,
-0.020501689985394478,
0.03178030252456665,
0.01737370900809765,
-0.0003024647303391248,
0.03047548606991768,
0.01733795925974846,
-0.018321039155125618,
0.0524786077439785,
0.04250481352210045,
0.024684250354766846,
0.014898133464157581,
0.031172579154372215,
-0.021627765148878098,
0.02296832762658596,
-0.026829151436686516,
0.04711635410785675,
-0.03603435680270195,
-0.001946051954291761,
0.029939260333776474,
0.0019795659463852644,
0.01521986909210682,
0.08250723779201508,
-0.03399670124053955,
0.02173500880599022,
-0.028991928324103355,
0.019089629873633385,
-0.03278125450015068,
0.01305709220468998,
-0.020322948694229126,
0.024719998240470886,
0.00927670206874609,
-0.07063878327608109,
-0.04146810993552208,
-0.01317327469587326,
0.007971886545419693,
-0.04994047433137894,
0.01144841592758894,
-0.0015438827686011791,
-0.01749882660806179,
-0.03521214425563812,
-0.06652771681547165,
0.06245240569114685,
0.019411364570260048,
0.08214975893497467,
0.016765985637903214,
0.00737310154363513,
-0.013316268101334572,
-0.014558523893356323,
0.04572216793894768,
-0.04372025653719902,
-0.07078177481889725,
0.04615114629268646,
0.07310541719198227,
-0.01951861009001732,
-0.017900995910167694,
0.0017762471688911319,
0.024934489279985428,
0.012127635069191456,
-0.005911886692047119,
0.04354151710867882,
0.03299574553966522,
-0.01760607212781906,
-0.03692806884646416,
-0.029277915135025978,
-0.0327097587287426,
-0.04178984463214874,
-0.08343669772148132,
0.024291018024086952,
-0.049797479063272476,
-0.029796266928315163,
-0.029260041192173958,
0.006430238019675016,
-0.00273921899497509,
-0.0039256177842617035,
-0.016730237752199173,
-0.07700198888778687,
0.011385856196284294,
0.010787070728838444,
-0.012351062148809433,
-0.002526962896808982,
0.03161943331360817,
-0.01966160349547863,
0.03531939163804054,
-0.07986185699701309,
0.015005378983914852,
0.022146115079522133,
0.00657770037651062,
-0.0061755310744047165,
-0.008968372829258442,
-0.00976824201643467,
-0.024291018024086952,
0.003018503077328205,
-0.032298654317855835,
-0.05791236087679863,
0.018195921555161476,
-0.03283488005399704,
-0.018017178401350975,
-0.009741431102156639,
-0.014719391241669655,
-0.05448051542043686,
-0.008490238338708878,
-0.047688327729701996,
0.03068997710943222,
0.017266463488340378,
-0.016739174723625183,
-0.04043140634894371,
-0.0006317407242022455,
0.02402290515601635,
0.042218826711177826,
-0.027097264304757118,
0.02497023716568947,
0.04500719904899597,
-0.040967632085084915,
0.0761440321803093,
0.054301775991916656,
0.057233139872550964,
0.019143251702189445,
0.014942819252610207,
0.05987852066755295,
-0.04611539840698242,
-0.02740112692117691,
0.07013830542564392,
0.0239335335791111,
-0.05158489942550659,
-0.007239045109599829,
0.03921596333384514,
0.016122514382004738,
-0.01975097507238388,
0.0018533295951783657,
0.017740128561854362,
-0.02625717781484127,
0.03796476870775223,
0.03267401084303856,
0.027973100543022156,
0.02280746027827263,
-0.029992884024977684,
-0.02082342654466629,
-0.01987609453499317,
-0.005143296904861927,
-0.02634654939174652,
0.00578229920938611,
0.013226897455751896,
-0.02094854600727558,
0.0735701471567154,
0.02307557314634323,
0.01365587767213583,
-0.009571625851094723,
0.01646212488412857,
0.05215687304735184,
0.03276338055729866,
0.04783131927251816,
0.0029872232116758823,
-0.006162125617265701,
0.02178863249719143,
-0.04572216793894768,
-0.022700214758515358,
0.004991366062313318,
-0.04722359776496887,
0.03396095335483551,
0.04568641632795334,
0.052049629390239716,
0.013325205072760582,
0.09945196658372879,
-0.003282147226855159,
-0.04604390263557434,
-0.040896136313676834,
0.045543424785137177,
0.011332233436405659,
0.041396614164114,
0.001895780791528523,
0.07099626213312149,
0.054266028106212616,
0.011296485550701618,
-0.05801960453391075,
0.051906634122133255,
0.021091539412736893,
0.03256676718592644,
0.040896136313676834,
0.0026811277493834496,
0.03964494168758392,
0.021037915721535683,
0.05544572323560715,
-0.04050290584564209,
-0.08901344239711761,
-0.03607010468840599,
-0.047509584575891495,
-0.012681734748184681,
0.0696735754609108,
-0.03574836999177933,
-0.02387991175055504,
-0.0609867200255394,
-0.06563401222229004,
0.028241213411092758,
-0.046615876257419586,
0.04479270800948143,
-0.008409804664552212,
0.025417091324925423,
0.01303028129041195,
-0.02836633287370205,
-0.03821500763297081,
0.026757655665278435,
0.002495683031156659,
-0.05129891261458397,
0.033424727618694305,
0.012351062148809433,
-0.0008518166723661125,
-0.01842828467488289,
-0.043148282915353775,
0.04690186306834221,
0.00873600784689188,
0.008378524333238602,
-0.05780511721968651,
-0.058949064463377,
0.013369890861213207,
-0.0030520171858370304,
-0.004620477091521025,
0.04586515948176384,
0.006591105833649635,
-0.05258585512638092,
0.04246906563639641,
0.006184468045830727,
0.04629414156079292,
-0.02178863249719143,
-0.061844680458307266,
-0.013852493837475777,
0.012851539067924023,
-0.0437917560338974,
-0.09408970922231674,
0.017713317647576332,
0.022467851638793945,
-0.06813639402389526,
0.020448068156838417,
0.008570672012865543,
0.010170411318540573,
-0.033210236579179764,
-0.06202342361211777,
0.014308284968137741,
-0.06434706598520279,
0.009303513914346695,
-0.03789327293634415,
-0.03590923920273781,
0.014665769413113594,
0.049547240138053894,
0.042111579328775406,
-0.01758819818496704,
0.03363921865820885,
0.04407774284482002,
0.0294745322316885,
0.0569114051759243,
0.0027057048864662647,
0.025828197598457336,
0.05494524538516998,
0.06012875959277153,
-0.0021180908661335707,
0.03860824182629585,
-0.057447630912065506,
0.04007392376661301,
0.04347001761198044,
-0.012976658530533314,
-0.009124771691858768,
0.04604390263557434,
0.07821743190288544,
-0.004660693928599358,
0.03410394489765167,
-0.03428268805146217,
-0.04050290584564209,
-0.007864641956984997,
0.040038175880908966,
0.024898739531636238,
-0.012842602096498013,
0.0260605625808239,
-0.08443765342235565,
-0.0015427656471729279,
-0.03194116801023483,
0.04997622221708298,
-0.004443969577550888,
0.026757655665278435,
-0.029170671477913857,
0.0063900211825966835,
-0.029313664883375168,
-0.03835800290107727,
-0.04246906563639641,
0.05683990940451622,
-0.05694715306162834,
0.0875835120677948,
0.014844510704278946,
0.04811730608344078,
0.0016768219647929072,
0.06309587508440018,
-0.007730585057288408,
-0.03245951980352402,
0.024791495874524117,
-0.014719391241669655,
-0.019232623279094696,
-0.06202342361211777,
-0.008981778286397457,
0.015943773090839386,
-0.010045291855931282,
0.023343686014413834,
-0.029689021408557892,
0.04279080033302307,
-0.05887756496667862,
-0.0009579446050338447,
-0.041110627353191376,
0.016149327158927917,
-0.03058273158967495,
-0.02965327352285385,
0.048653531819581985,
0.024291018024086952,
-0.02194949984550476,
-0.06406108289957047,
0.03689231723546982,
0.05769786983728409,
0.006653665564954281,
0.0458294115960598,
0.06023600324988365,
0.020179955288767815,
-0.0029559433460235596,
0.04486420378088951,
-0.03186967223882675,
-0.017874184995889664,
0.0011344521772116423,
-0.08150628209114075,
0.007569717708975077,
0.0772164836525917,
-0.03523001819849014,
-0.019375616684556007,
0.04232607036828995,
0.007743990980088711,
-0.04071739315986633,
0.007172016892582178,
0.060664985328912735,
-0.04472121223807335,
-0.03939470648765564,
-0.03074359893798828,
0.007399912923574448,
-0.015827590599656105,
-0.03512277454137802,
0.0307614728808403,
-0.013691626489162445,
-0.005826984532177448,
-0.04808155819773674,
-0.02278958633542061,
-0.02278958633542061,
0.02497023716568947,
-0.05980702489614487,
-0.0964491069316864,
-0.0347474180161953,
-0.01760607212781906,
0.010304467752575874,
-0.0347474180161953,
-0.02520260214805603,
0.020376570522785187,
-0.022521473467350006,
0.03245951980352402,
-0.0024979175068438053,
0.004014988895505667,
0.07110351324081421,
-0.010134663432836533,
0.01876789517700672,
-0.03817925974726677,
0.06030750274658203,
0.027937352657318115,
0.015747157856822014,
-0.01145735289901495,
-0.007900389842689037,
0.009491192176938057,
-0.06130845472216606,
-0.014710454270243645,
-0.028938306495547295,
-0.05226411670446396,
0.024469759315252304,
-0.03380008414387703,
0.022414227947592735,
-0.05662541836500168,
-0.01523774303495884,
0.01652468368411064,
0.0045355744659900665,
0.03388945385813713,
-0.016703426837921143,
0.01732008531689644,
0.009634185582399368,
0.022646592929959297,
0.00469197379425168,
-0.0032084162812680006,
-0.002230921760201454,
0.002544837072491646,
-0.0611654631793499,
0.01193995587527752,
-0.015675660222768784,
0.015586289577186108,
-0.03167305514216423,
-0.03710680827498436,
-0.03052910789847374,
-0.005402472335845232,
-0.03299574553966522,
0.01627444662153721,
-0.00018977357831317931,
-0.006653665564954281,
-0.0353730134665966,
-0.06238090619444847,
0.011198177002370358,
-0.002533665858209133,
0.032280780375003815,
-0.017900995910167694,
-0.02834845893085003,
-0.05287184193730354,
-0.028187589719891548,
0.004884121008217335,
-0.006019131746143103,
0.013235834427177906,
0.0025359001010656357,
0.011761213652789593,
0.01038490142673254,
-0.05322932451963425,
-0.04947574436664581,
-0.004209370817989111,
0.013825681991875172,
-0.07246194779872894,
-0.006640260107815266,
0.05909205600619316,
-0.004128936678171158,
0.016220822930336,
-0.04836754500865936,
0.05233561620116234,
-0.01157353539019823,
-0.013200085610151291,
0.05162064731121063,
-0.0024152493569999933,
0.01415635459125042,
0.04918975755572319,
-0.04461396858096123,
0.02942090854048729,
-0.014790888875722885,
0.039930928498506546,
0.06999530643224716,
0.004137874115258455,
0.04028841480612755,
-0.006568762939423323,
0.014174229465425014,
-0.003503340296447277,
-0.013387764804065228,
0.0033380042295902967,
0.03692806884646416,
-0.037857525050640106,
0.027597742155194283,
-0.026954270899295807,
-0.015693534165620804,
-0.007288198918104172,
0.009357135742902756,
-0.07024554908275604,
-0.018928762525320053,
0.0027526244521141052,
0.05998576804995537,
-0.0434342697262764,
0.06566976010799408,
-0.026489542797207832,
0.03825075551867485,
-0.032280780375003815,
-0.021037915721535683,
-0.021466895937919617,
-0.021377526223659515,
-0.026721907779574394,
-0.018178045749664307,
0.012190194800496101,
-0.0037290018517524004,
0.028133967891335487,
0.022146115079522133,
-0.052943337708711624,
-0.0009283404797315598,
-0.017239652574062347,
0.020001213997602463,
0.0197688490152359,
0.06216641515493393,
0.05355105921626091,
0.019000258296728134,
-0.013083904050290585,
-0.04518594220280647,
-0.06856537610292435,
0.00024521147133782506,
0.006416832562536001,
-0.05787661299109459,
0.009303513914346695,
0.011922081932425499,
-0.034354183822870255,
0.001278004259802401,
-0.038715485483407974,
-0.03240589797496796,
-0.04035991057753563,
-0.010009543970227242,
-0.07542905956506729,
-0.014916007407009602,
-0.02312919683754444,
0.011752276681363583,
0.02414802461862564,
0.06717118620872498,
-0.006068286020308733,
-0.036499086767435074,
-0.02749049663543701,
0.02387991175055504,
0.01096581295132637,
0.006738567724823952,
0.05355105921626091,
0.08458064496517181,
-0.002926897956058383,
0.03388945385813713,
0.02423739619553089,
0.0727836862206459,
0.0397164411842823,
-0.014093794859945774,
0.0207876767963171,
0.032441645860672,
-0.08322221040725708,
0.012377873063087463,
-0.009643123485147953,
0.011421604081988335,
-0.00652854610234499,
-0.016685552895069122,
-0.02084130048751831,
-0.011519912630319595,
-0.030332492664456367,
-0.03624884784221649,
0.05112016946077347,
-0.027651363983750343,
0.02856294810771942,
-0.013101777993142605,
0.030046505853533745,
0.023343686014413834,
-0.04164685308933258,
-0.0045802597887814045,
-0.06724268198013306,
0.008503643795847893,
0.08836997300386429,
0.011618220247328281,
-0.08415166288614273,
0.00518351374194026,
0.09945196658372879,
0.0036664423532783985,
0.006086159963160753,
-0.028670193627476692,
-0.04407774284482002,
0.027883728966116905,
-0.0329778715968132,
-0.0059610409662127495,
-0.0024487634655088186,
0.02847357653081417,
0.039895180612802505,
-0.03526576608419418,
-0.0678146630525589,
0.030010757967829704,
0.003438546322286129,
-0.02856294810771942,
0.005809110123664141,
0.029903512448072433,
-0.04071739315986633,
0.023754792287945747,
-0.01839253678917885,
-0.0722474604845047,
-0.018142297863960266,
-0.11539573967456818,
-0.01039383839815855,
0.026739781722426414,
-0.027043642476201057,
-0.03267401084303856,
-0.0042116050608456135,
-0.03063635341823101,
0.012413621880114079,
0.0041021257638931274,
0.05165639519691467,
0.04239756613969803,
0.0550524927675724,
-0.009473318234086037,
0.02841995470225811,
0.007797613274306059,
0.02168138697743416,
-0.011287547647953033,
0.040896136313676834,
-0.009410758502781391,
0.00492880679666996,
0.08593908697366714,
-0.0047009107656776905,
-0.007824424654245377,
0.029903512448072433,
0.01034021656960249,
0.009741431102156639,
-0.0504409521818161,
-0.01097474992275238,
-0.026721907779574394,
-0.04518594220280647,
-0.01145735289901495,
0.004191496409475803,
0.0042160735465586185,
0.015756094828248024,
0.016712363809347153,
0.024559130892157555,
0.021055789664387703,
0.0260605625808239,
0.02847357653081417,
0.0068145333789289,
-0.006622385699301958,
-0.07628702372312546,
0.005353318527340889,
-0.021145161241292953,
0.011359045282006264,
-0.025488588958978653,
0.06345336139202118,
-0.007185422349721193,
0.04568641632795334,
0.02307557314634323,
0.0391802154481411,
-0.027812233194708824,
0.006533014588057995,
-0.043184030801057816,
0.01206507533788681,
-0.04572216793894768,
0.0272581335157156,
-0.0042763990350067616,
0.010465335100889206,
0.009955921210348606,
0.0757865458726883,
0.024326765909790993,
0.02307557314634323,
0.02963539958000183,
-0.0005194685072638094,
-0.015005378983914852,
-0.007408849895000458,
0.038786981254816055,
0.006457049399614334,
-0.05576745793223381,
-0.016783859580755234,
0.02622142992913723,
0.0543375238776207,
0.0027124076150357723,
0.015666723251342773,
0.005040520336478949,
-0.007726116571575403
]
|
40,665 | pyglove.core.symbolic.dict | setdefault | Sets default as the value to key if not present. | def setdefault(self, key: str, default: Any = None) -> Any:
"""Sets default as the value to key if not present."""
value = pg_typing.MISSING_VALUE
if key in self:
value = self.sym_getattr(key)
if value == pg_typing.MISSING_VALUE:
self[key] = default
value = default
return value
| (self, key: str, default: Optional[Any] = None) -> Any | [
0.053506311029195786,
-0.05142983794212341,
0.0158238522708416,
0.05495242774486542,
-0.028699850663542747,
-0.018224775791168213,
0.0617009699344635,
0.04156658053398132,
0.05361755192279816,
-0.017677847295999527,
-0.020449571311473846,
0.007235217373818159,
-0.0002524620504118502,
0.029738089069724083,
-0.017038218677043915,
0.015916552394628525,
0.029070649296045303,
0.032240983098745346,
0.047610606998205185,
-0.009186548180878162,
0.032760102301836014,
-0.00744842691347003,
0.011643092148005962,
0.0006570096593350172,
-0.0049130879342556,
0.018224775791168213,
0.021395107731223106,
0.016936250030994415,
0.03945302590727806,
-0.019485492259263992,
0.005742751061916351,
-0.0656314417719841,
-0.04683192819356918,
0.02923750877380371,
0.029348749667406082,
-0.019893372431397438,
-0.01611122116446495,
0.07801613211631775,
-0.08543211221694946,
-0.06285044550895691,
0.0624796487390995,
0.031072964891791344,
-0.026085717603564262,
-0.07037767022848129,
0.022433346137404442,
0.026382356882095337,
0.009909606538712978,
0.07727453112602234,
0.05584234371781349,
-0.011355722323060036,
0.04709148779511452,
-0.029682468622922897,
0.01635223999619484,
0.006210885010659695,
-0.03674619272351265,
0.018716085702180862,
-0.04616449028253555,
0.054767027497291565,
-0.04575660824775696,
0.03211120143532753,
0.011726521886885166,
-0.002880645450204611,
-0.043605975806713104,
-0.03125836327672005,
0.016380051150918007,
0.03706137090921402,
-0.0024913065135478973,
-0.01349708717316389,
0.026345277205109596,
0.004208569880574942,
-0.019466953352093697,
-0.011327913030982018,
-0.05402543023228645,
-0.019207393750548363,
0.06259088963270187,
0.006234060041606426,
-0.057325541973114014,
-0.06229424849152565,
-0.011123972944915295,
-0.015805311501026154,
0.01733485795557499,
-0.025158720090985298,
-0.09129074215888977,
0.016908438876271248,
-0.007939735427498817,
0.03670911118388176,
0.048240963369607925,
0.03772880882024765,
0.0343916155397892,
-0.04115870222449303,
-0.009103118441998959,
-0.03422475606203079,
0.008866733871400356,
0.06422240287065506,
0.014062556438148022,
-0.02986786887049675,
0.04790724441409111,
-0.04946460202336311,
0.038340628147125244,
-0.030869025737047195,
-0.0322224423289299,
-0.040380023419857025,
0.05361755192279816,
-0.029979107901453972,
-0.007003467995673418,
-0.057992979884147644,
0.034688256680965424,
-0.024064861238002777,
-0.00014889900921843946,
-0.037784427404403687,
-0.0849129930138588,
-0.07727453112602234,
-0.00016381788009312004,
0.020190011709928513,
-0.014145986177027225,
0.05257931351661682,
-0.002023172564804554,
-0.008032435551285744,
0.01957819238305092,
0.059364937245845795,
-0.032129742205142975,
-0.007902655750513077,
-0.03257470205426216,
0.0007885274826548994,
0.07453062385320663,
-0.01996753178536892,
0.033742718398571014,
0.062034688889980316,
0.07237998396158218,
0.0363568514585495,
0.04349473491311073,
0.07256538420915604,
0.002818073146045208,
0.0030498227570205927,
-0.01765930838882923,
0.027680153027176857,
0.005409032106399536,
0.09173569828271866,
0.011559662409126759,
0.05361755192279816,
0.032129742205142975,
-0.029738089069724083,
0.01523057371377945,
-0.01226417999714613,
0.03654225170612335,
-0.0008789097773842514,
0.0011570090427994728,
0.02102430909872055,
-0.06088521331548691,
0.003853993257507682,
0.018030107021331787,
0.052134353667497635,
-0.03461409732699394,
0.02334180288016796,
-0.013728836551308632,
0.02074621059000492,
-0.009612967260181904,
-0.00833834521472454,
-0.004602544009685516,
-0.008366154506802559,
0.014238685369491577,
-0.01680647023022175,
0.014016206376254559,
-0.031499385833740234,
-0.020505189895629883,
0.009033593349158764,
-0.0014414815232157707,
0.011337182484567165,
0.08446803689002991,
0.04586784914135933,
-0.03874850645661354,
0.0023962892591953278,
-0.007884115912020206,
0.018688274547457695,
0.0876569077372551,
0.07675541192293167,
-0.037116989493370056,
-0.007833131588995457,
0.03993506357073784,
0.015536482445895672,
0.01302431896328926,
0.009288517758250237,
0.008208565413951874,
-0.006461174227297306,
0.00020727090304717422,
0.025362659245729446,
0.03937886655330658,
-0.002604863839223981,
-0.021469268947839737,
0.06922819465398788,
-0.009028958156704903,
-0.018373096361756325,
0.012931618839502335,
0.030331367626786232,
0.012542279437184334,
-0.0069756582379341125,
0.07397442311048508,
-0.07616213709115982,
-0.04353181645274162,
0.08350396156311035,
-0.0007207407616078854,
-0.04379137605428696,
0.038970984518527985,
0.028125112876296043,
-0.027420593425631523,
-0.035819195210933685,
0.00045480826520361006,
-0.0018586305668577552,
-0.060106534510850906,
-0.043086856603622437,
-0.04987248033285141,
-0.0284959115087986,
-0.05124443769454956,
-0.011522581800818443,
0.011976811103522778,
-0.03541131317615509,
0.016342971473932266,
0.0031262999400496483,
-0.021432189270853996,
0.05929077789187431,
0.07786781340837479,
-0.018261855468153954,
0.04342057555913925,
-0.004899183288216591,
0.0715271458029747,
0.028403211385011673,
-0.005381221882998943,
-0.03674619272351265,
-0.02990494854748249,
-0.008885273709893227,
-0.011754332110285759,
-0.011504041962325573,
-0.014498244971036911,
-0.018697544932365417,
0.02439858205616474,
-0.11346452683210373,
0.035151753574609756,
-0.030628006905317307,
-0.023082245141267776,
0.027012715116143227,
0.007541127037256956,
-0.012542279437184334,
-0.006308219861239195,
0.018373096361756325,
-0.0016083411173895001,
0.0065631442703306675,
-0.03392811864614487,
0.03309382125735283,
-0.005775196012109518,
0.0018412492936477065,
0.050688236951828,
-0.033742718398571014,
-0.007772876415401697,
0.005358047317713499,
0.032055582851171494,
0.059364937245845795,
-0.06029193475842476,
0.05884581804275513,
0.013673217035830021,
0.01096638385206461,
-0.01786324754357338,
0.0005527224275283515,
-0.06607639789581299,
0.0284959115087986,
0.0019687116146087646,
0.014155255630612373,
-0.01061412412673235,
0.02628965675830841,
0.03257470205426216,
-0.027568913996219635,
0.07727453112602234,
0.000651795300655067,
-0.00898260809481144,
-0.04075082018971443,
0.017066027969121933,
0.010716094635426998,
-0.050910718739032745,
-0.04312393441796303,
-0.04075082018971443,
-0.06029193475842476,
0.007059087976813316,
-0.020264171063899994,
0.03183310478925705,
0.00916337314993143,
-0.05695474147796631,
0.05269055441021919,
-0.032055582851171494,
-0.047017328441143036,
-0.03541131317615509,
-0.0605144128203392,
0.042975615710020065,
0.06425948441028595,
-0.04809264466166496,
0.0577705018222332,
-0.03366855904459953,
-0.02562221884727478,
-0.0770520567893982,
-0.0017358033219352365,
0.05287595093250275,
0.044236332178115845,
0.01993045210838318,
0.003288524691015482,
0.012477389536798,
0.011059083044528961,
-0.02845883183181286,
-0.0016720722196623683,
0.004067202564328909,
-0.01489685382694006,
0.01930009387433529,
0.018753165379166603,
-0.04453297331929207,
0.022896844893693924,
-0.047684766352176666,
0.024027781561017036,
0.05250515416264534,
0.01909615471959114,
-0.02271144464612007,
-0.026771696284413338,
0.023749683052301407,
0.04523749276995659,
-0.01894783414900303,
0.00269756349734962,
-0.09929999709129333,
0.028069492429494858,
0.013061398640275002,
-0.023397423326969147,
0.021135549992322922,
0.021487807855010033,
0.023397423326969147,
0.04379137605428696,
0.02649359591305256,
-0.011661631986498833,
-0.05587942525744438,
0.013487817719578743,
-0.04842636361718178,
-0.01646348088979721,
-0.011012733913958073,
-0.040454182773828506,
0.01796521618962288,
0.004027805291116238,
-0.034725334495306015,
-0.001130357850342989,
0.009061403572559357,
-0.031851641833782196,
0.04267897829413414,
-0.02020855061709881,
0.05951325595378876,
-0.06192345172166824,
0.012774028815329075,
-0.05498950928449631,
-0.018697544932365417,
-0.010771714150905609,
-0.001478561433032155,
-0.018067186698317528,
0.030980264768004417,
-0.0428272970020771,
0.04267897829413414,
0.004006947856396437,
-0.004458859097212553,
-0.02975662797689438,
0.05035451799631119,
-0.003320969408378005,
-0.04060250148177147,
0.01635223999619484,
-0.0009351089829578996,
0.03196288272738457,
0.0343916155397892,
0.004838928114622831,
-0.04115870222449303,
-0.013385848142206669,
0.019522573798894882,
-0.048834241926670074,
-0.052950114011764526,
0.006210885010659695,
0.03368709981441498,
0.05884581804275513,
-0.045497048646211624,
0.03691305220127106,
-0.015851661562919617,
-0.046238649636507034,
-0.008435679599642754,
-0.0075643016025424,
0.019114693626761436,
0.08572875708341599,
0.026382356882095337,
-0.004261872265487909,
0.018094995990395546,
0.025603678077459335,
0.009779826737940311,
-0.037951286882162094,
-0.012152940966188908,
0.004224792122840881,
-0.01116105355322361,
0.01613903045654297,
-0.021450728178024292,
-0.05625022575259209,
0.005691766273230314,
-0.03796982765197754,
-0.005988405551761389,
0.00599304074421525,
0.026122797280550003,
-0.033501699566841125,
0.03871142491698265,
0.02990494854748249,
0.014507515355944633,
-0.0008389329886995256,
-0.0037891033571213484,
0.004959437996149063,
-0.04586784914135933,
-0.0167044997215271,
0.026271115988492966,
0.027086874470114708,
-0.029181890189647675,
-0.012329069897532463,
-0.001945536583662033,
0.012468120083212852,
0.05180063471198082,
0.003916565794497728,
0.009835446253418922,
0.022303566336631775,
-0.03561525419354439,
-0.02221086621284485,
0.008287359960377216,
0.057992979884147644,
-0.00029388724942691624,
0.02452835999429226,
0.018224775791168213,
-0.059476178139448166,
-0.030442606657743454,
-0.01614830084145069,
-0.0009895701659843326,
-0.012236370705068111,
0.027216654270887375,
0.04152949899435043,
0.05439623072743416,
0.010122816078364849,
0.028347590938210487,
-0.03014596737921238,
-0.023842383176088333,
-0.015026633627712727,
-0.04056542366743088,
-0.05002079904079437,
-0.01803937740623951,
0.02425026148557663,
-0.008996513672173023,
-0.03022012673318386,
-0.03541131317615509,
0.06548312306404114,
0.029293129220604897,
-0.0302572064101696,
-0.03403935953974724,
-0.009218992665410042,
0.030201587826013565,
0.02337888441979885,
-0.001322130556218326,
-0.007434522267431021,
-0.06937651336193085,
-0.02751329354941845,
0.05257931351661682,
0.012254910543560982,
0.006660479120910168,
0.04790724441409111,
-0.012959429062902927,
0.04089914262294769,
-0.04853760451078415,
0.06399992853403091,
-0.00021176105656195432,
-0.016092680394649506,
-0.008449584245681763,
0.006234060041606426,
-0.002628038637340069,
-0.015276922844350338,
0.012533009983599186,
-0.04256773740053177,
-0.016964059323072433,
-0.04575660824775696,
0.002977980300784111,
-0.0003299532691016793,
-0.038970984518527985,
-0.018901484087109566,
-0.01909615471959114,
0.02814365178346634,
0.01342292781919241,
-0.033501699566841125,
0.030442606657743454,
0.009103118441998959,
-0.0069802929647266865,
0.01853068545460701,
-0.021802987903356552,
-0.006586319301277399,
0.0015434513334184885,
0.0876569077372551,
0.011578202247619629,
-0.017705656588077545,
0.019225934520363808,
0.012282720766961575,
-0.005001152865588665,
0.0053348722867667675,
0.03298258036375046,
-0.03559671342372894,
-0.002968710381537676,
-0.02011585235595703,
-0.029330208897590637,
0.02460252121090889,
-0.003673228668048978,
-0.06863491237163544,
-0.04078790172934532,
-0.00896870344877243,
0.0020486649591475725,
-0.010298945009708405,
0.0412699393928051,
0.0023650031071156263,
0.002174968598410487,
-0.05929077789187431,
0.03390957787632942,
-0.02467668056488037,
0.03923054412007332,
-0.03403935953974724,
0.006998833268880844,
-0.017066027969121933,
0.022507505491375923,
-0.029979107901453972,
-0.004718418698757887,
0.0019293141085654497,
-0.03949010372161865,
0.01894783414900303,
0.0040857428684830666,
-0.008625714108347893,
0.01096638385206461,
0.046201568096876144,
-0.016871359199285507,
0.041010379791259766,
-0.01853068545460701,
0.12518177926540375,
0.01762222684919834,
0.06377744674682617,
0.021951306611299515,
0.02680877596139908,
-0.04660944640636444,
-0.022414805367588997,
0.004787943325936794,
0.009835446253418922,
0.006920038256794214,
-0.014646564610302448,
0.030683625489473343,
-0.03769173100590706,
-0.04731396585702896,
0.10159895569086075,
0.036968670785427094,
-0.016055600717663765,
-0.06351788341999054,
0.014971014112234116,
-0.026864394545555115,
0.013358037918806076,
-0.025733457878232002,
-0.03659787029027939,
-0.022099627181887627,
-0.003999995533376932,
0.02664191648364067,
0.018298935145139694,
0.01937425322830677,
-0.009946686215698719,
0.06422240287065506,
0.03344608098268509,
0.008996513672173023,
-0.04141826182603836,
-0.07527221739292145,
-0.035707954317331314,
0.05454454943537712,
0.04256773740053177,
-0.04249357804656029,
0.002887598006054759,
0.040342941880226135,
0.008222470059990883,
0.0012688281713053584,
0.004593274090439081,
-0.003944375552237034,
0.02369406260550022,
-0.07301034778356552,
-0.041640739887952805,
0.020134391263127327,
0.042938537895679474,
0.032760102301836014,
-0.007568936794996262,
-0.015369622968137264,
-0.04998372122645378,
-0.03166624531149864,
0.05517490580677986,
-0.04078790172934532,
-0.03324213996529579,
-0.0935155376791954,
-0.012560820206999779,
-0.030628006905317307,
0.01744609884917736,
-0.007513316813856363,
0.04215985909104347,
0.016055600717663765,
-0.040342941880226135,
0.04679484665393829,
-0.0212282482534647,
0.010604854673147202,
0.031499385833740234,
-0.017770547419786453,
0.08098252862691879,
0.04475545138120651,
0.024621060118079185,
-0.007022008299827576,
0.05650978535413742,
0.03287133947014809,
-0.06907987594604492,
-0.010799524374306202,
-0.008611809462308884,
-0.022099627181887627,
0.07304742187261581,
-0.0412699393928051,
-0.023137863725423813,
0.0012850506464019418,
0.033853959292173386,
-0.01242177002131939,
-0.014739264734089375,
-0.05773342028260231,
0.031072964891791344,
-0.03329775854945183,
-0.037283848971128464,
0.03993506357073784,
-0.019633812829852104,
-0.03745070844888687,
0.05246807262301445,
-0.0070173731073737144,
-0.04379137605428696,
-0.025566598400473595,
-0.017575876787304878,
0.0424564965069294,
0.011698711663484573,
0.03617145121097565,
-0.02664191648364067,
0.028940869495272636,
0.0022757796104997396,
0.04060250148177147,
0.02793971262872219,
-0.005687131080776453,
0.008959433063864708,
0.04853760451078415,
0.056138984858989716,
0.013969856314361095,
0.0420486181974411,
-0.003928152844309807,
0.008060245774686337,
0.00229431944899261,
0.006669749040156603,
-0.08728610724210739,
-0.041714899241924286,
-0.019003454595804214,
-0.015276922844350338,
-0.013117018155753613,
-0.037395089864730835,
-0.015100793913006783,
-0.049612920731306076,
0.010697553865611553,
-0.05428498983383179,
-0.07293618470430374,
-0.017251428216695786,
-0.06018069386482239,
0.026716075837612152,
0.009918875992298126,
-0.052245594561100006,
-0.04275313764810562,
-0.05443330854177475,
0.01782616786658764,
-0.027921171858906746,
0.02895941026508808,
-0.04334641620516777,
-0.017575876787304878,
-0.03329775854945183,
-0.008403235115110874,
-0.038303546607494354,
0.02877401001751423,
0.003631513798609376,
0.047165647149086,
-0.020134391263127327,
0.07082262635231018,
0.006595589220523834,
-0.031499385833740234,
0.018484335392713547,
-0.06340664625167847,
0.06318416446447372,
0.00840786937624216,
-0.026456516236066818,
0.05891997739672661,
-0.030368447303771973,
-0.024268802255392075,
-0.03893390670418739,
0.01361759752035141,
-0.02649359591305256,
-0.0880277082324028,
-0.05891997739672661,
-0.06896863132715225,
0.012570089660584927,
-0.05365462973713875,
0.005585161503404379,
-0.0023823841474950314,
0.016157571226358414,
-0.07289910316467285,
0.030331367626786232,
-0.006567778997123241,
-0.03274156153202057,
-0.018873674795031548,
0.03014596737921238,
-0.0012931618839502335,
-0.007666271645575762,
0.031147124245762825,
-0.0013464642688632011,
-0.048129722476005554,
-0.02593739703297615,
-0.01666742004454136,
-0.015916552394628525,
-0.02126532793045044,
0.004173807334154844,
-0.05361755192279816,
0.05142983794212341,
-0.00817611999809742,
-0.04568244889378548,
0.009733476676046848,
-0.06055149435997009,
0.013376577757298946,
-0.022192327305674553,
-0.020801829174160957,
-0.06088521331548691,
0.0027856281958520412,
0.08061172813177109,
0.023953622207045555,
0.06518648564815521,
0.03316798061132431,
0.005626876372843981,
0.021487807855010033,
-0.0801667645573616,
0.003388176904991269,
-0.019188852980732918,
0.010975653305649757,
0.05917953699827194,
-0.06737419962882996,
0.01646348088979721,
0.011763601563870907,
-0.018836595118045807,
0.00300579029135406,
-0.020468110218644142,
-0.00912629347294569,
0.056027743965387344,
0.007962910458445549,
0.07853525131940842,
-0.03593043237924576,
0.019893372431397438,
0.010261865332722664,
0.029015030711889267,
0.04256773740053177,
-0.02923750877380371,
-0.022136706858873367,
0.040380023419857025,
0.0801667645573616,
0.05513782799243927,
-0.076236292719841,
-0.020764749497175217,
-0.0385260283946991,
-0.016583990305662155,
-0.008477394469082355,
-0.0015307050198316574,
0.02628965675830841,
0.03474387526512146
]
|
40,667 | pyglove.core.symbolic.dict | 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."""
if self._value_spec is None or self._value_spec.schema is None:
return None
return self._value_spec.schema.get_field(key) # pytype: disable=attribute-error
| (self, key: Union[str, int]) -> Optional[pyglove.core.typing.class_schema.Field] | [
0.0957307517528534,
-0.01350026112049818,
0.038823340088129044,
0.09128149598836899,
0.042267926037311554,
-0.01978842169046402,
0.09063563495874405,
-0.059598494321107864,
-0.03756750375032425,
-0.014298615045845509,
-0.004189117345958948,
-0.013509230688214302,
0.06874816864728928,
-0.0076830387115478516,
0.05041293427348137,
0.058235011994838715,
-0.006216399371623993,
0.044097863137722015,
-0.037208691239356995,
0.015231523662805557,
0.029799247160553932,
0.04047387093305588,
-0.025798505172133446,
-0.04912121593952179,
0.016200313344597816,
0.03850041329860687,
0.04198087751865387,
0.0071672480553388596,
0.006996812764555216,
-0.03586314991116524,
0.010952703654766083,
0.015886353328824043,
0.05238639563322067,
0.013832161203026772,
-0.007866929285228252,
-0.030803916975855827,
0.00608184514567256,
0.011302543804049492,
-0.06279191374778748,
-0.06666706502437592,
0.034302324056625366,
0.02848958596587181,
0.004713878501206636,
-0.06343776732683182,
-0.018308326601982117,
-0.006404774729162455,
0.018783751875162125,
-0.011257692240178585,
-0.02836400270462036,
-0.039038628339767456,
0.010558011010289192,
0.0050323233008384705,
0.0051040854305028915,
0.0007809743983671069,
0.039935655891895294,
-0.04086856171488762,
-0.05339106544852257,
-0.01290822308510542,
-0.035791389644145966,
0.004960560705512762,
-0.0386798158288002,
-0.004561383742839098,
-0.0443849116563797,
-0.058235011994838715,
-0.01489065308123827,
-0.03336941450834274,
0.014119209721684456,
0.020147232338786125,
-0.017447181046009064,
-0.02717992663383484,
-0.042016759514808655,
-0.035253170877695084,
-0.029619840905070305,
0.021690119057893753,
0.03439202532172203,
-0.0783643051981926,
0.018389059230685234,
-0.06788702309131622,
0.02782578580081463,
-0.04359552636742592,
-0.012020166032016277,
0.03204181417822838,
-0.02355593629181385,
0.00980450864881277,
-0.026300840079784393,
0.02102631889283657,
0.05974201858043671,
0.010728446766734123,
0.0010377484140917659,
-0.012504560872912407,
-0.01063874363899231,
-0.018478762358427048,
-0.03022981993854046,
0.05934732407331467,
0.0018187228124588728,
-0.004938135389238596,
0.04050975292921066,
0.014424199238419533,
0.023394471034407616,
-0.0011364214587956667,
0.040653277188539505,
-0.03283119946718216,
-0.015132850036025047,
0.05288872867822647,
-0.010737416334450245,
-0.03828512504696846,
-0.05019764602184296,
-0.039038628339767456,
-0.00809567142277956,
-0.03414085879921913,
0.000044395841541700065,
0.0063240425661206245,
0.01960901729762554,
0.050448816269636154,
0.006916080601513386,
0.028507526963949203,
0.018909335136413574,
-0.00892542116343975,
0.0473630428314209,
-0.0038774004206061363,
0.01067462470382452,
0.006786011625081301,
-0.036437246948480606,
-0.019752541556954384,
0.024219736456871033,
0.016729559749364853,
-0.00663800211623311,
0.0018848786130547523,
0.0009945790516212583,
0.05561569333076477,
0.016971755772829056,
0.01663985662162304,
0.04395433887839317,
0.062325455248355865,
0.011768997646868229,
0.011150049045681953,
0.06501653790473938,
0.07700082659721375,
-0.01708837039768696,
-0.004189117345958948,
0.0051713623106479645,
0.03127036988735199,
0.004583809524774551,
-0.06257662177085876,
-0.03005041368305683,
0.016002966091036797,
-0.05708681792020798,
0.025080883875489235,
-0.030803916975855827,
0.0009788810275495052,
-0.03925391286611557,
-0.004373007919639349,
0.01676543988287449,
0.011876641772687435,
0.040007416158914566,
0.03781867027282715,
-0.06257662177085876,
-0.0020048560108989477,
-0.002682111691683531,
-0.01572488807141781,
-0.01793157495558262,
-0.028794575482606888,
-0.019304027780890465,
-0.11948403716087341,
0.028184598311781883,
0.019304027780890465,
0.004861888010054827,
-0.04879828542470932,
0.02940455451607704,
0.04521017521619797,
-0.039289794862270355,
-0.034033216536045074,
0.02484765648841858,
-0.0022706002928316593,
-0.0362040214240551,
0.04018682241439819,
0.01842494122684002,
-0.008584551513195038,
0.03498406335711479,
-0.0010612953919917345,
0.044097863137722015,
0.012109868228435516,
0.020739270374178886,
-0.010217140428721905,
0.02447090484201908,
0.033064424991607666,
-0.008360294625163078,
0.009714805521070957,
0.031880348920822144,
0.04309318959712982,
-0.01810201071202755,
0.013473349623382092,
-0.0063330125994980335,
-0.02095455676317215,
-0.043774932622909546,
-0.08417703956365585,
0.07003989070653915,
0.006045964080840349,
-0.00559745030477643,
0.027915488928556442,
0.06444244086742401,
-0.028794575482606888,
-0.0001387589145451784,
0.08575581014156342,
-0.06304308027029037,
-0.001232291222549975,
0.024219736456871033,
-0.013473349623382092,
-0.05626155063509941,
0.008373749442398548,
0.012558382004499435,
-0.014002596028149128,
0.000546065391972661,
-0.011060346849262714,
0.0014386075781658292,
-0.036491069942712784,
-0.03582727164030075,
-0.002592408796772361,
-0.02167217992246151,
0.03781867027282715,
0.05274520441889763,
-0.02192334644496441,
0.04316495358943939,
-0.03153948113322258,
0.03878746181726456,
-0.024919418618083,
-0.00046617386396974325,
0.011795909143984318,
-0.03821336105465889,
-0.019124621525406837,
-0.008956817910075188,
0.017788050696253777,
-0.006992327980697155,
-0.007032693829387426,
0.0006654821336269379,
-0.03030158206820488,
0.0042810626327991486,
0.013222182169556618,
0.008239195682108402,
-0.019106680527329445,
-0.03828512504696846,
0.03853629156947136,
-0.019447552040219307,
0.07405856996774673,
-0.03157535940408707,
-0.03157535940408707,
0.0026843540836125612,
0.048116542398929596,
-0.010943733155727386,
-0.03017599880695343,
-0.019573135301470757,
-0.027664322406053543,
0.031898289918899536,
0.022138632833957672,
0.05069998279213905,
-0.03238268569111824,
-0.0741303339600563,
-0.020344579592347145,
0.028848398476839066,
0.0038841282948851585,
-0.04553310573101044,
0.02700052224099636,
-0.016944846138358116,
-0.048044782131910324,
0.04969531297683716,
-0.030857738107442856,
0.019555194303393364,
0.006131181493401527,
-0.008562125265598297,
0.011697235517203808,
-0.015545482747256756,
-0.0471118725836277,
-0.0012569595128297806,
-0.021618356928229332,
-0.005853103008121252,
-0.04664541780948639,
0.02978130616247654,
0.03227504342794418,
0.060244351625442505,
-0.030929500237107277,
-0.02782578580081463,
-0.020093411207199097,
-0.009046520106494427,
0.04524605721235275,
-0.030122175812721252,
0.049551788717508316,
-0.03207769617438316,
0.005198273342102766,
-0.02692876011133194,
-0.010199200361967087,
0.06279191374778748,
0.03593491390347481,
0.00887608528137207,
0.01953725516796112,
0.02705434337258339,
0.018119951710104942,
0.03618608042597771,
0.018254505470395088,
0.03778278827667236,
0.013616873882710934,
0.01800333708524704,
0.08647342771291733,
-0.004664542153477669,
0.017788050696253777,
-0.03227504342794418,
0.05238639563322067,
-0.003832549089565873,
0.00668285321444273,
0.010746386833488941,
0.036437246948480606,
-0.04689658805727959,
0.07779020816087723,
-0.06264838576316833,
0.04503076896071434,
0.016819261014461517,
0.02050604484975338,
-0.03814160078763962,
0.043236713856458664,
0.013903923332691193,
0.07477619498968124,
0.007117911707609892,
0.011185930110514164,
-0.028597230091691017,
-0.021618356928229332,
-0.035450518131256104,
0.012558382004499435,
-0.020290756598114967,
-0.07901016622781754,
0.010010824538767338,
0.03763926401734352,
0.02730550989508629,
0.016209283843636513,
-0.01619134284555912,
0.004290033131837845,
-0.07728787511587143,
0.02757461927831173,
0.009239381179213524,
-0.04607132077217102,
-0.01567106693983078,
-0.03921803459525108,
-0.037280455231666565,
-0.02705434337258339,
0.036491069942712784,
-0.024883536621928215,
-0.001936457701958716,
-0.05809148773550987,
0.010405516251921654,
-0.014002596028149128,
0.038321007043123245,
-0.0056198760867118835,
0.053893398493528366,
-0.05593862384557724,
-0.01953725516796112,
0.011930462904274464,
0.00013840850442647934,
-0.002901883330196142,
-0.021205725148320198,
0.051740534603595734,
-0.011275633238255978,
0.05048469454050064,
0.046824824064970016,
0.012513530440628529,
-0.028920160606503487,
-0.005386648699641228,
0.007140337489545345,
0.012818519957363605,
-0.05995730310678482,
0.0014072115300223231,
0.055328644812107086,
0.02005753107368946,
-0.029314851388335228,
0.012181630358099937,
-0.010432427749037743,
-0.028238419443368912,
-0.006090815179049969,
0.05048469454050064,
0.0317368246614933,
0.02439914271235466,
0.004000741522759199,
-0.055256880819797516,
-0.02970954403281212,
-0.027628440409898758,
-0.022892136126756668,
0.0724080428481102,
-0.019232265651226044,
0.005933835636824369,
-0.022605087608098984,
-0.05658448114991188,
0.03618608042597771,
0.002726963022723794,
-0.022210394963622093,
-0.019286086782813072,
-0.015392987988889217,
-0.006234339904040098,
0.026390543207526207,
-0.013087628409266472,
0.004606235306710005,
-0.05310401692986488,
0.011051376350224018,
-0.026749353855848312,
0.0006469809450209141,
-0.0443849116563797,
-0.03277737647294998,
0.03281325846910477,
0.010979614220559597,
0.029117505997419357,
0.009109311737120152,
0.023520056158304214,
-0.028633112087845802,
0.02036251872777939,
0.012343095615506172,
0.046107202768325806,
0.02335859090089798,
-0.041370898485183716,
0.037926312536001205,
-0.02459648810327053,
0.06017259135842323,
-0.030516868457198143,
0.02621113695204258,
0.004713878501206636,
-0.010235081426799297,
-0.02108014188706875,
-0.03593491390347481,
0.017832903191447258,
-0.04535369947552681,
0.021582476794719696,
0.011401216499507427,
0.06799466907978058,
-0.020129293203353882,
0.11998637020587921,
-0.003599321935325861,
0.037531621754169464,
0.047004230320453644,
0.019447552040219307,
-0.01291719265282154,
-0.02264096960425377,
-0.0045860521495342255,
-0.02018311433494091,
0.013249092735350132,
-0.0391821525990963,
-0.006481022108346224,
-0.0026865967083722353,
0.0007938691414892673,
-0.0009172104182653129,
-0.007310772314667702,
-0.006597635801881552,
0.005835162475705147,
0.10484454780817032,
0.03139595687389374,
-0.030606571584939957,
0.0025206466671079397,
0.0027157501317560673,
0.048439472913742065,
-0.008858144283294678,
-0.003958133049309254,
-0.020147232338786125,
-0.03814160078763962,
-0.06537535041570663,
0.03310030698776245,
-0.0074812076054513454,
-0.02588820829987526,
0.05697917193174362,
0.00020113034406676888,
-0.06591356545686722,
-0.04431314766407013,
0.03692164272069931,
0.012737787328660488,
-0.006180517841130495,
0.018801692873239517,
0.016855143010616302,
0.03362058475613594,
-0.0010276568355038762,
0.051561128348112106,
-0.019501373171806335,
-0.0009906545747071505,
-0.003442342160269618,
-0.0035701687447726727,
-0.013805249705910683,
-0.04962354898452759,
-0.09429550915956497,
0.02972748503088951,
-0.004074746277183294,
-0.06616473197937012,
-0.017958486452698708,
0.07441738247871399,
0.016128551214933395,
-0.04894180968403816,
0.014190971851348877,
-0.05658448114991188,
0.02834606170654297,
-0.018146861344575882,
0.08396175503730774,
0.03030158206820488,
0.033315595239400864,
0.03654489293694496,
0.007395990192890167,
0.02122366614639759,
-0.02303566038608551,
0.004691452719271183,
0.017626585438847542,
-0.05941908806562424,
-0.06171547621488571,
0.012136779725551605,
0.0062029436230659485,
-0.008701165206730366,
-0.029117505997419357,
-0.05956261232495308,
-0.0010158834047615528,
0.032221220433712006,
-0.003088016528636217,
0.056476838886737823,
-0.03283119946718216,
0.055113356560468674,
-0.015940174460411072,
0.029117505997419357,
0.011320484802126884,
0.013446439057588577,
-0.03699340671300888,
-0.007606791332364082,
0.0065796952694654465,
-0.030983323231339455,
-0.03469701483845711,
-0.05809148773550987,
-0.05163289234042168,
-0.02174394205212593,
0.01470227725803852,
-0.030032474547624588,
-0.023394471034407616,
-0.011786938644945621,
-0.013841130770742893,
0.05026941001415253,
0.04108384996652603,
-0.00809567142277956,
0.012450738810002804,
0.006301616784185171,
0.048367712646722794,
-0.014648456126451492,
0.071403369307518,
-0.057589150965213776,
-0.051884058862924576,
0.01015434879809618,
0.01015434879809618,
0.0117151765152812,
0.01856846548616886,
0.01661294512450695,
0.012854401022195816,
-0.06587768346071243,
0.02621113695204258,
0.0018893637461587787,
-0.04614308476448059,
-0.05166877061128616,
0.10269168764352798,
0.025672921910881996,
-0.10706917941570282,
0.012935133650898933,
0.043380238115787506,
0.035791389644145966,
0.018640227615833282,
0.015545482747256756,
-0.014765068888664246,
-0.010540070943534374,
-0.051166437566280365,
0.043057311326265335,
-0.04086856171488762,
-0.0035611982457339764,
-0.03925391286611557,
0.002538587199524045,
-0.028794575482606888,
0.03561198338866234,
0.005866558291018009,
-0.04111973196268082,
0.010916822589933872,
0.03127036988735199,
0.030965382233262062,
0.027987251058220863,
-0.011742087081074715,
-0.03268767520785332,
0.01780599169433117,
-0.06379657983779907,
-0.014872712083160877,
0.029368674382567406,
-0.003446827409788966,
0.002383850049227476,
0.05748150870203972,
-0.07258744537830353,
-0.03164712339639664,
0.054862190037965775,
0.022228335961699486,
-0.07301802188158035,
-0.04183735325932503,
-0.035701684653759,
-0.07025517523288727,
-0.03806983679533005,
-0.00813155248761177,
-0.037926312536001205,
0.03839276731014252,
-0.039612725377082825,
0.026982581242918968,
0.023448294028639793,
0.009311143308877945,
0.02990688942372799,
-0.003319001058116555,
0.01564415544271469,
0.02095455676317215,
0.0219412874430418,
0.007306287530809641,
0.05608214810490608,
0.02115190401673317,
0.0009626224054954946,
-0.059598494321107864,
-0.05113055557012558,
0.018407000228762627,
-0.019931945949792862,
0.007970087230205536,
-0.01210089772939682,
-0.005382163915783167,
0.010943733155727386,
0.042662616819143295,
-0.00817191880196333,
-0.025601159781217575,
-0.04011506214737892,
0.04205263778567314,
0.0055570839904248714,
0.014244792982935905,
-0.02400445006787777,
0.07420209795236588,
0.01881963200867176,
0.018909335136413574,
-0.031198609620332718,
-0.010719476267695427,
-0.007499148137867451,
0.03580933064222336,
-0.005072689149528742,
-0.0012872341321781278,
-0.019483432173728943,
-0.0037181780207902193,
0.011320484802126884,
0.030803916975855827,
-0.005696123465895653,
0.08611462265253067,
0.00950848963111639,
0.024937359616160393,
-0.05780443921685219,
0.04452843591570854,
-0.00170771568082273,
0.07728787511587143,
-0.006301616784185171,
-0.05288872867822647,
-0.016568094491958618,
-0.017465122044086456,
-0.10448574274778366,
-0.055830977857112885,
-0.03900274634361267,
-0.06246897950768471,
0.07258744537830353,
-0.07506324350833893,
-0.012791609391570091,
-0.06874816864728928,
-0.056369196623563766,
-0.05224287137389183,
-0.005476351827383041,
-0.03414085879921913,
0.009687894955277443,
-0.01953725516796112,
-0.04291378706693649,
-0.016236193478107452,
-0.009302172809839249,
-0.05586685985326767,
0.02673141285777092,
-0.033835869282484055,
-0.010863000527024269,
0.012791609391570091,
-0.009840389713644981,
-0.05321165919303894,
-0.04998236149549484,
0.05464690178632736,
0.055508047342300415,
0.015177701599895954,
0.05303225293755531,
0.006041478831321001,
0.0768572986125946,
-0.01232515461742878,
-0.00003931502578780055,
0.00098392681684345,
-0.012594263069331646,
-0.02660582959651947,
0.05859382450580597,
0.021385131403803825,
-0.0011751058045774698,
-0.042267926037311554,
-0.025924088433384895,
-0.04176558926701546,
0.019967827945947647,
0.0010803572367876768,
-0.04079680144786835,
-0.10778679698705673,
0.0009497276623733342,
0.09666366130113602,
0.08188065141439438,
0.05845030024647713,
-0.025529397651553154,
-0.0035387726966291666,
-0.00404783571138978,
0.016971755772829056,
0.021708060055971146,
-0.008127067238092422,
0.015976056456565857,
-0.006472052074968815,
-0.013957744464278221,
-0.0036688416730612516,
-0.02472207136452198,
-0.042339690029621124,
-0.07972778379917145,
-0.036634594202041626,
0.021062200888991356,
0.0019151532324030995,
-0.08855453133583069,
-0.014486990869045258,
-0.02848958596587181,
0.05199170112609863,
0.006996812764555216,
0.009607162326574326,
0.002026160480454564,
0.025027060881257057,
-0.029099564999341965,
0.01219957135617733,
-0.05507747456431389,
0.003816851181909442,
-0.03089362010359764,
0.018909335136413574,
0.08188065141439438,
0.049408264458179474,
0.005045778583735228,
0.06713352352380753,
0.00622985465452075,
0.01728571578860283,
-0.011428127996623516,
-0.025134705007076263,
-0.005427015013992786,
0.0793689712882042,
-0.037854552268981934,
0.06903521716594696,
-0.011114167980849743,
0.02770020253956318,
0.02192334644496441,
0.035791389644145966,
-0.05159701034426689,
0.054288093000650406,
0.00027022947324439883,
-0.04732716083526611,
-0.025296170264482498,
0.0362040214240551,
0.024955298751592636,
0.04015094041824341,
-0.008284047245979309,
-0.008566610515117645,
0.001966732321307063,
0.04657365754246712,
0.05723034217953682,
0.007319742813706398,
0.020990438759326935,
-0.022497445344924927,
-0.0468607060611248,
0.022730670869350433,
-0.03699340671300888,
-0.0416579470038414,
0.00007694811938563362,
0.02717992663383484
]
|
40,671 | pyglove.core.symbolic.base | sym_eq | Returns if this object equals to another object symbolically. | def sym_eq(self, other: Any) -> bool:
"""Returns if this object equals to another object symbolically."""
return eq(self, other)
| (self, other: Any) -> bool | [
0.06421364843845367,
-0.055159661918878555,
0.04105633869767189,
0.02543821558356285,
-0.04547886177897453,
-0.06668607890605927,
-0.05188629776239395,
0.012031353078782558,
0.020980868488550186,
0.012240291573107243,
-0.0024093177635222673,
-0.07640170305967331,
0.0805804654955864,
0.05609988421201706,
-0.042170677334070206,
-0.023296600207686424,
-0.004257114138454199,
0.04439935088157654,
-0.020928634330630302,
-0.019222306087613106,
-0.017420215532183647,
0.032524701207876205,
0.028119588270783424,
0.008200821466743946,
0.002705313265323639,
0.07730710506439209,
0.017881620675325394,
0.02749277465045452,
-0.04718519002199173,
0.06644231826066971,
-0.036007001996040344,
-0.04708072170615196,
0.036181118339300156,
0.0276146549731493,
0.05916431173682213,
-0.012780047953128815,
-0.020562993362545967,
0.06094028428196907,
-0.03726062923669815,
-0.04251890629529953,
0.0057806214317679405,
-0.0031210130546242,
0.01958794891834259,
-0.02061522752046585,
-0.017359275370836258,
-0.0024245528038591146,
-0.041996560990810394,
0.012005235999822617,
0.03536277636885643,
-0.006590256467461586,
0.01168312318623066,
-0.06355200707912445,
0.005967794917523861,
0.04937904328107834,
-0.010255379602313042,
0.019762063398957253,
0.025385981425642967,
0.025629742071032524,
-0.051781829446554184,
0.03024379163980484,
-0.021729564294219017,
-0.014956486411392689,
-0.009262923151254654,
-0.03463149443268776,
-0.029112044721841812,
-0.029582155868411064,
-0.04847364127635956,
0.0064161415211856365,
-0.0001979199005290866,
-0.001752033131197095,
-0.04520028084516525,
-0.0024593756534159184,
-0.04210102930665016,
0.0012830105843022466,
-0.04335466027259827,
-0.016114352270960808,
-0.014904252253472805,
0.03560653701424599,
-0.007957059890031815,
-0.05536860227584839,
-0.009576329961419106,
-0.03141036257147789,
-0.03781779855489731,
-0.02134651131927967,
-0.12208950519561768,
0.0031057780142873526,
0.017864208668470383,
0.02146839164197445,
0.021694740280508995,
-0.007769886404275894,
-0.003865355160087347,
-0.0010501316282898188,
0.01826467365026474,
-0.013998853974044323,
0.011221718043088913,
-0.011796297505497932,
0.014590845443308353,
-0.04426005855202675,
0.02148580364882946,
-0.013659329153597355,
0.010838665068149567,
-0.01418167445808649,
-0.023435892537236214,
0.027249012142419815,
-0.04227514564990997,
0.008274819701910019,
-0.011282658204436302,
-0.05742315948009491,
-0.023888591676950455,
-0.027579830959439278,
-0.0798143595457077,
0.07612311840057373,
-0.036877576261758804,
0.011953001841902733,
0.023766711354255676,
-0.02627396769821644,
0.028415583074092865,
-0.005606506019830704,
-0.004224467556923628,
-0.012396994978189468,
-0.024062706157565117,
0.08838082104921341,
0.0061157927848398685,
-0.013450391590595245,
0.08127693086862564,
0.012605933472514153,
0.06094028428196907,
0.003340833354741335,
-0.07668028771877289,
0.018734784796833992,
0.06118404492735863,
-0.009114925749599934,
-0.0007084308308549225,
0.0978526845574379,
0.044364526867866516,
0.015783533453941345,
0.03553689271211624,
0.04224032163619995,
0.03231576085090637,
0.0068296645767986774,
0.02587350271642208,
-0.0036194175481796265,
-0.03214164823293686,
0.022756842896342278,
-0.0499362088739872,
0.026361025869846344,
-0.09750445187091827,
-0.014268732629716396,
0.009524095803499222,
0.017211277037858963,
-0.0001454133162042126,
0.01060360949486494,
0.0479164756834507,
0.040394701063632965,
-0.06975051015615463,
0.009201982989907265,
-0.010934428311884403,
-0.007365068420767784,
-0.015766121447086334,
0.0532095730304718,
-0.001916354289278388,
-0.021816622465848923,
0.0019043838838115335,
-0.032228704541921616,
-0.015217659063637257,
-0.02672666683793068,
-0.022164851427078247,
-0.025072574615478516,
0.018752196803689003,
0.010812547989189625,
-0.03628558665513992,
-0.05439355596899986,
-0.048125412315130234,
-0.0075043607503175735,
0.025681976228952408,
0.015217659063637257,
-0.0016649756580591202,
0.047115545719861984,
0.0029077220242470503,
-0.018891487270593643,
0.04426005855202675,
-0.06299484521150589,
-0.06452705711126328,
-0.0008237820584326982,
0.03722580894827843,
0.007661064155399799,
-0.005053690634667873,
0.006002617999911308,
0.04732448235154152,
0.03430067375302315,
-0.015095778740942478,
0.0003650975995697081,
-0.022565316408872604,
0.029408039525151253,
0.020789342001080513,
-0.06403953582048416,
0.006842723116278648,
-0.016715049743652344,
0.024776577949523926,
0.07058626413345337,
0.008923398330807686,
-0.035571713000535965,
-0.02004064805805683,
0.0013755093095824122,
0.01869996078312397,
-0.059129487723112106,
0.00034850224619731307,
-0.03186306357383728,
0.0379570908844471,
-0.012753930874168873,
-0.024358702823519707,
-0.031932707875967026,
0.0018292966997250915,
0.009593741968274117,
0.025664566084742546,
0.05084160715341568,
0.02848522923886776,
-0.03111436776816845,
0.0026813724543899298,
0.05115501582622528,
0.0944400280714035,
-0.031323306262493134,
-0.010638432577252388,
0.020684873685240746,
-0.0022591433953493834,
0.01058619748800993,
-0.013633212074637413,
0.05038890987634659,
-0.019466068595647812,
-0.06975051015615463,
0.045652978122234344,
0.03066166862845421,
0.04746377468109131,
-0.025908326730132103,
0.016627991572022438,
-0.008222585543990135,
-0.003645534859970212,
0.025612330064177513,
-0.040986694395542145,
0.012205468490719795,
0.019953589886426926,
0.02061522752046585,
0.025908326730132103,
0.010986662469804287,
0.00229831924661994,
-0.06445740908384323,
0.0097243282943964,
0.04676731675863266,
-0.022722020745277405,
-0.03240282088518143,
-0.015330834314227104,
-0.0499362088739872,
-0.016297172755002975,
-0.04373771324753761,
0.022826489061117172,
0.002735783578827977,
-0.04603603109717369,
0.02310507372021675,
0.04913527891039848,
0.020528169348835945,
-0.035449832677841187,
0.06982015073299408,
0.005950383376330137,
0.020232174545526505,
-0.014312260784208775,
0.008531639352440834,
-0.042588554322719574,
0.04648873209953308,
-0.00009311077155871317,
-0.02569938823580742,
0.07486949115991592,
-0.06686019897460938,
-0.0336042121052742,
0.07619276642799377,
0.0004643975989893079,
0.011247835122048855,
0.03955895081162453,
-0.021816622465848923,
-0.06480564177036285,
-0.02777135744690895,
-0.012727813795208931,
-0.004918751306831837,
0.023279188200831413,
-0.0689147561788559,
-0.02848522923886776,
0.04136974737048149,
-0.02077193185687065,
-0.039663419127464294,
0.01915265992283821,
-0.06619855761528015,
0.050319261848926544,
0.01824726164340973,
0.04892634227871895,
0.028398172929883003,
0.020092882215976715,
0.050458554178476334,
-0.019396422430872917,
-0.031027309596538544,
0.023157307878136635,
0.047150369733572006,
0.012170645408332348,
0.03823567554354668,
0.015000015497207642,
0.018003500998020172,
0.020214762538671494,
-0.00011684755008900538,
0.009489272721111774,
0.07556594908237457,
0.04687178507447243,
0.013041220605373383,
0.01885666511952877,
0.03292516618967056,
-0.013241453096270561,
0.06800935417413712,
0.027649477124214172,
0.00712130730971694,
-0.03069649077951908,
-0.06323860585689545,
0.024898458272218704,
0.0718747153878212,
-0.010769018903374672,
0.01139583345502615,
-0.07661063969135284,
-0.04130009934306145,
-0.012745224870741367,
-0.09402215480804443,
-0.019048191606998444,
0.022826489061117172,
0.04022058844566345,
0.035293132066726685,
0.025403393432497978,
-0.018647726625204086,
0.07870002090930939,
0.015687771141529083,
-0.000399648561142385,
-0.02134651131927967,
-0.018020913004875183,
0.058224089443683624,
-0.003658593399450183,
-0.022704608738422394,
0.016157880425453186,
-0.006559786386787891,
0.014294849708676338,
-0.06835758686065674,
-0.03649452328681946,
-0.0022939664777368307,
-0.07023803144693375,
0.021085338667035103,
-0.0027727829292416573,
-0.0017378863412886858,
-0.06539762765169144,
0.013789915479719639,
0.033395275473594666,
-0.04130009934306145,
0.012153233401477337,
0.048578113317489624,
-0.003373479936271906,
0.045269925147295,
-0.020058060064911842,
-0.041717976331710815,
0.09374357014894485,
0.009915854781866074,
-0.02352294884622097,
-0.026500318199396133,
-0.027649477124214172,
0.007852590642869473,
-0.031932707875967026,
0.005171218421310186,
-0.034579258412122726,
-0.027074897661805153,
-0.06163674592971802,
-0.017124220728874207,
-0.019814297556877136,
-0.05885090306401253,
-0.007365068420767784,
0.01700233854353428,
-0.05115501582622528,
0.014852018095552921,
0.024463171139359474,
-0.04676731675863266,
0.11832862347364426,
0.0023353188298642635,
0.012658167630434036,
0.038061559200286865,
0.010838665068149567,
-0.005562977399677038,
0.009628565050661564,
0.019100425764918327,
0.056308820843696594,
0.045687802135944366,
-0.04311089962720871,
-0.03289034217596054,
0.0019370304653421044,
0.03482301905751228,
-0.026065029203891754,
-0.017089396715164185,
-0.01868255063891411,
0.006781782954931259,
-0.11986083537340164,
-0.011099837720394135,
0.027423128485679626,
0.05892054736614227,
0.016923988237977028,
-0.02996520884335041,
-0.009837502613663673,
0.033847976475954056,
0.010725489817559719,
0.00028103264048695564,
-0.015600712969899178,
0.03195011988282204,
-0.049587979912757874,
-0.03343009948730469,
-0.0226349625736475,
-0.04746377468109131,
-0.0034888312220573425,
0.00039747211849316955,
0.048995986580848694,
-0.009759151376783848,
0.0938132181763649,
0.016096940264105797,
0.00580238550901413,
0.0007193129858933389,
-0.023766711354255676,
0.012231585569679737,
-0.0026008442509919405,
0.000018499729776522145,
0.023435892537236214,
0.04586191847920418,
0.01439931895583868,
0.00616802740842104,
-0.056448113173246384,
-0.04836917296051979,
0.061567097902297974,
0.007217071019113064,
0.04631461575627327,
-0.010116087272763252,
0.015026132576167583,
-0.10495658218860626,
0.0005422052927315235,
0.04443417116999626,
-0.003874060930684209,
-0.016688931733369827,
-0.05533377826213837,
-0.01986653171479702,
-0.06494493037462234,
-0.025751622393727303,
0.0406036414206028,
0.01607082411646843,
0.05738833546638489,
0.019048191606998444,
0.017193865031003952,
0.01468660868704319,
-0.029860738664865494,
-0.05233899876475334,
-0.010159616358578205,
-0.030574610456824303,
0.04809058830142021,
-0.03896695747971535,
-0.016688931733369827,
0.011509007774293423,
-0.05028444156050682,
0.010020324029028416,
-0.0317411832511425,
-0.01652352325618267,
-0.03799191489815712,
0.0689147561788559,
-0.01527860015630722,
0.021224630996584892,
0.03726062923669815,
0.03948930278420448,
-0.0012634226586669683,
-0.02310507372021675,
-0.025960560888051987,
0.025473039597272873,
-0.004753342363983393,
-0.0007323716417886317,
-0.05366227403283119,
0.017350569367408752,
-0.08893799036741257,
-0.040673285722732544,
-0.06943710148334503,
-0.018073147162795067,
0.018003500998020172,
-0.037469569593667984,
0.0678352415561676,
-0.03517124801874161,
0.026204321533441544,
-0.000004484653800318483,
0.0019598831422626972,
-0.02951250970363617,
0.005454155616462231,
0.0027227248065173626,
-0.0479164756834507,
0.026361025869846344,
0.029181690886616707,
0.0028859577141702175,
-0.023192131891846657,
0.009367392398416996,
-0.03579806536436081,
-0.010760312899947166,
-0.007356362883001566,
0.016262350603938103,
-0.012536287307739258,
0.03635523095726967,
0.04920492693781853,
0.003884943202137947,
-0.02340106852352619,
-0.040986694395542145,
-0.04321536794304848,
0.047150369733572006,
0.03099248744547367,
-0.03757403790950775,
0.012109705246984959,
-0.013206630013883114,
0.0718747153878212,
0.04175280034542084,
-0.021242041140794754,
-0.06717360764741898,
-0.006825312040746212,
-0.02792806178331375,
0.03161930292844772,
-0.04777718335390091,
-0.04513063281774521,
-0.041160810738801956,
-0.017246101051568985,
-0.02864193357527256,
-0.035728417336940765,
0.011926883831620216,
0.04509580880403519,
-0.026970429345965385,
-0.023993059992790222,
-0.0025246688164770603,
-0.045792270451784134,
0.04307607561349869,
-0.04513063281774521,
0.07417303323745728,
-0.02136392332613468,
-0.01131748128682375,
0.028241468593478203,
0.026256557554006577,
-0.02467210963368416,
0.01008997019380331,
-0.003771768184378743,
-0.015740005299448967,
-0.007652358617633581,
0.028171822428703308,
-0.02852005325257778,
-0.008244349621236324,
0.022391201928257942,
0.022687196731567383,
-0.011892060749232769,
-0.011091131716966629,
0.044782403856515884,
-0.03259434551000595,
-0.032193880528211594,
0.00013283076987136155,
0.004849105607718229,
0.060278646647930145,
0.03255952149629593,
0.036041826009750366,
0.028137000277638435,
0.01593153178691864,
0.05916431173682213,
-0.077167809009552,
-0.008296584710478783,
-0.018612904474139214,
0.012762636877596378,
-0.048160236328840256,
0.06759148091077805,
0.03771333023905754,
-0.0028424288611859083,
-0.0022417318541556597,
0.021294277161359787,
0.004883928690105677,
0.034387730062007904,
0.02627396769821644,
-0.010612315498292446,
0.047846827656030655,
-0.05752762779593468,
-0.05919913202524185,
-0.02627396769821644,
0.04408594220876694,
-0.012440524064004421,
0.0023113780189305544,
0.01527860015630722,
-0.05710975080728531,
0.003658593399450183,
0.023644831031560898,
-0.02308766171336174,
-0.06094028428196907,
-0.08190374076366425,
0.0011050867615267634,
0.011230424046516418,
-0.034840431064367294,
-0.0007644740981049836,
-0.02233896777033806,
-0.016854342073202133,
0.024027884006500244,
0.033099278807640076,
-0.020667461678385735,
0.03240282088518143,
-0.005754503887146711,
-0.006886252202093601,
-0.07730710506439209,
0.03186306357383728,
0.02369706518948078,
-0.03459667041897774,
-0.015496243722736835,
0.006921075284481049,
0.0020784989465028048,
0.04732448235154152,
0.005937324836850166,
0.0274579506367445,
-0.04809058830142021,
0.028572287410497665,
-0.0036302998196333647,
-0.002659608144313097,
0.022408613935112953,
-0.061288513243198395,
0.04809058830142021,
-0.026674432680010796,
0.01782938651740551,
-0.03941965848207474,
0.004492169711738825,
-0.04540921747684479,
-0.008562110364437103,
0.04297160729765892,
0.019657595083117485,
0.023435892537236214,
-0.05651776120066643,
-0.02437611296772957,
-0.018734784796833992,
0.01871737278997898,
-0.015722593292593956,
0.003998117987066507,
-0.08078940212726593,
0.00025437126168981194,
0.033099278807640076,
0.00890598725527525,
0.12501463294029236,
-0.01162218302488327,
0.03095766343176365,
-0.052965812385082245,
0.07257117331027985,
-0.057074930518865585,
0.03388279676437378,
-0.01512189581990242,
-0.03994200378656387,
0.016636697575449944,
-0.0014038030058145523,
-0.04540921747684479,
0.04380735754966736,
-0.015644241124391556,
0.00400247098878026,
-0.009167159907519817,
-0.0009538242593407631,
-0.006564139388501644,
-0.017742328345775604,
0.03348233178257942,
-0.028154410421848297,
0.013937913812696934,
-0.012170645408332348,
-0.04506098851561546,
-0.021242041140794754,
0.034718550741672516,
0.034875255078077316,
-0.007408597506582737,
-0.0328206941485405,
0.006346495356410742,
-0.03753921389579773,
-0.0020861164666712284,
0.05658740550279617,
-0.006207203026860952,
-0.027980295941233635,
0.0009984412463381886,
-0.018491024151444435,
0.009593741968274117,
0.015705181285738945,
-0.003832708578556776,
-0.02253049425780773,
-0.010063852183520794,
-0.0217817984521389,
-0.008109410293400288,
-0.013563565909862518,
-0.024149764329195023,
0.0030404848512262106,
0.01380732748657465,
0.03478819504380226,
0.013459096662700176,
-0.06741736829280853,
-0.04572262614965439,
-0.03670346364378929,
0.022234497591853142,
0.020824166014790535,
0.017193865031003952,
0.009602447971701622,
-0.03621593862771988,
-0.014294849708676338,
0.009036573581397533,
-0.009097513742744923,
0.004374641925096512,
-0.013972736895084381,
0.03259434551000595,
-0.00285113463178277,
0.047289662063121796,
0.03024379163980484,
-0.021590271964669228,
-0.001276481314562261,
0.07131754606962204,
-0.006494493223726749,
-0.048438820987939835,
0.0019043838838115335,
-0.01887407712638378,
-0.05272205173969269,
0.046384263783693314,
0.002051293384283781,
0.006825312040746212,
0.01930936425924301,
-0.011378421448171139,
0.04311089962720871,
-0.0043071722611784935,
-0.05394085869193077,
0.042449261993169785,
-0.016671519726514816,
-0.014965192414820194,
0.051816653460264206,
-0.006094028241932392,
-0.004666284658014774,
0.014216497540473938,
0.027266424149274826,
-0.009332569316029549,
0.09060949832201004,
0.013267570175230503,
0.0725015252828598,
-0.06463152170181274,
0.027841003611683846,
-0.00819211546331644,
-0.01883925311267376,
-0.005819797050207853,
0.11296587437391281,
0.015252482146024704,
0.0006529316306114197,
0.050771962851285934,
-0.019622771069407463,
0.02937321737408638,
0.0029229572974145412,
0.0034648904111236334,
0.042309969663619995,
0.021677330136299133,
-0.013824738562107086,
0.01593153178691864,
0.008139880374073982,
0.04001164808869362,
-0.013572271913290024,
0.017559507861733437,
0.08350560069084167,
-0.032646581530570984,
0.014712725766003132,
0.0219385027885437,
-0.012666873633861542,
-0.05937324836850166,
0.015583300963044167,
0.009141042828559875,
0.026709256693720818,
-0.039976827800273895,
-0.016575757414102554,
-0.01029890775680542,
0.09297746419906616
]
|
40,676 | pyglove.core.symbolic.dict | sym_hasattr | Tests if a symbolic attribute exists. | def sym_hasattr(self, key: Union[str, int]) -> bool:
"""Tests if a symbolic attribute exists."""
return key in self
| (self, key: Union[str, int]) -> bool | [
0.0710112676024437,
-0.03824203088879585,
0.01714472658932209,
0.041147343814373016,
0.043816179037094116,
0.002806076779961586,
0.026502538472414017,
0.00397369172424078,
0.0014157068217173219,
0.008356998674571514,
-0.013107692822813988,
-0.009872998110949993,
0.12350960075855255,
0.01447589322924614,
-0.026468755677342415,
-0.012930333614349365,
0.021789850667119026,
0.03216114267706871,
-0.00781225273385644,
-0.02444179356098175,
-0.02702617086470127,
0.0727679654955864,
0.007765801157802343,
-0.04442426934838295,
0.027144409716129303,
0.07884885370731354,
0.05060650408267975,
0.04330943897366524,
0.03351245075464249,
0.010227716527879238,
-0.07020048052072525,
-0.00884262565523386,
0.047734975814819336,
0.024340445175766945,
0.046485014259815216,
-0.018496036529541016,
0.0022993360180407763,
0.00608933437615633,
-0.008707494474947453,
-0.04101221635937691,
0.04300539568066597,
0.04925519600510597,
0.026434972882270813,
-0.013487748801708221,
0.005519250873476267,
-0.012440484017133713,
-0.025505948811769485,
0.05067406967282295,
-0.0208608265966177,
-0.05047137290239334,
0.027921412140130997,
-0.016215702518820763,
0.032059796154499054,
-0.003564076265320182,
-0.023326963186264038,
-0.011215860955417156,
-0.016156582161784172,
0.047903887927532196,
-0.027178192511200905,
0.043410785496234894,
-0.02165471948683262,
0.011300317943096161,
0.006292030215263367,
-0.08824045211076736,
-0.004425535444170237,
-0.05050515756011009,
-0.04901871830224991,
0.006059774197638035,
-0.0022275475785136223,
-0.01635083369910717,
-0.03888390213251114,
-0.020742585882544518,
-0.0025843775365501642,
0.03861364349722862,
-0.01040507573634386,
-0.07851102948188782,
-0.003532405011355877,
-0.03641776368021965,
0.017719034105539322,
-0.043444570153951645,
-0.015489374287426472,
-0.04287026450037956,
-0.03434012830257416,
-0.02102973870933056,
-0.08918636292219162,
0.06965995579957962,
0.0346948467195034,
-0.02807343564927578,
0.0021958763245493174,
0.028850438073277473,
-0.04918763041496277,
0.06381554901599884,
0.011511459946632385,
0.012668517418205738,
0.02756669372320175,
-0.010354401543736458,
0.06449119746685028,
-0.0015487262280657887,
0.05776844173669815,
-0.0488160215318203,
0.025505948811769485,
-0.07898398488759995,
0.03486375883221626,
0.040978431701660156,
-0.020083824172616005,
0.024576924741268158,
-0.0640520229935646,
-0.026705235242843628,
-0.02026962861418724,
-0.0040581487119197845,
-0.03444147855043411,
-0.0029327617958188057,
0.0551333874464035,
-0.002905313391238451,
0.0400325171649456,
-0.0462147518992424,
0.02560729719698429,
-0.01646062731742859,
-0.01972910575568676,
-0.01930682174861431,
0.008416119031608105,
0.041282474994659424,
0.015734298154711723,
-0.021283110603690147,
0.05104568228125572,
0.01007569395005703,
0.011511459946632385,
0.04287026450037956,
0.04996463283896446,
0.03621507063508034,
0.002148369560018182,
0.007727795746177435,
0.03292125463485718,
0.09161871671676636,
-0.020708803087472916,
0.0173474233597517,
0.036688026040792465,
0.0559779554605484,
-0.02640119008719921,
0.005933089181780815,
0.027499128133058548,
-0.011258088983595371,
-0.013648216612637043,
-0.014366098679602146,
-0.04739714786410332,
0.0038829005789011717,
-0.08817288279533386,
0.011198969557881355,
0.012651626020669937,
-0.025421492755413055,
-0.029897700995206833,
-0.02866463176906109,
0.009754758328199387,
0.027836956083774567,
-0.014045163057744503,
0.03857985883951187,
-0.033596910536289215,
0.034559715539216995,
-0.008171194233000278,
-0.04567423090338707,
-0.007782692555338144,
0.01930682174861431,
-0.05472799763083458,
-0.08020016551017761,
-0.02494853362441063,
-0.01868184097111225,
-0.012997899204492569,
-0.025759318843483925,
0.030640920624136925,
0.06881538778543472,
-0.011519905179738998,
-0.03391784429550171,
0.0191041249781847,
0.023597225546836853,
0.010269944556057453,
0.007651784457266331,
-0.0009300803649239242,
-0.00429251603782177,
0.02452624961733818,
0.01717006415128708,
0.03513402119278908,
-0.03763394430279732,
-0.06114671379327774,
-0.02449246682226658,
0.0003665952244773507,
0.03116455301642418,
-0.011291871778666973,
-0.027093736454844475,
0.03270166739821434,
0.03878255560994148,
-0.01839468814432621,
-0.017752816900610924,
0.0057895127683877945,
0.026046471670269966,
-0.003281146055087447,
-0.0640520229935646,
0.016528192907571793,
0.01972910575568676,
-0.015531602315604687,
0.0363839827477932,
0.051248375326395035,
-0.026434972882270813,
-0.022465504705905914,
0.07378144562244415,
-0.0208608265966177,
-0.05371451377868652,
-0.0200162585824728,
-0.026891039684414864,
-0.00898620206862688,
-0.002719508484005928,
0.01386780384927988,
-0.05915353074669838,
0.04969437047839165,
0.04121490940451622,
0.029813244938850403,
0.06344393640756607,
-0.003110121004283428,
0.007537768222391605,
-0.01720384694635868,
-0.00505896145477891,
0.07790293544530869,
0.0036295303143560886,
0.05097811669111252,
0.035302937030792236,
0.015438700094819069,
-0.02866463176906109,
0.019239256158471107,
0.0604034923017025,
-0.030387550592422485,
-0.00002560096254455857,
0.0372961163520813,
0.06165345385670662,
0.013656661845743656,
0.028884220868349075,
-0.025877559557557106,
-0.039728470146656036,
0.02026962861418724,
0.09965900331735611,
0.030353767797350883,
0.0013196372892707586,
0.0038280037697404623,
0.0400325171649456,
-0.023631008341908455,
0.03503267467021942,
-0.027465347200632095,
-0.03292125463485718,
0.01128342654556036,
0.0444580502808094,
-0.0417892187833786,
-0.028918003663420677,
0.03540428355336189,
-0.041147343814373016,
-0.00878350529819727,
-0.017583902925252914,
0.020421650260686874,
-0.025674862787127495,
-0.10553719848394394,
-0.012009754776954651,
0.008893299847841263,
-0.009577399119734764,
-0.04107977822422981,
0.027009280398488045,
0.032887473702430725,
0.02707684598863125,
0.02356344275176525,
0.02748223766684532,
0.06874782592058182,
0.02841126173734665,
-0.07148422300815582,
-0.044322919100522995,
-0.018344013020396233,
-0.03320840746164322,
-0.030353767797350883,
0.01810753531754017,
0.015970777720212936,
0.014779937453567982,
0.02173917554318905,
-0.021823633462190628,
0.016257930546998978,
-0.02952609211206436,
0.0019467289093881845,
-0.012904996983706951,
0.008128965273499489,
0.019914910197257996,
-0.029593657702207565,
0.03224559873342514,
-0.012094211764633656,
0.0173136405646801,
-0.012094211764633656,
-0.014695480465888977,
0.05418747290968895,
0.0221952423453331,
0.0372961163520813,
-0.005738838575780392,
0.06310611218214035,
0.03607993945479393,
0.0266883447766304,
-0.005717724096029997,
0.021283110603690147,
0.018512926995754242,
0.021080413833260536,
0.03949199244379997,
-0.034137431532144547,
-0.029424743726849556,
-0.014518121257424355,
0.0115536879748106,
0.04232973977923393,
0.0497957207262516,
-0.022887788712978363,
0.055707696825265884,
0.013918478041887283,
0.06351149827241898,
-0.05013354867696762,
0.04158652201294899,
0.018715623766183853,
-0.0337827131152153,
-0.030640920624136925,
-0.0115536879748106,
-0.02265130914747715,
0.10033465921878815,
-0.012508049607276917,
-0.0031460151076316833,
-0.054288819432258606,
-0.03270166739821434,
-0.04351213574409485,
-0.018631165847182274,
0.025269469246268272,
-0.08756479620933533,
-0.01739809848368168,
-0.0005136028048582375,
0.017921729013323784,
-0.01601300574839115,
0.035302937030792236,
0.003230472095310688,
-0.0443904846906662,
0.02515123039484024,
-0.03837716206908226,
0.015269787050783634,
0.018749406561255455,
0.014442110434174538,
-0.037228550761938095,
0.017381206154823303,
0.010185488499701023,
-0.03444147855043411,
-0.004328410141170025,
-0.06516685336828232,
-0.04580935835838318,
0.021924981847405434,
0.03479619696736336,
0.012567169964313507,
-0.005857077892869711,
-0.006097780074924231,
0.024458684027194977,
-0.005286994855850935,
0.03712720423936844,
0.008884853683412075,
-0.0033212630078196526,
0.07195717841386795,
0.01952640898525715,
0.011418557725846767,
0.07270040363073349,
0.012676963582634926,
-0.04162030294537544,
-0.04787010699510574,
-0.051248375326395035,
-0.029880810528993607,
-0.0208608265966177,
0.010954044759273529,
0.004127825144678354,
-0.03074226900935173,
-0.031096987426280975,
-0.022093893960118294,
-0.06114671379327774,
-0.03363069146871567,
0.012955671176314354,
0.033427994698286057,
0.03354623541235924,
0.0032325834035873413,
0.020928390324115753,
-0.0417216531932354,
0.00967874750494957,
0.01274452917277813,
0.014408327639102936,
0.05121459439396858,
0.020303411409258842,
-0.0015582276973873377,
-0.01342862844467163,
-0.02373235672712326,
0.025168120861053467,
0.023749247193336487,
0.012043537572026253,
-0.005455908365547657,
-0.0541536919772625,
0.035775892436504364,
-0.03537050262093544,
-0.057836007326841354,
0.0372961163520813,
-0.04780254140496254,
-0.010185488499701023,
-0.0020364641677588224,
0.03133346885442734,
-0.038985252380371094,
0.0025379264261573553,
0.014315425418317318,
0.0027448455803096294,
0.05290373042225838,
-0.013774901628494263,
0.004704243037849665,
-0.027380889281630516,
-0.026586996391415596,
0.02841126173734665,
0.014974188059568405,
-0.04337700456380844,
-0.029559874907135963,
-0.0068241083063185215,
0.008044508285820484,
0.07155178487300873,
-0.01184928696602583,
0.049829501658678055,
0.017752816900610924,
0.012812093831598759,
-0.051282159984111786,
-0.02858017571270466,
0.019577082246541977,
-0.050167329609394073,
-0.001502275001257658,
0.004978727549314499,
-0.01572585292160511,
0.025793101638555527,
0.04847819358110428,
-0.046282317489385605,
0.0030024386942386627,
0.06472767889499664,
0.02707684598863125,
-0.010768240317702293,
-0.04246487095952034,
-0.03550563380122185,
-0.08911880105733871,
-0.04226217418909073,
-0.009138223715126514,
-0.04780254140496254,
-0.019847344607114792,
-0.037600159645080566,
0.019914910197257996,
-0.03564076125621796,
0.0051391953602433205,
0.03102942183613777,
0.08445678651332855,
0.09729421883821487,
-0.03675559163093567,
-0.042904045432806015,
0.014805274084210396,
-0.012204005382955074,
-0.014416772872209549,
-0.019121015444397926,
-0.033140841871500015,
-0.026671452447772026,
-0.03307327628135681,
-0.006131562404334545,
-0.004928053356707096,
-0.06641681492328644,
0.053950995206832886,
-0.05739682912826538,
-0.0355394147336483,
-0.03261721134185791,
0.04418778792023659,
-0.0124320387840271,
-0.012482712976634502,
0.026891039684414864,
0.03020174615085125,
-0.003920906223356724,
-0.011950635351240635,
0.01632549613714218,
-0.01901966705918312,
0.0002656429714988917,
0.023310072720050812,
-0.006338481791317463,
0.04401887580752373,
-0.09709151834249496,
-0.036181285977363586,
0.00017920673417393118,
-0.007195718120783567,
-0.03324219211935997,
-0.046316102147102356,
0.05621443688869476,
0.007449088618159294,
-0.03369825705885887,
0.01703493297100067,
-0.012043537572026253,
-0.01700115017592907,
0.010928708128631115,
0.012398255988955498,
0.024137748405337334,
0.0355394147336483,
0.08857827633619308,
0.004039145540446043,
0.028732197359204292,
0.012592506594955921,
-0.007368854247033596,
-0.006190682295709848,
-0.048410627990961075,
0.007440642919391394,
0.02983013540506363,
0.0363839827477932,
-0.00043653600732795894,
0.00955206248909235,
-0.05080920085310936,
-0.0026603888254612684,
0.013698890805244446,
-0.02026962861418724,
0.04624853655695915,
-0.0038744548801332712,
0.04121490940451622,
0.014805274084210396,
0.06641681492328644,
0.033394213765859604,
-0.0057895127683877945,
-0.06411959230899811,
-0.016882911324501038,
0.016756225377321243,
0.04739714786410332,
-0.04604583978652954,
-0.002531592035666108,
-0.06530198454856873,
-0.036485329270362854,
0.028563285246491432,
-0.03665424510836601,
-0.017786599695682526,
-0.010582434944808483,
-0.007715127430856228,
0.026671452447772026,
0.027347106486558914,
-0.04645123332738876,
0.03037066012620926,
0.007546213921159506,
0.05493069440126419,
0.014087392017245293,
0.04030277580022812,
-0.007081701420247555,
-0.006228687707334757,
0.026586996391415596,
-0.014585686847567558,
0.025725536048412323,
0.019256146624684334,
0.00007356977585004643,
0.03344488516449928,
-0.05131594091653824,
-0.05104568228125572,
0.021874306723475456,
-0.013876250013709068,
-0.04303917661309242,
0.06695733964443207,
-0.021975655108690262,
-0.06286963075399399,
0.07729484885931015,
0.03221181780099869,
0.05432260408997536,
-0.01711094379425049,
-0.03249897062778473,
0.051451072096824646,
-0.0030172185506671667,
-0.05638334900140762,
0.07026804238557816,
-0.06536955386400223,
-0.03641776368021965,
-0.05442395061254501,
-0.029593657702207565,
-0.04864710941910744,
0.06114671379327774,
-0.00047744475887157023,
-0.018833862617611885,
0.021671611815690994,
-0.008867962285876274,
0.002187430625781417,
0.009906780906021595,
-0.01040507573634386,
-0.005696610081940889,
0.04107977822422981,
-0.038309596478939056,
-0.0479714535176754,
-0.018039969727396965,
0.03895146772265434,
-0.013783346861600876,
0.04516748711466789,
-0.024374227970838547,
-0.0297794621437788,
0.006292030215263367,
0.02444179356098175,
-0.07040317356586456,
-0.05009976401925087,
-0.05567391216754913,
-0.053207773715257645,
0.008302101865410805,
-0.06101158261299133,
0.014247859828174114,
0.01881697215139866,
0.01864805817604065,
-0.01881697215139866,
-0.011477677151560783,
0.02532014437019825,
0.06530198454856873,
-0.031721968203783035,
0.034559715539216995,
-0.021992547437548637,
0.0014157068217173219,
0.028259240090847015,
0.03221181780099869,
0.038647424429655075,
-0.030303094536066055,
-0.0630723237991333,
-0.04334322363138199,
0.017887946218252182,
-0.00016350304940715432,
0.02994837611913681,
0.017094053328037262,
0.006110448390245438,
0.006921233609318733,
0.02361411787569523,
-0.01972910575568676,
-0.008517466485500336,
-0.02352965995669365,
-0.02756669372320175,
0.013546868227422237,
0.023495877161622047,
-0.023631008341908455,
0.01559916790574789,
0.017220739275217056,
0.03574211150407791,
-0.01944195106625557,
-0.07715971767902374,
-0.01460257824510336,
0.023546552285552025,
0.032549645751714706,
-0.01655353046953678,
0.004894270561635494,
-0.03261721134185791,
0.042701348662376404,
0.020134497433900833,
0.045066140592098236,
0.06432228535413742,
-0.05898461863398552,
0.0027638482861220837,
-0.06280206143856049,
0.047194451093673706,
-0.005371451377868652,
0.06523442268371582,
0.0063300360925495625,
-0.01961086504161358,
0.02586066722869873,
-0.027516020461916924,
-0.05297129601240158,
-0.047903887927532196,
-0.030083507299423218,
-0.0355394147336483,
0.08128120750188828,
-0.03209357708692551,
-0.06310611218214035,
-0.03023552894592285,
-0.025134339928627014,
-0.04212704300880432,
0.0032220263965427876,
-0.035269152373075485,
-0.02673901803791523,
0.004170053638517857,
0.03381649777293205,
-0.004818259738385677,
0.0016405730275437236,
-0.06509929150342941,
0.0164352897554636,
-0.017887946218252182,
0.004212282132357359,
0.06965995579957962,
0.0011750049889087677,
-0.06874782592058182,
-0.04226217418909073,
0.032431405037641525,
-0.021046631038188934,
-0.02645186521112919,
0.041113562881946564,
-0.027684934437274933,
0.01810753531754017,
-0.008631483651697636,
0.019948692992329597,
0.004991395864635706,
-0.012651626020669937,
0.011908406391739845,
0.05966027081012726,
-0.015024862252175808,
0.0014748265966773033,
-0.0781731978058815,
-0.03584345802664757,
-0.05317399278283119,
0.03662046045064926,
0.05243077129125595,
-0.004636677447706461,
-0.0666532963514328,
0.004007474519312382,
0.08810532093048096,
0.05449151620268822,
-0.021350674331188202,
-0.0148897310718894,
0.021806741133332253,
-0.009079104289412498,
0.006465166807174683,
-0.005472799763083458,
0.008665266446769238,
-0.025962015613913536,
-0.0010588769800961018,
0.01595388725399971,
0.022837115451693535,
-0.05901839956641197,
-0.028918003663420677,
-0.016587313264608383,
-0.09986170381307602,
0.03432323783636093,
-0.0497957207262516,
-0.021536480635404587,
-0.04303917661309242,
0.012423592619597912,
0.013099247589707375,
0.05209294334053993,
0.002869419287890196,
-0.0083316620439291,
0.02849571965634823,
-0.07168691605329514,
-0.015303568914532661,
-0.015632951632142067,
-0.002293001627549529,
-0.020134497433900833,
0.008424564264714718,
0.03732989728450775,
0.039187949150800705,
-0.044863443821668625,
0.101280577480793,
-0.010878033936023712,
0.008665266446769238,
-0.05732926353812218,
-0.012406701222062111,
-0.004467763938009739,
0.08540269732475281,
-0.003074226900935173,
0.05432260408997536,
0.03450904041528702,
-0.03962712362408638,
0.03837716206908226,
0.01725452020764351,
-0.05273481458425522,
0.021080413833260536,
0.03499889001250267,
-0.030759161338210106,
0.03486375883221626,
0.024593815207481384,
0.008690603077411652,
-0.009231126867234707,
0.07857859134674072,
0.03550563380122185,
-0.05614687129855156,
0.012609397992491722,
0.058376528322696686,
-0.0033592686522752047,
-0.029019352048635483,
-0.02006693184375763,
-0.042228393256664276,
0.035438068211078644,
-0.00551502825692296,
-0.006566515192389488,
-0.012736083008348942,
0.027296433225274086
]
|
40,677 | pyglove.core.symbolic.dict | sym_hash | Symbolic hashing. | def sym_hash(self) -> int:
"""Symbolic hashing."""
return base.sym_hash(
(self.__class__,
tuple([(k, base.sym_hash(v)) for k, v in self.sym_items()
if v != pg_typing.MISSING_VALUE])))
| (self) -> int | [
0.07118364423513412,
-0.05891425162553787,
0.043436478823423386,
0.044952526688575745,
0.02275831811130047,
-0.016843976452946663,
-0.025208670645952225,
-0.04177940636873245,
-0.022846460342407227,
-0.03569759428501129,
-0.003724008332937956,
-0.004944778047502041,
0.04065118730068207,
-0.014596349559724331,
-0.03263024613261223,
-0.003005649195984006,
0.00203167786821723,
0.044670470058918,
-0.0009398162947036326,
-0.011529000476002693,
-0.014217338524758816,
0.016852790489792824,
0.007390724029392004,
0.00022393629478756338,
-0.009501730091869831,
-0.01062113605439663,
0.06808104366064072,
0.018527492880821228,
0.02222946472465992,
0.0014851961750537157,
-0.052321214228868484,
0.007990091107785702,
0.010224496014416218,
0.008840663358569145,
0.04174415022134781,
-0.06730539351701736,
-0.017549114301800728,
0.06416752934455872,
0.003305332735180855,
-0.0191973727196455,
0.05468342453241348,
0.013362358324229717,
-0.024133335798978806,
-0.023939423263072968,
0.02244100533425808,
-0.008439616300165653,
-0.007606672588735819,
-0.006932384800165892,
-0.01458753552287817,
-0.07079581916332245,
-0.01513401698321104,
-0.032066136598587036,
0.019373657181859016,
0.01856274902820587,
0.03153728321194649,
0.03934668004512787,
0.018086781725287437,
-0.05824436992406845,
-0.0355389378964901,
0.035292141139507294,
-0.012163625098764896,
0.013265402056276798,
0.02094258926808834,
-0.0514397919178009,
0.019673340022563934,
-0.006103848107159138,
-0.008532165549695492,
0.023569226264953613,
-0.0011425433913245797,
0.0059804487973451614,
0.01702026091516018,
-0.03825371712446213,
-0.01930314302444458,
-0.019497055560350418,
0.004728829488158226,
-0.02635451965034008,
0.023710254579782486,
-0.018069151788949966,
0.04054541513323784,
-0.0270244013518095,
-0.00027709707501344383,
-0.034851428121328354,
-0.01714365929365158,
-0.005636694375425577,
-0.08102031797170639,
0.057186663150787354,
0.08109083026647568,
-0.006985269952565432,
-0.06511946022510529,
-0.024327250197529793,
-0.023921795189380646,
0.008792185224592686,
0.008540979586541653,
0.01625342294573784,
0.03723127022385597,
-0.050382085144519806,
-0.0010968196438625455,
-0.05478919669985771,
0.05316738039255142,
-0.021929781883955002,
0.06931503117084503,
-0.014719748869538307,
-0.039981305599212646,
-0.002891064388677478,
0.017064331099390984,
-0.0027191871777176857,
0.013291845098137856,
-0.05454239994287491,
-0.03730178251862526,
-0.017831169068813324,
-0.047032684087753296,
0.07396893948316574,
0.014358365908265114,
-0.059936702251434326,
0.028452305123209953,
0.011872755363583565,
0.020149309188127518,
0.010497736744582653,
0.047032684087753296,
0.03372320905327797,
-0.014737376943230629,
0.05302635207772255,
0.006513709202408791,
-0.008280960842967033,
0.06050081178545952,
0.04946540668606758,
0.0005503378924913704,
-0.005777721758931875,
-0.01009228266775608,
0.0347280316054821,
0.04410636052489281,
0.033776093274354935,
0.009907184168696404,
0.08518063277006149,
-0.05990144610404968,
0.010920819826424122,
0.046257030218839645,
0.04717370867729187,
0.03687870129942894,
0.005469223950058222,
0.047773078083992004,
-0.042449288070201874,
-0.015997810289263725,
-0.0035455203615128994,
0.020219823345541954,
0.022723061963915825,
-0.06557780504226685,
0.017064331099390984,
0.0006186481332406402,
0.01268366351723671,
0.060782868415117264,
0.014270223677158356,
0.05574113130569458,
0.06758744269609451,
-0.055600106716156006,
0.07876387983560562,
0.004058948718011379,
-0.02536732703447342,
-0.024009937420487404,
-0.025420213118195534,
0.020343221724033356,
-0.055353306233882904,
0.04110952466726303,
-0.06543677300214767,
-0.05055836960673332,
-0.010665207169950008,
0.0172406155616045,
-0.013952911831438541,
0.0027456297539174557,
-0.00707781920209527,
-0.03208376467227936,
-0.05133402347564697,
-0.03772486373782158,
0.02039610780775547,
0.06191108748316765,
0.04340122267603874,
-0.023498712107539177,
0.013970539905130863,
0.04481149837374687,
-0.023040372878313065,
0.011564257554709911,
-0.10139879584312439,
-0.040051817893981934,
-0.00011148612247779965,
0.03797166422009468,
0.03906462714076042,
0.030937915667891502,
0.01562761329114437,
0.04530509561300278,
0.006853056605905294,
-0.06624768674373627,
-0.02732408419251442,
0.0048478213138878345,
0.06631819903850555,
0.03559182211756706,
-0.01648259349167347,
-0.008823035284876823,
0.01614765264093876,
-0.039311423897743225,
0.023058000952005386,
0.016306309029459953,
-0.03330012783408165,
-0.01856274902820587,
0.02839941903948784,
-0.0021738072391599417,
-0.050593625754117966,
0.024133335798978806,
-0.03310621157288551,
0.02601958066225052,
-0.03502771258354187,
-0.0006423363229259849,
-0.032894670963287354,
-0.04431790113449097,
0.04237877205014229,
-0.029897836968302727,
-0.03284178674221039,
0.046257030218839645,
0.0023666182532906532,
-0.0000212092181754997,
-0.014226152561604977,
0.050487857311964035,
-0.03481617197394371,
0.01670294813811779,
-0.0016570735024288297,
0.012657221406698227,
-0.02050187811255455,
0.02601958066225052,
0.027465112507343292,
-0.01702907495200634,
0.0012681459775194526,
0.01995539665222168,
0.0174433421343565,
0.021171757951378822,
0.017222987487912178,
-0.0008682007319293916,
0.00398623151704669,
0.009448844939470291,
-0.0051254695281386375,
-0.005768907722085714,
0.018368836492300034,
-0.03592676296830177,
0.044846754521131516,
0.046785883605480194,
0.05820911377668381,
0.0015171477571129799,
-0.014190895482897758,
0.009034575894474983,
0.08003312349319458,
-0.017117217183113098,
-0.029263213276863098,
-0.04438841715455055,
-0.04118004068732262,
0.015301487408578396,
-0.017311129719018936,
0.047773078083992004,
-0.021171757951378822,
-0.03783063590526581,
0.017425714060664177,
0.027253570035099983,
0.007465645205229521,
-0.01712603121995926,
0.020431363955140114,
-0.0394524522125721,
-0.01625342294573784,
0.02450353465974331,
-0.022176578640937805,
-0.021295158192515373,
0.08694347739219666,
-0.06466112285852432,
0.019391285255551338,
0.06145274639129639,
-0.06991440057754517,
-0.051157739013433456,
0.012868762016296387,
0.003737229621037841,
0.01768132671713829,
0.04551663622260094,
0.059725161641836166,
-0.008170782588422298,
-0.012234138324856758,
0.03458700329065323,
-0.02376313880085945,
0.005658729933202267,
-0.035627081990242004,
-0.02917507104575634,
0.11451435834169388,
-0.011246945708990097,
-0.05133402347564697,
-0.0092108603566885,
-0.050946194678545,
0.02885775826871395,
0.041708894073963165,
-0.023481084033846855,
0.017593184486031532,
0.0966038629412651,
0.023392941802740097,
-0.048866041004657745,
0.029527639970183372,
0.04921860992908478,
0.03924091160297394,
-0.030074121430516243,
0.038394745439291,
-0.0024128928780555725,
-0.020343221724033356,
-0.024327250197529793,
-0.025191042572259903,
0.06582459807395935,
0.05489496886730194,
0.009343073703348637,
0.028152620419859886,
-0.011855127289891243,
0.07721257209777832,
-0.02235286310315132,
0.037054985761642456,
0.031942736357450485,
-0.017513856291770935,
-0.02875198796391487,
-0.04675062745809555,
-0.014913661405444145,
0.07192403823137283,
-0.007941612973809242,
-0.008646750822663307,
-0.010233310051262379,
-0.026090092957019806,
-0.013371173292398453,
-0.06286302208900452,
-0.020801560953259468,
-0.06910349428653717,
0.04519932344555855,
0.007849063724279404,
0.032700758427381516,
-0.00872167106717825,
0.047773078083992004,
0.02201792411506176,
-0.05165133252739906,
0.0231108870357275,
0.0624399408698082,
0.056234728544950485,
-0.06370918452739716,
-0.03136099874973297,
0.012066667899489403,
-0.021824011579155922,
0.02917507104575634,
-0.011387973092496395,
-0.01790168322622776,
-0.029527639970183372,
-0.06963234394788742,
-0.04065118730068207,
-0.04629228636622429,
0.015706941485404968,
-0.00016650614270474762,
-0.02256440557539463,
-0.008333845995366573,
0.0054560028947889805,
0.08905888348817825,
-0.012357537634670734,
-0.00009241159568773583,
-0.0063550532795488834,
-0.04872501268982887,
0.03315909951925278,
0.019109230488538742,
-0.022282350808382034,
-0.029034042730927467,
0.00862030778080225,
-0.016191722825169563,
-0.024256736040115356,
-0.03596201911568642,
0.031836964190006256,
-0.009748527780175209,
-0.045622408390045166,
-0.030955543741583824,
-0.037266526371240616,
-0.01512520294636488,
-0.05567061901092529,
0.06081812456250191,
0.038641542196273804,
0.0150811318308115,
0.040615931153297424,
-0.007227661088109016,
-0.07982158660888672,
0.01845697872340679,
-0.021982666105031967,
-0.013441686518490314,
0.003049720311537385,
-0.024239107966423035,
0.040827471762895584,
0.01810440979897976,
-0.016112396493554115,
0.07812925428152084,
0.044423673301935196,
-0.06321559101343155,
-0.020202193409204483,
0.05496548116207123,
-0.029157442972064018,
0.024045193567872047,
0.04459995776414871,
0.02471507526934147,
-0.028804874047636986,
-0.08652038872241974,
-0.035732850432395935,
0.022617289796471596,
-0.036843441426754,
0.04780833423137665,
0.0010819456074386835,
-0.0008659972227178514,
-0.012542636133730412,
-0.019356029108166695,
0.011238131672143936,
-0.0035168740432709455,
-0.05443662777543068,
-0.059584133327007294,
0.031396254897117615,
-0.03113182820379734,
-0.031731195747852325,
0.004360835533589125,
-0.047032684087753296,
0.04188517853617668,
-0.0090081337839365,
0.041603121906518936,
0.028822502121329308,
0.020114051178097725,
-0.05507125332951546,
-0.026266377419233322,
0.04801987484097481,
-0.007941612973809242,
0.036385104060173035,
-0.015380815602838993,
0.04022810235619545,
-0.045939717441797256,
0.00846165232360363,
-0.000529955024830997,
0.02593143843114376,
0.08391138166189194,
0.015336744487285614,
-0.009951255284249783,
-0.046468570828437805,
0.0410037562251091,
-0.048583984375,
0.0012505175545811653,
0.04731473699212074,
0.03261261805891991,
0.020766304805874825,
-0.021841639652848244,
0.048654500395059586,
0.055353306233882904,
0.009078647010028362,
0.014446508139371872,
-0.008897955529391766,
0.024891359731554985,
0.022335235029459,
-0.024750331416726112,
-0.03895885497331619,
-0.008981690742075443,
-0.06071235239505768,
-0.04791410267353058,
-0.005279718432575464,
-0.05782128870487213,
-0.04851347208023071,
-0.01101777609437704,
-0.003080570138990879,
-0.03525688499212265,
0.0804562047123909,
-0.008426395244896412,
0.0026420627254992723,
-0.03871205821633339,
-0.05366097763180733,
-0.027570882812142372,
-0.02647791989147663,
0.02843467704951763,
0.010012954473495483,
0.012569079175591469,
0.020731046795845032,
-0.009228489361703396,
0.006231653969734907,
-0.03751332312822342,
-0.01419970951974392,
-0.014173267409205437,
-0.025085272267460823,
-0.0496416911482811,
-0.06730539351701736,
0.013362358324229717,
0.01458753552287817,
0.037019725888967514,
-0.0355389378964901,
0.08341778814792633,
0.026971515268087387,
0.009290188550949097,
-0.0070381551049649715,
-0.005279718432575464,
0.01822780817747116,
-0.003924531862139702,
-0.009616315364837646,
-0.007549379952251911,
0.04812564700841904,
0.01209311094135046,
0.01268366351723671,
0.017954567447304726,
-0.006641515530645847,
-0.04999426007270813,
-0.02275831811130047,
-0.049394894391298294,
0.009757342748343945,
0.014666863717138767,
0.02365736849606037,
0.008091454394161701,
-0.024908987805247307,
-0.0013662042329087853,
-0.01768132671713829,
0.011335087940096855,
-0.010779792442917824,
-0.010268567129969597,
-0.04671537131071091,
0.07559075951576233,
-0.005835014395415783,
0.03397000581026077,
0.010735721327364445,
-0.013194888830184937,
-0.04544612392783165,
-0.017381643876433372,
0.013750184327363968,
-0.005874678026884794,
-0.028364162892103195,
-0.03592676296830177,
-0.045587148517370224,
-0.020025908946990967,
0.002950560301542282,
0.011396787129342556,
-0.04283711314201355,
0.04868975654244423,
-0.008602679707109928,
-0.04393007606267929,
0.003239226061850786,
-0.065048947930336,
0.031078942120075226,
-0.032912299036979675,
0.046574342995882034,
-0.019497055560350418,
0.03159016743302345,
-0.03881782665848732,
-0.04065118730068207,
-0.038394745439291,
-0.018069151788949966,
0.04047490283846855,
-0.01898583211004734,
-0.014190895482897758,
0.029139814898371696,
-0.04118004068732262,
0.01301860436797142,
-0.022176578640937805,
-0.03499245643615723,
-0.04304865375161171,
0.009871927089989185,
0.04340122267603874,
-0.08652038872241974,
0.013318287208676338,
-0.031942736357450485,
0.05052311345934868,
0.029862580820918083,
-0.002549513475969434,
0.03938193991780281,
0.026072464883327484,
-0.006421159952878952,
0.04590446129441261,
-0.12572604417800903,
-0.012542636133730412,
-0.0381479486823082,
-0.026319263502955437,
-0.036808185279369354,
0.007478866260498762,
0.05803282931447029,
-0.039840277284383774,
0.0631803348660469,
0.07862284779548645,
-0.0005588766653090715,
0.04184991866350174,
-0.038994111120700836,
-0.021929781883955002,
0.019215000793337822,
0.010488922707736492,
-0.07601384073495865,
-0.008549794554710388,
0.05344943329691887,
-0.056128956377506256,
0.06459061056375504,
0.026301635429263115,
-0.012948090210556984,
-0.011414416134357452,
0.03892359882593155,
-0.05637575685977936,
-0.0030717558693140745,
-0.07432150840759277,
-0.04685639962553978,
-0.01788405328989029,
-0.018069151788949966,
-0.004764086566865444,
-0.001103981165215373,
-0.025684639811515808,
-0.013529828749597073,
-0.004301339853554964,
0.023040372878313065,
0.02081918902695179,
0.024362506344914436,
0.022053180262446404,
0.0018102206522598863,
0.06039503961801529,
0.03532739728689194,
0.02439776249229908,
0.024908987805247307,
-0.025120528414845467,
-0.06272199749946594,
-0.01845697872340679,
0.01452583633363247,
0.006412345450371504,
-0.03744281083345413,
-0.015654055401682854,
0.008316216990351677,
0.017549114301800728,
0.03201324865221977,
-0.05348469316959381,
0.018703777343034744,
-0.07932798564434052,
0.019356029108166695,
-0.04315442591905594,
0.02700677327811718,
0.005755686201155186,
0.040087077766656876,
0.0029725958593189716,
0.11684130877256393,
-0.008095861412584782,
-0.038782570511102676,
-0.059689901769161224,
0.01209311094135046,
0.017866425216197968,
-0.007500901818275452,
0.07375740259885788,
-0.030197519809007645,
-0.01702026091516018,
0.03047957643866539,
0.0023886538110673428,
0.09061019122600555,
-0.05288532376289368,
0.018157294020056725,
-0.037266526371240616,
0.030937915667891502,
-0.011828684248030186,
0.017099589109420776,
0.0042021796107292175,
-0.020114051178097725,
0.003040906274691224,
-0.03740755468606949,
-0.00812671147286892,
-0.01951468549668789,
0.005746872164309025,
-0.03811269253492355,
0.024450648576021194,
0.017813540995121002,
-0.038994111120700836,
-0.08158443123102188,
-0.036843441426754,
-0.025543611496686935,
-0.014984175562858582,
-0.01993776671588421,
-0.07474458962678909,
0.004303543362766504,
0.01458753552287817,
0.020995473489165306,
0.017064331099390984,
-0.01107066124677658,
0.01464923471212387,
-0.0433659665286541,
-0.004186755046248436,
0.00040022071334533393,
0.007946019992232323,
-0.004369650036096573,
-0.0830652192234993,
-0.01596255414187908,
-0.009951255284249783,
0.07975106686353683,
-0.001746317488141358,
-0.04132106900215149,
0.0065401517786085606,
-0.05789180099964142,
-0.03238344565033913,
-0.0010527485283091664,
-0.021224644035100937,
0.03178407996892929,
-0.015795083716511726,
0.016623619943857193,
-0.03134337067604065,
-0.053519949316978455,
-0.06159377470612526,
-0.028787245973944664,
0.009757342748343945,
0.025667011737823486,
-0.06377970427274704,
-0.004345410969108343,
-0.024679819121956825,
0.02386890910565853,
0.07167724519968033,
-0.03624407574534416,
-0.01625342294573784,
0.028046850115060806,
0.03037380427122116,
0.0172406155616045,
0.016861604526638985,
0.011379159055650234,
-0.01798100955784321,
-0.014005796983838081,
-0.03079688735306263,
0.02591380849480629,
-0.057433463633060455,
-0.02787056565284729,
-0.034657515585422516,
0.002880046609789133,
0.024468276649713516,
-0.022599661722779274,
-0.014992989599704742,
-0.0011678842129185796,
-0.029104556888341904,
0.016420893371105194,
0.0047773076221346855,
-0.020572392269968987,
0.048619240522384644,
0.04237877205014229,
-0.01756674237549305,
0.04248454421758652,
0.06667076796293259,
-0.012392794713377953,
0.026601318269968033,
0.05313212424516678,
0.01469330582767725,
0.0013595935888588428,
-0.036032535135746,
0.056023187935352325,
0.06395598500967026,
0.03125522658228874,
0.024344878271222115,
-0.001675803679972887,
-0.011405602097511292,
0.07474458962678909,
0.024203849956393242,
0.013803069479763508,
-0.04149734973907471,
-0.03555656597018242,
0.08264213800430298,
0.006606258451938629,
-0.055811647325754166,
0.05690461024641991,
0.03857102990150452,
-0.019549941644072533,
-0.010832677595317364,
0.051228251308202744,
0.016870418563485146,
-0.016341565176844597,
0.03624407574534416,
0.028134992346167564,
0.013820698484778404,
0.02441539242863655,
0.02873435989022255,
0.00905220489948988,
-0.017866425216197968,
-0.004755272064357996,
-0.03885308653116226,
0.035732850432395935,
-0.030320920050144196,
-0.014825519174337387,
0.023992309346795082,
0.02755325473845005
]
|
40,680 | pyglove.core.symbolic.dict | sym_items | Iterates the (key, value) pairs of symbolic attributes. | def sym_items(self) -> Iterator[
Tuple[str, Any]]:
"""Iterates the (key, value) pairs of symbolic attributes."""
for k in self.sym_keys():
yield k, self._sym_getattr(k)
| (self) -> Iterator[Tuple[str, Any]] | [
0.07577697187662125,
-0.03474855422973633,
-0.0010057587642222643,
-0.03061431460082531,
0.018682582303881645,
-0.040435317903757095,
-0.00656332541257143,
-0.002128174528479576,
0.08708071708679199,
0.03211450204253197,
-0.016685238108038902,
0.02665451355278492,
0.05355324596166611,
0.05780959501862526,
-0.035010214895009995,
0.0240902379155159,
-0.01803715154528618,
0.028381476178765297,
-0.061891503632068634,
0.027910485863685608,
-0.023915797472000122,
0.0675782635807991,
-0.0233052559196949,
-0.05871668457984924,
0.019624561071395874,
0.00827284250408411,
0.03214938938617706,
0.01896168664097786,
0.06475232541561127,
0.0020224200561642647,
-0.03549864888191223,
-0.00920173805207014,
0.0264277420938015,
-0.014295401982963085,
0.05135529488325119,
-0.03396357223391533,
-0.026549849659204483,
0.011870678514242172,
0.012463776394724846,
0.005695483647286892,
0.08282436430454254,
-0.0032467744313180447,
0.019136127084493637,
-0.012306779623031616,
0.004731699358671904,
-0.02028743363916874,
-0.014382622204720974,
-0.02082820050418377,
0.03607430309057236,
-0.07968443632125854,
0.025520650669932365,
-0.014565784484148026,
0.039353784173727036,
-0.0033448971807956696,
0.024822888895869255,
0.004376276861876249,
-0.03269015625119209,
-0.004005590919405222,
-0.01990366540849209,
0.03743493929505348,
0.007265448570251465,
-0.03316114470362663,
0.012280614115297794,
-0.04919223114848137,
0.011521797627210617,
-0.06028664857149124,
-0.05104130133986473,
-0.018124371767044067,
-0.021630626171827316,
-0.02129918895661831,
0.002873907797038555,
-0.0357254222035408,
-0.03610919043421745,
0.00021982233738526702,
-0.044552113860845566,
-0.03117252327501774,
-0.00452673202380538,
-0.0037744571454823017,
0.018281368538737297,
-0.09105796366930008,
-0.045494090765714645,
0.024369342252612114,
-0.08387100696563721,
-0.01871746964752674,
-0.07036931067705154,
0.05107618868350983,
0.01583920046687126,
-0.01577814668416977,
-0.028084926307201385,
0.0932907983660698,
-0.04162151366472244,
0.020566539838910103,
0.00020237827266100794,
0.07542809098958969,
-0.03129463270306587,
-0.0178627111017704,
-0.0042846957221627235,
-0.043645020574331284,
0.02710806019604206,
0.010693204589188099,
0.038028035312891006,
-0.03326581045985222,
-0.015786869451403618,
0.049296896904706955,
-0.017696991562843323,
-0.01014371681958437,
-0.0357603095471859,
-0.07807958126068115,
0.04326125234365463,
-0.011390967294573784,
-0.08184749633073807,
0.07166017591953278,
0.05348346754908562,
0.017217280343174934,
-0.018386032432317734,
-0.012550996616482735,
-0.00017948295862879604,
0.0014413149328902364,
0.022659825161099434,
-0.018054595217108727,
-0.03767915442585945,
0.04047020524740219,
0.022555161267518997,
0.04832002893090248,
0.03378913179039955,
0.03037009760737419,
0.04001665860414505,
-0.001178563921712339,
-0.03914445638656616,
0.054355669766664505,
-0.0043893600814044476,
-0.016536962240934372,
0.0318528413772583,
0.06674095243215561,
-0.01833369955420494,
-0.02276449091732502,
0.09622140228748322,
0.004679367411881685,
0.008948799222707748,
0.024526339024305344,
0.03736516460776329,
0.010684482753276825,
-0.05254149064421654,
0.031730733811855316,
-0.05526276305317879,
-0.016763735562562943,
-0.03534165397286415,
0.02454378269612789,
0.0025359292048960924,
-0.05665828660130501,
-0.01312665082514286,
0.03869090974330902,
0.036388296633958817,
0.07354412972927094,
-0.021229412406682968,
0.03239360824227333,
-0.059240005910396576,
0.02370646968483925,
-0.030753865838050842,
0.0055559310130774975,
-0.05868179723620415,
-0.014452398754656315,
-0.010457710362970829,
-0.03385890647768974,
0.01925823464989662,
0.024596115574240685,
0.0050238873809576035,
-0.041935503482818604,
0.04995977133512497,
-0.02975955605506897,
-0.006846791133284569,
-0.08101018518209457,
-0.027945373207330704,
-0.023968130350112915,
-0.0008847406134009361,
-0.002337503246963024,
0.01204511895775795,
0.026689402759075165,
0.060007546097040176,
-0.006585130468010902,
0.009585507214069366,
-0.0590655654668808,
-0.08477810025215149,
-0.028608247637748718,
0.006981982383877039,
0.024665892124176025,
0.003676334396004677,
0.0186476930975914,
0.06122862920165062,
-0.016755012795329094,
0.004688089247792959,
0.002821575617417693,
-0.01391163282096386,
0.04053997993469238,
-0.004971555434167385,
-0.025538094341754913,
-0.014286680147051811,
0.022101616486907005,
-0.03253316134214401,
0.06115885078907013,
-0.009105795994400978,
-0.03813270106911659,
-0.050692420452833176,
0.08338257670402527,
-0.003504074178636074,
-0.027073170989751816,
0.010169883258640766,
-0.07249748706817627,
-0.011373522691428661,
0.01473150309175253,
-0.0055428482592105865,
0.007688466459512711,
0.036632511764764786,
-0.005385851487517357,
-0.015429265797138214,
0.021805066615343094,
-0.009672727435827255,
-0.004879973828792572,
-0.000017955109797185287,
-0.016737569123506546,
0.025381097570061684,
-0.021020084619522095,
-0.015324600972235203,
-0.005486154928803444,
0.037644267082214355,
-0.061717063188552856,
0.029567670077085495,
0.02982933260500431,
-0.07438144832849503,
0.009411066770553589,
0.021805066615343094,
0.0083469795063138,
0.007666661404073238,
0.0058742850087583065,
0.03192261978983879,
0.0021783262491226196,
0.01235038973391056,
0.0068337079137563705,
-0.018839577212929726,
-0.004367555025964975,
-0.0310678593814373,
0.046505846083164215,
-0.029201345518231392,
0.02618352510035038,
-0.041063301265239716,
-0.011007198132574558,
0.04001665860414505,
0.04845958203077316,
-0.020549094304442406,
-0.0275790486484766,
0.02696850709617138,
0.0065109930001199245,
0.03848158195614815,
0.02431701123714447,
0.026671957224607468,
-0.04950622469186783,
-0.04643607139587402,
0.0020006150007247925,
0.03239360824227333,
-0.024194901809096336,
0.027317387983202934,
0.046959392726421356,
-0.031207412481307983,
0.055506978183984756,
0.08219637721776962,
0.05662339925765991,
0.0283640306442976,
0.013693582266569138,
-0.0512855164706707,
-0.010353045538067818,
0.08282436430454254,
-0.010396655648946762,
-0.06415922939777374,
0.04476144164800644,
-0.013963964767754078,
0.04964577779173851,
0.042458824813365936,
0.02866058051586151,
-0.050552867352962494,
-0.04130752012133598,
-0.00574781559407711,
0.0036065580788999796,
-0.0365278497338295,
-0.011303747072815895,
-0.008726388216018677,
0.007470415905117989,
-0.028224479407072067,
-0.0038573164492845535,
0.031817954033613205,
-0.003842052770778537,
0.08331280201673508,
0.03542887419462204,
0.009184294380247593,
-0.0287478007376194,
0.09719827026128769,
0.016894565895199776,
-0.031905174255371094,
0.009882056154310703,
0.04399390146136284,
0.03054453805088997,
0.03813270106911659,
0.027631381526589394,
0.018455808982253075,
0.03816758841276169,
-0.005259382072836161,
0.032602936029434204,
0.07242771238088608,
0.05526276305317879,
-0.04863402247428894,
0.035795196890830994,
0.024753112345933914,
0.01762721687555313,
0.010169883258640766,
0.038411807268857956,
-0.05463477596640587,
-0.06698516756296158,
-0.050692420452833176,
0.0015950406668707728,
0.015516486018896103,
0.05446033552289009,
-0.017444053664803505,
-0.010440265759825706,
-0.021177081391215324,
-0.0267940666526556,
-0.02998632751405239,
0.04863402247428894,
-0.002200131304562092,
-0.02229350060224533,
0.03448689356446266,
0.0018021888099610806,
0.021543405950069427,
-0.004962833132594824,
-0.04127263277769089,
0.05044820159673691,
-0.010963588021695614,
0.08303369581699371,
-0.001622296986170113,
0.03241105005145073,
0.002237199805676937,
-0.0768933892250061,
-0.00561262434348464,
-0.02105497196316719,
0.02222372405230999,
-0.02400301769375801,
-0.06429877877235413,
-0.015280990861356258,
-0.02586953155696392,
-0.02004321850836277,
0.02696850709617138,
0.024439118802547455,
0.00205948855727911,
0.03487066179513931,
0.0038049842696636915,
0.02541598677635193,
0.019397787749767303,
0.020025772973895073,
-0.06551986187696457,
-0.0023854742757976055,
-0.028067482635378838,
0.041935503482818604,
0.057146720588207245,
0.020985197275877,
-0.01464428286999464,
-0.03131207451224327,
0.012812657281756401,
-0.0870109423995018,
-0.020967751741409302,
0.023601803928613663,
0.04748271405696869,
-0.018124371767044067,
-0.030980639159679413,
0.010283269919455051,
-0.015298435464501381,
-0.03781870752573013,
0.0021314453333616257,
0.014365178532898426,
0.06004243344068527,
0.009951832704246044,
-0.0018338061636313796,
-0.01126013696193695,
0.023566916584968567,
-0.05533253774046898,
0.06625251471996307,
0.04538942873477936,
0.020147882401943207,
-0.03521954268217087,
0.041691288352012634,
-0.010658316314220428,
0.0019068531692028046,
0.049924880266189575,
-0.05864690989255905,
-0.043540358543395996,
-0.013135372661054134,
0.03876068815588951,
0.03893512859940529,
-0.0652407631278038,
0.03677206486463547,
-0.06046108901500702,
-0.0870109423995018,
-0.024578671902418137,
-0.010134994983673096,
-0.03914445638656616,
-0.04629651829600334,
-0.03054453805088997,
-0.007117174100130796,
-0.05453011021018028,
-0.020531650632619858,
0.01995599828660488,
0.011696238070726395,
-0.00962911732494831,
0.0026296910364180803,
0.013466809876263142,
-0.006981982383877039,
-0.05794914439320564,
0.06178683787584305,
-0.015429265797138214,
0.017382999882102013,
0.026933619752526283,
0.044552113860845566,
0.04469166696071625,
0.026549849659204483,
-0.08135906606912613,
-0.030474761500954628,
-0.008726388216018677,
-0.030893418937921524,
-0.00011604384053498507,
0.020095549523830414,
0.02593930810689926,
0.007282892242074013,
0.016842233017086983,
-0.015891533344984055,
0.01654568500816822,
0.025904418900609016,
-0.009882056154310703,
0.01149563118815422,
-0.02082820050418377,
-0.023409919813275337,
-0.050692420452833176,
-0.004243265837430954,
-0.02011299319565296,
-0.022485384717583656,
0.014277958311140537,
0.0013355603441596031,
-0.026828953996300697,
0.015368211083114147,
0.010954865254461765,
-0.0003518792800605297,
0.059414446353912354,
0.09426766633987427,
0.01138224545866251,
-0.011111862026154995,
-0.014434954151511192,
0.043540358543395996,
-0.059553999453783035,
0.008957521989941597,
0.04825025424361229,
0.009044742211699486,
-0.06457788497209549,
-0.01716494932770729,
0.01072809286415577,
0.032602936029434204,
-0.015342045575380325,
-0.0025533733423799276,
-0.05006443336606026,
0.006532798055559397,
-0.008364424109458923,
-0.0022502830252051353,
0.04015621170401573,
0.016022363677620888,
0.009829724207520485,
-0.00231351749971509,
0.01211489550769329,
-0.0004211103660054505,
-0.04095863923430443,
-0.009969276376068592,
-0.027613937854766846,
-0.027875598520040512,
0.02471822313964367,
-0.0768933892250061,
-0.0893833339214325,
0.0048581687733531,
-0.040295764803886414,
0.0012974014971405268,
-0.025520650669932365,
0.038411807268857956,
0.022433053702116013,
0.01645846478641033,
-0.031277187168598175,
-0.05599541217088699,
-0.003331814194098115,
0.013039429672062397,
-0.005207050126045942,
-0.01289987750351429,
0.05330902710556984,
0.05058775469660759,
0.021630626171827316,
-0.0008901918772608042,
0.004463497083634138,
-0.018769802525639534,
-0.0038725798949599266,
-0.015961309894919395,
-0.03830714151263237,
0.03614407777786255,
0.03232382982969284,
0.00012640125351026654,
0.05760026350617409,
-0.03347513824701309,
-0.06981110572814941,
-0.0008051521144807339,
-0.05016909912228584,
0.03691161796450615,
-0.0489480160176754,
0.028887351974844933,
-0.029585115611553192,
0.01718239299952984,
-0.07040420174598694,
-0.02627074532210827,
-0.030038660392165184,
-0.00675957091152668,
0.01927568018436432,
0.017426609992980957,
-0.07431166619062424,
-0.04008643701672554,
0.011233970522880554,
-0.04235416278243065,
-0.011879400350153446,
-0.03232382982969284,
-0.0275790486484766,
0.008639167994260788,
-0.018769802525639534,
0.04769204184412956,
0.014949553646147251,
-0.029899107292294502,
-0.0025751783978194,
-0.036946505308151245,
0.011207804083824158,
0.09029041975736618,
0.01483616791665554,
-0.024753112345933914,
0.035550981760025024,
0.06558964401483536,
0.043854352086782455,
-0.015481597743928432,
0.00394235597923398,
0.043784573674201965,
-0.018630249425768852,
-0.056832727044820786,
-0.06244971230626106,
-0.022415608167648315,
-0.008831052109599113,
-0.047203607857227325,
-0.00479711452499032,
-0.042075056582689285,
-0.027317387983202934,
-0.012847545556724072,
-0.01549904141575098,
0.06161239743232727,
-0.023915797472000122,
-0.05348346754908562,
0.024753112345933914,
0.033614691346883774,
-0.012751603499054909,
-0.040051545947790146,
-0.05173906311392784,
0.02571253478527069,
0.011905566789209843,
0.03589986264705658,
0.010579818859696388,
0.0017433151369914412,
0.05243682488799095,
-0.007282892242074013,
0.016118304803967476,
0.06946222484111786,
0.018926797434687614,
0.035795196890830994,
-0.03293437510728836,
-0.03281226381659508,
-0.006114140618592501,
-0.02353202924132347,
-0.06091463565826416,
0.036562737077474594,
0.07556764036417007,
-0.0044874828308820724,
0.03436478599905968,
0.004496204666793346,
-0.020880531519651413,
-0.00791960023343563,
0.030247988179326057,
-0.034295011311769485,
-0.0016680876724421978,
-0.03617896884679794,
-0.07486987859010696,
-0.048913124948740005,
-0.03760937973856926,
-0.01997344195842743,
-0.06192639097571373,
-0.025346210226416588,
0.025363653898239136,
-0.07738181948661804,
0.002387654734775424,
0.02035721018910408,
0.027387164533138275,
0.04319147765636444,
0.028887351974844933,
-0.012210837565362453,
0.00047834866563789546,
0.06845046579837799,
-0.01165262795984745,
-0.008150734007358551,
0.012568440288305283,
-0.05868179723620415,
-0.006397606804966927,
0.025136880576610565,
-0.03380657732486725,
0.001429322175681591,
0.010789147578179836,
0.0011404049582779408,
0.058786459267139435,
-0.0048058368265628815,
-0.003506254870444536,
-0.061193741858005524,
-0.061717063188552856,
-0.05145995691418648,
0.054669663310050964,
-0.011931732296943665,
0.011643906123936176,
0.03138185292482376,
0.033370476216077805,
0.00994311086833477,
-0.04905267804861069,
-0.01842091977596283,
-0.011390967294573784,
0.037644267082214355,
-0.020392099395394325,
-0.0060836137272417545,
0.017112616449594498,
0.0013966145925223827,
0.01250738650560379,
-0.04772692918777466,
0.06597340852022171,
-0.004319583997130394,
0.04420323297381401,
-0.031277187168598175,
0.05351835489273071,
-0.002143438206985593,
0.04901779070496559,
-0.012533552944660187,
-0.021857399493455887,
0.02285171113908291,
-0.00925406999886036,
0.00032762112095952034,
-0.0015209034318104386,
-0.02314825914800167,
-0.026933619752526283,
0.03542887419462204,
-0.020008329302072525,
-0.056762952357530594,
-0.06775270402431488,
-0.006415050942450762,
-0.015446709468960762,
-0.01158285140991211,
-0.016022363677620888,
-0.023880910128355026,
-0.026532405987381935,
0.005826313979923725,
-0.007858546450734138,
-0.032759930938482285,
0.0365278497338295,
0.015237380750477314,
-0.0267940666526556,
0.015961309894919395,
0.05610007792711258,
0.028329143300652504,
-0.018159259110689163,
-0.03743493929505348,
0.03684183955192566,
0.013963964767754078,
0.02571253478527069,
0.06726427376270294,
-0.009498286992311478,
-0.020549094304442406,
-0.04490099474787712,
0.017836544662714005,
0.0022699073888361454,
-0.03403334692120552,
-0.05760026350617409,
0.01348425354808569,
0.025974195450544357,
-0.03480088710784912,
-0.0784982442855835,
-0.0264102965593338,
-0.03349258378148079,
0.05446033552289009,
-0.019938552752137184,
-0.0388304628431797,
-0.01332725677639246,
0.04573830962181091,
-0.004958472214639187,
0.08428966999053955,
0.007056119851768017,
-0.023828577250242233,
-0.002278629457578063,
0.05965866521000862,
0.018473252654075623,
0.04887823760509491,
0.018455808982253075,
0.005268104374408722,
-0.0075445533730089664,
0.003676334396004677,
0.042389050126075745,
-0.030875975266098976,
-0.006419411860406399,
-0.07626540213823318,
-0.03504510223865509,
0.05561164394021034,
-0.03145162761211395,
-0.0027452579233795404,
-0.01979900151491165,
0.006746487691998482,
0.038725800812244415,
0.025381097570061684,
0.00757944118231535,
0.010667039081454277,
0.08533631265163422,
-0.04186572879552841,
0.04217972233891487,
-0.06168217211961746,
0.06429877877235413,
-0.02417745813727379,
0.03949333727359772,
0.010230937041342258,
0.004450414329767227,
-0.05648384615778923,
0.06457788497209549,
-0.04235416278243065,
0.03317859023809433,
-0.021874843165278435,
0.011452021077275276,
-0.012882433831691742,
0.08666206151247025,
-0.012516108341515064,
0.08101018518209457,
-0.012960932217538357,
0.027177834883332253,
-0.011713681742548943,
0.0019275678787380457,
-0.03255060315132141,
-0.0016811706591397524,
0.015394377522170544,
-0.039737552404403687,
0.03952822461724281,
0.04057486727833748,
0.008176900446414948,
0.0031224857084453106,
0.04319147765636444,
0.011356079019606113,
0.032672710716724396,
-0.047517601400613785,
0.003510615788400173,
-0.01770571433007717,
-0.025154326111078262,
-0.00656332541257143,
0.014635561034083366,
0.0551929846405983,
-0.03813270106911659,
-0.024456562474370003,
0.010161161422729492,
-0.0024269039276987314
]
|
40,681 | pyglove.core.symbolic.dict | sym_jsonify | Converts current object to a dict with plain Python objects. | def sym_jsonify(
self,
hide_default_values: bool = False,
exclude_keys: Optional[Sequence[str]] = None,
use_inferred: bool = False,
**kwargs) -> object_utils.JSONValueType:
"""Converts current object to a dict with plain Python objects."""
exclude_keys = set(exclude_keys or [])
if self._value_spec and self._value_spec.schema:
json_repr = dict()
matched_keys, _ = self._value_spec.schema.resolve(self.keys()) # pytype: disable=attribute-error
for key_spec, keys in matched_keys.items():
# NOTE(daiyip): The key values of frozen field can safely be excluded
# since they will be the same for a class.
field = self._value_spec.schema[key_spec]
if not field.frozen:
for key in keys:
if key not in exclude_keys:
value = self.sym_getattr(key)
if use_inferred and isinstance(value, base.Inferential):
value = self.sym_inferred(key, default=value)
if pg_typing.MISSING_VALUE == value:
continue
if hide_default_values and base.eq(value, field.default_value):
continue
json_repr[key] = base.to_json(
value, hide_default_values=hide_default_values,
use_inferred=use_inferred,
**kwargs)
return json_repr
else:
return {
k: base.to_json(
self.sym_inferred(k, default=v) if (
use_inferred and isinstance(v, base.Inferential)) else v,
hide_default_values=hide_default_values,
use_inferred=use_inferred,
**kwargs)
for k, v in self.sym_items()
if k not in exclude_keys
}
| (self, hide_default_values: bool = False, exclude_keys: Optional[Sequence[str]] = None, use_inferred: bool = False, **kwargs) -> Union[int, float, bool, str, List[Any], Dict[str, Any]] | [
0.06261196732521057,
-0.10864582657814026,
0.033137716352939606,
-0.026476869359612465,
-0.016559606418013573,
0.0012824444565922022,
0.0139970313757658,
-0.024645136669278145,
-0.007202041335403919,
-0.033137716352939606,
0.03482143208384514,
0.023701515048742294,
-0.0006192506989464164,
-0.01790102757513523,
-0.023238956928253174,
0.016115549951791763,
0.01147145964205265,
0.036579154431819916,
0.06005864217877388,
0.01879839226603508,
0.007891254499554634,
-0.02064862661063671,
-0.0032494759652763605,
0.03213858976960182,
-0.014061789028346539,
-0.02220282517373562,
0.014154301024973392,
0.01946447603404522,
-0.03097294084727764,
0.02203630469739437,
0.011295687407255173,
-0.007673851680010557,
0.04077918827533722,
0.04077918827533722,
0.0390399694442749,
-0.05854145064949989,
-0.03263815492391586,
0.10139290243387222,
-0.0439985990524292,
-0.04111223295331001,
0.02175876870751381,
0.002523258561268449,
-0.03391481563448906,
-0.03067690320312977,
-0.0208891574293375,
0.019612494856119156,
-0.01630057394504547,
0.04077918827533722,
0.06605340540409088,
-0.01607854664325714,
0.05646918714046478,
-0.05184359848499298,
-0.011406701058149338,
0.047773078083992004,
-0.015606735832989216,
-0.049401286989450455,
0.020482106134295464,
0.025126196444034576,
-0.04222237318754196,
0.0007678476977162063,
-0.05569208785891533,
0.020759642124176025,
-0.02888217568397522,
-0.0025163202080875635,
-0.018187813460826874,
-0.0058883740566670895,
-0.05173258110880852,
-0.0176790002733469,
-0.019890030845999718,
0.014875892549753189,
-0.019168438389897346,
-0.06372211128473282,
0.010657356120646,
0.017049919813871384,
0.04555279761552811,
-0.029677776619791985,
0.012304065749049187,
-0.04858718439936638,
-0.0072760507464408875,
-0.07012392580509186,
0.01859486661851406,
-0.026069818064570427,
-0.08044824004173279,
-0.0249966811388731,
-0.016208061948418617,
0.07212217897176743,
0.044849708676338196,
0.012711117044091225,
0.03454389423131943,
-0.013377202674746513,
-0.04899423569440842,
0.013358700089156628,
0.008682229556143284,
0.05658020079135895,
-0.03439587727189064,
-0.028567634522914886,
0.005828241817653179,
-0.0868130475282669,
0.04514574632048607,
0.008187292143702507,
0.046440910547971725,
-0.028752658516168594,
-0.03741176053881645,
-0.011193924583494663,
-0.0027637891471385956,
-0.06468423455953598,
0.007993017323315144,
-0.010490834712982178,
-0.010472332127392292,
-0.04266642779111862,
-0.037448763847351074,
0.03006632626056671,
-0.010666606947779655,
-0.031546514481306076,
0.028993189334869385,
0.03391481563448906,
-0.0352654866874218,
0.017114678397774696,
0.05206562578678131,
-0.0075767142698168755,
-0.06986489146947861,
0.03731925040483475,
-0.02449711784720421,
-0.024830158799886703,
0.008876504376530647,
0.012775875627994537,
0.04947529733181,
0.026254840195178986,
0.03661615774035454,
0.09258577972650528,
0.03482143208384514,
0.05139954015612602,
-0.03926199674606323,
0.05062244087457657,
0.018261823803186417,
0.072603240609169,
-0.0229429192841053,
0.0293632373213768,
0.06331505626440048,
0.008316808380186558,
0.04925326630473137,
-0.004516887478530407,
-0.004433626774698496,
0.01225780975073576,
-0.08185441792011261,
0.0077339839190244675,
0.019779017195105553,
0.020519111305475235,
-0.03735625371336937,
-0.00837231520563364,
0.05225064978003502,
0.052805718034505844,
0.011388199403882027,
0.03866992145776749,
-0.02703193947672844,
0.03874393180012703,
-0.010777621529996395,
-0.02427508868277073,
-0.04747704043984413,
-0.015699246898293495,
0.008913509547710419,
0.0015530413947999477,
0.02723546512424946,
-0.023072436451911926,
0.018853899091482162,
0.02429359219968319,
0.07341734319925308,
-0.04233338683843613,
0.02727247029542923,
0.042074352502822876,
-0.002976566320285201,
-0.024904169142246246,
-0.007553586270660162,
0.0123688243329525,
0.022998426109552383,
0.057209279388189316,
0.011193924583494663,
-0.059022512286901474,
-0.0236275065690279,
0.029159709811210632,
0.043665558099746704,
-0.031972069293260574,
-0.04544178396463394,
-0.014117296785116196,
0.0532497763633728,
-0.012572349980473518,
-0.005504450295120478,
-0.0380038358271122,
0.022091811522841454,
0.02223983034491539,
0.011184672825038433,
0.0660904124379158,
0.03687519207596779,
0.04751404747366905,
-0.042999472469091415,
-0.05043741688132286,
-0.001324074692092836,
-0.006374061107635498,
-0.09917262196540833,
0.05617314949631691,
-0.04429463669657707,
-0.02930772863328457,
-0.008737737312912941,
-0.028123578056693077,
-0.01788252592086792,
-0.008265926502645016,
0.0226838868111372,
-0.06542432308197021,
0.04921626299619675,
-0.027013437822461128,
-0.008159538730978966,
-0.01670762524008751,
-0.05554406717419624,
-0.011360445991158485,
-0.019890030845999718,
0.02795705758035183,
0.07911606878042221,
0.022295337170362473,
-0.05913352593779564,
0.020796645432710648,
0.010731365531682968,
-0.008580466732382774,
-0.008756238967180252,
0.03182404860854149,
0.031046951189637184,
-0.03826287016272545,
-0.0024700642097741365,
-0.011267933994531631,
0.012859135866165161,
-0.07227019965648651,
-0.024016056209802628,
0.011508464813232422,
-0.033119212836027145,
0.0013379515148699284,
0.05569208785891533,
0.009154039435088634,
0.047329023480415344,
-0.0614648200571537,
0.010120787657797337,
0.03774480149149895,
0.0176327433437109,
0.018197065219283104,
-0.01623581536114216,
-0.018520856276154518,
-0.024423107504844666,
-0.0035455136094242334,
0.052620694041252136,
0.044331640005111694,
0.020019548013806343,
0.009302058257162571,
0.0631670355796814,
-0.05295373871922493,
0.042518410831689835,
0.023238956928253174,
-0.01924244873225689,
0.05184359848499298,
-0.012248558923602104,
-0.002958063967525959,
0.005536829587072134,
-0.010518588125705719,
-0.005069645121693611,
-0.013136671856045723,
-0.0895513966679573,
0.04951230064034462,
0.04077918827533722,
-0.015430963598191738,
0.006175160873681307,
0.0017045293934643269,
-0.02616232819855213,
-0.008686855435371399,
-0.0011604445753619075,
-0.040261123329401016,
0.03247163072228432,
-0.024127069860696793,
-0.004590896889567375,
0.024904169142246246,
-0.0004822176124434918,
-0.031491007655858994,
0.023090938106179237,
-0.005865246523171663,
-0.017012914642691612,
-0.029733283445239067,
0.028808165341615677,
-0.02501518279314041,
0.025588756427168846,
0.025755276903510094,
-0.03572804480791092,
0.0176327433437109,
-0.0006406439933925867,
-0.07493453472852707,
0.06879175454378128,
0.029437245801091194,
0.04015010967850685,
-0.004764356184750795,
0.04174131155014038,
0.015329200774431229,
-0.05339779332280159,
-0.061279796063899994,
0.025570252910256386,
0.04473869130015373,
-0.020223073661327362,
0.03807784616947174,
0.06390713155269623,
0.054692961275577545,
0.031528010964393616,
-0.057875365018844604,
0.05447093024849892,
-0.037467267364263535,
0.004149152897298336,
0.051473550498485565,
-0.031509511172771454,
0.0393730103969574,
0.014487343840301037,
0.0343218669295311,
-0.010842380113899708,
-0.047106992453336716,
-0.0017334392759948969,
-0.007188164629042149,
0.04403560236096382,
0.007840372622013092,
-0.00283548585139215,
0.00269903102889657,
-0.07911606878042221,
0.0015819512773305178,
-0.01248908881098032,
-0.018659625202417374,
-0.029844297096133232,
0.019779017195105553,
0.04518274962902069,
-0.034266360104084015,
0.007243671920150518,
-0.04244440048933029,
-0.0001870472333393991,
0.038854945451021194,
-0.05295373871922493,
-0.0004934924654662609,
0.03731925040483475,
-0.022609876468777657,
-0.035857561975717545,
0.007891254499554634,
-0.035395003855228424,
-0.043443527072668076,
-0.0014686243375763297,
-0.007433320861309767,
-0.10176295042037964,
0.0022121877409517765,
0.040668174624443054,
-0.03996508568525314,
0.040890201926231384,
-0.014922148548066616,
-0.01248908881098032,
0.040927208960056305,
0.008515708148479462,
0.04248140752315521,
-0.0330452062189579,
-0.04288845881819725,
-0.004183844663202763,
-0.04407260939478874,
-0.024571126326918602,
-0.041630297899246216,
-0.0036125846672803164,
0.02083365060389042,
0.02360900491476059,
0.004866119008511305,
0.05025239288806915,
-0.025255713611841202,
0.016189560294151306,
-0.02816058322787285,
-0.0035362625494599342,
-0.06220491603016853,
-0.027827540412545204,
-0.02475615032017231,
-0.00861284602433443,
-0.017688250169157982,
0.017827019095420837,
0.05635816976428032,
-0.0421113595366478,
0.02220282517373562,
-0.03670867159962654,
0.034044332802295685,
-0.011018152348697186,
0.006054895464330912,
-0.011286436580121517,
0.04329551011323929,
0.02958526462316513,
0.008603595197200775,
0.04899423569440842,
-0.003540887963026762,
0.023479487746953964,
-0.03650514408946037,
-0.036634661257267,
-0.03469191491603851,
0.026698896661400795,
0.04718100279569626,
-0.026865419000387192,
-0.04562680423259735,
-0.020556116476655006,
-0.020278580486774445,
-0.03465491160750389,
0.017308952286839485,
0.03785581886768341,
-0.009510209783911705,
0.02817908488214016,
-0.02064862661063671,
-0.00289330561645329,
-0.025496244430541992,
0.05021538957953453,
-0.015310698188841343,
0.02179577387869358,
0.06216790899634361,
0.005240791942924261,
-0.03374829515814781,
-0.03900296241044998,
-0.0390399694442749,
0.027198461815714836,
0.017716003581881523,
0.001218842575326562,
0.0072344206273555756,
0.023923544213175774,
0.028271596878767014,
0.03941001370549202,
-0.04773607477545738,
0.009713736362755299,
-0.0035061961971223354,
0.01810455322265625,
-0.02407156303524971,
0.023738520219922066,
-0.006332430988550186,
0.03184255212545395,
0.06272298097610474,
0.04200034588575363,
-0.02823459357023239,
0.0270504429936409,
-0.02061162330210209,
0.024571126326918602,
0.00048395220073871315,
0.05347180366516113,
-0.07889404147863388,
-0.017586488276720047,
0.03297119587659836,
-0.02316494844853878,
0.029733283445239067,
-0.06919880211353302,
-0.0001837226009229198,
-0.0009973925771191716,
-0.000007606925009895349,
-0.0023451733868569136,
0.07733984291553497,
0.06346307694911957,
0.027161456644535065,
0.07349134981632233,
-0.004516887478530407,
0.06875474750995636,
-0.04118623957037926,
-0.08873729407787323,
-0.005536829587072134,
0.04188932850956917,
-0.006623842753469944,
0.0007273738156072795,
0.046921972185373306,
0.019797518849372864,
-0.04144527390599251,
-0.03713422641158104,
0.007595216389745474,
-0.006970761809498072,
0.04632989689707756,
-0.01604154147207737,
-0.015652991831302643,
-0.06494326144456863,
-0.00774323521181941,
0.06353708356618881,
0.008969016373157501,
0.012664861977100372,
-0.009228048846125603,
0.006577586755156517,
0.014635362662374973,
0.012590852566063404,
0.003138461848720908,
-0.08185441792011261,
-0.0770438015460968,
-0.00882562343031168,
-0.006725606042891741,
-0.038373883813619614,
-0.05861545726656914,
0.056062132120132446,
0.04222237318754196,
0.0009603878133930266,
0.0017669748049229383,
0.01905742473900318,
0.04773607477545738,
-0.010305811651051044,
0.022628379985690117,
-0.027420489117503166,
0.0038230489008128643,
0.001942747156135738,
0.03593157231807709,
0.018724381923675537,
-0.04607086256146431,
0.03892895206809044,
-0.027624014765024185,
-0.018881652504205704,
-0.03461790457367897,
-0.021203698590397835,
0.05524802953004837,
-0.035635534673929214,
-0.03870692476630211,
-0.01215604692697525,
0.019779017195105553,
-0.0344143807888031,
-0.008529585786163807,
0.008885756134986877,
0.015930527821183205,
0.10516738146543503,
-0.004084394779056311,
0.04440565034747124,
-0.015930527821183205,
0.009917262010276318,
0.0021474293898791075,
0.01010228507220745,
-0.09169767051935196,
-0.038854945451021194,
-0.026014309376478195,
-0.015282944776117802,
-0.012822131626307964,
-0.013127420097589493,
0.014820385724306107,
-0.017466222867369652,
0.015430963598191738,
0.028271596878767014,
-0.000913553754799068,
0.006975387688726187,
0.008437073789536953,
-0.018391340970993042,
0.011388199403882027,
-0.04122324660420418,
0.018400590866804123,
0.03284167870879173,
0.058837488293647766,
-0.030084827914834023,
-0.006448070518672466,
0.06531330943107605,
0.08000417798757553,
-0.0032471632584929466,
0.0005148858181200922,
0.06076173111796379,
0.004137589130550623,
0.006253795698285103,
0.008529585786163807,
0.03648664429783821,
-0.034488387405872345,
-0.030621396377682686,
-0.005051142536103725,
0.07659974694252014,
0.03996508568525314,
-0.0270504429936409,
-0.0472550131380558,
0.06220491603016853,
0.02429359219968319,
-0.002826234558597207,
0.02381253056228161,
-0.003085267497226596,
0.07904205471277237,
0.02932623215019703,
-0.10331714898347855,
0.0040682051330804825,
0.03689369559288025,
0.01444108784198761,
0.048624187707901,
-0.006054895464330912,
0.018224818632006645,
-0.04122324660420418,
0.0236275065690279,
0.08733111619949341,
0.0030552013777196407,
0.0293632373213768,
0.017762260511517525,
-0.027309475466609,
0.03822586312890053,
-0.04118623957037926,
-0.07630371302366257,
-0.04581182822585106,
0.017817767336964607,
-0.006623842753469944,
-0.0338963121175766,
0.022073308005928993,
-0.024164075031876564,
-0.02016756683588028,
0.04581182822585106,
0.04444265365600586,
0.0025440736208111048,
-0.015504973009228706,
0.020241575315594673,
-0.006864373572170734,
0.017790013924241066,
0.0033165470231324434,
0.0035131345503032207,
-0.06657147407531738,
0.04359154775738716,
0.0407421849668026,
-0.03397032245993614,
-0.03896595910191536,
0.011897013522684574,
0.036986205726861954,
-0.020093556493520737,
0.027327977120876312,
0.025755276903510094,
0.0017056857468560338,
-0.005620090290904045,
0.022517364472150803,
-0.06268597394227982,
0.0013009468093514442,
0.021129688248038292,
0.022609876468777657,
-0.023016929626464844,
0.038854945451021194,
-0.004623275715857744,
-0.026772907003760338,
0.028364108875393867,
-0.02819758839905262,
-0.03728224337100983,
0.002043353859335184,
-0.012220805510878563,
-0.026291845366358757,
-0.04103822261095047,
-0.033600274473428726,
-0.009223423898220062,
-0.03674567490816116,
0.016328327357769012,
-0.028012564405798912,
0.018224818632006645,
-0.03643113747239113,
-0.03918798640370369,
0.025255713611841202,
0.01717943511903286,
0.017697501927614212,
-0.04151928424835205,
0.002752225147560239,
-0.009052276611328125,
0.0006522079929709435,
0.06346307694911957,
-0.00040444990736432374,
-0.007137283217161894,
-0.038632914423942566,
0.0707160010933876,
-0.07204816490411758,
0.0028424242045730352,
0.008191917091608047,
-0.03365578129887581,
0.008557339198887348,
0.024682139977812767,
-0.047292016446590424,
-0.010666606947779655,
-0.02059311978518963,
-0.05310175567865372,
0.005879123229533434,
0.019890030845999718,
-0.023720018565654755,
-0.05180659145116806,
0.05291673541069031,
-0.009144788607954979,
-0.03136149048805237,
-0.019779017195105553,
-0.09606422483921051,
-0.01950148120522499,
-0.0025533249136060476,
0.018178563565015793,
-0.04977133497595787,
-0.017604989930987358,
0.11974723637104034,
-0.058800481259822845,
0.022739393636584282,
-0.011147668585181236,
0.015403210185468197,
-0.0015449465718120337,
-0.07993017137050629,
0.0018918657442554832,
-0.011619478464126587,
0.10117087513208389,
0.003644963726401329,
-0.08858927339315414,
0.0016767758643254638,
-0.03944702073931694,
-0.025052187964320183,
0.03393331915140152,
-0.05813439562916756,
-0.06531330943107605,
-0.013950775377452374,
-0.0019173064501956105,
0.0064758239313960075,
-0.03874393180012703,
0.023294463753700256,
-0.05532203987240791,
-0.017716003581881523,
-0.022794900462031364,
-0.04995635524392128,
-0.03811484947800636,
-0.0169944129884243,
-0.014061789028346539,
-0.0015992972766980529,
0.022517364472150803,
0.001853704685345292,
0.0037536651361733675,
0.0398910753428936,
-0.014237561263144016,
0.04836515337228775,
0.04285145178437233,
-0.005263919942080975,
-0.0206301249563694,
-0.0033049830235540867,
-0.03147250413894653,
-0.05040041357278824,
0.05254668742418289,
-0.02954825945198536,
-0.03615359961986542,
-0.026772907003760338,
0.0008036959916353226,
-0.011156919412314892,
0.00891813449561596,
0.018169311806559563,
0.03421085327863693,
0.024885667487978935,
-0.012415079399943352,
0.015717750415205956,
0.014866641722619534,
0.002844736911356449,
-0.0035339496098458767,
-0.035395003855228424,
-0.019630998373031616,
0.0019959413912147284,
-0.0012512217508628964,
0.08007819205522537,
0.07622969895601273,
-0.01512567512691021,
0.015560479834675789,
-0.028290100395679474,
-0.0659053847193718,
-0.011175421997904778,
0.011295687407255173,
0.0016952782170847058,
0.03282317519187927,
-0.04222237318754196,
0.06327804923057556,
-0.03223109990358353,
0.04662593454122543,
0.004082081839442253,
0.018243322148919106,
0.02038959413766861,
0.011804502457380295,
0.04266642779111862,
-0.0032309736125171185,
-0.011295687407255173,
0.03371128812432289,
-0.03600558266043663,
-0.014644613489508629,
0.08703507483005524,
0.04784708842635155,
-0.037966832518577576,
0.0655723437666893,
0.017299700528383255,
-0.021407224237918854,
-0.048735201358795166,
-0.006045644171535969,
-0.00721591804176569,
0.019168438389897346,
-0.05713526904582977,
0.022387849166989326,
-0.01974201202392578,
-0.016143303364515305
]
|
40,682 | pyglove.core.symbolic.dict | sym_keys | Iterates the keys of symbolic attributes. | def sym_keys(self) -> Iterator[str]:
"""Iterates the keys of symbolic attributes."""
if self._value_spec is None or self._value_spec.schema is None:
for key in super().__iter__():
yield key
else:
traversed = set()
for key_spec in self._value_spec.schema.keys(): # pytype: disable=attribute-error
if isinstance(key_spec, pg_typing.ConstStrKey) and key_spec in self:
yield key_spec.text
traversed.add(key_spec.text)
if len(traversed) < len(self):
for key in super().__iter__():
if key not in traversed:
yield key
| (self) -> Iterator[str] | [
0.06447923928499222,
-0.048757776618003845,
-0.009728539735078812,
-0.010365895926952362,
0.017447635531425476,
-0.023228105157613754,
0.013818244449794292,
-0.02043081820011139,
0.1077132597565651,
0.004388465546071529,
-0.023369740694761276,
0.0009626739774830639,
0.05456480383872986,
0.02358219213783741,
-0.015181479044258595,
0.005196226295083761,
-0.0020016978960484266,
0.01727944426238537,
-0.04967840388417244,
0.0004301603476051241,
-0.009852469898760319,
0.04652702808380127,
-0.013729722239077091,
-0.04061377793550491,
-0.03158455714583397,
0.031212767586112022,
0.0037843044847249985,
0.009462974965572357,
0.051944561302661896,
0.007391565479338169,
-0.04578344523906708,
0.014234296977519989,
0.05109475180506706,
-0.044367097318172455,
0.03604605421423912,
-0.07719095796346664,
-0.006090295966714621,
0.003782091662287712,
0.05332550033926964,
-0.016323409974575043,
0.06253176182508469,
0.041888490319252014,
-0.0007861837511882186,
-0.0473768375813961,
-0.018943652510643005,
0.002618030644953251,
0.018412522971630096,
0.015933914110064507,
0.012800244614481926,
-0.04040132462978363,
0.013269409537315369,
0.012534678913652897,
0.0037577480543404818,
-0.001293524052016437,
0.009613461792469025,
-0.026450296863913536,
-0.02108587883412838,
-0.026273254305124283,
-0.012171739712357521,
0.010976696386933327,
-0.025334922596812248,
-0.018377114087343216,
0.029513150453567505,
-0.025830645114183426,
0.028344662860035896,
-0.08859255909919739,
-0.0062717655673623085,
-0.01789909601211548,
-0.008874304592609406,
-0.00021812311024405062,
-0.03592212498188019,
-0.05824730917811394,
-0.02232518419623375,
0.02352908067405224,
-0.05173210799694061,
-0.04146358370780945,
-0.02120980992913246,
0.020271480083465576,
0.029601670801639557,
-0.10488056391477585,
-0.028450889512896538,
0.02227207086980343,
-0.05902630090713501,
-0.02423725463449955,
-0.04351729154586792,
0.05038657784461975,
0.024095619097352028,
-0.006032756995409727,
0.010773096233606339,
0.07839486002922058,
-0.048120420426130295,
0.035709671676158905,
0.013747426681220531,
0.07549134641885757,
-0.01793450489640236,
0.020838018506765366,
-0.030610820278525352,
-0.026255549862980843,
0.029052836820483208,
-0.0028902350459247828,
0.05789322033524513,
0.011171444319188595,
0.049430541694164276,
0.07669524103403091,
-0.0070242006331682205,
-0.032027166336774826,
-0.04783714935183525,
-0.08313962072134018,
0.029371514916419983,
-0.008852174505591393,
-0.08158163726329803,
0.046810299158096313,
0.04967840388417244,
-0.028149913996458054,
0.004218060988932848,
-0.02365300990641117,
0.013747426681220531,
-0.003733404679223895,
0.05205078423023224,
-0.043835967779159546,
-0.008723817765712738,
0.04900563880801201,
-0.0038838915061205626,
0.04599589854478836,
0.015615236014127731,
0.029973462224006653,
0.040649186819791794,
0.02540574036538601,
-0.026981428265571594,
0.0359044186770916,
0.03615228086709976,
0.03238125517964363,
0.012720574624836445,
0.06589558720588684,
0.016031287610530853,
0.003257600124925375,
0.09234588593244553,
0.022750088945031166,
0.03363826125860214,
0.03110654093325138,
0.0384538471698761,
-0.013543826527893543,
-0.004357482772320509,
0.031425219029188156,
-0.05017412453889847,
0.0036183262709528208,
-0.02414873242378235,
0.029318401589989662,
0.010445565916597843,
-0.03891415894031525,
0.004525674041360617,
0.014499861747026443,
0.0197757575660944,
0.027725011110305786,
-0.021351445466279984,
0.046243760734796524,
-0.07442907989025116,
-0.006940104998648167,
-0.013393339700996876,
0.014048401266336441,
-0.032540593296289444,
-0.03799353167414665,
-0.0031403088942170143,
-0.04670407250523567,
0.004178226459771395,
0.046314578503370285,
0.00174166529905051,
-0.04061377793550491,
0.04656243696808815,
-0.0022274283692240715,
0.014101513661444187,
-0.04766010865569115,
-0.014092661440372467,
-0.001841252320446074,
0.021617010235786438,
0.01244615763425827,
0.018943652510643005,
0.05410449206829071,
0.037037499248981476,
0.008865452371537685,
0.04362351447343826,
-0.04341106489300728,
-0.06313370913267136,
-0.0411803163588047,
0.04642080143094063,
0.0032044872641563416,
-0.0023613176308572292,
0.018872836604714394,
0.04659784585237503,
-0.017217479646205902,
-0.02165241912007332,
-0.018518749624490738,
-0.010144592262804508,
0.07152556627988815,
-0.005838009063154459,
-0.024963131174445152,
0.0011153740342706442,
-0.02050163596868515,
-0.055556248873472214,
0.023121880367398262,
-0.023900870233774185,
-0.035143133252859116,
-0.05700800195336342,
0.03592212498188019,
0.0020459587685763836,
-0.01636767014861107,
0.009347896091639996,
-0.054883480072021484,
0.020891131833195686,
0.0010417902376502752,
-0.02866334095597267,
-0.0324343666434288,
0.004793452564626932,
-0.017376817762851715,
-0.0007391565595753491,
-0.023405149579048157,
-0.019563306123018265,
0.004499117843806744,
-0.01805843599140644,
-0.015916209667921066,
0.05789322033524513,
0.01550900936126709,
0.016066696494817734,
-0.0342579148709774,
0.02675127051770687,
-0.0544939860701561,
0.026928314939141273,
-0.011729131452739239,
-0.0646916925907135,
-0.0030894088558852673,
0.013694314286112785,
0.022573044523596764,
-0.01869579218327999,
0.01486280094832182,
0.01709354855120182,
0.009595757350325584,
0.008892009034752846,
0.00247860886156559,
0.00894954800605774,
-0.010224261321127415,
-0.06678080558776855,
0.04086163640022278,
-0.023281218484044075,
0.02358219213783741,
-0.05038657784461975,
-0.006940104998648167,
0.03036295808851719,
0.04673948138952255,
0.013800540007650852,
-0.004673948045819998,
0.017545009031891823,
-0.0572204552590847,
0.025140175595879555,
-0.008307766169309616,
0.021847166121006012,
-0.07605788111686707,
-0.07655360549688339,
0.024715270847082138,
0.043127793818712234,
-0.0139421746134758,
-0.02048393152654171,
0.07761586457490921,
-0.06575395166873932,
0.04741224646568298,
0.07825322449207306,
0.014960174448788166,
0.028946610167622566,
0.028397776186466217,
-0.06001774221658707,
0.011242261156439781,
0.00020899430091958493,
-0.020926540717482567,
-0.09255833923816681,
0.030663931742310524,
-0.00248967413790524,
0.04514608904719353,
0.006373565644025803,
0.026414887979626656,
-0.03223961964249611,
-0.02167012356221676,
-0.02354678325355053,
-0.0069533828645944595,
0.005112130660563707,
0.000006224185199243948,
0.003686930751428008,
0.005537034943699837,
-0.035107724368572235,
-0.06837419420480728,
0.003403661074116826,
-0.024715270847082138,
0.07881975919008255,
0.048722367733716965,
0.008157278411090374,
-0.04472118616104126,
0.06405433267354965,
-0.004457070026546717,
0.017102401703596115,
-0.03802894055843353,
0.014473305083811283,
0.0228740181773901,
0.06277962028980255,
0.037037499248981476,
0.018872836604714394,
0.020855722948908806,
-0.03339040279388428,
0.01680142804980278,
0.04652702808380127,
0.035745080560445786,
-0.015252296812832355,
0.007878434844315052,
-0.03806434944272041,
0.03489527106285095,
-0.01583654060959816,
0.028769567608833313,
-0.012791392393410206,
-0.0632399320602417,
-0.021882575005292892,
0.024591341614723206,
0.014092661440372467,
0.08285634964704514,
-0.017102401703596115,
0.02425495721399784,
-0.058601394295692444,
-0.035691969096660614,
-0.045677218586206436,
0.016394227743148804,
0.05760995298624039,
-0.013110070489346981,
0.015137217938899994,
-0.013641200959682465,
0.041923899203538895,
-0.0371791310608387,
-0.02795516699552536,
0.02740633301436901,
-0.015995878726243973,
0.053679585456848145,
0.03339040279388428,
0.02850400097668171,
0.003129243617877364,
-0.06015937775373459,
0.006046035327017307,
-0.03792271390557289,
0.0495721772313118,
-0.029513150453567505,
-0.07542052865028381,
-0.018872836604714394,
-0.007869583554565907,
-0.02537033148109913,
0.016323409974575043,
0.04921808838844299,
0.03045148029923439,
0.025671305134892464,
0.031938645988702774,
0.01083506178110838,
0.06277962028980255,
0.014986731112003326,
-0.06447923928499222,
0.008498087525367737,
-0.036329325288534164,
0.04599589854478836,
0.09985252469778061,
0.02609620988368988,
-0.025901462882757187,
-0.03213339298963547,
0.011392748914659023,
-0.06458546221256256,
-0.03912661224603653,
-0.026220140978693962,
0.04160521924495697,
-0.004341991618275642,
-0.05109475180506706,
0.007072887383401394,
-0.021599305793642998,
-0.05902630090713501,
0.010923583060503006,
-0.012862209230661392,
0.04840369150042534,
0.036364734172821045,
-0.007506643887609243,
0.0181292537599802,
0.02414873242378235,
-0.034346435219049454,
0.05523756891489029,
0.07577461004257202,
-0.04206553474068642,
-0.004780174233019352,
0.07042790204286575,
-0.032576002180576324,
0.045606404542922974,
0.027105357497930527,
-0.019049879163503647,
-0.04287993162870407,
-0.00002863125155272428,
0.048828594386577606,
0.033797603100538254,
-0.06458546221256256,
0.0193154439330101,
-0.041923899203538895,
-0.022484522312879562,
-0.01148127019405365,
0.004184865392744541,
-0.04047214239835739,
-0.04599589854478836,
-0.0002532551879994571,
0.0060858698561787605,
-0.04061377793550491,
0.006342582870274782,
-0.03252289071679115,
-0.020023617893457413,
0.007767783012241125,
-0.025317218154668808,
-0.015225740149617195,
0.021988801658153534,
-0.054246123880147934,
0.06564772874116898,
-0.0522986464202404,
0.009817061945796013,
0.01920921914279461,
0.03912661224603653,
0.07534971088171005,
-0.0029566262383013964,
-0.0657893642783165,
-0.003385956631973386,
0.03050459362566471,
0.004187078680843115,
0.03478904440999031,
0.005342287477105856,
-0.007099444046616554,
0.00881233997642994,
0.025954576209187508,
-0.020802609622478485,
0.03997642174363136,
0.013118922710418701,
-0.009701983071863651,
-0.021563896909356117,
-0.009436418302357197,
-0.011879618279635906,
-0.022218957543373108,
-0.008613165467977524,
-0.010746539570391178,
-0.03491297736763954,
-0.00928593147546053,
-0.022148139774799347,
0.022112732753157616,
0.053148455917835236,
0.025919167324900627,
0.013650053180754185,
0.08653885871171951,
0.08979646116495132,
0.03030984476208687,
0.009799357503652573,
-0.03372678533196449,
0.03475363552570343,
-0.08115673810243607,
-0.017226330935955048,
0.06426678597927094,
0.029406923800706863,
-0.028946610167622566,
-0.01993509754538536,
0.012348783202469349,
0.04652702808380127,
0.03478904440999031,
0.008170557208359241,
-0.04224257543683052,
0.020997358486056328,
0.003638243768364191,
-0.014420192688703537,
0.05113016068935394,
0.02060786262154579,
0.01998821087181568,
0.022095028311014175,
0.005377695895731449,
0.030663931742310524,
-0.028149913996458054,
-0.025246402248740196,
-0.02430807054042816,
-0.03710831701755524,
0.03771026432514191,
-0.06826797127723694,
-0.08611395210027695,
-0.011357340030372143,
-0.024555932730436325,
-0.0058999741449952126,
-0.05506052449345589,
0.05332550033926964,
-0.01495132315903902,
-0.00499705271795392,
-0.04277370870113373,
-0.06100918725132942,
0.008298913948237896,
0.023369740694761276,
0.0081085916608572,
-0.005005904473364353,
0.04298615828156471,
0.07669524103403091,
0.025919167324900627,
0.02423725463449955,
-0.01740337535738945,
-0.02799057587981224,
0.006484217941761017,
-0.026839792728424072,
-0.025724418461322784,
0.023458262905478477,
0.0309826098382473,
0.01623488776385784,
0.03905579447746277,
-0.027158470824360847,
-0.033779896795749664,
0.001611095736734569,
-0.05456480383872986,
0.03330187872052193,
-0.05792862921953201,
0.05838894471526146,
-0.009746244177222252,
0.006373565644025803,
-0.061221640557050705,
-0.020059026777744293,
-0.022626157850027084,
-0.015154922381043434,
0.0421009436249733,
-0.033195655792951584,
-0.038807932287454605,
-0.05824730917811394,
0.007373861502856016,
-0.016686348244547844,
0.009622314013540745,
-0.05038657784461975,
-0.05010330677032471,
0.021227514371275902,
-0.025193288922309875,
0.049288906157016754,
0.009471826255321503,
0.028096802532672882,
0.04907645657658577,
-0.024007096886634827,
0.025618193671107292,
0.048191238194704056,
0.021475374698638916,
0.023104175925254822,
0.04411923885345459,
0.05506052449345589,
0.036400143057107925,
0.0025450000539422035,
0.01087932288646698,
0.03484215959906578,
0.014198888093233109,
-0.061150822788476944,
-0.02722928859293461,
-0.052404873073101044,
-0.018518749624490738,
-0.031177358701825142,
0.0197757575660944,
-0.0013234000653028488,
-0.06083214282989502,
-0.03103572316467762,
-0.019085288047790527,
0.07018003612756729,
0.003452348057180643,
-0.034080870449543,
0.02731781080365181,
0.011198000982403755,
-0.029017427936196327,
-0.015208035707473755,
-0.06061968952417374,
0.021882575005292892,
0.019403966143727303,
0.020625567063689232,
-0.01674831472337246,
0.01922692358493805,
0.05329009145498276,
-0.019474783912301064,
0.03252289071679115,
0.04606671631336212,
0.03032754920423031,
0.0014373718295246363,
-0.005448513198643923,
-0.04553558677434921,
0.005324583034962416,
-0.0324343666434288,
-0.07549134641885757,
0.025901462882757187,
0.029406923800706863,
0.037639446556568146,
0.039445288479328156,
0.013773983344435692,
-0.02558278478682041,
0.032682228833436966,
0.033284176141023636,
-0.06154031679034233,
-0.015969322994351387,
-0.04843910038471222,
-0.06717029958963394,
-0.035143133252859116,
-0.04989085718989372,
-0.019669530913233757,
-0.04022428020834923,
-0.009799357503652573,
0.007922695949673653,
-0.04472118616104126,
-0.0016365457559004426,
0.025653602555394173,
0.027105357497930527,
0.0557686984539032,
0.04670407250523567,
0.005488348193466663,
-0.013402191922068596,
0.07478316873311996,
0.011605200357735157,
0.02365300990641117,
0.005231635179370642,
-0.08059019595384598,
0.03739158436655998,
0.013464157469570637,
-0.03742699325084686,
-0.02050163596868515,
0.015057548880577087,
0.01871349662542343,
0.018996765837073326,
-0.003175717545673251,
-0.03041607141494751,
-0.026574227958917618,
-0.049395132809877396,
-0.023900870233774185,
0.04302156716585159,
-0.04149899259209633,
0.007059609051793814,
0.03358514979481697,
0.04663325473666191,
-0.008179409429430962,
-0.052404873073101044,
-0.007931548170745373,
-0.025228697806596756,
0.013809392228722572,
-0.0019065371016040444,
-0.0030916219111531973,
0.021316036581993103,
-0.014597236178815365,
-0.013614644296467304,
-0.056229013949632645,
0.05587492510676384,
-0.03404546156525612,
0.0181292537599802,
-0.04287993162870407,
0.08002365380525589,
-0.04397760331630707,
0.07605788111686707,
-0.008259078487753868,
-0.03365596756339073,
0.008484809659421444,
-0.029017427936196327,
-0.003405874129384756,
0.013402191922068596,
-0.013003844767808914,
-0.06274421513080597,
0.03420480340719223,
0.009117739275097847,
-0.05222782865166664,
-0.08413106948137283,
-0.016066696494817734,
-0.028238436207175255,
0.03799353167414665,
-0.023174993693828583,
-0.028096802532672882,
-0.0278843492269516,
-0.01236648764461279,
0.019634123891592026,
0.0016874457942321897,
0.016323409974575043,
0.01059605274349451,
-0.012118627317249775,
-0.009693130850791931,
0.03032754920423031,
-0.006028330884873867,
-0.05732668191194534,
-0.06387729197740555,
0.037639446556568146,
0.008887583389878273,
0.022148139774799347,
0.05821190029382706,
-0.03834762051701546,
-0.038241393864154816,
-0.03308942914009094,
0.02352908067405224,
0.007843026891350746,
-0.02299794927239418,
-0.06327534466981888,
0.015809983015060425,
0.008369730785489082,
0.016190627589821815,
-0.07099443674087524,
-0.019527897238731384,
-0.05144883692264557,
0.02544114924967289,
0.012702870182693005,
-0.031336698681116104,
-0.010135740041732788,
0.041251134127378464,
0.01215403527021408,
0.05261732637882233,
0.00494836550205946,
-0.012826801277697086,
0.011038661934435368,
0.0353555865585804,
0.004311008844524622,
0.02237829752266407,
0.017429931089282036,
0.02855711430311203,
0.0030739177018404007,
0.011136035434901714,
0.05141342803835869,
-0.025228697806596756,
-0.0010052750585600734,
-0.08767193555831909,
-0.08151081949472427,
0.04086163640022278,
-0.04723520204424858,
0.004589852411299944,
-0.049324315041303635,
0.0297078974545002,
0.054316941648721695,
0.043056976050138474,
-0.003731191623955965,
-0.005935383029282093,
0.08101510256528854,
-0.05169669911265373,
0.04475659504532814,
-0.0619652196764946,
0.05162588134407997,
-0.04033050686120987,
0.025193288922309875,
0.02298024483025074,
0.0004625261062756181,
-0.06040723994374275,
0.06334616243839264,
0.0017693283734843135,
0.009042495861649513,
-0.01149897463619709,
-0.026928314939141273,
-0.003312926273792982,
0.0836353451013565,
-0.03475363552570343,
0.059911515563726425,
-0.030026575550436974,
0.01998821087181568,
0.011560940183699131,
-0.018837427720427513,
-0.021599305793642998,
0.03110654093325138,
0.02728240191936493,
-0.052440281957387924,
0.0148539487272501,
0.03530247136950493,
0.006156687159091234,
-0.03307172283530235,
0.01241074874997139,
0.03802894055843353,
-0.004319861065596342,
-0.004598704632371664,
-0.004268961027264595,
0.004187078680843115,
-0.022626157850027084,
-0.01997050642967224,
-0.013464157469570637,
0.046208351850509644,
-0.021599305793642998,
-0.019138401374220848,
0.03788730502128601,
-0.005359991453588009
]
|
40,683 | pyglove.core.symbolic.base | sym_lt | Returns True if this object is symbolically less than other object. | def sym_lt(self, other: Any) -> bool:
"""Returns True if this object is symbolically less than other object."""
return lt(self, other)
| (self, other: Any) -> bool | [
0.031486477702856064,
-0.0020225979387760162,
0.019336163997650146,
0.02563009224832058,
-0.0008835061453282833,
-0.028053423389792442,
-0.003069132100790739,
0.00826288666576147,
-0.004644718021154404,
-0.020076625049114227,
0.02968580648303032,
-0.08777844160795212,
0.06926688551902771,
0.005675475113093853,
-0.08185474574565887,
-0.01656784489750862,
-0.026219097897410393,
0.044023849070072174,
-0.04042251035571098,
-0.0276663638651371,
-0.010105627588927746,
0.05213527753949165,
0.006470630876719952,
-0.03530658781528473,
0.022348498925566673,
0.09302899241447449,
-0.0014598887646570802,
0.023492850363254547,
-0.05506347119808197,
0.03459978476166725,
-0.0037485903594642878,
-0.00641173031181097,
0.035474877804517746,
-0.05815994739532471,
0.026320070028305054,
-0.041095659136772156,
-0.016601501032710075,
0.01663515903055668,
-0.02813756838440895,
-0.002005769405514002,
0.013336735777556896,
-0.04668278247117996,
0.007875826209783554,
-0.022180212661623955,
-0.03604705259203911,
-0.036383625119924545,
-0.024553056806325912,
-0.018696673214435577,
0.038773298263549805,
-0.01714843325316906,
0.03847038373351097,
-0.08542242646217346,
0.02711101807653904,
0.01669405959546566,
-0.08474927395582199,
0.015633851289749146,
0.01741769351065159,
0.020884402096271515,
-0.0747193768620491,
0.03587876632809639,
0.00954186636954546,
0.03327031806111336,
-0.011864225380122662,
-0.0295175202190876,
0.015558122657239437,
-0.05644342303276062,
-0.05226990580558777,
0.015145819634199142,
-0.03618168085813522,
0.014927047304809093,
-0.06566554307937622,
0.028524627909064293,
-0.03421272337436676,
0.025226203724741936,
-0.06563188880681992,
-0.025041088461875916,
-0.008187157101929188,
-0.025697408244013786,
0.02894534543156624,
-0.06186226010322571,
0.002189833205193281,
-0.010189770720899105,
-0.004922391381114721,
0.03226059675216675,
-0.07687345147132874,
-0.011906296946108341,
0.04479796811938286,
0.008443794213235378,
0.008910791017115116,
0.01963908039033413,
-0.05701559782028198,
0.04927439987659454,
-0.0037149330601096153,
-0.018881788477301598,
0.03419589623808861,
0.03830209746956825,
0.036854829639196396,
0.004547953139990568,
0.022617757320404053,
-0.02029539830982685,
0.07821974903345108,
0.010913404636085033,
-0.012983333319425583,
0.01873033121228218,
-0.005435666535049677,
0.0037422797176986933,
-0.003973674029111862,
-0.04405750706791878,
-0.04537014663219452,
-0.0019931478891521692,
-0.08326835185289383,
-0.0003960000758524984,
-0.021086346358060837,
0.012907604686915874,
0.01585262455046177,
-0.015053262002766132,
0.04112931713461876,
0.017468178644776344,
0.029164116829633713,
-0.010139284655451775,
-0.010568416677415371,
0.0003534024581313133,
0.0295175202190876,
-0.014607301913201809,
-0.017670122906565666,
0.04940903186798096,
0.0691322535276413,
-0.010273914784193039,
-0.07155558466911316,
0.002646311419084668,
0.08320103585720062,
0.0053178658708930016,
-0.012739317491650581,
0.07593104243278503,
0.008456416428089142,
-0.04897148534655571,
0.019521279260516167,
0.058429207652807236,
0.0442594513297081,
-0.011939954943954945,
0.0031006860081106424,
-0.029113631695508957,
-0.015171063132584095,
0.015945183113217354,
-0.09087491780519485,
0.018141327425837517,
-0.097808338701725,
0.05183236300945282,
0.03530658781528473,
0.05839554965496063,
-0.0025053711142390966,
0.0010260241106152534,
0.05630879104137421,
0.01665198802947998,
-0.059977445751428604,
0.014405357651412487,
-0.04129760339856148,
-0.04378824681043625,
-0.0008177690906450152,
0.004758311901241541,
-0.005014949478209019,
-0.027733679860830307,
-0.01023184321820736,
-0.05109189823269844,
-0.020312227308750153,
-0.03799917921423912,
0.0058143120259046555,
-0.021052690222859383,
-0.0025726857129484415,
0.0682571604847908,
0.029719464480876923,
-0.011822153814136982,
0.012259699404239655,
0.008119842037558556,
0.013269420713186264,
-0.011191078461706638,
-0.0009113786509260535,
0.055837590247392654,
0.015903111547231674,
0.008801404386758804,
0.03604705259203911,
-0.0018574665300548077,
-0.0664396658539772,
-0.035373903810977936,
0.008119842037558556,
-0.008359651081264019,
-0.002391777466982603,
-0.010122456587851048,
0.03470075502991676,
0.06563188880681992,
-0.04166783392429352,
-0.014321214519441128,
-0.008401722647249699,
-0.002459092065691948,
0.008641531690955162,
0.01171276718378067,
-0.037931863218545914,
0.014136098325252533,
0.006500081159174442,
0.08097965270280838,
-0.007968383841216564,
0.011594966985285282,
-0.01593676768243313,
-0.015406664460897446,
0.06014573201537132,
-0.03247936815023422,
-0.03948010504245758,
-0.02793562412261963,
-0.007581324316561222,
-0.03428003937005997,
-0.013908911496400833,
-0.049779262393713,
-0.006163507234305143,
0.04658181220293045,
0.0103748869150877,
0.03291691467165947,
-0.007917897775769234,
-0.023021645843982697,
-0.019487621262669563,
-0.03258034214377403,
0.09148075431585312,
-0.033337634056806564,
-0.015162648633122444,
-0.023576993495225906,
0.04479796811938286,
0.007366758305579424,
-0.003353116335347295,
0.0016660401597619057,
-0.0290463175624609,
0.009870026260614395,
0.0552990697324276,
-0.007227921858429909,
0.042273666709661484,
-0.014775589108467102,
0.01023184321820736,
-0.00040704390266910195,
-0.0013778489083051682,
0.05008217692375183,
-0.04183612018823624,
0.010568416677415371,
-0.00677775451913476,
0.06994003057479858,
0.012899190187454224,
0.008527938276529312,
-0.0021772116888314486,
-0.06411730498075485,
-0.017771095037460327,
0.012470058165490627,
-0.0498129203915596,
0.01147716585546732,
-0.03374152258038521,
-0.06014573201537132,
-0.02297116070985794,
-0.029197774827480316,
-0.016113469377160072,
-0.024115510284900665,
-0.025057917460799217,
-0.0377972349524498,
-0.0017196816625073552,
0.013420878909528255,
-0.01990833878517151,
0.047086670994758606,
-0.006441180594265461,
0.009247364476323128,
-0.004834040999412537,
0.008607874624431133,
-0.0225841011852026,
0.03089747205376625,
0.008435380645096302,
0.019874680787324905,
0.002675761468708515,
-0.08077770471572876,
-0.047355931252241135,
0.057116568088531494,
0.022432642057538033,
-0.001759649720042944,
0.01669405959546566,
-0.0015892592491582036,
-0.03197450935840607,
-0.0359460785984993,
-0.010004655458033085,
-0.011334122158586979,
-0.0664396658539772,
-0.05607319250702858,
-0.07135364413261414,
0.02112000435590744,
-0.031671591103076935,
-0.08064308017492294,
-0.02175949513912201,
-0.047086670994758606,
0.04368727654218674,
0.04308144375681877,
0.04594232141971588,
0.011948369443416595,
0.052976712584495544,
-0.003818008815869689,
0.012798218056559563,
-0.01663515903055668,
0.04712032899260521,
0.050856295973062515,
0.04900514334440231,
-0.022281184792518616,
-0.012747731991112232,
0.003963156137615442,
-0.012133484706282616,
0.00528000108897686,
-0.002528510522097349,
0.0617612861096859,
-0.03226059675216675,
0.009701739065349102,
-0.011594966985285282,
0.053986433893442154,
-0.04392287880182266,
-0.01374903880059719,
0.012411157600581646,
0.017552321776747704,
-0.006281307898461819,
-0.01724940538406372,
-0.009701739065349102,
0.08528779447078705,
-0.01038330141454935,
0.030931130051612854,
-0.07458475232124329,
-0.021069519221782684,
-0.024283798411488533,
-0.05479421094059944,
-0.00233918777666986,
-0.026875415816903114,
0.008002041839063168,
0.02249995619058609,
0.020985374227166176,
0.021439749747514725,
0.08037381619215012,
0.005439873784780502,
0.004091475158929825,
0.037931863218545914,
0.010804018005728722,
0.05088995397090912,
-0.0290463175624609,
-0.04139857366681099,
0.0074509019032120705,
-0.0032921121455729008,
0.008506902493536472,
-0.026336897164583206,
-0.0031364469323307276,
-0.018427414819598198,
-0.026858586817979813,
0.026421042159199715,
0.04190343618392944,
0.02398088201880455,
-0.05486152693629265,
0.030291639268398285,
0.014321214519441128,
-0.04637986794114113,
0.026118125766515732,
0.010576831176877022,
-0.015330935828387737,
0.021725837141275406,
0.021507063880562782,
0.004741482902318239,
0.09801028668880463,
0.002513785380870104,
-0.050755325704813004,
-0.021422920748591423,
-0.048836853355169296,
-0.018107669427990913,
-0.002189833205193281,
-0.003456191858276725,
-0.07525789737701416,
0.004087267909198999,
-0.06980539858341217,
-0.005498773884028196,
0.026050809770822525,
-0.05402009189128876,
-0.03483538702130318,
0.0075392527505755424,
-0.003058614209294319,
0.02663981355726719,
-0.019302505999803543,
0.009070663712918758,
0.11820471286773682,
0.03695579990744591,
0.024014538154006004,
0.026875415816903114,
0.007160607259720564,
-0.008107220754027367,
-0.013404050841927528,
0.006113021168857813,
0.07229604572057724,
0.01356392353773117,
0.01346295140683651,
-0.04806273430585861,
-0.011906296946108341,
0.035643164068460464,
-0.023105788975954056,
-0.014775589108467102,
0.004484845791012049,
-0.02196143940091133,
-0.05654439330101013,
-0.02638738416135311,
0.06856007874011993,
0.05486152693629265,
-0.0007478248444385827,
9.61404566623969e-7,
-0.0015461357543244958,
0.015187891200184822,
0.004850869532674551,
0.02941654808819294,
-0.059943787753582,
0.06351146847009659,
-0.07700808346271515,
0.01480083167552948,
-0.04658181220293045,
-0.05543370172381401,
0.0027830444741994143,
-0.027447590604424477,
0.0451682023704052,
0.07707539200782776,
0.0317893922328949,
0.008456416428089142,
0.01974005252122879,
-0.04742324352264404,
-0.02315627597272396,
0.00520847924053669,
-0.008801404386758804,
-0.0005421992973424494,
0.01834327168762684,
0.009180049411952496,
-0.02820488251745701,
0.026791272684931755,
-0.004015746060758829,
0.015095333568751812,
0.060818880796432495,
0.0207497738301754,
0.049476344138383865,
-0.014455843716859818,
-0.004413323476910591,
-0.07061317563056946,
0.012385915033519268,
0.01761963777244091,
0.04271121323108673,
0.013589166104793549,
0.02231484092772007,
0.01488497480750084,
-0.03256351128220558,
-0.004320765845477581,
0.035912420600652695,
0.01974005252122879,
0.04600963369011879,
-0.015019604936242104,
-0.004720447119325399,
-0.007181643042713404,
0.0295006912201643,
-0.0009034902323037386,
-0.03974936157464981,
-0.04584134742617607,
-0.0033741521183401346,
-0.05580393224954605,
-0.03985033556818962,
0.05109189823269844,
-0.022718729451298714,
0.02552912011742592,
-0.028894858434796333,
-0.005246343556791544,
-0.05311134085059166,
0.05893406644463539,
-0.027784164994955063,
0.007333101239055395,
-0.004421737976372242,
0.014413772150874138,
0.03762894868850708,
-0.03197450935840607,
0.0019037454621866345,
-0.0021330362651497126,
-0.03604705259203911,
0.04476431384682655,
-0.04567306116223335,
-0.0024086060002446175,
-0.02527669072151184,
-0.04880319908261299,
-0.017266234382987022,
-0.0506880097091198,
0.03365737944841385,
-0.000424924393882975,
0.06152568757534027,
-0.015482394024729729,
-0.0663386881351471,
0.03884061425924301,
-0.010013069957494736,
-0.02194461040198803,
0.0023707414511591196,
-0.0004036255704704672,
-0.0061424714513123035,
0.051125556230545044,
0.037023115903139114,
0.02159120701253414,
-0.01470827404409647,
0.012024098075926304,
0.020732944831252098,
0.03429686650633812,
-0.03890793025493622,
0.03180622309446335,
-0.006516909692436457,
0.02324041910469532,
0.07976798713207245,
0.06748304516077042,
0.041634175926446915,
-0.006903969682753086,
-0.04368727654218674,
0.0336405485868454,
0.031503304839134216,
-0.06401633471250534,
0.06704549491405487,
0.04355264827609062,
0.050317779183387756,
-0.005856383591890335,
0.0007288925698958337,
-0.011308878660202026,
0.03162110596895218,
-0.018023526296019554,
0.06374707072973251,
-0.07256530970335007,
-0.028911687433719635,
-0.1106654554605484,
-0.0050486065447330475,
-0.04823102056980133,
-0.017173677682876587,
-0.017686951905488968,
0.03530658781528473,
-0.017173677682876587,
0.02894534543156624,
-0.01452315878123045,
-0.0030649248510599136,
0.01355550903826952,
-0.03682117164134979,
0.07169021666049957,
-0.06805521994829178,
0.036652885377407074,
0.0066262963227927685,
0.016996975988149643,
0.01175483874976635,
-0.035003673285245895,
0.06065059453248978,
0.03283277153968811,
0.012486887164413929,
0.01733355037868023,
-0.09154807031154633,
0.013345150277018547,
-0.07397891581058502,
0.000926629698369652,
-0.038874272257089615,
-0.01262993086129427,
-0.010366472415626049,
-0.013866839930415154,
-0.031486477702856064,
-0.0072489576414227486,
-0.005473530851304531,
0.06842544674873352,
0.048634909093379974,
0.03974936157464981,
0.03385932371020317,
0.008978105150163174,
0.04802907630801201,
-0.07061317563056946,
-0.04681741073727608,
-0.029164116829633713,
0.010055141523480415,
-0.04193709418177605,
0.014043540693819523,
0.06341049820184708,
0.04567306116223335,
0.007509802468121052,
-0.0023412914015352726,
0.024048196151852608,
0.027245646342635155,
0.051697731018066406,
-0.017855238169431686,
0.05368351563811302,
-0.0747193768620491,
-0.07182484120130539,
-0.003451984841376543,
0.02638738416135311,
-0.0022066617384552956,
-0.013706967234611511,
0.01686234585940838,
-0.059708189219236374,
-0.006916590966284275,
0.038234781473875046,
-0.026942729949951172,
-0.04765884578227997,
-0.08380687236785889,
-0.03581145033240318,
-0.002688382985070348,
-0.013984640128910542,
0.002957642078399658,
0.001412558020092547,
0.008485866710543633,
-0.002052048221230507,
-0.022533614188432693,
0.03709043189883232,
0.024182826280593872,
0.02194461040198803,
0.01733355037868023,
-0.051125556230545044,
0.03927816078066826,
-0.018040355294942856,
0.019891509786248207,
-0.04419213533401489,
-0.02527669072151184,
-0.02988775074481964,
0.07896021008491516,
-0.007324686739593744,
0.02048051357269287,
-0.01953810825943947,
0.011418265290558338,
0.008952862583100796,
0.03810015320777893,
-0.03347226232290268,
0.03746066242456436,
0.009558695368468761,
-0.013664895668625832,
-0.0020762395579367876,
0.0024086060002446175,
0.02988775074481964,
-0.013134791515767574,
-0.01788889616727829,
0.05654439330101013,
0.013866839930415154,
0.0317893922328949,
-0.05920332670211792,
0.0035487497225403786,
-0.03209231048822403,
0.09181732684373856,
-0.034465156495571136,
-0.06755035370588303,
-0.039412789046764374,
0.016391143202781677,
0.002265562303364277,
-0.004285004921257496,
0.06485776603221893,
-0.08730723708868027,
0.03234473988413811,
-0.0516304187476635,
0.04442773759365082,
-0.04298046976327896,
0.0068198260851204395,
-0.010257085785269737,
-0.01272248849272728,
0.03249619901180267,
0.011897883377969265,
-0.022802872583270073,
0.05755411460995674,
-0.0070680491626262665,
0.0009397770627401769,
-0.03608071058988571,
0.0069544557482004166,
-0.01613871194422245,
-0.036383625119924545,
0.042946815490722656,
-0.04557209089398384,
0.03153696283698082,
-0.01254578772932291,
-0.010088798590004444,
-0.0003318407107144594,
0.03698945790529251,
0.027868308126926422,
0.009238949976861477,
-0.019571764394640923,
0.002145657781511545,
-0.04600963369011879,
-0.05590490251779556,
0.04930805787444115,
0.015204720199108124,
-0.062468092888593674,
-0.0024464705493301153,
-0.017754266038537025,
-0.023812593892216682,
-0.00936516560614109,
0.0007793786353431642,
-0.03374152258038521,
-0.030409440398216248,
0.012091413140296936,
-0.015145819634199142,
-0.01798986829817295,
-0.057049255818128586,
0.0015293071046471596,
-0.01167069561779499,
0.05206796154379845,
0.01388366799801588,
-0.01881447434425354,
-0.003033371176570654,
-0.004287108313292265,
0.01881447434425354,
-0.0034582954831421375,
-0.034246381372213364,
-0.005751204211264849,
-0.008586838841438293,
0.001954231411218643,
0.03608071058988571,
-0.013437707908451557,
0.02684175781905651,
-0.021507063880562782,
0.02037954144179821,
0.012268113903701305,
0.005704925395548344,
0.00015776895452290773,
-0.008944448083639145,
-0.017173677682876587,
0.06445387750864029,
0.009003348648548126,
-0.026421042159199715,
-0.01045903004705906,
0.016500528901815414,
-0.05560198798775673,
0.013134791515767574,
-0.006445387843996286,
0.0015261516673490405,
0.0332198329269886,
0.03249619901180267,
0.06394901871681213,
0.004968670196831226,
-0.04203806445002556,
0.04499991238117218,
0.02112000435590744,
-0.00406623212620616,
0.05910235643386841,
0.015297277830541134,
-0.05051972344517708,
-0.04028788208961487,
-0.017055876553058624,
0.012108241207897663,
0.0654972568154335,
-0.00841013714671135,
0.06788693368434906,
0.008300750516355038,
0.038874272257089615,
-0.05237087979912758,
0.01056000217795372,
0.04372093454003334,
0.08172011375427246,
0.034633442759513855,
0.0066851964220404625,
0.026993216946721077,
-0.050957269966602325,
0.05105824023485184,
-0.018040355294942856,
0.003075442975386977,
0.05640976503491402,
0.0015640162164345384,
0.011923125945031643,
0.013681723736226559,
-0.01609664037823677,
0.030459927394986153,
-0.0636797621846199,
0.0350709892809391,
0.1088479608297348,
-0.03826843947172165,
0.016719302162528038,
-0.010172942653298378,
-0.029988722875714302,
-0.05152944475412369,
0.009668081998825073,
-0.019487621262669563,
0.05550101399421692,
-0.0027746299747377634,
-0.016996975988149643,
-0.011822153814136982,
0.08077770471572876
]
|
40,690 | pyglove.core.symbolic.dict | sym_setparent | Override set parent of Dict to handle the passing through scenario. | def sym_setparent(self, parent: base.Symbolic):
"""Override set parent of Dict to handle the passing through scenario."""
super().sym_setparent(parent)
# NOTE(daiyip): when flag `as_object_attributes_container` is on, it sets
# the parent of child symbolic values using its parent.
if self._as_object_attributes_container:
for v in self.sym_values():
if isinstance(v, base.TopologyAware):
v.sym_setparent(parent)
| (self, parent: pyglove.core.symbolic.base.Symbolic) | [
0.03530025854706764,
-0.00546775059774518,
0.024162082001566887,
0.05896887555718422,
-0.061013225466012955,
0.00017843989189714193,
0.013949153013527393,
0.059497587382793427,
0.09051528573036194,
-0.004269339609891176,
-0.04772495850920677,
-0.034278083592653275,
0.022540703415870667,
0.021465657278895378,
-0.05198989436030388,
-0.008393283933401108,
0.014856773428618908,
0.03641054779291153,
-0.0061550745740532875,
-0.019738536328077316,
0.030929580330848694,
-0.05819343402981758,
0.01596706546843052,
-0.026770388707518578,
-0.011790250428020954,
0.033044423907995224,
-0.04254359379410744,
0.02805691957473755,
0.007657494395971298,
-0.05844016373157501,
-0.03366125375032425,
-0.014284002594649792,
-0.008789816871285439,
0.010054316371679306,
0.1034158319234848,
-0.022822681814432144,
-0.06136569753289223,
0.0373622290790081,
-0.04603308439254761,
0.017570821568369865,
0.00334189273416996,
-0.004212062805891037,
-0.058017197996377945,
-0.013869846239686012,
0.037467971444129944,
0.07331456243991852,
0.031088193878531456,
0.03135254979133606,
0.0691201239824295,
-0.042191121727228165,
0.030383246019482613,
-0.055655620992183685,
0.04571586102247238,
0.04726674407720566,
-0.0760638564825058,
0.007313832640647888,
-0.01920982450246811,
-0.0017139040865004063,
-0.013869846239686012,
-0.021659517660737038,
0.01596706546843052,
-0.02113080769777298,
-0.041838645935058594,
-0.033890362828969955,
-0.0079570971429348,
-0.06845042109489441,
-0.0007363398908637464,
-0.025325246155261993,
-0.009428675286471844,
-0.010794511996209621,
-0.06256411224603653,
-0.093546561896801,
-0.005789383314549923,
0.0053664143197238445,
0.011887180618941784,
-0.012019358575344086,
-0.02761632762849331,
0.004502853378653526,
0.05223662406206131,
-0.07627534121274948,
-0.05741799250245094,
-0.03181076422333717,
-0.049804557114839554,
0.00840650126338005,
-0.06263460218906403,
0.07289159297943115,
0.03873687610030174,
0.06274034827947617,
0.016927557066082954,
0.0015343627892434597,
0.005353196524083614,
0.05308256298303604,
-0.010970748960971832,
0.082196906208992,
0.0374327227473259,
0.06520766019821167,
0.026911379769444466,
-0.0486413910984993,
-0.006353341042995453,
-0.012072229757905006,
0.022135358303785324,
-0.023069413378834724,
-0.006265223026275635,
-0.03598758205771446,
-0.03244521841406822,
-0.029466815292835236,
0.008084869012236595,
-0.01975615881383419,
0.03316779062151909,
0.0028638499788939953,
-0.08381828665733337,
-0.015588155947625637,
-0.036727774888277054,
0.034419070929288864,
0.022100111469626427,
-0.01520924735814333,
-0.0018471833318471909,
-0.023069413378834724,
0.049557823687791824,
0.00008997721306513995,
-0.008595956489443779,
0.055655620992183685,
0.023333769291639328,
-0.015050633810460567,
-0.004476417787373066,
0.08191492408514023,
0.020284870639443398,
0.02884998545050621,
-0.011138173751533031,
0.016486965119838715,
0.03184601292014122,
-0.03283293917775154,
-0.04659704491496086,
-0.02566009759902954,
0.0345953106880188,
0.020760709419846535,
0.013861034065485,
0.02137753926217556,
-0.03725648671388626,
-0.009093825705349445,
0.06651181727647781,
-0.00862679723650217,
0.027017120271921158,
-0.0009395631495863199,
-0.017764681950211525,
0.020707838237285614,
-0.030629977583885193,
0.01299747359007597,
-0.07077675312757492,
-0.027545832097530365,
-0.023562876507639885,
0.014751031063497066,
0.019950021058321,
0.021359914913773537,
-0.03877212479710579,
0.02019675262272358,
-0.06654706597328186,
-0.015737958252429962,
0.031000075861811638,
-0.01773824729025364,
-0.019350815564393997,
-0.05248335748910904,
0.04599783942103386,
-0.05710076540708542,
-0.010477285832166672,
-0.013358758762478828,
-0.010768076404929161,
-0.07067100703716278,
0.012036981992423534,
-0.007824919186532497,
-0.0010833063861355186,
-0.07303258031606674,
-0.004185627214610577,
0.03336165100336075,
0.02491990104317665,
0.012125100940465927,
0.03322065994143486,
-0.03593470901250839,
0.008534273132681847,
0.045927342027425766,
0.05769997090101242,
0.018857350572943687,
-0.01705092191696167,
0.06982506811618805,
0.050403762608766556,
-0.03559986129403114,
0.023404264822602272,
0.002562044421210885,
0.08790697902441025,
0.03512401878833771,
-0.002440881449729204,
0.049170102924108505,
-0.00556468078866601,
-0.000032906740671023726,
0.05784095823764801,
0.0038199354894459248,
0.026329796761274338,
-0.03154641017317772,
-0.08790697902441025,
0.07239813357591629,
-0.018504876643419266,
-0.03665728121995926,
0.0024717228952795267,
0.0038706036284565926,
0.022575950250029564,
0.012618564069271088,
0.014610040932893753,
-0.03577609732747078,
-0.008560708723962307,
0.004599784035235643,
0.009798773564398289,
-0.0022073674481362104,
0.04881763085722923,
-0.04476417973637581,
0.014275191351771355,
-0.08586262911558151,
-0.06143619492650032,
0.004386096727102995,
-0.002443084493279457,
0.0035357533488422632,
-0.0025576383341103792,
0.024003470316529274,
0.007710365578532219,
-0.029572555795311928,
-0.02610068954527378,
-0.07514742761850357,
0.005895125214010477,
-0.05692452937364578,
-0.011675696820020676,
0.009657783433794975,
-0.016795380041003227,
-0.0374327227473259,
-0.035405997186899185,
-0.020848829299211502,
0.030383246019482613,
0.0066441320814192295,
-0.012979850172996521,
-0.004908198490738869,
-0.03866638243198395,
0.023474758490920067,
-0.012398268096148968,
0.026171183213591576,
-0.0000922490144148469,
0.0017722826451063156,
-0.03522976115345955,
0.010820947587490082,
0.04039350524544716,
0.02909671701490879,
0.0075429403223097324,
0.005458938889205456,
0.08050502836704254,
-0.04931109398603439,
-0.04159191623330116,
0.022628821432590485,
0.017570821568369865,
-0.05470394343137741,
0.00015351889305748045,
-0.016037560999393463,
0.013402818702161312,
-0.032762445509433746,
-0.0429665632545948,
0.0380319282412529,
-0.0059656198136508465,
0.01784398965537548,
0.03866638243198395,
0.015570532530546188,
0.029466815292835236,
0.001252383692190051,
-0.09742377698421478,
-0.005771759431809187,
0.04821842536330223,
-0.00009114753629546613,
0.001876923255622387,
0.02948443777859211,
-0.0050051286816596985,
-0.011490647681057453,
-0.025096138939261436,
0.019104082137346268,
-0.04846515506505966,
-0.030383246019482613,
0.02687613107264042,
0.01705973409116268,
-0.012028170749545097,
0.003037884132936597,
-0.04264933615922928,
-0.04197963699698448,
-0.012407079339027405,
-0.012812424451112747,
-0.012063417583703995,
-0.012768365442752838,
-0.005053593777120113,
0.04733723774552345,
-0.03598758205771446,
0.013508560135960579,
0.004736367613077164,
-0.012451139278709888,
-0.012001735158264637,
0.02187100239098072,
-0.009411051869392395,
-0.013305888511240482,
0.09869267791509628,
0.001207222929224372,
0.050157029181718826,
0.05710076540708542,
0.0009527808870188892,
0.020972194150090218,
0.060519762337207794,
0.02684088423848152,
-0.03704500198364258,
-0.019950021058321,
-0.0030180574394762516,
0.07874266058206558,
-0.051919400691986084,
0.022100111469626427,
-0.04719625040888786,
-0.0007005417719483376,
0.006238787434995174,
-0.06749874353408813,
0.022329218685626984,
0.09996158629655838,
-0.06848566979169846,
-0.027263853698968887,
-0.05406948924064636,
-0.015667462721467018,
0.01950942724943161,
0.023263273760676384,
0.05910986661911011,
-0.015993501991033554,
-0.0025025643408298492,
0.015006574802100658,
-0.02005576156079769,
0.021113183349370956,
0.0012358614476397634,
-0.01066233403980732,
-0.03406659886240959,
0.06196490302681923,
-0.02599494718015194,
0.000701643293723464,
-0.014751031063497066,
-0.021941497921943665,
0.04451744630932808,
0.026576528325676918,
-0.014927268028259277,
-0.054280973970890045,
-0.04874713346362114,
-0.018452007323503494,
0.009049766696989536,
0.025677720084786415,
0.030242256820201874,
-0.0007446010131388903,
-0.07712128013372421,
0.06168292462825775,
0.004295775201171637,
0.011975299566984177,
-0.00526067242026329,
0.011614013463258743,
-0.037820443511009216,
-0.010776888579130173,
-0.04712575301527977,
-0.044799428433179855,
0.06471420079469681,
-0.043953489512205124,
-0.0060008675791323185,
0.010900254361331463,
-0.05294157192111015,
-0.021888626739382744,
0.008534273132681847,
0.0032559772953391075,
0.019791407510638237,
-0.015218058601021767,
-0.015420731157064438,
-0.03454243764281273,
0.05181365832686424,
-0.01351737231016159,
-0.013376383110880852,
0.07888364791870117,
-0.009772337973117828,
-0.003947707358747721,
0.009825209155678749,
-0.03218086436390877,
0.07874266058206558,
-0.01518281176686287,
0.019826654344797134,
0.026417914777994156,
-0.0011378296185284853,
-0.04071073234081268,
0.07747375220060349,
-0.0035665947943925858,
0.03434857726097107,
-0.005970025900751352,
0.012327773496508598,
0.0007159624947234988,
0.02987215854227543,
0.04374200478196144,
0.03480679169297218,
-0.02255832776427269,
0.0155793447047472,
0.0007060492062009871,
-0.010477285832166672,
-0.04159191623330116,
0.027351971715688705,
-0.0984107032418251,
0.013993212021887302,
-0.0367630235850811,
0.06556013971567154,
-0.04913485422730446,
0.016187362372875214,
0.013966776430606842,
0.020813580602407455,
-0.06517241895198822,
-0.006741062738001347,
-0.010829758830368519,
0.0221177339553833,
-0.01896309293806553,
-0.01331469975411892,
-0.03558223694562912,
0.04599783942103386,
0.052025143057107925,
0.05435146763920784,
-0.006207945756614208,
0.05773521959781647,
0.023087037727236748,
-0.018504876643419266,
0.0104420380666852,
0.040675483644008636,
-0.0135614313185215,
-0.014442616142332554,
-0.035265009850263596,
0.025325246155261993,
0.01931556686758995,
0.006379776634275913,
0.004789238329976797,
0.05361127480864525,
-0.031334925442934036,
-0.0069305170327425,
0.0135614313185215,
0.021342292428016663,
-0.012142724357545376,
-0.03926558792591095,
0.07197516411542892,
0.016971616074442863,
-0.0333264023065567,
-0.05442196503281593,
0.01989714987576008,
0.0455043762922287,
0.0710587278008461,
-0.020972194150090218,
0.05368176847696304,
-0.0016445108922198415,
0.02324565127491951,
0.03237472474575043,
-0.06728725880384445,
0.042191121727228165,
0.011473024263978004,
-0.08818896114826202,
0.023968221619725227,
0.026999497786164284,
-0.025219503790140152,
0.010168870911002159,
0.02536049485206604,
-0.007027447689324617,
-0.036040451377630234,
0.02550148405134678,
0.009040954522788525,
-0.04190914332866669,
0.06136569753289223,
-0.03648104518651962,
-0.016381222754716873,
-0.03591708466410637,
-0.028127413243055344,
0.03997053578495979,
-0.009957386180758476,
-0.012380644679069519,
-0.01887497492134571,
-0.037185993045568466,
-0.031070571392774582,
0.0027537019923329353,
-0.044446952641010284,
-0.0691906213760376,
-0.010776888579130173,
-0.04635031148791313,
-0.014151825569570065,
0.02865612506866455,
-0.03729173541069031,
0.015200435183942318,
-0.021976744756102562,
0.0073402682319283485,
-0.04254359379410744,
-0.024250201880931854,
0.05995580181479454,
-0.040076278150081635,
0.024408815428614616,
-0.02692900225520134,
0.09432200342416763,
0.05019227787852287,
0.03279769420623779,
0.053787510842084885,
-0.04039350524544716,
0.03156403452157974,
-0.046561796218156815,
-0.01720072515308857,
0.02412683516740799,
-0.02574821561574936,
0.01351737231016159,
0.025889204815030098,
0.022487832233309746,
-0.0666528046131134,
-0.0035599858965724707,
-0.01862824335694313,
0.05741799250245094,
0.03417234122753143,
-0.010970748960971832,
0.07296209037303925,
-0.03256858512759209,
-0.028268402442336082,
-0.025466235354542732,
0.004247310105711222,
0.019245073199272156,
0.011825498193502426,
-0.04553962126374245,
0.0267880130559206,
-0.04377725347876549,
0.021448034793138504,
-0.01329707633703947,
0.023333769291639328,
-0.004872951190918684,
-0.0037868910003453493,
-0.0221177339553833,
0.008763381280004978,
-0.0034410259686410427,
0.025466235354542732,
-0.018645867705345154,
-0.027017120271921158,
0.09065627306699753,
0.03547649458050728,
0.0436362624168396,
0.011050055734813213,
0.008917588740587234,
-0.033344026654958725,
-0.0411689467728138,
0.007604623679071665,
0.004355255048722029,
0.024602675810456276,
0.04575110599398613,
0.08304283767938614,
-0.012785988859832287,
-0.048676639795303345,
-0.03376699611544609,
-0.0636567771434784,
-0.0013823583722114563,
-0.025836333632469177,
-0.004425749648362398,
0.019051212817430496,
0.060237783938646317,
-0.02536049485206604,
-0.026365043595433235,
0.06704052537679672,
-0.007199278566986322,
-0.0010442037601023912,
0.023915350437164307,
0.05495067313313484,
0.032762445509433746,
0.03475392237305641,
-0.054844930768013,
0.0654543936252594,
-0.01945655606687069,
-0.020531602203845978,
0.03637530282139778,
0.005802600644528866,
0.05999105051159859,
0.0027625139337033033,
-0.014424992725253105,
-0.011904804967343807,
-0.009860455989837646,
0.012371832504868507,
0.0024518962018191814,
-0.012944602407515049,
0.05960332974791527,
-0.03662203252315521,
-0.029167212545871735,
-0.016892310231924057,
0.014557170681655407,
0.006124233361333609,
0.02335139364004135,
0.021747637540102005,
0.03168740123510361,
0.025589602068066597,
0.10553067177534103,
-0.002793355379253626,
-0.024655546993017197,
-0.07944760471582413,
-0.028867609798908234,
-0.007930661551654339,
0.02668227069079876,
-0.014671724289655685,
-0.03036562353372574,
-0.016989240422844887,
-0.03792618587613106,
0.036586787551641464,
0.021694766357541084,
-0.0380319282412529,
-0.012697870843112469,
0.03817291930317879,
0.05061524733901024,
-0.012001735158264637,
-0.047407735139131546,
0.01803785003721714,
0.019685665145516396,
-0.048923369497060776,
-0.020549226552248,
0.03799668326973915,
0.01329707633703947,
0.017526762560009956,
-0.03374937176704407,
-0.055655620992183685,
-0.04776020720601082,
-0.058651648461818695,
0.006626508664339781,
0.020513977855443954,
-0.06288133561611176,
0.014918455854058266,
-0.06704052537679672,
-0.02349238283932209,
-0.030894333496689796,
-0.06749874353408813,
0.05579661205410957,
0.02506089210510254,
0.01901596412062645,
0.01061827503144741,
-0.033344026654958725,
0.04709050804376602,
-0.029554933309555054,
-0.02280505932867527,
-0.015702709555625916,
-0.006542795803397894,
-0.010283424519002438,
0.01656627096235752,
-0.017914483323693275,
-0.026506034657359123,
0.02030249498784542,
0.003225135849788785,
-0.04113369807600975,
0.0449051707983017,
0.040182020515203476,
-0.044693686068058014,
0.000046571985876653343,
0.017112605273723602,
-0.01056540384888649,
-0.04208537936210632,
-0.0022822681348770857,
0.014380933716893196,
-0.005362008698284626,
-0.06922586262226105,
-0.045292891561985016,
0.08522817492485046,
0.02673514187335968,
-0.049064360558986664,
0.010406790301203728,
-0.017094982787966728,
0.021694766357541084,
-0.0029475626070052385,
0.02560722641646862,
-0.024144459515810013,
0.01926269568502903,
0.03947707265615463,
0.022787434980273247,
0.006397400517016649,
-0.01813478022813797,
0.04123944044113159,
0.01287410780787468,
-0.024408815428614616,
-0.048042185604572296,
-0.06548964232206345,
-0.0099750105291605,
0.005868689622730017,
-0.05234236642718315,
0.015464790165424347,
0.02335139364004135,
0.041450925171375275,
-0.02796879969537258,
-0.0872725248336792,
-0.006318093743175268,
0.011261539533734322,
-0.0022800653241574764,
0.022664068266749382,
0.03866638243198395,
0.01912170648574829,
0.009217191487550735,
0.012644999660551548,
-0.07289159297943115,
0.039829544723033905,
-0.06668805330991745,
0.04201488196849823,
0.00849902629852295,
-0.052166130393743515,
-0.04994554445147514,
-0.019685665145516396,
-0.029308201745152473,
0.0023924163542687893,
0.05435146763920784,
0.03360838070511818,
0.0010282322764396667,
-0.009137884713709354,
-0.0018659085035324097,
0.04627981781959534,
-0.01912170648574829,
0.01735052652657032,
0.02423257753252983,
0.0467027872800827,
0.011437776498496532,
0.02865612506866455,
-0.011420153081417084,
-0.0109090656042099,
-0.07775573432445526,
0.010063128545880318,
0.05371701717376709,
-0.02451455593109131,
0.0043420372530817986,
-0.007556158117949963,
-0.024496933445334435,
-0.04765446484088898,
0.03838440403342247,
0.06496093422174454,
0.025149010121822357,
0.04250834882259369,
0.021060312166810036,
0.003346298588439822,
-0.004040231462568045,
-0.014706972055137157,
0.04927584528923035,
-0.0386311337351799,
0.018733985722064972,
-0.08149195462465286,
-0.005141712259501219,
0.02157139964401722,
0.01931556686758995,
-0.025078514590859413,
0.016583895310759544,
-0.0449051707983017,
0.008573926985263824,
-0.0072785853408277035,
0.025378117337822914,
-0.061753418296575546,
0.012768365442752838,
0.005771759431809187,
-0.006701409351080656,
-0.021853379905223846,
0.029114341363310814,
0.001277717761695385,
0.012354209087789059,
0.02500802092254162,
0.05692452937364578,
0.0015784220304340124,
-0.002324124565348029,
0.0029343448113650084,
-0.013631926849484444,
0.016011124476790428,
0.03151116147637367,
0.04969881474971771,
0.002614915370941162,
-0.05107346177101135,
-0.046667538583278656,
-0.02756345644593239,
0.031581658869981766,
0.047301992774009705,
-0.007820514030754566,
0.0075781880877912045,
-0.011816686019301414
]
|
40,692 | pyglove.core.symbolic.dict | sym_values | Iterates the values of symbolic attributes. | def sym_values(self) -> Iterator[Any]:
"""Iterates the values of symbolic attributes."""
for k in self.sym_keys():
yield self._sym_getattr(k)
| (self) -> Iterator[Any] | [
0.10334461182355881,
-0.06038189306855202,
0.012057445012032986,
-0.009957504458725452,
0.007280941121280193,
-0.006446128711104393,
-0.020947765558958054,
-0.020913340151309967,
0.08365336060523987,
0.042825013399124146,
-0.025336986407637596,
0.023409171029925346,
0.05893603339791298,
0.04420202597975731,
-0.023288683965802193,
0.0367661714553833,
-0.0012791133485734463,
0.041000474244356155,
-0.035698987543582916,
0.033616259694099426,
-0.030552411451935768,
0.03514818474650383,
-0.05273948609828949,
-0.04502823203802109,
0.002911085495725274,
-0.002315098186954856,
0.034855566918849945,
-0.003965358715504408,
0.03556128591299057,
0.0036985629703849554,
-0.03962346538901329,
0.0077628945000469685,
0.01132590789347887,
-0.030845025554299355,
0.07298153638839722,
-0.05060512199997902,
-0.03146468102931976,
0.019742881879210472,
-0.022875580936670303,
0.010620190761983395,
0.0748405009508133,
-0.014544669538736343,
0.008141572587192059,
-0.01049109548330307,
-0.022514116019010544,
-0.021223168820142746,
-0.00762949651107192,
-0.005430583376437426,
0.03248022496700287,
-0.08861059695482254,
0.024820607155561447,
0.008464309386909008,
0.03416706249117851,
-0.008055509068071842,
0.04020869359374046,
0.019536331295967102,
-0.02661072090268135,
0.0078102289699018,
-0.018159320577979088,
0.03325479477643967,
-0.0036985629703849554,
-0.03872840851545334,
0.004729168955236673,
-0.044752828776836395,
0.021894460543990135,
-0.0444774255156517,
-0.02962292917072773,
-0.004875476472079754,
-0.017186807468533516,
-0.015233173966407776,
-0.031051578000187874,
-0.056629542261362076,
-0.02645580656826496,
-0.001032219734042883,
-0.03144746646285057,
-0.048298630863428116,
-0.0024011614732444286,
0.010749285109341145,
0.006295518018305302,
-0.10423966497182846,
-0.042721737176179886,
0.0372825488448143,
-0.0624818317592144,
-0.03077617660164833,
-0.06940130889415741,
0.052085407078266144,
0.015723733231425285,
-0.01926092803478241,
-0.002986390609294176,
0.10678713023662567,
-0.037248123437166214,
0.012530791573226452,
-0.005512343719601631,
0.06420309841632843,
-0.019398629665374756,
0.0037028661463409662,
0.006239577196538448,
-0.03129255399107933,
0.01853799819946289,
0.0028766600880771875,
0.04554460942745209,
-0.0059254467487335205,
0.005224031861871481,
0.04588886350393295,
-0.004587165080010891,
-0.010336182080209255,
-0.03748910129070282,
-0.09088266640901566,
0.05824752897024155,
0.0071647558361291885,
-0.082276351749897,
0.07435854524374008,
0.062240857630968094,
-0.02229035086929798,
-0.03242858871817589,
-0.023667361587285995,
-0.01377010066062212,
-0.00028508412651717663,
-0.002280673012137413,
-0.013322573155164719,
-0.019966647028923035,
0.05566563457250595,
0.03563013672828674,
0.05353126674890518,
0.03370232135057449,
0.0601753406226635,
0.03742025047540665,
0.001295250141993165,
-0.023512447252869606,
0.05284276232123375,
0.016395026817917824,
-0.010155449621379375,
0.046474091708660126,
0.08234520256519318,
-0.0033650684636086226,
-0.007556342985481024,
0.08289600908756256,
-0.015689309686422348,
0.025939427316188812,
0.008950565941631794,
0.04330696910619736,
0.01586143486201763,
-0.031068790704011917,
0.004987358581274748,
-0.046680644154548645,
0.0005007798317819834,
-0.008507340215146542,
0.0521886833012104,
-0.007999568246304989,
-0.04306599125266075,
-0.0076036774553358555,
0.04492495581507683,
0.05669838935136795,
0.05983109027147293,
-0.0208272784948349,
0.03062126226723194,
-0.024407504126429558,
0.005572587717324495,
-0.023667361587285995,
-0.010482489131391048,
-0.06723251938819885,
0.010706253349781036,
-0.023409171029925346,
-0.054323047399520874,
0.017135169357061386,
0.03353019431233406,
0.012487760744988918,
-0.0326523520052433,
0.030225371941924095,
-0.024906670674681664,
-0.019226504489779472,
-0.09494484961032867,
-0.004595771431922913,
0.006940991617739201,
0.01658436469733715,
0.001904146745800972,
-0.0017051257891580462,
0.026731207966804504,
0.054013222455978394,
0.011024687439203262,
-0.009587433189153671,
-0.052980463951826096,
-0.09652841091156006,
-0.02561238780617714,
0.031172066926956177,
0.019605182111263275,
-0.004156849347054958,
-0.00882147066295147,
0.05945241078734398,
-0.015431119129061699,
-0.002407616004347801,
0.006360065191984177,
0.0005233714473433793,
0.05449517443776131,
0.001292022760026157,
-0.041000474244356155,
-0.013795919716358185,
0.020999403670430183,
-0.04327254369854927,
0.04296271502971649,
-0.0009644449455663562,
-0.05852292850613594,
-0.03773007541894913,
0.0483330562710762,
-0.01000053621828556,
-0.015086866915225983,
0.014355330727994442,
-0.04592328518629074,
-0.010387820191681385,
-0.00019417994190007448,
-0.01173901092261076,
-0.010869773104786873,
0.03275562822818756,
-0.0032725506462156773,
-0.009217360988259315,
0.020689576864242554,
0.000992953428067267,
-0.03244579955935478,
-0.003911569248884916,
-0.007947930134832859,
0.03717927262187004,
-0.01843472197651863,
-0.0007406808435916901,
-0.009587433189153671,
0.036215364933013916,
-0.05473615229129791,
0.012995532713830471,
0.018572423607110977,
-0.0748405009508133,
-0.010559946298599243,
0.025130433961749077,
0.020947765558958054,
-0.0037652619648724794,
0.0075864652171730995,
0.044546276330947876,
0.021274806931614876,
0.02628367953002453,
0.04633639007806778,
-0.018675699830055237,
0.00628691166639328,
-0.03507933393120766,
0.023977188393473625,
-0.024218164384365082,
0.016515515744686127,
-0.05263620987534523,
-0.00030525517649948597,
0.044029898941516876,
0.07332579046487808,
-0.013856164179742336,
-0.03304824233055115,
0.023805061355233192,
-0.03201548382639885,
0.036525193601846695,
0.00509063433855772,
0.018520785495638847,
-0.06320476531982422,
-0.027419714257121086,
0.01874455064535141,
0.06898820400238037,
-0.020379750058054924,
0.012788981199264526,
0.018469147384166718,
-0.027058249339461327,
0.0563197135925293,
0.05191328004002571,
0.03409821167588234,
0.02067236416041851,
0.015723733231425285,
-0.0444774255156517,
-0.0033478557597845793,
0.08179440349340439,
-0.03024258464574814,
-0.08310256153345108,
0.03528588265180588,
-0.008606312796473503,
0.053187016397714615,
0.03566456213593483,
0.014071322046220303,
-0.038143180310726166,
-0.027557414025068283,
-0.0067860777489840984,
-0.008016780950129032,
-0.023099344223737717,
-0.010439458303153515,
-0.020861703902482986,
0.0062998211942613125,
-0.02874508500099182,
-0.0367661714553833,
0.034081000834703445,
-0.0171007439494133,
0.10038403421640396,
0.03289332985877991,
0.012134901247918606,
-0.04086277633905411,
0.10348230600357056,
-0.0005075035151094198,
-0.01989779621362686,
-0.010224300436675549,
0.03686944395303726,
0.0401054210960865,
0.04847075417637825,
0.011446396820247173,
0.03502769395709038,
0.052980463951826096,
-0.014432786963880062,
0.013899195939302444,
0.07938463240861893,
0.06062287092208862,
-0.023082131519913673,
0.042205359786748886,
0.024803394451737404,
0.03576783835887909,
-0.0024915277026593685,
0.037144847214221954,
-0.03576783835887909,
-0.07442739605903625,
-0.05019201710820198,
-0.013141839765012264,
0.015646276995539665,
0.04299714043736458,
-0.008236241526901722,
0.0013339784927666187,
0.009897259995341301,
-0.027092672884464264,
-0.044270873069763184,
0.057249195873737335,
0.005796351935714483,
-0.014673763886094093,
0.02754020132124424,
-0.018090469762682915,
0.0037867778446525335,
-0.026782846078276634,
-0.01566348969936371,
0.059693388640880585,
0.034649018198251724,
0.08096819370985031,
-0.015723733231425285,
0.03062126226723194,
-0.014518850483000278,
-0.07026194036006927,
-0.016575759276747704,
-0.019708456471562386,
0.003930933307856321,
-0.023357534781098366,
-0.06165562570095062,
0.0039029628969728947,
-0.025595175102353096,
-0.01920929178595543,
0.04244633764028549,
0.02926146425306797,
0.009372275322675705,
0.03322036936879158,
0.01807325705885887,
0.02879672311246395,
0.007775804027915001,
0.02378784865140915,
-0.04612983763217926,
0.014406967908143997,
-0.03502769395709038,
0.02425258979201317,
0.06575223058462143,
0.03184335678815842,
-0.014536063186824322,
-0.039864443242549896,
0.014493031427264214,
-0.06378999352455139,
-0.050536271184682846,
0.015448331832885742,
0.044029898941516876,
-0.012565216980874538,
-0.029175400733947754,
0.021687909960746765,
-0.009621857665479183,
-0.049331385642290115,
0.013159052468836308,
0.012169326655566692,
0.030741751194000244,
0.0006551555707119405,
0.007478886283934116,
0.005198213271796703,
0.022996068000793457,
-0.044236451387405396,
0.038969386368989944,
0.03952018916606903,
0.019019952043890953,
-0.031998272985219955,
0.0439610481262207,
-0.030122095718979836,
-0.00619654543697834,
0.06100154668092728,
-0.047610122710466385,
-0.04502823203802109,
-0.03447689116001129,
0.02056908793747425,
0.031619593501091,
-0.061931028962135315,
0.040897201746702194,
-0.029347527772188187,
-0.060829419642686844,
-0.023977188393473625,
-0.02499273419380188,
-0.012969713658094406,
-0.03731697425246239,
-0.016489695757627487,
-0.016214294359087944,
-0.06964228302240372,
-0.0003926630306523293,
-0.00712172407656908,
0.008812864311039448,
0.015560214407742023,
-0.00874401442706585,
-0.006476250477135181,
0.002975632669404149,
-0.04754127562046051,
0.06423752009868622,
-0.02545747347176075,
0.03237694874405861,
0.0057016825303435326,
0.05669838935136795,
0.0444774255156517,
0.038349732756614685,
-0.08523692190647125,
-0.02879672311246395,
0.01931256614625454,
-0.018555210903286934,
0.009200149215757847,
0.028521321713924408,
0.010981655679643154,
-0.009234573692083359,
0.033719535917043686,
-0.021687909960746765,
0.016111018136143684,
0.00429455004632473,
-0.018658487126231194,
0.008124359883368015,
-0.01387337688356638,
-0.032049909234046936,
-0.03172286972403526,
-0.011300088837742805,
-0.014381148852407932,
-0.03859070688486099,
0.026232043281197548,
-0.004927114117890596,
-0.020637938752770424,
0.010998868383467197,
-0.001455542747862637,
0.02306491881608963,
0.07318808883428574,
0.05952126160264015,
-0.01593889109790325,
-0.02671399526298046,
-0.02941637858748436,
0.043651219457387924,
-0.060588445514440536,
0.009355062618851662,
0.0660964846611023,
-0.005559678189456463,
-0.07263728231191635,
-0.008967778645455837,
0.03077617660164833,
0.026886122301220894,
-0.016498303040862083,
-0.010680434294044971,
-0.07883382588624954,
-0.015396694652736187,
0.011627129279077053,
-0.0010311439400538802,
0.040897201746702194,
0.006596738938242197,
0.0021300625521689653,
0.017935557290911674,
-0.0006691408343613148,
0.007246515713632107,
-0.04155128076672554,
-0.01977730728685856,
-0.032566290348768234,
-0.05036414414644241,
0.027385288849473,
-0.08764669299125671,
-0.0864073857665062,
-0.025956640020012856,
-0.03993329405784607,
0.00831800140440464,
-0.04310041666030884,
0.04289386421442032,
0.007216393481940031,
0.04650851711630821,
-0.0488494336605072,
-0.03513097018003464,
-0.0021096225827932358,
0.024958308786153793,
0.007853261195123196,
0.011308695189654827,
0.025681238621473312,
0.03223925083875656,
0.020242048427462578,
0.013597974553704262,
0.015999136492609978,
-0.010482489131391048,
0.011368939653038979,
-0.036938294768333435,
-0.028986062854528427,
0.0033306432887911797,
0.0393480621278286,
-0.0013479638146236539,
0.06499487906694412,
-0.025887789204716682,
-0.07139797508716583,
0.006596738938242197,
-0.03528588265180588,
0.03769565001130104,
-0.03745467588305473,
0.012048838660120964,
-0.03306545689702034,
0.007435854524374008,
-0.06991768628358841,
-0.004634499549865723,
-0.030999939888715744,
-0.04482167959213257,
0.013443061150610447,
0.008107147179543972,
-0.07222417742013931,
-0.05387552082538605,
0.0034167063422501087,
-0.04785110056400299,
0.005800655111670494,
-0.059796664863824844,
-0.02540583722293377,
0.015061047859489918,
-0.021016616374254227,
0.04175783321261406,
-0.008042600005865097,
-0.036938294768333435,
0.024803394451737404,
-0.03303103148937225,
-0.0060760569758713245,
0.10313805937767029,
-0.009802591055631638,
-0.04588886350393295,
0.05408207327127457,
0.04134472832083702,
0.037144847214221954,
-0.012177933007478714,
0.03056962415575981,
0.037764500826597214,
-0.04103489965200424,
-0.06079499423503876,
-0.07026194036006927,
0.010112417861819267,
-0.021825609728693962,
-0.023202620446681976,
0.0033370978198945522,
-0.014122960157692432,
-0.016283145174384117,
-0.012513578869402409,
0.0035931356251239777,
0.07236187905073166,
-0.011257058009505272,
-0.055114828050136566,
0.011825074441730976,
0.036731746047735214,
-0.015284812077879906,
-0.014536063186824322,
-0.06258510798215866,
0.0007283092709258199,
0.010155449621379375,
0.014622125774621964,
0.007960839197039604,
-0.007177665363997221,
0.04044967144727707,
-0.01483728364109993,
0.018658487126231194,
0.054770577698946,
0.009905866347253323,
0.05814425274729729,
0.006446128711104393,
-0.041103750467300415,
-0.0036232578568160534,
-0.00809854082763195,
-0.04840190336108208,
0.018210958689451218,
0.03872840851545334,
-0.008249151520431042,
0.005331610795110464,
0.023908337578177452,
0.0035587104503065348,
-0.018469147384166718,
0.051775578409433365,
-0.007272334769368172,
-0.00449249567463994,
-0.0383153073489666,
-0.06936688721179962,
-0.06950458139181137,
-0.04189553111791611,
-0.0326523520052433,
-0.054426323622465134,
-0.05621643736958504,
0.038039904087781906,
-0.06027861684560776,
0.014406967908143997,
0.0017685974016785622,
0.022221500054001808,
0.04392662271857262,
0.02208380028605461,
-0.027161523699760437,
-0.0010236133821308613,
0.04967563971877098,
0.011394758708775043,
0.019501905888319016,
0.011136569082736969,
-0.052980463951826096,
0.003937388304620981,
0.020224835723638535,
-0.02530256099998951,
0.023030493408441544,
0.01666182279586792,
-0.008094237186014652,
0.06854067742824554,
-0.024355866014957428,
0.004496798850595951,
-0.0426873117685318,
-0.05046742036938667,
-0.055527932941913605,
0.037144847214221954,
-0.011179600842297077,
0.0161970816552639,
0.029072126373648643,
0.02810821868479252,
-0.015499969944357872,
-0.0194158423691988,
-0.01666182279586792,
-0.009604645892977715,
0.015276205725967884,
-0.02036253735423088,
-0.0210854671895504,
-0.003220912767574191,
0.003840567311272025,
0.005331610795110464,
-0.04785110056400299,
0.05824752897024155,
-0.005318701732903719,
0.040793925523757935,
-0.027247587218880653,
0.06038189306855202,
-0.018624061718583107,
0.05108707398176193,
-0.02779839187860489,
-0.02864181064069271,
0.01957075670361519,
-0.015396694652736187,
-0.0025108917616307735,
-0.0005303640500642359,
-0.014863102696835995,
-0.011334514245390892,
0.04378892108798027,
-0.03358183428645134,
-0.03900381177663803,
-0.04199880734086037,
0.01437254250049591,
-0.0017148079350590706,
-0.027987729758024216,
-0.019794519990682602,
-0.021309230476617813,
-0.03442525118589401,
-0.0015276205958798528,
0.0027949002105742693,
-0.03910708799958229,
0.042515188455581665,
0.025991065427660942,
-0.018520785495638847,
0.015525789000093937,
0.04995104297995567,
0.015637671574950218,
-0.012892257422208786,
-0.04420202597975731,
0.025423049926757812,
0.0019062983337789774,
0.021378081291913986,
0.06699154525995255,
-0.00020130704797338694,
-0.009785378351807594,
-0.025595175102353096,
0.02843525819480419,
0.02036253735423088,
-0.0488494336605072,
-0.06888493150472641,
0.0196740310639143,
0.029691779986023903,
-0.012461941689252853,
-0.08096819370985031,
-0.04795437678694725,
-0.05411649867892265,
0.0591425821185112,
-0.021412506699562073,
-0.05284276232123375,
0.008959172293543816,
0.0307245384901762,
0.006360065191984177,
0.07387658953666687,
0.039967719465494156,
-0.029072126373648643,
0.009458337910473347,
0.038039904087781906,
0.024132102727890015,
0.055631209164857864,
0.008425580337643623,
0.0122123584151268,
-0.007410035468637943,
0.00023317729937843978,
0.033822812139987946,
-0.0068549285642802715,
0.023202620446681976,
-0.10127909481525421,
-0.05628528818488121,
0.03556128591299057,
-0.004288095515221357,
-0.022376414388418198,
-0.00791780836880207,
0.008761227130889893,
0.05697379261255264,
0.03869398310780525,
0.01460491307079792,
0.025336986407637596,
0.05993436649441719,
-0.05697379261255264,
0.06368671357631683,
-0.047506850212812424,
0.09053841233253479,
0.010973049327731133,
0.02733365073800087,
-0.0070786927826702595,
0.0017352479044348001,
-0.043651219457387924,
0.05008874088525772,
-0.07601095736026764,
0.006902263034135103,
-0.027884455397725105,
0.002123607788234949,
-0.027936091646552086,
0.06568337976932526,
-0.01637781411409378,
0.06533912569284439,
-0.026042703539133072,
0.021360868588089943,
0.010611584410071373,
0.013116021640598774,
-0.04127587750554085,
-0.005310095380991697,
0.030948301777243614,
-0.044959381222724915,
0.022514116019010544,
0.04265288636088371,
0.010732072405517101,
-0.0036748957354575396,
0.05883275717496872,
0.012943894602358341,
0.011549672111868858,
-0.05452959984540939,
-0.005757623352110386,
-0.008072721771895885,
-0.051672305911779404,
-0.002396858297288418,
-0.008976384997367859,
0.06630303710699081,
-0.03051798604428768,
-0.003915872424840927,
0.0030853631906211376,
-0.0019213594496250153
]
|
40,695 | pyglove.core.symbolic.dict | update | Update Dict with the same semantic as update on standard dict. | def update(self,
other: Union[
None,
typing.Dict[str, Any],
Iterable[Tuple[str, Any]]] = None,
**kwargs) -> None: # pytype: disable=signature-mismatch
"""Update Dict with the same semantic as update on standard dict."""
updates = dict(other) if other else {}
updates.update(kwargs)
self.rebind(
updates, raise_on_no_change=False, skip_notification=True)
| (self, other: Union[NoneType, Iterable[Tuple[str, Any]], Dict[str, Any]] = None, **kwargs) -> NoneType | [
0.008759386837482452,
-0.02591429464519024,
-0.04781719669699669,
-0.001934697269462049,
-0.044196296483278275,
-0.032268621027469635,
-0.03734498471021652,
0.032375119626522064,
0.045154768973588943,
-0.03374183177947998,
0.0015663948142901063,
-0.004006953444331884,
0.008107091300189495,
0.03926192969083786,
-0.035854022949934006,
0.0012169511755928397,
-0.0029552944470196962,
0.03631551191210747,
-0.024867072701454163,
-0.04923715814948082,
0.055271994322538376,
-0.04252784326672554,
0.03599601984024048,
0.05914139002561569,
-0.0003635877510532737,
-0.028558971360325813,
-0.013951119966804981,
-0.019062981009483337,
0.030937407165765762,
0.039439424872398376,
0.02094442956149578,
-0.06049035117030144,
-0.007898534648120403,
0.049201659858226776,
0.040362399071455,
-0.017110534012317657,
-0.029765939339995384,
0.03784196823835373,
-0.01506933942437172,
-0.005972712300717831,
0.002356248442083597,
-0.005404727999120951,
-0.028470223769545555,
0.0068779378198087215,
0.028931712731719017,
0.054597511887550354,
-0.03166513890028,
0.04373480752110481,
0.03926192969083786,
0.0030307299457490444,
-0.011643682606518269,
-0.005489037837833166,
0.013037020340561867,
0.04057539626955986,
-0.016143186017870903,
0.04575825482606888,
-0.009149875491857529,
0.04685872420668602,
-0.038658447563648224,
-0.0023806539829820395,
-0.014758722856640816,
-0.05843140929937363,
-0.0451192706823349,
-0.042563341557979584,
-0.014368233270943165,
-0.019879458472132683,
0.010800580494105816,
0.04959214851260185,
0.036280013620853424,
0.012699779123067856,
-0.007383798714727163,
0.006230080500245094,
-0.022488636896014214,
-0.004182229749858379,
-0.029552945867180824,
0.08349372446537018,
-0.04053989425301552,
0.05867990106344223,
0.016418302431702614,
-0.019932707771658897,
0.04849167913198471,
-0.03626226261258125,
-0.042030856013298035,
0.027405254542827606,
-0.02550605498254299,
0.02179640717804432,
-0.05030212923884392,
0.0133920107036829,
0.031203649938106537,
-0.06766115874052048,
-0.01816662959754467,
0.030422670766711235,
-0.0066161323338747025,
-0.026287034153938293,
0.03553453087806702,
-0.024884821847081184,
-0.039758916944265366,
-0.05207708105444908,
-0.03784196823835373,
0.026926016435027122,
-0.0010278079425916076,
-0.0913035124540329,
0.09471142292022705,
0.00753466971218586,
-0.010498839430510998,
-0.030351674184203148,
0.00787191092967987,
-0.03919093310832977,
-0.040078409016132355,
-0.009939729236066341,
-0.004952115006744862,
-0.020997678861021996,
-0.01767851784825325,
0.016125435009598732,
-0.031008405610919,
0.053958531469106674,
-0.04813668876886368,
-0.06538921594619751,
0.0340435728430748,
0.0401139073073864,
-0.05257406830787659,
0.07674890756607056,
0.05995786562561989,
0.00020564478472806513,
0.0178027655929327,
-0.020855681970715523,
-0.018131131306290627,
-0.002473838860169053,
0.01399549376219511,
-0.028132984414696693,
0.015237960033118725,
-0.03242836520075798,
0.013134642504155636,
0.028683219105005264,
0.07145955413579941,
0.00011738254397641867,
0.010383467189967632,
0.010099475271999836,
0.02713901177048683,
0.012060796841979027,
0.01664017140865326,
0.020021455362439156,
0.0049077412113547325,
0.024387836456298828,
-0.03017417900264263,
0.005333729553967714,
-0.06393375992774963,
0.0019291505450382829,
0.00933624617755413,
-0.0159568153321743,
-0.041675865650177,
-0.007383798714727163,
0.005622159224003553,
0.05097661167383194,
-0.046894222497940063,
0.008368897251784801,
-0.01909847930073738,
-0.03805496543645859,
0.029801437631249428,
0.04178236052393913,
-0.003585402388125658,
-0.03239286690950394,
0.07167255133390427,
-0.022364391013979912,
-0.03359983488917351,
0.00783197395503521,
-0.014936218038201332,
-0.04000740870833397,
0.031611889600753784,
0.02591429464519024,
0.029978932812809944,
-0.026429031044244766,
0.030351674184203148,
0.0028310478664934635,
0.05530749261379242,
0.02765374630689621,
-0.03635101020336151,
-0.02539955824613571,
0.02602079138159752,
0.012176168151199818,
0.04352181404829025,
-0.01888548582792282,
-0.04107237979769707,
0.04728471115231514,
0.014368233270943165,
-0.02376660332083702,
-0.022808128967881203,
0.023092120885849,
0.04479977861046791,
0.03858744725584984,
0.05165109410881996,
-0.014004368335008621,
0.011794554069638252,
-0.012380287982523441,
-0.01909847930073738,
0.010356842540204525,
-0.02376660332083702,
-0.08903157711029053,
0.02710351161658764,
0.05711794272065163,
-0.04991164058446884,
-0.040362399071455,
0.0044972836039960384,
0.03972341865301132,
0.012060796841979027,
-0.03331584110856056,
0.05175758898258209,
-0.02016345039010048,
0.016693420708179474,
-0.04164036735892296,
-0.0034678117372095585,
-0.0017438899958506227,
-0.003367970697581768,
-0.04352181404829025,
0.015211335383355618,
-0.008732762187719345,
-0.024991318583488464,
-0.0315408892929554,
-0.054846007376909256,
-0.0379839651286602,
0.10614211112260818,
0.012806275859475136,
0.0060703344643116,
-0.026429031044244766,
0.02245313860476017,
-0.01672004535794258,
-0.003869394538924098,
0.004126762505620718,
0.008990130387246609,
0.025967542082071304,
0.012868399731814861,
0.007721039932221174,
-0.013374260626733303,
-0.020624937489628792,
0.0675191581249237,
-0.05910589173436165,
-0.03489555045962334,
-0.08292574435472488,
0.014882969669997692,
-0.0029397637117654085,
0.05172209069132805,
-0.0012435754761099815,
-0.02213364653289318,
0.024121593683958054,
-0.06577970832586288,
-0.04146287217736244,
-0.025665801018476486,
0.03709648922085762,
0.022914625704288483,
0.027156760916113853,
0.03235736861824989,
0.0033457837998867035,
-0.045829251408576965,
0.05669195577502251,
-0.013817998580634594,
0.04068189114332199,
0.03848095238208771,
-0.016391677781939507,
0.027192259207367897,
-0.03663500398397446,
0.008936882019042969,
0.008515330962836742,
-0.11160895973443985,
0.030635666102170944,
-0.006567321252077818,
0.02007470279932022,
0.03136339411139488,
-0.029890185222029686,
-0.013676002621650696,
0.00137558754067868,
0.018264252692461014,
-0.02710351161658764,
0.05360354110598564,
0.016666796058416367,
0.013489632867276669,
0.03940392658114433,
0.06879712641239166,
-0.043344318866729736,
-0.00960248801857233,
-0.012664279900491238,
0.040610894560813904,
-0.04991164058446884,
0.01664017140865326,
-0.016160935163497925,
0.001548645319417119,
0.009726734831929207,
-0.04004291072487831,
-0.0025093378499150276,
-0.03381282836198807,
-0.05122510343790054,
0.11593984067440033,
0.015530827455222607,
-0.004324226174503565,
0.06386276334524155,
-0.031097153201699257,
0.03826795890927315,
-0.05651446059346199,
-0.0013900090707466006,
0.06389825791120529,
0.018725739791989326,
0.014013242907822132,
0.012877274304628372,
0.0201811995357275,
0.01734127849340439,
0.06173281744122505,
-0.051154106855392456,
0.06368526816368103,
0.021192923188209534,
-0.040078409016132355,
-0.0032281933818012476,
0.007334987632930279,
0.03936842828989029,
-0.0319136306643486,
0.03968792036175728,
-0.0022075960878282785,
-0.012735278345644474,
-0.007153055164963007,
-0.009345120750367641,
-0.04075289145112038,
0.026109538972377777,
-0.03344009071588516,
-0.012264915741980076,
-0.05218357965350151,
-0.032481614500284195,
-0.011315316893160343,
-0.06549571454524994,
0.05260956659913063,
0.02484932355582714,
0.0934334546327591,
0.01986170932650566,
-0.003419000655412674,
-0.04075289145112038,
0.04916616156697273,
0.022151397541165352,
-0.03471805527806282,
0.0364220067858696,
-0.03512629494071007,
0.005355916451662779,
-0.004574937745928764,
-0.026109538972377777,
-0.03091965802013874,
0.009021191857755184,
-0.007707727607339621,
-0.009637987241148949,
-0.03209112584590912,
-0.03784196823835373,
0.024263588711619377,
-0.024707326665520668,
0.08981255441904068,
-0.048207685351371765,
-0.08718562871217728,
0.025133315473794937,
0.0490596629679203,
0.013090268708765507,
0.014661100693047047,
0.0030928533524274826,
0.004614874254912138,
-0.06553121656179428,
-0.022044898942112923,
-0.06428875029087067,
0.01727915368974209,
0.040717389434576035,
-0.004428504500538111,
0.005950525403022766,
-0.024973569437861443,
0.019275974482297897,
0.01744777522981167,
-0.014687725342810154,
-0.06932961195707321,
-0.016862040385603905,
0.020536189898848534,
-0.03304959833621979,
-0.0050275507383048534,
0.05371003597974777,
0.030724413692951202,
0.006678255740553141,
-0.07181454449892044,
0.06141332909464836,
-0.03393707424402237,
-0.041498370468616486,
0.02224014513194561,
-0.014385983347892761,
-0.014172988943755627,
0.00876382365822792,
0.04558075964450836,
-0.005697594955563545,
-0.002855453407391906,
-0.038764942437410355,
0.010117224417626858,
0.002544836839661002,
-0.025665801018476486,
-0.0042177289724349976,
0.020766934379935265,
0.07064307481050491,
-0.0424923412501812,
0.033031851053237915,
-0.044196296483278275,
0.026872768998146057,
-0.04401880130171776,
-0.029215704649686813,
-0.005102986004203558,
-0.04632623866200447,
-0.0074547971598804,
-0.0014421482337638736,
0.04188885912299156,
-0.03331584110856056,
-0.007334987632930279,
0.019329223781824112,
0.0062256427481770515,
0.03388382866978645,
0.04114338010549545,
-0.011767929419875145,
-0.04927265644073486,
0.03361758589744568,
0.01670229434967041,
0.001696188235655427,
0.03308510035276413,
-0.08576566725969315,
0.027032513171434402,
0.09435643255710602,
0.050692617893218994,
0.0014410389121621847,
-0.02007470279932022,
0.037593476474285126,
0.026091789826750755,
-0.03794846683740616,
-0.03840995207428932,
-0.0559464767575264,
0.03894243761897087,
-0.010720708407461643,
-0.005648783873766661,
0.006780315190553665,
0.0020012580789625645,
0.047994691878557205,
0.020553940907120705,
0.04306032881140709,
0.052432071417570114,
-0.03351108729839325,
0.04242134466767311,
-0.002884296467527747,
-0.04369930922985077,
-0.03869394585490227,
-0.006975559983402491,
0.02907370775938034,
-0.07092706859111786,
-0.01648930087685585,
-0.01134194154292345,
-0.027937738224864006,
0.020358694717288017,
-0.00881707202643156,
0.07831086963415146,
0.016036687418818474,
-0.03196687996387482,
0.01388899702578783,
-0.05956737697124481,
-0.05079911649227142,
-0.025204313918948174,
-0.010986951179802418,
0.012131794355809689,
0.05239657312631607,
-0.03684799745678902,
-0.015601824969053268,
-0.05477500706911087,
0.024103842675685883,
0.019577717408537865,
0.03296085074543953,
0.014288361184298992,
-0.020660437643527985,
-0.03319159522652626,
0.009842107072472572,
0.03189587965607643,
-0.034434061497449875,
0.03058241680264473,
-0.03478905186057091,
-0.0250623170286417,
0.018583744764328003,
0.060916341841220856,
0.006846875883638859,
-0.036155764013528824,
-0.0013966651167720556,
0.05427802354097366,
0.07980182766914368,
0.002890952629968524,
-0.02788449078798294,
-0.008120403625071049,
-0.023606857284903526,
-0.0007987282588146627,
0.028771966695785522,
0.06347227096557617,
0.07397998869419098,
0.005915026180446148,
-0.044089797884225845,
0.0067137544974684715,
-0.02310987003147602,
-0.0023873099125921726,
-0.04710721597075462,
-0.027032513171434402,
0.024654079228639603,
0.014936218038201332,
-0.017376776784658432,
-0.01630293019115925,
-0.04714271426200867,
0.02300337329506874,
0.0353570356965065,
-0.022719381377100945,
-0.0390489362180233,
-0.0438058078289032,
0.04522576928138733,
0.004579375497996807,
0.036706000566482544,
-0.006136895157396793,
-0.014900718815624714,
0.07003959268331528,
-0.02926895208656788,
0.08945756405591965,
-0.038125962018966675,
-0.029464198276400566,
0.001336760469712317,
-0.030103180557489395,
-0.057543933391571045,
0.01150168664753437,
0.04206635430455208,
0.029428698122501373,
-0.021973902359604836,
-0.017580896615982056,
-0.041711363941431046,
0.01865474134683609,
-0.023074371740221977,
0.03809046372771263,
-0.03446955978870392,
-0.023677855730056763,
0.018796738237142563,
-0.01897423341870308,
-0.011128947138786316,
0.01555745117366314,
0.05523649603128433,
-0.010188222862780094,
-0.008985692635178566,
-0.0717790424823761,
-0.02570129930973053,
-0.012256041169166565,
0.04238584637641907,
0.028132984414696693,
-0.018140006810426712,
-0.030103180557489395,
-0.0016118779312819242,
-0.0212461706250906,
-0.009771108627319336,
0.031718384474515915,
0.01394224539399147,
-0.12119369953870773,
-0.01876123994588852,
0.03915543481707573,
0.09279447048902512,
-0.10756207257509232,
0.000941279053222388,
-0.029091456905007362,
-0.051473598927259445,
0.025630302727222443,
0.03674149885773659,
0.005591097753494978,
-0.010347967967391014,
0.06340127438306808,
0.05427802354097366,
0.03132789582014084,
0.026979265734553337,
-0.004523908253759146,
0.08732762187719345,
-0.05772142857313156,
0.06169731914997101,
-0.019169477745890617,
0.03468255698680878,
-0.0503731295466423,
-0.039297427982091904,
0.021015428006649017,
0.0022442045155912638,
0.00881707202643156,
-0.009353995323181152,
0.012362537905573845,
-0.0200569536536932,
-0.05253857001662254,
0.08555267006158829,
0.02580779790878296,
-0.032694607973098755,
0.03170063719153404,
0.009504865854978561,
-0.037912968546152115,
0.03837445378303528,
0.024050595238804817,
0.01627630740404129,
-0.05690494924783707,
-0.021086426451802254,
0.024352336302399635,
-0.02113967388868332,
-0.00948711670935154,
-0.009371744468808174,
-0.03961692005395889,
-0.03070666454732418,
0.0018093413673341274,
-0.01984396018087864,
0.0007621198892593384,
-0.011191070079803467,
-0.023092120885849,
-0.03255261480808258,
0.008093779906630516,
0.006434199865907431,
-0.019062981009483337,
0.04476428031921387,
0.01143956370651722,
-0.03500204533338547,
0.026624275371432304,
0.021299419924616814,
0.034451812505722046,
-0.01349850744009018,
0.03951042518019676,
-0.05324855074286461,
-0.011821177788078785,
0.0015985658392310143,
0.005497912876307964,
-0.009753359481692314,
-0.06734166294336319,
-0.01672004535794258,
-0.06524722278118134,
-0.017456648871302605,
-0.043663810938596725,
-0.041036881506443024,
0.0024982444010674953,
0.0001802685292204842,
-0.014811971224844456,
0.0329786017537117,
-0.018725739791989326,
0.015379955992102623,
0.04543876275420189,
-0.0037362731527537107,
0.040610894560813904,
0.00837333407253027,
-0.028913961723446846,
0.022701632231473923,
0.0035587779711931944,
0.04053989425301552,
0.0844167023897171,
0.008049406111240387,
0.05502350255846977,
0.025683550164103508,
-0.03304959833621979,
0.044196296483278275,
-0.013028144836425781,
-0.016631297767162323,
-0.008240212686359882,
-0.010942577384412289,
0.012247166596353054,
-0.019027482718229294,
-0.047781698405742645,
-0.004623749293386936,
-0.034008074551820755,
0.03635101020336151,
-0.04522576928138733,
-0.05779242515563965,
0.018140006810426712,
-0.010631960816681385,
0.00870170071721077,
-0.005599972326308489,
-0.035729777067899704,
0.005129610188305378,
0.05839591100811958,
0.007374924141913652,
-0.024654079228639603,
-0.009451617486774921,
0.08817959576845169,
-0.007441484834998846,
0.009123251773416996,
-0.04348631575703621,
-0.018095633015036583,
0.009904230013489723,
-0.003372408216819167,
-0.05630146712064743,
-0.0076633538119494915,
0.036918994039297104,
0.040362399071455,
0.016862040385603905,
-0.00030534714460372925,
0.006456386763602495,
-0.030635666102170944,
0.00851976778358221,
-0.03418556973338127,
0.08981255441904068,
-0.011315316893160343,
0.03709648922085762,
0.02463632822036743,
-0.0018670272547751665,
0.04479977861046791,
-0.07007509469985962,
-0.008528642356395721,
-0.030777661129832268,
0.01731465384364128,
-0.10947901755571365,
-0.03363533318042755,
-0.10486414283514023,
-0.06531821936368942,
0.014323859475553036,
0.03352883830666542,
0.02992568537592888,
0.020660437643527985,
-0.056762952357530594,
0.029552945867180824,
0.01057871151715517,
-0.06641869246959686,
0.02818623185157776,
0.08533967286348343,
-0.0009629112901166081,
0.0012957147555425763,
0.03752247989177704,
0.004912178497761488,
-0.0440542995929718,
0.030298424884676933,
0.044657785445451736,
0.019258225336670876,
-0.023571357131004333,
0.0170217864215374,
-0.033138345927000046,
-0.03890693932771683,
0.06404025852680206,
-0.00791628472507,
-0.011670307256281376,
0.023518109694123268,
-0.0019180570961907506,
0.02854122221469879,
-0.046184241771698,
-0.0037096489686518908,
0.034753553569316864,
0.01973746158182621,
-0.0021942839957773685,
0.000107259773358237,
-0.06041935458779335,
0.0048811170272529125,
-0.026819519698619843,
-0.03166513890028,
0.013924495317041874,
0.04955665022134781,
0.04156936705112457,
-0.020766934379935265,
0.022914625704288483,
0.0501246340572834,
0.0354812853038311,
0.029375450685620308,
-0.046184241771698,
-0.013427508994936943,
-0.03036942332983017,
0.013214515522122383,
0.050728119909763336,
-0.00006215797475306317,
0.021778656169772148,
-0.017332402989268303,
0.040717389434576035,
0.05122510343790054,
-0.019471218809485435,
-0.011563810519874096,
-0.02591429464519024,
0.033688582479953766,
-0.015433204360306263,
-0.022506387904286385,
0.021068675443530083,
0.03484230116009712,
-0.030937407165765762,
-0.000279554893495515,
0.016782168298959732,
-0.0006767003214918077,
0.036706000566482544
]
|
40,696 | pyglove.core.symbolic.dict | use_value_spec | Applies a ``pg.typing.Dict`` as the value spec for current dict.
Args:
value_spec: A Dict ValueSpec to apply to this Dict.
If current Dict is schema-less (whose immediate members are not
validated against schema), and `value_spec` is not None, the value spec
will be applied to the Dict.
Or else if current Dict is already symbolic (whose immediate members
are under the constraint of a Dict value spec), and `value_spec` is
None, current Dict will become schema-less. However, the schema
constraints for non-immediate members will remain.
allow_partial: Whether allow partial dict based on the schema. This flag
will override allow_partial flag in __init__ for spec-less Dict.
Returns:
Self.
Raises:
ValueError: validation failed due to value error.
RuntimeError: Dict is already bound with another spec.
TypeError: type errors during validation.
KeyError: key errors during validation.
| def use_value_spec(self,
value_spec: Optional[pg_typing.Dict],
allow_partial: bool = False) -> 'Dict':
"""Applies a ``pg.typing.Dict`` as the value spec for current dict.
Args:
value_spec: A Dict ValueSpec to apply to this Dict.
If current Dict is schema-less (whose immediate members are not
validated against schema), and `value_spec` is not None, the value spec
will be applied to the Dict.
Or else if current Dict is already symbolic (whose immediate members
are under the constraint of a Dict value spec), and `value_spec` is
None, current Dict will become schema-less. However, the schema
constraints for non-immediate members will remain.
allow_partial: Whether allow partial dict based on the schema. This flag
will override allow_partial flag in __init__ for spec-less Dict.
Returns:
Self.
Raises:
ValueError: validation failed due to value error.
RuntimeError: Dict is already bound with another spec.
TypeError: type errors during validation.
KeyError: key errors during validation.
"""
if value_spec is None:
self._value_spec = None
self._accessor_writable = True
return self
if not isinstance(value_spec, pg_typing.Dict):
raise ValueError(
self._error_message(
f'Value spec for list must be a `pg.typing.Dict` object. '
f'Encountered: {value_spec!r}'))
if self._value_spec and self._value_spec != value_spec:
raise RuntimeError(
self._error_message(
f'Dict is already bound with a different value spec: '
f'{self._value_spec}. New value spec: {value_spec}.'))
self._allow_partial = allow_partial
if flags.is_type_check_enabled():
# NOTE(daiyip): self._value_spec will be set in Dict.custom_apply method
# called by value_spec.apply, thus we don't need to set self._value_spec
# explicitly.
value_spec.apply(
self,
allow_partial=base.accepts_partial(self),
child_transform=base.symbolic_transform_fn(self._allow_partial),
root_path=self.sym_path)
else:
self._value_spec = value_spec
return self
| (self, value_spec: Optional[pyglove.core.typing.value_specs.Dict], allow_partial: bool = False) -> pyglove.core.symbolic.dict.Dict | [
0.10713990032672882,
-0.041822824627161026,
-0.045649249106645584,
-0.011727992445230484,
-0.02450825273990631,
0.03650409355759621,
0.00813115295022726,
-0.007605019491165876,
0.02303507924079895,
-0.031223628669977188,
0.01428213156759739,
0.03191238269209862,
-0.011823653243482113,
-0.029750455170869827,
0.0026713230181485415,
0.05663108825683594,
0.026765841990709305,
0.040598370134830475,
-0.006490573287010193,
-0.0067632063291966915,
0.06520228087902069,
-0.015602247789502144,
-0.041287124156951904,
0.08999751508235931,
-0.013143769465386868,
-0.04970525950193405,
-0.03288812190294266,
-0.05058533698320389,
0.025311801582574844,
0.026019690558314323,
0.014511716552078724,
0.00785852037370205,
0.04729461297392845,
0.0005999715067446232,
0.04962873086333275,
-0.014549980871379375,
-0.012541107833385468,
0.021466244012117386,
-0.044463057070970535,
-0.01987827755510807,
-0.018529463559389114,
-0.011546237394213676,
-0.055100519210100174,
0.014511716552078724,
0.028545130044221878,
0.06998531520366669,
-0.002279114443808794,
0.03990961238741875,
0.04897823929786682,
-0.008399003185331821,
0.003135276958346367,
-0.014846528880298138,
0.008810343220829964,
0.0338829942047596,
-0.045190081000328064,
-0.009470402263104916,
-0.03994787856936455,
0.04189935326576233,
0.015334398485720158,
-0.026976296678185463,
-0.033940389752388,
0.010733122006058693,
-0.05276640132069588,
-0.042817696928977966,
-0.03612145036458969,
-0.009126023389399052,
0.04388909414410591,
-0.03292638808488846,
0.0031185364350676537,
-0.012885485775768757,
-0.05892694368958473,
-0.041554976254701614,
0.023341191932559013,
0.03080272115767002,
0.0139186205342412,
0.004816512577235699,
-0.04404215142130852,
-0.02249937877058983,
0.030592268332839012,
-0.047600727528333664,
0.028774715960025787,
0.01201497483998537,
-0.007963746786117554,
-0.02280549332499504,
-0.02106446959078312,
0.04649106413125992,
-0.03581533953547478,
0.03682934120297432,
0.15872010588645935,
0.02885124459862709,
0.013937752693891525,
-0.009044712409377098,
0.035757940262556076,
0.04385083168745041,
0.03466740995645523,
0.006461875047534704,
0.028277279809117317,
-0.04675891250371933,
-0.03130015730857849,
-0.040827956050634384,
-0.0004406367661431432,
-0.024871762841939926,
0.030228758230805397,
0.012856788001954556,
0.009479967877268791,
-0.012885485775768757,
0.016128381714224815,
-0.06382476538419724,
-0.06459005177021027,
-0.019266050308942795,
-0.0019359318539500237,
-0.03679107502102852,
-0.013822960667312145,
0.048595596104860306,
-0.009542147628962994,
0.05433523654937744,
-0.05314904451370239,
-0.06761293113231659,
0.04235852509737015,
0.021447112783789635,
-0.05230722948908806,
0.0042042843997478485,
0.03933564946055412,
-0.017142383381724358,
0.017534593120217323,
0.0193712767213583,
0.008580758236348629,
-0.04989658296108246,
0.011632331646978855,
0.03952696919441223,
0.018797311931848526,
0.02255677618086338,
0.032352425158023834,
-0.008537710644304752,
0.05203938111662865,
0.034055180847644806,
-0.014521283097565174,
-0.006844517774879932,
0.03177845850586891,
-0.006839734502136707,
0.034743938595056534,
0.05311077833175659,
0.04266463965177536,
-0.005031748674809933,
0.016836270689964294,
0.013306393288075924,
-0.013478581793606281,
0.026211010292172432,
-0.012120201252400875,
0.014119508676230907,
-0.019486069679260254,
0.007605019491165876,
0.01771634817123413,
0.0727786049246788,
-0.03350035101175308,
0.010991405695676804,
0.013134203851222992,
-0.0655466616153717,
0.027798976749181747,
-0.01744849793612957,
0.009489534422755241,
-0.02667018212378025,
-0.028736451640725136,
-0.025847500190138817,
0.0021810622420161963,
0.037192851305007935,
-0.029253019019961357,
-0.0436212457716465,
0.016855401918292046,
-0.0002104533778037876,
0.00846118200570345,
0.008882088586688042,
0.06348039209842682,
0.0484808050096035,
0.026708446443080902,
0.03705892711877823,
0.029233887791633606,
-0.03684847429394722,
-0.05674588307738304,
-0.017161516472697258,
0.020299185067415237,
0.02397255226969719,
-0.020069599151611328,
-0.01865382120013237,
-0.009939138777554035,
0.012866353616118431,
0.0004762105527333915,
0.0008615435217507184,
0.050738394260406494,
0.0655849277973175,
-0.015296134166419506,
0.0019395191920921206,
0.05280466377735138,
0.009652157314121723,
-0.02202107571065426,
-0.022977681830525398,
0.06493443250656128,
0.006543186958879232,
0.004345383960753679,
0.020892281085252762,
-0.06436046957969666,
-0.10660420358181,
0.007700680289417505,
-0.009891308844089508,
-0.041784562170505524,
0.0039412179030478,
0.03853210061788559,
-0.01466477382928133,
0.015697907656431198,
-0.0654318705201149,
-0.10698684304952621,
-0.08532927930355072,
0.009623458608984947,
-0.0302861537784338,
0.02688063494861126,
-0.08157937973737717,
0.04285595938563347,
-0.0679190456867218,
-0.06665632128715515,
-0.033825598657131195,
0.054373499006032944,
0.031185364350676537,
0.016157079488039017,
-0.01815638691186905,
0.012244559824466705,
-0.02546485885977745,
-0.057090260088443756,
-0.02397255226969719,
0.037709418684244156,
0.05896520987153053,
-0.03051573969423771,
0.03853210061788559,
0.018319008871912956,
-0.031874120235443115,
0.049820054322481155,
0.020700959488749504,
0.015123944729566574,
-0.049054767936468124,
0.04297075420618057,
0.004488874692469835,
0.0314149484038353,
-0.003529877169057727,
-0.006442742887884378,
0.004861951339989901,
-0.07633718103170395,
-0.02521613985300064,
-0.02691889926791191,
0.05402912199497223,
0.043047282844781876,
0.019935674965381622,
-0.003644669894129038,
0.009145155549049377,
0.008054624311625957,
0.03338555991649628,
-0.010350479744374752,
0.04025398939847946,
0.0049791354686021805,
0.0003898170543834567,
0.03702066093683243,
0.026077086105942726,
-0.006327950395643711,
0.033347293734550476,
-0.03298378363251686,
0.029157359153032303,
-0.020700959488749504,
-0.027033692225813866,
0.0009673680760897696,
0.029367811977863312,
-0.02137058414518833,
0.05555969104170799,
-0.013507280498743057,
-0.028966037556529045,
0.07124803215265274,
-0.03221849724650383,
-0.015382228419184685,
0.021217526867985725,
0.04802163317799568,
-0.02978871949017048,
0.013354223221540451,
0.010264385491609573,
-0.006528837606310844,
-0.032849859446287155,
0.03461001440882683,
-0.008332040160894394,
0.01548745483160019,
0.008748164400458336,
-0.06719202548265457,
0.07641370594501495,
0.05257507786154747,
-0.03374907001852989,
0.0435447171330452,
-0.040827956050634384,
0.010934009216725826,
0.014387357980012894,
-0.015047416090965271,
-0.032601140439510345,
-0.06990878283977509,
-0.08295689523220062,
0.007356301881372929,
0.0048571680672466755,
0.04411868005990982,
-0.006514488719403744,
0.02226979285478592,
0.12083850055932999,
0.03080272115767002,
0.005017399787902832,
0.04335339367389679,
-0.02668931521475315,
-0.0023628175258636475,
0.031395815312862396,
-0.01562137994915247,
0.04040704667568207,
-0.035509224981069565,
0.03003743663430214,
0.05115930363535881,
0.027339806780219078,
-0.01379426196217537,
-0.0181755181401968,
-0.009542147628962994,
0.010427008382976055,
-0.06887564808130264,
0.03990961238741875,
-0.04189935326576233,
-0.06474310904741287,
0.013765564188361168,
0.005285249557346106,
0.07664329558610916,
0.04002440720796585,
0.0022145435214042664,
0.013564676977694035,
-0.053646478801965714,
-0.019199088215827942,
0.029999172315001488,
0.04189935326576233,
-0.011814086697995663,
-0.007796341087669134,
0.025598783046007156,
-0.014081244356930256,
-0.01765895076096058,
-0.0387042872607708,
0.02565618045628071,
-0.0035418346524238586,
0.0436212457716465,
-0.05969223007559776,
-0.036197979003190994,
-0.049552202224731445,
0.0001931148872245103,
-0.0030611399561166763,
0.05785554647445679,
-0.021504508331418037,
-0.0018079858273267746,
0.04411868005990982,
0.015688342973589897,
0.04163150489330292,
-0.05376126989722252,
-0.0015449190977960825,
0.018089424818754196,
-0.04515181481838226,
-0.04794510453939438,
-0.0971146672964096,
0.07109497487545013,
-0.006136629264801741,
-0.013889922760426998,
-0.01065659336745739,
-0.0011748319957405329,
0.027722449973225594,
-0.03202717751264572,
-0.06642673909664154,
-0.041822824627161026,
0.024527383968234062,
0.029903510585427284,
-0.056363239884376526,
-0.012952448800206184,
0.033825598657131195,
0.05701373144984245,
-0.03589186817407608,
-0.04706502705812454,
0.03512658178806305,
-0.03803466260433197,
0.0015999239403754473,
0.03990961238741875,
0.029520869255065918,
-0.03925912082195282,
-0.013669903390109539,
0.027913769707083702,
-0.035470958799123764,
0.03968002647161484,
-0.03617884963750839,
0.006968876346945763,
-0.06979399174451828,
-0.020203523337841034,
-0.0030180925969034433,
0.002711978740990162,
0.011804521083831787,
-0.009723902679979801,
-0.018596425652503967,
-0.0750361904501915,
0.021829754114151,
0.04078968986868858,
0.024852629750967026,
0.0034126928076148033,
-0.055636219680309296,
0.022384585812687874,
0.029712190851569176,
0.03568141162395477,
-0.06363344937562943,
0.04698849841952324,
0.05387606471776962,
0.0019215828506276011,
0.03462914749979973,
0.021638432517647743,
-0.04748593270778656,
-0.0007760468288324773,
0.019486069679260254,
-0.00847553089261055,
-0.004400388803333044,
-0.002281505847349763,
-0.06409262120723724,
0.007518925238400698,
0.01552571915090084,
0.07641370594501495,
-0.0022061732597649097,
0.009843477979302406,
0.046184949576854706,
0.024527383968234062,
-0.010034799575805664,
-0.006461875047534704,
-0.05070013180375099,
-0.0061461953446269035,
-0.004811729304492474,
0.01916082389652729,
-0.04189935326576233,
0.008389436639845371,
0.013344657607376575,
-0.006150978151708841,
-0.01672147773206234,
-0.0046060592867434025,
-0.010111328214406967,
0.01599445566534996,
-0.010273951105773449,
-0.015678776428103447,
0.02567531168460846,
-0.03174019604921341,
0.014588245190680027,
0.03325163200497627,
-0.03292638808488846,
-0.017831141129136086,
0.032065439969301224,
0.03175932914018631,
-0.004244940355420113,
0.04247331619262695,
-0.007303688675165176,
0.032084573060274124,
0.027473730966448784,
-0.07691114395856857,
0.014483018778264523,
-0.03945044055581093,
-0.03614058345556259,
-0.007040622178465128,
0.0582381896674633,
0.021638432517647743,
-0.014014281332492828,
-0.035757940262556076,
-0.04465438053011894,
-0.03298378363251686,
0.08877305686473846,
-0.011307085864245892,
0.030573135241866112,
-0.02353251352906227,
-0.0047136773355305195,
0.02351338230073452,
0.005739637650549412,
0.058506038039922714,
-0.00785852037370205,
-0.03738417103886604,
-0.04721808433532715,
0.0701383724808693,
0.003890995867550373,
-0.05165673792362213,
-0.031376685947179794,
0.036752812564373016,
0.04985831677913666,
-0.008418135344982147,
-0.001448062714189291,
0.028162488713860512,
-0.012722862884402275,
-0.015927493572235107,
-0.012856788001954556,
0.02207847312092781,
0.05674588307738304,
-0.01719021424651146,
-0.03679107502102852,
0.02546485885977745,
0.021753225475549698,
0.006552752573043108,
-0.009743034839630127,
0.009967837482690811,
-0.03254374489188194,
0.027971167117357254,
-0.05288119241595268,
-0.010388744063675404,
-0.00919298641383648,
-0.015095246955752373,
0.07928352802991867,
-0.04320033639669418,
-0.02110273391008377,
-0.05062360316514969,
-0.004106232430785894,
-0.0019514767918735743,
-0.020069599151611328,
0.0016082942020148039,
0.0021356234792619944,
0.07396479696035385,
0.0242786668241024,
0.043238602578639984,
0.01746762916445732,
0.006681894417852163,
-0.03933564946055412,
-0.003273984882980585,
-0.06229420006275177,
-0.011794955469667912,
-0.04235852509737015,
0.010206989012658596,
-0.035011786967515945,
0.0018103773472830653,
0.0013846874935552478,
0.003979482222348452,
-0.033309031277894974,
0.036025792360305786,
-0.05797033756971359,
0.001060637179762125,
0.014827396720647812,
0.06742160767316818,
0.04913129657506943,
0.043965622782707214,
0.02911909483373165,
0.012311522848904133,
-0.055368371307849884,
-0.04629974067211151,
-0.005926175508648157,
0.01234978623688221,
0.06443699449300766,
0.07488314062356949,
0.027186749503016472,
0.0533786304295063,
-0.01500915177166462,
0.018070291727781296,
-0.017505893483757973,
0.013641204684972763,
-0.03179759159684181,
-0.03835991024971008,
0.008929919451475143,
0.06983225792646408,
-0.00581138301640749,
-0.04297075420618057,
-0.013363788835704327,
0.03196978196501732,
0.031127966940402985,
0.024910027161240578,
-0.01718064770102501,
0.0038168588653206825,
-0.006825385615229607,
0.031376685947179794,
-0.0009332889458164573,
0.02370470203459263,
-0.006968876346945763,
-0.039641764014959335,
0.029922643676400185,
-0.015841400250792503,
0.017400667071342468,
-0.028047695755958557,
0.043736036866903305,
-0.0005452655605040491,
-0.0040823169983923435,
0.004278421401977539,
0.0032428952399641275,
-0.041822824627161026,
0.0038503401447087526,
-0.06436046957969666,
-0.07430917024612427,
-0.07231943309307098,
0.0023209659848362207,
0.04966699704527855,
-0.011000972241163254,
-0.01418647076934576,
0.008504229597747326,
-0.014836963266134262,
0.07212810963392258,
0.008509012870490551,
0.009714336134493351,
-0.030821852385997772,
-0.01863468997180462,
-0.02035658061504364,
-0.02640233188867569,
0.02349424920976162,
0.021198393777012825,
-0.09022710472345352,
-0.0029176489915698767,
-0.0035872734151780605,
0.019285181537270546,
-0.032065439969301224,
0.023379456251859665,
0.005251768510788679,
0.050547074526548386,
0.025024820119142532,
0.040560103952884674,
0.02909996174275875,
-0.00956127978861332,
0.04499875754117966,
-0.0801253393292427,
-0.02037571370601654,
0.03447609022259712,
-0.004177977796643972,
-0.04071316123008728,
0.0411340668797493,
-0.07235769927501678,
-0.02762678824365139,
0.02137058414518833,
-0.0157648716121912,
-0.023628173395991325,
0.005959657020866871,
-0.0072941225953400135,
-0.048366010189056396,
-0.019208652898669243,
-0.005409608129411936,
-0.013057675212621689,
-0.01079051848500967,
0.005232636351138353,
-0.049322616308927536,
-0.02711022086441517,
0.0028411205857992172,
0.013631639070808887,
-0.03659975528717041,
0.03998614102602005,
0.01161319948732853,
-0.03101317398250103,
0.006983225699514151,
-0.040560103952884674,
-0.001201736624352634,
0.04457785189151764,
0.02230805717408657,
-0.06225593388080597,
0.008418135344982147,
0.10086455941200256,
-0.051695000380277634,
0.03445695713162422,
-0.01669277995824814,
-0.04166976734995842,
-0.006672328803688288,
0.04392736032605171,
0.014674339443445206,
-0.03214196860790253,
-0.01984001323580742,
-0.045419663190841675,
0.033940389752388,
-0.009460835717618465,
0.06003660708665848,
-0.05766422301530838,
-0.022422850131988525,
0.046644121408462524,
-0.03552835434675217,
-0.03820685297250748,
-0.03702066093683243,
-0.045649249106645584,
0.03956523537635803,
0.029865246266126633,
-0.017132818698883057,
0.024144740775227547,
0.05789380893111229,
0.0055244010873138905,
-0.003372037084773183,
-0.0798192247748375,
-0.08211508393287659,
0.06661806255578995,
-0.056784145534038544,
-0.04067489877343178,
-0.04683544114232063,
0.04346818849444389,
0.015430058352649212,
0.004139713477343321,
-0.0027789410669356585,
-0.0015544851776212454,
-0.02711022086441517,
0.04675891250371933,
-0.044003888964653015,
0.004771073814481497,
-0.004582143854349852,
-0.019208652898669243,
-0.009130806662142277,
-0.043506450951099396,
-0.0024536950513720512,
-0.06462831795215607,
-0.023322060704231262,
0.025043951347470284,
-0.0605340451002121,
-0.0629064291715622,
-0.016683213412761688,
-0.0338829942047596,
0.01669277995824814,
0.05785554647445679,
0.010637461207807064,
0.027818109840154648,
0.0037355474196374416,
-0.016664080321788788,
0.025158744305372238,
-0.006423610728234053,
-0.04916956275701523,
-0.0049791354686021805,
0.05265160650014877,
0.007624151650816202,
0.03537530079483986,
0.08349259197711945,
0.005108277313411236,
-0.029463471844792366,
-0.01126882154494524,
0.024355195462703705,
0.021523641422390938,
-0.029654793441295624,
0.0702531635761261,
-0.024833498522639275,
-0.009757383726537228,
0.00811680406332016,
-0.035968393087387085,
-0.05674588307738304,
0.01065659336745739,
-0.01984001323580742,
-0.010847914963960648,
0.021274922415614128,
0.018577292561531067,
0.040100932121276855,
0.029693057760596275,
0.0018737524515017867,
-0.018739916384220123,
-0.03103230707347393,
-0.05066186562180519,
-0.013765564188361168,
-0.006122279912233353,
0.08203855156898499,
0.0059118266217410564,
0.009216900914907455,
-0.0010253622895106673,
0.06103147938847542,
0.0018271179869771004,
0.019486069679260254,
-0.025732707232236862,
0.0011796150356531143,
0.0038527315482497215,
0.007624151650816202,
0.031338419765233994,
-0.0035322685725986958,
0.006036185193806887,
0.025770971551537514,
-0.020452242344617844,
0.0678042471408844,
0.05544489994645119,
-0.026230143383145332,
-0.008906004019081593,
-0.014119508676230907,
0.022882021963596344,
-0.001448062714189291,
-0.04936088249087334,
0.005620061885565519,
0.01722847856581211,
0.007389783393591642,
-0.08770166337490082,
0.010340913198888302,
-0.012923750095069408,
0.036714546382427216
]
|
40,697 | pyglove.core.symbolic.dict | values | Returns an iterator of values in current dict.. | def values(self) -> Iterator[Any]: # pytype: disable=signature-mismatch
"""Returns an iterator of values in current dict.."""
return self.sym_values()
| (self) -> Iterator[Any] | [
0.0833243653178215,
-0.07034143060445786,
-0.04073483124375343,
-0.02232515998184681,
-0.017894474789500237,
0.01856422983109951,
-0.02395661361515522,
-0.009805897250771523,
0.11595344543457031,
0.0011892440961673856,
-0.01666659116744995,
0.015009377151727676,
0.015936730429530144,
0.02563958801329136,
-0.022445373237133026,
0.012107105925679207,
0.0012139305472373962,
0.05478250980377197,
-0.05248130112886429,
0.044787704944610596,
-0.03922358900308609,
-0.0008388034766539931,
-0.0381588488817215,
0.003187775146216154,
-0.02928030677139759,
-0.0036900914274156094,
0.012527849525213242,
-0.044444240629673004,
0.043551236391067505,
0.0103468531742692,
-0.08318698406219482,
0.014545700512826443,
0.021638231351971626,
-0.03096327930688858,
0.05856061354279518,
-0.054232966154813766,
-0.022582758218050003,
0.009428086690604687,
0.0016099874628707767,
0.030636988580226898,
0.018237939104437828,
-0.014588633552193642,
0.005130493547767401,
-0.020418934524059296,
-0.014236582443118095,
0.00432764645665884,
0.014185063540935516,
-0.0030117500573396683,
0.08057665824890137,
-0.07405083626508713,
0.034466613084077835,
0.0031126425601541996,
0.005478250794112682,
-0.008741158992052078,
0.006122245918959379,
0.04245214909315109,
-0.00971144437789917,
-0.004542311187833548,
-0.019594620913267136,
0.05169133096933365,
-0.007156931329518557,
-0.04671110585331917,
0.029589423909783363,
-0.03723149746656418,
0.038948819041252136,
-0.03182194009423256,
-0.004153767600655556,
-0.023321205750107765,
-0.024643542245030403,
0.01014077477157116,
-0.03420901298522949,
-0.06395299732685089,
-0.02151801995933056,
0.006311151199042797,
-0.047707147896289825,
-0.05972839146852493,
-0.025691106915473938,
0.030740028247237206,
-0.00037673706538043916,
-0.08318698406219482,
-0.024592023342847824,
0.023407071828842163,
-0.03795277327299118,
-0.0016293074004352093,
-0.04063178971409798,
0.05567551404237747,
0.010003388859331608,
0.006929386407136917,
-0.0038983162958174944,
0.1250895857810974,
-0.004263246897608042,
0.0029430571012198925,
-0.01465732604265213,
0.04004790261387825,
0.006847813725471497,
0.008097163401544094,
-0.013532482087612152,
-0.031512822955846786,
-0.002155236667022109,
-0.006933679338544607,
0.021672578528523445,
0.017636876553297043,
0.01983504556119442,
0.009659925475716591,
0.008204496465623379,
-0.01737927831709385,
-0.018907694146037102,
-0.08483561128377914,
0.0354798324406147,
0.004756976384669542,
-0.06292260438203812,
0.07501253485679626,
0.035651564598083496,
-0.011248446069657803,
-0.022170601412653923,
0.003997062332928181,
-0.04887492582201958,
-0.018478363752365112,
0.006199525203555822,
0.03675064817070961,
-0.03216540440917015,
0.054748162627220154,
0.04018528759479523,
0.05732414126396179,
0.03190780431032181,
0.03754061460494995,
0.026618460193276405,
-0.018478363752365112,
-0.0480162687599659,
0.02977832965552807,
0.04544028639793396,
0.003250028006732464,
0.041146986186504364,
0.041490450501441956,
0.02316664718091488,
0.009350807406008244,
0.09548299014568329,
-0.015232628211379051,
0.004598124418407679,
0.02314947359263897,
0.045165516436100006,
0.039395321160554886,
-0.004321206361055374,
0.02928030677139759,
-0.039498358964920044,
-0.02101999707520008,
0.010303920134902,
0.08229397237300873,
0.011686362326145172,
-0.029228786006569862,
-0.00638843048363924,
0.034020110964775085,
0.003301547607406974,
0.08559122681617737,
-0.02019568346440792,
0.007706473581492901,
0.010698903352022171,
0.006032086443156004,
-0.020418934524059296,
-0.027820583432912827,
-0.05735848844051361,
-0.020109817385673523,
-0.00165399385150522,
-0.047638457268476486,
0.015490226447582245,
0.04746672511100769,
0.005680035799741745,
-0.027820583432912827,
0.026927577331662178,
-0.03551417589187622,
0.005370918195694685,
-0.07288306206464767,
-0.005409557837992907,
0.003067562822252512,
0.004235340282320976,
0.020539147779345512,
-0.005091853905469179,
0.0659450888633728,
0.04386035352945328,
0.022119082510471344,
-0.016812562942504883,
-0.042692575603723526,
-0.10475651919841766,
-0.04039136692881584,
0.06072443351149559,
0.016580725088715553,
0.025742627680301666,
-0.0029859901405870914,
0.06113659217953682,
-0.021724097430706024,
-0.02648107521235943,
-0.01257078256458044,
0.006392723880708218,
0.019663313403725624,
-0.016039768233895302,
-0.03829623758792877,
-0.021638231351971626,
0.0248152744024992,
-0.05897276848554611,
0.026566941291093826,
-0.03929228335618973,
-0.09376566857099533,
-0.03472420945763588,
0.0025974465534090996,
-0.021792789921164513,
0.024214211851358414,
0.014743192121386528,
-0.04465031996369362,
0.0379871167242527,
0.011411591432988644,
-0.04076917842030525,
-0.06357518583536148,
0.00045723645598627627,
-0.033281661570072174,
-0.026549767702817917,
-0.014794711954891682,
-0.01732775941491127,
-0.06477730721235275,
-0.022994915023446083,
-0.0063798436895012856,
0.09355959296226501,
-0.025038525462150574,
-0.0034925995860248804,
-0.052240874618291855,
0.04430685564875603,
-0.04413512349128723,
-0.008981583639979362,
-0.01424516923725605,
-0.06907060742378235,
-0.01852988265454769,
0.02976115606725216,
0.02970963530242443,
-0.02189582958817482,
-0.020092643797397614,
0.043894700706005096,
0.019680486992001534,
0.006341204047203064,
-0.011059541255235672,
0.008105750195682049,
0.045989830046892166,
-0.02644672803580761,
0.03441509231925011,
-0.008290362544357777,
0.05127917602658272,
-0.07844717800617218,
0.009908935986459255,
0.02232515998184681,
0.09816201031208038,
0.03963574394583702,
0.021792789921164513,
0.043894700706005096,
-0.0659450888633728,
0.0006692181341350079,
0.005826008040457964,
0.030379390344023705,
-0.04052875190973282,
-0.009256354533135891,
0.01816924475133419,
0.08208789676427841,
-0.036578916013240814,
0.037368882447481155,
0.04798192158341408,
-0.02476375363767147,
0.060930512845516205,
0.03250886872410774,
0.0388801246881485,
0.01899355836212635,
-0.008728278800845146,
-0.04042571410536766,
0.04650502651929855,
0.022170601412653923,
-0.027528639882802963,
-0.07144051045179367,
0.017284825444221497,
-0.016211500391364098,
0.05083267390727997,
0.030070273205637932,
0.027442773804068565,
-0.05646548047661781,
-0.006130832247436047,
-0.00072395772440359,
-0.005757315084338188,
-0.015215455554425716,
-0.034020110964775085,
-0.025021351873874664,
-0.014588633552193642,
-0.027923623099923134,
-0.03839927539229393,
0.04076917842030525,
-0.041490450501441956,
0.08030188083648682,
0.03850231319665909,
0.0015026549808681011,
-0.038948819041252136,
0.08758331835269928,
-0.0013008698588237166,
-0.01625443436205387,
-0.053855154663324356,
0.04544028639793396,
0.05395819619297981,
0.06117093935608864,
-0.018753133714199066,
0.018512709066271782,
0.06474296748638153,
0.00556411687284708,
0.03589198738336563,
0.07233352214097977,
0.06536120176315308,
-0.02351011149585247,
0.014794711954891682,
-0.013085978105664253,
0.022943396121263504,
0.014683086425065994,
-0.006160885561257601,
-0.05024878308176994,
-0.0915675014257431,
-0.029125746339559555,
0.0010894248262047768,
0.016692349687218666,
0.06137701869010925,
-0.04238345846533775,
0.014940683729946613,
0.006397016812115908,
-0.06804022192955017,
-0.03477573022246361,
0.04743237793445587,
0.011531803756952286,
0.014339622110128403,
0.030070273205637932,
-0.011471698060631752,
0.00046287139412015676,
-0.051863063126802444,
-0.001459722057916224,
0.04544028639793396,
0.06384995579719543,
0.06814325600862503,
-0.009908935986459255,
0.036132413893938065,
-0.007564794737845659,
-0.0783097892999649,
0.009084622375667095,
-0.05856061354279518,
0.029932888224720955,
-0.01486340444535017,
-0.04911535233259201,
-0.0041730874218046665,
-0.003677211469039321,
-0.025364816188812256,
0.0827748253941536,
0.0035333859268575907,
0.000990142347291112,
0.022994915023446083,
0.01895921304821968,
0.039464015513658524,
0.02359597757458687,
0.015455880202353,
-0.018838999792933464,
0.0036471583880484104,
-0.03098045289516449,
0.016391819342970848,
0.09932979196310043,
0.015112415887415409,
-0.02265145070850849,
0.002249689307063818,
0.04544028639793396,
-0.0455089807510376,
-0.045543327927589417,
-0.009994802065193653,
0.02606891840696335,
-0.002337701851502061,
-0.011471698060631752,
0.004426392260938883,
-0.029984407126903534,
-0.02852468565106392,
-0.008844197727739811,
-0.011265619657933712,
0.017061574384570122,
0.05024878308176994,
-0.00989176332950592,
0.006796293891966343,
0.046848490834236145,
-0.026171956211328506,
0.0021015703678131104,
0.03723149746656418,
0.005632809828966856,
-0.0038467966951429844,
0.04183391481637955,
-0.04118133336305618,
0.003408880205824971,
0.05110744386911392,
-0.037025418132543564,
-0.03973878547549248,
-0.041078295558691025,
0.029074227437376976,
0.008414868265390396,
-0.035651564598083496,
0.03578894957900047,
-0.02227364107966423,
-0.05612201616168022,
-0.007809512782841921,
-0.0010427352972328663,
-0.006083606276661158,
-0.038639701902866364,
-0.0005020477692596614,
-0.013068805448710918,
-0.10874070227146149,
0.025038525462150574,
-0.009608405642211437,
0.011196926236152649,
0.0007459608605131507,
0.00227759568952024,
-0.03312710300087929,
-0.0013663427671417594,
-0.017482317984104156,
0.04258953779935837,
-0.03544548526406288,
-0.01904507912695408,
-0.01688125543296337,
0.04677979648113251,
0.03183911368250847,
0.048119306564331055,
-0.07034143060445786,
-0.0027562985196709633,
0.04489074647426605,
-0.015619025565683842,
0.008389107882976532,
-0.01980070024728775,
0.005946220364421606,
-0.0185470562428236,
-0.011239859275519848,
-0.000416450115153566,
-0.02891966886818409,
-0.003325160825625062,
-0.0227544903755188,
-0.0027026324532926083,
0.00971144437789917,
-0.0535803847014904,
-0.0227544903755188,
0.024557676166296005,
0.013386509381234646,
-0.05114179104566574,
0.033710990101099014,
0.0113772451877594,
-0.029469210654497147,
0.04011659696698189,
-0.013128911145031452,
0.007732233498245478,
0.06415907293558121,
0.04128437116742134,
-0.006895039696246386,
-0.013369335792958736,
-0.019920911639928818,
0.04039136692881584,
-0.059625349938869476,
0.019199637696146965,
0.06546423584222794,
-0.04746672511100769,
-0.034105975180864334,
0.007642074022442102,
0.031083492562174797,
0.06202960014343262,
-0.02807818166911602,
-0.015764998272061348,
-0.0686241090297699,
-0.003074002917855978,
-0.01584227755665779,
-0.027889277786016464,
0.03599502891302109,
-0.008565133437514305,
0.016829736530780792,
0.02807818166911602,
0.01504372339695692,
-0.009651338681578636,
-0.06673505902290344,
-0.03377968445420265,
-0.016005422919988632,
-0.016838323324918747,
0.013463788665831089,
-0.031169358640909195,
-0.047294992953538895,
-0.033212967216968536,
-0.04255519062280655,
0.004868602380156517,
-0.019560275599360466,
0.014442660845816135,
-0.005164839792996645,
0.028816629201173782,
-0.05862930417060852,
-0.040219634771347046,
0.031976498663425446,
0.03589198738336563,
-0.006259631365537643,
-0.007869618944823742,
0.024145519360899925,
0.02514156512916088,
0.010647384449839592,
0.03719715029001236,
0.009179075248539448,
-0.013609761372208595,
0.031220877543091774,
-0.006998078897595406,
-0.0012869166675955057,
0.014116370119154453,
0.03558287024497986,
0.013154671527445316,
-0.0016432605916634202,
0.0038425035309046507,
-0.04258953779935837,
-0.017619702965021133,
-0.04489074647426605,
0.026343688368797302,
-0.020418934524059296,
0.021535193547606468,
-0.04331080988049507,
0.020796746015548706,
-0.07398214936256409,
-0.009050276130437851,
-0.018066206946969032,
-0.0587666891515255,
-0.0005363941891118884,
-0.016992881894111633,
-0.05522901192307472,
-0.015258388593792915,
0.018684441223740578,
-0.0185470562428236,
0.019920911639928818,
-0.06312867999076843,
-0.026601286605000496,
0.006993785500526428,
-0.040288329124450684,
0.021397806704044342,
-0.017353517934679985,
-0.003934809472411871,
0.015370014123618603,
-0.05024878308176994,
-0.022411026060581207,
0.09616991877555847,
-0.023338379338383675,
-0.028730763122439384,
0.08806417137384415,
0.009737204760313034,
0.03918924182653427,
-0.0005828154971823096,
0.014562873169779778,
0.042795613408088684,
-0.020556321367621422,
-0.07460038363933563,
-0.03929228335618973,
0.01754242368042469,
-0.009350807406008244,
-0.013815839774906635,
-0.016632243990898132,
0.02646390162408352,
-0.005632809828966856,
-0.0354798324406147,
0.008414868265390396,
0.05996881425380707,
-0.00741882249712944,
-0.04238345846533775,
-0.005126200150698423,
0.05577855557203293,
0.016366058960556984,
-0.060861822217702866,
-0.05117613449692726,
-0.015258388593792915,
0.015619025565683842,
0.015112415887415409,
0.027116483077406883,
-0.03623545169830322,
0.041421759873628616,
-0.016031181439757347,
0.022977741435170174,
0.04248649626970291,
-0.003479719627648592,
0.05337430536746979,
0.012433396652340889,
-0.04760411009192467,
-0.015412947162985802,
-0.02351011149585247,
-0.05546943470835686,
0.008354761637747288,
0.03932662680745125,
0.0462302528321743,
0.0001446305395802483,
0.034466613084077835,
0.022823182865977287,
-0.043894700706005096,
0.05873234570026398,
0.014957857318222523,
0.029211612418293953,
-0.012244491837918758,
-0.026618460193276405,
-0.07226482778787613,
-0.05993446707725525,
-0.01529273483902216,
-0.0317189022898674,
-0.06962015479803085,
0.033710990101099014,
-0.05656852200627327,
0.005418144632130861,
-0.012064172886312008,
0.021792789921164513,
0.020109817385673523,
0.011720708571374416,
-0.008320415392518044,
-0.018014686182141304,
0.06646028161048889,
0.03791842609643936,
0.03589198738336563,
0.021981695666909218,
-0.050935711711645126,
-0.017267651855945587,
0.017516663298010826,
-0.05588159337639809,
0.036578916013240814,
0.016812562942504883,
-0.006740481127053499,
0.060518357902765274,
-0.01978352665901184,
0.028833802789449692,
-0.04183391481637955,
-0.0338655486702919,
-0.05656852200627327,
0.03791842609643936,
-0.006401310209184885,
-0.041971299797296524,
0.029881367459893227,
0.02017850987613201,
0.0051433732733130455,
-0.008693932555615902,
-0.018512709066271782,
-0.012124279513955116,
0.033728163689374924,
-0.009737204760313034,
-0.03640718385577202,
0.02273731678724289,
-0.007058185059577227,
-0.02150084637105465,
-0.04866885021328926,
0.05807976424694061,
0.009428086690604687,
0.03398576378822327,
-0.03918924182653427,
0.06532685458660126,
-0.022565584629774094,
0.033212967216968536,
-0.03262908011674881,
0.005877527873963118,
0.034123148769140244,
-0.023870747536420822,
0.02521025761961937,
0.023699015378952026,
-0.009170488454401493,
0.004392046015709639,
-0.011093887500464916,
-0.03733453527092934,
0.0027777650393545628,
-0.013412268832325935,
0.005641396157443523,
0.010879222303628922,
-0.006019206717610359,
-0.01609128899872303,
-0.05117613449692726,
-0.040253981947898865,
0.03017331287264824,
0.011480283923447132,
-0.029039882123470306,
0.06824629753828049,
0.02728821523487568,
0.008646706119179726,
0.024969832971692085,
-0.0031555755995213985,
-0.014107784256339073,
-0.027872104197740555,
-0.029125746339559555,
0.02019568346440792,
-0.004868602380156517,
0.039017509669065475,
0.07061620056629181,
-0.009359394200146198,
-0.05248130112886429,
-0.006985199172049761,
0.00009908131323754787,
0.060930512845516205,
-0.04629894718527794,
-0.03681934252381325,
0.00587323447689414,
0.01980070024728775,
-0.020968478173017502,
-0.08339305967092514,
0.017456557601690292,
-0.0765237808227539,
0.03843362256884575,
-0.025364816188812256,
-0.024282904341816902,
0.03836492821574211,
-0.0012686701957136393,
-0.0363728366792202,
0.04787888005375862,
0.03630414605140686,
-0.010939327999949455,
0.022548411041498184,
0.04983662813901901,
0.006637441925704479,
0.05454208329319954,
0.008157270029187202,
0.043585579842329025,
-0.009754377417266369,
0.02316664718091488,
0.013609761372208595,
-0.0016003275522962213,
0.053923849016427994,
-0.09623861312866211,
-0.03833058103919029,
0.002552366815507412,
-0.003471133066341281,
-0.01401333138346672,
-0.015490226447582245,
0.02811252884566784,
0.04544028639793396,
0.001444695401005447,
0.009488193318247795,
-0.011239859275519848,
0.056843291968107224,
-0.008990170434117317,
0.08387391269207001,
-0.02114020846784115,
0.06257914006710052,
-0.017061574384570122,
0.04293299838900566,
-0.001238616998307407,
-0.01813489943742752,
-0.025502201169729233,
0.037368882447481155,
-0.07927148789167404,
-0.0005935486988164485,
-0.025811320170760155,
0.030825894325971603,
0.002612472977489233,
0.037815388292074203,
-0.023750536143779755,
0.038605354726314545,
-0.01731058582663536,
0.03544548526406288,
0.01737927831709385,
-0.028318606317043304,
-0.02393944002687931,
-0.01032967958599329,
0.0027777650393545628,
-0.014940683729946613,
0.010467065498232841,
0.0732952207326889,
0.018049033358693123,
-0.01323195081204176,
0.011506044305860996,
0.015284148044884205,
0.013412268832325935,
-0.055984631180763245,
-0.03221692144870758,
0.0028400178998708725,
-0.07748547941446304,
0.016829736530780792,
-0.007607727777212858,
0.043139077723026276,
-0.04214303195476532,
-0.0031126425601541996,
0.04581809788942337,
0.003934809472411871
]
|
40,698 | pyglove.core.symbolic.diff | Diff | A value diff between two objects: a 'left' object and a 'right' object.
If one of them is missing, it may be represented by pg.Diff.MISSING
For example::
>>> pg.Diff(3.14, 1.618)
Diff(left=3.14, right=1.618)
>>> pg.Diff('hello world', pg.Diff.MISSING)
Diff(left='hello world', right=MISSING)
| class Diff(PureSymbolic, pg_object.Object):
"""A value diff between two objects: a 'left' object and a 'right' object.
If one of them is missing, it may be represented by pg.Diff.MISSING
For example::
>>> pg.Diff(3.14, 1.618)
Diff(left=3.14, right=1.618)
>>> pg.Diff('hello world', pg.Diff.MISSING)
Diff(left='hello world', right=MISSING)
"""
class _Missing:
"""Represents an absent party in a Diff."""
def __repr__(self):
return self.__str__()
def __str__(self):
return 'MISSING'
def __eq__(self, other):
return isinstance(other, Diff._Missing)
def __ne__(self, other):
return not self.__eq__(other)
MISSING = _Missing()
def _on_bound(self):
super()._on_bound()
if self.children:
if not isinstance(self.left, type):
raise ValueError(
f'\'left\' must be a type when \'children\' is specified. '
f'Encountered: {self.left!r}.')
if not isinstance(self.right, type):
raise ValueError(
f'\'right\' must be a type when \'children\' is specified. '
f'Encountered: {self.right!r}.')
self._has_diff = None
@property
def is_leaf(self) -> bool:
"""Returns True if current Diff does not contain inner Diff object."""
return not self.children
def __bool__(self):
"""Returns True if there is a diff."""
if self._has_diff is None:
if base.ne(self.left, self.right):
has_diff = True
elif self.children:
has_diff = any(bool(cd) for cd in self.children.values())
else:
has_diff = False
self._has_diff = has_diff
return self._has_diff
def sym_eq(self, other: Any):
"""Override symbolic equality."""
if super().sym_eq(other):
return True
if not bool(self):
return base.eq(self.left, other)
@property
def value(self):
"""Returns the value if left and right are the same."""
if bool(self):
raise ValueError(
f'\'value\' cannot be accessed when \'left\' and \'right\' '
f'are not the same. Left={self.left!r}, Right={self.right!r}.')
return self.left
def format(
self,
compact: bool = False,
verbose: bool = True,
root_indent: int = 0,
**kwargs):
"""Override format to conditionally print the shared value or the diff."""
if not bool(self):
if self.value == Diff.MISSING:
return 'No diff'
# When there is no diff, but the same value needs to be displayed
# we simply return the value.
return object_utils.format(
self.value, compact, verbose, root_indent, **kwargs)
if self.is_leaf:
exclude_keys = kwargs.pop('exclude_keys', None)
exclude_keys = exclude_keys or set()
exclude_keys.add('children')
return super().format(
compact, verbose, root_indent, exclude_keys=exclude_keys, **kwargs)
else:
assert isinstance(self.left, type)
assert isinstance(self.right, type)
if self.left is self.right and issubclass(self.left, list):
return self.children.format(
compact=compact,
verbose=verbose,
root_indent=root_indent,
cls_name='',
bracket_type=object_utils.BracketType.SQUARE)
if self.left is self.right:
cls_name = self.left.__name__
else:
cls_name = f'{self.left.__name__}|{self.right.__name__}'
return self.children.format(
compact=compact,
verbose=verbose,
root_indent=root_indent,
cls_name=cls_name,
bracket_type=object_utils.BracketType.ROUND)
| (left=MISSING, right=MISSING, children: Dict[str, Any] = {}) | [
0.067332923412323,
-0.08059664815664291,
0.036358218640089035,
0.04322414472699165,
-0.0057053533382713795,
-0.03766508400440216,
-0.019817568361759186,
-0.010454937815666199,
0.027307674288749695,
-0.053484030067920685,
0.009757616557180882,
0.003581694094464183,
0.02797085978090763,
-0.019720042124390602,
-0.08426368236541748,
0.015009467490017414,
-0.034212615340948105,
-0.0047032590955495834,
0.04497963935136795,
0.03934255614876747,
0.0085629066452384,
-0.005973553750663996,
0.02524009346961975,
0.02861454151570797,
-0.023718664422631264,
-0.04189777374267578,
0.014112215489149094,
0.000318183156196028,
-0.03269118815660477,
0.020129656419157982,
-0.008787219412624836,
-0.03573404252529144,
-0.023309050127863884,
-0.03696288540959358,
-0.020500261336565018,
-0.06924445927143097,
-0.018520453944802284,
0.06366588920354843,
-0.060974135994911194,
0.0037718724925071,
-0.017398890107870102,
0.008250818587839603,
-0.015477599576115608,
-0.04248293861746788,
-0.011927601881325245,
-0.026020312681794167,
0.02159256860613823,
0.014434056356549263,
-0.04923183470964432,
-0.03522690013051033,
0.06292468309402466,
-0.04774941876530647,
-0.017652461305260658,
0.020071139559149742,
-0.06659170985221863,
0.02705410309135914,
0.014619357883930206,
0.05137743800878525,
0.017993805930018425,
0.008192301727831364,
0.004066892899572849,
0.06214446201920509,
0.0024723196402192116,
-0.033003274351358414,
-0.03737250342965126,
-0.03809420391917229,
-0.002024912741035223,
-0.027541739866137505,
-0.00636853976175189,
0.01586770825088024,
-0.06819116324186325,
-0.00780706899240613,
0.0316183865070343,
0.026098333299160004,
0.019193394109606743,
-0.03343239426612854,
0.024771960452198982,
0.02773679420351982,
0.0644461065530777,
-0.04654007777571678,
-0.029219210147857666,
-0.03081865981221199,
-0.0013836700236424804,
-0.00002769626007648185,
-0.005168952513486147,
0.02315300703048706,
0.05941369757056236,
0.049192823469638824,
0.057385124266147614,
-0.006461190525442362,
-0.05750215798616409,
-0.001455596531741321,
0.013790375553071499,
-0.006534336134791374,
-0.02194366604089737,
0.014385292306542397,
0.015994494780898094,
-0.07185819000005722,
-0.015341061167418957,
0.010932821780443192,
0.06585050374269485,
0.0198858380317688,
-0.03940107300877571,
0.027697782963514328,
0.0007869242690503597,
-0.006909816525876522,
-0.013097930699586868,
-0.04572084918618202,
0.024967016652226448,
-0.009469911456108093,
-0.09066147357225418,
0.01111812423914671,
-0.0025283980648964643,
-0.01738913729786873,
0.02629338949918747,
0.0004336921847425401,
-0.04462854191660881,
-0.01709655486047268,
0.02761976048350334,
-0.05083128437399864,
0.021982677280902863,
0.016989273950457573,
-0.009011532180011272,
0.0047154501080513,
-0.0025771616492420435,
0.03604612872004509,
0.03274970129132271,
0.008138662204146385,
-0.029843386262655258,
0.027658771723508835,
0.07665654271841049,
0.023309050127863884,
-0.032242558896541595,
0.04880271479487419,
0.021319491788744926,
0.04630601406097412,
-0.012795595452189445,
0.018559465184807777,
-0.0017372069414705038,
0.03239860385656357,
0.0333738774061203,
-0.07474500685930252,
0.004449687898159027,
0.010923069901764393,
-0.07150709629058838,
0.03551948070526123,
-0.04497963935136795,
0.04911480098962784,
-0.02925822138786316,
0.05032414197921753,
-0.02925822138786316,
-0.013790375553071499,
0.06780105084180832,
0.014765649102628231,
0.0031525734812021255,
0.022489819675683975,
-0.0330812968313694,
-0.04786645248532295,
-0.00013570024748332798,
0.034095581620931625,
-0.015214275568723679,
-0.0345442071557045,
0.03317882493138313,
0.0036255812738090754,
-0.011410706676542759,
0.0032696062698960304,
0.0310527253895998,
-0.0911296084523201,
-0.039849698543548584,
0.0400252491235733,
0.0012971145333722234,
-0.04423842951655388,
-0.04755436256527901,
0.018062075600028038,
0.0009326058207079768,
0.06370490044355392,
0.004357036668807268,
0.03865986317396164,
-0.02286042459309101,
-0.037918657064437866,
-0.0008216684218496084,
-0.06218347325921059,
-0.041234586387872696,
0.003930354490876198,
0.0041936784982681274,
0.003559750271961093,
-0.014726637862622738,
-0.06081809103488922,
0.05652688443660736,
0.012961392290890217,
-0.04852963611483574,
-0.01804256998002529,
0.018998337909579277,
0.05449831485748291,
0.02879009023308754,
-0.0163943562656641,
0.003818197874352336,
-0.020812347531318665,
-0.002151698339730501,
0.047671396285295486,
-0.051338426768779755,
-0.027717288583517075,
0.01965177245438099,
-0.006080833729356527,
-0.0018554589478299022,
-0.001041105017066002,
-0.014580347575247288,
0.008319087326526642,
-0.01630658283829689,
-0.031423330307006836,
-0.03489530459046364,
0.0006448999629355967,
-0.03534393012523651,
0.0155263626947999,
-0.0000703644982422702,
-0.024069763720035553,
0.02014916203916073,
-0.008348345756530762,
-0.04154667630791664,
0.0007533992175012827,
0.03274970129132271,
-0.03345189988613129,
-0.026078827679157257,
-0.0007375510176643729,
-0.026429926976561546,
-0.0024259942583739758,
0.03737250342965126,
0.022840918973088264,
0.03286673501133919,
-0.027463717386126518,
0.03460272401571274,
-0.05200161412358284,
-0.008943263441324234,
-0.03436865657567978,
0.008855488151311874,
-0.028224430978298187,
-0.008928634226322174,
0.012356722727417946,
0.02071482129395008,
0.023757675662636757,
-0.0586334764957428,
-0.023523610085248947,
-0.005754116922616959,
0.01157650351524353,
0.03942057862877846,
-0.08800873160362244,
0.05555161088705063,
-0.008923757821321487,
-0.038386788219213486,
-0.0009441872243769467,
-0.008777466602623463,
-0.052274689078330994,
0.022840918973088264,
-0.026663992553949356,
0.04423842951655388,
-0.05914061889052391,
-0.05196260288357735,
-0.00915294699370861,
0.03569503128528595,
-0.000718655064702034,
-0.0067098853178322315,
-0.041702717542648315,
-0.02629338949918747,
0.05758018046617508,
0.015711665153503418,
-0.005583444144576788,
-0.027288168668746948,
-0.001410490134730935,
-0.009250474162399769,
0.03046756237745285,
0.002679565455764532,
-0.0336664617061615,
-0.023991741240024567,
0.05016809701919556,
-0.023348061367869377,
0.015067984350025654,
0.02949228696525097,
0.017116060480475426,
0.01862773485481739,
-0.04482359439134598,
-0.03551948070526123,
-0.03208651766180992,
-0.0012824854347854853,
-0.015311802737414837,
-0.011225404217839241,
0.025103554129600525,
-0.039323050528764725,
-0.06596753746271133,
-0.012902875430881977,
-0.006685503758490086,
0.0586334764957428,
0.025630202144384384,
0.018959328532218933,
0.020636798813939095,
0.04497963935136795,
0.06343182176351547,
-0.022509325295686722,
-0.0040205675177276134,
0.002660060068592429,
0.002525959862396121,
0.004235127475112677,
-0.0071390061639249325,
0.10369113832712173,
0.017252597957849503,
-0.027424706146121025,
-0.03782112896442413,
0.02524009346961975,
-0.01583844982087612,
0.043848320841789246,
-0.0029965294525027275,
-0.038913436233997345,
0.04556480422616005,
0.015682406723499298,
0.05149447172880173,
0.026800531893968582,
0.008665310218930244,
-0.020500261336565018,
-0.062417540699243546,
0.045642826706171036,
0.05637083947658539,
-0.040259312838315964,
0.023894215002655983,
-0.053015898913145065,
0.06670874357223511,
-0.02071482129395008,
-0.02274339087307453,
-0.001220311620272696,
0.03848431259393692,
0.041936784982681274,
0.021904654800891876,
-0.008382480591535568,
-0.020402733236551285,
0.0609351247549057,
0.010289140976965427,
0.0014994838275015354,
-0.012688315473496914,
0.06487523019313812,
-0.010055075399577618,
0.0024003933649510145,
-0.03232058137655258,
0.076617531478405,
0.009045667015016079,
0.002998967655003071,
-0.03076014295220375,
0.030896682292222977,
0.01247375551611185,
0.030974704772233963,
0.027463717386126518,
0.02524009346961975,
0.04139063134789467,
-0.05839940905570984,
0.04981699958443642,
-0.029531298205256462,
-0.03499283269047737,
-0.014941198751330376,
-0.03809420391917229,
-0.013449029065668583,
-0.02908267267048359,
-0.05246974527835846,
0.015067984350025654,
0.06479720771312714,
0.01598474197089672,
-0.027366189286112785,
0.022782402113080025,
-0.0012641990324482322,
-0.043848320841789246,
-0.014248753897845745,
0.004732517525553703,
-0.0371384359896183,
-0.02479146607220173,
-0.021280480548739433,
-0.04388733208179474,
0.009191958233714104,
-0.06518732011318207,
-0.022509325295686722,
0.05231370031833649,
0.009889278560876846,
0.008216683752834797,
-0.003742614295333624,
-0.04864666983485222,
0.044316451996564865,
-0.0044228676706552505,
-0.036592282354831696,
0.037177447229623795,
-0.018998337909579277,
-0.012112903408706188,
0.04841260612010956,
0.00469350628554821,
0.06222248449921608,
0.0018274197354912758,
-0.029004650190472603,
-0.021378006786108017,
0.04880271479487419,
0.029297232627868652,
-0.07564225792884827,
-0.008967644535005093,
0.03052607737481594,
-0.018179109320044518,
-0.05523952096700668,
-0.024303829297423363,
0.059803806245326996,
-0.03144283592700958,
-0.007148758973926306,
-0.019056854769587517,
-0.015077737160027027,
-0.02036372199654579,
0.06031094864010811,
0.04950490966439247,
-0.024635422974824905,
0.04923183470964432,
-0.0037182322703301907,
-0.018296141177415848,
-0.03193047270178795,
0.017320867627859116,
0.006373416166752577,
-0.06784006208181381,
0.027873333543539047,
0.02286042459309101,
0.004059578292071819,
0.0007369414670392871,
0.01413172110915184,
-0.023835698142647743,
0.05285985395312309,
0.05055820569396019,
0.017350126057863235,
-0.02682003751397133,
-0.01297114510089159,
0.016706444323062897,
0.006534336134791374,
0.06885434687137604,
0.021456029266119003,
0.006392921321094036,
0.029160695150494576,
-0.04654007777571678,
0.01091331709176302,
-0.06245655193924904,
-0.0003507938818074763,
-0.026624981313943863,
0.008431244641542435,
0.0899592787027359,
0.03306179121136665,
0.04903677850961685,
0.03052607737481594,
-0.020909875631332397,
-0.010172108188271523,
0.014375539496541023,
0.020987898111343384,
-0.021573062986135483,
-0.011225404217839241,
0.010718261823058128,
0.01032815221697092,
-0.0016408986411988735,
0.044082388281822205,
-0.0037889396771788597,
-0.08363950252532959,
-0.04299008101224899,
-0.02879009023308754,
-0.01813034527003765,
-0.049309857189655304,
0.05878952145576477,
-0.015799440443515778,
0.03945958986878395,
-0.024167291820049286,
0.039615631103515625,
-0.08122082054615021,
-0.02488899417221546,
0.04439447447657585,
-0.023133501410484314,
-0.07458896189928055,
-0.009191958233714104,
0.0458378791809082,
0.007207275368273258,
-0.020558776333928108,
0.012181173078715801,
0.003042855067178607,
0.012083645910024643,
-0.05258677899837494,
-0.06464116275310516,
-0.09549883753061295,
-0.08637027442455292,
-0.04096151143312454,
-0.031598880887031555,
0.00374992867000401,
-0.029570309445261955,
0.018120592460036278,
0.02455740049481392,
0.0336664617061615,
0.027249157428741455,
0.03532442823052406,
-0.029921408742666245,
-0.06358786672353745,
0.01750616915524006,
-0.0383087657392025,
0.015994494780898094,
-0.03070162795484066,
0.017086802050471306,
-0.01932993158698082,
-0.0568779818713665,
0.002579599851742387,
-0.05044117569923401,
0.013097930699586868,
-0.00036664208164438605,
0.022723885253071785,
0.02849750779569149,
0.06885434687137604,
-0.03407607600092888,
0.02605932205915451,
0.022372787818312645,
-0.0026820036582648754,
-0.006846423726528883,
-0.014931445941329002,
-0.05364007502794266,
0.0928460881114006,
0.024401357397437096,
-0.02722965180873871,
-0.0037182322703301907,
0.02159256860613823,
0.010971833020448685,
0.0067879073321819305,
-0.06448511779308319,
-0.022041194140911102,
-0.04915381222963333,
-0.037996675819158554,
-0.06487523019313812,
0.008377604186534882,
-0.035148877650499344,
-0.02217773161828518,
-0.029297232627868652,
0.014619357883930206,
-0.06811314076185226,
0.033159319311380386,
0.0026771272532641888,
0.01183982752263546,
0.007860708981752396,
-0.040766455233097076,
0.05188458040356636,
-0.007660777773708105,
0.011430212296545506,
-0.03643623739480972,
0.024362346157431602,
0.049309857189655304,
0.030018934980034828,
0.012376227416098118,
0.032769206911325455,
0.035304922610521317,
0.008309335447847843,
0.031072231009602547,
-0.011644772253930569,
0.012229937128722668,
0.011205898597836494,
0.017077049240469933,
-0.013322243466973305,
0.03928403928875923,
0.007226780988276005,
-0.0330812968313694,
0.052781831473112106,
-0.0019590817391872406,
0.024459874257445335,
0.08863290399312973,
0.005061672534793615,
0.012239689007401466,
0.013068672269582748,
0.06647468358278275,
-0.06581149250268936,
0.047320298850536346,
0.00541277090087533,
0.032184045761823654,
0.026898058131337166,
0.029765363782644272,
0.05270380899310112,
0.007758304942399263,
0.03546096384525299,
0.018442433327436447,
-0.010113592259585857,
0.044901616871356964,
-0.0014043946284800768,
-0.042287882417440414,
0.03953760862350464,
-0.02978486940264702,
-0.0626906156539917,
-0.010269636288285255,
0.003337875474244356,
-0.011498481035232544,
-0.010581723414361477,
0.02508404850959778,
0.050636228173971176,
-0.02223624847829342,
0.0638219341635704,
0.019203146919608116,
-0.010289140976965427,
-0.05949171632528305,
-0.020071139559149742,
0.02867305651307106,
-0.012054387480020523,
0.041585687547922134,
0.039147499948740005,
-0.03727497532963753,
-0.01247375551611185,
0.021143941208720207,
-0.018023064360022545,
-0.019817568361759186,
0.023348061367869377,
0.003406144678592682,
-0.0038133214693516493,
0.0007082927622832358,
-0.008787219412624836,
0.05956973880529404,
-0.028692562133073807,
-0.0281464084982872,
-0.027463717386126518,
0.033354371786117554,
0.037001896649599075,
0.017935289070010185,
-0.027717288583517075,
-0.0024125841446220875,
-0.04798348248004913,
-0.024986522272229195,
0.02147553488612175,
-0.025279102846980095,
0.008177673444151878,
-0.02541564218699932,
-0.005476163700222969,
-0.04591590166091919,
-0.00400350010022521,
-0.040142279118299484,
0.04568183794617653,
0.02014916203916073,
-0.012600541114807129,
0.002679565455764532,
-0.07579830288887024,
0.01413172110915184,
0.011030349880456924,
-0.0019432335393503308,
-0.016092022880911827,
-0.008943263441324234,
-0.05605875328183174,
0.03819173201918602,
-0.03594860062003136,
-0.014219495467841625,
0.11250761896371841,
-0.0411955751478672,
-0.07474500685930252,
-0.06253457069396973,
0.07806093245744705,
-0.07123401761054993,
0.004188802093267441,
-0.0028453620616346598,
-0.043146125972270966,
0.0025015780702233315,
0.030857671052217484,
-0.008060639724135399,
0.05270380899310112,
-0.006514830514788628,
-0.05126040428876877,
0.015672653913497925,
0.06218347325921059,
0.004318025894463062,
-0.05176754668354988,
-0.02403075248003006,
0.030623605474829674,
0.03434915095567703,
-0.0377236008644104,
-0.043848320841789246,
0.034505195915699005,
0.022392291575670242,
0.018110839650034904,
0.02988239750266075,
0.028517013415694237,
0.09136367589235306,
0.030018934980034828,
-0.002518645254895091,
-0.015487352386116982,
-0.00025951434508897364,
-0.013517298735678196,
-0.07989445328712463,
-0.04263898357748985,
0.04548678174614906,
0.08917906135320663,
0.009206587448716164,
-0.03858184069395065,
-0.005281108897179365,
0.041234586387872696,
-0.0638609454035759,
0.01207389310002327,
-0.014385292306542397,
0.02832195907831192,
0.004188802093267441,
0.021904654800891876,
0.027034597471356392,
-0.06128622218966484,
-0.03466124087572098,
-0.03440766781568527,
0.042287882417440414,
0.012629798613488674,
-0.037470027804374695,
-0.03945958986878395,
-0.031949978321790695,
-0.012395733036100864,
0.0045228335075080395,
-0.008894499391317368,
0.06721588969230652,
-0.007694912143051624,
0.005232345312833786,
0.03877689689397812,
0.06171534210443497,
0.02529860846698284,
-0.0067245145328342915,
-0.008426368236541748,
0.03715794160962105,
-0.005671218503266573,
-0.033159319311380386,
0.07618840783834457,
0.01700877957046032,
-0.0487637035548687,
0.009269979782402515,
-0.03667030483484268,
0.025142565369606018,
0.02717113494873047,
-0.024986522272229195,
-0.024928005412220955,
-0.022216742858290672,
0.010376916266977787,
0.09378235042095184,
0.029414266347885132,
0.02479146607220173,
0.09916586428880692,
0.05246974527835846,
-0.06784006208181381,
-0.04263898357748985,
-0.022548336535692215,
0.02083185315132141,
0.11679881811141968,
0.023289544507861137,
0.015731170773506165,
0.03196948394179344,
-0.010347657836973667,
0.009577191434800625,
-0.012220184318721294,
-0.0006229563150554895,
0.05839940905570984,
-0.004198554903268814,
0.000980759970843792,
-0.0113131795078516,
-0.02206069976091385,
0.001744521432556212,
0.0025235216598957777,
-0.013556309044361115,
0.08231312781572342,
-0.022665368393063545,
-0.015672653913497925,
0.07451093941926956,
-0.030018934980034828,
-0.005271356087177992,
0.012493261136114597,
0.06635764986276627,
0.04852963611483574,
-0.040142279118299484,
-0.01677471399307251,
-0.017057543620467186,
-0.06659170985221863,
-0.0028941258788108826,
-0.00544202933087945,
0.01151798665523529,
0.05878952145576477,
-0.006056451704353094,
0.023055478930473328,
-0.06663072109222412,
0.061559297144412994
]
|
40,700 | pyglove.core.symbolic.diff | __bool__ | Returns True if there is a diff. | def __bool__(self):
"""Returns True if there is a diff."""
if self._has_diff is None:
if base.ne(self.left, self.right):
has_diff = True
elif self.children:
has_diff = any(bool(cd) for cd in self.children.values())
else:
has_diff = False
self._has_diff = has_diff
return self._has_diff
| (self) | [
0.04370057210326195,
-0.05892901122570038,
0.046226616948843,
0.04557706043124199,
-0.030096016824245453,
-0.004235635511577129,
-0.02814735285937786,
0.02953667752444744,
-0.037132855504751205,
-0.017790570855140686,
0.0004933680756948888,
0.0024606380611658096,
0.03810718655586243,
-0.004375469870865345,
-0.02722715213894844,
-0.043014928698539734,
-0.06726495921611786,
0.020136183127760887,
-0.0060173990204930305,
0.024520674720406532,
-0.043592311441898346,
0.021958544850349426,
0.01339705754071474,
0.01689743436872959,
-0.018656643107533455,
0.03857630863785744,
-0.0027245194651186466,
-0.008024701848626137,
0.009048652835190296,
0.0965670719742775,
-0.06715670228004456,
0.002024218672886491,
0.01562538929283619,
-0.04943830147385597,
-0.012115992605686188,
0.005552787333726883,
-0.01223327312618494,
0.03825153037905693,
-0.02022640034556389,
-0.0299155842512846,
-0.0011034529889002442,
-0.025007840245962143,
-0.010374825447797775,
0.008922350592911243,
-0.008223176933825016,
-0.05261389911174774,
0.018304800614714622,
0.019901622086763382,
-0.038071099668741226,
0.008633659221231937,
0.06416153162717819,
-0.03742154687643051,
-0.008232198655605316,
0.020064011216163635,
-0.05246955528855324,
0.004461175296455622,
0.014542799443006516,
0.056872088462114334,
-0.0026230267249047756,
0.003615401219576597,
-0.02253592573106289,
0.025188272818922997,
0.03565331548452377,
-0.0416075624525547,
-0.004943829961121082,
-0.04048888385295868,
-0.055969931185245514,
-0.04550488665699959,
0.000009717588909552433,
0.07054881751537323,
-0.09469058364629745,
0.01892729103565216,
0.018548384308815002,
0.043051015585660934,
-0.02814735285937786,
-0.03594200685620308,
0.02623477764427662,
0.02116464450955391,
0.011989690363407135,
-0.029681023210287094,
-0.06585758924484253,
-0.0206774789839983,
0.021760068833827972,
0.02399742230772972,
-0.0038702611345797777,
0.02253592573106289,
0.03415573015809059,
0.023690689355134964,
0.05824337154626846,
-0.0024651489220559597,
-0.019576845690608025,
0.026631725952029228,
0.033885084092617035,
-0.047237034887075424,
0.011673934757709503,
0.03745763376355171,
0.01200773287564516,
-0.01425410807132721,
-0.03839587792754173,
-0.03821544721722603,
-0.010465041734278202,
0.10291827470064163,
0.026541510596871376,
0.018052196130156517,
0.0367359034717083,
0.02953667752444744,
-0.04510793834924698,
-0.04734529182314873,
-0.0074924286454916,
-0.03951455280184746,
-0.05239738151431084,
-0.023329826071858406,
0.019486628472805023,
0.05019611492753029,
0.01361357606947422,
-0.04669573903083801,
-0.018277736380696297,
-0.012467834167182446,
-0.02298700623214245,
-0.05593384429812431,
0.04435012489557266,
0.03922586143016815,
0.025567179545760155,
-0.02170594036579132,
0.026559554040431976,
0.016256900504231453,
0.04186016693711281,
0.05481516569852829,
0.016347117722034454,
0.021417248994112015,
0.028219526633620262,
0.037493716925382614,
0.025242403149604797,
0.039839331060647964,
0.023293739184737206,
0.012783589772880077,
0.02112855762243271,
0.020424874499440193,
-0.052253033965826035,
0.04110235348343849,
0.0015844163717702031,
-0.03175598755478859,
0.06232112646102905,
0.0344805084168911,
-0.08097776770591736,
0.03926194831728935,
-0.08112211525440216,
0.04507185146212578,
-0.032080765813589096,
0.04969090595841408,
-0.009851573966443539,
-0.06683192402124405,
-0.02022640034556389,
0.0026523468550294638,
-0.01932424120604992,
0.0049754055216908455,
-0.03334378823637962,
-0.01751992292702198,
0.013703791424632072,
-0.0019689614418894053,
-0.021002255380153656,
0.022337451577186584,
-0.0007888250984251499,
-0.007190205156803131,
-0.010302653536200523,
-0.020857911556959152,
0.009959832765161991,
-0.06181591749191284,
-0.006260981783270836,
0.07477091997861862,
0.017646225169301033,
0.0004586913564708084,
-0.026126516982913017,
0.04474707320332527,
-0.021886371076107025,
0.050448719412088394,
0.030962089076638222,
0.05759381502866745,
-0.05499560013413429,
0.016464397311210632,
0.0070684137754142284,
-0.05762990191578865,
-0.009053163230419159,
-0.009391472674906254,
0.04947438836097717,
0.0018246161052957177,
0.001065111136995256,
-0.049510471522808075,
0.04103017970919609,
0.040813662111759186,
-0.08660724014043808,
-0.060552895069122314,
0.008105896413326263,
0.00944560207426548,
0.00966212060302496,
-0.02628890611231327,
-0.00046743100392632186,
-0.0018934056861326098,
0.07076533138751984,
-0.0015472022350877523,
-0.016942542046308517,
-0.06185200437903404,
0.011150682345032692,
-0.005796370096504688,
-0.010113200172781944,
0.038937173783779144,
-0.07498743385076523,
0.024610891938209534,
0.03958672657608986,
-0.004533347673714161,
-0.054634734988212585,
-0.05347997322678566,
-0.014714209362864494,
0.04933004081249237,
0.017943937331438065,
-0.03955063968896866,
-0.028219526633620262,
-0.0010854097781702876,
-0.06560498476028442,
0.01887316070497036,
0.04896917939186096,
-0.01311738882213831,
0.05492342635989189,
-0.013983461074531078,
-0.04294275864958763,
0.020442917943000793,
0.0015370530309155583,
0.02666781283915043,
-0.011222855187952518,
-0.05571732670068741,
0.03947846591472626,
-0.03962281346321106,
-0.014587907120585442,
-0.021345077082514763,
0.028201483190059662,
-0.026397164911031723,
-0.0002392130409134552,
0.05427386984229088,
0.03814327344298363,
-0.001985877053812146,
0.00454011419788003,
-0.023600473999977112,
0.01927011087536812,
-0.0018246161052957177,
0.013992482796311378,
-0.073543980717659,
0.024737194180488586,
0.008597573265433311,
-0.0037913222331553698,
0.0092471269890666,
-0.02484545297920704,
-0.07686392962932587,
-0.010068091563880444,
-0.012945977970957756,
0.05315519496798515,
-0.03929803520441055,
-0.060552895069122314,
0.022030716761946678,
0.033379875123500824,
0.02033465914428234,
0.0507734939455986,
-0.008800558745861053,
0.038071099668741226,
0.07112620025873184,
-0.028381913900375366,
-0.01793491654098034,
0.03832370415329933,
-0.02253592573106289,
-0.027082806453108788,
-0.025964129716157913,
0.08487509936094284,
-0.058784663677215576,
-0.022896789014339447,
0.014939749613404274,
-0.023149393498897552,
-0.028778864070773125,
0.018819032236933708,
-0.041427131742239,
-0.0010921759530901909,
-0.02401546575129032,
-0.01979336328804493,
-0.01682526059448719,
-0.014795403927564621,
-0.000458409427665174,
-0.05301084741950035,
-0.03731328621506691,
-0.06214069575071335,
-0.007726989686489105,
-0.019197938963770866,
-0.011276984587311745,
0.03536462411284447,
0.01937836967408657,
0.013911288231611252,
0.010771775618195534,
0.014687145128846169,
0.041210614144802094,
0.03693437948822975,
-0.04734529182314873,
-0.014831489883363247,
0.022824617102742195,
0.004461175296455622,
-0.007916443049907684,
-0.025567179545760155,
-0.025567179545760155,
-0.010050049051642418,
0.0346248522400856,
-0.016013318672776222,
0.021056385710835457,
0.05795468017458916,
0.003588336519896984,
-0.028869081288576126,
0.008575019426643848,
0.012088927440345287,
0.024574805051088333,
0.03998367488384247,
-0.04673182591795921,
0.02812931127846241,
-0.07924562692642212,
-0.0007549941074103117,
0.08848372846841812,
-0.06098593398928642,
0.052794329822063446,
-0.07498743385076523,
0.04189625382423401,
-0.03606830909848213,
-0.05495951324701309,
0.06264590471982956,
0.011655891314148903,
0.04525228217244148,
0.04550488665699959,
-0.0037529803812503815,
-0.07729696482419968,
0.09930963814258575,
-0.009310278110206127,
-0.01981140673160553,
-0.044422298669815063,
0.04276232421398163,
-0.014813447371125221,
0.025458920747041702,
-0.007018795236945152,
0.0552842877805233,
0.05102609843015671,
0.007636773865669966,
-0.04045280069112778,
0.0553203746676445,
0.03487745672464371,
0.00875996146351099,
0.051856085658073425,
0.06401718407869339,
0.025242403149604797,
-0.05907335504889488,
-0.012873806059360504,
-0.0011998711852356791,
-0.012792611494660378,
-0.025224359706044197,
-0.03929803520441055,
-0.0037033618427813053,
0.03309118375182152,
0.013000108301639557,
0.013902266509830952,
0.07910127937793732,
0.0028440554160624743,
-0.025729568675160408,
0.015805821865797043,
-0.024773279204964638,
-0.04366448521614075,
-0.04294275864958763,
-0.017646225169301033,
-0.04828353598713875,
-0.011412308551371098,
0.0086471913382411,
-0.006188808940351009,
0.01927011087536812,
-0.04413360729813576,
-0.0032973901834338903,
-0.022698314860463142,
-0.025061970576643944,
-0.005191923584789038,
0.05026828497648239,
-0.011087531223893166,
0.021904414519667625,
0.04294275864958763,
0.00038510901504196227,
0.01751992292702198,
0.018052196130156517,
-0.018304800614714622,
0.01545397937297821,
-0.014894641004502773,
0.038071099668741226,
-0.015273547731339931,
-0.01795295998454094,
-0.005584362894296646,
-0.0832872986793518,
0.015120181255042553,
-0.13727247714996338,
-0.02493566833436489,
0.06845580786466599,
-0.02719106525182724,
-0.026126516982913017,
-0.013036194257438183,
0.06271807849407196,
0.02852625958621502,
0.022283321246504784,
0.018746858462691307,
0.028345828875899315,
0.028345828875899315,
0.003080872120335698,
0.04460272938013077,
-0.016870368272066116,
-0.010979272425174713,
-0.016292987391352654,
-0.04250971972942352,
-0.016717001795768738,
0.03969498723745346,
-0.029879499226808548,
-0.050015680491924286,
0.036591559648513794,
0.03314531221985817,
0.046840082854032516,
-0.02903146855533123,
-0.01083492673933506,
0.04474707320332527,
0.010573300532996655,
0.006148212123662233,
-0.017249274998903275,
0.0023185480386018753,
-0.012576092965900898,
0.013775964267551899,
-0.014633014798164368,
0.04103017970919609,
-0.013911288231611252,
-0.017474815249443054,
0.06369240581989288,
-0.006364730186760426,
0.02950059249997139,
-0.024304157122969627,
-0.023149393498897552,
-0.037998925894498825,
-0.02526044473052025,
0.07141488790512085,
0.008462249301373959,
0.035779617726802826,
-0.010762753896415234,
-0.058712493628263474,
0.019234023988246918,
-0.00949071068316698,
0.002841800218448043,
0.01429921668022871,
0.04232928901910782,
-0.014858555048704147,
-0.019035549834370613,
0.037601977586746216,
-0.01941445656120777,
-0.01652754843235016,
-0.05842380225658417,
-0.004930297844111919,
-0.04225711524486542,
-0.008390076458454132,
-0.014380410313606262,
0.050953928381204605,
-0.01838599517941475,
0.0025711525231599808,
-0.05575341358780861,
-0.001715229358524084,
-0.05817119777202606,
-0.05257781222462654,
0.028760820627212524,
0.00017281978216487914,
-0.021958544850349426,
0.013153474777936935,
0.03879282623529434,
-0.04229320213198662,
-0.04918569698929787,
-0.005133283324539661,
0.011105574667453766,
-0.0006563204806298018,
-0.04528836905956268,
-0.007902910932898521,
-0.060228120535612106,
-0.0506652370095253,
-0.10479476302862167,
0.00611663656309247,
-0.02116464450955391,
-0.0367359034717083,
0.0021155623253434896,
-0.07938997447490692,
-0.05301084741950035,
0.03273031860589981,
0.024755235761404037,
-0.07072924822568893,
-0.011700998991727829,
-0.039947591722011566,
-0.03049296699464321,
0.043520137667655945,
0.02388916350901127,
-0.012179143726825714,
0.010798840783536434,
-0.02803909406065941,
0.008141983300447464,
-0.005354312248528004,
-0.0046235634945333,
0.04012802243232727,
0.02814735285937786,
0.06394501030445099,
0.018034154549241066,
-0.007862313650548458,
-0.013351949863135815,
-0.018746858462691307,
-0.042581893503665924,
0.023816991597414017,
0.014633014798164368,
-0.0505930632352829,
0.01687939092516899,
0.050448719412088394,
0.019901622086763382,
0.003847707062959671,
0.025043927133083344,
-0.016121577471494675,
0.027371497824788094,
-0.027389539405703545,
0.030186232179403305,
0.010041027329862118,
-0.019486628472805023,
-0.073543980717659,
-0.022914832457900047,
0.03632091358304024,
-0.011475459672510624,
0.00454011419788003,
0.021399205550551414,
-0.08011169731616974,
0.025621309876441956,
-0.0207316093146801,
0.02531457506120205,
0.006716572213917971,
-0.039947591722011566,
0.022427666932344437,
0.01015830785036087,
0.03235141187906265,
-0.08927763253450394,
0.002114434726536274,
0.05495951324701309,
-0.037601977586746216,
0.030529052019119263,
0.02583782747387886,
0.013902266509830952,
0.05333562567830086,
0.022698314860463142,
-0.0553203746676445,
0.08040039241313934,
0.033885084092617035,
0.021435292437672615,
0.05795468017458916,
-0.010230480693280697,
-0.03789066895842552,
0.034245945513248444,
0.06993534415960312,
0.02488153800368309,
0.03413768857717514,
0.06553281098604202,
-0.004312318749725819,
0.018692729994654655,
-0.029374290257692337,
0.023618517443537712,
-0.005715175997465849,
-0.019558802247047424,
-0.02803909406065941,
0.03655547276139259,
-0.007262377999722958,
0.03955063968896866,
0.08819504082202911,
0.004023628309369087,
0.0505930632352829,
-0.04287058487534523,
-0.02123681828379631,
0.050484806299209595,
0.008723875507712364,
-0.029338203370571136,
0.03789066895842552,
-0.05008785426616669,
-0.0692857950925827,
-0.020027924329042435,
-0.039839331060647964,
-0.0006360219558700919,
0.014199978671967983,
0.013063258491456509,
-0.008913328871130943,
-0.012964021414518356,
0.06235721334815025,
-0.003319944255053997,
-0.04806701838970184,
-0.042726241052150726,
-0.010221458971500397,
0.04294275864958763,
-0.05910944193601608,
0.0324416309595108,
-0.0014333047438412905,
0.017249274998903275,
-0.015769734978675842,
0.01588701643049717,
-0.008579529821872711,
-0.0001341256283922121,
-0.04240146279335022,
-0.0014209001092240214,
-0.020009880885481834,
-0.035815704613924026,
-0.024195898324251175,
0.021327033638954163,
0.02392525039613247,
-0.03742154687643051,
-0.0040033296681940556,
0.04557706043124199,
-0.01883707568049431,
0.058712493628263474,
-0.0056520248763263226,
0.01720416732132435,
-0.039947591722011566,
-0.009707228280603886,
0.040741488337516785,
-0.026613684371113777,
0.02112855762243271,
0.0000970525507000275,
0.010501127690076828,
-0.013045215979218483,
0.0010036516468971968,
-0.06712061166763306,
-0.02172398380935192,
0.04665965214371681,
-0.013315862976014614,
0.00838556606322527,
-0.04099409282207489,
0.04698443040251732,
-0.01720416732132435,
-0.0032207067124545574,
-0.06051681190729141,
-0.019540758803486824,
-0.04763398319482803,
0.014723231084644794,
-0.00039300290518440306,
0.016924498602747917,
0.041715823113918304,
-0.062393300235271454,
-0.023401997983455658,
-0.05427386984229088,
-0.00002417503492324613,
-0.053263451904058456,
-0.02771431766450405,
0.02249983884394169,
0.007857803255319595,
0.018764901906251907,
-0.035635270178318024,
-0.047200947999954224,
0.08393685519695282,
0.02493566833436489,
-0.024592848494648933,
0.0161666851490736,
0.003694340121001005,
0.02946450561285019,
0.006924068555235863,
-0.00946364551782608,
0.0005675142747350037,
0.04009193554520607,
-0.04803093150258064,
-0.02672194316983223,
-0.027353454381227493,
0.059253789484500885,
0.006933090277016163,
-0.006414348725229502,
0.002024218672886491,
-0.00412737624719739,
0.018304800614714622,
-0.001500966609455645,
0.044025346636772156,
-0.01823262870311737,
-0.02677607163786888,
-0.025188272818922997,
-0.04503576457500458,
0.011123617179691792,
0.02123681828379631,
0.02253592573106289,
-0.019540758803486824,
-0.0162027720361948,
0.0921645388007164,
-0.008435184136033058,
0.04644313454627991,
0.009878638200461864,
0.04193234071135521,
-0.005164858885109425,
0.005886585917323828,
0.056944262236356735,
-0.04110235348343849,
-0.029338203370571136,
-0.050015680491924286,
0.04243754968047142,
0.07715261727571487,
0.028923209756612778,
0.01986553519964218,
-0.029662979766726494,
0.039334122091531754,
-0.007794651668518782,
-0.027371497824788094,
0.06686800718307495,
-0.01448867004364729,
-0.014642036519944668,
0.04467490315437317,
0.03500375896692276,
-0.0034575234167277813,
-0.018620556220412254,
0.011619805358350277,
0.03796284273266792,
0.013514338061213493,
-0.050990015268325806,
0.060588981956243515,
0.02769627422094345,
-0.057413384318351746,
0.0014118785038590431,
-0.05214477702975273,
0.03915369138121605,
0.000995757756754756,
0.046803995966911316,
-0.028851037845015526,
-0.0012686607660725713,
-0.011872408911585808,
0.013658683747053146,
0.05149522423744202,
0.003940178547054529,
0.03327161446213722,
0.026397164911031723,
-0.07289443165063858,
-0.048139192163944244,
-0.04803093150258064,
-0.0070684137754142284,
0.05340779945254326,
0.031070347875356674,
-0.0016746321925893426,
-0.01585092954337597,
0.005349801387637854,
0.010401890613138676,
-0.01564343273639679,
-0.055536892265081406,
0.04882483184337616,
0.053263451904058456,
-0.02852625958621502,
0.0066849966533482075,
-0.002496724482625723,
0.004251423291862011,
-0.005034045781940222,
-0.001702824723906815,
0.050015680491924286,
-0.040308453142642975,
-0.054093439131975174,
0.04370057210326195,
-0.012260337360203266,
0.03603222221136093,
-0.026054345071315765,
0.049113523215055466,
0.08343164622783661,
-0.05607818812131882,
-0.006062506698071957,
-0.0008063043933361769,
-0.033885084092617035,
-0.0036063797306269407,
-0.016455376520752907,
0.007239824160933495,
0.02950059249997139,
-0.036140479147434235,
0.05301084741950035,
-0.030240362510085106,
0.07253356277942657
]
|
40,717 | pyglove.core.symbolic.diff | _on_bound | null | def _on_bound(self):
super()._on_bound()
if self.children:
if not isinstance(self.left, type):
raise ValueError(
f'\'left\' must be a type when \'children\' is specified. '
f'Encountered: {self.left!r}.')
if not isinstance(self.right, type):
raise ValueError(
f'\'right\' must be a type when \'children\' is specified. '
f'Encountered: {self.right!r}.')
self._has_diff = None
| (self) | [
0.007815120741724968,
-0.004538513720035553,
0.0444539375603199,
0.03202632814645767,
-0.03860564902424812,
0.019041741266846657,
0.026003986597061157,
0.042991865426301956,
0.03916262835264206,
-0.03916262835264206,
0.04779581353068352,
-0.008567913435399532,
0.032565902918577194,
-0.052913062274456024,
-0.05778663605451584,
0.032513685524463654,
-0.04957118630409241,
-0.020329756662249565,
0.01269739493727684,
-0.0023976231459528208,
-0.05778663605451584,
-0.03672584518790245,
0.033766888082027435,
0.0025608008727431297,
-0.009764549322426319,
-0.015717267990112305,
0.004982356913387775,
-0.022000694647431374,
0.047064777463674545,
0.04347922280430794,
-0.05754295736551285,
-0.024663753807544708,
0.022401023656129837,
-0.08835089206695557,
0.005791717674583197,
-0.02845817804336548,
-0.007175464183092117,
0.0398588553071022,
0.018362922593951225,
0.04201715067028999,
-0.07442640513181686,
-0.029554730281233788,
-0.043514031916856766,
0.03190448880195618,
0.023776067420840263,
-0.031504157930612564,
0.01799740456044674,
-0.0009007405024021864,
-0.01813664846122265,
0.0015001462306827307,
-0.002064740750938654,
-0.031800054013729095,
0.03968479856848717,
0.029049968346953392,
-0.05127693712711334,
0.05371372029185295,
0.018415138125419617,
0.07386942207813263,
0.011653058230876923,
0.0020571257919073105,
0.016544034704566002,
0.04424506798386574,
-0.01422908902168274,
-0.06255577504634857,
0.02668280526995659,
-0.04107724875211716,
-0.024228613823652267,
-0.01147029921412468,
-0.004353579133749008,
0.06760340183973312,
-0.04424506798386574,
-0.017605777829885483,
0.006474887952208519,
0.09287635236978531,
0.0011270134709775448,
-0.030163927003741264,
0.01905914582312107,
0.06464444845914841,
0.08368618786334991,
-0.016970472410321236,
0.01605667732656002,
0.0019429015228524804,
0.010469476692378521,
0.014281305484473705,
-0.02231399528682232,
0.018032215535640717,
-0.06158106029033661,
0.03822272643446922,
0.05496692657470703,
-0.06321718543767929,
-0.03143453598022461,
-0.02389790676534176,
-0.01695306785404682,
0.02102597989141941,
-0.013759137131273746,
0.07240734994411469,
-0.003254849696531892,
-0.07164150476455688,
-0.05573277175426483,
0.029641758650541306,
0.029606947675347328,
0.08173675835132599,
0.02260989136993885,
0.05500173568725586,
0.03609924018383026,
0.02356719970703125,
0.03811829164624214,
-0.08062279969453812,
-0.07449602335691452,
0.02400233969092369,
-0.0346197634935379,
0.010156175121665001,
0.0036573545075953007,
0.033331748098134995,
-0.023097248747944832,
0.0339757576584816,
-0.04779581353068352,
-0.028440771624445915,
0.014081140980124474,
0.011069970205426216,
0.0772809237241745,
-0.031086424365639687,
0.026961294934153557,
-0.026630587875843048,
-0.002647829009220004,
0.037039145827293396,
-0.005756906699389219,
0.013585081323981285,
-0.02064305730164051,
-0.029746193438768387,
0.05534984916448593,
-0.01394189614802599,
-0.048457227647304535,
0.0498148649930954,
-0.00805444736033678,
0.036168865859508514,
-0.03374948352575302,
0.020938953384757042,
-0.024733375757932663,
-0.007641064003109932,
0.030407605692744255,
-0.0031025505159050226,
0.07118895649909973,
-0.012775720097124577,
-0.00007220610132208094,
0.039232250303030014,
-0.060258232057094574,
0.05127693712711334,
-0.020277539268136024,
0.038083482533693314,
-0.035054903477430344,
-0.036308109760284424,
0.03063387982547283,
0.0022714324295520782,
-0.033575426787137985,
0.014342225156724453,
-0.0026173691730946302,
-0.06708123534917831,
0.011522515676915646,
0.026822049170732498,
-0.029241429641842842,
-0.039093006402254105,
0.0057264468632638454,
-0.03028576634824276,
-0.010695748962461948,
0.052007973194122314,
0.023114655166864395,
-0.07470489293336868,
-0.013210860081017017,
0.03752650320529938,
0.013880976475775242,
-0.03080793470144272,
-0.03522896021604538,
0.01288885623216629,
0.010626127012073994,
-0.008715860545635223,
0.024019746109843254,
0.012288362719118595,
-0.05127693712711334,
-0.006979650817811489,
0.0680907592177391,
-0.05009335279464722,
0.014707743190228939,
-0.03188708424568176,
0.0048387604765594006,
0.007084084674715996,
-0.046438176184892654,
-0.034236840903759,
0.013080318458378315,
-0.017135826870799065,
-0.036551788449287415,
-0.03641254082322121,
-0.04396658018231392,
-0.05688154324889183,
0.040624700486660004,
0.03651697561144829,
0.002386744599789381,
0.008876862935721874,
-0.04020696505904198,
0.011017752811312675,
-0.08305958658456802,
-0.03623848780989647,
0.002347582019865513,
-0.007897797040641308,
-0.02567327953875065,
0.03623848780989647,
-0.03815310448408127,
0.040624700486660004,
0.07477451115846634,
-0.07289470732212067,
-0.04417544603347778,
-0.042504508048295975,
-0.04549827426671982,
0.01712712273001671,
0.02203550562262535,
-0.06391341239213943,
-0.09378144145011902,
-0.0706319808959961,
-0.019737964496016502,
-0.006823000498116016,
0.05615050718188286,
0.027953414246439934,
-0.043270353227853775,
-0.05928351730108261,
-0.002689167158678174,
-0.018206270411610603,
-0.01900693029165268,
-0.006113721523433924,
0.04709959030151367,
0.0334709957242012,
0.01744912751019001,
-0.0070753819309175014,
-0.05141618102788925,
-0.05350485444068909,
-0.017518749460577965,
-0.01161824632436037,
0.01919839158654213,
-0.009285894222557545,
-0.007767254952341318,
-0.003022049553692341,
-0.048979394137859344,
-0.00483440887182951,
-0.083546943962574,
-0.025951769202947617,
0.009033513255417347,
-0.07212886214256287,
0.024994460865855217,
0.028388554230332375,
-0.007741146255284548,
0.06997056305408478,
-0.01972055993974209,
-0.05709041282534599,
-0.013593783602118492,
-0.02332352101802826,
0.029606947675347328,
-0.05764739215373993,
-0.03409759700298309,
-0.030059494078159332,
0.025412194430828094,
-0.0016926958924159408,
0.00040794405504129827,
0.030355390161275864,
0.02462894283235073,
0.08563561737537384,
-0.02452450804412365,
0.0025716794189065695,
-0.010808886028826237,
-0.012253551743924618,
-0.025029271841049194,
0.027326812967658043,
0.04508053883910179,
-0.025986580178141594,
0.0179451871663332,
0.014612012542784214,
-0.004064210690557957,
-0.007910851389169693,
0.018258487805724144,
0.021565554663538933,
0.024611536413431168,
0.0030590365640819073,
0.04602044075727463,
-0.019563909620046616,
-0.01247982494533062,
-0.030250955373048782,
-0.054166268557310104,
-0.015438779257237911,
-0.005700338166207075,
-0.05322636663913727,
-0.012558150105178356,
-0.02596917562186718,
-0.0048822746612131596,
0.016352573409676552,
0.025185922160744667,
0.04152979329228401,
-0.011461596004664898,
-0.019163580611348152,
0.007915202528238297,
-0.00943384226411581,
0.007697632536292076,
0.0004384038911666721,
-0.006435725372284651,
-0.0126451775431633,
-0.010800182819366455,
-0.013358808122575283,
0.009111838415265083,
-0.044767238199710846,
0.03383651375770569,
-0.018693627789616585,
0.005378334317356348,
0.018641412258148193,
-0.03930187597870827,
0.03186967596411705,
-0.021234847605228424,
0.026526154950261116,
0.07964808493852615,
0.04194752871990204,
0.03437608480453491,
-0.02664799429476261,
-0.022836163640022278,
0.06081521138548851,
-0.0579955019056797,
0.03444570675492287,
-0.008898619562387466,
0.01911136321723461,
-0.029311051592230797,
0.05827399343252182,
0.025185922160744667,
0.03752650320529938,
0.04727364704012871,
0.02438526414334774,
0.0027761952951550484,
-0.02951991930603981,
0.06589765101671219,
-0.05534984916448593,
0.023462766781449318,
0.003513758070766926,
0.08131902664899826,
0.01895471289753914,
0.030842745676636696,
-0.043757710605859756,
0.01391578745096922,
0.028023038059473038,
0.05399221181869507,
-0.006065856199711561,
0.0700053796172142,
0.04208677262067795,
-0.006857811473309994,
-0.007179815322160721,
0.05012816563248634,
0.03825753927230835,
-0.1003955751657486,
-0.003487649839371443,
-0.01829329878091812,
-0.046821098774671555,
-0.04842241480946541,
-0.06380897760391235,
0.006339994724839926,
0.013306591659784317,
-0.036691032350063324,
0.013271779753267765,
0.0873761773109436,
-0.012105603702366352,
0.0029546029400080442,
-0.01714452914893627,
-0.015638943761587143,
-0.0027000457048416138,
0.006266020704060793,
-0.020764896646142006,
-0.022836163640022278,
-0.013846165500581264,
0.011957656592130661,
-0.023480171337723732,
-0.07588846981525421,
0.014359630644321442,
-0.028092660009860992,
0.025551440194249153,
0.02504667639732361,
0.025325167924165726,
0.0029350214172154665,
0.006105018779635429,
0.014490173198282719,
0.015282128006219864,
-0.01523861475288868,
-0.013141238130629063,
-0.02266210876405239,
-0.02045159600675106,
0.03456754609942436,
-0.010834993794560432,
0.04107724875211716,
-0.010330231860280037,
-0.019790181890130043,
-0.01495142187923193,
-0.01684863306581974,
0.011566029861569405,
-0.08375581353902817,
-0.005047627724707127,
0.02741384133696556,
-0.03139972686767578,
0.011026456020772457,
0.03728282451629639,
-0.02342795580625534,
0.0017829874996095896,
-0.08925598114728928,
0.025412194430828094,
0.05005854368209839,
0.02332352101802826,
0.006666349712759256,
0.04386214539408684,
0.004847463220357895,
-0.02495964989066124,
-0.03096458502113819,
0.0014250845415517688,
0.012558150105178356,
0.04065951332449913,
-0.018745845183730125,
-0.07609733939170837,
0.03634291887283325,
0.0006608693511225283,
-0.002882804721593857,
-0.025081489235162735,
-0.004995410796254873,
0.030512040480971336,
0.04588119685649872,
0.026003986597061157,
0.01872844062745571,
0.002743559656664729,
-0.020294945687055588,
-0.019233202561736107,
0.012340580113232136,
0.042365264147520065,
0.0009692750754766166,
0.04379252344369888,
-0.02323649264872074,
-0.007401736918836832,
0.011357162147760391,
-0.013820056803524494,
-0.043757710605859756,
-0.022714324295520782,
0.022958002984523773,
0.04609006270766258,
-0.014037626795470715,
0.0637393519282341,
0.03999809920787811,
-0.012706097215414047,
0.02826671488583088,
-0.006065856199711561,
0.027013512328267097,
0.009764549322426319,
-0.06196398288011551,
-0.020225321874022484,
-0.0173708014190197,
-0.014873096719384193,
0.0479002483189106,
-0.000006552601462317398,
-0.07042311131954193,
-0.03683027625083923,
-0.10694009065628052,
-0.013045507483184338,
-0.011461596004664898,
0.020625650882720947,
-0.05566314980387688,
0.008546155877411366,
-0.040624700486660004,
0.00797177106142044,
-0.026856860145926476,
0.007793363183736801,
0.01886768452823162,
-0.01972055993974209,
-0.014072437770664692,
0.04306148737668991,
0.06429633498191833,
-0.02400233969092369,
0.03195670619606972,
-0.032565902918577194,
-0.0007876040181145072,
0.019981643185019493,
0.017022689804434776,
-0.015073261223733425,
-0.0008082731510512531,
-0.04588119685649872,
-0.0006576058221980929,
0.04622931033372879,
-0.008855105377733707,
-0.0061441813595592976,
-0.008398208767175674,
-0.016013164073228836,
-0.07637582719326019,
0.027466056868433952,
-0.02236621268093586,
0.02121744304895401,
-0.035211555659770966,
-0.005561093334108591,
-0.011000347323715687,
0.05280863121151924,
-0.015021043829619884,
-0.0005055786459706724,
-0.017222853377461433,
-0.04539383947849274,
0.026909077540040016,
0.012871450744569302,
0.00888991728425026,
0.038083482533693314,
0.03235703334212303,
0.02010348252952099,
0.03860564902424812,
-0.050998445600271225,
0.01589132472872734,
0.023445360362529755,
-0.028284121304750443,
-0.012062089517712593,
0.028388554230332375,
-0.04128611460328102,
0.08438241481781006,
0.04361846670508385,
-0.004112076014280319,
-0.02222696878015995,
0.05016297847032547,
0.049988921731710434,
-0.02509889379143715,
-0.03696952387690544,
-0.007884742692112923,
-0.028875911608338356,
-0.010713154450058937,
-0.06116332486271858,
0.04755213484168053,
-0.03239184617996216,
-0.0029089131858199835,
-0.0033027150202542543,
0.03648216649889946,
-0.0660368949174881,
0.06930915266275406,
-0.0010851311963051558,
0.04473242536187172,
-0.04699515551328659,
-0.046925533562898636,
0.047830626368522644,
0.040485456585884094,
-0.0013957126066088676,
-0.057334091514348984,
0.02501186542212963,
-0.001835204311646521,
-0.019981643185019493,
0.038849327713251114,
0.02744865231215954,
-0.007419142406433821,
0.034863442182540894,
0.03766574710607529,
-0.034915659576654434,
-0.011278836987912655,
0.007932608015835285,
0.004351403098553419,
-0.026578370481729507,
0.009973416104912758,
-0.015012341551482677,
-0.008728914894163609,
0.016309060156345367,
-0.025377383455634117,
0.032861799001693726,
0.07909110933542252,
0.04285261780023575,
0.014681634493172169,
0.03195670619606972,
0.05977087467908859,
0.033088069409132004,
-0.024594131857156754,
0.005091141909360886,
0.013576378114521503,
0.04584638401865959,
0.03533339500427246,
0.036795467138290405,
0.033105477690696716,
0.023497577756643295,
-0.03334915637969971,
-0.06001455336809158,
0.05040665715932846,
0.008132772520184517,
-0.045916005969047546,
0.03039020113646984,
-0.07435677945613861,
-0.07435677945613861,
-0.0010503199882805347,
-0.04090319201350212,
-0.016622360795736313,
0.019024334847927094,
0.005130304489284754,
0.03404537960886955,
-0.049849677830934525,
0.03822272643446922,
-0.04152979329228401,
0.017275070771574974,
-0.040485456585884094,
0.008250260725617409,
0.04372290149331093,
-0.034880850464105606,
0.07484413683414459,
0.0042491452768445015,
-0.03571631759405136,
-0.023166870698332787,
-0.040346212685108185,
-0.030268361791968346,
0.04901420697569847,
-0.013602486811578274,
-0.015604131855070591,
0.002009260468184948,
-0.020312350243330002,
-0.03797904774546623,
0.022157344967126846,
0.02697869949042797,
-0.034724198281764984,
-0.015116775408387184,
0.022540269419550896,
0.05127693712711334,
0.06648944318294525,
-0.03766574710607529,
-0.017736319452524185,
-0.041877906769514084,
-0.03345358744263649,
0.03134750947356224,
0.0486660934984684,
0.0629735067486763,
-0.0001263946614926681,
-0.002584733534604311,
-0.012775720097124577,
0.01730988174676895,
-0.028092660009860992,
-0.01824108324944973,
0.04501091688871384,
-0.031660810112953186,
0.00722332950681448,
-0.027970820665359497,
0.026143230497837067,
-0.02703091688454151,
0.0007750937365926802,
-0.048561662435531616,
-0.007867337204515934,
-0.022296590730547905,
0.04260893911123276,
-0.014603309333324432,
0.001081323716789484,
0.02452450804412365,
-0.029798408970236778,
-0.09663596749305725,
-0.010365042835474014,
0.03277476876974106,
-0.023932717740535736,
-0.010356339626014233,
-0.0015697687631472945,
0.009494761936366558,
-0.01739691011607647,
-0.03247887268662453,
0.06440076977014542,
0.03317509964108467,
-0.021617772057652473,
-0.027953414246439934,
0.029920248314738274,
0.026822049170732498,
0.02946770377457142,
-0.04556789621710777,
-0.03522896021604538,
0.02323649264872074,
-0.005130304489284754,
0.004303537774831057,
0.030268361791968346,
0.010373745113611221,
0.02269691973924637,
0.004830057732760906,
0.0074408994987607,
0.02485521510243416,
-0.001226007821969688,
0.034010566771030426,
-0.01938985288143158,
-0.08326845616102219,
-0.055175792425870895,
-0.014629418030381203,
-0.05486249178647995,
-0.015160288661718369,
0.024942243471741676,
0.011078672483563423,
0.019546503201127052,
-0.0020266661886125803,
-0.01982499286532402,
0.03188708424568176,
-0.07098008692264557,
0.0088464030995965,
0.03408018872141838,
0.04194752871990204,
-0.04469761624932289,
0.037700556218624115,
0.06836924701929092,
-0.009277191944420338,
0.026909077540040016,
-0.04090319201350212,
0.05827399343252182,
0.018171459436416626,
-0.023062437772750854,
-0.04734326899051666,
-0.04396658018231392,
-0.06784708052873611,
-0.018206270411610603,
0.03975442051887512,
0.08946485072374344,
-0.02678723819553852,
-0.01594354212284088,
-0.005347874481230974,
0.03533339500427246,
-0.04114687070250511,
-0.05625494197010994,
0.04257412999868393,
0.07964808493852615,
-0.0077759576961398125,
-0.004616838879883289,
-0.029885437339544296,
0.011226620525121689,
-0.05092882364988327,
-0.040868379175662994,
0.01140067633241415,
0.045045726001262665,
0.04702996835112572,
-0.0008403647807426751,
-0.04546346142888069,
-0.02736162394285202,
-0.0063138860277831554,
0.05092882364988327,
-0.0013173873303458095,
0.06502737104892731,
0.049083828926086426,
0.08236335963010788,
-0.08521787822246552,
-0.027779359370470047,
0.005369631573557854,
0.04038102179765701,
0.028231903910636902,
0.028823696076869965,
0.025690684095025063,
-0.0001979888475034386,
-0.004538513720035553,
-0.02539478987455368,
0.04069432243704796,
-0.01113959215581417,
0.020469000563025475,
0.03777018189430237,
-0.003700868459418416,
0.06568878144025803,
-0.032896608114242554,
-0.005635067354887724,
0.006279075052589178,
-0.03489825502038002,
0.038710083812475204,
-0.04093800112605095,
-0.03877970576286316,
0.07157187908887863,
0.03134750947356224,
0.035490043461322784,
0.004375336226075888,
0.019511692225933075,
0.04354884475469589,
-0.034584954380989075,
-0.016691982746124268,
-0.019946832209825516,
-0.03714357689023018,
0.04936232045292854,
0.012627772055566311,
-0.01194895338267088,
0.014794771559536457,
-0.03162599727511406,
0.029728787019848824,
-0.021339282393455505,
0.05803031474351883
]
|
40,735 | pyglove.core.symbolic.pure_symbolic | custom_apply | Custom apply on a value based on its original value spec.
This implements ``pg.pg_typing.CustomTyping``, allowing a pure symbolic
value to be assigned to any field. To customize this behavior, override
this method in subclasses.
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.
| def custom_apply(
self,
path: object_utils.KeyPath,
value_spec: pg_typing.ValueSpec,
allow_partial: bool,
child_transform: Optional[
Callable[[object_utils.KeyPath, pg_typing.Field, Any], Any]] = None
) -> Tuple[bool, Any]:
"""Custom apply on a value based on its original value spec.
This implements ``pg.pg_typing.CustomTyping``, allowing a pure symbolic
value to be assigned to any field. To customize this behavior, override
this method in subclasses.
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.
"""
del path, value_spec, allow_partial, child_transform
return (False, self)
| (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.10602303594350815,
-0.07514576613903046,
0.00917648896574974,
0.06655029952526093,
-0.003714403137564659,
-0.025251485407352448,
-0.00036544562317430973,
-0.04751484841108322,
0.04057944938540459,
-0.01411980390548706,
0.05662677809596062,
0.03373628109693527,
0.02445834130048752,
-0.023425409570336342,
-0.002267607254907489,
0.051720354706048965,
0.013575670309364796,
0.0471828319132328,
0.05622098222374916,
0.058803312480449677,
0.047699298709630966,
0.007036845665425062,
-0.045559655874967575,
0.016370119526982307,
0.0436413548886776,
0.02257693000137806,
0.011712704785168171,
-0.024236999452114105,
0.006930785719305277,
-0.006017747800797224,
0.0302132461220026,
0.01826997473835945,
0.024532122537493706,
-0.016517680138349533,
0.033828504383563995,
-0.05836062878370285,
-0.06145942211151123,
0.07872413098812103,
-0.016563793644309044,
-0.07732229679822922,
0.026819327846169472,
0.013732454739511013,
-0.08322476595640182,
-0.009250270202755928,
0.030397696420550346,
0.026118410751223564,
-0.0015943574253469706,
0.08912722766399384,
0.022152690216898918,
-0.01709870435297489,
-0.016416233032941818,
-0.010403095744550228,
0.024495230987668037,
0.003582980949431658,
-0.048695340752601624,
0.009443945251405239,
0.0069031179882586,
0.05385999754071236,
0.029051197692751884,
-0.002870535012334585,
0.012966979295015335,
0.034289635717868805,
-0.051794134080410004,
-0.034713875502347946,
-0.02906964346766472,
-0.03958341106772423,
0.026837773621082306,
-0.03547012805938721,
-0.0376097708940506,
0.048621561378240585,
-0.08071621507406235,
-0.056073423475027084,
0.04209195822477341,
0.016287116333842278,
0.005990080069750547,
0.004339234437793493,
-0.017947183921933174,
-0.030692821368575096,
0.06902195513248444,
-0.007654760032892227,
-0.03189175948500633,
-0.022687600925564766,
-0.020123718306422234,
-0.0920046791434288,
-0.06061094254255295,
0.005588897038251162,
-0.027999820187687874,
-0.03259267657995224,
0.13649451732635498,
0.02069552056491375,
0.009051984176039696,
-0.007972939871251583,
0.016056550666689873,
0.01780884526669979,
0.04906424507498741,
0.023406965658068657,
0.026579540222883224,
-0.014276588335633278,
-0.002794448519125581,
0.007290467154234648,
0.02689310908317566,
0.03792333975434303,
-0.01927523873746395,
-0.009563839063048363,
0.08374123275279999,
0.027446463704109192,
0.00015159652684815228,
-0.024403005838394165,
0.002649192465469241,
0.023941876366734505,
-0.004081001505255699,
-0.03268490359187126,
-0.0075763678178191185,
0.01763361506164074,
-0.038771819323301315,
0.022152690216898918,
-0.016407009214162827,
-0.013215988874435425,
0.03729620575904846,
-0.015991993248462677,
0.03543323650956154,
-0.003622177056968212,
0.0385504774749279,
-0.04445294290781021,
-0.03888249024748802,
0.07569912075996399,
0.04891668260097504,
0.011426804587244987,
-0.012173835188150406,
0.0568850114941597,
-0.005801016930490732,
0.0014733107527717948,
0.025417491793632507,
-0.006234479136765003,
0.020677074790000916,
0.025878621265292168,
0.04227640852332115,
0.004966371227055788,
0.0037420708686113358,
-0.022060465067625046,
0.020215943455696106,
-0.038734931498765945,
0.06289815157651901,
-0.008766083978116512,
0.030766600742936134,
0.006239090580493212,
0.021562444046139717,
0.05065053328871727,
-0.04692460224032402,
0.009637619368731976,
-0.021876012906432152,
0.0370195247232914,
0.02174689620733261,
0.05588896945118904,
0.02656109444797039,
0.04950692877173424,
0.0402105450630188,
-0.07746986299753189,
-0.015484749339520931,
-0.017605947330594063,
0.007705484051257372,
-0.028368724510073662,
-0.007032234221696854,
0.033404264599084854,
0.06234479323029518,
0.026911552995443344,
-0.024200107902288437,
-0.07086647301912308,
-0.000039664395444560796,
0.0018791052279993892,
0.01575220562517643,
-0.04013676568865776,
0.06234479323029518,
0.03995231166481972,
0.06455821543931961,
0.04360446333885193,
0.006792446598410606,
-0.05319597199559212,
-0.04511697217822075,
-0.02923564985394478,
-0.01426736544817686,
-0.014202808029949665,
0.022005129605531693,
-0.0035253397654742002,
0.0013107623672112823,
0.040026094764471054,
-0.02445834130048752,
-0.013040759600698948,
0.01329899299889803,
0.02396032027900219,
-0.042755983769893646,
-0.014230475760996342,
0.04474806785583496,
0.010292423889040947,
-0.014479485340416431,
-0.04887979105114937,
0.020511068403720856,
0.01885099895298481,
0.034787654876708984,
0.056405436247587204,
-0.04515386000275612,
-0.09303761273622513,
0.027464909479022026,
0.025399046018719673,
-0.05658988654613495,
0.0008398332283832133,
0.041538599878549576,
0.04009987413883209,
-0.06876372545957565,
-0.06891128420829773,
-0.05090876668691635,
-0.022724492475390434,
0.006953842006623745,
0.01718170754611492,
0.002716056304052472,
-0.060131367295980453,
0.051425229758024216,
-0.040026094764471054,
-0.028811410069465637,
0.029770560562610626,
0.02860851213335991,
0.017144817858934402,
0.044268492609262466,
0.009665287099778652,
0.09916142374277115,
-0.009462390094995499,
-0.03565458208322525,
-0.05718013271689415,
0.005192324984818697,
0.01388923916965723,
-0.036632176488637924,
-0.0009585742373019457,
-0.007212074939161539,
-0.027870703488588333,
-0.024347670376300812,
0.013077650219202042,
0.05260572209954262,
0.009480834938585758,
0.011131681501865387,
0.009563839063048363,
-0.002667637774720788,
-0.020879970863461494,
-0.028202718123793602,
-0.001902161748148501,
-0.03976786136627197,
-0.04268220439553261,
0.023074951022863388,
0.012183058075606823,
0.05094565451145172,
-0.010449208319187164,
0.00734119163826108,
0.004401486832648516,
0.0075763678178191185,
0.03237133473157883,
0.002543132519349456,
0.015586198307573795,
-0.020769299939274788,
0.005884020123630762,
0.025528162717819214,
0.03209465742111206,
-0.01003419142216444,
-0.005063208751380444,
-0.006022359244525433,
-0.016849694773554802,
-0.04537520185112953,
-0.060979846864938736,
-0.004270065110176802,
0.022005129605531693,
0.00561195332556963,
0.03731464967131615,
-0.12011517584323883,
-0.026487313210964203,
-0.001995540689677,
-0.004717361181974411,
-0.03172575309872627,
0.02936476655304432,
0.005888631567358971,
0.0218206774443388,
0.03294313699007034,
-0.027833813801407814,
-0.009305605664849281,
-0.01222917065024376,
-0.015733759850263596,
-0.02366519719362259,
-0.018463650718331337,
-0.01127002015709877,
-0.02111975848674774,
0.06599694490432739,
-0.011463694274425507,
0.0003400834684725851,
-0.009337885305285454,
-0.03163352608680725,
0.026634875684976578,
0.019404355436563492,
0.03866114839911461,
-0.010421540588140488,
-0.03539634868502617,
-0.09989922493696213,
0.0008571256184950471,
-0.04655569791793823,
0.011546698398888111,
-0.005916299298405647,
-0.04792064055800438,
0.01779962331056595,
0.05703257396817207,
0.05319597199559212,
0.025380602106451988,
-0.013944574631750584,
-0.03757288306951523,
0.061274971812963486,
-0.02089841663837433,
0.028460951521992683,
-0.04054256156086922,
-0.00444068294018507,
0.047994423657655716,
-0.0016104968963190913,
0.038734931498765945,
-0.004701221361756325,
0.01382468082010746,
-0.010633660480380058,
-0.059836242347955704,
-0.01535563264042139,
-0.053306642919778824,
0.026966888457536697,
0.005464391782879829,
-0.027446463704109192,
0.029881231486797333,
0.01127002015709877,
-0.011297687888145447,
0.008978202939033508,
-0.05260572209954262,
0.03984164074063301,
0.07241587340831757,
0.019219903275370598,
-0.014285811223089695,
-0.034547869116067886,
0.019090786576271057,
-0.005731847137212753,
-0.030858827754855156,
0.011823376640677452,
0.002992734545841813,
0.03895627334713936,
0.026671765372157097,
-0.011260797269642353,
-0.01397224236279726,
-0.012468958273530006,
-0.025288375094532967,
0.04817887395620346,
0.05858197063207626,
-0.016646796837449074,
0.02781536802649498,
-0.06489022821187973,
-0.039398957043886185,
-0.002409404842182994,
-0.0022042018827050924,
-0.003778961254283786,
0.0030549869406968355,
-0.03423430025577545,
-0.04319867119193077,
-0.08049487322568893,
0.12859997153282166,
-0.08078999817371368,
0.021894458681344986,
0.017910294234752655,
0.05319597199559212,
0.016370119526982307,
-0.10705596953630447,
0.026542648673057556,
0.004814198240637779,
0.015097400173544884,
0.03264801204204559,
-0.04235019162297249,
0.025399046018719673,
-0.03683507442474365,
0.057954832911491394,
-0.00450293580070138,
-0.03037925250828266,
0.020806191489100456,
-0.014212029986083508,
-0.0015159652102738619,
0.0339391753077507,
0.02148866280913353,
-0.024605903774499893,
-0.019533472135663033,
0.005058597307652235,
-0.002778308931738138,
0.07086647301912308,
-0.02313028648495674,
0.03377316892147064,
-0.03154129907488823,
-0.019385909661650658,
0.018316088244318962,
-0.010716663673520088,
-0.06592316180467606,
-0.009070429019629955,
-0.004258536733686924,
-0.016702132299542427,
-0.0025615778286010027,
-0.00844329223036766,
-0.03176264092326164,
-0.015696868300437927,
-0.013086873106658459,
0.02550971880555153,
0.031061723828315735,
0.005644232500344515,
-0.057290807366371155,
0.027114450931549072,
0.04902735352516174,
-0.027298903092741966,
0.0872827097773552,
-0.012127721682190895,
-0.018297642469406128,
0.03203932195901871,
0.022410923615098,
-0.006787835154682398,
-0.017956405878067017,
0.014202808029949665,
-0.023517636582255363,
-0.006893895100802183,
-0.029567662626504898,
0.004680470563471317,
0.00902892742305994,
-0.025731060653924942,
0.017403051257133484,
0.03917761519551277,
-0.03207620978355408,
0.030139464884996414,
-0.024993252009153366,
-0.012662633322179317,
0.03569146990776062,
-0.011445249430835247,
-0.07153050601482391,
-0.052937738597393036,
0.0568850114941597,
-0.008978202939033508,
-0.0022065076045691967,
0.008826030418276787,
0.009116542525589466,
0.0017857264028862119,
-0.01964414305984974,
-0.02049262262880802,
0.04891668260097504,
-0.008217338472604752,
-0.040284328162670135,
-0.007714706938713789,
-0.0012704135151579976,
-0.03248200565576553,
0.02049262262880802,
-0.04069012030959129,
-0.013750900514423847,
0.03296158090233803,
0.0188048854470253,
0.028958970680832863,
0.02903275191783905,
-0.030600594356656075,
0.01237673219293356,
-0.019699478521943092,
-0.07182562351226807,
-0.002600773936137557,
0.010698218829929829,
0.04142792895436287,
-0.005418278742581606,
0.008138946257531643,
-0.06839481741189957,
-0.01767972856760025,
0.013234434649348259,
-0.03325670585036278,
0.011721927672624588,
-0.01634245179593563,
-0.050798092037439346,
0.036595284938812256,
-0.026413533836603165,
0.02811049111187458,
0.029899677261710167,
0.02006838284432888,
0.011924824677407742,
0.002159241819754243,
-0.03543323650956154,
-0.08197049051523209,
-0.034123629331588745,
0.008540130220353603,
-0.0034676985815167427,
0.026634875684976578,
0.01638856530189514,
0.025620389729738235,
-0.011260797269642353,
0.0313384011387825,
0.010652105323970318,
0.06466888636350632,
0.009480834938585758,
0.009370164014399052,
0.06739877909421921,
0.0701286718249321,
0.0230011697858572,
-0.06415241956710815,
-0.06337772309780121,
0.01977325975894928,
-0.0333489291369915,
0.02659798599779606,
-0.03137529268860817,
-0.023702088743448257,
-0.00973906833678484,
0.02383120357990265,
0.07315368205308914,
0.020584847778081894,
-0.0032648013439029455,
-0.01898011565208435,
0.00029569969046860933,
0.004023360088467598,
-0.015540084801614285,
-0.03569146990776062,
-0.03408673778176308,
0.0632670521736145,
0.005183102563023567,
0.014756163582205772,
0.019090786576271057,
0.04327245056629181,
0.025620389729738235,
-0.04294043779373169,
-0.08477415889501572,
-0.010476876050233841,
-0.04098524525761604,
-0.036890409886837006,
-0.052937738597393036,
0.028128936886787415,
-0.005335275549441576,
-0.03650306165218353,
-0.013086873106658459,
0.028350278735160828,
-0.05068742111325264,
0.017670506611466408,
-0.009702177718281746,
0.051130108535289764,
0.03644772619009018,
0.03950962796807289,
0.07153050601482391,
-0.01675746776163578,
-0.02082463540136814,
-0.06275058537721634,
-0.014082914218306541,
0.01575220562517643,
0.024236999452114105,
-0.004615912679582834,
0.03058214858174324,
0.04976516216993332,
0.005505893379449844,
0.03547012805938721,
-0.05957801267504692,
0.03146751970052719,
-0.0494331493973732,
0.008835253305733204,
0.006377429701387882,
-0.005178491119295359,
0.04253464192152023,
-0.002017444232478738,
0.0028520897030830383,
0.004701221361756325,
0.018887890502810478,
-0.043124888092279434,
-0.016517680138349533,
0.040616340935230255,
-0.005704179406166077,
0.06798902153968811,
-0.017015701159834862,
0.026173746213316917,
-0.03910383582115173,
-0.08551196753978729,
0.010587547905743122,
0.025196149945259094,
-0.027852259576320648,
0.016822027042508125,
0.04552276432514191,
0.009388608857989311,
-0.02158088982105255,
0.026044629514217377,
0.018076300621032715,
-0.03279557451605797,
-0.024366116151213646,
-0.04574410617351532,
-0.036595284938812256,
-0.08558575063943863,
-0.039066944271326065,
0.031983986496925354,
-0.04854777827858925,
-0.03569146990776062,
-0.037093307822942734,
0.04327245056629181,
0.09561993926763535,
-0.017356937751173973,
-0.012395177967846394,
-0.06186521798372269,
0.006935397163033485,
-0.06754633784294128,
-0.011408358812332153,
0.03510122373700142,
-0.04290354624390602,
-0.07411283254623413,
0.007433417718857527,
0.00821272749453783,
-0.048990461975336075,
-0.060131367295980453,
-0.029844341799616814,
0.009282548911869526,
0.06762012094259262,
-0.033957622945308685,
0.024163218215107918,
-0.011583589017391205,
-0.024993252009153366,
0.02899586223065853,
-0.00842023640871048,
0.03325670585036278,
0.03611570969223976,
0.03037925250828266,
0.020455732941627502,
0.030637485906481743,
-0.021396437659859657,
-0.06123808026313782,
0.02049262262880802,
-0.046149902045726776,
-0.020769299939274788,
-0.056737449020147324,
-0.009231825359165668,
-0.07636314630508423,
-0.006677164230495691,
-0.06714054197072983,
0.0151066230610013,
0.009868184104561806,
0.014064468443393707,
-0.0355992466211319,
-0.018611211329698563,
0.0035760640166699886,
0.024310780689120293,
-0.020400395616889,
0.028294943273067474,
-0.002439378295093775,
-0.04231330007314682,
-0.002856701146811247,
-0.010430763475596905,
0.014562489464879036,
0.0035253397654742002,
-0.007438028696924448,
-0.027760032564401627,
-0.03078504651784897,
0.015816763043403625,
-0.04046877846121788,
0.008922867476940155,
-0.03984164074063301,
-0.05212614685297012,
-0.03891938179731369,
0.024107882753014565,
-0.025288375094532967,
-0.009775958955287933,
-0.008646190166473389,
-0.018740328028798103,
0.08307719975709915,
-0.012256838381290436,
0.09724312275648117,
-0.02705911546945572,
0.004685082007199526,
0.04360446333885193,
-0.05349109321832657,
-0.0534542016685009,
0.03799712285399437,
0.006506545934826136,
0.014756163582205772,
0.0030918773263692856,
0.014073691330850124,
-0.017439940944314003,
0.035211894661188126,
-0.032611120492219925,
0.021470218896865845,
-0.05208925902843475,
-0.06636584550142288,
0.05223682150244713,
-0.04563343524932861,
-0.06596004962921143,
0.01493139285594225,
0.03788645192980766,
-0.008134335279464722,
-0.00494331493973732,
-0.005851741414517164,
-0.04102213680744171,
-0.028331834822893143,
0.09635774791240692,
0.005893243011087179,
-0.03598659485578537,
0.05356487259268761,
0.017993297427892685,
0.011980160139501095,
-0.05954112112522125,
0.029936566948890686,
-0.0740390494465828,
-0.006649496499449015,
0.004636663477867842,
-0.04570721834897995,
-0.01499595120549202,
-0.021894458681344986,
0.021691560745239258,
0.03377316892147064,
0.06027892976999283,
0.02165467105805874,
0.006511157378554344,
-0.007447251584380865,
-0.05426579341292381,
0.028424059972167015,
-0.018998561426997185,
-0.027428019791841507,
-0.02191290259361267,
0.05065053328871727,
0.009563839063048363,
0.007129071746021509,
0.06714054197072983,
-0.0032809406984597445,
-0.03591281175613403,
0.0027252789586782455,
0.006741722114384174,
-0.010624437592923641,
0.011528252623975277,
0.03921450674533844,
-0.029401656240224838,
0.0165545716881752,
-0.009079651907086372,
0.01141758169978857,
-0.03572836145758629,
-0.005030929576605558,
-0.00837873388081789,
-0.0005449981545098126,
0.007304301019757986,
0.047145944088697433,
0.024495230987668037,
0.04046877846121788,
0.02526993118226528,
0.026782436296343803,
-0.03803401067852974,
0.010956451296806335,
0.022060465067625046,
0.008171225897967815,
0.004740417469292879,
-0.04408403858542442,
0.008484793826937675,
0.007963716983795166,
0.055114272981882095,
0.013040759600698948,
-0.01629633828997612,
0.026542648673057556,
0.006612605880945921,
-0.013704787008464336,
0.055151160806417465,
0.032149992883205414,
0.01497750636190176,
0.01118701696395874,
0.040321215987205505,
0.023259403184056282,
0.04851088672876358,
0.0759204626083374,
0.004611301235854626,
-0.01329899299889803,
-0.013926129788160324,
0.0014767692191526294,
-0.0009614562732167542,
0.00510009890422225,
-0.025491273030638695,
-0.04083768278360367,
0.017735064029693604,
0.03325670585036278,
0.012312173843383789,
-0.00045853626215830445,
0.0788716971874237
]
|
40,736 | pyglove.core.symbolic.diff | format | Override format to conditionally print the shared value or the diff. | def format(
self,
compact: bool = False,
verbose: bool = True,
root_indent: int = 0,
**kwargs):
"""Override format to conditionally print the shared value or the diff."""
if not bool(self):
if self.value == Diff.MISSING:
return 'No diff'
# When there is no diff, but the same value needs to be displayed
# we simply return the value.
return object_utils.format(
self.value, compact, verbose, root_indent, **kwargs)
if self.is_leaf:
exclude_keys = kwargs.pop('exclude_keys', None)
exclude_keys = exclude_keys or set()
exclude_keys.add('children')
return super().format(
compact, verbose, root_indent, exclude_keys=exclude_keys, **kwargs)
else:
assert isinstance(self.left, type)
assert isinstance(self.right, type)
if self.left is self.right and issubclass(self.left, list):
return self.children.format(
compact=compact,
verbose=verbose,
root_indent=root_indent,
cls_name='',
bracket_type=object_utils.BracketType.SQUARE)
if self.left is self.right:
cls_name = self.left.__name__
else:
cls_name = f'{self.left.__name__}|{self.right.__name__}'
return self.children.format(
compact=compact,
verbose=verbose,
root_indent=root_indent,
cls_name=cls_name,
bracket_type=object_utils.BracketType.ROUND)
| (self, compact: bool = False, verbose: bool = True, root_indent: int = 0, **kwargs) | [
0.04224132001399994,
-0.07094795256853104,
0.08790269494056702,
0.019119564443826675,
0.004752603359520435,
-0.046825651079416275,
-0.021611839532852173,
-0.06086970865726471,
0.05668559670448303,
-0.03994915634393692,
-0.00423413747921586,
-0.011115179397165775,
0.023103564977645874,
-0.025486689060926437,
-0.012161207385361195,
0.00788159016519785,
-0.029652606695890427,
-0.07749699801206589,
0.06971091777086258,
0.07327650487422943,
0.08608351647853851,
-0.00848646741360426,
0.020611291751265526,
0.02490455098450184,
0.00021673804440069944,
-0.02168460562825203,
0.02710575796663761,
-0.01046027522534132,
-0.03845743089914322,
0.025104660540819168,
-0.007090247701853514,
0.0099963853135705,
-0.016117921099066734,
-0.025723181664943695,
-0.03320000693202019,
-0.038530196994543076,
-0.07324012368917465,
0.05563047528266907,
-0.050209321081638336,
-0.006453535053879023,
-0.03787529468536377,
-0.020611291751265526,
-0.07218499481678009,
-0.03933063521981239,
-0.009341481141746044,
0.004477452952414751,
0.07356756925582886,
0.006453535053879023,
-0.0489358976483345,
-0.03412778675556183,
0.051701050251722336,
-0.028979511931538582,
-0.03743869066238403,
0.006221590097993612,
-0.07837020605802536,
-0.03147178515791893,
0.029143236577510834,
0.010141919367015362,
0.01997457817196846,
0.0045456718653440475,
-0.03680197894573212,
0.06894686073064804,
0.016563618555665016,
0.021011510863900185,
-0.07938894629478455,
-0.03696570545434952,
-0.03161732107400894,
0.001208616653457284,
-0.007053864188492298,
0.037802524864673615,
-0.026851072907447815,
-0.016518140211701393,
0.023303674533963203,
0.029688991606235504,
-0.008527398109436035,
-0.010332932695746422,
-0.014380604960024357,
0.0118610430508852,
0.034218743443489075,
-0.05537578836083412,
-0.04355112835764885,
-0.019865427166223526,
-0.007767891511321068,
-0.021975673735141754,
0.017773373052477837,
-0.0022523701190948486,
0.042314089834690094,
0.04482455551624298,
0.053447458893060684,
0.047953542321920395,
-0.0335092656314373,
0.0032222196459770203,
0.029725374653935432,
-0.003065315540879965,
-0.030816880986094475,
0.04809907451272011,
0.0027060278225690126,
-0.05439343303442001,
-0.007613261230289936,
0.03221764788031578,
0.05264702066779137,
-0.007240329869091511,
-0.01006915234029293,
0.0030061921570450068,
-0.022485043853521347,
-0.0018828496104106307,
-0.030453044921159744,
0.013898522593080997,
0.014116823673248291,
0.027651511132717133,
-0.06163376197218895,
-0.029852716252207756,
-0.01177008356899023,
-0.017846139147877693,
0.04482455551624298,
0.0064444392919540405,
-0.01919233240187168,
0.01026016566902399,
0.034382469952106476,
-0.07487738132476807,
0.02597786672413349,
-0.002259192056953907,
0.025686798617243767,
-0.011206138879060745,
-0.06840110570192337,
0.04187748581171036,
-0.0009073152323253453,
0.026432661339640617,
-0.01921052299439907,
0.042277704924345016,
0.02490455098450184,
0.03148997575044632,
-0.018773920834064484,
-0.009459727443754673,
0.051155295222997665,
0.03631079941987991,
-0.008904878050088882,
0.014235070906579494,
-0.033054471015930176,
0.05533940717577934,
0.03410959243774414,
-0.06825557351112366,
-0.00044939390500076115,
0.023067181929945946,
-0.04922696575522423,
0.0035201101563870907,
0.0006725274724885821,
0.06665469706058502,
-0.02317633293569088,
0.059450749307870865,
0.00012116011930629611,
0.022848879918456078,
0.08601075410842896,
0.00015093495312612504,
0.026650963351130486,
0.012406796216964722,
-0.03032570332288742,
-0.046425431966781616,
0.06468997895717621,
0.027851620689034462,
0.0009334658971056342,
-0.04067682847380638,
0.05235595256090164,
0.01468986552208662,
0.022648770362138748,
0.0009704179828986526,
-0.03330915421247482,
-0.05290170758962631,
-0.00847737118601799,
0.011333481408655643,
0.034746307879686356,
-0.04471540451049805,
-0.0467892661690712,
0.04125896468758583,
-0.013598358258605003,
0.03736592456698418,
0.010896878316998482,
0.031162524595856667,
-0.03574685379862785,
-0.05013655498623848,
-0.020611291751265526,
-0.025104660540819168,
0.015408440493047237,
0.018919454887509346,
0.014107728376984596,
-0.04089513048529625,
0.02710575796663761,
-0.07040220499038696,
0.033836718648672104,
0.012434083968400955,
-0.0011330069974064827,
-0.006248877849429846,
-0.03032570332288742,
0.020793208852410316,
0.0024149592500180006,
-0.03245414048433304,
0.03954893723130226,
-0.05559409037232399,
0.05835924297571182,
0.01768241450190544,
-0.08084428310394287,
-0.019901812076568604,
0.002322863321751356,
-0.03669282793998718,
0.010624001733958721,
0.012397700920701027,
0.00462071318179369,
0.00017779626068659127,
-0.01337096095085144,
0.00658997381106019,
-0.010896878316998482,
0.003677014261484146,
-0.01834641396999359,
0.003240411402657628,
0.006362576503306627,
-0.06461721658706665,
0.026450853794813156,
-0.0018021236173808575,
-0.08644735813140869,
0.03276340290904045,
0.015863236039876938,
-0.041768334805965424,
-0.010396604426205158,
0.019137756898999214,
-0.04238685593008995,
0.003176740137860179,
0.03729315474629402,
-0.021830139681696892,
0.02037479728460312,
-0.01570860482752323,
0.017427729442715645,
-0.03860296308994293,
-0.04184110090136528,
-0.00277652102522552,
-0.06367124617099762,
-0.013389152474701405,
0.0002548270858824253,
-0.02152087911963463,
0.01300712488591671,
-0.015735892578959465,
-0.015017317607998848,
-0.04104066267609596,
0.00920049473643303,
0.00004629666727851145,
0.053447458893060684,
-0.11715508997440338,
0.024395182728767395,
-0.007790631148964167,
-0.0020215618424117565,
0.047225870192050934,
-0.016527235507965088,
-0.023612935096025467,
0.04791715741157532,
-0.006362576503306627,
0.017609646543860435,
-0.016445372253656387,
-0.057158585637807846,
0.03189019486308098,
0.0012097535654902458,
0.0028492880519479513,
-0.019155947491526604,
-0.04158641770482063,
-0.03387309983372688,
0.026232551783323288,
0.020211070775985718,
-0.00851830281317234,
0.010624001733958721,
-0.034400664269924164,
0.0031949318945407867,
0.03281797841191292,
-0.027269484475255013,
-0.020993318408727646,
-0.020283838734030724,
0.054757267236709595,
-0.03692932054400444,
-0.013452824205160141,
0.03427331894636154,
-0.01309808436781168,
-0.011851946823298931,
-0.04882674664258957,
-0.03940340504050255,
-0.04784439131617546,
-0.02488636039197445,
-0.026450853794813156,
0.040967896580696106,
-0.004302356857806444,
-0.014953645877540112,
-0.042132169008255005,
-0.013152659870684147,
0.004356932360678911,
0.0678553506731987,
-0.002212575636804104,
0.025177428498864174,
0.017209427431225777,
0.04933611676096916,
0.000707205559592694,
0.004889041651040316,
-0.01683649607002735,
-0.01760055124759674,
-0.020302031189203262,
-0.024940935894846916,
-0.043260060250759125,
0.06483551859855652,
0.01763693429529667,
0.016863783821463585,
0.009341481141746044,
-0.009450631216168404,
-0.01149720698595047,
0.055739626288414,
0.018555618822574615,
-0.049117814749479294,
0.03128986805677414,
0.029507072642445564,
0.022685153409838676,
-0.02244866080582142,
-0.0024286031257361174,
0.0015269728610292077,
-0.03054400533437729,
0.01384394709020853,
0.03527386859059334,
-0.04369666427373886,
0.005139179062098265,
-0.06647277623414993,
0.06796450167894363,
0.002712849760428071,
-0.027178524062037468,
0.0009567741071805358,
0.014280550181865692,
0.04729863628745079,
0.02150268852710724,
0.007958905771374702,
-0.026796497404575348,
0.0376569926738739,
0.010223782621324062,
-0.0195743590593338,
-0.02808811329305172,
0.0512644462287426,
-0.0063034528866410255,
-0.030816880986094475,
-0.025177428498864174,
0.044970087707042694,
0.031944770365953445,
-0.003163096262142062,
-0.04202302172780037,
-0.020611291751265526,
0.014389701187610626,
0.02998005971312523,
0.035692278295755386,
0.003677014261484146,
0.04347836226224899,
-0.0426415391266346,
0.026650963351130486,
-0.014435180462896824,
-0.023776661604642868,
-0.01649085246026516,
-0.027596935629844666,
-0.038493815809488297,
-0.04748055338859558,
-0.035492170602083206,
0.029106853529810905,
0.050609540194272995,
0.029143236577510834,
0.03378214314579964,
0.04464263841509819,
0.02055671624839306,
-0.03754784166812897,
-0.024540716782212257,
0.007176658604294062,
0.004766247235238552,
-0.022103017196059227,
-0.023030798882246017,
-0.004106794949620962,
0.04580691084265709,
-0.09576155245304108,
-0.036492716521024704,
0.06243420019745827,
-0.020756825804710388,
0.007608713582158089,
-0.0017282194457948208,
-0.04660734906792641,
0.05817732214927673,
0.01781885139644146,
-0.006371672265231609,
0.006126082967966795,
-0.03845743089914322,
-0.011269809678196907,
0.06156099587678909,
-0.001409863238222897,
0.049299731850624084,
0.02188471518456936,
-0.06141545996069908,
0.015035509131848812,
0.010223782621324062,
0.03276340290904045,
-0.07338565587997437,
0.03671101853251457,
0.02037479728460312,
-0.014553426764905453,
-0.04620712995529175,
-0.0002995959366671741,
0.049845486879348755,
-0.04315090924501419,
0.0017941646510735154,
-0.032908935099840164,
0.03374575823545456,
-0.026105210185050964,
0.08855760097503662,
0.0343460887670517,
-0.02037479728460312,
0.05937798321247101,
0.0068673985078930855,
-0.01254323497414589,
-0.03405502066016197,
0.05788625404238701,
0.017382249236106873,
-0.06294357031583786,
-0.005707672331482172,
0.06861940771341324,
-0.02903408743441105,
-0.016527235507965088,
-0.015972385182976723,
0.02001096121966839,
0.020811401307582855,
0.03254510089755058,
0.040385760366916656,
-0.04879036545753479,
-0.010860495269298553,
0.016600003466010094,
0.014789920300245285,
0.021720990538597107,
0.008172659203410149,
0.012515947222709656,
0.037802524864673615,
-0.011997480876743793,
0.019901812076568604,
-0.04773524031043053,
0.011042412370443344,
-0.027997154742479324,
0.019319674000144005,
0.06825557351112366,
0.037038471549749374,
-0.007358576636761427,
0.0005690617254003882,
-0.04591606184840202,
-0.021630030125379562,
0.02126619592308998,
-0.0032290415838360786,
0.02152087911963463,
-0.02959803119301796,
-0.012843399308621883,
0.06065140664577484,
0.012570522725582123,
-0.00848646741360426,
0.0011881508398801088,
-0.04573414474725723,
-0.04034937545657158,
-0.020793208852410316,
0.008272713981568813,
-0.00924142636358738,
0.01715485192835331,
-0.019556166604161263,
0.018046248704195023,
0.004215945955365896,
0.051373597234487534,
-0.039876390248537064,
-0.04897228255867958,
0.035346634685993195,
-0.008231782354414463,
-0.045297540724277496,
-0.034946415573358536,
0.024249646812677383,
-0.01687287911772728,
-0.040822360664606094,
0.061742912977933884,
0.0013700687559321523,
0.01508098840713501,
-0.03805721178650856,
-0.08317283540964127,
-0.10340210050344467,
-0.056067075580358505,
-0.07302182167768478,
-0.0047298637218773365,
-0.03412778675556183,
-0.05544855818152428,
0.035674087703228,
0.008568329736590385,
0.033290963619947433,
0.043987732380628586,
0.03454619646072388,
-0.0014462467515841126,
-0.053047239780426025,
0.05577600747346878,
-0.06825557351112366,
0.02013830468058586,
-0.04886313155293465,
0.020447565242648125,
-0.014098632149398327,
-0.08186302334070206,
-0.023794852197170258,
0.02055671624839306,
0.04074959456920624,
-0.015917811542749405,
0.05195573344826698,
0.03631079941987991,
0.04660734906792641,
-0.002100014127790928,
0.020120112225413322,
0.03405502066016197,
0.019738085567951202,
-0.014435180462896824,
-0.0046343570575118065,
-0.04897228255867958,
0.052101269364356995,
0.05075507611036301,
-0.06556318700313568,
-0.03187200427055359,
-0.00498909642919898,
0.031726472079753876,
0.05035485699772835,
-0.020283838734030724,
-0.05050039291381836,
-0.01245227549225092,
-0.0411498136818409,
-0.015335673466324806,
-0.013116275891661644,
0.018055345863103867,
0.03863934800028801,
0.019920002669095993,
-0.026632770895957947,
-0.061742912977933884,
-0.01689107157289982,
-0.007085699588060379,
0.014007673598825932,
0.013743892312049866,
-0.05694028362631798,
0.015135563910007477,
-0.04333283007144928,
0.06920154392719269,
-0.04104066267609596,
-0.00886849407106638,
0.039075952023267746,
0.013634742237627506,
0.012515947222709656,
-0.023685703054070473,
0.0013689317274838686,
0.030453044921159744,
0.05788625404238701,
0.017264002934098244,
0.022903455421328545,
0.0025263838469982147,
0.006571781821548939,
-0.03541940450668335,
0.020502140745520592,
0.014007673598825932,
-0.0016668221214786172,
0.06541765481233597,
0.004654822405427694,
0.04253239184617996,
0.08557415008544922,
0.010396604426205158,
0.02334005758166313,
0.050209321081638336,
0.05366576090455055,
-0.052101269364356995,
0.05599430948495865,
0.004238685593008995,
0.02450433187186718,
0.020756825804710388,
0.02017468772828579,
0.0565764456987381,
-0.020502140745520592,
0.041768334805965424,
0.0022182606626302004,
-0.008904878050088882,
0.01687287911772728,
0.026305319741368294,
-0.04253239184617996,
0.043260060250759125,
-0.038894034922122955,
-0.00408178148791194,
-0.04919058457016945,
-0.008736603893339634,
0.07553228735923767,
-0.009759891778230667,
0.011942906305193901,
0.04689841717481613,
0.020629482343792915,
-0.004463809076696634,
0.002751507330685854,
-0.0030016442760825157,
-0.02146630547940731,
-0.0467892661690712,
0.02073863334953785,
-0.0059259734116494656,
0.05708581581711769,
0.007326740771532059,
-0.0335092656314373,
-0.013880331069231033,
0.019683510065078735,
0.0014712604461237788,
-0.033800333738327026,
-0.0018271373119205236,
-0.0028947675600647926,
0.019992770627141,
-0.014144111424684525,
-0.015572167001664639,
0.08746609836816788,
0.0037998089101165533,
-0.04671650007367134,
-0.03601973131299019,
0.02863386832177639,
0.07931617647409439,
0.004661644343286753,
-0.02508646994829178,
0.003192658070474863,
-0.02108427695930004,
-0.011706412769854069,
0.00959616620093584,
-0.057558804750442505,
-0.05086422711610794,
0.0012359042884781957,
0.018955837935209274,
-0.09510664641857147,
0.0009095891728065908,
-0.07502291351556778,
0.04125896468758583,
-0.004345562309026718,
0.0005215925630182028,
0.01846466027200222,
-0.04442433640360832,
0.038748499006032944,
0.018755728378891945,
-0.015217427164316177,
-0.014271453954279423,
-0.07305820286273956,
-0.03831189498305321,
0.02959803119301796,
0.014271453954279423,
-0.0376569926738739,
0.07211223244667053,
-0.004572959616780281,
-0.07698763161897659,
-0.04053129255771637,
0.061742912977933884,
-0.06567233800888062,
-0.013507399708032608,
-0.002031794749200344,
-0.0316900871694088,
-0.03936702013015747,
0.032708827406167984,
-0.04522477462887764,
0.0414772666990757,
-0.027451401576399803,
-0.04089513048529625,
-0.0011813289020210505,
0.03601973131299019,
0.05468450114130974,
0.020283838734030724,
-0.045115623623132706,
0.025686798617243767,
0.019719893112778664,
-0.027815237641334534,
-0.012552330270409584,
0.01997457817196846,
0.01838279701769352,
0.004163644276559353,
-0.006408055778592825,
0.0100782485678792,
0.06447168439626694,
-0.012506850995123386,
-0.0015201509231701493,
0.015399345196783543,
-0.014171399176120758,
0.027960771694779396,
-0.09976374357938766,
-0.04708033427596092,
0.02241227775812149,
0.0953977108001709,
0.008413699455559254,
-0.056248996406793594,
-0.0019920002669095993,
0.013225426897406578,
-0.043805815279483795,
0.04125896468758583,
-0.0025172880850732327,
-0.010060056112706661,
-0.006844658404588699,
0.01386213954538107,
-0.012042961083352566,
-0.025850525125861168,
-0.02597786672413349,
-0.030052825808525085,
0.02299441397190094,
-0.02996186725795269,
-0.02126619592308998,
-0.008513755165040493,
0.004788986872881651,
-0.008995836600661278,
-0.007676932495087385,
-0.018246358260512352,
0.018992222845554352,
0.0021659592166543007,
0.019938195124268532,
0.03691112995147705,
0.08259069919586182,
-0.006317096762359142,
0.033636607229709625,
0.013125372119247913,
0.029634416103363037,
0.018391892313957214,
0.009323288686573505,
0.07618719339370728,
-0.005757699720561504,
-0.006985644809901714,
-0.0673459842801094,
-0.03236318379640579,
0.04002192243933678,
-0.026123400777578354,
0.023813044652342796,
0.012024768628180027,
-0.06283441931009293,
0.02956164814531803,
0.029088661074638367,
0.029434306547045708,
0.020956935361027718,
0.09619814902544022,
0.04300537705421448,
-0.026851072907447815,
-0.02317633293569088,
-0.040822360664606094,
0.009405151940882206,
0.0723305344581604,
0.03772975876927376,
-0.007767891511321068,
0.050427623093128204,
0.00815446674823761,
0.0005548493936657906,
-0.0030357539653778076,
0.013898522593080997,
0.03258148580789566,
0.008418248035013676,
0.05206488445401192,
-0.013225426897406578,
0.013025317341089249,
-0.044533487409353256,
-0.01604515314102173,
0.019101371988654137,
0.10412976890802383,
-0.04766247421503067,
-0.031217100098729134,
0.004572959616780281,
-0.02979814074933529,
0.0020136029925197363,
0.0052574253641068935,
0.08164472132921219,
0.04846291244029999,
-0.06767343729734421,
-0.034200552850961685,
0.018246358260512352,
-0.050573159009218216,
0.053265541791915894,
-0.04879036545753479,
-0.008604713715612888,
0.05519387125968933,
-0.010323837399482727,
0.043623898178339005,
-0.043987732380628586,
0.055157486349344254
]
|
40,749 | pyglove.core.symbolic.diff | sym_eq | Override symbolic equality. | def sym_eq(self, other: Any):
"""Override symbolic equality."""
if super().sym_eq(other):
return True
if not bool(self):
return base.eq(self.left, other)
| (self, other: Any) | [
0.030955618247389793,
-0.062086522579193115,
0.09935245662927628,
0.07207786291837692,
-0.052095185965299606,
-0.04862451180815697,
-0.055004943162202835,
-0.001086777076125145,
0.017607541754841805,
-0.02210364304482937,
0.018773198127746582,
-0.05079806596040726,
0.06541696935892105,
0.05570609122514725,
-0.03563576936721802,
-0.036740075796842575,
-0.0037861911114305258,
0.0504474900662899,
0.0032778598833829165,
0.021472612395882607,
-0.028098445385694504,
0.018668025732040405,
0.0300090704113245,
0.019106242805719376,
-0.008348025381565094,
0.07165717333555222,
0.003733605146408081,
0.000014267715414462145,
-0.041087184101343155,
0.05405839532613754,
-0.048168763518333435,
-0.010552254505455494,
0.03880845755338669,
0.005267363041639328,
0.0664336308836937,
-0.02210364304482937,
-0.04795842245221138,
0.058230217546224594,
-0.06885258853435516,
-0.026047592982649803,
-0.029150165617465973,
-0.027169426903128624,
0.024189554154872894,
-0.027975745499134064,
-0.019491873681545258,
-0.02292749099433422,
-0.0014954140642657876,
0.00010407643276266754,
0.04613544046878815,
-0.005442649591714144,
0.026661096140742302,
-0.04837910830974579,
0.007958012633025646,
0.03772168233990669,
-0.03863317146897316,
0.031306192278862,
0.023120306432247162,
-0.002324738772585988,
-0.019912561401724815,
0.020771464332938194,
-0.005530293099582195,
-0.004978140350431204,
-0.04259464889764786,
-0.030885502696037292,
-0.0177039485424757,
-0.033584918826818466,
-0.058230217546224594,
-0.01590726152062416,
-0.013760000467300415,
0.0224191602319479,
-0.0764249712228775,
-0.03596881404519081,
-0.04455786198377609,
0.0005118917324580252,
-0.014548789709806442,
-0.015626803040504456,
-0.01440856046974659,
0.01267322339117527,
-0.0007679745322093368,
-0.04241936281323433,
-0.026415694504976273,
-0.04021075367927551,
-0.0016663185087963939,
0.0217355415225029,
-0.11632020771503448,
0.020894166082143784,
0.055565860122442245,
0.03712570667266846,
0.03565330058336258,
-0.01776530034840107,
-0.01161273941397667,
-0.020473478361964226,
0.03081538900732994,
-0.016441885381937027,
0.045749809592962265,
0.051218751817941666,
0.02876453474164009,
-0.040280867367982864,
-0.012646930292248726,
-0.008795006200671196,
0.01733584702014923,
0.022313987836241722,
-0.029658496379852295,
-0.01696774549782276,
0.0020366115495562553,
0.028466548770666122,
-0.007191133685410023,
-0.06457559019327164,
-0.016231542453169823,
-0.030289528891444206,
-0.12774889171123505,
0.0478532500565052,
-0.011726675555109978,
0.011095643043518066,
0.011823083274066448,
0.0015271847369149327,
-0.008786242455244064,
-0.014557554386556149,
0.010447083041071892,
0.004020636901259422,
0.011788025498390198,
0.09297202527523041,
0.025206217542290688,
-0.005911541637033224,
0.0765651986002922,
0.026135236024856567,
0.06310318410396576,
0.014653962105512619,
-0.03305905684828758,
0.027800459414720535,
0.06310318410396576,
0.009185018949210644,
0.0007422292837873101,
0.06387444585561752,
0.025697018951177597,
0.02571454830467701,
0.018738139420747757,
0.03486451134085655,
0.0034202802926301956,
-0.0031091466080397367,
0.020175490528345108,
-0.05595149099826813,
-0.0027958217542618513,
0.011490038596093655,
-0.04126247018575668,
0.03262083977460861,
-0.0869421660900116,
-0.004220025613903999,
0.005547821521759033,
0.004837911110371351,
0.012436586432158947,
0.004064458422362804,
-0.007397095672786236,
0.026380637660622597,
-0.04722221568226814,
0.053392305970191956,
0.006669655907899141,
-0.013996637426316738,
0.002359796315431595,
0.04925554245710373,
-0.017563719302415848,
-0.048799797892570496,
-0.014049222692847252,
-0.039965350180864334,
-0.007958012633025646,
-0.025995006784796715,
-0.02124473825097084,
-0.04206879064440727,
0.017923057079315186,
0.0095005352050066,
-0.0066871847957372665,
-0.0705353394150734,
-0.03863317146897316,
0.003172687953338027,
0.006836178246885538,
0.01819475181400776,
0.0037248407024890184,
0.05511011555790901,
-0.03391796350479126,
-0.00853645894676447,
0.06043883040547371,
-0.0710962563753128,
-0.04122741520404816,
-0.020578650757670403,
0.06857212632894516,
0.010473376139998436,
-0.005052636843174696,
-0.016441885381937027,
0.030096713453531265,
0.041823387145996094,
-0.05619689077138901,
-0.03155159205198288,
-0.02744988538324833,
0.0027235159650444984,
0.03539036959409714,
-0.03670502081513405,
0.02820361778140068,
-0.006792356725782156,
0.008369936607778072,
0.05626700818538666,
-0.008930853568017483,
-0.03845788538455963,
0.0019829298835247755,
0.015793325379490852,
-0.015582981519401073,
-0.0347943939268589,
0.003115719882771373,
-0.004408458713442087,
0.03726593777537346,
0.0009169681579805911,
-0.03409324958920479,
-0.026748739182949066,
-0.028028331696987152,
0.014110573567450047,
-0.004969375673681498,
0.01304132491350174,
-0.013584713451564312,
0.017940586432814598,
-0.009483006782829762,
0.053006675094366074,
0.07333992421627045,
-0.03207745403051376,
0.004964993800967932,
0.010631133802235126,
0.012410293333232403,
0.0077958726324141026,
0.008426904678344727,
0.013689885847270489,
-0.0007181274122558534,
-0.02373380959033966,
0.02925533801317215,
0.0031354394741356373,
0.04729233309626579,
-0.05020209029316902,
0.023751337081193924,
-0.01646817848086357,
0.02038583531975746,
0.012112305499613285,
-0.025556789711117744,
0.025013402104377747,
-0.002848407719284296,
-0.0020650955848395824,
0.0010106369154527783,
0.021718012169003487,
0.007791490759700537,
-0.0501670315861702,
0.030464814975857735,
0.04014063626527786,
-0.009921222925186157,
0.015653096139431,
-0.014873070642352104,
-0.07000947743654251,
0.008440051227807999,
-0.017353376373648643,
0.03446134924888611,
-0.011516331695020199,
-0.04466303065419197,
0.02341829240322113,
0.049851518124341965,
-0.005057019181549549,
-0.01006145216524601,
0.07712611556053162,
-0.01690639555454254,
0.008409376256167889,
-0.0051402803510427475,
-0.014925655908882618,
-0.01682751625776291,
0.028852177783846855,
0.011253401637077332,
-0.014049222692847252,
0.02652086690068245,
-0.028974879533052444,
-0.022962547838687897,
0.08504907041788101,
-0.007182369474321604,
0.0319196954369545,
0.01702909544110298,
0.005473325029015541,
-0.04869462549686432,
-0.039229147136211395,
-0.01956198737025261,
0.0034071337431669235,
0.007046522572636604,
-0.03521508350968361,
-0.060228485614061356,
0.018352510407567024,
-0.026976611465215683,
-0.06941350549459457,
0.00565299391746521,
-0.046310726553201675,
0.05570609122514725,
0.046310726553201675,
0.028115974739193916,
0.054198626428842545,
0.030044127255678177,
0.0053725349716842175,
0.008764331229031086,
-0.000730726111214608,
0.026608509942889214,
0.051954954862594604,
0.022436687722802162,
0.015486573800444603,
0.020981809124350548,
0.013996637426316738,
0.05349747836589813,
-0.02595994994044304,
-0.0008057706872932613,
0.0842076987028122,
0.04378660023212433,
0.023313121870160103,
0.0038190572522580624,
0.03645961731672287,
-0.0008145350147970021,
0.0504474900662899,
0.02701166830956936,
0.011893197894096375,
0.0018317452631890774,
-0.08455827087163925,
0.039159033447504044,
0.06485605239868164,
-0.023453351110219955,
0.03521508350968361,
-0.0683617815375328,
-0.023032663390040398,
-0.05328713357448578,
-0.08000081777572632,
0.022717146202921867,
0.017914293333888054,
0.049360714852809906,
0.044067058712244034,
0.04536417871713638,
-0.0016564585966989398,
0.06142043322324753,
-0.03656478971242905,
-0.038107313215732574,
-0.011901961639523506,
0.0006814267835579813,
0.05321701988577843,
-0.004090751521289349,
-0.02073640748858452,
0.0278881024569273,
0.017563719302415848,
0.012050955556333065,
-0.06418996304273605,
-0.006156942807137966,
-0.00959694292396307,
-0.05482965707778931,
0.013760000467300415,
0.0139089934527874,
0.033567387610673904,
-0.055004943162202835,
0.005736254621297121,
-0.009982573799788952,
-0.060473885387182236,
0.01319908257573843,
0.002719133859500289,
-0.02764270082116127,
0.04739750549197197,
-0.028536662459373474,
-0.04178833216428757,
0.09633752703666687,
0.0086284838616848,
-0.029851311817765236,
0.0393693745136261,
-0.005709961988031864,
-0.014610140584409237,
-0.03539036959409714,
0.014855541288852692,
-0.012594344094395638,
-0.025574319064617157,
-0.030482344329357147,
-0.055250342935323715,
-0.011113172397017479,
-0.05279633030295372,
-0.017186854034662247,
0.05223541334271431,
-0.056933097541332245,
-0.004833528771996498,
0.013190318830311298,
-0.060403771698474884,
0.0957065001130104,
-0.0005203821929171681,
-0.0013595669297501445,
0.01807205192744732,
0.005241069942712784,
-0.008203414268791676,
0.031095847487449646,
0.025048458948731422,
0.08652147650718689,
0.032392967492341995,
-0.04715210199356079,
-0.017966879531741142,
0.021542726084589958,
0.029711082577705383,
-0.06198135018348694,
0.0023619872517883778,
-0.018720611929893494,
-0.012156127952039242,
-0.09928234666585922,
-0.021209681406617165,
-0.00024266242689918727,
0.05511011555790901,
0.020981809124350548,
-0.04294522479176521,
0.021069452166557312,
0.04820382222533226,
0.017344610765576363,
-0.0019040509359911084,
-0.01819475181400776,
0.03880845755338669,
-0.036915361881256104,
-0.0025942421052604914,
0.001116904430091381,
0.005175337661057711,
-0.02000020444393158,
-0.034496407955884933,
0.08687204867601395,
0.00044177708332426846,
0.089957095682621,
-0.016538294032216072,
-0.013435719534754753,
0.012436586432158947,
-0.009281426668167114,
0.013514598831534386,
0.016012433916330338,
0.026976611465215683,
0.002684076549485326,
0.030797859653830528,
-0.04610038176178932,
0.028799593448638916,
-0.04392682760953903,
-0.05437391251325607,
0.06801120936870575,
0.021647898480296135,
0.02701166830956936,
-0.004200305789709091,
-0.0034728662576526403,
-0.08631113171577454,
-0.02900993637740612,
0.036985479295253754,
-0.0023203566670417786,
0.004653859883546829,
-0.046486012637615204,
-0.017590012401342392,
-0.010736306197941303,
0.005455796141177416,
0.022349044680595398,
0.055250342935323715,
-0.0006967643275856972,
0.02615276537835598,
-0.046801529824733734,
0.016310419887304306,
-0.018107108771800995,
-0.0010977324564009905,
-0.0545491985976696,
-0.0029382421635091305,
0.034023135900497437,
-0.03982512280344963,
-0.005841427017003298,
0.030044127255678177,
-0.03426853567361832,
0.008475108072161674,
-0.028659364208579063,
-0.00956188514828682,
-0.00414552865549922,
0.060088254511356354,
0.0062577323988080025,
0.006906292866915464,
0.011139465495944023,
0.004095133859664202,
0.0006973121198825538,
-0.018983541056513786,
-0.037616509944200516,
0.012217477895319462,
-0.0033326370175927877,
0.0018865222809836268,
-0.05223541334271431,
-0.026573453098535538,
-0.08000081777572632,
-0.06390950083732605,
-0.09619729965925217,
0.014548789709806442,
-0.005696815438568592,
-0.05216529965400696,
0.06296295672655106,
-0.06068423017859459,
0.028151031583547592,
-0.007204280234873295,
0.012866037897765636,
0.0044785733334720135,
0.0060035670176148415,
0.014338445849716663,
-0.043260738253593445,
0.04455786198377609,
0.025171158835291862,
-0.006148178596049547,
-0.05914170667529106,
-0.005433885380625725,
-0.005337477661669254,
-0.007291923742741346,
-0.009053554385900497,
0.02348840795457363,
-0.02701166830956936,
0.0765651986002922,
0.05763424187898636,
0.010692483745515347,
-0.031463950872421265,
-0.01217365637421608,
-0.02646828070282936,
0.03702053427696228,
0.021718012169003487,
-0.02336570806801319,
0.01751113310456276,
-0.034882038831710815,
0.05731872841715813,
0.026608509942889214,
0.019106242805719376,
-0.026941554620862007,
-0.0015173248248174787,
-0.06440030783414841,
0.01500453520566225,
-0.053322192281484604,
-0.043751541525125504,
-0.04532912001013756,
-0.006985172163695097,
-0.01726573333144188,
-0.007362038362771273,
0.016599643975496292,
0.04746761918067932,
-0.05486471578478813,
-0.0190010704100132,
-0.0020968662574887276,
-0.05069289356470108,
0.030026599764823914,
-0.03688030689954758,
0.0977398231625557,
0.003383031813427806,
0.035057324916124344,
0.023961681872606277,
0.0016772738890722394,
-0.015504102222621441,
-0.01721314713358879,
0.030727745965123177,
-0.005100840702652931,
-0.030605044215917587,
0.03765156865119934,
-0.04094695672392845,
0.004640713334083557,
0.05844056233763695,
0.02336570806801319,
-0.028186090290546417,
0.0006085732602514327,
0.0408768430352211,
-0.01975480280816555,
-0.021945886313915253,
-0.025697018951177597,
0.011665324680507183,
0.07074568420648575,
0.03824754059314728,
0.022594446316361427,
0.020526064559817314,
-0.015284993685781956,
0.04950094223022461,
-0.07951001077890396,
-0.0036788280121982098,
-0.04291016608476639,
0.01096417848020792,
-0.023751337081193924,
0.0816134512424469,
0.07362038642168045,
-0.013838878832757473,
-0.01713426783680916,
0.013023796491324902,
-0.012313885614275932,
0.023278063163161278,
-0.005100840702652931,
-0.019053656607866287,
0.04427740350365639,
-0.05819515883922577,
-0.06538191437721252,
-0.027590114623308182,
0.01844015344977379,
-0.014987006783485413,
0.0530417338013649,
0.015232407487928867,
-0.059352051466703415,
0.016196483746170998,
0.05784458667039871,
-0.03125360608100891,
-0.040280867367982864,
-0.07845829427242279,
0.005806369706988335,
0.04890497028827667,
-0.05752906948328018,
0.0024079999420791864,
-0.04350614175200462,
-0.025258803740143776,
0.023751337081193924,
0.043576255440711975,
-0.05199001356959343,
-0.0024737324565649033,
-0.024697884917259216,
-0.006866853684186935,
-0.058054931461811066,
0.004763414151966572,
0.007725758012384176,
-0.011910726316273212,
0.030482344329357147,
-0.03803719952702522,
-0.0009158726315945387,
0.04837910830974579,
0.011192050762474537,
0.04459291696548462,
-0.028992408886551857,
0.005477706901729107,
-0.019404228776693344,
-0.034023135900497437,
0.041823387145996094,
-0.06113997474312782,
0.026415694504976273,
-0.03374267369508743,
0.0016093503218144178,
-0.07453187555074692,
0.002460585907101631,
-0.06113997474312782,
0.024452485144138336,
0.08504907041788101,
0.06292790174484253,
0.005447031930088997,
-0.0319196954369545,
-0.015390166081488132,
-0.017423490062355995,
0.005390063859522343,
-0.014741605147719383,
-0.010534726083278656,
-0.0761445090174675,
0.006099974736571312,
0.0211921539157629,
0.01794935017824173,
0.11575929075479507,
-0.005074547603726387,
-0.014802956022322178,
-0.04007052257657051,
0.04105212911963463,
-0.057669300585985184,
0.026783796027302742,
-0.038983747363090515,
-0.0071122548542916775,
-0.015609273687005043,
-0.0035495541524142027,
-0.03186710923910141,
0.023330649361014366,
-0.011656560935080051,
0.0019796432461589575,
0.01794935017824173,
0.019088713452219963,
0.003908891696482897,
-0.013462012633681297,
0.023137833923101425,
-0.00791857298463583,
0.0031398215796798468,
-0.02857171930372715,
-0.03142889216542244,
0.030464814975857735,
0.004592509474605322,
0.011341044679284096,
-0.006875617895275354,
-0.025363974273204803,
0.015547923743724823,
-0.06348881870508194,
0.015994904562830925,
0.012594344094395638,
-0.039649832993745804,
-0.024750471115112305,
-0.002754191169515252,
-0.024575185030698776,
0.03652973473072052,
0.003805910935625434,
0.014899362809956074,
-0.014548789709806442,
-0.021542726084589958,
-0.01307638268917799,
-0.009789758361876011,
0.008247235789895058,
-0.029833784326910973,
-0.0012072866084054112,
0.0073357452638447285,
0.053953222930431366,
-0.006091210059821606,
-0.0898168683052063,
-0.04901013895869255,
-0.04294522479176521,
0.04715210199356079,
0.030920561403036118,
0.013462012633681297,
0.0006200764328241348,
-0.05595149099826813,
-0.015828382223844528,
0.009447949007153511,
-0.000608025467954576,
0.031656764447689056,
-0.034882038831710815,
0.007169222924858332,
-0.01173543930053711,
0.06219169497489929,
0.004526777192950249,
-0.020298190414905548,
-0.005648611579090357,
0.031008204445242882,
0.029781198129057884,
-0.03221768140792847,
-0.004353681579232216,
-0.037300992757081985,
-0.04592509567737579,
0.00495184725150466,
-0.003994343802332878,
0.015504102222621441,
-0.003935184795409441,
-0.018527796491980553,
0.011376102454960346,
-0.035933759063482285,
-0.06292790174484253,
0.037616509944200516,
0.01682751625776291,
0.02056112140417099,
0.05696815252304077,
0.0028023950289934874,
-0.03666996210813522,
0.026696152985095978,
0.04231419041752815,
-0.004881732631474733,
0.10832713544368744,
0.03151653707027435,
0.04750267416238785,
-0.04708198830485344,
0.042524535208940506,
-0.011104407720267773,
-0.025136101990938187,
-0.029237808659672737,
0.09724902361631393,
0.039229147136211395,
0.0012116688303649426,
0.031832050532102585,
-0.008071948774158955,
0.03877340257167816,
0.001565528684295714,
-0.02378639578819275,
0.05640723556280136,
0.0030280763749033213,
0.016240306198596954,
0.025293860584497452,
0.018966013565659523,
0.053883109241724014,
-0.0034005604684352875,
-0.0013891465496271849,
0.07383072376251221,
-0.02397921122610569,
-0.005635465029627085,
0.0051096053794026375,
-0.013952815905213356,
-0.024312255904078484,
0.027502471581101418,
-0.02397921122610569,
0.04273488000035286,
-0.057178497314453125,
-0.023716280236840248,
-0.013286726549267769,
0.07993070036172867
]
|
40,773 | pyglove.core.object_utils.docstr_utils | DocStr | Docstring. | class DocStr:
"""Docstring."""
style: DocStrStyle
short_description: Optional[str]
long_description: Optional[str]
examples: List[DocStrExample]
args: Dict[str, DocStrArgument]
returns: Optional[DocStrReturns]
raises: List[DocStrRaises]
blank_after_short_description: bool = True
@classmethod
def parse(cls, text: str, style: Optional[DocStrStyle] = None) -> 'DocStr':
"""Parses a docstring."""
result = docstring_parser.parse(text, _to_parser_style(style))
return cls(
style=_from_parser_style(result.style),
short_description=result.short_description,
long_description=result.long_description,
examples=[
DocStrExample(description=e.description)
for e in result.examples
],
args={ # pylint: disable=g-complex-comprehension
p.arg_name: DocStrArgument(
name=p.arg_name, description=p.description,
type_name=p.type_name, default=p.default,
is_optional=p.is_optional)
for p in result.params
},
returns=DocStrReturns( # pylint: disable=g-long-ternary
name=result.returns.return_name,
description=result.returns.description,
is_yield=result.returns.is_generator) if result.returns else None,
raises=[
DocStrRaises(type_name=r.type_name, description=r.description)
for r in result.raises
],
blank_after_short_description=result.blank_after_short_description)
| (style: pyglove.core.object_utils.docstr_utils.DocStrStyle, short_description: Optional[str], long_description: Optional[str], examples: List[pyglove.core.object_utils.docstr_utils.DocStrExample], args: Dict[str, pyglove.core.object_utils.docstr_utils.DocStrArgument], returns: Optional[pyglove.core.object_utils.docstr_utils.DocStrReturns], raises: List[pyglove.core.object_utils.docstr_utils.DocStrRaises], blank_after_short_description: bool = True) -> None | [
-0.006874576676636934,
-0.01076432690024376,
0.032596200704574585,
-0.056247398257255554,
0.02222985029220581,
-0.02139599435031414,
0.02706242725253105,
0.031212756410241127,
0.05761189013719559,
-0.025224152952432632,
0.01071694865822792,
0.06795928627252579,
0.01309533417224884,
-0.009072924964129925,
-0.024845127016305923,
0.019462963566184044,
0.00253473361954093,
-0.03975978493690491,
-0.009892567992210388,
0.06306985765695572,
0.007120943162590265,
0.0023748320527374744,
0.04847737029194832,
0.030416803434491158,
-0.005415327847003937,
0.031231708824634552,
0.017785776406526566,
-0.042943596839904785,
-0.0206947959959507,
-0.06765606999397278,
0.03466188907623291,
-0.0681867003440857,
-0.0074431151151657104,
0.07629784941673279,
0.047491904348134995,
0.002268231241032481,
-0.03642435744404793,
0.03723926469683647,
-0.032141368836164474,
-0.03375222906470299,
-0.014459826052188873,
0.00041011752909980714,
-0.00007906236714916304,
-0.05734657123684883,
-0.03807311877608299,
-0.006367629859596491,
-0.021509701386094093,
0.028123699128627777,
-0.0995321199297905,
-0.045028239488601685,
0.0705745667219162,
0.0004802964685950428,
-0.04059363901615143,
-0.04192022979259491,
-0.025091493502259254,
-0.004659645725041628,
0.018344838172197342,
0.10559652745723724,
0.03750457987189293,
-0.02473141998052597,
0.009835713542997837,
0.03166758641600609,
0.033183690160512924,
0.006353416480123997,
-0.032672006636857986,
-0.006580831483006477,
0.021907677873969078,
-0.03957027196884155,
0.04082105681300163,
0.008618094027042389,
0.014459826052188873,
-0.0074620661325752735,
-0.025432616472244263,
0.009603560902178288,
0.02778257615864277,
-0.025830592960119247,
-0.10339818149805069,
-0.013607018627226353,
0.0560578852891922,
-0.023916514590382576,
-0.028047893196344376,
0.04639273136854172,
-0.0279531367123127,
-0.058256231248378754,
0.0362158939242363,
-0.07099149376153946,
-0.017577311024069786,
-0.013625970110297203,
0.04157910495996475,
0.0642448365688324,
-0.015426341444253922,
0.016373904421925545,
-0.0033449006732553244,
0.0003908701182808727,
-0.009499328210949898,
-0.019917793571949005,
0.01337012741714716,
-0.059165894985198975,
0.007173059042543173,
0.02473141998052597,
-0.021699214354157448,
0.0498039610683918,
0.02097906544804573,
-0.0025323645677417517,
-0.005315833725035191,
-0.04366374760866165,
-0.013806006871163845,
-0.01484832726418972,
0.038224730640649796,
-0.04684756323695183,
-0.02740355022251606,
-0.10589975118637085,
0.00230968720279634,
-0.025337859988212585,
0.009414047934114933,
-0.019500866532325745,
-0.029052311554551125,
-0.03727716580033302,
0.002757411217316985,
-0.03365747258067131,
0.03111799992620945,
-0.034642938524484634,
-0.06087150797247887,
-0.002982457634061575,
0.007864780724048615,
0.02118753083050251,
-0.03066316992044449,
-0.0005581743898801506,
0.06716333329677582,
-0.00461937440559268,
0.01568218320608139,
0.007784238085150719,
0.020884308964014053,
0.01071694865822792,
0.016677126288414,
0.014952559024095535,
0.003894487861543894,
0.06159165874123573,
-0.04897010698914528,
0.022305656224489212,
0.08406787365674973,
-0.008395416662096977,
0.012053013779222965,
-0.001614412060007453,
-0.06265293061733246,
0.004545938223600388,
0.021244384348392487,
-0.01161713432520628,
0.026266472414135933,
0.08619041740894318,
-0.004256931133568287,
-0.035135671496391296,
0.042109742760658264,
0.03496510908007622,
0.04703707620501518,
-0.042109742760658264,
-0.008618094027042389,
-0.03557155281305313,
0.01680978387594223,
-0.007604200858622789,
0.011664512567222118,
-0.05909008905291557,
0.026493888348340988,
-0.007007235661149025,
0.05727076530456543,
0.07413740456104279,
-0.029924070462584496,
-0.055489346385002136,
-0.019804086536169052,
-0.014071324840188026,
-0.008911838755011559,
0.037106603384017944,
-0.018278509378433228,
0.057915110141038895,
0.021661311388015747,
0.05643690750002861,
-0.01777629926800728,
0.09331610053777695,
-0.03767514228820801,
-0.08550817519426346,
0.011484474875032902,
0.013853385113179684,
-0.06060618907213211,
-0.011408669874072075,
0.047074977308511734,
0.051699090749025345,
0.002556053688749671,
0.025678982958197594,
-0.04525565356016159,
-0.018667010590434074,
-0.006367629859596491,
-0.021793970838189125,
0.02423868514597416,
0.02247621677815914,
-0.004598054103553295,
-0.013218517415225506,
-0.045899998396635056,
-0.010849607177078724,
0.05757398530840874,
-0.012706832960247993,
0.013464883901178837,
0.05859735608100891,
0.0249398835003376,
0.01549267116934061,
0.054996613413095474,
0.02945028804242611,
0.007016710937023163,
-0.010868558660149574,
-0.1080222874879837,
0.02941238507628441,
-0.01643075980246067,
-0.0003908701182808727,
-0.00044624341535381973,
0.005472181830555201,
0.02535681240260601,
-0.03007568046450615,
0.09210321307182312,
0.05450388044118881,
-0.04730239138007164,
-0.01128548663109541,
0.12386555969715118,
0.0001957311760634184,
0.052949875593185425,
0.026418082416057587,
0.029431335628032684,
-0.014838851988315582,
0.049614448100328445,
-0.028635382652282715,
0.028938602656126022,
0.009087138809263706,
0.008096934296190739,
-0.10476267337799072,
0.030814779922366142,
-0.007770024240016937,
-0.016506563872098923,
-0.04237506166100502,
0.014431399293243885,
0.007770024240016937,
0.031212756410241127,
-0.044573407620191574,
-0.016800308600068092,
0.017994239926338196,
-0.05150957778096199,
0.02681606076657772,
-0.013171139173209667,
-0.025849545374512672,
0.0003473414108157158,
-0.0018761766841635108,
-0.0005540287820622325,
-0.001800371566787362,
0.028123699128627777,
0.02448505349457264,
0.005803829059004784,
-0.011673987843096256,
0.0011601736769080162,
0.027498306706547737,
-0.05344260856509209,
-0.049273326992988586,
0.022116143256425858,
-0.0291091650724411,
0.009172419086098671,
-0.006950381677597761,
0.01217619702219963,
0.05511032044887543,
0.024636663496494293,
-0.02819950319826603,
0.014725144021213055,
-0.018742814660072327,
-0.006400794722139835,
0.031004292890429497,
0.13576696813106537,
0.014800949022173882,
0.006917216815054417,
-0.019614573568105698,
-0.02844586968421936,
0.03189500421285629,
0.029260775074362755,
-0.024409247562289238,
0.02848377265036106,
0.009011332876980305,
-0.0015859851846471429,
-0.008892888203263283,
-0.008556502871215343,
0.005983866285532713,
0.11711890250444412,
0.02114962786436081,
-0.012839491479098797,
0.0434742346405983,
0.0025442091282457113,
0.04199603572487831,
0.04029041901230812,
-0.0036718102637678385,
0.03765619173645973,
-0.025584226474165916,
0.07144632190465927,
0.04521775245666504,
0.004579102620482445,
-0.003600743133574724,
-0.004140854347497225,
-0.07174954563379288,
-0.0029492927715182304,
-0.006045457907021046,
0.015577951446175575,
0.008684423752129078,
0.014478777535259724,
-0.007386261131614447,
-0.018657533451914787,
-0.047529809176921844,
0.009816762991249561,
-0.04855317622423172,
-0.02143389731645584,
0.01422293484210968,
-0.04104847088456154,
0.045824192464351654,
-0.036140087991952896,
0.04082105681300163,
-0.004290095996111631,
-0.019879892468452454,
0.004131379071623087,
0.028597479686141014,
-0.0582183301448822,
-0.07929214835166931,
0.014687241055071354,
-0.07326564192771912,
0.019709330052137375,
-0.011001217179000378,
-0.05734657123684883,
-0.005481657572090626,
0.020258916541934013,
0.027744673192501068,
0.0033022603020071983,
-0.04654434323310852,
0.002095300704240799,
-0.005150009877979755,
-0.020239965990185738,
-0.04900800809264183,
0.02164236083626747,
-0.031042195856571198,
-0.05351841077208519,
-0.04279198870062828,
0.07046085596084595,
-0.006945644039660692,
0.013142712414264679,
0.01684768684208393,
-0.014421923086047173,
-0.017738398164510727,
0.020618991926312447,
-0.017719445750117302,
0.09748537838459015,
-0.04703707620501518,
0.01182559784501791,
-0.015445292927324772,
-0.014061849564313889,
0.0028805944602936506,
0.07228017598390579,
-0.013010052964091301,
-0.010811705142259598,
0.0206947959959507,
0.030852682888507843,
-0.1122673749923706,
-0.037978362292051315,
-0.022248800843954086,
0.007087778300046921,
0.008054293692111969,
-0.03619694337248802,
0.020126258954405785,
0.007514182012528181,
0.027744673192501068,
0.009546706452965736,
0.016118062660098076,
0.0003473414108157158,
-0.00007698957051616162,
-0.01549267116934061,
-0.10931097716093063,
-0.013787055388092995,
-0.03198976069688797,
-0.02018311247229576,
-0.007073564920574427,
-0.07550189644098282,
-0.06094731390476227,
0.004301940556615591,
0.01045163068920374,
0.03524937853217125,
0.021793970838189125,
-0.04514194652438164,
-0.025925349444150925,
-0.043777454644441605,
0.05139587074518204,
0.0019661951810121536,
0.047946736216545105,
0.025034639984369278,
-0.02031577192246914,
-0.013209041208028793,
0.02639913186430931,
-0.03725821524858475,
-0.028313210234045982,
0.029431335628032684,
0.013085857965052128,
-0.048325762152671814,
0.015170498751103878,
0.010584289208054543,
-0.03695499524474144,
-0.0207706019282341,
0.003972661681473255,
-0.03341110423207283,
0.040063004940748215,
0.04120007902383804,
0.017871055752038956,
-0.02361329458653927,
0.060833606868982315,
0.00921505969017744,
-0.04051783308386803,
0.02456085756421089,
-0.035135671496391296,
-0.0031719703692942858,
0.004093476105481386,
0.028711188584566116,
0.0952870324254036,
-0.0015812473138794303,
-0.02219194732606411,
-0.0015421602874994278,
-0.043322622776031494,
0.09665152430534363,
0.08679685741662979,
0.009556182660162449,
-0.0028948078397661448,
-0.0006025914335623384,
-0.0434742346405983,
0.04726449027657509,
-0.04396696761250496,
-0.016951918601989746,
0.034188106656074524,
-0.047112878412008286,
-0.08452270179986954,
0.008599142543971539,
-0.0561336874961853,
-0.04150330275297165,
-0.017871055752038956,
0.0560578852891922,
-0.01823113113641739,
0.015284206718206406,
0.0291091650724411,
0.025243103504180908,
0.07023344188928604,
0.00888341199606657,
-0.023310072720050812,
-0.03687918931245804,
0.009475640021264553,
-0.019169218838214874,
-0.06272873282432556,
0.031174853444099426,
0.06682220846414566,
0.03723926469683647,
0.03699289634823799,
-0.028104746714234352,
-0.062084391713142395,
-0.011361291632056236,
0.004088738467544317,
0.009603560902178288,
0.011001217179000378,
0.034396570175886154,
0.02994302101433277,
-0.01764364168047905,
-0.018865998834371567,
-0.04499033838510513,
0.024750370532274246,
0.05901428312063217,
-0.011711890809237957,
-0.06602625548839569,
-0.01401447132229805,
0.02607695944607258,
-0.08353723585605621,
0.02143389731645584,
0.011787695810198784,
0.013332224451005459,
-0.0007562745013274252,
-0.02281733974814415,
-0.03799731284379959,
-0.02306370623409748,
-0.023139512166380882,
0.0003538559249136597,
-0.01482937578111887,
-0.012678406201303005,
0.023783855140209198,
-0.009731481783092022,
-0.008433319628238678,
0.06053038686513901,
-0.03310788422822952,
0.0166013203561306,
0.002032524673268199,
-0.04411857947707176,
0.05393534153699875,
0.047946736216545105,
-0.040063004940748215,
0.017747873440384865,
0.01860067993402481,
0.010669570416212082,
0.029166018590331078,
-0.026759205386042595,
-0.02448505349457264,
0.028730139136314392,
-0.07292452454566956,
-0.030890585854649544,
0.0034159680362790823,
0.07129471004009247,
-0.022552022710442543,
-0.01635495387017727,
0.053783729672431946,
-0.015776939690113068,
-0.059507016092538834,
-0.061667460948228836,
0.018903901800513268,
0.04226135089993477,
0.004759139847010374,
-0.008608618751168251,
-0.017719445750117302,
0.011854025535285473,
0.02427658811211586,
-0.0008255650755017996,
-0.028047893196344376,
-0.02952609211206436,
0.020789552479982376,
-0.06443434953689575,
0.009608298540115356,
0.0016250722110271454,
-0.0010494270827621222,
-0.0017020617378875613,
-0.01107702311128378,
0.021964533254504204,
-0.02611486241221428,
0.020372625440359116,
0.005836993921548128,
0.007713170722126961,
0.003804469248279929,
0.010129458270967007,
0.030056728050112724,
0.010082080960273743,
0.008333824574947357,
-0.004680966027081013,
0.030814779922366142,
0.042185548692941666,
0.0871758833527565,
-0.013540688902139664,
-0.021964533254504204,
0.02706242725253105,
0.04775722324848175,
0.013948141597211361,
0.015994880348443985,
-0.00913451611995697,
0.004221397452056408,
-0.023385878652334213,
0.010707472451031208,
-0.022703632712364197,
0.0160233061760664,
-0.04529355838894844,
0.059961847960948944,
-0.026171715930104256,
-0.029791411012411118,
0.046733856201171875,
0.03555259853601456,
-0.0109064606949687,
-0.029772460460662842,
0.009172419086098671,
-0.008537551388144493,
0.01370177511125803,
0.08634202927350998,
0.05033459886908531,
-0.02018311247229576,
-0.025925349444150925,
-0.02816160023212433,
-0.01863858290016651,
-0.05905218422412872,
0.03125065937638283,
-0.0005794945755042136,
0.001925923745147884,
0.036310650408267975,
-0.015416865237057209,
-0.030928486958146095,
0.024769321084022522,
0.014431399293243885,
0.017131956294178963,
0.021756067872047424,
0.019671427085995674,
-0.05014508590102196,
0.0248640775680542,
-0.019377682358026505,
-0.045066140592098236,
-0.01071694865822792,
-0.024049174040555954,
-0.0008231961983256042,
0.02160445787012577,
-0.016260197386145592,
0.025337859988212585,
-0.00027316491468809545,
0.01491465698927641,
0.011162303388118744,
0.010508484207093716,
-0.0075283958576619625,
0.04286779463291168,
0.004820731468498707,
-0.07046085596084595,
0.01948191411793232,
-0.02639913186430931,
0.014023946598172188,
0.01623176969587803,
0.0725833997130394,
0.04984186589717865,
-0.00457673380151391,
0.03517357259988785,
0.0033875410445034504,
0.009077662602066994,
-0.029090212658047676,
-0.041730716824531555,
-0.0012792113702744246,
-0.042071837931871414,
-0.007087778300046921,
-0.024371344596147537,
-0.005396376829594374,
0.01545476820319891,
-0.06894475221633911,
0.0539732426404953,
0.02660759538412094,
0.01061271596699953,
-0.0010962130036205053,
-0.06314565986394882,
0.02611486241221428,
-0.03687918931245804,
-0.04351213574409485,
-0.030682120472192764,
-0.044649213552474976,
0.030056728050112724,
-0.009248224087059498,
0.02302580326795578,
-0.03612113744020462,
-0.03941866010427475,
-0.0005868974258191884,
0.030397851020097733,
-0.007182534784078598,
0.03483245149254799,
0.013417505659162998,
0.02122543193399906,
-0.007030924782156944,
-0.022836292162537575,
0.023423781618475914,
-0.06371419876813889,
0.01868596114218235,
-0.019444013014435768,
-0.08088406175374985,
0.042526669800281525,
-0.0018856523092836142,
0.00756156025454402,
0.07853410392999649,
0.00153031584341079,
-0.019671427085995674,
-0.0058559454046189785,
0.03663282096385956,
-0.015132596716284752,
-0.0352872833609581,
-0.018752289935946465,
0.019747233018279076,
0.022627826780080795,
-0.03750457987189293,
0.022040337324142456,
0.0002752377185970545,
-0.07686638832092285,
-0.005315833725035191,
-0.0005794945755042136,
0.024200784042477608,
0.04430809244513512,
-0.031231708824634552,
0.014924132265150547,
0.054162755608558655,
0.008395416662096977,
0.007201486267149448,
0.016174916177988052,
-0.01132338959723711,
0.01309533417224884,
0.004647801164537668,
-0.06098521500825882,
-0.03324054181575775,
0.0362916998565197,
0.02778257615864277,
-0.05222972482442856,
-0.07436481863260269,
-0.019993599504232407,
-0.006831936072558165,
0.012972150929272175,
-0.03348691016435623,
0.03341110423207283,
-0.09225482493638992,
-0.023423781618475914,
-0.02281733974814415,
0.01826903223991394,
0.005737499799579382,
0.014137654565274715,
-0.03625379875302315,
-0.04745400324463844,
-0.052532944828271866,
0.026721304282546043,
-0.025849545374512672,
0.04188232868909836,
-0.003145912429317832,
-0.013550164178013802,
0.0171793345361948,
0.007983226329088211,
0.01789000816643238,
-0.016193868592381477,
-0.020126258954405785,
0.010631667450070381,
-0.014744095504283905,
0.022798389196395874,
0.0748196467757225,
0.009091876447200775,
-0.05609578639268875,
0.04055573791265488,
-0.0686415359377861,
0.044156480580568314,
0.005041040480136871,
0.004865740891546011,
-0.010934888385236263,
-0.0009303893893957138,
-0.00919610820710659,
0.01337012741714716,
0.001034029177390039,
-0.03348691016435623,
-0.005031564738601446,
-0.08482592552900314,
0.010887510143220425,
0.035059865564107895,
-0.039646074175834656,
-0.0069740707986056805,
-0.024750370532274246,
0.0022409886587411165,
-0.03560945391654968,
-0.016118062660098076,
-0.023783855140209198,
0.032596200704574585,
-0.008826558478176594,
0.045862097293138504,
-0.005235291086137295,
-0.04021461308002472,
0.05969652906060219,
-0.04699917137622833,
0.04275408759713173,
-0.07572931051254272,
0.0196903795003891,
0.035135671496391296,
0.0207706019282341,
0.019785135984420776,
-0.0044203856959939,
0.005429541692137718,
-0.019197646528482437,
-0.03432076796889305,
0.03223612532019615,
0.016032781451940536,
-0.03606428578495979,
-0.015217876993119717,
0.0374477282166481,
-0.03128856047987938,
0.006301300134509802,
0.009115565568208694,
0.003472822019830346,
-0.00794532336294651,
0.03875536471605301,
-0.037731997668743134,
0.02048633247613907,
-0.0362158939242363,
0.06883104890584946
]
|
40,774 | pyglove.core.object_utils.docstr_utils | __eq__ | null | # Copyright 2023 The PyGlove Authors
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
"""Utilities for working with docstrs."""
import dataclasses
import enum
from typing import Any, Dict, List, Optional
import docstring_parser
class DocStrStyle(enum.Enum):
"""Docstring style."""
REST = 1
GOOGLE = 2
NUMPYDOC = 3
EPYDOC = 4
| (self, other) | [
-0.02561037614941597,
-0.05457719787955284,
-0.040557049214839935,
-0.03863408416509628,
0.03450845181941986,
-0.014527115039527416,
0.029980748891830444,
0.018075857311487198,
0.032795269042253494,
-0.010139262303709984,
-0.005410519894212484,
0.01779615320265293,
-0.007482076063752174,
0.009256446734070778,
-0.03146667405962944,
0.003120445180684328,
-0.0009401761926710606,
-0.028861934319138527,
0.008675187826156616,
-0.015130226500332355,
-0.015873190015554428,
-0.002316296799108386,
0.0270613394677639,
-0.020768005400896072,
-0.0027030748315155506,
0.03146667405962944,
0.0006653890595771372,
-0.025505488738417625,
-0.02887941524386406,
-0.09474965184926987,
0.015077781863510609,
-0.09335113316774368,
-0.008727631531655788,
0.07384179532527924,
0.03475319594144821,
-0.04216534271836281,
0.008037113584578037,
0.0228133387863636,
-0.045801494270563126,
-0.03653630614280701,
-0.051500458270311356,
-0.004798667971044779,
-0.00593059416860342,
-0.07293275743722916,
-0.03618667647242546,
0.01390652172267437,
-0.0552065335214138,
0.03695586323738098,
-0.09796624630689621,
0.0059131127782166,
0.034246232360601425,
-0.03737541660666466,
-0.04202549159526825,
-0.051185790449380875,
-0.01908978261053562,
0.022690968587994576,
0.0256803035736084,
0.09887528419494629,
0.038564156740903854,
-0.0012138707097619772,
0.025278229266405106,
0.010611262172460556,
0.015191411599516869,
-0.023687412962317467,
-0.014544595964252949,
0.02758578583598137,
0.032428156584501266,
-0.04013749212026596,
0.02461393177509308,
0.006000520195811987,
-0.0513606071472168,
-0.00303959334269166,
0.01052385475486517,
0.011100743897259235,
0.023687412962317467,
-0.018827561289072037,
-0.05989157035946846,
-0.03162400797009468,
0.05310875549912453,
-0.01582074537873268,
0.025488005951046944,
0.0021928339265286922,
0.017918523401021957,
-0.035225193947553635,
0.04653571546077728,
-0.05258430913090706,
0.008631483651697636,
0.003286519320681691,
0.04027734324336052,
0.02356504276394844,
-0.033861637115478516,
0.02957867458462715,
-0.011415410786867142,
-0.03237571194767952,
-0.007517038844525814,
-0.007573853712528944,
-0.0006839631241746247,
-0.06908683478832245,
-0.023827265948057175,
0.02408948726952076,
0.007796742953360081,
0.06632475554943085,
0.006813409272581339,
-0.0010811206884682178,
-0.013390818610787392,
-0.0660800188779831,
-0.045032307505607605,
0.0022125006653368473,
0.018145782873034477,
-0.010585039854049683,
-0.026134822517633438,
-0.09733691066503525,
0.06177956983447075,
0.011415410786867142,
0.0411863811314106,
-0.060311127454042435,
0.0037738156970590353,
-0.024648895487189293,
0.030138082802295685,
-0.009204002097249031,
0.004702519625425339,
-0.02492859959602356,
-0.05919231101870537,
-0.01011303998529911,
0.01368800364434719,
0.042759716510772705,
-0.013146077282726765,
0.03982282429933548,
0.05261927470564842,
-0.015602226369082928,
-0.006013631355017424,
0.0156546700745821,
0.005467334762215614,
0.017726227641105652,
0.05761897936463356,
0.004289519507437944,
0.016082966700196266,
0.03300504386425018,
-0.02136237546801567,
0.027725636959075928,
0.02347763627767563,
-0.034456007182598114,
0.003957371227443218,
-0.01952682062983513,
-0.03529512137174606,
0.031291861087083817,
-0.006743483245372772,
-0.024229340255260468,
0.00015569449169561267,
0.07202371954917908,
0.02576771005988121,
-0.035155266523361206,
0.0688420906662941,
0.02681659907102585,
0.014754374511539936,
-0.00033296766923740506,
-0.025785190984606743,
-0.07600950449705124,
-0.012560447677969933,
0.016520004719495773,
0.011170669458806515,
-0.03992771357297897,
0.02569778449833393,
0.016126669943332672,
0.03905364125967026,
0.07195379585027695,
0.01383659616112709,
-0.05838816240429878,
-0.0031750749330967665,
0.0004460510390345007,
0.018635263666510582,
0.026729192584753036,
-0.03214845433831215,
0.024194376543164253,
0.06975112855434418,
0.05310875549912453,
-0.023757340386509895,
0.09335113316774368,
-0.02188681997358799,
-0.017429040744900703,
0.023302821442484856,
0.03048771247267723,
-0.059716757386922836,
0.009282669052481651,
0.04772445559501648,
0.05880771949887276,
0.015147707425057888,
0.011625188402831554,
-0.017315411940217018,
-0.011450373567640781,
-0.008867483586072922,
-0.020837930962443352,
0.029089191928505898,
0.001405074493959546,
0.001893463428132236,
0.013993929140269756,
-0.04254993796348572,
-0.0027686303947120905,
0.014562077820301056,
0.02554045058786869,
0.02949126623570919,
0.05097601190209389,
0.009457483887672424,
0.004169334191828966,
0.03639645501971245,
0.027096303179860115,
0.0081725949421525,
-0.03571467474102974,
-0.13132092356681824,
-0.006503112614154816,
0.001811519032344222,
0.001198574434965849,
0.028092747554183006,
-0.04387852922081947,
0.07740802317857742,
-0.0428646020591259,
0.015715856105089188,
0.06496120244264603,
-0.08754727989435196,
-0.03428119421005249,
0.09684742987155914,
0.006656075827777386,
0.04559171572327614,
0.008343039080500603,
0.07552001625299454,
-0.04992712289094925,
0.07426135241985321,
-0.006634223740547895,
0.039018675684928894,
-0.007385927718132734,
0.0028494822327047586,
-0.058178383857011795,
0.041396159678697586,
0.03587200865149498,
0.016607411205768585,
-0.045172158628702164,
0.008928668685257435,
0.022830821573734283,
0.02554045058786869,
-0.0307149700820446,
0.0051614088006317616,
0.027026377618312836,
-0.04608119651675224,
0.01732415333390236,
-0.04391349107027054,
0.003697334323078394,
0.040696900337934494,
-0.003371741622686386,
0.017158078029751778,
0.01566341146826744,
0.0014389448333531618,
-0.032882675528526306,
-0.0320960097014904,
0.007547631394118071,
-0.012744002975523472,
-0.019806522876024246,
-0.08677809685468674,
-0.028634674847126007,
-0.003485371358692646,
-0.02220148779451847,
-0.010515114292502403,
-0.019596746191382408,
-0.008028372190892696,
0.07552001625299454,
0.024911116808652878,
-0.018285633996129036,
0.03108208253979683,
-0.012359410524368286,
-0.013513188809156418,
-0.006048594135791063,
0.10544832050800323,
0.058947570621967316,
0.03480563685297966,
-0.02013867162168026,
-0.005025927443057299,
-0.011310521513223648,
0.053248606622219086,
0.015042819082736969,
0.061220165342092514,
0.024683857336640358,
0.0068090385757386684,
-0.031291861087083817,
-0.008933039382100105,
0.04747971519827843,
0.07038046419620514,
-0.007442742586135864,
-0.020191116258502007,
0.04531201347708702,
-0.030575118958950043,
0.01914222724735737,
0.029124155640602112,
0.00957985408604145,
0.05618549510836601,
-0.014806818217039108,
0.03562726825475693,
0.056395273655653,
0.037445344030857086,
-0.02279585786163807,
0.0017252041725441813,
-0.04090667888522148,
0.007582594640552998,
0.045032307505607605,
0.03494549170136452,
0.0004608010349329561,
-0.0020934080239385366,
-0.018984893336892128,
0.011074521578848362,
-0.04331912100315094,
0.007569483481347561,
-0.051185790449380875,
-0.049892161041498184,
-0.012962521985173225,
-0.023844746872782707,
0.08831647038459778,
-0.06856238842010498,
0.0552065335214138,
-0.02415941283106804,
-0.00315322307869792,
0.00009614817099645734,
0.028302526101469994,
-0.07286283373832703,
-0.02302311733365059,
0.0478992722928524,
-0.052794087678194046,
0.02590756304562092,
-0.057339273393154144,
-0.005231334827840328,
0.009946965612471104,
0.030277933925390244,
0.03776000812649727,
0.0026353339198976755,
-0.04786431044340134,
0.009221483953297138,
0.02651941403746605,
-0.002311926567927003,
-0.02113511599600315,
0.014981633052229881,
-0.03534756600856781,
-0.037655122578144073,
-0.05873779207468033,
0.03957808390259743,
0.01443970762193203,
-0.003559667617082596,
-0.0017295745201408863,
-0.002186278346925974,
-0.028529785573482513,
0.007936595007777214,
-0.02197422832250595,
0.07789750397205353,
-0.051185790449380875,
0.039648011326789856,
0.01428237371146679,
-0.01914222724735737,
0.01717556081712246,
0.02629215456545353,
-0.008985484018921852,
-0.0024277414195239544,
-0.017577633261680603,
0.022621043026447296,
-0.0591573491692543,
-0.03540001064538956,
-0.002534815575927496,
-0.005108964163810015,
0.012263262644410133,
-0.052339568734169006,
0.03321482241153717,
0.006018001586198807,
0.01650252193212509,
0.03685097396373749,
0.03517274931073189,
-0.0061709643341600895,
-0.0023621858563274145,
-0.01295378152281046,
-0.051185790449380875,
-0.006975112948566675,
-0.02325037680566311,
-0.022918228060007095,
0.0021993895061314106,
-0.08097424358129501,
-0.017656300216913223,
-0.004366001114249229,
0.051500458270311356,
0.062059275805950165,
0.006179705262184143,
-0.01839052326977253,
-0.0631081610918045,
-0.0122720031067729,
0.040696900337934494,
-0.010078076273202896,
0.030889784917235374,
0.008823780342936516,
-0.021642079576849937,
-0.010322817601263523,
0.04524208605289459,
-0.015235114842653275,
-0.061989348381757736,
-0.013207262381911278,
0.012647855095565319,
-0.004619482904672623,
0.0231105238199234,
0.044053345918655396,
-0.01395022589713335,
-0.03262045234441757,
-0.01022666972130537,
-0.030889784917235374,
0.05485690385103226,
0.03929838165640831,
0.03646637871861458,
-0.004409704823046923,
0.09495943039655685,
-0.0037475936114788055,
-0.025278229266405106,
0.012184595689177513,
-0.011459114030003548,
-0.0035968157462775707,
-0.0026091118343174458,
-0.011013336479663849,
0.07985542714595795,
-0.013486966490745544,
0.017988448962569237,
0.017350375652313232,
-0.023355266079306602,
0.10328061878681183,
0.08964505791664124,
-0.00410377886146307,
-0.02013867162168026,
0.010051854886114597,
-0.03494549170136452,
0.043284159153699875,
-0.027236154302954674,
-0.0372355654835701,
0.04258489981293678,
-0.03389660269021988,
-0.12418847531080246,
-0.015523559413850307,
-0.03961304575204849,
-0.038039714097976685,
-0.020558226853609085,
0.026641784235835075,
0.007530150003731251,
0.04087171331048012,
-0.0027074450626969337,
0.004027297254651785,
0.048004161566495895,
0.04751468077301979,
-0.01610918901860714,
-0.03003319352865219,
0.03550489991903305,
0.02949126623570919,
-0.07384179532527924,
0.005174519959837198,
0.06950639188289642,
0.03618667647242546,
0.012752744369208813,
-0.025103414431214333,
-0.05905245989561081,
-0.016747264191508293,
-0.008631483651697636,
-0.00885000266134739,
-0.0194568932056427,
0.00596992764621973,
0.01929956115782261,
0.02590756304562092,
0.0036448899190872908,
-0.00011540512059582397,
-0.03251556307077408,
0.04104653000831604,
-0.013434521853923798,
-0.0806945413351059,
-0.02515585906803608,
0.042969491332769394,
-0.07873661071062088,
0.032043565064668655,
-0.01853037439286709,
-0.001645444892346859,
0.020698079839348793,
-0.021799413487315178,
-0.026187265291810036,
0.005497927311807871,
-0.018110819160938263,
0.0665694996714592,
-0.05258430913090706,
-0.029211563989520073,
0.007853557355701923,
-0.031099563464522362,
0.0063239275477826595,
0.015514818951487541,
-0.02561037614941597,
0.025400599464774132,
-0.03359941765666008,
-0.013583114370703697,
0.06377246230840683,
0.010585039854049683,
-0.07265305519104004,
0.08642846345901489,
0.03076741471886635,
0.006179705262184143,
0.04436801001429558,
-0.028774525970220566,
-0.010453928261995316,
0.030452748760581017,
-0.07705838978290558,
-0.030977193266153336,
-0.031728897243738174,
0.06258372217416763,
-0.021921783685684204,
0.004031667485833168,
0.009177779778838158,
-0.002578519284725189,
-0.03076741471886635,
-0.03838934376835823,
0.02286578342318535,
0.05982164666056633,
0.01439600344747305,
0.01802341267466545,
-0.007648149970918894,
-0.023757340386509895,
0.03290015831589699,
-0.010349039919674397,
-0.03449097275733948,
-0.030889784917235374,
-0.0010499818017706275,
-0.04824890196323395,
-0.0352601557970047,
0.007320372387766838,
-0.00296529708430171,
-0.03384415805339813,
-0.005655260756611824,
0.008233780041337013,
0.009737187996506691,
0.021379858255386353,
0.011677633039653301,
0.016677336767315865,
-0.009370076470077038,
-0.0013275003293529153,
0.01914222724735737,
0.016668597236275673,
-0.029928304255008698,
0.011564003303647041,
0.039473194628953934,
0.02440415509045124,
0.0018399263499304652,
-0.0239496361464262,
-0.0038940010126680136,
0.0399976409971714,
0.06635972112417221,
0.020645635202527046,
-0.016852151602506638,
0.00413874164223671,
0.0033542602322995663,
-0.006455038674175739,
-0.005454223603010178,
-0.0077748908661305904,
-0.011677633039653301,
-0.06758342683315277,
0.05129067972302437,
-0.030680008232593536,
-0.056430235505104065,
0.062443867325782776,
0.021414820104837418,
-0.023844746872782707,
-0.061674684286117554,
0.009134076535701752,
0.004689408466219902,
-0.01770874485373497,
0.08698787540197372,
-0.0048336307518184185,
-0.007971557788550854,
-0.06408713012933731,
-0.016930818557739258,
0.027410971000790596,
-0.06922668218612671,
0.016624893993139267,
-0.0019732227083295584,
0.0022704079747200012,
0.08342164754867554,
-0.018897486850619316,
-0.022481191903352737,
0.052409496158361435,
-0.014509633183479309,
-0.010611262172460556,
0.007534520700573921,
0.038948751986026764,
-0.046325936913490295,
0.02515585906803608,
0.00014927549636922777,
0.00935259461402893,
0.0015492966631427407,
0.019264597445726395,
-0.0027970378287136555,
-0.020051265135407448,
-0.004899186547845602,
0.03246311843395233,
-0.049822233617305756,
0.0031422970350831747,
0.00988578051328659,
-0.007425261195749044,
-0.009877040050923824,
0.028320007026195526,
-0.01581200398504734,
-0.030068155378103256,
0.036291565746068954,
-0.04436801001429558,
-0.0026112969499081373,
-0.0033214823342859745,
0.06887705624103546,
0.05282904952764511,
-0.001450963318347931,
0.04234015941619873,
-0.009527409449219704,
-0.037725046277046204,
-0.009142816998064518,
-0.04765453189611435,
-0.026851562783122063,
-0.044577788561582565,
0.028687117621302605,
-0.010794817470014095,
0.02919408120214939,
0.022358819842338562,
-0.06268861144781113,
0.04104653000831604,
0.022306377068161964,
0.03880889713764191,
-0.03912356495857239,
-0.04384356737136841,
0.011126966215670109,
-0.04143112152814865,
-0.04835379123687744,
-0.02576771005988121,
-0.021152598783373833,
0.025575414299964905,
-0.03281274810433388,
0.023844746872782707,
-0.02090785652399063,
0.0194568932056427,
0.03807467594742775,
-0.003223148873075843,
-0.02651941403746605,
0.010340298525989056,
0.058562979102134705,
0.021834375336766243,
0.01235067006200552,
-0.0015853522345423698,
0.031816303730010986,
-0.06335290521383286,
0.0895751342177391,
-0.021694524213671684,
-0.06842253357172012,
0.057793792337179184,
-0.021379858255386353,
0.008596520870923996,
0.08426076173782349,
0.03536504507064819,
-0.021240005269646645,
-0.015401189215481281,
0.021624598652124405,
-0.015252596698701382,
-0.03992771357297897,
0.003786926856264472,
-0.004132186062633991,
0.04436801001429558,
-0.0021622413769364357,
0.037200603634119034,
-0.025365635752677917,
-0.08314194530248642,
-0.022516153752803802,
0.02499852515757084,
-0.013486966490745544,
0.08251261711120605,
-0.014509633183479309,
0.03936830535531044,
0.06905186921358109,
0.006865853443741798,
0.025278229266405106,
0.033162377774715424,
-0.021379858255386353,
0.03207852691411972,
0.013469484634697437,
-0.013976448215544224,
0.004073186311870813,
0.0002344977401662618,
0.04650075361132622,
-0.02127496898174286,
-0.04706016182899475,
-0.022760894149541855,
0.01763881929218769,
0.000552578829228878,
-0.008653335273265839,
0.012359410524368286,
-0.04880831018090248,
-0.06356268376111984,
-0.002109796740114689,
-0.0012969077797606587,
-0.03003319352865219,
0.041675861924886703,
-0.034630823880434036,
-0.005401778966188431,
-0.05737423524260521,
0.0019568337593227625,
-0.04398341849446297,
0.028250081464648247,
-0.008045854046940804,
0.0014160004211589694,
0.014771855436265469,
-0.001072379876859486,
0.039403270930051804,
-0.011258076876401901,
-0.012787707149982452,
-0.03178134188055992,
-0.03171141445636749,
0.027463413774967194,
0.0383194163441658,
0.014736892655491829,
-0.021642079576849937,
0.0411863811314106,
-0.07754787057638168,
0.015707114711403847,
0.02020859718322754,
0.007586964871734381,
-0.042375121265649796,
-0.000914500211365521,
0.010689929127693176,
0.01900237612426281,
0.02288326434791088,
-0.04391349107027054,
-0.01938696764409542,
-0.10188210010528564,
-0.013093632645905018,
-0.003913667518645525,
-0.05307378992438316,
0.0023600005079060793,
-0.05524149537086487,
-0.016450079157948494,
-0.02256859838962555,
-0.02805778570473194,
-0.0071936314925551414,
0.004982223734259605,
-0.031606525182724,
0.017219264060258865,
-0.028145192191004753,
-0.04213038086891174,
0.068352609872818,
-0.10880476981401443,
0.0366411954164505,
-0.06569542735815048,
0.014937929809093475,
0.017831115052103996,
-0.029980748891830444,
0.0012040373403578997,
0.00999941024929285,
0.052409496158361435,
0.015715856105089188,
-0.049892161041498184,
-0.012875114567577839,
0.006660446058958769,
-0.007128075696527958,
0.009099113754928112,
-0.005664001684635878,
-0.015506078489124775,
0.00014517827366944402,
0.019212152808904648,
-0.008679557591676712,
-0.017831115052103996,
0.02971852570772171,
-0.026554377749562263,
0.035382527858018875,
-0.05664001405239105,
0.042305197566747665
]
|
40,777 | pyglove.core.typing.class_schema | Field | Class that represents the definition of one or a group of attributes.
``Field`` is held by a :class:`pyglove.Schema` object for defining the
name(s), the validation and transformation rules on its/their value(s) for a
single symbolic attribute or a set of symbolic attributes.
A ``Field`` is defined by a tuple of 4 items::
(key specification, value specification, doc string, field metadata)
For example::
(pg.typing.StrKey('foo.*'),
pg.typing.Int(),
'Attributes with foo',
{'user_data': 'bar'})
The key specification (or ``KeySpec``, class :class:`pyglove.KeySpec`) and
value specification (or ``ValueSpec``, class :class:`pyglove.ValueSpec`) are
required, while the doc string and the field metadata are optional. The
``KeySpec`` defines acceptable identifiers for this field, and the
``ValueSpec`` defines the attribute's value type, its default value,
validation rules and etc. The doc string serves as the description for the
field, and the field metadata can be used for attribute-based code generation.
``Field`` supports extension, which allows the subclass to add more
restrictions to a field inherited from the base class, or override its default
value. A field can be frozen if subclasses can no longer extend it.
See :class:`pyglove.KeySpec` and :class:`pyglove.ValueSpec` for details.
| class Field(object_utils.Formattable, object_utils.JSONConvertible):
"""Class that represents the definition of one or a group of attributes.
``Field`` is held by a :class:`pyglove.Schema` object for defining the
name(s), the validation and transformation rules on its/their value(s) for a
single symbolic attribute or a set of symbolic attributes.
A ``Field`` is defined by a tuple of 4 items::
(key specification, value specification, doc string, field metadata)
For example::
(pg.typing.StrKey('foo.*'),
pg.typing.Int(),
'Attributes with foo',
{'user_data': 'bar'})
The key specification (or ``KeySpec``, class :class:`pyglove.KeySpec`) and
value specification (or ``ValueSpec``, class :class:`pyglove.ValueSpec`) are
required, while the doc string and the field metadata are optional. The
``KeySpec`` defines acceptable identifiers for this field, and the
``ValueSpec`` defines the attribute's value type, its default value,
validation rules and etc. The doc string serves as the description for the
field, and the field metadata can be used for attribute-based code generation.
``Field`` supports extension, which allows the subclass to add more
restrictions to a field inherited from the base class, or override its default
value. A field can be frozen if subclasses can no longer extend it.
See :class:`pyglove.KeySpec` and :class:`pyglove.ValueSpec` for details.
"""
__serialization_key__ = 'pyglove.typing.Field'
def __init__(
self,
key_spec: Union[KeySpec, str],
value_spec: ValueSpec,
description: Optional[str] = None,
metadata: Optional[Dict[str, Any]] = None):
"""Constructor.
Args:
key_spec: Key specification of the field. Can be a string or a KeySpec
instance.
value_spec: Value specification of the field.
description: Description of the field.
metadata: A dict of objects as metadata for the field.
Raises:
ValueError: metadata is not a dict.
"""
if isinstance(key_spec, str):
key_spec = KeySpec.from_str(key_spec)
assert isinstance(key_spec, KeySpec), key_spec
self._key = key_spec
self._value = value_spec
self._description = description
if metadata and not isinstance(metadata, dict):
raise ValueError('metadata must be a dict.')
self._metadata = metadata or {}
@classmethod
def from_annotation(
cls,
key: Union[str, KeySpec],
annotation: Any,
description: Optional[str] = None,
metadata: Optional[Dict[str, Any]] = None,
auto_typing=True) -> 'Field':
"""Gets a Field from annotation."""
del key, annotation, description, metadata, auto_typing
assert False, 'Overridden in `annotation_conversion.py`.'
@property
def description(self) -> Optional[str]:
"""Description of this field."""
return self._description
def set_description(self, description: str) -> None:
"""Sets the description for this field."""
self._description = description
@property
def key(self) -> KeySpec:
"""Key specification of this field."""
return self._key
@property
def value(self) -> ValueSpec:
"""Value specification of this field."""
return self._value
@property
def annotation(self) -> Any:
"""Type annotation for this field."""
return self._value.annotation
@property
def metadata(self) -> Dict[str, Any]:
"""Metadata of this field.
Metadata is defined as a dict type, so we can add multiple annotations
to a field.
userdata = field.metadata.get('userdata', None):
Returns:
Metadata of this field as a dict.
"""
return self._metadata
def extend(self, base_field: 'Field') -> 'Field':
"""Extend current field based on a base field."""
self.key.extend(base_field.key)
self.value.extend(base_field.value)
if not self._description:
self._description = base_field.description
if base_field.metadata:
metadata = copy.copy(base_field.metadata)
metadata.update(self.metadata)
self._metadata = metadata
return self
def apply(
self,
value: Any,
allow_partial: bool = False,
transform_fn: Optional[Callable[
[object_utils.KeyPath, 'Field', Any], Any]] = None,
root_path: Optional[object_utils.KeyPath] = None) -> Any:
"""Apply current field to a value, which validate and complete the value.
Args:
value: Value to validate against this spec.
allow_partial: Whether partial value is allowed. This is for dict or
nested dict values.
transform_fn: Function to transform applied value into final value.
root_path: Key path for root.
Returns:
final value.
When allow_partial is set to False (default), only fully qualified value
is acceptable. When allow_partial is set to True, missing fields will
be placeheld using MISSING_VALUE.
Raises:
KeyError: if additional key is found in value, or required key is missing
and allow_partial is set to False.
TypeError: if type of value is not the same as spec required.
ValueError: if value is not acceptable, or value is MISSING_VALUE while
allow_partial is set to False.
"""
value = self._value.apply(
value,
allow_partial=allow_partial,
child_transform=transform_fn,
root_path=root_path)
if transform_fn:
value = transform_fn(root_path, self, value)
return value
@property
def default_value(self) -> Any:
"""Returns the default value."""
return self._value.default
@property
def frozen(self) -> bool:
"""Returns True if current field's value is frozen."""
return self._value.frozen
def format(self,
compact: bool = False,
verbose: bool = True,
root_indent: int = 0,
**kwargs) -> str:
"""Format this field into a string."""
description = self._description
if not verbose and self._description and len(self._description) > 20:
description = self._description[:20] + '...'
metadata = object_utils.format(
self._metadata,
compact=compact,
verbose=verbose,
root_indent=root_indent + 1,
**kwargs)
if not verbose and len(metadata) > 24:
metadata = '{...}'
attr_str = object_utils.kvlist_str([
('key', self._key, None),
('value', self._value.format(
compact=compact,
verbose=verbose,
root_indent=root_indent + 1,
**kwargs), None),
('description', object_utils.quote_if_str(description), None),
('metadata', metadata, '{}')
])
return f'Field({attr_str})'
def to_json(self, **kwargs: Any) -> Dict[str, Any]:
return self.to_json_dict(
fields=dict(
key_spec=(self._key, None),
value_spec=(self._value, None),
description=(self._description, None),
metadata=(self._metadata, {}),
),
exclude_default=True,
**kwargs,
)
def __eq__(self, other: Any) -> bool:
"""Operator==."""
if self is other:
return True
return (isinstance(other, self.__class__) and self.key == other.key and
self.value == other.value and
self.description == other.description and
self.metadata == other.metadata)
def __ne__(self, other: Any) -> bool:
"""Operator!=."""
return not self.__eq__(other)
| (key_spec: Union[pyglove.core.typing.class_schema.KeySpec, str], value_spec: pyglove.core.typing.class_schema.ValueSpec, description: Optional[str] = None, metadata: Optional[Dict[str, Any]] = None) | [
0.0758025273680687,
-0.05237046256661415,
-0.026446480304002762,
0.055143725126981735,
0.012700741179287434,
-0.0555858388543129,
0.027330709621310234,
-0.050883349031209946,
-0.0016240169061347842,
-0.03735866770148277,
0.004757754039019346,
0.03046570159494877,
0.061574481427669525,
0.025039752945303917,
0.03872520476579666,
0.0498383529484272,
-0.02196504734456539,
0.03474617376923561,
0.056952375918626785,
0.013946699909865856,
0.030385317280888557,
-0.0462210513651371,
0.005179772153496742,
0.03870510682463646,
0.034062907099723816,
-0.010243992321193218,
0.031028393656015396,
-0.00003228330024285242,
-0.0055063338950276375,
-0.004900938831269741,
0.01230886671692133,
-0.05594756826758385,
0.037800781428813934,
0.033540405333042145,
-0.013645258732140064,
-0.09654171019792557,
-0.050802964717149734,
0.04388990253210068,
-0.11076975613832474,
0.009550675749778748,
-0.008827215991914272,
0.04614066705107689,
-0.08858364820480347,
-0.04975796863436699,
0.02990301139652729,
0.014609871432185173,
0.023532545194029808,
0.06683965772390366,
-0.04280471429228783,
-0.017463520169258118,
0.009440147317945957,
0.0030621446203440428,
0.0022495081648230553,
0.02158322185277939,
-0.027029266580939293,
-0.022547835484147072,
0.005486237816512585,
0.06398601084947586,
0.0014695280697196722,
0.025883790105581284,
-0.036152902990579605,
0.04674354940652847,
-0.04009173810482025,
-0.021362164989113808,
-0.029782434925436974,
-0.0071039749309420586,
-0.019553514197468758,
-0.028134552761912346,
-0.01151507068425417,
-0.00419003888964653,
-0.042000867426395416,
-0.037217993289232254,
0.04750720411539078,
0.04750720411539078,
0.008440366014838219,
-0.010821755044162273,
-0.017282653599977493,
0.0018036258406937122,
0.07302926480770111,
-0.07013542205095291,
0.03444473072886467,
0.009163825772702694,
-0.04819047078490257,
-0.061212748289108276,
0.01559458114206791,
0.035630401223897934,
-0.017815200611948967,
0.01556443702429533,
0.05317430570721626,
0.009394931606948376,
-0.04240279272198677,
-0.00928440224379301,
-0.02303014136850834,
0.05747487396001816,
-0.027973784133791924,
-0.024899080395698547,
-0.012771077454090118,
-0.05293315276503563,
-0.0187697671353817,
0.05771602690219879,
0.02737090177834034,
0.015383572317659855,
-0.05036085098981857,
0.023211006075143814,
0.030083876103162766,
-0.03514809533953667,
-0.047065090388059616,
-0.004807994235306978,
0.04714547470211983,
-0.01727260649204254,
-0.04585932195186615,
-0.009520531632006168,
-0.05265180766582489,
0.012720837257802486,
-0.0019154103938490152,
-0.012761029414832592,
-0.0004292403464205563,
-0.021321972832083702,
0.007013542111963034,
-0.01827741228044033,
0.05433988198637962,
0.012509828433394432,
-0.0469445139169693,
0.007490824908018112,
0.022929660975933075,
0.0076917861588299274,
0.020055918022990227,
0.0011749943951144814,
0.037157706916332245,
0.015715157613158226,
-0.027330709621310234,
0.044532980769872665,
0.004260375164449215,
0.02036740630865097,
0.048069894313812256,
0.012961991131305695,
0.04602009057998657,
0.02116120420396328,
-0.05096373334527016,
0.06073044240474701,
0.03307819738984108,
0.0031751852948218584,
0.08906596153974533,
-0.0700952336192131,
-0.017644384875893593,
-0.03561030700802803,
0.018659237772226334,
0.0028134554158896208,
-0.05952467769384384,
-0.02152293361723423,
0.005712319165468216,
0.0013502073707059026,
0.04280471429228783,
0.04710528254508972,
0.02296985313296318,
0.0035620355047285557,
-0.036795977503061295,
-0.07395368069410324,
0.033841848373413086,
-0.003911205567419529,
0.013785931281745434,
-0.026607248932123184,
0.014459150843322277,
-0.018880294635891914,
0.026345999911427498,
0.06153428927063942,
0.0267278254032135,
-0.0902717262506485,
-0.011093052104115486,
0.027491478249430656,
-0.005616862792521715,
-0.03237483277916908,
-0.016147224232554436,
0.05028046667575836,
-0.03508780896663666,
0.09951593726873398,
0.014147661626338959,
0.02210571989417076,
-0.0009175129816867411,
0.00673722056671977,
0.007299911696463823,
-0.0001338432339252904,
0.022447355091571808,
0.006842725444585085,
0.0520087331533432,
0.007611401379108429,
-0.012369155883789062,
0.004483944270759821,
0.04413105547428131,
0.03890606760978699,
0.05184796452522278,
-0.019915245473384857,
0.014278286136686802,
-0.00881214439868927,
-0.04999912157654762,
-0.011273917742073536,
0.011394494213163853,
-0.036012228578329086,
0.007797290571033955,
0.08239404857158661,
-0.06776408106088638,
-0.03964962437748909,
0.010861947201192379,
0.005245084408670664,
-0.06844735145568848,
0.009520531632006168,
0.02731061354279518,
-0.0057022711262106895,
-0.056952375918626785,
-0.08480558544397354,
-0.016157271340489388,
-0.02692878618836403,
-0.03197291120886803,
-0.0054058535024523735,
0.046261243522167206,
-0.11720050871372223,
0.033038005232810974,
-0.021181300282478333,
-0.02347225695848465,
0.03494713455438614,
0.09839054942131042,
0.0081288767978549,
-0.0024027409963309765,
-0.02051812782883644,
0.049717776477336884,
-0.024135427549481392,
-0.010902139358222485,
-0.021764086559414864,
0.00960091594606638,
-0.05140584707260132,
-0.015554388985037804,
-0.0009451451478525996,
-0.039107028394937515,
0.024235907942056656,
0.004059414379298687,
0.008244428783655167,
0.048069894313812256,
-0.02196504734456539,
-0.0039539095014333725,
-0.028295323252677917,
0.02130187675356865,
-0.010932283475995064,
-0.041136737912893295,
-0.01631804183125496,
-0.03183223679661751,
-0.033540405333042145,
0.015082130208611488,
0.03090781718492508,
0.013434248976409435,
-0.014017036184668541,
-0.004807994235306978,
0.006480995565652847,
0.006199650000780821,
0.053335074335336685,
-0.006491043604910374,
-0.052249886095523834,
-0.012891653925180435,
-0.021141108125448227,
0.07057753950357437,
-0.003245521802455187,
-0.011967233382165432,
-0.09043249487876892,
-0.03962952643632889,
0.06189601868391037,
0.030284836888313293,
-0.03269637003540993,
0.046823933720588684,
0.0036700519267469645,
0.014921361580491066,
0.013524681329727173,
0.04658278077840805,
-0.021502837538719177,
-0.0067824372090399265,
-0.019463082775473595,
-0.052249886095523834,
-0.03472607582807541,
-0.024577541276812553,
-0.003097312990576029,
0.0433272123336792,
-0.021824374794960022,
-0.014358670450747013,
-0.03356050327420235,
0.011173437349498272,
-0.009224114008247852,
0.05699256807565689,
-0.004413607995957136,
-0.033540405333042145,
0.032455217093229294,
-0.05594756826758385,
-0.013373960740864277,
0.008681518957018852,
-0.013464393094182014,
-0.0028084313962608576,
0.0034515068400651217,
-0.0022231321781873703,
-0.02548186667263508,
-0.0592433325946331,
-0.033399734646081924,
0.003263105871155858,
-0.08279597014188766,
0.0035494754556566477,
0.0671210065484047,
0.06330274790525436,
0.017282653599977493,
-0.030304932966828346,
0.003567059524357319,
0.0032932499889284372,
-0.02427610009908676,
0.03575097769498825,
0.04449278861284256,
-0.039187412708997726,
0.06495063006877899,
-0.02268850803375244,
0.04031279683113098,
0.01661948300898075,
0.01652904972434044,
-0.003418850712478161,
0.04065442830324173,
0.03472607582807541,
0.014027084223926067,
-0.0025748140178620815,
0.0023324047215282917,
-0.03603232279419899,
-0.001477064099162817,
-0.005586718674749136,
-0.053978148847818375,
0.04851200804114342,
0.023010045289993286,
-0.005993664730340242,
0.004805481992661953,
0.00033346982672810555,
-0.010198775678873062,
0.019824812188744545,
0.0635037049651146,
-0.055425070226192474,
-0.01151507068425417,
0.004607032984495163,
-0.07194407284259796,
-0.03555001690983772,
-0.016418522223830223,
0.01339405681937933,
-0.014238093979656696,
-0.004305591341108084,
-0.030726952478289604,
-0.046823933720588684,
-0.05216950178146362,
0.05872083082795143,
-0.022427259013056755,
0.07769156247377396,
-0.009897333569824696,
0.03663520887494087,
-0.048431623727083206,
0.018749671056866646,
0.016488857567310333,
-0.006581475958228111,
-0.08753865212202072,
-0.02505984902381897,
-0.0541791133582592,
-0.022065527737140656,
-0.0012585188960656524,
0.050883349031209946,
-0.038966357707977295,
0.005174748133867979,
0.003089776961132884,
0.014981649816036224,
0.012399300001561642,
-0.03603232279419899,
-0.034263867884874344,
0.03366098180413246,
0.01274093333631754,
0.02520052157342434,
-0.037800781428813934,
0.0016328089404851198,
-0.06145390495657921,
0.014388814568519592,
0.010500216856598854,
0.020116206258535385,
0.07684752345085144,
-0.09814939647912979,
0.01202752161771059,
0.018608996644616127,
0.029862819239497185,
-0.06523197144269943,
0.045457400381565094,
0.01632808893918991,
0.005079291760921478,
0.07085888087749481,
-0.025019656866788864,
0.004413607995957136,
-0.023130621761083603,
-0.03808212652802467,
0.0023600368294864893,
0.0010343216126784682,
-0.02514023333787918,
-0.023854082450270653,
-0.032093487679958344,
-0.03731847554445267,
-0.015705110505223274,
0.056148529052734375,
-0.018950631842017174,
0.01834774762392044,
-0.057515066117048264,
0.03488684818148613,
0.044532980769872665,
0.004323175642639399,
-0.01567496545612812,
0.09163825958967209,
0.004682393744587898,
-0.007083878852427006,
0.10224900394678116,
0.03490694239735603,
-0.0071039749309420586,
-0.037077322602272034,
-0.02505984902381897,
0.026486672461032867,
-0.048069894313812256,
0.023231102153658867,
-0.020980337634682655,
-0.02528090588748455,
0.02499956078827381,
-0.019603755325078964,
0.034705981612205505,
-0.026446480304002762,
0.017091741785407066,
-0.01784534566104412,
-0.032394926995038986,
-0.016941020265221596,
0.023291390389204025,
0.017292702570557594,
0.051245078444480896,
0.03084752894937992,
0.0057273912243545055,
-0.018608996644616127,
-0.04537701606750488,
-0.022447355091571808,
-0.010902139358222485,
0.011203581467270851,
-0.0469445139169693,
0.03341982886195183,
0.017061596736311913,
0.017101788893342018,
0.002287188544869423,
0.03211358189582825,
-0.019221927970647812,
0.021201396360993385,
0.006325250491499901,
-0.02146264538168907,
0.08769942075014114,
0.04593970626592636,
-0.005127020180225372,
0.060047175735235214,
0.04573874548077583,
0.0599265992641449,
0.02015639841556549,
-0.07560156285762787,
-0.04111663997173309,
-0.000565831083804369,
-0.06993446499109268,
0.016046743839979172,
0.008420269936323166,
-0.005908256396651268,
0.04015202820301056,
-0.01328352838754654,
-0.0054812137968838215,
-0.043809518218040466,
0.011726080439984798,
0.025381386280059814,
0.0013376473216339946,
-0.05843948572874069,
0.013755787163972855,
0.017292702570557594,
-0.011535166762769222,
0.004491480533033609,
0.02102052979171276,
0.012339011766016483,
0.0061494093388319016,
0.05257142335176468,
-0.02714984491467476,
-0.0815902054309845,
-0.07495848834514618,
0.07664655894041061,
-0.030807336792349815,
-0.021844470873475075,
-0.02664744108915329,
0.0563092976808548,
0.012298818677663803,
0.03408300131559372,
0.010193751193583012,
-0.008390125818550587,
0.04738662764430046,
-0.06394582241773605,
0.030023587867617607,
0.015353428199887276,
0.02087985724210739,
-0.02656705677509308,
-0.009942550212144852,
0.012982087209820747,
0.004391000140458345,
-0.004958714824169874,
-0.021060723811388016,
0.007525993045419455,
-0.008043467998504639,
-0.022929660975933075,
0.014439054764807224,
0.01112319715321064,
-0.04947662353515625,
-0.004604521207511425,
0.006792485248297453,
0.030385317280888557,
-0.039328087121248245,
-0.03430406004190445,
0.007737002335488796,
0.06491043418645859,
0.012861509807407856,
-0.023572737351059914,
0.006470947526395321,
-0.0124595882371068,
0.00801332388073206,
-0.0397099144756794,
-0.06808561831712723,
-0.04123721644282341,
0.014861073344945908,
-0.0034088026732206345,
-0.03603232279419899,
-0.02252773940563202,
0.08641327172517776,
-0.03697684034705162,
-0.02700917050242424,
0.03649453446269035,
-0.01582568697631359,
0.031892526894807816,
-0.023150717839598656,
0.03926779702305794,
0.013866315595805645,
-0.012067713774740696,
0.055786799639463425,
0.01488116942346096,
0.040775004774332047,
-0.038463953882455826,
-0.009711445309221745,
0.0715019553899765,
0.058037564158439636,
-0.03705722466111183,
0.0041498467326164246,
0.039388373494148254,
-0.0019091303693130612,
0.02592398226261139,
0.009324595332145691,
0.015373524278402328,
-0.02801397629082203,
-0.04433201625943184,
0.04577893763780594,
0.039910875260829926,
0.005837919656187296,
-0.007531017065048218,
0.004825578536838293,
-0.008435342460870743,
0.005832895636558533,
0.055626031011343,
-0.007661641575396061,
-0.004664809443056583,
-0.013896459713578224,
-0.0021301875822246075,
0.007742026355117559,
-0.005521405953913927,
0.02355264127254486,
-0.0047376579605042934,
0.04493490234017372,
-0.020899953320622444,
0.01328352838754654,
-0.020980337634682655,
0.012429444119334221,
0.016850588843226433,
-0.0026250542141497135,
0.022447355091571808,
0.019603755325078964,
-0.09951593726873398,
0.0256426353007555,
-0.028938397765159607,
-0.061855826526880264,
-0.02311052568256855,
0.01058060210198164,
0.04384971037507057,
-0.04678374156355858,
-0.020407598465681076,
-0.016519002616405487,
0.02174399048089981,
0.059966791421175,
0.005154652055352926,
-0.004569353070110083,
-0.03169156610965729,
-0.009435123763978481,
-0.014298382215201855,
-0.002218108158558607,
0.016649626195430756,
0.029219742864370346,
-0.03673568740487099,
-0.013333768583834171,
0.03331935033202171,
-0.04340759664773941,
-0.04029269888997078,
0.005551550071686506,
-0.036514632403850555,
0.0017609215574339032,
0.014921361580491066,
0.01553429290652275,
0.016227608546614647,
0.023592833429574966,
0.06551332026720047,
-0.03764001280069351,
-0.005094363819807768,
0.027129748836159706,
-0.028717340901494026,
-0.027049362659454346,
0.000989733380265534,
-0.04670335724949837,
-0.053455650806427,
0.05011969804763794,
0.016880732029676437,
-0.06663870066404343,
-0.004511576611548662,
0.028355611488223076,
-0.030445605516433716,
0.009676276706159115,
-0.05526430159807205,
-0.005385757423937321,
-0.01433857437223196,
-0.05389776453375816,
-0.02268850803375244,
-0.03454521298408508,
0.007877674885094166,
-0.012951943092048168,
-0.016137175261974335,
0.010309304110705853,
0.008530798368155956,
-0.02823503315448761,
0.008174092508852482,
-0.006812581326812506,
0.01328352838754654,
0.05799737200140953,
-0.033841848373413086,
-0.027350805699825287,
-0.053616419434547424,
0.09123633801937103,
-0.07122061401605606,
0.037519436329603195,
-0.01458977535367012,
-0.09075403213500977,
0.025180425494909286,
0.0017835297621786594,
-0.04959720000624657,
0.0758427157998085,
-0.014318478293716908,
-0.07825425267219543,
0.023934466764330864,
-0.011203581467270851,
0.014328526332974434,
-0.03165137395262718,
-0.019191784784197807,
0.017312798649072647,
0.010168631561100483,
-0.025622539222240448,
0.033761464059352875,
-0.05156661570072174,
-0.008143948391079903,
0.005169724114239216,
-0.0032932499889284372,
-0.010379640385508537,
0.07230580598115921,
0.04009173810482025,
-0.018106594681739807,
-0.025522058829665184,
0.0038835732266306877,
0.01797596924006939,
-0.051526423543691635,
-0.005782655440270901,
0.06153428927063942,
0.03645434230566025,
-0.001347695360891521,
0.0036926602479070425,
0.07101964950561523,
0.0025660220999270678,
-0.031952813267707825,
0.05815814062952995,
-0.003820772748440504,
-0.029862819239497185,
0.029219742864370346,
-0.003567059524357319,
0.023572737351059914,
-0.06949234753847122,
0.00928440224379301,
-0.05783660337328911,
-0.007480776868760586,
-0.025019656866788864,
-0.04923546686768532,
-0.08146962523460388,
0.005822847597301006,
0.04469374939799309,
-0.005511357914656401,
0.04324682801961899,
-0.009374835528433323,
-0.004288007505238056,
0.011304061859846115,
-0.0027154868002980947,
0.0346858836710453,
0.01987505331635475,
-0.024577541276812553,
-0.012258626520633698,
0.04959720000624657,
-0.03488684818148613,
0.03832327947020531,
0.12371165305376053,
-0.02628571167588234,
-0.06973350048065186,
0.010490168817341328,
0.02606465481221676,
-0.000868528732098639,
0.0549025721848011,
0.0018186978995800018,
0.013695498928427696,
0.01587592624127865,
0.031611181795597076,
0.017363037914037704,
-0.01761423982679844,
0.003999125678092241,
-0.005451069679111242,
-0.054058533161878586,
-0.013484489172697067,
-0.03046570159494877,
-0.023854082450270653,
0.05353603512048721,
0.0678444653749466,
-0.039971161633729935,
-0.016519002616405487,
-0.003320882096886635,
-0.0563494898378849,
-0.0021226515527814627,
-0.015323283150792122,
-0.010439928621053696,
0.03858453035354614,
-0.007696810178458691,
0.047266051173210144,
-0.016840539872646332,
0.029501089826226234,
-0.020166445523500443,
0.028858013451099396,
0.033480118960142136,
0.04425163194537163,
-0.031892526894807816,
-0.01123372558504343,
0.00048199263983406126,
0.030144164338707924,
-0.04642201215028763,
0.02116120420396328,
0.040634334087371826,
-0.007219527382403612,
-0.007862603291869164,
0.054862380027770996,
0.018257316201925278,
-0.024577541276812553,
-0.029360415413975716,
-0.028636956587433815,
-0.007435560692101717,
0.017141981050372124,
0.009440147317945957,
0.05502314865589142,
-0.034404538571834564,
0.04658278077840805
]
|
40,779 | pyglove.core.typing.class_schema | __eq__ | Operator==. | def __eq__(self, other: Any) -> bool:
"""Operator==."""
if self is other:
return True
return (isinstance(other, self.__class__) and self.key == other.key and
self.value == other.value and
self.description == other.description and
self.metadata == other.metadata)
| (self, other: Any) -> bool | [
0.058605168014764786,
-0.05659438297152519,
-0.022575601935386658,
0.02219172567129135,
-0.015026028268039227,
-0.06668485701084137,
-0.0273100808262825,
0.0021010390482842922,
0.05352337285876274,
-0.013426542282104492,
-0.009715734981000423,
-0.029339144006371498,
0.08481846004724503,
0.05787397176027298,
0.0008968546753749251,
-0.008276197127997875,
-0.02818751335144043,
0.05045235902070999,
0.02539069764316082,
-0.0008048841846175492,
-0.009871113114058971,
0.01669863425195217,
0.0004658502875827253,
0.04237267002463341,
0.023288516327738762,
0.0505254790186882,
0.015364205464720726,
0.00873776338994503,
0.0024792032781988382,
0.07736027985811234,
-0.060725629329681396,
-0.06913435459136963,
0.047673821449279785,
0.03138648346066475,
0.01562926359474659,
-0.017959943041205406,
-0.030746690928936005,
0.06386975944042206,
-0.05772773548960686,
-0.01870027557015419,
-0.020382020622491837,
0.007110857870429754,
-0.037089794874191284,
-0.029174624010920525,
0.014112036675214767,
-0.008810882456600666,
-0.026907924562692642,
0.011388340033590794,
0.03370802477002144,
0.0036491130013018847,
-0.010940483771264553,
-0.016643794253468513,
-0.01610453985631466,
0.07502046227455139,
-0.035042453557252884,
0.02401970885694027,
0.011461460031569004,
0.036760758608579636,
-0.04339633882045746,
0.049099650233983994,
-0.03761991113424301,
0.004478560760617256,
-0.010766825638711452,
-0.01937662996351719,
-0.04142211750149727,
-0.04866093397140503,
-0.06949995458126068,
-0.000582669919822365,
-0.002454068511724472,
0.021679889410734177,
-0.026030492037534714,
-0.02096697688102722,
0.00027419760590419173,
0.0337994247674942,
-0.06061594933271408,
0.002881359774619341,
-0.04416409507393837,
0.06295576691627502,
0.02061965875327587,
-0.06174929812550545,
-0.009505516849458218,
-0.042080190032720566,
-0.040983401238918304,
-0.036541398614645004,
-0.07882267236709595,
0.04551680013537407,
-0.03908229619264603,
0.029430542141199112,
0.026432648301124573,
0.012576529756188393,
0.002193580847233534,
0.03365318477153778,
0.0071199978701770306,
0.0020187797490507364,
0.058312688022851944,
0.021113215014338493,
-0.006557892542332411,
-0.055790070444345474,
-0.015409905463457108,
0.013746439479291439,
0.027255240827798843,
0.005237174220383167,
0.05275561660528183,
0.018161021173000336,
-0.011388340033590794,
-0.001582348602823913,
-0.022411083802580833,
-0.012165233492851257,
-0.020089544355869293,
-0.011324360966682434,
-0.06017723307013512,
0.04021564871072769,
-0.038058627396821976,
0.03365318477153778,
0.0194497499614954,
-0.013819558545947075,
0.0004604234709404409,
-0.015501304529607296,
-0.025226179510354996,
-0.02626813016831875,
0.02246592380106449,
0.0750935822725296,
0.04116620123386383,
0.042080190032720566,
0.07198601216077805,
-0.0007917455513961613,
0.04123931750655174,
-0.007298226002603769,
-0.07264408469200134,
-0.004076404497027397,
0.013042666018009186,
-0.01992502622306347,
0.0040558394975960255,
0.07677532732486725,
0.07154729217290878,
0.01732928864657879,
0.02654232829809189,
0.034640297293663025,
0.013243744149804115,
0.019833626225590706,
0.03195315971970558,
0.018883075565099716,
0.03544460982084274,
-0.0031555574387311935,
-0.04493184760212898,
-0.05125667154788971,
-0.09337342530488968,
0.0066173020750284195,
0.01782284304499626,
-0.0351521335542202,
-0.0018691136501729488,
-0.006466493476182222,
0.011488879099488258,
0.024129388853907585,
-0.03970381245017052,
-0.01835295930504799,
0.005479381885379553,
-0.03352522477507591,
-0.007714092265814543,
0.03407362103462219,
0.004430576227605343,
-0.025975652039051056,
0.04697918891906738,
-0.02246592380106449,
-0.021789569407701492,
0.020583100616931915,
-0.012549109756946564,
-0.032318755984306335,
0.0337994247674942,
-0.0026985614094883204,
-0.002497483044862747,
-0.03111228719353676,
-0.00031047165975905955,
-0.008797173388302326,
-0.03670591861009598,
0.04785662144422531,
0.001377842971123755,
0.015885181725025177,
-0.00537427281960845,
-0.036139242351055145,
-0.0005335428286343813,
-0.05849548801779747,
-0.04906309023499489,
0.007814631797373295,
0.05432768538594246,
-0.010273270308971405,
0.024111108854413033,
-0.018380379304289818,
0.031770363450050354,
0.038460783660411835,
-0.04069092497229576,
-0.027401480823755264,
-0.028498269617557526,
0.005223464220762253,
0.006219715345650911,
-0.05977507680654526,
0.022082047536969185,
-0.03270263224840164,
0.025683175772428513,
0.1234985962510109,
-0.057837411761283875,
-0.05622878670692444,
0.015620123594999313,
0.011488879099488258,
0.013307723216712475,
-0.03698011487722397,
0.028498269617557526,
-0.01685401238501072,
0.06423535943031311,
-0.021058375015854836,
-0.04606519639492035,
-0.04076404124498367,
0.01985190622508526,
0.005004106089472771,
0.05385240912437439,
0.02504338137805462,
-0.027054162696003914,
-0.05107387155294418,
-0.02928430400788784,
0.03387254476547241,
0.11435867846012115,
-0.041056521236896515,
0.012942126952111721,
0.02716384269297123,
0.01615023799240589,
0.007677532732486725,
-0.004926417022943497,
0.010538327507674694,
-0.020491700619459152,
-0.04259202629327774,
0.05235346034169197,
0.03454889729619026,
0.030125176534056664,
0.0015115143032744527,
0.031148847192525864,
0.018270699307322502,
0.013042666018009186,
0.0004724196041934192,
-0.07341183722019196,
-0.006690421607345343,
0.0020473420154303312,
-0.019157271832227707,
0.02551865577697754,
0.013289443217217922,
-0.025207899510860443,
-0.0757516548037529,
-0.0004884144873358309,
0.049172770231962204,
0.009327288717031479,
-0.03111228719353676,
0.01910243183374405,
-0.037510231137275696,
-0.0014920919202268124,
-0.018883075565099716,
0.010209290310740471,
-0.03992316871881485,
-0.041531797498464584,
-0.02436702698469162,
0.08313671499490738,
-0.014377093873918056,
-0.009916813112795353,
0.059555716812610626,
0.002030204748734832,
0.0416414737701416,
-0.026231570169329643,
-0.00664015207439661,
0.0032172517385333776,
0.06149338185787201,
0.006301974877715111,
-0.048368457704782486,
0.07604413479566574,
-0.006576172541826963,
0.0005666750366799533,
0.054985757917165756,
-0.037437111139297485,
0.007060588337481022,
0.03253811597824097,
-0.04964804649353027,
-0.08087000995874405,
-0.04390817508101463,
-0.001301296055316925,
0.009404977783560753,
0.016607234254479408,
-0.07066985964775085,
-0.018014783039689064,
-0.019266951829195023,
-0.023946590721607208,
-0.028717627748847008,
0.01224749255925417,
-0.053962089121341705,
0.01450505293905735,
-0.008527545258402824,
0.02266700193285942,
0.006397943943738937,
-0.0029179195407778025,
0.05407176539301872,
-0.02034546248614788,
-0.03478653356432915,
0.02054654061794281,
0.032995112240314484,
0.027620838955044746,
0.019285231828689575,
0.04489528760313988,
-0.019029313698410988,
0.03281231224536896,
0.02996065840125084,
0.024275626987218857,
0.052792176604270935,
0.020528260618448257,
0.03663279861211777,
0.02778535708785057,
0.04131243750452995,
0.03144132345914841,
0.07860331237316132,
0.004467135760933161,
-0.011836196295917034,
-0.004218073096126318,
-0.01722874864935875,
0.00435745669528842,
0.0737043172121048,
-0.03985005244612694,
0.0014806670369580388,
-0.05377928912639618,
-0.01590345986187458,
-0.0020279197487980127,
-0.10463380068540573,
-0.002247277880087495,
0.02381863072514534,
0.04361569881439209,
0.03816830739378929,
0.01122382190078497,
-0.03540804982185364,
0.07088921964168549,
0.04069092497229576,
-0.02060137875378132,
-0.035060733556747437,
-0.017082510516047478,
0.020930416882038116,
0.03645000234246254,
-0.015117427334189415,
0.022063767537474632,
-0.03133164718747139,
0.05816645175218582,
-0.0484415739774704,
0.014239995740354061,
-0.007417045067995787,
-0.03120368719100952,
0.004994966089725494,
0.014696991071105003,
-0.0464307926595211,
-0.048843733966350555,
-0.006649291608482599,
0.048075977712869644,
-0.03337898850440979,
0.035316649824380875,
0.01555614359676838,
0.005109215155243874,
0.004867007490247488,
-0.03617580235004425,
-0.010355529375374317,
0.1419977992773056,
-0.02518961951136589,
0.008472706191241741,
-0.01467871107161045,
-0.031148847192525864,
0.028205793350934982,
-0.0003336070803925395,
-0.026432648301124573,
-0.04328666254878044,
-0.035243529826402664,
-0.040837161242961884,
-0.008020279929041862,
-0.015007748268544674,
-0.027931595221161842,
0.00489442702382803,
-0.029302584007382393,
-0.09044864773750305,
0.055936310440301895,
-0.0327574722468853,
0.009350137785077095,
0.0750935822725296,
0.02469606325030327,
-0.0201261043548584,
0.04679638892412186,
-0.02409282885491848,
0.005959227681159973,
0.010209290310740471,
-0.015345925465226173,
0.02626813016831875,
0.05933636054396629,
-0.060579389333724976,
-0.026670286431908607,
-0.021954087540507317,
0.01187275629490614,
-0.052865296602249146,
-0.015857761725783348,
-0.02701760269701481,
-0.005132065154612064,
-0.08562277257442474,
-0.020583100616931915,
0.02743803896009922,
0.00616030627861619,
0.016067979857325554,
-0.0069417692720890045,
0.02396487072110176,
0.012594809755682945,
0.013810419477522373,
0.013572781346738338,
-0.03612096235156059,
0.020637938752770424,
-0.028772467747330666,
-0.07205913215875626,
0.013435682281851768,
-0.015812061727046967,
-0.024184228852391243,
-0.023946590721607208,
0.042080190032720566,
-0.022082047536969185,
0.05670406296849251,
0.03195315971970558,
-0.007709522265940905,
0.027547718957066536,
-0.0470888689160347,
-0.013399122282862663,
-0.016844872385263443,
-0.044200651347637177,
0.00670413114130497,
0.052390020340681076,
0.02599393203854561,
-0.036906998604536057,
-0.0177497249096632,
-0.053194332867860794,
0.033342428505420685,
0.01822500117123127,
0.03220907971262932,
0.032794032245874405,
-0.0006963476771488786,
-0.06661173701286316,
0.04123931750655174,
0.04156835749745369,
-0.040983401238918304,
-0.04763726145029068,
-0.019906746223568916,
-0.018956193700432777,
-0.05451048165559769,
-0.03908229619264603,
0.008810882456600666,
0.03919197618961334,
0.06343104690313339,
0.022575601935386658,
0.016808312386274338,
0.04961148649454117,
-0.05345025286078453,
-0.03952101245522499,
-0.004010139964520931,
-0.04975772276520729,
-0.022557321935892105,
-0.007202256936579943,
0.005200614687055349,
0.008321897126734257,
-0.03337898850440979,
-0.006854940205812454,
-0.053267452865839005,
-0.015053448267281055,
-0.019212111830711365,
0.021606771275401115,
-0.016689494252204895,
0.03740055114030838,
0.019011033698916435,
0.06873219460248947,
-0.008358457125723362,
-0.057325579226017,
-0.02334335632622242,
0.039009179919958115,
-0.028352031484246254,
0.002326109679415822,
0.025884253904223442,
0.015053448267281055,
-0.06675797700881958,
0.004803027957677841,
-0.029174624010920525,
-0.02661544643342495,
0.018106181174516678,
-0.04306730255484581,
0.03407362103462219,
-0.050415799021720886,
0.011105002835392952,
-0.01348138228058815,
-0.00006808526086388156,
0.00784205086529255,
0.008075118996202946,
-0.019815346226096153,
-0.06317512691020966,
0.03454889729619026,
0.036486562341451645,
-0.021113215014338493,
-0.011278660967946053,
0.04292106255888939,
-0.02880902774631977,
0.005447392351925373,
0.02177128940820694,
0.03582848608493805,
-0.015409905463457108,
0.012805027887225151,
0.037912387400865555,
-0.027200402691960335,
0.0009888251079246402,
-0.04683294892311096,
-0.029521942138671875,
0.03198971971869469,
0.012238352559506893,
-0.023087438195943832,
0.039411336183547974,
-0.04211675003170967,
0.047893181443214417,
0.03509729355573654,
-0.030253134667873383,
-0.04646735265851021,
-0.03478653356432915,
-0.012795887887477875,
0.03875325992703438,
0.007174837402999401,
0.012073834426701069,
-0.035865046083927155,
-0.06032347306609154,
0.004229498095810413,
-0.03738227114081383,
-0.019084153696894646,
0.014267414808273315,
-0.03612096235156059,
-0.038387663662433624,
-0.0365048386156559,
-0.04898997023701668,
0.01722874864935875,
-0.024677783250808716,
0.066209577023983,
-0.018042201176285744,
0.03396394103765488,
0.0358102060854435,
0.03985005244612694,
0.022027207538485527,
0.024586385115981102,
0.0013687029713764787,
-0.027675677090883255,
-0.01419429574161768,
0.0457361601293087,
0.0011916171060875058,
0.005707880016416311,
0.01870027557015419,
0.042957622557878494,
-0.0030047486070543528,
0.0020610520150512457,
0.06639237701892853,
-0.01642443612217903,
-0.0402522087097168,
0.0156841017305851,
0.014733551070094109,
-0.002131886314600706,
0.08335606753826141,
0.048222217708826065,
0.06237081438302994,
0.0023740942124277353,
0.024421866983175278,
-0.0019113857997581363,
0.0007734657265245914,
-0.05809333175420761,
-0.0002577743143774569,
0.0062928348779678345,
0.03864357993006706,
0.058312688022851944,
-0.009153629653155804,
0.015711521729826927,
-0.011680818162858486,
-0.03540804982185364,
0.0395941324532032,
-0.030600452795624733,
-0.04109308123588562,
0.060981545597314835,
-0.0669407770037651,
-0.06544182449579239,
-0.04632111266255379,
0.05030611902475357,
0.056082550436258316,
-0.028077833354473114,
0.019266951829195023,
-0.028790747746825218,
0.004110679030418396,
0.026249850168824196,
-0.002858510008081794,
-0.04456625133752823,
-0.0532308928668499,
0.03378114476799965,
-0.019742226228117943,
-0.03198971971869469,
0.052390020340681076,
-0.03985005244612694,
0.025098219513893127,
-0.031221967190504074,
-0.028681069612503052,
-0.012165233492851257,
0.019011033698916435,
-0.027529438957571983,
-0.019833626225590706,
-0.04471248760819435,
0.026176730170845985,
-0.009679174982011318,
-0.02341647446155548,
0.00958777591586113,
0.010419508442282677,
-0.005314863286912441,
0.061200905591249466,
0.040508124977350235,
0.039484452456235886,
-0.027968155220150948,
0.057435255497694016,
-0.010739405639469624,
-0.038131747394800186,
0.05973851680755615,
-0.05564383417367935,
0.015720661729574203,
0.01939490996301174,
0.0214970912784338,
-0.022374523803591728,
0.02963162027299404,
-0.09512829035520554,
-0.04346945881843567,
0.012795887887477875,
-0.0388994999229908,
0.0049995360895991325,
-0.0614202618598938,
0.010008212178945541,
-0.0327574722468853,
0.04456625133752823,
-0.01613195799291134,
-0.0028036704752594233,
-0.06503967195749283,
0.01655239425599575,
0.0038341963663697243,
0.016113677993416786,
0.07487422227859497,
-0.007485594600439072,
-0.0031121426727622747,
-0.05312121659517288,
0.08079688996076584,
-0.07352151721715927,
0.02491542138159275,
-0.015583563596010208,
-0.05513199791312218,
0.035462889820337296,
-0.02334335632622242,
-0.030326254665851593,
0.07432582974433899,
-0.009290728718042374,
0.00043985864613205194,
-0.013819558545947075,
-0.014962049201130867,
-0.005790139082819223,
0.0019433754496276379,
0.0006849227356724441,
-0.01286900695413351,
0.046247996389865875,
-0.014934629201889038,
-0.0009077083086594939,
-0.01957770809531212,
0.061529941856861115,
0.0019285230664536357,
-0.013673320412635803,
-0.03398222103714943,
0.03590160608291626,
0.0436888188123703,
0.0048898570239543915,
-0.005694170016795397,
-0.0014018352376297116,
-0.01464215200394392,
-0.013709880411624908,
-0.05619222670793533,
0.01655239425599575,
0.007896890863776207,
-0.014888929203152657,
-0.0375467911362648,
-0.017621764913201332,
0.007819201797246933,
-0.02763911709189415,
0.008952551521360874,
-0.02656060829758644,
0.03599300608038902,
-0.013527081348001957,
0.006982898805290461,
0.0033977653365582228,
-0.09037552773952484,
0.00983455404639244,
-0.08284423500299454,
0.01802392303943634,
0.014358813874423504,
-0.0044214362278580666,
-0.014422793872654438,
-0.05078139528632164,
0.00576728954911232,
-0.009395837783813477,
0.014066336676478386,
-0.015574423596262932,
-0.006274554878473282,
0.04442001134157181,
-0.03303167223930359,
0.03712635487318039,
0.01094962377101183,
-0.04222643002867699,
0.017621764913201332,
0.09059488773345947,
-0.02553693577647209,
-0.04994052276015282,
0.0709988996386528,
-0.009871113114058971,
-0.0968831479549408,
0.04686950892210007,
0.00983455404639244,
-0.01957770809531212,
0.006736121140420437,
-0.017795424908399582,
0.02826063334941864,
-0.030874649062752724,
-0.007860330864787102,
0.04606519639492035,
-0.004122104030102491,
0.002216430613771081,
0.04752758517861366,
0.03495105355978012,
-0.03882637992501259,
-0.0331047885119915,
0.013801279477775097,
0.02334335632622242,
0.0771409273147583,
0.011232961900532246,
0.022740120068192482,
-0.04109308123588562,
0.014934629201889038,
-0.03487793356180191,
-0.04580928012728691,
0.038131747394800186,
0.1112876683473587,
0.029156344011425972,
0.01617765799164772,
0.03460373729467392,
-0.024403586983680725,
-0.01702767051756382,
-0.03370802477002144,
0.013728159479796886,
0.03378114476799965,
-0.016223357990384102,
0.0003390338970348239,
0.021807849407196045,
0.026981044560670853,
0.0031715522054582834,
0.012238352559506893,
0.05282873660326004,
0.06365039944648743,
-0.014916349202394485,
0.011132422834634781,
0.06248049437999725,
-0.007110857870429754,
-0.047600701451301575,
0.015199687331914902,
-0.01490720920264721,
0.0044899857603013515,
-0.040727484971284866,
0.009953373111784458,
-0.01139748003333807,
0.06233425438404083
]
|
40,780 | pyglove.core.typing.class_schema | __init__ | Constructor.
Args:
key_spec: Key specification of the field. Can be a string or a KeySpec
instance.
value_spec: Value specification of the field.
description: Description of the field.
metadata: A dict of objects as metadata for the field.
Raises:
ValueError: metadata is not a dict.
| def __init__(
self,
key_spec: Union[KeySpec, str],
value_spec: ValueSpec,
description: Optional[str] = None,
metadata: Optional[Dict[str, Any]] = None):
"""Constructor.
Args:
key_spec: Key specification of the field. Can be a string or a KeySpec
instance.
value_spec: Value specification of the field.
description: Description of the field.
metadata: A dict of objects as metadata for the field.
Raises:
ValueError: metadata is not a dict.
"""
if isinstance(key_spec, str):
key_spec = KeySpec.from_str(key_spec)
assert isinstance(key_spec, KeySpec), key_spec
self._key = key_spec
self._value = value_spec
self._description = description
if metadata and not isinstance(metadata, dict):
raise ValueError('metadata must be a dict.')
self._metadata = metadata or {}
| (self, key_spec: Union[pyglove.core.typing.class_schema.KeySpec, str], value_spec: pyglove.core.typing.class_schema.ValueSpec, description: Optional[str] = None, metadata: Optional[Dict[str, Any]] = None) | [
0.05918005108833313,
-0.04103943333029747,
-0.03862316161394119,
0.03914358839392662,
-0.010743112303316593,
-0.0198505949229002,
0.012016301043331623,
-0.014386105351150036,
-0.015445547178387642,
-0.025092044845223427,
-0.005645710043609142,
0.07066663354635239,
0.008243201300501823,
0.011003325693309307,
0.026225833222270012,
0.033846378326416016,
-0.025947032496333122,
0.01054795179516077,
0.0046954648569226265,
-0.037730999290943146,
0.03538907691836357,
0.00930264312773943,
-0.008285021409392357,
0.04799085855484009,
0.03380920737981796,
0.02105873078107834,
-0.008916969411075115,
-0.021207423880696297,
0.012202167883515358,
-0.024162709712982178,
0.01517604012042284,
-0.010603711940348148,
0.02932981215417385,
0.03656003624200821,
-0.028474822640419006,
-0.04048183187842369,
-0.0174900833517313,
0.008391894400119781,
-0.10081426054239273,
0.028660690411925316,
0.0222482793033123,
0.027731355279684067,
-0.0698859915137291,
-0.04118812456727028,
0.05118776857852936,
0.04059335216879845,
0.02012939564883709,
-0.011681740172207355,
0.021802198141813278,
0.02419988252222538,
-0.010046111419796944,
0.029069596901535988,
-0.031857602298259735,
-0.02128177136182785,
-0.04237767308950424,
0.013335957191884518,
0.034218113869428635,
0.03267541900277138,
-0.016096081584692,
0.0548679381608963,
-0.07843586802482605,
0.060406774282455444,
-0.029590025544166565,
-0.003038925351575017,
-0.04408765211701393,
-0.015166746452450752,
0.012611075304448605,
-0.030686641111969948,
-0.0071744658052921295,
-0.023865321651101112,
0.01817779242992401,
-0.02767559513449669,
0.007564786821603775,
0.013447476550936699,
0.013103622943162918,
-0.0020178186241537333,
-0.07535047829151154,
0.018159205093979836,
0.06181936338543892,
-0.04271223396062851,
-0.0015450193313881755,
0.030575120821595192,
-0.04494263976812363,
-0.04312114417552948,
0.016532868146896362,
0.03295421972870827,
-0.01718340441584587,
-0.009130716323852539,
0.10297031700611115,
0.06590843945741653,
-0.03596526384353638,
-0.026225833222270012,
-0.037415023893117905,
0.03193194791674614,
0.024255642667412758,
-0.01652357541024685,
0.02854917012155056,
-0.043381355702877045,
-0.018661046400666237,
0.030389253050088882,
0.05178254470229149,
-0.02832612954080105,
-0.030017519369721413,
0.02215534634888172,
0.00701183220371604,
-0.04379026219248772,
-0.021207423880696297,
0.002034081844612956,
-0.030296320095658302,
-0.01020409818738699,
0.02901383675634861,
0.003712693229317665,
-0.05144798383116722,
0.0633062943816185,
-0.05237731710076332,
0.04505416005849838,
0.03888337314128876,
-0.039626844227313995,
0.02804732881486416,
-0.0500725694000721,
0.02498052455484867,
-0.03572363778948784,
-0.06271152198314667,
0.04520285129547119,
-0.0032526724971830845,
0.011003325693309307,
0.026448873803019524,
-0.03689459711313248,
-0.0008439522935077548,
0.029348397627472878,
0.034441154450178146,
0.013066449202597141,
0.039775535464286804,
0.036950357258319855,
0.052637532353401184,
0.004456161055713892,
0.032322268933057785,
-0.007982986979186535,
-0.00955356378108263,
0.03377203270792961,
-0.004553741309791803,
0.008391894400119781,
0.029552852734923363,
-0.03265682980418205,
-0.015185333788394928,
-0.055462710559368134,
-0.008089860901236534,
-0.055871617048978806,
-0.021876545622944832,
0.005548129789531231,
-0.04724739119410515,
-0.010362084954977036,
0.006853845436125994,
0.03512886166572571,
0.0586596243083477,
-0.011272832751274109,
0.02715516835451126,
-0.07133575528860092,
0.04241484776139259,
0.0359838493168354,
0.03955249488353729,
-0.04940344765782356,
0.004182007163763046,
-0.019125713035464287,
-0.014590558595955372,
0.026857780292630196,
-0.009311936795711517,
-0.08653967082500458,
0.007035065907984972,
-0.0014369841665029526,
-0.010101870633661747,
-0.042600713670253754,
-0.02137470431625843,
0.042600713670253754,
-0.006709798239171505,
0.013466063886880875,
0.0292926374822855,
-0.012499555014073849,
-0.0354076623916626,
-0.054756417870521545,
0.01742503046989441,
0.027731355279684067,
0.0012336921645328403,
0.00656110467389226,
0.012127821333706379,
0.02262001298367977,
-0.005789756774902344,
0.030463600531220436,
0.037507958710193634,
0.0212445966899395,
0.05137363821268082,
-0.029497092589735985,
-0.031541626900434494,
0.05092755705118179,
0.0010031008860096335,
-0.02152339741587639,
0.0774693638086319,
0.0017355330055579543,
0.020556889474391937,
0.09739430248737335,
-0.014144478365778923,
0.005273975897580385,
0.006142904050648212,
0.011384353041648865,
-0.036021023988723755,
0.013112916611135006,
0.04713587090373039,
-0.016978949308395386,
-0.04182007163763046,
-0.07836152613162994,
-0.02262001298367977,
-0.06668907403945923,
-0.006472818087786436,
0.0032573190983384848,
0.01779676415026188,
-0.059105705469846725,
0.006082497537136078,
-0.02960861288011074,
-0.027749942615628242,
-0.016133254393935204,
0.12185440212488174,
0.036021023988723755,
0.04553741216659546,
-0.03178325667977333,
0.05297209322452545,
0.017564430832862854,
-0.03256389871239662,
-0.051113422960042953,
-0.010752405971288681,
-0.010715232230722904,
-0.0529349185526371,
0.02947850525379181,
-0.012453088536858559,
0.005650356411933899,
-0.005915217101573944,
-0.006068557500839233,
0.018568113446235657,
-0.03460843488574028,
-0.00363137642852962,
-0.0586596243083477,
0.04676413536071777,
-0.006454231217503548,
-0.016532868146896362,
0.008489474654197693,
-0.04996104910969734,
-0.05423598736524582,
-0.035054516047239304,
0.051150597631931305,
0.022731533274054527,
0.0010849985992535949,
0.0029064950067549944,
0.01365193072706461,
0.023902494460344315,
0.024645963683724403,
0.0071279993280768394,
0.019181473180651665,
-0.008517354726791382,
-0.02299174666404724,
0.08036889135837555,
-0.004172713961452246,
-0.043938957154750824,
-0.016951069235801697,
-0.018568113446235657,
0.05483076348900795,
0.03758230432868004,
-0.050407130271196365,
0.01920006051659584,
0.021486224606633186,
0.0040635173209011555,
0.009534976445138454,
0.12222613394260406,
-0.0036708731204271317,
0.02559388428926468,
-0.026541806757450104,
-0.04007292538881302,
-0.04304679483175278,
0.02867927774786949,
-0.05970047786831856,
0.02438575029373169,
-0.00001030073417496169,
0.006635451689362526,
-0.04174572601914406,
0.02068699710071087,
0.021616332232952118,
0.1001451388001442,
0.006440291181206703,
-0.026541806757450104,
0.034775715321302414,
-0.031076962128281593,
-0.008317547850310802,
-0.03851164132356644,
0.009335169568657875,
0.03432963415980339,
0.015696467831730843,
-0.0045653581619262695,
-0.024869004264473915,
-0.07873325794935226,
-0.043232664465904236,
0.004398077726364136,
-0.04880867153406143,
0.027861462906003,
0.006751618348062038,
0.0009130716207437217,
0.03973836451768875,
-0.04479394480586052,
0.03163456171751022,
0.028251782059669495,
0.015947388485074043,
-0.01052936539053917,
0.031244240701198578,
-0.004351610783487558,
0.100293830037117,
-0.029720131307840347,
0.029404157772660255,
0.025203565135598183,
0.04802802950143814,
-0.004400400910526514,
0.00023044603585731238,
-0.0003249768342357129,
0.019832007586956024,
0.034311048686504364,
-0.012155701406300068,
-0.04483111947774887,
-0.021318944171071053,
0.022285452112555504,
-0.04862280562520027,
-0.00010288028715876862,
-0.01367051713168621,
0.0035105629358440638,
0.00295528513379395,
-0.02988741174340248,
0.0032433790620416403,
0.043009623885154724,
0.039589669555425644,
-0.03544483706355095,
-0.02507345750927925,
-0.018475178629159927,
-0.041113778948783875,
-0.03576080873608589,
-0.005510956514626741,
0.02115166373550892,
-0.03596526384353638,
-0.010956859216094017,
-0.04880867153406143,
-0.016579335555434227,
-0.06033242493867874,
0.03892054781317711,
-0.11635273694992065,
0.0548679381608963,
-0.043232664465904236,
0.042080286890268326,
-0.0444965586066246,
0.016384175047278404,
-0.012555315159261227,
0.043418530374765396,
-0.016096081584692,
-0.022173931822180748,
-0.06497909873723984,
-0.03587232902646065,
-0.06018373370170593,
0.08572185784578323,
-0.027471141889691353,
0.022099586203694344,
-0.012322981841862202,
-0.058325063437223434,
0.015882333740592003,
-0.024181295186281204,
0.017359977588057518,
-0.016161134466528893,
0.049217578023672104,
0.020612649619579315,
-0.05895701050758362,
-0.022285452112555504,
0.021504811942577362,
0.04200594127178192,
-0.043753091245889664,
-0.007234872784465551,
0.03215498849749565,
-0.08527577668428421,
-0.015231800265610218,
-0.023623695597052574,
0.049626488238573074,
-0.04308396950364113,
0.03605819493532181,
-0.024738896638154984,
0.01247167494148016,
0.016412055119872093,
0.016179721802473068,
0.07178183645009995,
-0.005106695462018251,
-0.026411699131131172,
0.0008120064157992601,
0.014376811683177948,
-0.010389965027570724,
0.02053830213844776,
-0.015371200628578663,
0.01057583186775446,
-0.012583195231854916,
0.04445938393473625,
0.007504379842430353,
-0.0009368858300149441,
-0.08587054908275604,
-0.009088896214962006,
0.05063016712665558,
0.07308290153741837,
-0.00656110467389226,
0.03678307682275772,
-0.006417057942599058,
-0.011700327508151531,
0.04936627298593521,
0.04457090422511101,
-0.07509026676416397,
-0.010910392738878727,
-0.0406305231153965,
-0.03418093919754028,
-0.02068699710071087,
-0.028437649831175804,
-0.06085285544395447,
-0.013029276393353939,
-0.015622120350599289,
-0.014144478365778923,
0.017657363787293434,
-0.039775535464286804,
-0.0006365944282151759,
0.013809917494654655,
0.01690460368990898,
0.04386461153626442,
-0.030742401257157326,
0.033158671110868454,
-0.006853845436125994,
-0.015371200628578663,
0.04576045274734497,
-0.016439935192465782,
0.011709620244801044,
-0.00664939172565937,
0.011272832751274109,
-0.011765380389988422,
-0.04241484776139259,
0.025891272351145744,
-0.021672090515494347,
-0.04077921807765961,
-0.019144300371408463,
0.04178290069103241,
0.0019179150694981217,
-0.0020468602888286114,
-0.025705404579639435,
0.00120000378228724,
0.05847375467419624,
0.062488481402397156,
0.02419988252222538,
0.05535119026899338,
0.018345072865486145,
0.02516639046370983,
0.021318944171071053,
-0.017787471413612366,
-0.04739608243107796,
-0.03512886166572571,
-0.018149912357330322,
0.01390285138040781,
-0.016114668920636177,
0.0038962368853390217,
0.02748972922563553,
-0.037080466747283936,
-0.04405047744512558,
-0.0273967944085598,
0.08103800565004349,
0.020612649619579315,
0.039812710136175156,
-0.025705404579639435,
-0.00987883098423481,
-0.04178290069103241,
0.03445973992347717,
0.03406941890716553,
0.07851021736860275,
-0.023902494460344315,
-0.05602031201124191,
0.042823754251003265,
-0.006031383760273457,
-0.08668836206197739,
-0.07977411150932312,
0.027545487508177757,
-0.007518319878727198,
-0.02156057208776474,
0.04839976504445076,
0.03752654418349266,
0.0009217841434292495,
0.025798339396715164,
-0.02531508356332779,
-0.022266866639256477,
0.030091866850852966,
-0.04118812456727028,
0.020556889474391937,
0.0345526747405529,
0.02568681910634041,
0.04326983541250229,
-0.008624228648841381,
0.008275727741420269,
0.03929228335618973,
-0.01836365833878517,
-0.0006331094191409647,
-0.012555315159261227,
-0.0031132721342146397,
0.00955356378108263,
-0.029404157772660255,
0.012081354856491089,
-0.03587232902646065,
-0.05163384974002838,
-0.009172536432743073,
0.03187618777155876,
-0.04230332747101784,
0.0031341821886599064,
-0.029441332444548607,
0.022359799593687057,
-0.0036964297760277987,
-0.024553030729293823,
0.010157630778849125,
-0.05694964528083801,
-0.01270400919020176,
-0.05092755705118179,
0.004772135056555271,
-0.010557245463132858,
0.03353040665388107,
0.022452732548117638,
-0.0690310001373291,
0.018753979355096817,
0.00639847107231617,
-0.02799156866967678,
-0.03215498849749565,
0.02115166373550892,
-0.012202167883515358,
-0.03163456171751022,
-0.030705226585268974,
0.006421704776585102,
0.05081603676080704,
-0.012992102652788162,
0.04557458683848381,
-0.0016228512395173311,
0.037322092801332474,
-0.024144122377038002,
-0.04423634335398674,
0.03888337314128876,
0.08252494782209396,
0.023660868406295776,
0.002346570836380124,
0.049998220056295395,
0.009572150185704231,
0.030482186004519463,
0.027564074844121933,
-0.021300356835126877,
-0.03314008563756943,
-0.016142548993229866,
0.021207423880696297,
0.0008346589747816324,
-0.05613183230161667,
-0.02248990535736084,
0.015826573595404625,
0.02252708002924919,
-0.024311402812600136,
0.035649288445711136,
0.006310184486210346,
0.03196912258863449,
0.010148338042199612,
-0.003396719228476286,
0.05706116557121277,
0.02100297063589096,
-0.007369626313447952,
0.013893557712435722,
-0.04118812456727028,
-0.011356472969055176,
0.020947210490703583,
-0.02535225823521614,
0.03237802907824516,
0.03947814926505089,
0.06851057708263397,
-0.02479465678334236,
-0.010343498550355434,
-0.004813955165445805,
0.050369955599308014,
-0.044533733278512955,
-0.10148337483406067,
-0.03198770806193352,
0.009088896214962006,
0.02827036939561367,
-0.04304679483175278,
-0.03511027619242668,
0.008159561082720757,
-0.008456948213279247,
0.012834115885198116,
-0.035184621810913086,
-0.0038358301389962435,
0.00668656500056386,
-0.06129893288016319,
-0.0727483406662941,
0.02239697240293026,
-0.026783432811498642,
-0.018224257975816727,
-0.020668409764766693,
-0.03202488273382187,
0.02572399191558361,
-0.010743112303316593,
-0.06356651335954666,
-0.007016479037702084,
-0.026448873803019524,
0.037322092801332474,
0.02432999014854431,
0.010817458853125572,
0.0029366984963417053,
0.02280588075518608,
0.02665332704782486,
-0.05081603676080704,
0.03615112975239754,
0.014469745568931103,
-0.039403803646564484,
0.026894953101873398,
0.06561104953289032,
-0.020240915939211845,
-0.01892125979065895,
0.018716806545853615,
0.008670695126056671,
-0.03836294636130333,
0.00907030887901783,
0.027229513972997665,
-0.01267612911760807,
0.031114134937524796,
-0.07051793485879898,
-0.021114490926265717,
0.002899524988606572,
-0.03951532393693924,
-0.027080820873379707,
-0.07430962473154068,
0.02693212777376175,
-0.0013208172749727964,
-0.007611253298819065,
0.047916509211063385,
0.01175608765333891,
-0.03059370629489422,
0.05694964528083801,
0.004681524820625782,
0.04438503831624985,
0.06553670018911362,
-0.04516568034887314,
-0.0023883909452706575,
-0.03973836451768875,
0.07925368845462799,
-0.06680059432983398,
-0.0019341784063726664,
-0.02267577312886715,
-0.08832399547100067,
0.032638244330883026,
0.02512921765446663,
-0.0177410040050745,
0.06297174096107483,
0.016319122165441513,
-0.03918076306581497,
0.006305537652224302,
-0.02466454915702343,
0.027564074844121933,
-0.038660336285829544,
-0.010715232230722904,
-0.001088483608327806,
-0.027787115424871445,
-0.01627265475690365,
0.0625256597995758,
-0.0378425195813179,
0.007076885551214218,
-0.009265469387173653,
-0.009200416505336761,
-0.02960861288011074,
0.014358225278556347,
0.07029489427804947,
0.0586596243083477,
-0.06605713069438934,
0.008243201300501823,
0.05683812499046326,
-0.03202488273382187,
-0.028790798038244247,
0.03501734137535095,
0.021040143445134163,
0.018242845311760902,
0.04936627298593521,
0.047581952065229416,
0.006249777507036924,
-0.014190944842994213,
0.003958967048674822,
-0.018995607271790504,
0.015984561294317245,
0.011021913029253483,
0.017257750034332275,
0.014915825799107552,
-0.07657720148563385,
0.03133717551827431,
-0.05527684465050697,
-0.0292926374822855,
-0.014860065653920174,
-0.09932731837034225,
-0.04014727100729942,
0.01742503046989441,
-0.024441510438919067,
0.0633062943816185,
0.009200416505336761,
-0.023809561505913734,
0.03122565522789955,
-0.01624477468430996,
0.00785752758383751,
0.0037173398304730654,
-0.027415381744503975,
-0.015492013655602932,
-0.008145621046423912,
0.06553670018911362,
-0.04880867153406143,
0.05631769821047783,
0.07092684507369995,
-0.014032958075404167,
-0.08274798840284348,
0.033976487815380096,
0.03501734137535095,
0.03821425512433052,
0.023679455742239952,
0.02401401475071907,
-0.014460451900959015,
0.06222826987504959,
-0.02286164090037346,
0.008731101639568806,
-0.01670944318175316,
-0.006105730775743723,
-0.04219180718064308,
-0.04364157095551491,
0.011765380389988422,
0.0024859709665179253,
0.0013428890379145741,
0.024181295186281204,
0.03817708045244217,
-0.015092399902641773,
-0.04445938393473625,
-0.031857602298259735,
-0.06728385388851166,
-0.008298961445689201,
-0.02767559513449669,
0.07642851024866104,
0.09508955478668213,
-0.011086965911090374,
0.046206533908843994,
0.015185333788394928,
0.01798263192176819,
-0.03758230432868004,
0.03501734137535095,
0.037043292075395584,
-0.005599243100732565,
0.008712515234947205,
-0.015622120350599289,
-0.02581692487001419,
0.01480430644005537,
-0.05847375467419624,
0.036169715225696564,
0.03044501319527626,
-0.06356651335954666,
-0.00175295805092901,
0.03566787764430046,
0.002035243669524789,
0.020928623154759407,
-0.017964044585824013,
-0.025203565135598183,
0.025240737944841385,
-0.028010156005620956,
-0.064384326338768,
0.03799121454358101,
-0.002813561586663127,
0.037786759436130524
]
|
40,781 | pyglove.core.typing.class_schema | __ne__ | Operator!=. | def __ne__(self, other: Any) -> bool:
"""Operator!=."""
return not self.__eq__(other)
| (self, other: Any) -> bool | [
0.01325608603656292,
0.006680855993181467,
0.026776237413287163,
0.02325536496937275,
-0.10280948132276535,
-0.07731836289167404,
-0.07724794745445251,
0.013326503336429596,
0.03300818055868149,
-0.007341019809246063,
0.00041150199831463397,
-0.045560091733932495,
0.04080691561102867,
0.014268336817622185,
-0.0342404879629612,
-0.0078031341545283794,
-0.03710999712347984,
0.06728387624025345,
0.014004271477460861,
-0.050841402262449265,
-0.0458417646586895,
0.02616008371114731,
0.0066016362980008125,
0.07295248657464981,
0.008846192620694637,
0.056791678071022034,
-0.012780767865478992,
0.010633035562932491,
-0.030261902138590813,
0.057249389588832855,
-0.03395881876349449,
-0.02137169800698757,
0.04577134549617767,
-0.020702732726931572,
0.052883509546518326,
0.002083916449919343,
-0.015025324188172817,
0.08562762290239334,
-0.08928932994604111,
-0.04144067317247391,
-0.015174961648881435,
-0.02346661686897278,
0.0007652397034689784,
-0.0009836438111960888,
-0.01465563289821148,
-0.04334194213151932,
0.012560713104903698,
-0.013150460086762905,
-0.01107314508408308,
0.045454468578100204,
0.0065180156379938126,
0.017560353502631187,
0.01726107858121395,
0.08654305338859558,
-0.0568268857896328,
0.04992597550153732,
0.007297008763998747,
0.014109897427260876,
-0.05122869834303856,
0.05059494078159332,
-0.08288134634494781,
0.020808357745409012,
0.006346373353153467,
-0.08288134634494781,
-0.001769238617271185,
-0.026476962491869926,
-0.06415030360221863,
-0.014567610807716846,
-0.006474004592746496,
0.03608894720673561,
-0.0820363387465477,
-0.004357079975306988,
0.012895196676254272,
0.04010273888707161,
-0.00884179212152958,
-0.03693395480513573,
0.007424640469253063,
0.10548534989356995,
0.013784216716885567,
-0.035437583923339844,
0.002158735180273652,
-0.04260256141424179,
-0.0057654292322695255,
0.010571420192718506,
-0.047919079661369324,
0.020139392465353012,
0.00037546808016486466,
-0.0014721648767590523,
0.017085034400224686,
-0.005527770146727562,
-0.03721562400460243,
-0.005413341801613569,
-0.0038201468996703625,
-0.06003088131546974,
0.05506645143032074,
0.07837462425231934,
-0.005386935546994209,
-0.022991299629211426,
0.0068524987436831,
-0.024786943569779396,
0.056122712790966034,
0.034434136003255844,
0.03608894720673561,
-0.019752096384763718,
0.000732231477741152,
-0.011627682484686375,
-0.005717017222195864,
-0.04203921929001808,
-0.03378277271986008,
0.016336848959326744,
-0.05379893630743027,
0.06946682184934616,
-0.045912180095911026,
0.016275234520435333,
0.013793018646538258,
-0.00786034855991602,
-0.016961803659796715,
-0.011257990263402462,
0.0325680747628212,
-0.005774231161922216,
0.010069696232676506,
0.07157934457063675,
-0.028589487075805664,
0.017947649583220482,
0.07605085521936417,
-0.019928140565752983,
0.043975699692964554,
0.026494568213820457,
-0.033536311239004135,
0.01156606711447239,
0.028959179297089577,
-0.008115611970424652,
-0.00795277114957571,
0.05436227470636368,
0.03293776512145996,
0.05531290918588638,
0.038835227489471436,
0.005206490401178598,
0.023114530369639397,
-0.019083131104707718,
-0.005153677426278591,
-0.01774519868195057,
0.0627419501543045,
0.06334049999713898,
0.002631852403283119,
0.031089305877685547,
-0.09358479827642441,
0.03526154160499573,
0.009312708862125874,
-0.0020971198100596666,
-0.024012351408600807,
0.024998197332024574,
0.019417613744735718,
0.01897750422358513,
-0.036793120205402374,
0.04513758793473244,
-0.003309620311483741,
-0.014594017527997494,
-0.02360745146870613,
0.019259173423051834,
0.01174211036413908,
0.008419287391006947,
0.07978297770023346,
-0.011882945895195007,
0.004845601040869951,
-0.025473514571785927,
0.012094197794795036,
-0.017173057422041893,
0.021530136466026306,
0.03079003281891346,
0.001110175158828497,
-0.02945210039615631,
-0.038377512246370316,
0.01567668654024601,
-0.016548102721571922,
0.03799021616578102,
0.011803725734353065,
0.047707825899124146,
-0.042215265333652496,
0.0204386655241251,
0.0345221571624279,
-0.04418695345520973,
-0.05675647035241127,
0.011618880555033684,
0.0836559385061264,
-0.004134824965149164,
-0.022639211267232895,
-0.03630019724369049,
-0.007530266419053078,
0.039609819650650024,
-0.03200473263859749,
-0.02494538389146328,
-0.01978730410337448,
0.018819065764546394,
0.04341236129403114,
-0.03799021616578102,
-0.0030917664989829063,
0.0065576257184147835,
0.03809584304690361,
0.036581866443157196,
-0.015879135578870773,
-0.010914705693721771,
0.00483679911121726,
-0.016046376898884773,
-0.00927749928086996,
-0.0577775202691555,
-0.03774375468492508,
-0.03496226668357849,
0.06774159520864487,
-0.020051369443535805,
0.014197919517755508,
-0.00276828627102077,
0.05249621346592903,
0.01791244000196457,
0.043975699692964554,
0.03381798416376114,
0.006698460318148136,
-0.014136304147541523,
-0.009911256842315197,
0.07689586281776428,
0.06277716159820557,
-0.043975699692964554,
0.01494610495865345,
-0.018572604283690453,
0.018361350521445274,
0.03675791248679161,
0.0010078498162329197,
0.004255854990333319,
-0.0006034995894879103,
-0.0635165423154831,
0.02616008371114731,
0.024681318551301956,
0.01602877303957939,
-0.021635763347148895,
0.029874606058001518,
0.009022236801683903,
-0.052883509546518326,
0.02156534604728222,
-0.05908024311065674,
0.0270755123347044,
-0.00500404043123126,
-0.030966075137257576,
0.01111715566366911,
0.009163071401417255,
0.03448694944381714,
-0.03710999712347984,
0.021406905725598335,
0.0847121998667717,
0.027779685333371162,
0.003586889011785388,
0.01624002493917942,
-0.059714000672101974,
-0.04520800709724426,
-0.004475909285247326,
0.019047921523451805,
0.011257990263402462,
-0.049820348620414734,
-0.010597826912999153,
0.0804167315363884,
0.018018066883087158,
-0.024329230189323425,
0.034434136003255844,
-0.02237514592707157,
0.027726873755455017,
0.0022687623277306557,
-0.01314165722578764,
-0.010043289512395859,
0.05055973306298256,
0.023079320788383484,
0.014638028107583523,
0.11069624125957489,
-0.050489313900470734,
0.02214629016816616,
0.03946898505091667,
-0.02077315002679825,
0.008793380111455917,
0.02709311619400978,
-0.023325782269239426,
-0.0548199899494648,
-0.02089637890458107,
0.022410355508327484,
0.013696194626390934,
-0.0051228697411715984,
-0.055348120629787445,
-0.04587697237730026,
0.010879497043788433,
-0.020843567326664925,
-0.06897389888763428,
-0.016988210380077362,
-0.033677149564027786,
0.07274123281240463,
-0.009585576131939888,
0.022744838148355484,
0.029047200456261635,
0.011020331643521786,
0.03413486108183861,
0.01611679419875145,
-0.044644664973020554,
0.0318991057574749,
0.03654665872454643,
0.0219174325466156,
0.003611095016822219,
-0.00042938144179061055,
-0.04056045413017273,
0.03527914360165596,
-0.012578317895531654,
-0.007671101484447718,
0.08210675418376923,
0.03718041628599167,
0.018290933221578598,
0.026212897151708603,
-0.014858082868158817,
0.0002406846615485847,
0.04267297685146332,
0.021424511447548866,
0.046123433858156204,
0.05143995210528374,
-0.024857360869646072,
0.006165928207337856,
0.07450167089700699,
-0.014770060777664185,
0.023079320788383484,
-0.05717897415161133,
-0.016653727740049362,
-0.07133287936449051,
-0.09133143723011017,
-0.03306099399924278,
0.040173158049583435,
-0.009796828031539917,
0.06348133832216263,
0.02786770835518837,
-0.0328497439622879,
0.06584031879901886,
0.003853155067190528,
0.011161166243255138,
-0.030948471277952194,
0.015139752998948097,
0.01791244000196457,
0.04809512197971344,
0.007706310134381056,
0.015421423129737377,
0.014285941608250141,
0.03911689668893814,
-0.04753178358078003,
-0.026934675872325897,
-0.008854994550347328,
-0.07421999424695969,
0.048940129578113556,
0.04394049197435379,
0.02248077280819416,
0.01841416396200657,
0.015148554928600788,
0.007297008763998747,
-0.02515663579106331,
0.01748993620276451,
0.004819194786250591,
-0.017569154500961304,
0.03665228560566902,
-0.02663540281355381,
-0.040490034967660904,
0.016336848959326744,
0.013168063946068287,
-0.0056818085722625256,
0.013115251436829567,
0.004968831781297922,
-0.013643382117152214,
-0.012657537125051022,
-0.03246244788169861,
-0.06886827200651169,
-0.03802542760968208,
-0.07017099112272263,
-0.04732052981853485,
-0.004832397680729628,
-0.048834506422281265,
-0.021178049966692924,
-0.038835227489471436,
-0.058833785355091095,
0.007349821738898754,
-0.009515158832073212,
0.0019639867823570967,
0.06510093808174133,
-0.00786034855991602,
-0.029821792617440224,
0.005734621547162533,
0.008040793240070343,
0.01809728518128395,
0.0003226549888495356,
0.0345749706029892,
0.02269202470779419,
0.04922180250287056,
-0.022199103608727455,
-0.0684809759259224,
-0.025561535730957985,
0.0001717800769256428,
-0.0697132796049118,
-0.010756266303360462,
-0.03774375468492508,
-0.02256879396736622,
-0.09900694340467453,
-0.02663540281355381,
0.03248004987835884,
0.07591001689434052,
-0.016266431659460068,
0.015747103840112686,
0.04742615669965744,
0.05224975198507309,
0.014347556047141552,
0.0023391798604279757,
-0.0020156996324658394,
0.009259895421564579,
-0.028941573575139046,
-0.03615936264395714,
-0.005153677426278591,
-0.013643382117152214,
0.018924690783023834,
-0.00304775545373559,
0.03869439288973808,
-0.0491865910589695,
0.07027661800384521,
-0.023096924647688866,
-0.012490295805037022,
-0.021618159487843513,
0.013502546586096287,
-0.031951919198036194,
0.0032810133416205645,
0.0039367759600281715,
0.033553916960954666,
-0.013722601346671581,
-0.023959539830684662,
0.04482071101665497,
-0.061298396438360214,
-0.053974978625774384,
0.020949192345142365,
-0.005505764856934547,
0.03149420768022537,
-0.012551911175251007,
-0.03193431720137596,
-0.08907808363437653,
0.019364800304174423,
0.06224903091788292,
-0.04506717249751091,
-0.0107914749532938,
-0.004924820736050606,
-0.04031399264931679,
-0.022727234289050102,
0.018713438883423805,
0.025209449231624603,
0.027797291055321693,
0.07745920121669769,
0.019716886803507805,
0.017296288162469864,
0.03788458928465843,
-0.03742687776684761,
-0.03929293900728226,
-0.004858804401010275,
-0.04629947617650032,
-0.0703822448849678,
-0.037356458604335785,
0.00418103625997901,
0.003377837361767888,
-0.038729600608348846,
0.024100374430418015,
-0.05256662890315056,
-0.03272651135921478,
-0.04503196105360985,
0.040842123329639435,
0.017947649583220482,
-0.006980130448937416,
0.014303545467555523,
0.047250110656023026,
-0.007649096194654703,
-0.06858660280704498,
-0.043201107531785965,
0.003395441686734557,
-0.04200401157140732,
0.03381798416376114,
-0.04548967629671097,
-0.012551911175251007,
-0.004192038904875517,
-0.027392389252781868,
-0.045665718615055084,
0.018466977402567863,
-0.016732947900891304,
-0.04348277673125267,
0.007706310134381056,
-0.06524176895618439,
-0.009788026101887226,
-0.014673236757516861,
0.032884951680898666,
-0.018695835024118423,
0.021424511447548866,
-0.044679876416921616,
-0.0581648163497448,
0.04284902289509773,
0.040630873292684555,
-0.03503268212080002,
-0.04228568077087402,
0.02137169800698757,
0.011372419074177742,
-0.011979769915342331,
-0.004977633710950613,
0.04721490293741226,
-0.03172306343913078,
0.0047883871011435986,
0.05193287134170532,
-0.018255725502967834,
0.019241569563746452,
0.013027229346334934,
-0.048834506422281265,
0.016715344041585922,
0.016988210380077362,
-0.035349562764167786,
0.028043750673532486,
-0.018907086923718452,
0.0604533851146698,
0.0021642365027219057,
-0.005263704806566238,
-0.05059494078159332,
0.0019848919473588467,
-0.012824779376387596,
0.07122725248336792,
-0.0067424713633954525,
-0.05274267494678497,
-0.019294383004307747,
-0.023220155388116837,
-0.010412980802357197,
-0.04492633789777756,
-0.025667162612080574,
0.03633540868759155,
-0.03216317296028137,
-0.018854273483157158,
-0.02832542173564434,
-0.0010782672325149179,
0.006214340217411518,
-0.05665084347128868,
0.03615936264395714,
-0.0029333271086215973,
0.04306027293205261,
0.03080763667821884,
0.08436010777950287,
0.0029487309511750937,
0.014532402157783508,
0.057812731713056564,
0.012851185165345669,
-0.031036492437124252,
0.04890492185950279,
-0.044679876416921616,
0.029064804315567017,
0.00893421471118927,
0.04967951402068138,
-0.0006788682658225298,
-0.0059326705522835255,
0.03304339200258255,
-0.010351366363465786,
-0.00024371041217818856,
0.026600193232297897,
-0.001254310947842896,
0.07062871009111404,
0.05284830182790756,
0.02438204362988472,
-0.004026998300105333,
-0.02786770835518837,
0.04485591873526573,
-0.08288134634494781,
-0.03515591472387314,
-0.010025684721767902,
0.05654521659016609,
-0.050947029143571854,
0.05031327158212662,
0.05136953294277191,
-0.021723784506320953,
0.013608173467218876,
-0.022727234289050102,
-0.0028849150985479355,
-0.01556225772947073,
0.027779685333371162,
-0.020861171185970306,
0.035684045404195786,
-0.05985483527183533,
-0.11132999509572983,
-0.02471652626991272,
-0.01371379941701889,
0.006227543577551842,
-0.05922108143568039,
-0.0033756366465240717,
-0.052179332822561264,
-0.008348869159817696,
-0.006047098897397518,
0.019276779145002365,
-0.03001544065773487,
0.0020575099624693394,
0.011416429653763771,
0.040490034967660904,
-0.057143766433000565,
-0.000834006757941097,
0.012050187215209007,
-0.009585576131939888,
0.016328047960996628,
-0.0022929683327674866,
0.024205999448895454,
0.012323054485023022,
0.01605517975986004,
0.004269058350473642,
-0.04911617562174797,
0.03496226668357849,
-0.006355175282806158,
-0.05922108143568039,
0.0056818085722625256,
-0.004691563080996275,
-0.008177227340638638,
0.06316445767879486,
0.044433414936065674,
0.019963348284363747,
-0.012877591885626316,
0.04453904181718826,
0.005316517781466246,
-0.007376228459179401,
0.020966798067092896,
-0.08098006993532181,
0.0611223503947258,
-0.029909813776612282,
0.001271915272809565,
-0.031529415398836136,
0.00848530326038599,
-0.044679876416921616,
-0.05439748242497444,
0.04492633789777756,
-0.012903998605906963,
-0.002259960165247321,
0.01630164124071598,
-0.021054819226264954,
-0.05098223686218262,
0.0028673107735812664,
-0.011363617144525051,
-0.060523804277181625,
-0.0548199899494648,
-0.0025592343881726265,
0.016829771921038628,
0.010765068233013153,
0.08034631609916687,
-0.003023549448698759,
0.012058989144861698,
-0.01705862767994404,
0.027357181534171104,
-0.07950130850076675,
-0.03855355829000473,
-0.006848097313195467,
-0.021160446107387543,
0.011830132454633713,
-0.02302650734782219,
-0.03918731212615967,
0.04661635681986809,
0.027269160374999046,
-0.015042928978800774,
-0.06355175375938416,
0.026459358632564545,
-0.003811344737187028,
0.022427959367632866,
0.03515591472387314,
-0.04045482724905014,
0.026494568213820457,
-0.029698561877012253,
-0.0335715226829052,
-0.015034127049148083,
0.03644103184342384,
0.02179420180618763,
0.013027229346334934,
-0.051756829023361206,
0.020526688545942307,
-0.00798357930034399,
-0.011891747824847698,
0.040842123329639435,
-0.020086579024791718,
-0.039715446531772614,
-0.011662891134619713,
-0.03911689668893814,
-0.0077943322248756886,
-0.010157718323171139,
-0.03946898505091667,
-0.009638389572501183,
-0.059397123754024506,
-0.008740566670894623,
-0.04830637574195862,
-0.04270818829536438,
-0.024223605170845985,
0.0284134428948164,
-0.03584248572587967,
0.026600193232297897,
0.04855283349752426,
-0.0644671767950058,
0.0011261291801929474,
-0.03462778404355049,
0.005030447151511908,
0.03531435504555702,
0.04594738781452179,
-0.01955844834446907,
-0.01325608603656292,
-0.004735573660582304,
0.021301280707120895,
0.026899468153715134,
0.013555360026657581,
-0.011143562383949757,
0.008247644640505314,
0.0011607877677306533,
0.028677508234977722,
0.01809728518128395,
0.004035800229758024,
-0.014241930097341537,
0.05112307146191597,
-0.040067531168460846,
-0.07091037929058075,
0.06147443875670433,
-0.007965974509716034,
-0.06200256943702698,
0.012507900595664978,
0.01634565182030201,
0.04031399264931679,
0.011363617144525051,
-0.016838574782013893,
0.0017439322546124458,
-0.017085034400224686,
-0.020526688545942307,
0.006914113648235798,
0.0008879200904630125,
0.02853667363524437,
0.024540483951568604,
-0.03358912467956543,
-0.08443053066730499,
0.0034768618643283844,
0.0066016362980008125,
0.05284830182790756,
0.07872671633958817,
0.015606268309056759,
0.012507900595664978,
-0.020984401926398277,
-0.0019496832974255085,
-0.018854273483157158,
-0.03374756500124931,
-0.007037344388663769,
0.0820363387465477,
-0.006341971922665834,
0.0020751142874360085,
0.03876480832695961,
-0.020086579024791718,
-0.01231425255537033,
-0.015025324188172817,
0.02077315002679825,
0.07069912552833557,
-0.0004491863364819437,
-0.01809728518128395,
0.021090026944875717,
-0.0023875918705016375,
0.03101888857781887,
0.00019626114226412028,
0.03682832792401314,
0.056017085909843445,
0.03989148885011673,
0.0053121168166399,
-0.004643151070922613,
-0.030033044517040253,
-0.039398565888404846,
0.04302506521344185,
0.023853912949562073,
-0.0047883871011435986,
-0.055911459028720856,
-0.0011552863288670778,
0.009779224172234535,
0.06862180680036545
]
|
40,785 | pyglove.core.typing.class_schema | apply | Apply current field to a value, which validate and complete the value.
Args:
value: Value to validate against this spec.
allow_partial: Whether partial value is allowed. This is for dict or
nested dict values.
transform_fn: Function to transform applied value into final value.
root_path: Key path for root.
Returns:
final value.
When allow_partial is set to False (default), only fully qualified value
is acceptable. When allow_partial is set to True, missing fields will
be placeheld using MISSING_VALUE.
Raises:
KeyError: if additional key is found in value, or required key is missing
and allow_partial is set to False.
TypeError: if type of value is not the same as spec required.
ValueError: if value is not acceptable, or value is MISSING_VALUE while
allow_partial is set to False.
| def apply(
self,
value: Any,
allow_partial: bool = False,
transform_fn: Optional[Callable[
[object_utils.KeyPath, 'Field', Any], Any]] = None,
root_path: Optional[object_utils.KeyPath] = None) -> Any:
"""Apply current field to a value, which validate and complete the value.
Args:
value: Value to validate against this spec.
allow_partial: Whether partial value is allowed. This is for dict or
nested dict values.
transform_fn: Function to transform applied value into final value.
root_path: Key path for root.
Returns:
final value.
When allow_partial is set to False (default), only fully qualified value
is acceptable. When allow_partial is set to True, missing fields will
be placeheld using MISSING_VALUE.
Raises:
KeyError: if additional key is found in value, or required key is missing
and allow_partial is set to False.
TypeError: if type of value is not the same as spec required.
ValueError: if value is not acceptable, or value is MISSING_VALUE while
allow_partial is set to False.
"""
value = self._value.apply(
value,
allow_partial=allow_partial,
child_transform=transform_fn,
root_path=root_path)
if transform_fn:
value = transform_fn(root_path, self, value)
return value
| (self, value: Any, allow_partial: bool = False, transform_fn: Optional[Callable[[pyglove.core.object_utils.value_location.KeyPath, pyglove.core.typing.class_schema.Field, Any], Any]] = None, root_path: Optional[pyglove.core.object_utils.value_location.KeyPath] = None) -> Any | [
0.08172684907913208,
-0.02987959422171116,
-0.0019902612548321486,
0.010974901728332043,
-0.01055519375950098,
-0.0028330248314887285,
0.050829242914915085,
-0.07522585242986679,
0.012885909527540207,
-0.007746726740151644,
0.004567666444927454,
0.0009594109142199159,
0.017993837594985962,
-0.02614687755703926,
0.021324707195162773,
0.06090221926569939,
-0.014207541011273861,
0.05575857311487198,
0.0737970620393753,
0.06593871116638184,
0.028933020308613777,
-0.04443540424108505,
-0.039077434688806534,
0.05054348334670067,
0.05004340782761574,
0.002051654737442732,
0.05572285130620003,
-0.02002093568444252,
0.014877287670969963,
0.0063402606174349785,
0.06554578989744186,
0.027093451470136642,
0.013894992880523205,
-0.019949495792388916,
0.014787987805902958,
-0.07422569394111633,
-0.04986480996012688,
0.03864879906177521,
-0.026039717718958855,
-0.05172223597764969,
-0.018592143431305885,
0.026593374088406563,
-0.06915348768234253,
0.0016297148540616035,
0.019360119476914406,
0.030343951657414436,
0.03904171660542488,
0.10130129009485245,
0.010510544292628765,
0.016859734430909157,
-0.017975978553295135,
0.01772593893110752,
0.0022190911695361137,
-0.023360734805464745,
-0.01602032035589218,
0.02537890151143074,
-0.020467432215809822,
0.02175334468483925,
0.06497427821159363,
-0.03313009440898895,
0.0039581977762281895,
0.005750884301960468,
-0.0419350191950798,
-0.0469357855618,
-0.01666327565908432,
-0.02146758697926998,
0.0022034638095647097,
-0.0008544840384274721,
-0.03772008419036865,
0.0611165389418602,
-0.07515440881252289,
-0.028343643993139267,
0.04572131484746933,
0.021414006128907204,
-0.006728712935000658,
-0.015564893372356892,
-0.01293948944658041,
-0.0059562730602920055,
0.03418382629752159,
-0.01118922047317028,
-0.007492223288863897,
-0.007514548022300005,
-0.027950726449489594,
-0.08801352977752686,
-0.07015364617109299,
0.015493453480303288,
-0.03972039371728897,
-0.018895762041211128,
0.09394301474094391,
0.0053445715457201,
0.01566312275826931,
-0.013368126936256886,
-0.02670053392648697,
0.010421245358884335,
0.013939643278717995,
0.03689853101968765,
0.0027437254320830107,
-0.028486521914601326,
-0.03279075399041176,
0.009456811472773552,
0.016707925125956535,
0.0230213962495327,
-0.02343217469751835,
0.008586141280829906,
0.08458442986011505,
0.019360119476914406,
-0.004268513526767492,
-0.013796763494610786,
0.04607851430773735,
0.0367913693189621,
0.01563633233308792,
-0.018324246630072594,
-0.05675872787833214,
0.013519935309886932,
-0.019235100597143173,
0.030897608026862144,
-0.03664849326014519,
-0.013573515228927135,
-0.0030629709362983704,
-0.020592451095581055,
0.057544562965631485,
-0.024753805249929428,
-0.0106712831184268,
-0.0485074557363987,
-0.016538256779313087,
0.01966373808681965,
0.014002152718603611,
-0.00937644112855196,
0.015082675963640213,
0.02311069518327713,
-0.04711438715457916,
0.0309690460562706,
0.020395992323756218,
0.013296687044203281,
0.008059274405241013,
0.02075318992137909,
0.048328857868909836,
0.007657427340745926,
-0.051007840782403946,
-0.0036836019717156887,
0.02370007149875164,
0.020538872107863426,
0.09830082952976227,
-0.0339159294962883,
0.059044793248176575,
-0.010394454933702946,
0.04761446267366409,
0.04872177541255951,
-0.03561261668801308,
0.010885601863265038,
0.005875903181731701,
0.034487444907426834,
0.01675257459282875,
0.06186665594577789,
-0.007318089250475168,
0.02528960257768631,
0.03897027671337128,
-0.07629744708538055,
0.04375672712922096,
-0.02705773152410984,
0.022824937477707863,
0.01857428438961506,
-0.011108851060271263,
0.039291754364967346,
0.04954333230853081,
0.03854164108633995,
-0.022735638543963432,
-0.038613080978393555,
0.0031902226619422436,
0.0019400303717702627,
-0.005286526866257191,
-0.018359964713454247,
0.01790453866124153,
0.0787978321313858,
-0.0018429172923788428,
0.04557843506336212,
0.0019266355084255338,
-0.03505896031856537,
-0.03259429708123207,
0.024682365357875824,
-0.009251422248780727,
0.024182289838790894,
0.03245141729712486,
-0.026754112914204597,
0.0029580439440906048,
0.027664966881275177,
-0.038255881518125534,
-0.004630176350474358,
0.00682247756049037,
0.00663048354908824,
0.010635564103722572,
-0.010912392288446426,
0.04790022224187851,
-0.035844795405864716,
-0.0704393982887268,
-0.024396607652306557,
-0.008612931706011295,
-0.023735791444778442,
0.03714856877923012,
0.0285043828189373,
-0.057365961372852325,
-0.10315871983766556,
0.038791678845882416,
0.015886370092630386,
-0.08629897981882095,
-0.0071216304786503315,
0.010064046829938889,
0.04404248669743538,
-0.051007840782403946,
-0.016824014484882355,
-0.016654346138238907,
-0.029129479080438614,
-0.05086496099829674,
0.0034179361537098885,
0.016288219019770622,
-0.06243817135691643,
0.02728991024196148,
-0.03732716664671898,
0.0034916081931442022,
0.03595195710659027,
0.04222077503800392,
0.004219398833811283,
0.08186972886323929,
0.003179060062393546,
0.07229682803153992,
-0.006349190603941679,
-0.025236021727323532,
-0.04968620836734772,
-0.0009789451723918319,
-0.019002921879291534,
-0.03204064071178436,
-0.0026209386996924877,
-0.03786296397447586,
-0.01943155936896801,
0.01373425405472517,
-0.013466356322169304,
0.0627596452832222,
-0.02561108022928238,
0.012251883745193481,
-0.0029267892241477966,
0.006143801845610142,
-0.03400522843003273,
0.0010353154502809048,
-0.021235408261418343,
-0.04204217717051506,
-0.006295610684901476,
-0.006304540671408176,
0.02061031199991703,
0.03668421134352684,
-0.020003074780106544,
0.01457366906106472,
0.030254650861024857,
-0.0040251724421978,
0.04822169989347458,
-0.026129016652703285,
-0.009608619846403599,
0.0012457271805033088,
0.000803695002105087,
0.021128248423337936,
0.03559475764632225,
0.0251110028475523,
-0.07651176303625107,
-0.0071573504246771336,
0.007452038582414389,
-0.05097212269902229,
-0.035308998078107834,
0.001265819650143385,
-0.0015984600177034736,
0.042149338871240616,
0.028593681752681732,
-0.07351130247116089,
-0.0469357855618,
0.049329012632369995,
0.003911315463483334,
-0.027129171416163445,
0.00930500216782093,
-0.012394762597978115,
0.034398145973682404,
0.022896377369761467,
0.001798267592675984,
-0.024325167760252953,
-0.017288371920585632,
-0.043328091502189636,
-0.0309690460562706,
0.006800152361392975,
-0.015859581530094147,
-0.01282340008765459,
0.0476859025657177,
-0.017734870314598083,
-0.009974747896194458,
0.02755780890583992,
-0.04272085428237915,
-0.012314393185079098,
0.0028776745311915874,
-0.023825092241168022,
-0.04807882010936737,
-0.07672607898712158,
-0.12023276835680008,
0.027414929121732712,
-0.043649569153785706,
-0.020824629813432693,
-0.0034916081931442022,
-0.03229067847132683,
0.01866358332335949,
0.05465126037597656,
0.029004458338022232,
-0.0003976615844294429,
-0.00886296946555376,
0.020628171041607857,
0.0477573424577713,
-0.009680059738457203,
0.016243569552898407,
-0.029951034113764763,
-0.046328552067279816,
0.03414810821413994,
-0.01307343877851963,
0.031665582209825516,
0.022217702120542526,
0.0013919550692662597,
-0.031808461993932724,
-0.03452316299080849,
0.012457272037863731,
-0.032576438039541245,
0.031665582209825516,
-0.02143186703324318,
-0.012698381207883358,
0.04893609508872032,
0.020003074780106544,
-0.024914544075727463,
0.029611695557832718,
-0.037291448563337326,
0.026093296706676483,
0.05393686518073082,
0.028772281482815742,
-0.05633008852601051,
-0.0468643493950367,
0.017770588397979736,
-0.035755496472120285,
0.009059428237378597,
0.04972193017601967,
-0.012019705027341843,
0.041970737278461456,
0.023717932403087616,
-0.042113617062568665,
-0.013886063359677792,
-0.017565200105309486,
0.019735176116228104,
0.03580907732248306,
0.07429713755846024,
-0.05790175870060921,
0.017654499039053917,
-0.08587034791707993,
0.0009119705646298826,
-0.021735483780503273,
-0.04736442491412163,
-0.015154115855693817,
-0.01772593893110752,
-0.004121169447898865,
-0.021949803456664085,
-0.05893763154745102,
0.08401291817426682,
-0.09522892534732819,
-0.03797012194991112,
0.0033554264809936285,
0.052508071064949036,
0.04404248669743538,
-0.07929790765047073,
-0.03627343475818634,
0.02520030364394188,
-0.003147805342450738,
0.061688054352998734,
-0.01763663999736309,
0.03539830073714256,
-0.04150637984275818,
0.06350976228713989,
0.004433717578649521,
0.02343217469751835,
0.03082616813480854,
-0.03177274018526077,
0.022092681378126144,
0.02605757676064968,
0.019949495792388916,
-0.005282062105834484,
-0.028075745329260826,
0.02761138789355755,
0.019377978518605232,
0.07922646403312683,
-0.04875749722123146,
-0.03279075399041176,
-0.017297301441431046,
-0.01563633233308792,
0.03282647579908371,
-0.017065122723579407,
-0.04343524947762489,
0.011653576977550983,
-0.011153500527143478,
-0.01561847236007452,
-0.023307153955101967,
0.03152270242571831,
-0.03150484338402748,
-0.00006746294093318284,
0.02269991859793663,
0.010233716107904911,
0.053186748176813126,
0.008112854324281216,
-0.03420168533921242,
0.059223391115665436,
0.026129016652703285,
0.004511854145675898,
0.09158550947904587,
0.008755810558795929,
-0.008644185960292816,
0.01704726368188858,
0.014645108953118324,
0.00045765965478494763,
-0.002654426032677293,
0.004063124768435955,
-0.03389807045459747,
-0.011448188684880733,
-0.052650950849056244,
0.020038794726133347,
-0.00267228577286005,
-0.09401445090770721,
-0.022217702120542526,
0.035076823085546494,
-0.06429559737443924,
0.025450341403484344,
-0.04136350378394127,
0.03972039371728897,
0.03400522843003273,
-0.006375980097800493,
-0.06497427821159363,
-0.028682980686426163,
0.004310930613428354,
-0.02243201993405819,
-0.032433558255434036,
0.007465433329343796,
0.009796149097383022,
0.04657858982682228,
-0.015707772225141525,
-0.01118922047317028,
0.029754575341939926,
-0.006840337533503771,
-0.051650796085596085,
-0.040291909128427505,
-0.019467279314994812,
0.008135179057717323,
0.05640152841806412,
-0.04457828029990196,
0.002716935472562909,
0.05211515352129936,
0.008612931706011295,
0.003926943056285381,
0.00890315417200327,
-0.01248406246304512,
0.009947958402335644,
-0.00819768849760294,
-0.07401137799024582,
0.011689296923577785,
0.04086342453956604,
0.03313009440898895,
-0.020806770771741867,
0.030629709362983704,
-0.03704141080379486,
-0.03143340349197388,
0.041613541543483734,
0.0010152230970561504,
0.011367819271981716,
-0.010992761701345444,
-0.021824784576892853,
0.00819768849760294,
-0.06100938096642494,
0.015046956017613411,
0.014636178500950336,
0.04743586480617523,
0.023950111120939255,
0.03832732141017914,
-0.02484310418367386,
-0.022003382444381714,
-0.0468643493950367,
0.0071216304786503315,
0.002594148740172386,
0.03947035223245621,
-0.028682980686426163,
0.01975303702056408,
-0.01495765708386898,
0.024218009784817696,
0.014145031571388245,
0.05593717098236084,
0.04400676488876343,
-0.0267898328602314,
0.05422262102365494,
0.0343267060816288,
0.015046956017613411,
-0.08286987990140915,
-0.05561569333076477,
0.030308231711387634,
-0.011278519406914711,
0.024825245141983032,
0.018860042095184326,
0.010537334717810154,
-0.012457272037863731,
-0.01802062802016735,
0.06768897920846939,
0.0009700151858851314,
0.011519628576934338,
-0.03786296397447586,
-0.004598921164870262,
-0.0036188599187880754,
-0.03772008419036865,
-0.0305582694709301,
-0.00390461809001863,
0.05593717098236084,
0.03829159960150719,
-0.013939643278717995,
0.02652193419635296,
0.020896069705486298,
0.027593526989221573,
-0.015127325430512428,
-0.052650950849056244,
-0.037112846970558167,
-0.02652193419635296,
0.030897608026862144,
-0.027682827785611153,
0.022682057693600655,
0.03968467190861702,
-0.020717469975352287,
-0.03150484338402748,
0.00493825925514102,
-0.05883047357201576,
-0.0000018531378600528114,
-0.008412007242441177,
0.06847481429576874,
0.007233255077153444,
0.008630790747702122,
0.056187208741903305,
-0.016413237899541855,
-0.06150945648550987,
-0.06651022285223007,
-0.03482678160071373,
0.007929790765047073,
0.009662199765443802,
-0.021664045751094818,
0.022985676303505898,
0.07636888325214386,
-0.026361195370554924,
0.024360887706279755,
-0.02946881577372551,
0.038505919277668,
-0.04807882010936737,
-0.010814162902534008,
-0.016975823789834976,
0.06468851864337921,
0.04657858982682228,
-0.0023597378749400377,
-0.02028883434832096,
-0.015216625295579433,
0.03338013216853142,
-0.025164583697915077,
-0.01948513835668564,
0.004181446507573128,
-0.016591835767030716,
0.03141554445028305,
0.016315007582306862,
0.015591682866215706,
-0.03950607404112816,
-0.03479106351733208,
-0.005250807385891676,
0.04389960691332817,
-0.035934094339609146,
0.0013975362526252866,
0.0305582694709301,
-0.018324246630072594,
-0.053186748176813126,
0.0028464198112487793,
0.03143340349197388,
-0.08694193512201309,
-0.030629709362983704,
-0.03418382629752159,
-0.01577921211719513,
-0.06033070385456085,
-0.056830164045095444,
0.0711895152926445,
-0.019395839422941208,
-0.03141554445028305,
-0.03739860653877258,
0.013841413892805576,
0.08244124799966812,
-0.024646645411849022,
-0.014207541011273861,
-0.027254190295934677,
-0.04607851430773735,
-0.017002614215016365,
0.011921475641429424,
0.044471122324466705,
-0.010876672342419624,
-0.09644339978694916,
0.00824233889579773,
0.05615149065852165,
-0.07515440881252289,
-0.046828627586364746,
-0.018770743161439896,
-0.005541030317544937,
0.04325665161013603,
-0.014109311625361443,
0.055365655571222305,
0.004172516521066427,
-0.0005176577251404524,
0.0485788956284523,
-0.024128708988428116,
0.020896069705486298,
0.044828321784734726,
0.026932712644338608,
-0.016949035227298737,
0.02169976383447647,
-0.02211054228246212,
-0.0402204692363739,
0.0075234780088067055,
-0.03986326977610588,
-0.06068790331482887,
-0.04672146961092949,
0.007867281325161457,
-0.06422416120767593,
-0.012707310728728771,
-0.026164736598730087,
-0.023807231336832047,
0.006550114136189222,
-0.04189929738640785,
-0.03496966138482094,
0.022664198651909828,
-0.024539487436413765,
-0.0309690460562706,
-0.028004305437207222,
0.05432978272438049,
-0.00928714219480753,
0.004933794029057026,
0.019324399530887604,
0.022092681378126144,
-0.016493607312440872,
0.014153962023556232,
-0.017172282561659813,
-0.009474670514464378,
-0.029004458338022232,
0.020896069705486298,
-0.021556885913014412,
0.023235715925693512,
-0.06090221926569939,
-0.05347250774502754,
-0.02991531416773796,
0.04039906710386276,
-0.059366270899772644,
0.004384602885693312,
-0.0284686628729105,
-0.021217547357082367,
0.08744201809167862,
-0.02728991024196148,
0.11966125667095184,
-0.0027102380990982056,
0.01114457007497549,
0.05983062833547592,
-0.06197381392121315,
-0.043292369693517685,
0.03082616813480854,
-0.010162276215851307,
0.01139460876584053,
-0.017565200105309486,
0.00721985986456275,
-0.008572746999561787,
-0.015564893372356892,
0.013796763494610786,
-0.0053445715457201,
-0.037684366106987,
-0.051472198218107224,
0.06826049089431763,
-0.004476134665310383,
-0.021503305062651634,
-0.0021878364495933056,
0.03223709762096405,
-0.02564680017530918,
-0.005304386839270592,
0.04861461743712425,
-0.014671898446977139,
-0.012903769500553608,
0.07572592794895172,
-0.028343643993139267,
-0.05983062833547592,
0.03704141080379486,
0.035166122019290924,
0.0010392222320660949,
-0.01804741658270359,
0.027522088959813118,
-0.06315256655216217,
-0.02069961093366146,
-0.020646031945943832,
-0.029754575341939926,
-0.004208236467093229,
0.0008645302150398493,
0.02202124334871769,
-0.010867741890251637,
0.07622600346803665,
0.0032214773818850517,
0.04293517395853996,
0.019235100597143173,
-0.07308266311883926,
0.03361231088638306,
-0.009130868129432201,
-0.0008260198519565165,
0.0067376429215073586,
0.023146415129303932,
-0.004732870496809483,
0.0468643493950367,
0.0736541822552681,
-0.02034241333603859,
0.006715318188071251,
-0.00139642006251961,
0.06011638417840004,
0.002408852567896247,
0.004598921164870262,
0.0393274761736393,
-0.004371207673102617,
0.008559351786971092,
-0.020771050825715065,
-0.014671898446977139,
-0.07665464282035828,
0.01834210567176342,
0.02623617649078369,
-0.0027080057188868523,
0.07229682803153992,
0.01848498545587063,
0.021949803456664085,
0.07268974930047989,
0.04068482667207718,
0.02855796180665493,
-0.015850652009248734,
0.014975517056882381,
0.0018764045089483261,
0.0042997682467103004,
0.027682827785611153,
-0.044292524456977844,
-0.023074975237250328,
0.04668574780225754,
0.07836919277906418,
0.05625864863395691,
-0.011251729913055897,
0.0022771358489990234,
0.011108851060271263,
-0.024396607652306557,
0.04314948990941048,
0.010233716107904911,
0.0017502690898254514,
-0.040934864431619644,
0.033844489604234695,
0.036612771451473236,
0.024307308718562126,
0.04811453819274902,
-0.029665274545550346,
-0.03420168533921242,
0.005018628668040037,
0.0019612389151006937,
-0.009162123315036297,
-0.022896377369761467,
-0.059544868767261505,
-0.021485446020960808,
0.04039906710386276,
0.02578967995941639,
0.02732563018798828,
-0.006210776045918465,
0.0787263885140419
]
|
40,786 | pyglove.core.typing.class_schema | extend | Extend current field based on a base field. | def extend(self, base_field: 'Field') -> 'Field':
"""Extend current field based on a base field."""
self.key.extend(base_field.key)
self.value.extend(base_field.value)
if not self._description:
self._description = base_field.description
if base_field.metadata:
metadata = copy.copy(base_field.metadata)
metadata.update(self.metadata)
self._metadata = metadata
return self
| (self, base_field: pyglove.core.typing.class_schema.Field) -> pyglove.core.typing.class_schema.Field | [
-0.016510367393493652,
-0.06150316447019577,
-0.011291312985122204,
0.11087996512651443,
0.00731575395911932,
-0.005010292865335941,
0.03378317132592201,
-0.03494497761130333,
0.00028648076113313437,
-0.05079275369644165,
0.038339633494615555,
-0.02724800631403923,
0.036578770726919174,
0.05376988276839256,
0.028954410925507545,
0.0232906024903059,
-0.02171126939356327,
0.008963160216808319,
0.011255006305873394,
-0.02732061967253685,
0.013052176684141159,
0.011391155421733856,
0.0049876016564667225,
0.00715237483382225,
0.027738144621253014,
0.10565183311700821,
0.00016323730233125389,
0.0038711775559931993,
0.016555750742554665,
-0.04146198928356171,
-0.02189280278980732,
-0.045709848403930664,
-0.014422745443880558,
0.013850918971002102,
0.005459585692733526,
-0.07689710706472397,
-0.04356776550412178,
0.04247857257723808,
-0.06727588921785355,
0.06763895601034164,
0.04861436411738396,
-0.02134820446372032,
-0.048868510872125626,
-0.011046243831515312,
0.04745255783200264,
0.007206834852695465,
0.035072050988674164,
0.010937324725091457,
0.06168469414114952,
-0.009548601694405079,
0.0008838356588967144,
0.0004356776480562985,
-0.012171744368970394,
-0.0036851069889962673,
-0.038557473570108414,
-0.015393944457173347,
-0.024742860347032547,
0.04371299222111702,
-0.05769098177552223,
0.09091140329837799,
-0.038884229958057404,
-0.015493786893785,
-0.05369727313518524,
-0.04247857257723808,
-0.015965770930051804,
0.015430250205099583,
-0.0747913345694542,
-0.0009451028308831155,
-0.003991442732512951,
0.014785810373723507,
-0.0039483290165662766,
-0.02196541614830494,
-0.007760508451610804,
-0.009026696905493736,
-0.009485065937042236,
0.02383519895374775,
-0.011627147905528545,
-0.013914455659687519,
0.02908148430287838,
-0.06509750336408615,
0.05816296860575676,
0.03389209136366844,
-0.06905490905046463,
0.009230920113623142,
0.028191974386572838,
-0.012380506843328476,
-0.08321443200111389,
-0.029154097661376,
0.05148257687687874,
-0.03429146111011505,
0.01065594982355833,
0.027992289513349533,
0.007165989838540554,
0.07718756049871445,
0.02372627891600132,
-0.09025789052248001,
-0.04737994447350502,
0.016818972304463387,
-0.020930681377649307,
0.053043756633996964,
-0.03964666649699211,
-0.03184077516198158,
-0.013233709149062634,
-0.004806069191545248,
0.030098065733909607,
-0.012326046824455261,
0.012416813522577286,
-0.024270877242088318,
0.026195120066404343,
-0.017590485513210297,
-0.02038608305156231,
-0.02123928628861904,
-0.04836022108793259,
0.05485907942056656,
-0.05692854896187782,
0.05039338394999504,
0.016882508993148804,
0.024198263883590698,
0.03418254479765892,
-0.005863495171070099,
0.024234570562839508,
0.017227420583367348,
-0.0344729945063591,
-0.002804674906656146,
0.03928360342979431,
-0.027483999729156494,
0.0038212561048567295,
0.019260583445429802,
-0.015212411992251873,
-0.05493169277906418,
-0.048904817551374435,
0.03371055796742439,
-0.025323763489723206,
-0.05184563994407654,
0.016310682520270348,
-0.029390089213848114,
0.05039338394999504,
0.030025452375411987,
-0.052934836596250534,
0.021511584520339966,
-0.020858068019151688,
0.034745294600725174,
0.10463525354862213,
-0.01621083915233612,
-0.04625444486737251,
-0.022655237466096878,
0.004436197225004435,
0.01525779440999031,
-0.05435078963637352,
-0.01639237254858017,
-0.053334206342697144,
0.011046243831515312,
-0.003884792560711503,
-0.007760508451610804,
-0.00737929018214345,
0.04138937592506409,
-0.06117640435695648,
0.011273159645497799,
0.014858423732221127,
0.02501515857875347,
0.04995770379900932,
-0.030261443927884102,
0.029716847464442253,
0.016592057421803474,
0.005232670344412327,
0.03414623811841011,
-0.014803963713347912,
-0.09076617658138275,
0.03572556748986244,
0.011835909448564053,
0.03076973557472229,
-0.06890968233346939,
0.03957405313849449,
0.029753154143691063,
-0.034563761204481125,
0.08096343278884888,
-0.028881797567009926,
-0.002614066004753113,
-0.018253078684210777,
0.02292753756046295,
0.015121645294129848,
-0.004009596072137356,
0.03080604039132595,
0.00022748274204786867,
0.028319047763943672,
-0.052499156445264816,
0.02383519895374775,
0.04266010597348213,
0.04247857257723808,
0.041861362755298615,
0.04389452561736107,
-0.0040504406206309795,
-0.034527454525232315,
-0.0465812049806118,
-0.06139424443244934,
-0.041171539574861526,
0.026358498260378838,
-0.05035707727074623,
0.012108208611607552,
0.09984279423952103,
-0.06618669629096985,
-0.01569347269833088,
-0.013233709149062634,
0.02430718205869198,
-0.016292529180645943,
0.04799715429544449,
0.02185649611055851,
-0.024034883826971054,
-0.033165961503982544,
-0.013723846524953842,
0.02149343118071556,
-0.018715986981987953,
0.0001421767083229497,
-0.013315398246049881,
0.007923887111246586,
-0.031042033806443214,
-0.055948272347450256,
-0.005509506911039352,
-0.011255006305873394,
0.06665868312120438,
0.06513381004333496,
-0.03525358438491821,
0.013696616515517235,
-0.06103117763996124,
0.060050904750823975,
-0.00995704997330904,
-0.005287129897624254,
-0.07457349449396133,
-0.03380132466554642,
-0.014994572848081589,
-0.006771157030016184,
0.014404593035578728,
-0.07653404027223587,
0.04462065547704697,
0.010937324725091457,
0.09345285594463348,
0.032113075256347656,
-0.0399734266102314,
-0.03135063871741295,
-0.04037279635667801,
0.030170677229762077,
0.0440034419298172,
-0.029898378998041153,
-0.009648445062339306,
-0.08575588464736938,
-0.06295542418956757,
-0.011363925412297249,
0.029172249138355255,
0.008513867855072021,
-0.013369858264923096,
0.023671818897128105,
-0.0035217278636991978,
-0.007202296517789364,
0.05166411027312279,
-0.006934536155313253,
0.026394804939627647,
-0.021021446213126183,
-0.031332485377788544,
-0.017545102164149284,
-0.05362465977668762,
0.025142231956124306,
-0.023090915754437447,
-0.004769762512296438,
-0.006998072378337383,
0.027120934799313545,
-0.009766440838575363,
0.0462181381881237,
-0.006893691141158342,
0.03209492191672325,
-0.038085490465164185,
0.06702174991369247,
-0.0007970405276864767,
0.01862522028386593,
0.007510901428759098,
-0.03256690502166748,
-0.0024756474886089563,
-0.037722423672676086,
0.03454560786485672,
-0.020113784819841385,
-0.00925815012305975,
-0.01446812879294157,
-0.003669222816824913,
0.022981995716691017,
0.006212945096194744,
0.007542669307440519,
-0.0177810937166214,
-0.021021446213126183,
0.012453120201826096,
-0.05075644701719284,
-0.032367218285799026,
0.004370391368865967,
0.04396713897585869,
-0.011890369467437267,
0.06556949019432068,
-0.013669386506080627,
0.005695577710866928,
0.00553673692047596,
0.0429142490029335,
0.004706226289272308,
0.0037826804909855127,
0.014549818821251392,
0.023671818897128105,
-0.016619287431240082,
0.03676030412316322,
-0.04062694311141968,
-0.04814238101243973,
0.02545083686709404,
-0.009721057489514351,
-0.00675754202529788,
-0.022382939234375954,
-0.033093348145484924,
0.07028932869434357,
-0.0029249400831758976,
0.03942883014678955,
-0.007474594749510288,
-0.0447295717895031,
0.008940468542277813,
0.04759778454899788,
-0.02020455151796341,
0.005632041487842798,
-0.016219915822148323,
-0.036941833794116974,
-0.02120297960937023,
0.02688494138419628,
0.0075472076423466206,
0.009376145899295807,
0.049122657626867294,
0.01583869755268097,
0.022655237466096878,
-0.004436197225004435,
0.011436538770794868,
0.01015673577785492,
0.007660665549337864,
0.024742860347032547,
-0.12068270891904831,
-0.02516038529574871,
0.0008378853090107441,
-0.0707976222038269,
0.008500252850353718,
0.01672820746898651,
-0.02908148430287838,
0.03253059834241867,
-0.036215703934431076,
-0.04683534801006317,
0.004715302959084511,
-0.07689710706472397,
0.06099487096071243,
-0.03307519480586052,
0.035961560904979706,
-0.013596774078905582,
-0.026412958279252052,
-0.10586967319250107,
-0.007170528173446655,
-0.038339633494615555,
0.018053393810987473,
-0.03761350363492966,
-0.06320957094430923,
-0.016519444063305855,
0.019296890124678612,
0.045492008328437805,
0.022382939234375954,
0.008300567045807838,
-0.008223416283726692,
0.048723284155130386,
-0.018434610217809677,
0.0220017209649086,
-0.049413107335567474,
0.05362465977668762,
0.014813040383160114,
0.014259366318583488,
0.035852640867233276,
-0.013887225650250912,
0.03545327112078667,
-0.00006779099203413352,
0.021511584520339966,
-0.034128084778785706,
-0.028010442852973938,
0.021910956129431725,
-0.052862223237752914,
-0.000025971181457862258,
0.06553318351507187,
0.052172400057315826,
-0.0799468532204628,
0.020077478140592575,
-0.024289028719067574,
0.02871841937303543,
0.0726129412651062,
-0.04814238101243973,
0.032802898436784744,
0.03648800402879715,
-0.024779167026281357,
0.04146198928356171,
-0.03381947800517082,
0.01976887322962284,
-0.07471872121095657,
-0.05896171182394028,
-0.03380132466554642,
-0.07101546227931976,
0.009784594178199768,
-0.013624003157019615,
0.05841711163520813,
-0.03761350363492966,
0.0039937118999660015,
0.013415241613984108,
0.03494497761130333,
-0.021947262808680534,
0.025577910244464874,
0.03634277731180191,
0.025977279990911484,
0.016446832567453384,
-0.018915671855211258,
0.008999466896057129,
-0.025178538635373116,
0.014604277908802032,
-0.031150951981544495,
-0.06143055111169815,
0.028337201103568077,
-0.06916382908821106,
0.0008832683670334518,
0.056020885705947876,
-0.021438971161842346,
0.041244152933359146,
-0.1155271902680397,
-0.005772728938609362,
-0.053007449954748154,
0.0019991251174360514,
-0.04146198928356171,
-0.01884305849671364,
0.016510367393493652,
-0.0006739388918504119,
0.009190076030790806,
0.06266497075557709,
0.010846558026969433,
0.0012514387490227818,
0.03073342889547348,
-0.027992289513349533,
0.048469141125679016,
-0.030715275555849075,
-0.0051600574515759945,
-0.031150951981544495,
0.04374929890036583,
-0.0590343214571476,
0.03572556748986244,
-0.029099637642502785,
0.017699405550956726,
0.014495358802378178,
-0.06840139627456665,
0.07718756049871445,
0.003319772891700268,
-0.006703082472085953,
0.049558334052562714,
0.032221995294094086,
0.03942883014678955,
0.01995040662586689,
-0.025251151993870735,
-0.04799715429544449,
0.023490287363529205,
-0.04679904133081436,
0.03525358438491821,
0.018035240471363068,
-0.02189280278980732,
0.07566268742084503,
-0.015466556884348392,
-0.002570952055975795,
0.028264587745070457,
0.00530982157215476,
0.015720702707767487,
-0.017436182126402855,
-0.00626286631450057,
0.045274171978235245,
0.016374219208955765,
0.014776733703911304,
-0.01164530124515295,
-0.038121797144412994,
0.0806729793548584,
0.012507579289376736,
0.02764737792313099,
-0.0029998221434652805,
0.001402337453328073,
-0.052390240132808685,
0.014395516365766525,
-0.03942883014678955,
-0.010311038233339787,
-0.03619755059480667,
0.06702174991369247,
0.014967342838644981,
0.0037531815469264984,
0.028518732637166977,
-0.02541453018784523,
0.05776359513401985,
-0.01533040776848793,
0.05191825330257416,
-0.053188979625701904,
0.07228618860244751,
-0.011400232091546059,
-0.022564472630620003,
0.01516702864319086,
0.005609349813312292,
0.052716996520757675,
0.03029775060713291,
0.012289741076529026,
-0.03735936060547829,
-0.03169554844498634,
0.0414256826043129,
-0.00370779843069613,
0.015974847599864006,
-0.07050716876983643,
0.045492008328437805,
0.011844986118376255,
0.017699405550956726,
0.0009133346611633897,
0.0011408174177631736,
0.032984428107738495,
-0.026267731562256813,
-0.013115713372826576,
-0.04407605528831482,
-0.03910207003355026,
0.06644084304571152,
0.030497435480356216,
-0.02497885189950466,
-0.011055320501327515,
0.05856233835220337,
-0.0026095276698470116,
-0.06567841023206711,
-0.03144140541553497,
0.04759778454899788,
-0.031259872019290924,
-0.009984279982745647,
-0.057218998670578,
0.04454804211854935,
0.008146264590322971,
-0.012870644219219685,
0.015493786893785,
-0.016927892342209816,
0.005668347701430321,
0.09258150309324265,
-0.052825916558504105,
0.029789460822939873,
-0.026412958279252052,
-0.045165251940488815,
0.04055432975292206,
-0.009857207536697388,
0.042224425822496414,
-0.02042238973081112,
-0.02009563148021698,
0.03322042152285576,
-0.024470562115311623,
0.009748287498950958,
0.02775629796087742,
-0.022455552592873573,
-0.04723472148180008,
0.0147585803642869,
-0.02739323303103447,
0.03652431070804596,
0.012235281057655811,
-0.03975558653473854,
-0.042006589472293854,
-0.00731575395911932,
0.06313695758581161,
0.00823249202221632,
0.023562900722026825,
0.021983569487929344,
-0.012353276833891869,
0.06832878291606903,
-0.0039528668858110905,
0.012670958414673805,
-0.028700266033411026,
0.04665381461381912,
-0.05199086666107178,
0.007238602731376886,
-0.023453980684280396,
0.03169554844498634,
-0.060232438147068024,
0.017917243763804436,
0.01393260806798935,
0.0010579932713881135,
-0.07352060824632645,
0.045963991433382034,
-0.033129654824733734,
0.004054978955537081,
-0.10637795925140381,
0.001291148946620524,
0.049013737589120865,
-0.007333907298743725,
-0.028918104246258736,
-0.004243318922817707,
0.009339840151369572,
0.031296178698539734,
0.017045889049768448,
0.018162311986088753,
-0.05907062813639641,
-0.052208706736564636,
-0.010465340688824654,
-0.041353072971105576,
0.010038739070296288,
-0.018207695335149765,
-0.05395141616463661,
-0.04382191225886345,
-0.009448759257793427,
-0.04705318808555603,
0.010855634696781635,
-0.018198618665337563,
-0.031622935086488724,
0.022836770862340927,
-0.0406995564699173,
-0.0007573303300887346,
0.03913837671279907,
0.059869371354579926,
-0.009603061713278294,
0.012661881744861603,
0.002198810689151287,
0.02127559296786785,
-0.00838225707411766,
0.00880431942641735,
-0.006122178863734007,
-0.012634651735424995,
-0.026213273406028748,
0.021003294736146927,
0.08365011215209961,
-0.0469442680478096,
-0.048868510872125626,
0.0458550751209259,
-0.02757476456463337,
0.05402402952313423,
-0.07987423986196518,
-0.013133865781128407,
0.02692124806344509,
-0.017209267243742943,
-0.00018862346769310534,
0.0014896999346092343,
-0.010174889117479324,
-0.01676451414823532,
-0.013723846524953842,
0.00491498876363039,
0.009693828411400318,
-0.00036731938598677516,
0.03216753527522087,
-0.00669400580227375,
0.002729792846366763,
0.04454804211854935,
0.007492748089134693,
-0.008722629398107529,
0.005786343943327665,
-0.02559606172144413,
-0.027992289513349533,
0.011055320501327515,
-0.028954410925507545,
-0.04240595921874046,
-0.06538795679807663,
-0.0337287113070488,
-0.010365497320890427,
0.03523543104529381,
-0.013043100014328957,
-0.024234570562839508,
0.034636374562978745,
-0.045746155083179474,
0.02505146525800228,
0.025614215061068535,
-0.0010148793226107955,
0.00788758136332035,
-0.0005278620519675314,
-0.028845490887761116,
0.0671306625008583,
-0.02599543333053589,
0.02724800631403923,
0.022019874304533005,
0.004701687954366207,
0.0038643700536340475,
0.022455552592873573,
0.0352172777056694,
0.020858068019151688,
-0.017590485513210297,
-0.053261592984199524,
0.014940112829208374,
0.006430783774703741,
-0.0021727154962718487,
0.02606804668903351,
-0.004828760866075754,
0.027157241478562355,
-0.02013193815946579,
0.08016468584537506,
-0.03329303488135338,
0.012580192647874355,
0.04320470243692398,
0.048904817551374435,
0.034890517592430115,
-0.004842375870794058,
0.022201407700777054,
-0.04984878748655319,
-0.013469700701534748,
0.028064902871847153,
-0.05504061281681061,
-0.02383519895374775,
-0.05750945210456848,
-0.0012310163583606482,
-0.016147302463650703,
0.0201682448387146,
-0.04799715429544449,
-0.025178538635373116,
-0.029063330963253975,
0.045346781611442566,
0.045201558619737625,
0.0049013737589120865,
-0.002095564268529415,
0.031659241765737534,
-0.00725221773609519,
0.006453475449234247,
-0.0039642127230763435,
-0.0034354999661445618,
0.004969448316842318,
0.03928360342979431,
0.059615228325128555,
-0.049304187297821045,
-0.052281320095062256,
0.05032077059149742,
0.016310682520270348,
0.04088108614087105,
-0.005268976557999849,
-0.01936950348317623,
0.024361642077565193,
0.017726635560393333,
0.016855278983712196,
0.06204776093363762,
0.017690328881144524,
0.018734140321612358,
-0.014613354578614235,
-0.01757233217358589,
0.003489959519356489,
-0.041316766291856766,
0.017581408843398094,
0.004070863127708435,
0.05406033620238304,
-0.029880225658416748,
0.011472845450043678,
0.018897518515586853,
0.0029385550878942013,
-0.041933976113796234,
0.03764981031417847,
-0.021584197878837585,
-0.013369858264923096,
0.0053778961300849915,
0.005650194827467203,
0.017762940376996994,
0.0258502084761858,
0.0031246256548911333,
0.008123572915792465,
0.038593780249357224,
-0.027629224583506584,
-0.059615228325128555,
0.05115582048892975,
-0.009630291722714901,
0.03637908399105072,
-0.008522944524884224,
0.049304187297821045,
0.003188162110745907,
-0.0012060556327924132,
-0.01347877737134695,
0.005849880166351795,
0.04592768847942352,
-0.0030225138179957867,
-0.02321798913180828,
-0.07631620019674301,
0.03518097102642059,
0.024325335398316383,
0.0174271073192358,
0.05732791870832443,
0.011273159645497799,
0.020839914679527283
]
|
40,787 | pyglove.core.typing.class_schema | format | Format this field into a string. | def format(self,
compact: bool = False,
verbose: bool = True,
root_indent: int = 0,
**kwargs) -> str:
"""Format this field into a string."""
description = self._description
if not verbose and self._description and len(self._description) > 20:
description = self._description[:20] + '...'
metadata = object_utils.format(
self._metadata,
compact=compact,
verbose=verbose,
root_indent=root_indent + 1,
**kwargs)
if not verbose and len(metadata) > 24:
metadata = '{...}'
attr_str = object_utils.kvlist_str([
('key', self._key, None),
('value', self._value.format(
compact=compact,
verbose=verbose,
root_indent=root_indent + 1,
**kwargs), None),
('description', object_utils.quote_if_str(description), None),
('metadata', metadata, '{}')
])
return f'Field({attr_str})'
| (self, compact: bool = False, verbose: bool = True, root_indent: int = 0, **kwargs) -> str | [
0.0266927070915699,
-0.022264424711465836,
0.03154272958636284,
-0.0064842719584703445,
0.053279977291822433,
-0.05918435752391815,
0.021333077922463417,
-0.10199109464883804,
0.03454763814806938,
-0.023459358140826225,
-0.04459913820028305,
0.011422159150242805,
0.00041597525705583394,
-0.004261343739926815,
0.052612222731113434,
0.03658605366945267,
-0.04681327939033508,
-0.0858946368098259,
0.05169844999909401,
0.04034658148884773,
0.09868745505809784,
-0.0021427529864013195,
0.0009291486931033432,
0.015209044329822063,
0.040838610380887985,
0.017335323616862297,
0.031490013003349304,
0.010631394572556019,
-0.029855767264962196,
0.005908770952373743,
0.025409910827875137,
0.008162450976669788,
0.015182685106992722,
0.042103834450244904,
-0.0313318595290184,
-0.017238674685359,
-0.04888683930039406,
0.009111368097364902,
-0.09278307855129242,
-0.019347380846738815,
-0.02576136216521263,
-0.0005974667728878558,
-0.06744345277547836,
-0.030119353905320168,
0.01976912096142769,
0.004770948085933924,
0.07837358117103577,
0.04639153927564621,
-0.018890494480729103,
-0.02370537258684635,
0.028695978224277496,
0.035338401794433594,
-0.02583165280520916,
-0.021069489419460297,
-0.056091587990522385,
-0.04192810878157616,
0.033774446696043015,
0.033967744559049606,
0.021631812676787376,
-0.006708321627229452,
-0.07408588379621506,
0.04705929383635521,
0.027079302817583084,
0.015077250078320503,
-0.0925019159913063,
-0.026147957891225815,
-0.03802700340747833,
0.009190444834530354,
-0.009954851120710373,
-0.007929613813757896,
0.019505532458424568,
-0.015578067861497402,
0.027167165651917458,
0.009216804057359695,
-0.02987333945930004,
-0.0051399716176092625,
-0.04916800186038017,
-0.04825422912836075,
0.013249704614281654,
-0.06463184952735901,
-0.04220927134156227,
-0.03203476220369339,
-0.022668592631816864,
-0.059606097638607025,
0.01730896346271038,
-0.03561956435441971,
0.005205868743360043,
0.021772392094135284,
0.0381324402987957,
0.03872990608215332,
0.015824083238840103,
0.006501844152808189,
-0.010104217566549778,
0.05805971473455429,
-0.059606097638607025,
-0.032280780375003815,
-0.024460993707180023,
-0.03771069645881653,
0.014998173341155052,
0.06856809556484222,
0.027114449068903923,
-0.06628366559743881,
-0.015314479358494282,
0.004885169677436352,
-0.020401732996106148,
-0.005983454175293446,
-0.03356357663869858,
0.04220927134156227,
0.05050351470708847,
0.004968638997524977,
0.0010757696582004428,
-0.040241144597530365,
-0.03451249375939369,
-0.04635639488697052,
0.0371483750641346,
-0.007340933661907911,
0.027870068326592445,
0.025480201467871666,
0.02045445144176483,
-0.09355627000331879,
0.029961202293634415,
-0.030189644545316696,
-0.03359872102737427,
0.0008165745530277491,
-0.026675134897232056,
0.030154500156641006,
0.004063652828335762,
0.014066828414797783,
0.02168452925980091,
-0.0017396826297044754,
-0.050925254821777344,
0.01727381907403469,
0.01783614046871662,
0.002576575381681323,
0.07303152978420258,
-0.018363317474722862,
0.0772489383816719,
0.014365561306476593,
-0.03131428733468056,
0.10789547115564346,
0.005219047889113426,
-0.01528812013566494,
-0.006677569821476936,
-0.011553953401744366,
-0.0017880072118714452,
-0.04994119331240654,
0.05872746929526329,
0.0047665550373494625,
-0.017853712663054466,
-0.01364508643746376,
0.031120989471673965,
0.01671149767935276,
0.04242014139890671,
-0.002194372471421957,
0.05127670615911484,
0.014523714780807495,
-0.036058876663446426,
-0.05893833935260773,
0.06835722923278809,
0.000079351055319421,
0.003949431236833334,
0.0057550109922885895,
0.0026512588374316692,
0.02384595386683941,
0.051874175667762756,
0.056126732379198074,
-0.02470700815320015,
-0.048465099185705185,
0.0013684624573215842,
0.025093603879213333,
-0.002251483267173171,
-0.035232968628406525,
-0.029328590258955956,
0.06501844525337219,
-0.006413981784135103,
0.049062564969062805,
0.004858810920268297,
0.0106138214468956,
-0.030189644545316696,
-0.06737316399812698,
-0.027009012177586555,
-0.013504506088793278,
0.05834087356925011,
0.028643259778618813,
0.03658605366945267,
-0.028924420475959778,
0.026270965114235878,
-0.02284431830048561,
0.023722944781184196,
0.004287702962756157,
0.05999269336462021,
0.02194811776280403,
-0.035232968628406525,
0.007767068222165108,
-0.02635882794857025,
-0.015455059707164764,
0.06185538321733475,
-0.07977938652038574,
0.08216925710439682,
0.043755654245615005,
-0.04748103767633438,
0.019523106515407562,
-0.02370537258684635,
-0.04755132645368576,
-0.005680327769368887,
-0.0007682500290684402,
0.014005323871970177,
-0.03328241407871246,
-0.05011691898107529,
-0.017590124160051346,
0.011905403807759285,
0.004136139526963234,
-0.03753497079014778,
-0.01701023057103157,
0.03537354618310928,
-0.06670540571212769,
0.05415860563516617,
-0.003314622677862644,
-0.022475294768810272,
0.049624886363744736,
0.037218667566776276,
-0.04990604892373085,
0.011237647384405136,
0.004445855971425772,
-0.01029751542955637,
0.007604522164911032,
0.024548854678869247,
-0.02901228331029415,
-0.01712445169687271,
-0.024390703067183495,
-0.011870259419083595,
0.0008292048005387187,
-0.057145942002534866,
0.05830572918057442,
-0.04628610238432884,
0.04618066921830177,
0.012142634019255638,
-0.04512631520628929,
-0.0034354340750724077,
-0.0573568120598793,
0.03272009268403053,
-0.020366588607430458,
-0.035900723189115524,
0.004377762321382761,
-0.004228395409882069,
-0.07043079286813736,
-0.021631812676787376,
-0.008131698705255985,
-0.006936764810234308,
0.01962854154407978,
-0.020612603053450584,
0.049695178866386414,
0.04115491732954979,
0.05222562700510025,
-0.025919513776898384,
-0.010051500052213669,
-0.018293026834726334,
0.018293026834726334,
0.016052527353167534,
-0.017748277634382248,
-0.036129169166088104,
-0.09165843576192856,
-0.04572378098964691,
0.03322969749569893,
0.08603521436452866,
-0.0049774255603551865,
0.03465307503938675,
-0.030962837859988213,
0.005280551966279745,
0.001335514010861516,
0.03981940448284149,
0.014189835637807846,
-0.01411075983196497,
0.006304153241217136,
-0.04161180555820465,
-0.038378454744815826,
-0.004182267468422651,
-0.014066828414797783,
-0.01246772613376379,
-0.039713967591524124,
-0.013759308494627476,
-0.02440827526152134,
-0.0019329807255417109,
-0.004032900556921959,
0.09756281226873398,
-0.004252557642757893,
-0.005170723423361778,
0.0029016677290201187,
-0.013443002477288246,
0.032386213541030884,
0.026218248531222343,
0.014400706626474857,
0.020384160801768303,
-0.005491422489285469,
0.028924420475959778,
-0.02119249850511551,
-0.026516981422901154,
-0.007015841547399759,
-0.04066288471221924,
-0.059606097638607025,
-0.028397245332598686,
0.0034947413951158524,
0.035830434411764145,
0.013188200071454048,
-0.0060098129324615,
0.015868015587329865,
-0.029065001755952835,
-0.005350842140614986,
0.030154500156641006,
0.0008599567809142172,
-0.027571335434913635,
0.04871111363172531,
0.013205773197114468,
0.05064409598708153,
-0.02003270946443081,
0.03595344349741936,
-0.020366588607430458,
-0.001421180204488337,
0.006084496155381203,
-0.007283823098987341,
0.024162258952856064,
-0.0093661705031991,
-0.04656726494431496,
0.02721988409757614,
0.036094021052122116,
-0.08006054908037186,
-0.010227225720882416,
-0.010833478532731533,
0.03742953762412071,
0.005645182449370623,
0.03693750500679016,
-0.028028221800923347,
0.003773705568164587,
0.05127670615911484,
-0.0633314773440361,
-0.016667565330863,
0.007846144959330559,
-0.052541930228471756,
-0.04878140613436699,
0.0011345279635861516,
0.05440462380647659,
0.0404520146548748,
-0.011720892041921616,
-0.04625095799565315,
-0.07464820146560669,
-0.05226077139377594,
0.03419618681073189,
-0.03774584084749222,
0.018363317474722862,
-0.007121277041733265,
-0.021245215088129044,
-0.07837358117103577,
0.02874869480729103,
0.024830017238855362,
-0.01042930968105793,
-0.04231470450758934,
-0.0178273543715477,
0.015648357570171356,
-0.01659727655351162,
0.0015804314753040671,
-0.003685842966660857,
-0.0007116883643902838,
0.05598615109920502,
0.013504506088793278,
0.0364806205034256,
0.002239402150735259,
-0.017502261325716972,
0.01528812013566494,
0.05067924037575722,
0.00841285940259695,
-0.006238256115466356,
-0.009339811280369759,
0.024777298793196678,
-0.06948187202215195,
-0.03328241407871246,
0.04175238311290741,
0.0013750522630289197,
0.0168257188051939,
-0.06428039819002151,
-0.05535354092717171,
0.05359628424048424,
0.025849224999547005,
-0.019118936732411385,
0.009647331200540066,
-0.009172872640192509,
0.022774027660489082,
0.012002053670585155,
0.012907039374113083,
0.008360141888260841,
0.0035518521908670664,
-0.051452431827783585,
0.0043008821085095406,
0.0008456790819764137,
0.019241943955421448,
-0.009902133606374264,
0.018890494480729103,
0.024531282484531403,
-0.04403681680560112,
-0.017511049285531044,
-0.016421550884842873,
0.014602790586650372,
-0.10747373104095459,
-0.011905403807759285,
-0.003277281066402793,
0.015683503821492195,
-0.03307154402136803,
0.06645939499139786,
-0.002539233770221472,
-0.009884560480713844,
0.09826571494340897,
0.027501044794917107,
-0.001395919593051076,
-0.02145608700811863,
0.01570107601583004,
0.04656726494431496,
-0.017915217205882072,
-0.04881655052304268,
-0.022563157603144646,
-0.07109854370355606,
0.02358236536383629,
-0.018082156777381897,
0.05468578264117241,
-0.0623474158346653,
0.013557224534451962,
-0.025392338633537292,
-0.0540531724691391,
-0.031120989471673965,
0.026569699868559837,
0.05542382970452309,
0.008158056996762753,
-0.007160814944654703,
0.03816758468747139,
0.03382716327905655,
0.007288216147571802,
-0.006919192615896463,
-0.03080468438565731,
0.03988969326019287,
-0.02045445144176483,
0.009787911549210548,
0.035303257405757904,
0.07060651481151581,
-0.06603765487670898,
0.009638545103371143,
-0.024496138095855713,
-0.02602495066821575,
0.026534553617239,
-0.028239091858267784,
0.031226426362991333,
0.024496138095855713,
0.02556806430220604,
0.10100702941417694,
0.03686721622943878,
-0.0023591150529682636,
0.002495302353054285,
0.0016518199117854238,
-0.04059259593486786,
-0.0055441404692828655,
-0.03539112210273743,
-0.017915217205882072,
-0.01334635354578495,
-0.03806214779615402,
0.0319996178150177,
-0.004731409717351198,
0.00923437625169754,
-0.008184416219592094,
-0.05598615109920502,
-0.013899888843297958,
0.018591759726405144,
-0.035531699657440186,
-0.014629149809479713,
-0.018855348229408264,
-0.013451788574457169,
-0.03177117556333542,
0.08048228919506073,
0.046004943549633026,
0.016131602227687836,
0.01003392692655325,
-0.028572971001267433,
-0.08315331488847733,
-0.060133274644613266,
0.009005933068692684,
-0.0427715927362442,
-0.02467186376452446,
-0.006277794484049082,
0.04519660398364067,
0.07232862710952759,
0.056091587990522385,
0.06041443347930908,
0.006541382521390915,
0.03270252048969269,
-0.015024532563984394,
0.051452431827783585,
-0.020647749304771423,
0.019382525235414505,
-0.018714768812060356,
-0.00344422017224133,
-0.022967325523495674,
-0.034863945096731186,
-0.040803465992212296,
0.042103834450244904,
0.022264424711465836,
-0.019189227372407913,
0.004661119543015957,
0.004439265932887793,
-0.003215776989236474,
-0.0064051952213048935,
0.012608306482434273,
0.0652996078133583,
0.059043776243925095,
-0.015648357570171356,
0.003949431236833334,
-0.0424552857875824,
0.02351207472383976,
0.02092891000211239,
-0.016193106770515442,
-0.012713741511106491,
-0.022598301991820335,
0.023494502529501915,
0.031384579837322235,
0.004259147215634584,
-0.04582921788096428,
0.0646669939160347,
-0.04825422912836075,
-0.02171967551112175,
-0.03651576489210129,
0.06786520034074783,
0.020577458664774895,
-0.016307327896356583,
-0.028239091858267784,
0.007217925973236561,
0.022211706265807152,
0.018697194755077362,
0.011826328001916409,
-0.002589754993095994,
-0.03697264939546585,
0.03342299535870552,
-0.04512631520628929,
0.054826363921165466,
-0.04227956011891365,
-0.05004663020372391,
0.05451005697250366,
0.032667376101017,
0.014629149809479713,
-0.04189296439290047,
0.030734393745660782,
0.01366265956312418,
0.050292644649744034,
0.00816684402525425,
0.02878384105861187,
-0.03641032800078392,
-0.04347449541091919,
-0.0020537921227514744,
-0.016720283776521683,
-0.013249704614281654,
-0.0073585063219070435,
0.020173290744423866,
-0.01364508643746376,
0.010227225720882416,
0.05356113985180855,
0.020805902779102325,
-0.014260126277804375,
-0.0006304153357632458,
0.022809172049164772,
0.027167165651917458,
0.0212276428937912,
0.029135292395949364,
0.018908066675066948,
-0.025972232222557068,
-0.015709862112998962,
0.01846875250339508,
-0.03224563226103783,
0.021596666425466537,
0.02649940922856331,
0.03182389214634895,
0.010332660749554634,
-0.00012163501378381625,
-0.06273401528596878,
0.039151646196842194,
-0.013855957426130772,
0.024584000930190086,
-0.04340420290827751,
-0.016201892867684364,
0.08160693198442459,
-0.025322047993540764,
-0.022510439157485962,
0.029363734647631645,
0.05591586232185364,
0.003053230931982398,
-0.028397245332598686,
0.007815392687916756,
-0.010578676126897335,
-0.06628366559743881,
-0.012608306482434273,
-0.01794157549738884,
0.04748103767633438,
-0.029065001755952835,
-0.004470018204301596,
-0.0156659297645092,
0.03502209857106209,
0.005860446020960808,
-0.07317210733890533,
-0.008715986274182796,
-0.05011691898107529,
0.026077667251229286,
-0.017440758645534515,
0.0011015794007107615,
0.06825179606676102,
0.04414224997162819,
0.011817541904747486,
-0.03465307503938675,
-0.027641624212265015,
0.06322604417800903,
-0.0759134292602539,
0.012494084425270557,
-0.004035097546875477,
-0.0020614799577742815,
-0.02460157312452793,
0.004173481371253729,
-0.000736948917619884,
-0.07176630198955536,
0.003000513417646289,
0.06758403778076172,
-0.08280186355113983,
0.02265102043747902,
-0.03658605366945267,
0.003569424618035555,
-0.02695629559457302,
-0.011659388430416584,
-0.0031784353777766228,
-0.03655090928077698,
0.021737247705459595,
0.031946901232004166,
-0.03540869429707527,
0.03054109588265419,
-0.06821665167808533,
-0.03502209857106209,
0.013416643254458904,
0.05071438476443291,
-0.04414224997162819,
0.044317975640296936,
0.019312234595417976,
-0.03823787346482277,
-0.05176873877644539,
0.05563469976186752,
-0.0014684064080938697,
0.014910310506820679,
-0.017370468005537987,
-0.08118519186973572,
0.00880384910851717,
-0.011132212355732918,
-0.07844386994838715,
0.03809729218482971,
-0.020472023636102676,
-0.05535354092717171,
0.016316113993525505,
-0.0025216613430529833,
0.02609523944556713,
0.02507603168487549,
-0.02623582072556019,
0.0154199143871665,
0.023389067500829697,
-0.04920314624905586,
0.010508386418223381,
-0.022668592631816864,
0.0022130433935672045,
-0.014708226546645164,
-0.029100146144628525,
-0.01158909872174263,
0.031718455255031586,
-0.004832451697438955,
-0.009331025183200836,
0.018152447417378426,
0.025708643719553947,
0.0573568120598793,
-0.056091587990522385,
-0.006892833858728409,
0.02560320869088173,
0.053772009909152985,
0.0018780665704980493,
-0.028625687584280968,
0.09004175662994385,
-0.02699143998324871,
-0.018626905977725983,
0.01827545464038849,
-0.0013860351173207164,
-0.049027420580387115,
0.021508803591132164,
-0.0005716570885851979,
-0.009840629063546658,
-0.019856983795762062,
-0.02721988409757614,
-0.052401352673769,
-0.029205581173300743,
-0.021543949842453003,
0.007977939210832119,
-0.047973066568374634,
0.07514023035764694,
0.046110376715660095,
0.036164313554763794,
-0.05598615109920502,
-0.012696169316768646,
0.036199457943439484,
0.029100146144628525,
0.017519835382699966,
0.03922193497419357,
0.0010236011585220695,
0.04656726494431496,
-0.013047619722783566,
-0.030664103105664253,
0.0057066865265369415,
0.06456156075000763,
0.11415129899978638,
-0.012353504076600075,
-0.020085427910089493,
-0.0017473706975579262,
-0.00994606502354145,
0.053807154297828674,
-0.017897645011544228,
0.027782205492258072,
0.02351207472383976,
-0.04066288471221924,
0.02602495066821575,
-0.03872990608215332,
-0.014945455826818943,
0.01947038806974888,
0.03305397182703018,
-0.044950589537620544,
0.021631812676787376,
0.0013003689236938953,
-0.030382942408323288,
0.014708226546645164,
0.015490205027163029,
-0.005487029440701008,
-0.012696169316768646,
0.02795793116092682,
0.01384717132896185,
-0.011079493910074234,
0.0056276097893714905,
0.03366900980472565,
0.020542314276099205,
0.011017990298569202,
0.10803604871034622,
-0.0011499038664624095,
0.04350963979959488,
-0.012845535762608051,
0.016386404633522034,
0.017247460782527924,
0.04329876974225044,
-0.06768947094678879,
0.004465624690055847,
-0.009049864485859871,
0.016957512125372887,
-0.023195769637823105,
0.01686086319386959,
0.07556197792291641,
-0.0185741875320673,
-0.02586679719388485,
0.022861890494823456,
0.03992483764886856,
-0.020015137270092964,
-0.007152028847485781,
-0.11035563051700592,
0.00867205485701561,
0.042103834450244904,
-0.009779125452041626,
0.04400167241692543,
-0.03988969326019287,
0.007687991484999657
]
|
40,788 | pyglove.core.typing.annotation_conversion | _field_from_annotation | Creates a field from Python annotation. | def _field_from_annotation(
key: typing.Union[str, class_schema.KeySpec],
annotation: typing.Any,
description: typing.Optional[str] = None,
metadata: typing.Optional[typing.Dict[str, typing.Any]] = None,
auto_typing=True,
) -> class_schema.Field:
"""Creates a field from Python annotation."""
if isinstance(annotation, annotated.Annotated):
field_spec = (
key, annotation.value_spec, annotation.docstring, annotation.metadata)
elif _Annotated and typing.get_origin(annotation) is _Annotated:
type_args = typing.get_args(annotation)
assert len(type_args) > 1, (annotation, type_args)
field_spec = tuple([key] + list(type_args))
else:
field_spec = (key, annotation, description, metadata or {})
return class_schema.create_field(
field_spec,
auto_typing=auto_typing,
accept_value_as_annotation=False)
| (key: Union[str, pyglove.core.typing.class_schema.KeySpec], annotation: Any, description: Optional[str] = None, metadata: Optional[Dict[str, Any]] = None, auto_typing=True) -> pyglove.core.typing.class_schema.Field | [
0.04254143312573433,
-0.031011512503027916,
-0.0070074088871479034,
0.08703464269638062,
0.029836833477020264,
0.004725821781903505,
0.08226364105939865,
-0.0173671692609787,
-0.01029199082404375,
0.013825062662363052,
0.008534491062164307,
0.050782255828380585,
0.02192130871117115,
-0.04843289777636528,
0.03406567499041557,
0.013861206360161304,
-0.017972581088542938,
0.05598698556423187,
-0.018469560891389847,
0.03144523873925209,
0.02985490672290325,
-0.022969482466578484,
0.00632067397236824,
0.03711983934044838,
0.03411989286541939,
-0.010075126774609089,
0.018867144361138344,
-0.01036427915096283,
0.006167062092572451,
-0.046661846339702606,
0.051613565534353256,
-0.05417978763580322,
0.0694686770439148,
0.051396701484918594,
-0.06675788015127182,
-0.02446945756673813,
0.009767903946340084,
-0.001387024181894958,
-0.06917952746152878,
-0.04868590459227562,
0.031156089156866074,
0.0320596881210804,
-0.036089736968278885,
-0.04058966040611267,
0.030668145045638084,
-0.002975099254399538,
0.0327644944190979,
-0.06711932271718979,
-0.06748076528310776,
0.03218619152903557,
0.01949966326355934,
-0.01676175929605961,
-0.014213609509170055,
-0.012695563957095146,
-0.0003792291390709579,
-0.01744849421083927,
0.01199075672775507,
0.02085506170988083,
-0.043698038905858994,
0.03867403045296669,
-0.04264986515045166,
-0.00412266980856657,
-0.05757731944322586,
0.019915318116545677,
0.002898293314501643,
-0.0024329398293048143,
0.003282322781160474,
0.0038922519888728857,
0.01114137377589941,
-0.04857747256755829,
0.020945420488715172,
-0.015849124640226364,
0.04326431453227997,
0.037264417856931686,
0.03419218212366104,
-0.025499559938907623,
-0.02699953317642212,
-0.0184243805706501,
0.08631176501512527,
0.005950198508799076,
0.00771221611648798,
0.0071790930815041065,
-0.012379304505884647,
0.010219703428447247,
0.07929983735084534,
-0.00018439063569530845,
-0.028354931622743607,
0.011511849239468575,
0.06491453945636749,
0.020168326795101166,
-0.018216552212834358,
-0.03460783511400223,
-0.05497495457530022,
0.035836730152368546,
-0.06476996839046478,
-0.02591521479189396,
0.058011047542095184,
-0.011656424961984158,
0.00275597651489079,
0.06336034834384918,
0.051252126693725586,
-0.002832782454788685,
-0.02893323451280594,
0.035457219928503036,
0.023330923169851303,
-0.024415241554379463,
-0.014493725262582302,
0.03408375009894371,
-0.005796586629003286,
-0.03180668130517006,
0.05790261551737785,
0.016291886568069458,
-0.049589503556489944,
0.05240873247385025,
-0.0027830845210701227,
-0.01638224720954895,
0.06151701137423515,
-0.02119842916727066,
-0.007251380942761898,
0.018523776903748512,
0.04033665359020233,
-0.006645969580858946,
-0.06451696157455444,
-0.02398151345551014,
0.02315020188689232,
-0.046191971749067307,
0.030559713020920753,
-0.0009228003327734768,
0.02085506170988083,
-0.014954561367630959,
0.016201527789235115,
0.055842410773038864,
-0.006953193340450525,
0.010924509726464748,
0.030632000416517258,
0.004002942703664303,
0.017023801803588867,
0.010951617732644081,
-0.032366909086704254,
-0.012352196499705315,
-0.018830999732017517,
0.011294985190033913,
0.060396548360586166,
-0.04760158807039261,
-0.02736097387969494,
-0.02687302976846695,
0.00027799783856607974,
-0.006790545303374529,
0.014855165034532547,
-0.03975835070014,
-0.04528837278485298,
-0.017186449840664864,
0.016906334087252617,
0.002796638524159789,
0.031156089156866074,
-0.05370991677045822,
-0.010490782558918,
0.002408090978860855,
0.051866572350263596,
0.026114007458090782,
0.06838436424732208,
-0.049589503556489944,
-0.015379252843558788,
-0.05634842440485954,
0.02047554962337017,
0.042577579617500305,
0.02866215631365776,
-0.04055351763963699,
-0.0016004994977265596,
-0.024379096925258636,
-0.00045801166561432183,
-0.04738472402095795,
0.023800794035196304,
-0.010825114324688911,
-0.049336496740579605,
0.04131253808736801,
-0.0012447073822841048,
0.024668248370289803,
0.047782305628061295,
0.016210563480854034,
0.027559764683246613,
0.04311973601579666,
0.0672639012336731,
-0.019698454067111015,
0.02289719507098198,
0.028047708794474602,
-0.010779934003949165,
0.015126245096325874,
0.010942582041025162,
0.03453554958105087,
0.02842721901834011,
0.0008143684826791286,
-0.00921219028532505,
0.0005003678379580379,
-0.053312331438064575,
-0.041890840977430344,
0.019445447251200676,
-0.0032168119214475155,
-0.022933339700102806,
0.06784220039844513,
0.02806578017771244,
0.026692310348153114,
0.02170444466173649,
0.09823926538228989,
-0.02757783606648445,
0.028824802488088608,
0.035095781087875366,
-0.029222385957837105,
-0.039830636233091354,
-0.10149222612380981,
0.03654153645038605,
-0.033776525408029556,
-0.012451591901481152,
-0.0039012881461530924,
-0.01590334065258503,
-0.027866989374160767,
-0.04843289777636528,
-0.004486368503421545,
0.019445447251200676,
0.013626270927488804,
0.07337222993373871,
0.04774616286158562,
-0.03744513541460037,
-0.00945164356380701,
0.04760158807039261,
-0.01306603942066431,
0.0017789602279663086,
-0.07127587497234344,
0.01361723430454731,
-0.035366859287023544,
-0.021740587428212166,
0.008028475567698479,
-0.023041769862174988,
-0.014728661626577377,
0.021451435983181,
-0.0025323356967419386,
-0.010554034262895584,
-0.05099911987781525,
0.01917436718940735,
-0.05121598392724991,
0.0028689263854175806,
0.015361180528998375,
-0.02663809433579445,
0.01578587107360363,
-0.04279443994164467,
0.019102079793810844,
-0.046083539724349976,
0.046914853155612946,
0.016183454543352127,
-0.019553879275918007,
-0.03529457002878189,
0.03059585765004158,
0.04901120066642761,
0.051035262644290924,
0.01392445806413889,
0.056673720479011536,
-0.02072855830192566,
-0.07640831917524338,
0.04420405626296997,
0.003603100311011076,
-0.03334279730916023,
-0.010517890565097332,
-0.018650280311703682,
0.014809984713792801,
0.06155315414071083,
-0.06466153264045715,
0.03478855639696121,
0.040300507098436356,
0.006998373195528984,
-0.030758505687117577,
0.07250477373600006,
-0.0009612033027224243,
0.032222334295511246,
-0.03263799101114273,
-0.015939483419060707,
-0.05219186842441559,
0.0008205806952901185,
0.029710330069065094,
0.06202302500605583,
-0.009921515360474586,
0.007061624899506569,
-0.029836833477020264,
-0.01567744091153145,
0.03554758056998253,
0.04901120066642761,
0.04073423519730568,
-0.01612924039363861,
0.007142948918044567,
-0.03086693584918976,
-0.01881292834877968,
-0.011593173258006573,
-0.020511694252490997,
0.04915577918291092,
0.058589350432157516,
-0.035095781087875366,
0.023800794035196304,
0.008841714821755886,
-0.007648964412510395,
-0.02517426386475563,
-0.0556255467236042,
0.032836783677339554,
0.053059324622154236,
-0.050420816987752914,
-0.01433107815682888,
-0.035113852471113205,
0.035113852471113205,
-0.04109567403793335,
-0.03581865876913071,
-0.00939742848277092,
0.011484741233289242,
-0.032945215702056885,
0.06683017313480377,
-0.056926727294921875,
0.03784272074699402,
-0.014620229601860046,
0.009316104464232922,
-0.005317679140716791,
0.020945420488715172,
0.022951411083340645,
0.0028598904609680176,
0.06169772893190384,
-0.017556926235556602,
-0.01735813356935978,
0.007752878125756979,
-0.02636701427400112,
-0.03410182148218155,
-0.04051737114787102,
-0.0018049386562779546,
-0.006998373195528984,
0.0006477674469351768,
0.004454742185771465,
0.007508906535804272,
-0.023656217381358147,
0.016337066888809204,
-0.1103113442659378,
0.020150253549218178,
-0.023077914491295815,
-0.06083027645945549,
-0.06469767540693283,
-0.014710589312016964,
-0.027252541854977608,
-0.03805958479642868,
-0.059239938855171204,
0.04377032816410065,
0.017809933051466942,
0.00171570829115808,
0.022571898996829987,
-0.05913151055574417,
0.07575772702693939,
-0.05902307853102684,
0.04550523683428764,
-0.09802240133285522,
0.025156192481517792,
-0.04217999428510666,
0.05251716449856758,
-0.042902871966362,
0.0008906096336431801,
-0.010264882817864418,
-0.02347549796104431,
-0.013635306619107723,
-0.008746837265789509,
-0.04254143312573433,
0.029836833477020264,
-0.011529921554028988,
-0.027505548670887947,
0.04890276864171028,
-0.04821603372693062,
0.03670418635010719,
0.041854698210954666,
0.0383487343788147,
0.02734290063381195,
-0.033776525408029556,
-0.021975524723529816,
0.028228428214788437,
0.005724298767745495,
0.014313005842268467,
-0.03290906921029091,
0.016562966629862785,
-0.07387824356555939,
0.010210666805505753,
-0.040408939123153687,
0.03316207602620125,
-0.05009552091360092,
0.03677647188305855,
0.02817421220242977,
-0.0018783560954034328,
-0.05298703536391258,
-0.03278256580233574,
0.009176046587526798,
-0.022336963564157486,
-0.04662569984793663,
0.018740640953183174,
0.03261991962790489,
-0.04044508561491966,
0.023294778540730476,
-0.03493313118815422,
0.0037747842725366354,
-0.0067995814606547356,
0.0859503224492073,
0.0030970850493758917,
-0.009008880704641342,
-0.09382970631122589,
0.019084008410573006,
0.035945162177085876,
0.029330817982554436,
0.03336086869239807,
0.02662002295255661,
-0.018957503139972687,
-0.031752463430166245,
0.0641193762421608,
0.03495120257139206,
0.0033275028690695763,
0.002238666173070669,
-0.005141477566212416,
0.014864200726151466,
0.008968218229711056,
0.047276291996240616,
-0.056673720479011536,
-0.061155568808317184,
-0.03444518893957138,
-0.0329994298517704,
0.033180151134729385,
-0.031878966838121414,
0.01987917535007,
-0.05096297338604927,
0.011394381523132324,
-0.009623328223824501,
0.03831259161233902,
0.0005520424456335604,
0.04911963269114494,
-0.013626270927488804,
-0.036089736968278885,
0.027686268091201782,
-0.010237774811685085,
-0.04217999428510666,
0.017891258001327515,
0.010617286898195744,
0.012921463698148727,
0.02519233524799347,
-0.060396548360586166,
-0.016716578975319862,
0.015451540239155293,
0.056095417588949203,
-0.011132338084280491,
-0.038746319711208344,
-0.00385610805824399,
-0.023168275132775307,
0.09252852201461792,
0.036198168992996216,
-0.021126141771674156,
0.030812721699476242,
0.06256518512964249,
0.08529973030090332,
0.04893891513347626,
0.004520253278315067,
-0.09867299348115921,
-0.019843030720949173,
-0.044023334980010986,
0.018379200249910355,
0.03634274750947952,
-0.04832446575164795,
0.01168353296816349,
-0.028156140819191933,
-0.060541123151779175,
0.02470439299941063,
-0.0016513268928974867,
0.019337015226483345,
-0.006311637815088034,
-0.04073423519730568,
0.029909122735261917,
0.04084266722202301,
-0.0019314425298944116,
0.06350492686033249,
0.01854184828698635,
0.0118642533197999,
-0.026529662311077118,
0.03231269493699074,
0.014656373299658298,
-0.05533639341592789,
0.001153782824985683,
0.052842460572719574,
0.019210511818528175,
-0.09607063233852386,
0.017050910741090775,
0.04095109924674034,
0.04893891513347626,
-0.02916817180812359,
0.005019491538405418,
-0.07286620885133743,
0.06484225392341614,
-0.024758609011769295,
0.0875406563282013,
0.004761965945363045,
-0.020981565117836,
0.022608043625950813,
0.003754453267902136,
0.03453554958105087,
0.011855216696858406,
-0.005371895153075457,
-0.025246551260352135,
-0.008724247105419636,
-0.023818865418434143,
-0.052697885781526566,
-0.009370320476591587,
0.03636081889271736,
-0.08421541005373001,
-0.026927245780825615,
0.041023388504981995,
0.043192025274038315,
0.003880957141518593,
-0.016219599172472954,
0.005593277048319578,
0.0036957194097340107,
0.013843134045600891,
0.010752825997769833,
-0.012063045054674149,
-0.034987349063158035,
-0.011322093196213245,
-0.052950892597436905,
-0.014132286421954632,
-0.02857179567217827,
0.012198584154248238,
-0.001792514231055975,
-0.00975886732339859,
-0.009894407354295254,
0.06870965659618378,
0.023168275132775307,
-0.0073191504925489426,
-0.018261732533574104,
0.03337894007563591,
-0.0031671139877289534,
0.02470439299941063,
0.015017813071608543,
0.05855320394039154,
-0.029330817982554436,
0.026403158903121948,
-0.006266457960009575,
0.039686061441898346,
-0.001529341097921133,
-0.022969482466578484,
0.04044508561491966,
0.0609748512506485,
-0.030053697526454926,
0.0009420018177479506,
0.060902561992406845,
0.07525171339511871,
-0.008376361802220345,
0.03964991867542267,
0.015316000208258629,
0.010002839379012585,
-0.0370836965739727,
0.062203746289014816,
-0.015478648245334625,
0.0035308124497532845,
-0.024306809529662132,
0.056420713663101196,
-0.01676175929605961,
-0.028626011684536934,
0.04048122838139534,
-0.022824907675385475,
-0.012550988234579563,
-0.020999636501073837,
0.0034630426671355963,
0.09534774720668793,
-0.006894459016621113,
-0.0036663522478193045,
-0.008954664692282677,
0.011692569591104984,
-0.03025249019265175,
-0.015867196023464203,
-0.013752774335443974,
-0.04568595811724663,
0.03023441694676876,
-0.006067666225135326,
-0.008570634759962559,
0.002663357648998499,
-0.028752515092492104,
0.01211726013571024,
-0.05960138142108917,
-0.011430525220930576,
-0.006867351476103067,
-0.005715262610465288,
0.021614084020256996,
0.00897725485265255,
-0.038493312895298004,
0.0024464938323944807,
0.013291939161717892,
-0.024776680395007133,
-0.020294830203056335,
-0.03023441694676876,
0.009740795940160751,
-0.008701656945049763,
0.013273866847157478,
0.042722154408693314,
-0.00897725485265255,
0.021451435983181,
0.02275261841714382,
0.015325036831200123,
0.08305880427360535,
-0.1002633273601532,
-0.03384881466627121,
-0.010138379409909248,
-0.05851706117391586,
0.0021336227655410767,
0.03711983934044838,
-0.005403521005064249,
0.014276862144470215,
-0.0005455478094518185,
0.09137191623449326,
-0.050637681037187576,
-0.014376257546246052,
-0.004228842444717884,
-0.03762585669755936,
0.011087157763540745,
0.025860998779535294,
-0.02072855830192566,
-0.0036121364682912827,
0.009013398550450802,
0.014846129342913628,
-0.02504776045680046,
0.020999636501073837,
0.04973408207297325,
0.006456214003264904,
0.007960706017911434,
-0.02134300395846367,
0.05121598392724991,
-0.02985490672290325,
-0.055589400231838226,
0.02663809433579445,
-0.005218283273279667,
0.03677647188305855,
0.0051640672609210014,
-0.005769478622823954,
-0.0014310746919363737,
0.020891206339001656,
-0.03242112696170807,
-0.0034765966702252626,
0.008154979906976223,
0.043047450482845306,
0.04803531616926193,
-0.024758609011769295,
-0.008209195919334888,
-0.0708782970905304,
0.04507151246070862,
-0.00031597723136655986,
-0.05544482544064522,
-0.003643762320280075,
-0.06907109916210175,
0.020330974832177162,
-0.005055635701864958,
-0.05551711469888687,
0.05793875828385353,
-0.017556926235556602,
0.0070299990475177765,
0.009785975329577923,
-0.03769814223051071,
0.016065986827015877,
-0.04695099592208862,
-0.0028440773021429777,
-0.011430525220930576,
0.020891206339001656,
-0.016309959813952446,
0.021053852513432503,
-0.061155568808317184,
-0.07174574583768845,
-0.03798729553818703,
-0.028644083067774773,
-0.058733925223350525,
0.07236019521951675,
0.03061392903327942,
-0.022951411083340645,
-0.03762585669755936,
-0.010319098830223083,
-0.058264054358005524,
-0.002098608296364546,
0.002186709316447377,
0.10098620504140854,
-0.0027333865873515606,
0.04001135751605034,
0.007039035204797983,
0.03072236105799675,
-0.029836833477020264,
-0.020945420488715172,
-0.02278876304626465,
-0.02745133265852928,
-0.02155986800789833,
0.060071252286434174,
-0.01036427915096283,
0.022445395588874817,
-0.03169824928045273,
0.040408939123153687,
-0.010436566546559334,
0.022373108193278313,
-0.03627045825123787,
-0.03153559938073158,
-0.0501316636800766,
-0.0050375633873045444,
0.043553464114665985,
0.0034449705854058266,
-0.009148938581347466,
-0.05508338660001755,
0.011304021812975407,
-0.06021582707762718,
0.0160298440605402,
-0.018026797100901604,
0.0033365387935191393,
-0.04445706307888031,
-0.010987762361764908,
-0.011240770108997822,
-0.05360148474574089,
0.0005492186755873263,
0.016056951135396957,
-0.06267361342906952,
-0.042830586433410645,
0.018017761409282684,
0.014132286421954632,
-0.045107655227184296,
0.049336496740579605,
0.006194170098751783,
-0.00012092693941667676,
0.04228842630982399,
0.011421489529311657,
0.019463518634438515,
0.017032837495207787,
-0.03925233334302902,
-0.029619969427585602,
-0.07713119685649872,
-0.052589453756809235,
-0.031228376552462578,
0.009487788192927837,
0.055372536182403564,
0.05490266531705856,
-0.012478699907660484,
0.045107655227184296,
-0.04904734715819359,
-0.05081839859485626,
0.014520833268761635,
-0.030162129551172256,
0.025120047852396965,
0.04062580317258835,
-0.05833634361624718,
0.04178241267800331,
-0.006537537556141615,
0.08284194022417068,
-0.012325088493525982,
0.019318943843245506,
0.002627213718369603,
0.01542443223297596,
-0.05866163596510887,
0.014710589312016964,
-0.038240302354097366,
0.015939483419060707,
-0.0609748512506485,
0.018279803916811943,
-0.00535834114998579,
-0.014972632750868797,
0.0005336880567483604,
0.028607940301299095,
0.019824959337711334,
-0.013201579451560974,
-0.042433001101017,
0.016544895246624947,
-0.02264418639242649,
-0.06281819194555283,
-0.03990292549133301,
-0.010816078633069992,
-0.010418495163321495,
0.013156399130821228
]
|
40,789 | pyglove.core.typing.class_schema | set_description | Sets the description for this field. | def set_description(self, description: str) -> None:
"""Sets the description for this field."""
self._description = description
| (self, description: str) -> NoneType | [
0.02549620345234871,
0.016957983374595642,
0.03805294632911682,
0.011745749041438103,
0.039401568472385406,
-0.0502634234726429,
0.05474667251110077,
0.01517197210341692,
0.030435068532824516,
-0.01171841286122799,
-0.05172139033675194,
0.02646210789680481,
-0.014133171178400517,
0.03163789212703705,
0.020429767668247223,
0.03462672233581543,
-0.035902444273233414,
-0.035209912806749344,
0.005057324189692736,
-0.015855394303798676,
-0.004966201260685921,
-0.046764302998781204,
-0.0016140154330059886,
-0.018898900598287582,
-0.030763110145926476,
0.06360382586717606,
-0.0016140154330059886,
-0.014798368327319622,
0.011399482376873493,
-0.029560288414359093,
0.006223698146641254,
-0.04202590882778168,
-0.03426223248243332,
0.009914177469909191,
-0.010315119288861752,
0.013960037380456924,
-0.02569667436182499,
-0.008023376576602459,
-0.02699062041938305,
0.003622137475758791,
-0.014315417036414146,
0.03841743990778923,
-0.03849033638834953,
0.010397129692137241,
0.018917126581072807,
0.01708555407822132,
0.028740180656313896,
-0.017395373433828354,
-0.005408147349953651,
0.011691075749695301,
0.001289389911107719,
0.061015933752059937,
-0.04406706243753433,
-0.0153724430128932,
-0.07421053946018219,
-0.02371019311249256,
0.0502634234726429,
0.08507239073514938,
0.009180638007819653,
0.031000031158328056,
-0.05689717456698418,
0.0055311634205281734,
-0.03220285475254059,
-0.040786635130643845,
-0.022124653682112694,
0.02573312260210514,
0.014060272835195065,
0.025642000138759613,
0.061343975365161896,
0.020994730293750763,
0.035246361047029495,
-0.01991947926580906,
-0.01915404573082924,
0.02689949795603752,
-0.015545576810836792,
-0.0018748549045994878,
-0.04279134050011635,
-0.007768232375383377,
0.009148744866251945,
-0.060943033546209335,
0.03845388814806938,
0.02792007476091385,
0.029031774029135704,
-0.027664929628372192,
-0.02310878224670887,
-0.0410417802631855,
-0.0003718955849763006,
0.018552634865045547,
0.014953277073800564,
0.006437837146222591,
0.032822489738464355,
-0.017759865149855614,
-0.015153747983276844,
0.05255972221493721,
-0.035082340240478516,
-0.03304118290543556,
-0.0466914027929306,
-0.07246097922325134,
0.016146987676620483,
0.04056794196367264,
0.03198415786027908,
0.023783091455698013,
0.052304577082395554,
-0.006820553448051214,
0.0391828715801239,
-0.05565790459513664,
0.008474434725940228,
-0.01223781332373619,
0.02165081538259983,
-0.022671392187476158,
0.016793960705399513,
-0.012994133867323399,
-0.021268097683787346,
-0.0010450663976371288,
-0.018151693046092987,
0.04439510405063629,
0.056860726326704025,
-0.02948739007115364,
0.02844858728349209,
0.010834519751369953,
-0.008606563322246075,
-0.019646110013127327,
-0.06990953534841537,
-0.02081248350441456,
0.013887139037251472,
0.0007130371523089707,
-0.007718114648014307,
0.0392557717859745,
0.023090558126568794,
-0.0634215772151947,
-0.0040663620457053185,
-0.012857449240982533,
0.041916560381650925,
0.06990953534841537,
0.03475429490208626,
0.0059731099754571915,
0.03757910802960396,
0.03433512896299362,
0.000022229018213693053,
0.02977898344397545,
-0.08069849014282227,
0.009950626641511917,
0.03878192976117134,
0.022470921277999878,
0.010050862096250057,
-0.06283839046955109,
-0.026316311210393906,
-0.030817784368991852,
-0.00165615975856781,
0.024329829961061478,
-0.017422709614038467,
-0.011554391123354435,
0.029068224132061005,
-0.014488549903035164,
0.01344974897801876,
-0.0013862079940736294,
-0.009157856926321983,
0.007166820578277111,
-0.017240462824702263,
0.04516053944826126,
0.06805062294006348,
-0.056787826120853424,
0.03284071385860443,
0.05194008722901344,
-0.01716756448149681,
0.05110175535082817,
0.010861856862902641,
-0.04982603341341019,
0.010816294699907303,
0.03289538621902466,
-0.02864905819296837,
-0.029560288414359093,
-0.025277508422732353,
0.03765200451016426,
0.05263262242078781,
0.10293249040842056,
0.03147387132048607,
0.032057058066129684,
-0.0052259014919400215,
-0.0355379544198513,
-0.0012199085904285312,
0.04949799180030823,
-0.04632691293954849,
0.038927726447582245,
0.0484774149954319,
-0.023728419095277786,
-0.0020764644723385572,
0.00994151458144188,
-0.006606414448469877,
0.011581728234887123,
0.026407433673739433,
0.006091569550335407,
-0.05022697523236275,
-0.029669634997844696,
0.0012016840046271682,
-0.024056460708379745,
0.05737101286649704,
-0.05022697523236275,
0.04093243181705475,
0.06484309583902359,
0.0023919777013361454,
0.04734748974442482,
0.021195199340581894,
0.027537357062101364,
0.0559859462082386,
0.020502666011452675,
0.013313064351677895,
-0.013604657724499702,
-0.0028544266242533922,
-0.059849560260772705,
0.0026744587812572718,
0.02925046905875206,
0.014023823663592339,
-0.020830707624554634,
0.04355677217245102,
-0.04512408748269081,
-0.08623876422643661,
-0.019810130819678307,
-0.029523838311433792,
0.013987374491989613,
0.01899002492427826,
-0.022525595501065254,
0.012328935787081718,
-0.05901122838258743,
0.045634377747774124,
0.01959143579006195,
0.05077371373772621,
-0.07508531957864761,
-0.00827852077782154,
0.021887734532356262,
-0.07632458955049515,
-0.009002948179841042,
-0.04249974712729454,
0.022853637114167213,
0.056058842688798904,
-0.006241922732442617,
-0.004578928463160992,
-0.017878323793411255,
-0.04763908311724663,
-0.03296828642487526,
-0.012811888009309769,
-0.0233457013964653,
-0.02832101471722126,
0.0446138009428978,
-0.08273964375257492,
-0.01748649589717388,
-0.05594949796795845,
0.01975545659661293,
0.0059184362180531025,
-0.022616717964410782,
0.001936362823471427,
-0.036576755344867706,
-0.01683952286839485,
0.03958381339907646,
0.0307813361287117,
-0.019609659910202026,
0.035938896238803864,
-0.009731931611895561,
-0.014224293641746044,
-0.012174027040600777,
-0.012201364152133465,
-0.07690777629613876,
-0.05700652301311493,
0.09192483872175217,
0.0932370126247406,
-0.0035424050875008106,
0.05620463937520981,
-0.02686304785311222,
-0.023801317438483238,
-0.06619171798229218,
0.18559923768043518,
0.012274262495338917,
-0.045634377747774124,
-0.047165244817733765,
0.002107218373566866,
-0.003683645511046052,
-0.02121342532336712,
-0.020174622535705566,
-0.026553230360150337,
-0.024311605840921402,
0.05587659776210785,
-0.04031279683113098,
0.045998867601156235,
0.048987701535224915,
0.04217170551419258,
-0.00450603011995554,
-0.03356969729065895,
0.0672122910618782,
-0.028393913060426712,
0.020575564354658127,
0.004617656115442514,
0.04734748974442482,
0.0031551325228065252,
0.01627456024289131,
0.04516053944826126,
0.021067628636956215,
-0.025751348584890366,
0.05802709981799126,
-0.038198743015527725,
-0.011262797750532627,
-0.05635043606162071,
0.0144429886713624,
0.03475429490208626,
0.03216640278697014,
-0.060542091727256775,
-0.015664037317037582,
0.0056359549053013325,
0.011417706497013569,
0.024348054081201553,
0.0242751557379961,
0.012174027040600777,
0.026717251166701317,
-0.03659497946500778,
0.10198481380939484,
0.00708936620503664,
0.00492063956335187,
0.009540573693811893,
0.013477085158228874,
-0.0016880527837201953,
-0.014698132872581482,
0.019409190863370895,
-0.06852446496486664,
-0.018971798941493034,
-0.05303356051445007,
0.02092183195054531,
0.012110240757465363,
-0.006378606893122196,
0.007103034760802984,
0.03254912048578262,
-0.02310878224670887,
0.02088538184762001,
-0.013950925320386887,
0.02762848138809204,
-0.011891545727849007,
-0.00872502289712429,
-0.013322176411747932,
-0.004255441948771477,
-0.04067728668451309,
0.013422411866486073,
-0.013786903582513332,
0.032494448125362396,
0.022671392187476158,
-0.04876900836825371,
-0.03522813692688942,
0.03227575123310089,
0.013094369322061539,
-0.0028999880887567997,
-0.09148745238780975,
0.04315583407878876,
-0.029305143281817436,
-0.010907418094575405,
-0.10570263117551804,
0.02884952910244465,
-0.020028825849294662,
0.011217236518859863,
-0.025642000138759613,
-0.0023350256960839033,
0.03163789212703705,
-0.017240462824702263,
-0.060906585305929184,
-0.028011197224259377,
-0.03623048961162567,
0.024712545797228813,
-0.03429868072271347,
-0.02250737138092518,
0.041916560381650925,
-0.05321580916643143,
0.04986248165369034,
0.012647866271436214,
-0.0036768114659935236,
0.03983895853161812,
-0.03798004984855652,
-0.0018657426116988063,
0.0049570887349545956,
0.007289836648851633,
-0.058719635009765625,
-0.018971798941493034,
0.01979190669953823,
-0.06761323660612106,
0.04501474276185036,
0.023819541558623314,
-0.0013759566936641932,
-0.021322771906852722,
0.015463566407561302,
-0.017759865149855614,
0.018680205568671227,
-0.00649251090362668,
0.030198147520422935,
-0.021833060309290886,
-0.026042941957712173,
-0.003337378380820155,
0.0021049403585493565,
-0.028302790597081184,
-0.020903605967760086,
-0.036576755344867706,
-0.04585307091474533,
0.004109645262360573,
0.0002085861488012597,
-0.02812054567039013,
-0.022671392187476158,
-0.018935350701212883,
-0.0427548922598362,
-0.030161699280142784,
0.011845984496176243,
0.028539709746837616,
0.041989460587501526,
0.01919049583375454,
0.06586367636919022,
0.029031774029135704,
-0.00041062282980419695,
-0.013704893179237843,
-0.048987701535224915,
0.0042212712578475475,
-0.03446270152926445,
-0.005499270744621754,
-0.02686304785311222,
-0.007877579890191555,
-0.04064083844423294,
0.04016700014472008,
0.037469759583473206,
0.00984127912670374,
0.019482089206576347,
-0.004218992777168751,
0.03754265978932381,
-0.03608469292521477,
0.009914177469909191,
0.0427548922598362,
-0.0052259014919400215,
0.0596308633685112,
-0.04322873055934906,
-0.02234334871172905,
0.082083560526371,
-0.06440570950508118,
-0.0015684539685025811,
0.03885482996702194,
-0.06524404138326645,
0.029159346595406532,
-0.03615758940577507,
-0.053142908960580826,
-0.01149060484021902,
0.06608236581087112,
-0.05587659776210785,
0.052741967141628265,
-0.003269036067649722,
0.03293183818459511,
0.018251927569508553,
0.020101724192500114,
0.04180721193552017,
0.04953444004058838,
0.0002740807831287384,
-0.012174027040600777,
0.02977898344397545,
0.037141717970371246,
-0.04133337363600731,
0.001098601147532463,
-0.03480897098779678,
-0.028138769790530205,
-0.04315583407878876,
-0.022124653682112694,
0.008606563322246075,
-0.02194240875542164,
0.035337481647729874,
-0.04435865581035614,
-0.018971798941493034,
0.017176678404211998,
0.054928917437791824,
0.012046455405652523,
-0.012246925383806229,
-0.026407433673739433,
0.07395539432764053,
-0.006852446589618921,
-0.04537923261523247,
0.014953277073800564,
-0.012082904577255249,
-0.015026175417006016,
-0.03243977203965187,
-0.017787201330065727,
0.006752211134880781,
-0.03229397535324097,
0.003916009329259396,
0.04107822850346565,
-0.021541466936469078,
0.014233405701816082,
0.01519019715487957,
0.04220815375447273,
-0.007663440890610218,
0.019372740760445595,
0.009886841289699078,
0.012875674292445183,
0.0013155876658856869,
-0.027245763689279556,
-0.028248116374015808,
0.012328935787081718,
-0.03260379284620285,
0.0059685539454221725,
0.010943867266178131,
0.014898603782057762,
0.0015559245366603136,
-0.008770585060119629,
-0.001979646272957325,
-0.061672016978263855,
-0.015281319618225098,
0.006879783235490322,
-0.02735511213541031,
0.06072434037923813,
-0.06495244801044464,
-0.02504058927297592,
0.02529573254287243,
0.010114648379385471,
-0.0024876566603779793,
-0.018971798941493034,
0.013413299806416035,
0.04916994646191597,
-0.010069087147712708,
-0.0008821841329336166,
-0.015326881781220436,
-0.00400941027328372,
0.05245037376880646,
0.03566552698612213,
-0.018525296822190285,
0.0035970788449048996,
-0.007740895263850689,
0.0039068968035280704,
-0.056787826120853424,
0.01857997104525566,
-0.04249974712729454,
-0.050190526992082596,
-0.03754265978932381,
0.02068491093814373,
0.015846282243728638,
0.008191954344511032,
-0.017923885956406593,
0.022962985560297966,
0.05365319922566414,
-0.0023714748676866293,
0.06695714592933655,
-0.03834453970193863,
-0.0024694320745766163,
-0.06994598358869553,
0.03754265978932381,
0.023236354812979698,
0.015099073760211468,
0.023017659783363342,
0.004824960604310036,
0.0006737403455190361,
0.010296894237399101,
-0.03603001683950424,
0.009795717895030975,
0.031218726187944412,
-0.0038157738745212555,
0.0013372293906286359,
-0.00427366653457284,
-0.05933926999568939,
-0.0930183157324791,
-0.021796612069010735,
0.01379601564258337,
0.011299246922135353,
0.017194902524352074,
0.07209648191928864,
0.03418933227658272,
-0.00007044231460895389,
-0.018352163955569267,
0.022999433800578117,
0.020539114251732826,
0.12560388445854187,
0.03983895853161812,
0.00530335633084178,
-0.04643625766038895,
-0.052012983709573746,
-0.053434502333402634,
-0.0057726395316421986,
-0.023127006366848946,
0.052304577082395554,
0.10388017445802689,
-0.015481790527701378,
0.004979869816452265,
0.007253387477248907,
0.059485066682100296,
-0.024147583171725273,
0.002216565888375044,
-0.0743563324213028,
0.05554855614900589,
-0.007180489134043455,
-0.007408296689391136,
-0.01906292326748371,
-0.03921931982040405,
-0.009075846523046494,
0.02884952910244465,
-0.03878192976117134,
-0.052778419107198715,
-0.01092564221471548,
-0.004966201260685921,
-0.010479140095412731,
-0.036376286298036575,
0.01221958827227354,
-0.00015903804160188884,
0.008374200202524662,
-0.09382019937038422,
0.026717251166701317,
0.05999535694718361,
-0.019664334133267403,
-0.013121705502271652,
-0.020958280190825462,
0.031218726187944412,
0.009043953381478786,
0.013960037380456924,
-0.006191805005073547,
0.013759566470980644,
0.01736803539097309,
0.03550150617957115,
-0.0362851619720459,
0.03954736515879631,
-0.019463863223791122,
-0.004542479291558266,
-0.040786635130643845,
-0.020393317565321922,
0.05824579298496246,
-0.02214287966489792,
0.028740180656313896,
-0.06014115363359451,
-0.038599684834480286,
0.04811292141675949,
0.010834519751369953,
-0.013704893179237843,
-0.09192483872175217,
-0.03014347516000271,
-0.05503826588392258,
-0.07945922017097473,
-0.04632691293954849,
-0.00893004983663559,
0.006073344964534044,
-0.019208719953894615,
0.023983562365174294,
-0.0019420580938458443,
-0.0002524390583857894,
-0.05438218265771866,
0.0013121706433594227,
0.014670796692371368,
0.029742533341050148,
0.008501771837472916,
0.009731931611895561,
-0.011472380720078945,
-0.03867258504033089,
-0.008328638039529324,
-0.05660558119416237,
0.06815997511148453,
-0.04406706243753433,
-0.03943801671266556,
-0.027409786358475685,
-0.048586759716272354,
-0.02775605209171772,
0.07282546907663345,
0.03954736515879631,
0.013960037380456924,
0.06743098795413971,
-0.030362170189619064,
-0.020047049969434738,
0.02573312260210514,
-0.03233042731881142,
-0.007663440890610218,
0.01979190669953823,
-0.0783657431602478,
0.031492095440626144,
-0.03624871373176575,
0.037269290536642075,
0.02496769092977047,
0.020794259384274483,
-0.0027724159881472588,
-0.0669206976890564,
0.03595712035894394,
0.027901850640773773,
-0.003654030617326498,
0.04738393798470497,
0.011627289466559887,
0.040021203458309174,
-0.003628971753641963,
-0.04100533202290535,
0.0007033553556539118,
0.001801956444978714,
-0.00003127012314507738,
0.025022365152835846,
0.016976207494735718,
-0.02500413917005062,
-0.022470921277999878,
0.03397063910961151,
0.08106297999620438,
-0.05514761433005333,
-0.014005598612129688,
0.0040800306014716625,
-0.0195185374468565,
-0.016812186688184738,
-0.049716684967279434,
-0.06010470166802406,
0.010260445065796375,
0.027136417105793953,
-0.028266342356801033,
0.032822489738464355,
-0.0558401495218277,
0.03300473466515541,
-0.012301599606871605,
0.047930676490068436,
0.06119817867875099,
-0.007822905667126179,
-0.001725640962831676,
0.0011213818797841668,
0.023491498082876205,
-0.03329632803797722,
-0.0051347785629332066,
-0.012738989666104317,
-0.044103510677814484,
0.06302063912153244,
0.06418701261281967,
-0.010306006297469139,
-0.08390601724386215,
0.03158321604132652,
-0.03808939829468727,
0.04800357297062874,
-0.0102422209456563,
-0.0023851434234529734,
0.05223168060183525,
-0.0022313734516501427,
-0.019974151626229286,
0.010816294699907303,
-0.0223069004714489,
0.003232586896046996,
0.01640213280916214,
-0.10971204191446304,
-0.014014710672199726,
0.06928990036249161,
-0.03158321604132652,
-0.024530300870537758,
0.03841743990778923,
-0.019609659910202026,
-0.009039397351443768,
-0.041588518768548965,
-0.03161966800689697,
0.04880545660853386,
0.0035788542591035366,
0.06119817867875099,
-0.008715910837054253,
0.019482089206576347,
0.0270635187625885,
0.02884952910244465,
-0.009340102784335613,
-0.028703732416033745,
0.031328074634075165,
-0.05518406257033348,
-0.001757534104399383,
-0.017276912927627563,
0.030198147520422935,
-0.00939477700740099,
-0.020138174295425415,
-0.06251034885644913,
0.05409058928489685,
-0.006469729822129011,
-0.025386856868863106,
-0.008656680583953857,
0.059485066682100296,
0.0050664362497627735,
0.041552070528268814,
-0.017422709614038467,
-0.015326881781220436,
0.06185426563024521,
-0.01857997104525566,
0.02254381962120533,
0.0522681288421154,
-0.03914642333984375,
-0.013322176411747932
]
|
40,790 | pyglove.core.typing.class_schema | to_json | null | def to_json(self, **kwargs: Any) -> Dict[str, Any]:
return self.to_json_dict(
fields=dict(
key_spec=(self._key, None),
value_spec=(self._value, None),
description=(self._description, None),
metadata=(self._metadata, {}),
),
exclude_default=True,
**kwargs,
)
| (self, **kwargs: Any) -> Dict[str, Any] | [
-0.01767754927277565,
-0.10754544287919998,
0.05178669095039368,
-0.036853987723588943,
-0.04144434258341789,
-0.006693486124277115,
-0.0006352722411975265,
0.0010457108728587627,
-0.002775290748104453,
-0.021190574392676353,
0.009958258830010891,
0.038521505892276764,
0.02064722590148449,
0.015588468872010708,
0.040545009076595306,
0.013002881780266762,
-0.010941905900835991,
-0.022071173414587975,
0.036291904747486115,
0.025968290865421295,
0.03110199235379696,
-0.04571618139743805,
0.034324608743190765,
0.018576882779598236,
0.0161037128418684,
0.030596116557717323,
-0.017396505922079086,
-0.03557993099093437,
0.001960268709808588,
0.04238114878535271,
-0.051561858505010605,
-0.036160752177238464,
0.010342349298298359,
0.06741262972354889,
-0.00960227195173502,
-0.011410309933125973,
-0.039533257484436035,
0.032488469034433365,
-0.10597161203622818,
0.007653713226318359,
-0.03709755837917328,
0.032132480293512344,
-0.09727804362773895,
-0.030296338722109795,
0.05643325671553612,
-0.016309810802340508,
0.03136429935693741,
0.03912106156349182,
0.06033037230372429,
-0.04073236882686615,
0.008215797133743763,
0.02949068509042263,
-0.017574500292539597,
0.020815851166844368,
-0.022164853289723396,
-0.06119223311543465,
0.01933569647371769,
0.013433813117444515,
-0.03728491812944412,
0.04830177128314972,
-0.0641525462269783,
0.03968314453959465,
0.001331437029875815,
-0.023907314985990524,
-0.017049888148903847,
-0.02598702721297741,
-0.03908358886837959,
-0.01903591863811016,
0.00850620772689581,
0.052048999816179276,
0.012590686790645123,
-0.07483214139938354,
0.021321726962924004,
0.016572115942835808,
0.006187610328197479,
0.0285351425409317,
-0.023645009845495224,
0.0004792353429365903,
-0.008028436452150345,
-0.0673002153635025,
-0.023869842290878296,
-0.0028596033807843924,
-0.06134212389588356,
-0.014417460188269615,
0.024656761437654495,
-0.002693320158869028,
-0.036853987723588943,
0.030989576131105423,
0.04627826809883118,
-0.028385253623127937,
-0.02313913404941559,
0.025387469679117203,
-0.019841572269797325,
0.07273370027542114,
0.013593070209026337,
-0.05354788899421692,
-0.05141196772456169,
-0.0023197683040052652,
0.02025376819074154,
0.04050753638148308,
-0.006211030762642622,
-0.0014309727121144533,
-0.023570064455270767,
-0.00944769848138094,
0.017302826046943665,
-0.07670576125383377,
-0.028891129419207573,
-0.011241684667766094,
-0.026268068701028824,
-0.004384256899356842,
-0.04249356687068939,
0.06613857299089432,
0.001263518468476832,
-0.048189353197813034,
0.009780265390872955,
0.03634811192750931,
0.02664279192686081,
0.004299944266676903,
-0.0016171630704775453,
-0.053173165768384933,
-0.03810930997133255,
0.05744500830769539,
0.02611817978322506,
0.05028780177235603,
0.006960476282984018,
0.015494788065552711,
-0.03005276992917061,
0.021490352228283882,
0.06853680312633514,
-0.008459367789328098,
0.005883147940039635,
-0.007325830869376659,
0.01327455509454012,
-0.026305541396141052,
0.049950551241636276,
0.02280188351869583,
0.07041041553020477,
0.05010043829679489,
0.0604802630841732,
0.062241457402706146,
0.0369289331138134,
-0.0057426271960139275,
0.008061224594712257,
-0.019092127680778503,
-0.026717735454440117,
-0.04931352287530899,
0.055496446788311005,
0.015869511291384697,
-0.06186673417687416,
-0.06613857299089432,
0.0819893479347229,
-0.0017658811993896961,
0.02034744806587696,
-0.01264689490199089,
0.005976828746497631,
-0.008201745338737965,
0.011269788257777691,
-0.034193456172943115,
0.0005108525510877371,
0.041856538504362106,
0.0335189551115036,
-0.017490187659859657,
0.043954987078905106,
-0.004325706511735916,
0.001084354124031961,
0.06167937442660332,
0.05643325671553612,
-0.08258890360593796,
0.02808547392487526,
-0.004032954107969999,
-0.021153101697564125,
-0.007574084680527449,
0.00556931784376502,
0.004206263460218906,
-0.050512634217739105,
0.04429223760962486,
0.04837671294808388,
0.03934589400887489,
-0.007433563936501741,
0.048451658338308334,
0.048189353197813034,
-0.059918176382780075,
-0.02523758076131344,
0.04755232483148575,
0.09105764329433441,
-0.07906651496887207,
0.020272504538297653,
-0.000349838868714869,
-0.017124831676483154,
0.014792182482779026,
0.05084988474845886,
0.013658646494150162,
0.004885448608547449,
0.016778213903307915,
-0.013789799064397812,
-0.05122460797429085,
0.03185143694281578,
-0.06868669390678406,
-0.015241850167512894,
0.05984323099255562,
-0.05178669095039368,
-0.008412526920437813,
-0.02025376819074154,
0.01325581967830658,
-0.020272504538297653,
-0.027317292988300323,
0.04133192449808121,
-0.08153968304395676,
0.032994344830513,
-0.04417981952428818,
-0.004735559690743685,
-0.027467181906104088,
-0.04758979752659798,
-0.021771395578980446,
0.03859644755721092,
-0.05751994997262955,
0.014632925391197205,
-0.003374847350642085,
-0.02353259176015854,
0.017818069085478783,
0.04249356687068939,
-0.021509088575839996,
-0.00971468910574913,
-0.017996063455939293,
0.024000996723771095,
-0.009297809563577175,
-0.0011452465550974011,
-0.065988689661026,
-0.02415088564157486,
-0.03818425536155701,
-0.052348777651786804,
-0.011400941759347916,
-0.05452216789126396,
0.028291571885347366,
0.0016839106101542711,
0.04695276916027069,
-0.0002983144950121641,
-0.06951107829809189,
0.0018946921918541193,
-0.026492903009057045,
0.05658314377069473,
-0.019485585391521454,
-0.001466103014536202,
0.019260752946138382,
-0.0010761570883914828,
-0.036160752177238464,
0.06647582352161407,
0.07670576125383377,
0.058044563978910446,
0.00011885738786077127,
0.06460221111774445,
-0.018745508044958115,
0.0026722420006990433,
0.06325320899486542,
-0.006801219191402197,
-0.031570397317409515,
0.023251550272107124,
0.04833924397826195,
0.042905762791633606,
-0.033575162291526794,
0.016946839168667793,
-0.011129267513751984,
-0.08423768728971481,
0.017649443820118904,
0.04875143617391586,
0.0029860723298043013,
0.02516263723373413,
0.016216129064559937,
-0.039046116173267365,
0.025312526151537895,
0.050774939358234406,
-0.04133192449808121,
-0.030108977109193802,
-0.05564633756875992,
-0.0021488009952008724,
-0.0013794483384117484,
-0.029078489169478416,
-0.09727804362773895,
-0.01166324783116579,
-0.019354432821273804,
0.0030024664010852575,
-0.03192638233304024,
0.04076984152197838,
-0.008960559032857418,
0.08109001815319061,
-0.03005276992917061,
0.014305043034255505,
0.018426993861794472,
-0.01592571847140789,
-0.01541984360665083,
0.01627233810722828,
0.013330764137208462,
-0.09030819684267044,
0.013208978809416294,
0.04358026385307312,
0.016244234517216682,
-0.022014964371919632,
-0.03754722699522972,
0.04211884364485741,
0.02490033023059368,
-0.008548364043235779,
0.017864909023046494,
0.04286829009652138,
0.03794068470597267,
-0.05744500830769539,
0.01929822377860546,
0.01763070747256279,
0.0038409088738262653,
-0.026417957618832588,
0.0035130262840539217,
-0.06497693806886673,
0.03529888764023781,
0.05425986275076866,
0.058606646955013275,
-0.06059267744421959,
-0.029284587129950523,
-0.0022202327381819487,
0.03166407719254494,
0.014857759699225426,
0.02100321277976036,
-0.025668513029813766,
-0.004904184956103563,
-0.04080731421709061,
-0.033406537026166916,
0.1176629588007927,
-0.05437228083610535,
0.007925387471914291,
-0.004562250338494778,
0.07546917349100113,
0.047364961355924606,
0.009185392409563065,
-0.08243902027606964,
0.03975808992981911,
0.08131484687328339,
-0.06486451625823975,
0.03188890963792801,
0.01824900135397911,
-0.0021581691689789295,
-0.05433480814099312,
0.03426840156316757,
-0.03424966335296631,
-0.034193456172943115,
0.021902548149228096,
-0.02349512092769146,
-0.06272859871387482,
-0.02235221490263939,
0.04459201544523239,
-0.06617604941129684,
0.0008214626577682793,
-0.047664742916822433,
0.006093929521739483,
0.01209417823702097,
0.059918176382780075,
0.06272859871387482,
-0.02179013192653656,
-0.05219888687133789,
0.0038245145697146654,
-0.02471296861767769,
-0.030090240761637688,
-0.014070841483771801,
0.023869842290878296,
0.01829584129154682,
0.02808547392487526,
0.005147754680365324,
0.03387494012713432,
0.039046116173267365,
0.024563079699873924,
0.014792182482779026,
0.05242371931672096,
-0.03634811192750931,
-0.006890215445309877,
-0.012740575708448887,
0.012749943882226944,
-0.02471296861767769,
-0.0019157703500241041,
0.04144434258341789,
0.002303374232724309,
0.00813616905361414,
-0.0788416787981987,
-0.02405720390379429,
-0.017827438190579414,
-0.02503148280084133,
-0.03870886564254761,
0.026399221271276474,
0.039308421313762665,
0.04148181527853012,
0.07119733095169067,
-0.032001327723264694,
0.0056067900732159615,
-0.04039511829614639,
-0.06838691234588623,
-0.008028436452150345,
-0.02520010806620121,
0.04283081740140915,
-0.018829820677638054,
-0.05410997197031975,
0.01915770396590233,
0.016244234517216682,
0.007278990466147661,
0.0028853656258434057,
-0.026043234393000603,
-0.07198425382375717,
-0.006698170211166143,
-0.013874111697077751,
0.03434334695339203,
-0.06516429781913757,
0.02608070708811283,
-0.028029266744852066,
0.061979152262210846,
0.010820121504366398,
-0.009391490370035172,
-0.037303656339645386,
-0.021546561270952225,
0.00005200010855332948,
0.05868159234523773,
0.02467549778521061,
-0.04455454275012016,
-0.000998285016976297,
-0.009780265390872955,
0.009911417961120605,
0.0034052934497594833,
0.028403988108038902,
-0.007236834149807692,
0.026193125173449516,
0.03162660449743271,
-0.0010902091162279248,
-0.011054323054850101,
-0.012037970125675201,
0.03972061723470688,
0.02611817978322506,
0.027336029335856438,
0.02327028661966324,
-0.017818069085478783,
-0.006454600486904383,
0.028460197150707245,
0.047927048057317734,
0.06793724745512009,
-0.07382038980722427,
0.010679599829018116,
0.035636138170957565,
0.01199113018810749,
-0.015438579954206944,
-0.04515409842133522,
0.04388004168868065,
0.035074055194854736,
-0.004833924118429422,
-0.0020996187813580036,
0.02143414504826069,
0.026417957618832588,
0.013593070209026337,
0.07576895505189896,
0.026268068701028824,
0.024000996723771095,
-0.08386296778917313,
-0.04440465196967125,
-0.026324277743697166,
-0.012225331738591194,
-0.053360529243946075,
0.01541984360665083,
-0.022464632987976074,
0.04301817715167999,
-0.004044664092361927,
-0.061754319816827774,
0.003157039638608694,
0.008346950635313988,
-0.006890215445309877,
-0.040882259607315063,
0.0026980042457580566,
-0.052348777651786804,
0.04875143617391586,
0.04455454275012016,
0.06119223311543465,
-0.04942593723535538,
-0.0021417750976979733,
-0.05373525246977806,
0.03119567409157753,
0.02047860063612461,
-0.0021698791533708572,
-0.047627270221710205,
-0.040320172905921936,
0.0023232814855873585,
0.0002904101856984198,
-0.014417460188269615,
-0.03990798071026802,
0.056545671075582504,
0.05021285638213158,
0.007925387471914291,
-0.028403988108038902,
-0.02458181604743004,
0.009967627003788948,
-0.01199113018810749,
0.0002964115992654115,
-0.023738689720630646,
0.06610110402107239,
0.011260420083999634,
0.03803436458110809,
0.01635665073990822,
-0.001286938670091331,
-0.006796535104513168,
0.010988746769726276,
0.009241601452231407,
0.01640349067747593,
-0.011625775136053562,
0.04073236882686615,
-0.07460731267929077,
-0.018080376088619232,
0.003269456559792161,
0.020703434944152832,
-0.01428630668669939,
0.008478103205561638,
0.0013935004826635122,
0.027898112311959267,
0.030090240761637688,
-0.014295674860477448,
-0.00855304766446352,
-0.0022694149520248175,
-0.04275587201118469,
0.03224489837884903,
-0.02926585078239441,
-0.033144231885671616,
-0.01920454390347004,
0.08243902027606964,
-0.01435188390314579,
-0.01467976626008749,
-0.035804763436317444,
0.09420531243085861,
-0.02100321277976036,
-0.021808868274092674,
0.0004086820699740201,
0.01584140583872795,
0.00853431224822998,
-0.03557993099093437,
-0.041369397193193436,
0.055496446788311005,
-0.051262080669403076,
0.02169645018875599,
0.03254467621445656,
0.11279156804084778,
-0.02844146080315113,
-0.02536873333156109,
0.06036784499883652,
0.011335364542901516,
-0.02471296861767769,
-0.04002039507031441,
0.023832371458411217,
0.0010919657070189714,
0.040095340460538864,
0.03998292237520218,
0.002866629511117935,
-0.008014383725821972,
-0.009072976186871529,
-0.01850193925201893,
0.01706862449645996,
0.00415473897010088,
-0.03365010768175125,
0.018211528658866882,
0.020703434944152832,
-0.023476384580135345,
0.01693747006356716,
-0.004810504149645567,
0.025612303987145424,
0.02182760275900364,
-0.0019099153578281403,
0.03018392249941826,
-0.05216141417622566,
0.05980576202273369,
-0.00012778633390553296,
0.09068291634321213,
-0.0840877965092659,
0.009171340614557266,
-0.033631373196840286,
0.030352547764778137,
0.022858090698719025,
0.007972227409482002,
0.015785198658704758,
-0.02520010806620121,
-0.003000124590471387,
0.0353550985455513,
-0.013892848044633865,
-0.02454434335231781,
-0.03706008568406105,
0.02546241506934166,
0.04275587201118469,
-0.014857759699225426,
-0.009770897217094898,
0.007353934925049543,
-0.02424456551671028,
0.019635474309325218,
0.02349512092769146,
0.005077493842691183,
-0.0018490228103473783,
0.02997782453894615,
0.000990087864920497,
-0.012871728278696537,
0.03990798071026802,
-0.05321063846349716,
-0.022633258253335953,
-0.025705983862280846,
0.024919066578149796,
-0.017480818554759026,
-0.0604802630841732,
-0.014033368788659573,
-0.019747892394661903,
0.006403075996786356,
0.012834256514906883,
0.02458181604743004,
-0.004974445328116417,
0.04301817715167999,
-0.00830947794020176,
-0.03192638233304024,
-0.05381019413471222,
-0.0014848391292616725,
-0.03691019490361214,
-0.032750774174928665,
-0.024994011968374252,
-0.004442807286977768,
-0.0184644665569067,
-0.015457316301763058,
-0.006880847737193108,
-0.055421505123376846,
0.028403988108038902,
-0.023382702842354774,
-0.0010960642248392105,
0.022914299741387367,
-0.04069489613175392,
-0.046053431928157806,
-0.05268602818250656,
0.03389367833733559,
-0.024094676598906517,
0.013152770698070526,
-0.009288441389799118,
-0.023869842290878296,
0.04076984152197838,
0.01710609532892704,
-0.014473668299615383,
-0.014417460188269615,
-0.016693901270627975,
-0.0017553421203047037,
0.03123314678668976,
0.002833841135725379,
0.016375387087464333,
0.017518291249871254,
-0.047102656215429306,
0.02568724937736988,
-0.06276606768369675,
0.039533257484436035,
0.008951190859079361,
-0.020497336983680725,
0.007625609170645475,
-0.06497693806886673,
-0.009438330307602882,
0.011981762014329433,
0.0032717986032366753,
-0.04987560585141182,
-0.020853323861956596,
0.0063796560280025005,
-0.07007316499948502,
0.028291571885347366,
-0.004550539888441563,
-0.03037128411233425,
-0.013452548533678055,
0.011710087768733501,
-0.06471462547779083,
-0.05474700406193733,
0.03308802470564842,
0.02287682704627514,
-0.05905631557106972,
-0.01915770396590233,
0.033181704580783844,
-0.0010240471456199884,
0.047664742916822433,
-0.012937304563820362,
0.013949056155979633,
0.03968314453959465,
-0.04076984152197838,
0.002311571268364787,
-0.0008466393337585032,
0.031570397317409515,
-0.006829323247075081,
-0.040095340460538864,
-0.0024427243042737246,
0.011101162992417812,
-0.029209643602371216,
0.08431263267993927,
-0.010323612950742245,
-0.01264689490199089,
-0.04931352287530899,
0.024394454434514046,
0.0157102532684803,
-0.002880681538954377,
0.058044563978910446,
-0.056770507246255875,
-0.04747737944126129,
0.002908785827457905,
0.014707869850099087,
-0.03093336708843708,
0.044254764914512634,
-0.011485254392027855,
0.02152782492339611,
-0.02235221490263939,
-0.0018501938320696354,
-0.023345230147242546,
0.03290066123008728,
0.027054985985159874,
0.046877823770046234,
-0.02090953290462494,
0.0305024366825819,
-0.011335364542901516,
0.021490352228283882,
-0.04567870870232582,
-0.050999775528907776,
0.09952637553215027,
-0.004773031920194626,
-0.04301817715167999,
-0.00009141187183558941,
0.004203921649605036,
0.05766984075307846,
-0.00103868474252522,
0.010801385156810284,
0.010473502799868584,
0.00004958490171702579,
0.033500220626592636,
-0.036291904747486115,
0.007269622292369604,
0.015944454818964005,
-0.00724151823669672,
-0.04597849026322365,
-0.013789799064397812,
-0.003208564128726721,
-0.004599722567945719,
0.007372671272605658,
-0.0047472696751356125,
-0.030746007338166237,
-0.05021285638213158,
0.013780430890619755,
-0.05433480814099312,
0.01645033061504364,
-0.031607870012521744,
-0.022033700719475746,
0.02156529761850834,
-0.007110365200787783,
0.05928114801645279,
0.0065435972064733505,
0.046353209763765335,
0.03256341069936752,
-0.00047308753710240126,
0.03439955413341522,
0.04358026385307312,
0.008108064532279968,
-0.040357645601034164,
-0.020141350105404854,
0.023082925006747246,
-0.023663746193051338,
-0.010398558340966702,
0.012272171676158905,
-0.0161037128418684,
0.007129101548343897,
0.07981596142053604,
0.06063015013933182,
0.020328711718320847,
-0.061229705810546875,
-0.05189910903573036,
-0.009836473502218723,
-0.02765454351902008,
-0.004597380291670561,
0.05253613740205765,
0.021902548149228096,
-0.01986030861735344
]
|
40,791 | pyglove.core.symbolic.base | FieldUpdate | Class that describes an update to a field in an object tree. | class FieldUpdate(object_utils.Formattable):
"""Class that describes an update to a field in an object tree."""
def __init__(self,
path: object_utils.KeyPath,
target: 'Symbolic',
field: Optional[pg_typing.Field],
old_value: Any,
new_value: Any):
"""Constructor.
Args:
path: KeyPath of the field that is updated.
target: Parent of updated field.
field: Specification of the updated field.
old_value: Old value of the field.
new_value: New value of the field.
"""
self.path = path
self.target = target
self.field = field
self.old_value = old_value
self.new_value = new_value
def format(self,
compact: bool = False,
verbose: bool = True,
root_indent: int = 0,
*,
python_format: bool = False,
hide_default_values: bool = False,
hide_missing_values: bool = False,
**kwargs) -> str:
"""Formats this object."""
kwargs.update({
'python_format': python_format,
'hide_default_values': hide_default_values,
'hide_missing_values': hide_missing_values,
})
details = object_utils.kvlist_str([
('parent_path', self.target.sym_path, None),
('path', self.path.path, None),
('old_value', object_utils.format(
self.old_value, compact, verbose, root_indent + 1, **kwargs),
object_utils.MISSING_VALUE),
('new_value',
object_utils.format(
self.new_value, compact, verbose, root_indent + 1, **kwargs),
object_utils.MISSING_VALUE),
])
return f'{self.__class__.__name__}({details})'
def __eq__(self, other: Any) -> bool:
"""Operator ==."""
if not isinstance(other, self.__class__):
return False
return (self.path == other.path and self.target is other.target and
self.field is other.field and self.old_value == other.old_value and
self.new_value == other.new_value)
def __ne__(self, other: Any) -> bool:
"""Operator !=."""
return not self.__eq__(other)
| (path: pyglove.core.object_utils.value_location.KeyPath, target: 'Symbolic', field: Optional[pyglove.core.typing.class_schema.Field], old_value: Any, new_value: Any) | [
0.0576794408261776,
-0.0530710332095623,
-0.02155546098947525,
0.04994920641183853,
-0.02679566852748394,
-0.08399196714162827,
-0.019678650423884392,
-0.026182452216744423,
0.012561631388962269,
-0.08265404403209686,
-0.011948415078222752,
-0.03928297013044357,
0.061841875314712524,
0.020310448482632637,
-0.024565793573856354,
0.02545774355530739,
-0.03753623366355896,
0.00786031037569046,
0.05976065993309021,
0.019139762967824936,
0.03738757595419884,
-0.009393350221216679,
0.04783082380890846,
0.033429548144340515,
0.00964421033859253,
-0.029490100219845772,
0.03324372321367264,
0.012989023700356483,
-0.010331755504012108,
-0.008673286065459251,
0.026182452216744423,
-0.0401005893945694,
0.0022217456717044115,
0.03781496733427048,
-0.002413375535979867,
-0.0726567730307579,
-0.02207576483488083,
0.052959538996219635,
-0.07975520938634872,
-0.017987661063671112,
0.011939124204218388,
-0.008083297871053219,
-0.04199598357081413,
-0.04753350839018822,
0.035120535641908646,
0.021611208096146584,
-0.0018350015161558986,
0.05957483500242233,
-0.04363122582435608,
-0.00322402804158628,
0.028505239635705948,
-0.020106041803956032,
0.005356346257030964,
0.028951214626431465,
-0.024733033031225204,
-0.012961150147020817,
0.027353137731552124,
0.028022099286317825,
0.027594707906246185,
-0.0059556253254413605,
-0.008654703386127949,
0.03746190667152405,
-0.011846212670207024,
-0.0077720447443425655,
-0.0513986274600029,
-0.05087832361459732,
-0.017374444752931595,
-0.02646118775010109,
-0.05128713324666023,
0.00038209842750802636,
-0.06444339454174042,
-0.027092985808849335,
0.027260225266218185,
0.003642129711806774,
-0.013332796283066273,
-0.005128713324666023,
-0.036904435604810715,
0.03987760469317436,
0.04236762970685959,
-0.053033869713544846,
0.004232117440551519,
-0.024733033031225204,
-0.02408265322446823,
-0.04667872190475464,
0.014522062614560127,
-0.01788545772433281,
0.05470627546310425,
0.03110676072537899,
0.05344267934560776,
0.0024064071476459503,
-0.034525901079177856,
-0.03517628461122513,
0.006684980355203152,
0.008575729094445705,
-0.01496803853660822,
-0.024956021457910538,
-0.011539604514837265,
-0.08637050539255142,
-0.05470627546310425,
0.04875994101166725,
0.07707935571670532,
-0.03389410302042961,
-0.004143851809203625,
-0.0010191226610913873,
0.031218254938721657,
-0.027074402198195457,
-0.029527265578508377,
-0.000875690602697432,
0.0444488488137722,
-0.026684174314141273,
-0.04106687009334564,
-0.023803919553756714,
-0.028282251209020615,
-0.01926983892917633,
0.021072322502732277,
-0.03060503862798214,
-0.014596392400562763,
-0.025847971439361572,
0.03324372321367264,
-0.08347166329622269,
0.04641856998205185,
0.02274472825229168,
-0.023395108059048653,
0.010573325678706169,
0.02155546098947525,
-0.03422858566045761,
0.023209284991025925,
0.02045910619199276,
0.018665915355086327,
0.012617377564311028,
-0.019065434113144875,
-0.0007572284666821361,
-0.030809443444013596,
0.04084388166666031,
0.06195336952805519,
0.01225502323359251,
0.015163152478635311,
0.01339783426374197,
-0.03175714239478111,
0.051510121673345566,
0.04225613549351692,
-0.03577091544866562,
0.035900991410017014,
-0.04166150465607643,
-0.028783973306417465,
0.003477211808785796,
0.0020742486231029034,
0.05154728516936302,
-0.04541512578725815,
0.02281905710697174,
-0.06094992533326149,
-0.007655905093997717,
0.0310138501226902,
0.042144645005464554,
-0.00015954641276039183,
0.025141844525933266,
-0.0653725117444992,
-0.0775996595621109,
0.016092266887426376,
0.022354500368237495,
0.00832486804574728,
-0.04296226426959038,
0.03722033649682999,
-0.001704925554804504,
0.004097396042197943,
0.05344267934560776,
-0.01495874673128128,
-0.07834295183420181,
-0.044857658445835114,
0.022261587902903557,
-0.0026154578663408756,
-0.025662148371338844,
-0.04823963716626167,
0.06299398094415665,
0.013946011662483215,
0.10339188575744629,
0.0019476567395031452,
0.014494189992547035,
-0.023116374388337135,
-0.03008473478257656,
-0.009226108901202679,
-0.024287058040499687,
0.012654541991651058,
0.049243081361055374,
0.019734395667910576,
0.02781769447028637,
-0.032760586589574814,
-0.017969079315662384,
0.027613289654254913,
0.018164193257689476,
0.004164756741374731,
-0.03272341936826706,
0.02248457632958889,
0.005788384471088648,
-0.004682738333940506,
-0.001292630797252059,
-0.02148113213479519,
-0.02841232717037201,
0.061656054109334946,
0.08837739378213882,
-0.030995266512036324,
-0.027594707906246185,
0.02300488017499447,
0.01559983566403389,
-0.026609845459461212,
0.015441886149346828,
0.05336834862828255,
0.010870642028748989,
-0.058720048516988754,
-0.007939285598695278,
-0.007112373132258654,
0.023711007088422775,
-0.008482817560434341,
0.007609449326992035,
-0.002650299808010459,
-0.027613289654254913,
0.0709843635559082,
0.02729739062488079,
-0.056750327348709106,
0.038688335567712784,
0.059686329215765,
0.00341449654661119,
-0.012951859273016453,
-0.027260225266218185,
0.018805282190442085,
-0.02384108304977417,
0.005839486140757799,
0.03891132399439812,
0.009913654066622257,
-0.07484947890043259,
-0.0003850019129458815,
-0.024026906117796898,
-0.06566982716321945,
0.012803200632333755,
0.0417729988694191,
-0.0028337999247014523,
-0.009486260823905468,
-0.031589899212121964,
-0.0056257895193994045,
-0.021276727318763733,
-0.03920863941311836,
-0.008640767075121403,
-0.017225787043571472,
-0.010935680009424686,
0.005690827500075102,
-0.10257426649332047,
0.030028987675905228,
-0.017727509140968323,
-0.0326862558722496,
-0.010248135775327682,
-0.008905564434826374,
0.016714774072170258,
0.0035840601194649935,
0.030660785734653473,
0.0004497495829127729,
-0.010759148746728897,
-0.05020935833454132,
0.039766110479831696,
0.024714451283216476,
0.007010170724242926,
-0.028356581926345825,
-0.07388320565223694,
-0.03322514146566391,
0.01850796490907669,
0.01731869764626026,
-0.02374817244708538,
0.03939446434378624,
-0.007535120472311974,
0.005360991694033146,
0.027427466586232185,
0.048908598721027374,
-0.011595351621508598,
-0.044931989163160324,
0.06355144828557968,
-0.06291964650154114,
-0.015293228439986706,
0.01419687271118164,
0.009151780046522617,
-0.010136641561985016,
-0.06340278685092926,
0.0145034808665514,
-0.02839374542236328,
0.010118058882653713,
-0.0015794950304552913,
0.04236762970685959,
0.00690796785056591,
-0.046530064195394516,
0.007739525754004717,
-0.04894576221704483,
0.016305962577462196,
0.05715913698077202,
0.0010667397873476148,
0.018368598073720932,
0.022428829222917557,
-0.0004480075149331242,
0.03939446434378624,
-0.06117291375994682,
0.0024737678468227386,
-0.013871682807803154,
-0.045935433357954025,
-0.019548574462532997,
0.05214191973209381,
0.050097864121198654,
0.014261910691857338,
0.030623620375990868,
0.003556186566129327,
0.00419727573171258,
-0.0024714451283216476,
0.06325413286685944,
-0.0038860223721712828,
-0.01717003993690014,
0.02595946565270424,
0.0057187010534107685,
0.057939592748880386,
0.01774609088897705,
0.008231956511735916,
-0.05578404664993286,
-0.016231633722782135,
0.006801119539886713,
0.0321473702788353,
-0.034878965467214584,
0.020477687940001488,
-0.019511409103870392,
0.055746883153915405,
-0.048834268003702164,
-0.10517578572034836,
0.012700998224318027,
0.04530363529920578,
-0.009082096628844738,
0.010684818960726261,
0.0007136762142181396,
-0.01960431970655918,
0.048388294875621796,
0.020106041803956032,
-0.036978766322135925,
-0.030697951093316078,
0.007911412045359612,
-0.06656178086996078,
-0.016714774072170258,
-0.003567800624296069,
0.0802011787891388,
0.031645648181438446,
-0.006517739966511726,
-0.04325957968831062,
-0.010963553562760353,
-0.039951931685209274,
0.03913431242108345,
0.042293302714824677,
0.059463340789079666,
0.03785213455557823,
-0.006898676976561546,
-0.00798109546303749,
-0.03733183071017265,
-0.011521022766828537,
0.013146973215043545,
-0.0524020716547966,
-0.0002479574759490788,
-0.06715641170740128,
-0.023822501301765442,
0.008218019269406796,
0.0427764430642128,
0.0032797749154269695,
-0.0009604723309166729,
-0.003149698954075575,
0.030326304957270622,
-0.014949455857276917,
-0.02071925811469555,
-0.013035479933023453,
-0.013639404438436031,
-0.005119421985000372,
-0.018573002889752388,
-0.04571244493126869,
0.07001808285713196,
-0.07997819781303406,
-0.012310770340263844,
0.04571244493126869,
-0.01504236739128828,
0.04404003918170929,
-0.06834568083286285,
-0.03781496733427048,
0.08049850165843964,
-0.01788545772433281,
-0.04928024485707283,
0.052104752510786057,
-0.015664873644709587,
0.0016515013994649053,
0.052290577441453934,
0.008283057250082493,
0.03701592981815338,
0.018563712015748024,
-0.050246525555849075,
0.023711007088422775,
0.02207576483488083,
-0.008984539657831192,
-0.027873441576957703,
-0.002413375535979867,
0.010638363659381866,
-0.018591584637761116,
-0.039171475917100906,
-0.05556105822324753,
0.034693144261837006,
-0.04816530644893646,
-0.008724386803805828,
0.010545452125370502,
-0.03129258379340172,
-0.02529050223529339,
0.07042689621448517,
0.04099254310131073,
-0.0296759232878685,
0.08585020154714584,
0.030326304957270622,
0.009184299036860466,
-0.02722306177020073,
0.023692425340414047,
0.01010876800864935,
-0.017588142305612564,
-0.012654541991651058,
-0.01979014277458191,
-0.010508287698030472,
0.040955375880002975,
-0.02391541190445423,
0.03458165004849434,
-0.023042045533657074,
0.014949455857276917,
0.027761947363615036,
-0.07577859610319138,
-0.014085379429161549,
0.028003517538309097,
0.029880329966545105,
0.08124179393053055,
0.025086097419261932,
-0.005983498878777027,
0.004102041479200125,
-0.0017037640791386366,
-0.003484180197119713,
-0.04980054870247841,
0.055932704359292984,
-0.021016575396060944,
0.02856098674237728,
0.062176357954740524,
0.023655259981751442,
-0.013676568865776062,
0.032760586589574814,
-0.031236836686730385,
-0.027353137731552124,
0.010629072785377502,
-0.0002476671361364424,
0.004989346023648977,
-0.01791333220899105,
0.02805926464498043,
0.04574960842728615,
0.03119967132806778,
-0.011883377097547054,
0.011298035271465778,
-0.052290577441453934,
-0.06600430607795715,
-0.0029685215558856726,
-0.016947051510214806,
0.002961553167551756,
0.023878248408436775,
-0.027873441576957703,
0.07109586149454117,
0.025829389691352844,
0.025847971439361572,
-0.0583484023809433,
-0.05147295445203781,
0.03686727210879326,
-0.023971159011125565,
-0.04608409106731415,
-0.011446692980825901,
-0.003925509750843048,
-0.02672133967280388,
-0.058980200439691544,
0.04920591413974762,
0.00775346253067255,
-0.010406085290014744,
-0.0181456096470356,
-0.05147295445203781,
-0.0948440283536911,
-0.06507519632577896,
-0.009323665872216225,
-0.0407695546746254,
0.02527192048728466,
-0.02882113866508007,
0.044671837240457535,
-0.004341288469731808,
0.06607864052057266,
0.011911250650882721,
0.027854859828948975,
-0.024212729185819626,
-0.02653551660478115,
0.0014308366226032376,
-0.008993830531835556,
-0.02181561291217804,
-0.05061816796660423,
-0.04404003918170929,
-0.04251629114151001,
0.010591907426714897,
-0.01365798618644476,
-0.02908129058778286,
0.02452862821519375,
-0.002415698254480958,
-0.005467840004712343,
0.006643170025199652,
0.035622257739305496,
-0.024900274351239204,
0.04470900073647499,
0.04218180850148201,
0.03279775008559227,
-0.006508448626846075,
0.004097396042197943,
-0.03142265975475311,
0.057790935039520264,
0.006016017869114876,
-0.01888890191912651,
-0.008125107735395432,
-0.023971159011125565,
0.0022879450116306543,
0.017420900985598564,
-0.03645846247673035,
-0.03987760469317436,
-0.006457347422838211,
-0.015915734693408012,
-0.0610242560505867,
-0.0009018220007419586,
0.024491464719176292,
-0.015321101993322372,
-0.0024923502933233976,
0.023450855165719986,
-0.053294021636247635,
0.03465598076581955,
0.010415376164019108,
0.03194296360015869,
-0.017448773607611656,
-0.023655259981751442,
0.09030994772911072,
-0.0014076087391003966,
0.0447833277285099,
-0.08272837102413177,
-0.0012659188359975815,
0.05615569278597832,
0.09135055541992188,
-0.030902355909347534,
-0.008078652434051037,
0.02239166386425495,
0.006815056316554546,
0.017736800014972687,
-0.022688981145620346,
0.01919551007449627,
-0.023971159011125565,
-0.030456380918622017,
0.0222244244068861,
0.07016674429178238,
0.05284804478287697,
-0.03296498954296112,
0.030289139598608017,
-0.02164837345480919,
-0.006652461364865303,
0.05983498692512512,
-0.002031276933848858,
-0.009332957677543163,
-0.025978047400712967,
0.07648472487926483,
-0.00805077888071537,
0.037573400884866714,
0.029471518471837044,
0.021704120561480522,
0.034786056727170944,
0.025680730119347572,
0.06793686747550964,
-0.009820742532610893,
0.040026262402534485,
0.011195831932127476,
-0.022781893610954285,
0.003767560236155987,
-0.032593343406915665,
-0.07700502872467041,
0.02053343504667282,
-0.005319181829690933,
-0.06942345201969147,
-0.00227168551646173,
0.003551540896296501,
0.02958301268517971,
-0.03709026053547859,
-0.000710772757884115,
0.014354822225868702,
-0.0015980773605406284,
0.0696464404463768,
0.03298357129096985,
0.011465275660157204,
-0.06310547143220901,
-0.019418498501181602,
-0.026516934856772423,
0.006020663306117058,
0.022781893610954285,
0.029787417501211166,
-0.05020935833454132,
-0.005031156353652477,
0.044857658445835114,
-0.03493471443653107,
-0.06083843111991882,
0.008868400007486343,
-0.017309406772255898,
-0.011483858339488506,
-0.004327351693063974,
-0.028096428140997887,
0.07871460169553757,
-0.01205061748623848,
0.01890748366713524,
-0.011130793951451778,
0.040620896965265274,
0.04166150465607643,
0.009978692047297955,
0.014317657798528671,
-0.006503803189843893,
-0.030028987675905228,
-0.01569274812936783,
0.020180372521281242,
-0.004905725829303265,
-0.04132702201604843,
-0.05336834862828255,
0.050246525555849075,
-0.03263051062822342,
0.003154344391077757,
-0.06113574653863907,
0.007414335384964943,
0.01128874346613884,
-0.014475607313215733,
-0.01301689725369215,
-0.06540967524051666,
0.003927832469344139,
-0.002104444894939661,
-0.010071603581309319,
0.00042245685472153127,
-0.029787417501211166,
-0.056007035076618195,
-0.0060485368594527245,
-0.02460295706987381,
-0.02917420119047165,
0.06749089062213898,
0.015079531818628311,
-0.0248631089925766,
-0.04623274877667427,
0.053554173558950424,
-0.04322241619229317,
0.007307487074285746,
-0.013648695312440395,
-0.1160278469324112,
0.012784618884325027,
0.009063513949513435,
-0.037146005779504776,
0.07540695369243622,
-0.02908129058778286,
-0.03920863941311836,
0.024993186816573143,
0.022428829222917557,
-0.02536483108997345,
-0.050172194838523865,
0.009216818027198315,
0.01793191395699978,
0.023376526311039925,
-0.04437451809644699,
-0.014865835197269917,
-0.0020997992251068354,
0.02350660227239132,
0.01843363605439663,
0.028096428140997887,
0.042553454637527466,
0.08912068605422974,
0.009151780046522617,
-0.001046996098011732,
-0.0054817767813801765,
-0.0008373646414838731,
0.022874804213643074,
-0.0530710332095623,
-0.05671316385269165,
0.07269393652677536,
0.057939592748880386,
0.016584698110818863,
-0.05087832361459732,
0.0679740309715271,
-0.001962754875421524,
-0.04783082380890846,
0.021072322502732277,
0.0012519820593297482,
0.02172270230948925,
0.027538960799574852,
0.03642129525542259,
0.04203315079212189,
-0.07161616533994675,
-0.03569658845663071,
-0.05704764276742935,
-0.00019221060210838914,
-0.001962754875421524,
-0.025234755128622055,
-0.05596987158060074,
-0.0004471364663913846,
0.03328089043498039,
-0.022949133068323135,
0.019901636987924576,
0.03839102014899254,
0.01348145492374897,
0.01102859154343605,
-0.0029452936723828316,
0.0210537388920784,
0.027278808876872063,
-0.017773965373635292,
-0.024918856099247932,
0.019548574462532997,
0.0056722452864050865,
0.0019209446618333459,
0.09737122058868408,
-0.01703067310154438,
-0.07864026725292206,
0.06366293877363205,
0.02283763885498047,
0.01331421360373497,
0.008218019269406796,
-0.012468719854950905,
-0.013806644827127457,
-0.010433957912027836,
0.03972894698381424,
0.024788780137896538,
-0.006016017869114876,
0.006833638530224562,
0.03718316927552223,
-0.007256385870277882,
-0.03694160282611847,
-0.04233046621084213,
-0.034117091447114944,
0.04597259685397148,
0.0921681821346283,
-0.008840526454150677,
-0.062436509877443314,
0.06444339454174042,
-0.004448136780411005,
0.004717580042779446,
-0.03257476165890694,
0.005844131577759981,
0.07548128068447113,
-0.01572062075138092,
0.04604692384600639,
0.006308688782155514,
0.00648986641317606,
-0.015274645760655403,
0.024956021457910538,
0.006559549830853939,
0.04363122582435608,
-0.006573486607521772,
0.019399914890527725,
0.062102027237415314,
0.004928953479975462,
-0.012998314574360847,
-0.008626829832792282,
0.10889224708080292,
-0.008213373832404613,
-0.030809443444013596,
0.038428183645009995,
0.014707885682582855,
-0.01149314921349287,
-0.02283763885498047,
-0.011279452592134476,
0.026331111788749695,
0.05013503134250641,
0.024454299360513687,
0.04017492011189461,
-0.07276826351881027,
0.03569658845663071
]
|
40,792 | pyglove.core.symbolic.base | __eq__ | Operator ==. | def __eq__(self, other: Any) -> bool:
"""Operator ==."""
if not isinstance(other, self.__class__):
return False
return (self.path == other.path and self.target is other.target and
self.field is other.field and self.old_value == other.old_value and
self.new_value == other.new_value)
| (self, other: Any) -> bool | [
0.0675533339381218,
-0.04675934836268425,
0.004647003952413797,
0.03308956325054169,
-0.0670832097530365,
-0.07941494882106781,
-0.026254668831825256,
0.0034988143015652895,
0.008141297847032547,
-0.005103567615151405,
0.01907622255384922,
-0.0659259781241417,
0.09286775439977646,
0.06654075533151627,
-0.0024161709006875753,
-0.008096093311905861,
-0.04574676975607872,
0.02869570255279541,
0.024862375110387802,
0.022493669763207436,
-0.02254791371524334,
0.012232288718223572,
0.027267245575785637,
0.044227905571460724,
0.021770400926470757,
0.08122312277555466,
0.009926868602633476,
0.012928435578942299,
0.008602381683886051,
0.07106119394302368,
-0.03721219673752785,
-0.0597420297563076,
0.03500622510910034,
0.0027213001158088446,
0.03415638208389282,
-0.013127334415912628,
-0.025025110691785812,
0.0696508139371872,
-0.05283480882644653,
-0.054534491151571274,
-0.016056574881076813,
-0.015161529183387756,
-0.03847791627049446,
-0.011292039416730404,
-0.00251562031917274,
-0.02473580278456211,
-0.04925462603569031,
0.008606902323663235,
0.02784586139023304,
0.028460640460252762,
0.006513942498713732,
-0.006504901684820652,
-0.014501545578241348,
0.06013982743024826,
-0.013271988369524479,
0.01662614941596985,
0.021607665345072746,
0.04053923487663269,
-0.030648529529571533,
0.01911238580942154,
-0.021029049530625343,
0.0027280806098133326,
0.006812290754169226,
-0.04780808836221695,
-0.042817533016204834,
-0.06484107673168182,
-0.05840397998690605,
-0.007264334242790937,
-0.005225619301199913,
0.06147787347435951,
-0.0702294334769249,
-0.005795193836092949,
0.015179610811173916,
0.01867842487990856,
-0.046904001384973526,
0.00216302671469748,
-0.020902477204799652,
0.08071683347225189,
0.04223891720175743,
-0.07305017858743668,
-0.029690196737647057,
-0.04849519580602646,
-0.023506246507167816,
-0.03887571394443512,
-0.081295445561409,
0.033487360924482346,
-0.032474782317876816,
0.005469722673296928,
0.023777471855282784,
-0.007503916975110769,
-0.032113149762153625,
0.019293203949928284,
-0.010532606393098831,
-0.013100211508572102,
0.05149676278233528,
0.030323058366775513,
0.0006396411336027086,
-0.045855261385440826,
-0.03256519138813019,
0.03632619231939316,
0.016146982088685036,
0.034536100924015045,
0.03390324115753174,
0.020631251856684685,
0.015251937322318554,
-0.0013267467729747295,
-0.020179208368062973,
-0.027755452319979668,
-0.007829388603568077,
-0.029455134645104408,
-0.048350539058446884,
0.06379233300685883,
-0.0288222748786211,
0.0295817069709301,
-0.009067986160516739,
-0.009529070928692818,
-0.017909951508045197,
-0.030901672318577766,
-0.005352191627025604,
-0.04947160556912422,
0.04335998371243477,
0.07380961626768112,
0.019944146275520325,
0.04947160556912422,
0.08975769579410553,
0.00661791255697608,
0.037320684641599655,
0.009447703137993813,
-0.0676618292927742,
-0.005460681859403849,
-0.007074476219713688,
-0.016210269182920456,
0.0019211835460737348,
0.07869167625904083,
0.0703379213809967,
0.03164302557706833,
0.001281542470678687,
0.03945432975888252,
0.01394101232290268,
0.019166631624102592,
0.018479526042938232,
-0.004904668778181076,
0.051822230219841,
-0.022421343252062798,
-0.03328846022486687,
0.006319563835859299,
-0.05272631719708443,
0.04610840603709221,
-0.005008638836443424,
0.019166631624102592,
-0.017946114763617516,
0.0017618383280932903,
0.012250370346009731,
-0.005713826045393944,
-0.045927587896585464,
0.0009334692149423063,
-0.031426042318344116,
-0.036796316504478455,
0.014040461741387844,
0.0052075376734137535,
-0.008105134591460228,
-0.036235783249139786,
0.042853694409132004,
-0.02529633790254593,
0.01570397987961769,
0.03822477161884308,
-0.033722423017024994,
-0.03124522604048252,
0.013516091741621494,
0.010170971974730492,
0.002513360232114792,
-0.020034555345773697,
-0.012476392090320587,
0.011029854416847229,
-0.04509582743048668,
0.0454212985932827,
0.014573873020708561,
0.021354520693421364,
-0.00885100569576025,
-0.021282194182276726,
0.016192186623811722,
-0.04401092603802681,
-0.02064933255314827,
0.043468475341796875,
0.07160364091396332,
-0.01842528022825718,
-0.010604933835566044,
-0.026019606739282608,
0.01587575674057007,
0.050375692546367645,
-0.06408164650201797,
-0.021752318367362022,
-0.0009560713660903275,
-0.010650137439370155,
-0.0038966124411672354,
-0.045855261385440826,
0.011970103718340397,
-0.04780808836221695,
0.07268854230642319,
0.11160042136907578,
-0.023108448833227158,
-0.07091653347015381,
0.012575841508805752,
0.025712216272950172,
-0.015342346392571926,
-0.020052636042237282,
0.03222163766622543,
0.0036163455806672573,
0.06664925068616867,
0.0038694897666573524,
-0.04046690836548805,
-0.013461845926940441,
-0.0016793404938653111,
0.008579779416322708,
0.03967130929231644,
0.031823839992284775,
0.0015267758863046765,
-0.02457306906580925,
-0.025079356506466866,
0.060971587896347046,
0.10943061858415604,
-0.006631473544985056,
-0.00746775371953845,
0.0035575800575315952,
0.011011771857738495,
-0.006563667207956314,
-0.01730421371757984,
0.013534173369407654,
-0.016056574881076813,
-0.06469642370939255,
0.05127977952361107,
-0.0033360787201672792,
0.02627275139093399,
-0.014501545578241348,
0.0282436590641737,
0.04918229952454567,
-0.009655642323195934,
0.017647765576839447,
-0.07724513858556747,
-0.013507050462067127,
-0.021426847204566002,
-0.02234901487827301,
0.01828966848552227,
-0.001740366336889565,
0.016119860112667084,
-0.09807529300451279,
0.011897777207195759,
0.026218505576252937,
0.0017652286915108562,
-0.036434680223464966,
0.01295555755496025,
-0.02771928906440735,
-0.04401092603802681,
-0.004036745522171259,
-0.009117711335420609,
-0.008914291858673096,
-0.03059428371489048,
-0.016373004764318466,
0.07160364091396332,
-0.0012487693456932902,
-0.006333125289529562,
0.024066779762506485,
0.009203599765896797,
0.01862417906522751,
-0.040720049291849136,
-0.019980309531092644,
0.005135210696607828,
0.030250729992985725,
0.01527906022965908,
-0.03775464743375778,
0.08628600835800171,
-0.024753885343670845,
-0.03466267138719559,
0.07789608091115952,
-0.048278212547302246,
-0.03184192255139351,
0.031064407899975777,
-0.04191344603896141,
-0.07550929486751556,
-0.05684895068407059,
-0.012503514997661114,
0.0018398157553747296,
0.018660342320799828,
-0.071856789290905,
-0.06006750091910362,
-0.0087063517421484,
-0.01960059255361557,
-0.05739140510559082,
0.008299512788653374,
-0.04296218603849411,
0.04111785069108009,
-0.0042650275863707066,
0.005175894591957331,
0.012214207090437412,
0.025567563250660896,
0.04892915487289429,
-0.010053440928459167,
-0.03992445394396782,
0.01707819104194641,
0.02885843813419342,
0.006649555638432503,
-0.0009057815768755972,
0.022782977670431137,
-0.037609994411468506,
0.036760151386260986,
0.013389519415795803,
0.014582913368940353,
0.049688588827848434,
0.04404708743095398,
0.01562261302024126,
0.017873788252472878,
0.022855304181575775,
-0.0015810211189091206,
0.05565555766224861,
0.034536100924015045,
-0.003148480784147978,
0.0043622166849672794,
-0.03209506720304489,
0.0009651122381910682,
0.057608384639024734,
-0.04748261719942093,
0.04596375301480293,
-0.06697472184896469,
-0.002572125755250454,
-0.05113512650132179,
-0.08476714044809341,
-0.0003915824054274708,
0.05500461533665657,
0.02506127394735813,
0.05948888510465622,
-0.0125487195327878,
-0.0197994913905859,
0.07934261858463287,
0.022059708833694458,
0.013823481276631355,
-0.05008638650178909,
-0.013516091741621494,
0.011834491044282913,
0.019654838368296623,
0.02388596162199974,
0.04509582743048668,
-0.008964017033576965,
0.032474782317876816,
-0.052473172545433044,
0.03847791627049446,
-0.006685718894004822,
-0.02497086673974991,
0.043866273015737534,
0.029274316504597664,
-0.026688629761338234,
-0.04769959673285484,
-0.009800296276807785,
-0.004522692412137985,
-0.0740627571940422,
-0.004945352673530579,
0.004710290115326643,
0.0009758482337929308,
0.006061899475753307,
-0.013154457323253155,
-0.01626451499760151,
0.11478281021118164,
-0.008909771218895912,
0.0033473798539489508,
-0.008408003486692905,
0.011138344183564186,
0.01858801580965519,
-0.014203197322785854,
-0.03500622510910034,
-0.051786068826913834,
-0.032637517899274826,
-0.029238153249025345,
-0.007996643893420696,
0.030377302318811417,
-0.03464458882808685,
-0.012973640114068985,
0.009321130812168121,
-0.06328605115413666,
0.025802625343203545,
-0.012919394299387932,
-0.010415075346827507,
0.09265077114105225,
0.018533771857619286,
-0.014863179996609688,
0.05395587533712387,
-0.013823481276631355,
-0.0076078870333731174,
0.018931569531559944,
-0.012367901392281055,
0.028587210923433304,
0.05218386650085449,
-0.050701163709163666,
-0.02755655348300934,
-0.029039254412055016,
-0.004339614883065224,
-0.03629002720117569,
-0.016382046043872833,
-0.011716959998011589,
0.013317192904651165,
-0.09626711905002594,
-0.020341943949460983,
0.007955959998071194,
0.043793946504592896,
-0.03039538487792015,
0.015450836159288883,
0.01119258999824524,
0.018045565113425255,
0.019383613020181656,
0.029961423948407173,
-0.035349778831005096,
0.04187728092074394,
-0.03337886929512024,
-0.03713987022638321,
0.010161930695176125,
0.011527101509273052,
-0.017683930695056915,
-0.023415837436914444,
0.03753766790032387,
-0.024826211854815483,
0.08201871812343597,
0.00865210685878992,
-0.02856913022696972,
0.0576445497572422,
-0.0433238185942173,
-0.018895406275987625,
0.012367901392281055,
-0.04104552045464516,
0.01567685790359974,
0.07572627812623978,
0.027900105342268944,
0.02545907348394394,
-0.013118293136358261,
-0.034734997898340225,
0.017186682671308517,
0.026688629761338234,
0.019492102786898613,
-0.00034440041054040194,
0.0036434682551771402,
-0.04093703255057335,
0.05807850882411003,
0.026218505576252937,
-0.03927351161837578,
-0.03460842743515968,
-0.008200063370168209,
-0.03757382929325104,
-0.06422629952430725,
-0.055872540920972824,
0.01412182953208685,
0.02097480371594429,
0.045855261385440826,
0.02562180906534195,
0.016192186623811722,
0.04741029068827629,
-0.07084421068429947,
-0.03357776999473572,
-0.0010668219765648246,
-0.032999154180288315,
-0.027086427435278893,
-0.03245669975876808,
0.013543213717639446,
0.0026964377611875534,
-0.038007792085409164,
0.01076766848564148,
-0.009691806510090828,
-0.018199259415268898,
-0.03804395720362663,
0.003191424999386072,
0.013751153834164143,
0.027592716738581657,
0.021065212786197662,
0.05193072184920311,
-0.0016070135170593858,
-0.07746212184429169,
-0.06422629952430725,
0.03455418348312378,
-0.027592716738581657,
0.01244926918298006,
-0.018434321507811546,
0.003537238109856844,
-0.05030336603522301,
-0.02093864046037197,
-0.045565955340862274,
-0.017512153834104538,
0.021119458600878716,
-0.03193233162164688,
0.029111580923199654,
-0.054534491151571274,
-0.007815826684236526,
0.003939556423574686,
0.0031575218308717012,
-0.01671655662357807,
0.014763730578124523,
-0.044878847897052765,
-0.07456904649734497,
0.013751153834164143,
0.0016194446943700314,
-0.018569935113191605,
-0.01871458813548088,
0.025477154180407524,
-0.03261943534016609,
0.03003375045955181,
-0.0009600267512723804,
0.03014224022626877,
-0.024066779762506485,
0.03920118510723114,
0.029455134645104408,
-0.016580944880843163,
0.01194298081099987,
-0.037646155804395676,
-0.03826093673706055,
0.04979707673192024,
0.02594728022813797,
-0.0370313785970211,
0.03327037766575813,
-0.006495860870927572,
0.046867839992046356,
0.027014100924134254,
-0.025856871157884598,
-0.0282436590641737,
-0.025477154180407524,
-0.017295172438025475,
0.024229515343904495,
-0.02408486232161522,
-0.005614376626908779,
-0.07037408649921417,
-0.050014059990644455,
0.005026720464229584,
-0.054172854870557785,
-0.009963031858205795,
0.03949049487709999,
-0.06541968882083893,
-0.003487513167783618,
-0.02513360232114792,
0.0014250661479309201,
0.026742875576019287,
-0.03240245580673218,
0.08823883533477783,
0.005447120405733585,
0.014058543369174004,
-0.013353356160223484,
0.030775099992752075,
0.022656405344605446,
0.03536786139011383,
-0.014239360578358173,
0.01356129627674818,
-0.009456743486225605,
0.03949049487709999,
-0.004102292004972696,
-0.026091933250427246,
0.0491461381316185,
0.03706754371523857,
0.020052636042237282,
0.001974298618733883,
0.0348796546459198,
0.011617510579526424,
-0.029238153249025345,
0.025278255343437195,
0.013244865462183952,
0.022077789530158043,
0.07116968184709549,
0.02169807255268097,
0.023108448833227158,
-0.02905733697116375,
0.0416964627802372,
-0.007879112847149372,
-0.007178445812314749,
-0.044481050223112106,
0.020992886275053024,
-0.011084099300205708,
0.07091653347015381,
0.05493228882551193,
-0.005162333138287067,
0.03563908487558365,
-0.017123395577073097,
-0.04270904138684273,
0.03941816836595535,
-0.03003375045955181,
-0.038333263248205185,
0.042817533016204834,
-0.06802345812320709,
-0.04596375301480293,
-0.017123395577073097,
0.03290874511003494,
0.027068346738815308,
-0.025043193250894547,
0.015993287786841393,
-0.04733796417713165,
-0.0016420469619333744,
0.03581990301609039,
0.002089569577947259,
-0.04885682836174965,
-0.049724750220775604,
0.0348796546459198,
-0.017494071274995804,
-0.04769959673285484,
0.008548136800527573,
-0.009303049184381962,
0.002051146002486348,
-0.024826211854815483,
-0.00661791255697608,
-0.009944950230419636,
0.0023325427900999784,
-0.046542368829250336,
-0.010623015463352203,
-0.045565955340862274,
0.0011301080230623484,
-0.017204763367772102,
-0.006378329358994961,
0.00410681264474988,
0.009691806510090828,
0.02271064929664135,
0.09865390509366989,
0.021047132089734077,
0.05428134649991989,
-0.01374211348593235,
0.015586449764668941,
-0.0058358777314424515,
-0.029165826737880707,
0.06570900231599808,
-0.06158636510372162,
0.043106839060783386,
-0.012946517206728458,
0.020378107205033302,
-0.01562261302024126,
0.017711052671074867,
-0.081295445561409,
-0.045168157666921616,
0.038658734411001205,
-0.05030336603522301,
0.004305711481720209,
-0.05084582045674324,
-0.003912433981895447,
-0.062345799058675766,
0.0211375392973423,
-0.022439423948526382,
-0.014212237671017647,
-0.08628600835800171,
0.01580343022942543,
0.0038898317143321037,
0.0006306002615019679,
0.05912724882364273,
-0.016834089532494545,
0.016192186623811722,
-0.06368384510278702,
0.04364928975701332,
-0.06874673068523407,
0.0089956596493721,
-0.02323502115905285,
-0.059633538126945496,
0.025368664413690567,
-0.022095872089266777,
-0.03603688254952431,
0.06881905347108841,
-0.028080923482775688,
-0.0030964959878474474,
-0.002504319418221712,
-0.007481314707547426,
-0.0031643023248761892,
-0.01649053581058979,
0.03484348952770233,
0.00538383424282074,
0.017096273601055145,
-0.012738577090203762,
0.0348796546459198,
-0.0359826385974884,
0.04372161626815796,
0.022186279296875,
0.018235422670841217,
-0.035024307668209076,
0.04014143720269203,
0.03361393138766289,
-0.01780146174132824,
0.006048338022083044,
-0.01931128464639187,
-0.0055058859288692474,
-0.019944146275520325,
-0.060646116733551025,
0.05818700045347214,
0.0022161416709423065,
-0.01428456511348486,
-0.05185839533805847,
-0.01963675580918789,
0.025151683017611504,
-0.029274316504597664,
-0.012602964416146278,
0.009628520347177982,
0.046614695340394974,
-0.005542049650102854,
0.028623376041650772,
0.0739542692899704,
-0.041768793016672134,
-0.004945352673530579,
-0.06502189487218857,
0.02323502115905285,
0.02905733697116375,
0.007580764591693878,
-0.004402900580316782,
-0.04129866510629654,
-0.0008068971219472587,
-0.028352148830890656,
0.018072687089443207,
0.024175269529223442,
-0.01655382104218006,
0.01999839022755623,
-0.018931569531559944,
0.031588777899742126,
-0.004185920115560293,
-0.04469802975654602,
-0.0018804996507242322,
0.07608791440725327,
-0.016400126740336418,
-0.0416964627802372,
0.05366656929254532,
-0.02359665557742119,
-0.09330171346664429,
0.0480973944067955,
0.006021215580403805,
-0.015161529183387756,
0.002245524665340781,
-0.02424759790301323,
0.01441113743931055,
-0.03977980092167854,
-0.010415075346827507,
0.03996061906218529,
-0.02254791371524334,
0.0008645326015539467,
0.05250933766365051,
0.03690480813384056,
-0.04777192324399948,
-0.013895807787775993,
0.0003559840261004865,
0.014004298485815525,
0.11044319719076157,
0.028478721156716347,
-0.00043819937855005264,
-0.01475469022989273,
-0.004873025696724653,
-0.02813516929745674,
-0.047301799058914185,
0.00873799528926611,
0.11868846416473389,
0.04187728092074394,
0.013877726159989834,
0.05475147068500519,
-0.015559326857328415,
-0.018823077902197838,
-0.01509824302047491,
0.004346395377069712,
0.04672318324446678,
-0.02650781348347664,
-0.023940207436680794,
0.02424759790301323,
-0.0008131127106025815,
0.062345799058675766,
-0.0014872221508994699,
0.036633580923080444,
0.04643387719988823,
-0.004215302877128124,
-0.0036457283422350883,
0.0422750785946846,
-0.0005704219802282751,
-0.04990556836128235,
0.031010163947939873,
0.0043486556969583035,
0.02238517999649048,
-0.011129303835332394,
0.02938280813395977,
-0.026543976739048958,
0.07572627812623978
]
|
40,793 | pyglove.core.symbolic.base | __init__ | Constructor.
Args:
path: KeyPath of the field that is updated.
target: Parent of updated field.
field: Specification of the updated field.
old_value: Old value of the field.
new_value: New value of the field.
| def __init__(self,
path: object_utils.KeyPath,
target: 'Symbolic',
field: Optional[pg_typing.Field],
old_value: Any,
new_value: Any):
"""Constructor.
Args:
path: KeyPath of the field that is updated.
target: Parent of updated field.
field: Specification of the updated field.
old_value: Old value of the field.
new_value: New value of the field.
"""
self.path = path
self.target = target
self.field = field
self.old_value = old_value
self.new_value = new_value
| (self, path: pyglove.core.object_utils.value_location.KeyPath, target: pyglove.core.symbolic.base.Symbolic, field: Optional[pyglove.core.typing.class_schema.Field], old_value: Any, new_value: Any) | [
0.04931296408176422,
-0.03184647113084793,
-0.017876841127872467,
0.06115949526429176,
-0.05841195583343506,
-0.045673370361328125,
0.003151194890961051,
0.0434967465698719,
0.025245241820812225,
-0.04749316722154617,
0.002865736372768879,
-0.011195328086614609,
0.04852795600891113,
0.05081162229180336,
-0.021338026970624924,
0.02479921281337738,
-0.017412971705198288,
0.023318395018577576,
0.0004766934725921601,
0.009232800453901291,
0.02399636059999466,
-0.002658332698047161,
0.03218545392155647,
0.06080267205834389,
0.01319353748112917,
0.03029428981244564,
0.015842949971556664,
0.03165021911263466,
0.00948257651180029,
-0.04899182543158531,
0.03038349561393261,
-0.04249764233827591,
-0.010892027989029884,
0.05594987794756889,
0.020749269053339958,
-0.03170374035835266,
-0.015566411428153515,
0.04934864863753319,
-0.07614606618881226,
-0.026797421276569366,
0.012033862061798573,
0.015129303559660912,
-0.07065099477767944,
-0.003985268995165825,
0.05234596133232117,
0.06711844354867935,
-0.023496806621551514,
0.021641327068209648,
-0.007377319503575563,
0.02635139226913452,
0.005847440101206303,
-0.006944671273231506,
-0.005932185798883438,
-0.006895608268678188,
-0.004509353078901768,
0.024549435824155807,
0.02540581114590168,
0.06308633834123611,
-0.003610604675486684,
0.0256020650267601,
0.004179291892796755,
-0.007216749247163534,
-0.00995536707341671,
-0.05184641107916832,
-0.023354077711701393,
-0.008305059745907784,
-0.010231904685497284,
-0.02446023002266884,
-0.010892027989029884,
0.023924995213747025,
-0.034629691392183304,
-0.020874157547950745,
0.00817125104367733,
-0.0011987029574811459,
0.02540581114590168,
0.021766215562820435,
-0.06030311807990074,
0.055771466344594955,
0.026940152049064636,
-0.07193555682897568,
-0.008305059745907784,
-0.03484378382563591,
-0.05751989781856537,
-0.03612834960222244,
-0.03696688264608383,
0.0318821519613266,
0.04231923073530197,
-0.028813473880290985,
0.03000883013010025,
-0.01631574146449566,
-0.05951811000704765,
-0.022426337003707886,
-0.04638701677322388,
0.028349602594971657,
0.042390596121549606,
-0.046279966831207275,
0.002540135057643056,
-0.06251542270183563,
0.0022714026272296906,
0.07100781798362732,
0.04859931766986847,
-0.042997196316719055,
-0.012524493969976902,
0.03743075206875801,
0.05391598492860794,
-0.029830418527126312,
-0.0191078819334507,
-0.031239870935678482,
0.04424607753753662,
-0.050454799085855484,
-0.04224786534905434,
0.025816157460212708,
-0.026565486565232277,
0.03775189444422722,
-0.03582504764199257,
0.02652980387210846,
0.013309504836797714,
-0.04788567125797272,
0.045245181769132614,
-0.054593950510025024,
0.04396061599254608,
-0.0021543200127780437,
-0.04838522523641586,
0.06711844354867935,
0.05702034756541252,
-0.006619070190936327,
0.012908078730106354,
0.007948236539959908,
0.014290768653154373,
-0.004355472978204489,
-0.014924130402505398,
0.004386695101857185,
-0.014005310833454132,
0.04114171490073204,
0.05470099672675133,
0.011828688904643059,
0.012845635414123535,
0.027065038681030273,
-0.01448702160269022,
0.004830494057387114,
0.001309095066972077,
-0.006801942363381386,
0.0471363440155983,
-0.08777850866317749,
-0.00001838127354858443,
0.017252402380108833,
-0.0026561026461422443,
0.027065038681030273,
-0.07850110530853271,
0.04949137568473816,
-0.0701514407992363,
-0.005303284619003534,
0.04114171490073204,
0.018893787637352943,
0.001323590986430645,
0.02842096798121929,
-0.07068667560815811,
-0.04756453260779381,
0.037823259830474854,
0.007247971370816231,
0.0070963213220238686,
-0.050597529858350754,
0.014576227404177189,
-0.0420694537460804,
-0.006993734743446112,
0.024727847427129745,
-0.020909838378429413,
-0.09191765636205673,
-0.03628891706466675,
0.04392493516206741,
-0.002709626220166683,
-0.054879408329725266,
-0.029081091284751892,
0.05256005749106407,
-0.007216749247163534,
0.04809976741671562,
0.0371096134185791,
-0.008322901092469692,
0.013184617273509502,
-0.01432645134627819,
0.02048165164887905,
0.016440628096461296,
0.016208693385124207,
0.06768935918807983,
0.047742944210767746,
0.01907219924032688,
-0.06526296585798264,
0.04413902759552002,
0.01907219924032688,
0.04770725965499878,
0.0051605552434921265,
-0.015040097758173943,
0.03173942491412163,
-0.007528969552367926,
-0.008421027101576328,
-0.02474568784236908,
0.013345187529921532,
-0.019803687930107117,
-0.008898278698325157,
0.1542903482913971,
0.011641357094049454,
-0.03882236406207085,
0.018858104944229126,
0.013719852082431316,
-0.02799277938902378,
0.010561966337263584,
0.05566442012786865,
0.03760916367173195,
-0.035289812833070755,
-0.03793030604720116,
0.01603028178215027,
0.01933981664478779,
-0.02212303876876831,
-0.011150725185871124,
0.006454039365053177,
-0.03038349561393261,
-0.018429918214678764,
0.03090088814496994,
-0.006177501752972603,
0.03637812286615372,
0.07586061209440231,
0.05516486614942551,
-0.022693954408168793,
-0.05641374737024307,
0.03391604498028755,
-0.03161453455686569,
0.009384449571371078,
-0.01110612228512764,
-0.0160213615745306,
-0.062479741871356964,
-0.005450474098324776,
-0.032381705939769745,
-0.03213192895054817,
-0.021248821169137955,
0.07735926657915115,
-0.0003359155962243676,
0.006748418789356947,
-0.007537889759987593,
-0.02902756631374359,
-0.01058872789144516,
-0.010535204783082008,
-0.003354137996211648,
-0.016092726960778236,
0.010151620022952557,
-0.012390685267746449,
-0.03999987989664078,
0.01967879943549633,
0.00795715767890215,
-0.012569096870720387,
-0.007430843077600002,
0.030954411253333092,
-0.032381705939769745,
-0.017859000712633133,
0.053095292299985886,
-0.0019524919334799051,
-0.002244640840217471,
-0.008929500356316566,
-0.012997284531593323,
0.01237284392118454,
-0.009054388850927353,
-0.05291688069701195,
-0.05901855602860451,
-0.05016934126615524,
0.030080195516347885,
0.0014941971749067307,
-0.017912523820996284,
0.028528014197945595,
-0.002254676539450884,
0.0022502162028104067,
-0.01206954475492239,
0.08977671712636948,
-0.018082015216350555,
-0.03127555176615715,
0.03532549738883972,
-0.03250659257173538,
-0.05466531217098236,
-0.03512924537062645,
0.005124873016029596,
0.024406706914305687,
-0.04706497862935066,
0.027261292561888695,
-0.040035560727119446,
0.05591419339179993,
-0.001756239216774702,
-0.0017606994369998574,
0.009598543867468834,
-0.052524372935295105,
-0.011819768697023392,
-0.04781430959701538,
-0.007818887941539288,
0.03896509110927582,
0.043782204389572144,
-0.024959782138466835,
0.045530639588832855,
0.052667103707790375,
0.05452258512377739,
-0.10426373779773712,
-0.0007989494479261339,
0.012239035218954086,
-0.0286885853856802,
0.027974938973784447,
-0.00036156224086880684,
-0.028010621666908264,
0.020820632576942444,
-0.01068685483187437,
-0.018465600907802582,
0.03165021911263466,
0.000624440610408783,
0.022372813895344734,
0.024246135726571083,
0.006360373459756374,
0.046422697603702545,
-0.0752183273434639,
0.052238915115594864,
0.03020508401095867,
0.001266722334548831,
-0.030508382245898247,
-0.042711734771728516,
-0.002740848110988736,
0.027350498363375664,
-0.04224786534905434,
-0.005896503105759621,
-0.058019451797008514,
0.032470911741256714,
-0.04503108561038971,
-0.03771620988845825,
0.013826899230480194,
0.050276387482881546,
0.005107032135128975,
0.010374634526669979,
-0.03466537222266197,
0.033559221774339676,
0.06608365476131439,
0.003929515369236469,
-0.05466531217098236,
-0.023693060502409935,
-0.016520913690328598,
-0.06194450706243515,
-0.012827794067561626,
0.01237284392118454,
0.04399630054831505,
-0.006940211169421673,
-0.031150665134191513,
-0.04934864863753319,
0.04174831509590149,
-0.03757348284125328,
0.029384389519691467,
-0.05470099672675133,
0.07621743530035019,
-0.013024047017097473,
-0.03354138135910034,
-0.032381705939769745,
-0.041248761117458344,
-0.022337131202220917,
0.0249419417232275,
-0.039321914315223694,
-0.02597672864794731,
-0.044674262404441833,
-0.04057079553604126,
-0.06347884982824326,
0.04934864863753319,
-0.019785845652222633,
-0.01425508689135313,
0.0011987029574811459,
0.020642220973968506,
0.034165821969509125,
-0.038536906242370605,
0.006159660406410694,
-0.029366549104452133,
0.023496806621551514,
0.027314815670251846,
-0.07207828760147095,
0.02206951379776001,
0.02319350838661194,
0.0028590457513928413,
0.026333551853895187,
-0.02178405597805977,
0.03628891706466675,
-0.05291688069701195,
-0.001866631326265633,
0.03131123632192612,
-0.017314845696091652,
-0.034540485590696335,
0.06137358769774437,
-0.021248821169137955,
0.011132883839309216,
0.047029297798871994,
-0.009500417858362198,
0.08164114505052567,
0.028064144775271416,
-0.02785005047917366,
0.0024665403179824352,
0.044174712151288986,
-0.023871472105383873,
0.04160558432340622,
-0.00886259600520134,
0.024263978004455566,
-0.022979414090514183,
-0.014531624503433704,
-0.03818008303642273,
0.0013681938871741295,
-0.044174712151288986,
-0.031061459332704544,
0.043603792786598206,
0.0001832900452427566,
-0.028189033269882202,
0.049883883446455,
0.06843868643045425,
-0.014843844808638096,
0.06836732476949692,
0.04631565138697624,
-0.00027207768289372325,
-0.05063321068882942,
-0.02051733434200287,
-0.00334075721912086,
-0.0356287956237793,
0.020356763154268265,
-0.06019607186317444,
0.02226576767861843,
0.029937466606497765,
-0.011623515747487545,
0.05413007736206055,
-0.05270278453826904,
-0.014924130402505398,
0.03057974763214588,
-0.0184477586299181,
0.014513783156871796,
0.01099015399813652,
0.04174831509590149,
0.07985702902078629,
0.03343433514237404,
0.06469204276800156,
-0.0039518168196082115,
0.030258607119321823,
0.0009974323911592364,
-0.02381794899702072,
0.03600345924496651,
-0.003354137996211648,
0.02799277938902378,
-0.00363959651440382,
-0.01933981664478779,
-0.037537798285484314,
0.03625323623418808,
-0.01392502523958683,
-0.030883047729730606,
-0.04720770940184593,
-0.022997254505753517,
0.011123962700366974,
0.007359478622674942,
0.022622590884566307,
0.027903573587536812,
-0.019232770428061485,
0.01009809598326683,
0.027778685092926025,
-0.019464705139398575,
-0.0523102805018425,
-0.03867963328957558,
-0.03860826790332794,
0.03384467959403992,
0.002236835425719619,
-0.060124706476926804,
0.059482425451278687,
0.049883883446455,
-0.009545020759105682,
-0.05323801934719086,
0.014371054247021675,
0.025958888232707977,
-0.010526284575462341,
-0.011445104144513607,
-0.029527120292186737,
0.004036562517285347,
-0.03487946838140488,
-0.038429856300354004,
0.025798317044973373,
-0.0013648486929014325,
-0.030115878209471703,
-0.0030954412650316954,
-0.030793841928243637,
-0.07636016607284546,
-0.0636572614312172,
0.015923235565423965,
-0.022319290786981583,
0.04292583093047142,
0.0031088220421224833,
0.031114982441067696,
-0.0069312904961407185,
0.01608380489051342,
0.009241720661520958,
-0.0011223204201087356,
0.009785875678062439,
-0.021427232772111893,
0.020106986165046692,
-0.006998194847255945,
-0.007943776436150074,
-0.03029428981244564,
-0.01754678040742874,
-0.0056333462707698345,
0.04945569485425949,
0.014870606362819672,
0.006462960038334131,
-0.03316671773791313,
-0.005673488602042198,
-0.04156990349292755,
0.010999075137078762,
0.01296160276979208,
-0.014513783156871796,
-0.016984784975647926,
0.00569579005241394,
0.007832269184291363,
0.02851017378270626,
0.03138260170817375,
0.0006205378449521959,
0.05302392691373825,
0.004141379147768021,
-0.03793030604720116,
0.012247956357896328,
-0.046708155423402786,
0.05138254165649414,
-0.028438808396458626,
-0.03432639315724373,
-0.030222924426198006,
0.005401411093771458,
0.02540581114590168,
-0.10611921548843384,
0.003400971181690693,
-0.03175726532936096,
-0.04742180183529854,
-0.028938360512256622,
0.06322906911373138,
-0.03470105677843094,
0.04010692611336708,
-0.012792111374437809,
0.027974938973784447,
0.022462019696831703,
-0.022140879184007645,
0.11418342590332031,
0.012729667127132416,
0.014772480353713036,
-0.07950020581483841,
-0.06105244904756546,
0.019857211038470268,
0.0827116146683693,
-0.055628735572099686,
0.051168445497751236,
0.02963416650891304,
-0.009839399717748165,
-0.016815293580293655,
-0.03396956995129585,
0.019429022446274757,
-0.017163196578621864,
-0.05345211550593376,
-0.009170356206595898,
0.007033877074718475,
0.03222113475203514,
-0.03168589994311333,
0.016672564670443535,
0.019875051453709602,
-0.03413013741374016,
0.028438808396458626,
-0.003358598332852125,
-0.019411182031035423,
-0.047172024846076965,
0.07814428210258484,
0.043603792786598206,
0.043746523559093475,
-0.005923265125602484,
0.020356763154268265,
0.011355898343026638,
0.04802840203046799,
0.0333094447851181,
0.023032937198877335,
0.049241602420806885,
0.038429856300354004,
0.03421934321522713,
0.019660957157611847,
-0.028438808396458626,
-0.02023187465965748,
0.01754678040742874,
-0.0105173634365201,
-0.06975893676280975,
0.004411226604133844,
0.04424607753753662,
0.016360344365239143,
-0.023889312520623207,
-0.04317560791969299,
0.003829158842563629,
-0.020071305334568024,
0.08892033994197845,
-0.022247925400733948,
-0.004964302759617567,
-0.04859931766986847,
-0.024763530120253563,
-0.06169473007321358,
0.003829158842563629,
-0.04528086259961128,
-0.02399636059999466,
-0.0368955172598362,
-0.041070349514484406,
0.044174712151288986,
-0.025441493839025497,
-0.07750199735164642,
0.0011462945258244872,
-0.008064203895628452,
0.012524493969976902,
-0.032096248120069504,
-0.010437078773975372,
0.039464645087718964,
0.001423947513103485,
0.0020037852227687836,
0.0031846470665186644,
0.0588044635951519,
0.014861686155200005,
0.0146743543446064,
0.028670743107795715,
-0.020214034244418144,
-0.011507548391819,
-0.01958959363400936,
0.01916140504181385,
-0.01873321831226349,
-0.020927680656313896,
-0.08406754583120346,
0.022194402292370796,
0.0032180992420762777,
0.029330866411328316,
-0.057983770966529846,
-0.013300584629178047,
0.01930413395166397,
-0.02883131429553032,
-0.04221218451857567,
-0.05512918531894684,
-0.01873321831226349,
-0.03982146829366684,
-0.008710945956408978,
0.01009809598326683,
-0.007859030738472939,
-0.05769830942153931,
0.016128407791256905,
-0.012881317175924778,
0.018519124016165733,
0.049848198890686035,
-0.03509356081485748,
0.029759055003523827,
-0.020999044179916382,
0.012578018009662628,
-0.049098871648311615,
-0.012551255524158478,
-0.0037912463303655386,
-0.07950020581483841,
-0.008046363480389118,
0.0014752409188076854,
-0.015700221061706543,
0.05038343369960785,
-0.051632314920425415,
-0.009714511223137379,
0.0666188895702362,
-0.001270067528821528,
-0.013336267322301865,
-0.042569007724523544,
0.041498538106679916,
0.01270290557295084,
-0.02287236601114273,
-0.0076047941111028194,
0.05998197942972183,
0.004375544376671314,
0.020784951746463776,
0.020214034244418144,
0.05958947166800499,
-0.021623484790325165,
0.019500387832522392,
0.05541464313864708,
-0.019946416839957237,
-0.06694003194570541,
-0.01812661811709404,
0.0008468975429423153,
-0.016404947265982628,
-0.08492392301559448,
0.07999975979328156,
0.032845575362443924,
0.036039143800735474,
-0.0038626110181212425,
0.023443283513188362,
0.001912349252961576,
-0.017769794911146164,
-0.01157891284674406,
0.007921474985778332,
0.10697559267282486,
0.030954411253333092,
0.07728790491819382,
0.04453153535723686,
-0.04353243112564087,
-0.015789426863193512,
-0.052667103707790375,
-0.006400516256690025,
-0.013728772290050983,
-0.04813544824719429,
-0.055628735572099686,
-0.028991885483264923,
-0.02080279216170311,
-0.007176606450229883,
0.03075815923511982,
0.03903645649552345,
0.062158599495887756,
-0.014112357050180435,
-0.018305029720067978,
0.0031177427154034376,
-0.04185536131262779,
-0.03316671773791313,
-0.0420694537460804,
0.000588758266530931,
-0.021801896393299103,
0.024246135726571083,
0.025227399542927742,
-0.00687776692211628,
-0.07150736451148987,
0.07225669920444489,
0.026119457557797432,
-0.018715376034379005,
-0.009304164908826351,
-0.03903645649552345,
-0.007863490842282772,
0.012578018009662628,
-0.0018599409377202392,
0.04888477921485901,
-0.032096248120069504,
0.012515573762357235,
-0.008617280051112175,
0.02240849658846855,
0.0025133732706308365,
0.006123978178948164,
-0.016752848401665688,
0.022765319794416428,
0.08727895468473434,
-0.015254191122949123,
-0.05584283173084259,
0.036092665046453476,
-0.04859931766986847,
-0.01835855282843113,
-0.02226576767861843,
0.05016934126615524,
0.1060478538274765,
-0.02051733434200287,
0.06205155327916145,
0.017832238227128983,
0.00004707696643890813,
-0.007814427837729454,
0.014424577355384827,
-0.03793030604720116,
0.012578018009662628,
-0.005156095139682293,
0.02155212126672268,
0.013773375190794468,
0.035664476454257965,
0.030454859137535095,
0.010561966337263584,
0.037680529057979584,
-0.06333611905574799,
-0.0060392324812710285,
0.02874210849404335,
0.02132018655538559,
0.011097201146185398,
-0.05452258512377739,
0.002343882340937853,
0.030793841928243637,
0.008470091037452221,
0.05063321068882942,
0.01781439781188965,
-0.03421934321522713,
0.029883941635489464
]
|
40,798 | pyglove.core.symbolic.base | format | Formats this object. | def format(self,
compact: bool = False,
verbose: bool = True,
root_indent: int = 0,
*,
python_format: bool = False,
hide_default_values: bool = False,
hide_missing_values: bool = False,
**kwargs) -> str:
"""Formats this object."""
kwargs.update({
'python_format': python_format,
'hide_default_values': hide_default_values,
'hide_missing_values': hide_missing_values,
})
details = object_utils.kvlist_str([
('parent_path', self.target.sym_path, None),
('path', self.path.path, None),
('old_value', object_utils.format(
self.old_value, compact, verbose, root_indent + 1, **kwargs),
object_utils.MISSING_VALUE),
('new_value',
object_utils.format(
self.new_value, compact, verbose, root_indent + 1, **kwargs),
object_utils.MISSING_VALUE),
])
return f'{self.__class__.__name__}({details})'
| (self, compact: bool = False, verbose: bool = True, root_indent: int = 0, *, python_format: bool = False, hide_default_values: bool = False, hide_missing_values: bool = False, **kwargs) -> str | [
0.040953971445560455,
-0.043267346918582916,
0.06014775484800339,
0.0067051732912659645,
0.0024873302318155766,
-0.07222068309783936,
-0.01272356417030096,
-0.047207314521074295,
0.016283992677927017,
-0.05537641793489456,
-0.04207451269030571,
-0.03495365381240845,
0.022826507687568665,
0.00257995561696589,
0.011919304728507996,
0.05447275564074516,
-0.01778407208621502,
-0.06285874545574188,
0.08870348334312439,
0.06322021037340164,
0.09173978865146637,
-0.013148284517228603,
-0.006434075068682432,
0.024977223947644234,
0.039616551250219345,
-0.02089267037808895,
0.040592506527900696,
0.029856998473405838,
-0.03571273013949394,
-0.027905087918043137,
0.006375337019562721,
0.01063610427081585,
0.005074063315987587,
0.051328014582395554,
-0.010021613910794258,
-0.01407002005726099,
-0.059713996946811676,
0.037122443318367004,
-0.057942818850278854,
-0.04597833380103111,
-0.0045476797968149185,
-0.014079056680202484,
-0.06065380573272705,
-0.02376631647348404,
0.013238650746643543,
0.04590604081749916,
0.05743676796555519,
0.035857316106557846,
-0.0166093111038208,
-0.017386460676789284,
0.03820683807134628,
-0.008119405247271061,
-0.03186313062906265,
0.011006605811417103,
-0.07337737083435059,
-0.022446969524025917,
0.059352532029151917,
-0.002390186535194516,
0.033905405551195145,
-0.0027426148299127817,
-0.03242339938879013,
0.0700518935918808,
0.027724355459213257,
-0.01794673129916191,
-0.07959456741809845,
-0.01650990918278694,
-0.03144744411110878,
0.0061765313148498535,
-0.049086932092905045,
0.029188288375735283,
-0.0026183612644672394,
-0.04955683648586273,
0.0279593076556921,
0.02136257477104664,
0.011169265024363995,
-0.021199915558099747,
-0.06477450579404831,
-0.017558155581355095,
-0.0095065264031291,
-0.09535443782806396,
-0.062497276812791824,
-0.041676901280879974,
-0.029079848900437355,
-0.06307562440633774,
0.010843946598470211,
-0.008453760296106339,
0.04753263294696808,
0.031140198931097984,
0.03480906784534454,
0.048002537339925766,
-0.016012893989682198,
0.004956587217748165,
-0.007812159601598978,
0.03180890902876854,
-0.008815224282443523,
-0.007269962225109339,
0.006298525724560022,
-0.07511240243911743,
0.03733932226896286,
0.03950811177492142,
0.0539667047560215,
-0.08689615875482559,
-0.013871214352548122,
-0.023115679621696472,
-0.019501030445098877,
-0.004147809464484453,
-0.020675791427493095,
0.04673741012811661,
0.04207451269030571,
-0.0031515220180153847,
-0.0396888442337513,
-0.03726702928543091,
-0.011648206040263176,
-0.05458119511604309,
0.05609934777021408,
-0.0046493420377373695,
0.020242033526301384,
0.041134703904390335,
0.01644665189087391,
-0.07337737083435059,
0.009940284304320812,
-0.014576070941984653,
-0.022844580933451653,
-0.0025054034776985645,
-0.04500237852334976,
0.023440998047590256,
-0.003149262862280011,
0.02331448532640934,
0.03027268312871456,
0.01054573804140091,
-0.022320456802845,
0.022212017327547073,
-0.017133435234427452,
0.0036892008502036333,
0.0568222776055336,
0.025230249390006065,
0.006000317167490721,
0.016835227608680725,
-0.03939967229962349,
0.08559488505125046,
0.03860444948077202,
-0.053207628428936005,
0.008910109288990498,
-0.0038270093500614166,
-0.018976906314492226,
-0.01948295719921589,
0.033905405551195145,
0.047026582062244415,
-0.04652053117752075,
0.020242033526301384,
0.013591079041361809,
0.03744776174426079,
0.041749194264411926,
0.004586085677146912,
0.02009744755923748,
0.013392273336648941,
-0.037194736301898956,
-0.02555556781589985,
0.047641072422266006,
-0.004095849115401506,
-0.001446989132091403,
-0.03083295375108719,
0.04973756894469261,
0.02456153929233551,
0.041640754789114,
0.008273027837276459,
-0.037303175777196884,
-0.02456153929233551,
-0.03686941787600517,
0.004735189955681562,
0.0002790057042147964,
-0.06770237535238266,
-0.04044792056083679,
0.0691482350230217,
0.012380172498524189,
0.04821941629052162,
0.01973598264157772,
-0.012461502104997635,
-0.020585425198078156,
-0.039797283709049225,
-0.008336284197866917,
-0.018796173855662346,
0.03083295375108719,
0.04323120042681694,
0.029152141883969307,
-0.03668868541717529,
-0.008092295378446579,
-0.043990276753902435,
0.022627701982855797,
0.006822649389505386,
0.030760660767555237,
0.0312667116522789,
-0.005168947856873274,
0.03849601000547409,
0.006384373642504215,
-0.02788701467216015,
0.03404999151825905,
-0.04883390665054321,
0.06875061988830566,
0.01549780648201704,
-0.015398403629660606,
0.004353392403572798,
0.01688944734632969,
-0.043809544295072556,
-0.010328859090805054,
0.012976589612662792,
0.017657559365034103,
-0.020332399755716324,
-0.026224276050925255,
0.021687893196940422,
0.011621096171438694,
0.01939259096980095,
-0.0034858768340200186,
-0.008282064460217953,
0.007907044142484665,
-0.03215230256319046,
0.06596734374761581,
0.022826507687568665,
-0.04171304777264595,
0.07612450420856476,
0.029079848900437355,
-0.060726098716259,
-0.01416038628667593,
0.03227881342172623,
-0.0175129733979702,
0.0013091806322336197,
0.033182475715875626,
-0.021687893196940422,
0.015299000777304173,
-0.053026895970106125,
0.0028194261249154806,
-0.05082196369767189,
-0.06459377706050873,
0.023983195424079895,
-0.038532156497240067,
0.03835142403841019,
-0.008155551739037037,
-0.013292870484292507,
-0.04785795137286186,
-0.012045817449688911,
-0.005566559266299009,
-0.030941393226385117,
0.006095201708376408,
-0.008178142830729485,
0.053026895970106125,
-0.08783596754074097,
0.019898641854524612,
0.0007443917565979064,
-0.006294007413089275,
0.025483274832367897,
0.020603498443961143,
0.02734481729567051,
0.01857929490506649,
0.027091791853308678,
-0.041640754789114,
0.016582202166318893,
-0.05823199078440666,
0.01678100787103176,
-0.004181697033345699,
-0.002688395092263818,
-0.02922443486750126,
-0.08335380256175995,
-0.00571566354483366,
0.031194418668746948,
0.04384569078683853,
0.031772762537002563,
0.033092111349105835,
-0.046050626784563065,
-0.0075003961101174355,
0.014368228614330292,
-0.07691972702741623,
0.009416160173714161,
-0.03018231689929962,
0.05342450737953186,
-0.03343550115823746,
-0.03835142403841019,
-0.00645214831456542,
-0.011856048367917538,
-0.03733932226896286,
-0.04597833380103111,
0.009361940436065197,
-0.03625492751598358,
-0.008702266961336136,
-0.002853313460946083,
0.0586296021938324,
0.011982561089098454,
-0.024272367358207703,
-0.037917666137218475,
-0.01294947974383831,
0.028483431786298752,
0.05468963459134102,
0.01760333962738514,
0.007319663651287556,
0.005521376151591539,
0.06509982794523239,
-0.009298684075474739,
-0.017576228827238083,
-0.017205728217959404,
-0.033543940633535385,
-0.047026582062244415,
-0.02089267037808895,
-0.02573630027472973,
0.06607577949762344,
0.005345162004232407,
0.02430851384997368,
0.01063610427081585,
-0.006004835478961468,
-0.015850234776735306,
0.03672483190894127,
0.004233657382428646,
-0.007197669241577387,
0.03414035961031914,
0.053460653871297836,
0.024706125259399414,
-0.024904930964112282,
0.010825873352587223,
-0.012334989383816719,
-0.03410421311855316,
0.016112297773361206,
0.02786894142627716,
-0.029459387063980103,
-0.006569623947143555,
-0.06517212092876434,
0.05273772403597832,
0.01937451772391796,
-0.08183564990758896,
-0.02689298614859581,
0.022103577852249146,
0.002172177890315652,
-0.009059213101863861,
0.006054536905139685,
-0.019266078248620033,
0.03341742977499962,
-0.0007161523099057376,
-0.03806225210428238,
-0.020205887034535408,
-0.000982167897745967,
-0.012669344432651997,
-0.022392749786376953,
-0.0031085980590432882,
0.06950969249010086,
0.043556518852710724,
-0.024182001128792763,
-0.02401934191584587,
-0.07518469542264938,
-0.0061946045607328415,
0.04109855741262436,
-0.015624319203197956,
0.014648363925516605,
-0.008417613804340363,
-0.05143645405769348,
-0.0015509102959185839,
-0.029513606801629066,
0.018470855429768562,
-0.017205728217959404,
-0.0484001487493515,
-0.01388928759843111,
-0.026495374739170074,
-0.030218463391065598,
-0.006099720019847155,
0.007834751158952713,
-0.00902758538722992,
0.03403192013502121,
0.026332715526223183,
0.04276129603385925,
-0.03435723856091499,
-0.0010188791202381253,
-0.0007613354246132076,
0.008901072666049004,
-0.027742428705096245,
-0.030941393226385117,
-0.040231041610240936,
0.07323278486728668,
-0.10171622037887573,
-0.04619521275162697,
0.06842530518770218,
-0.008661601692438126,
0.016473762691020966,
-0.047930244356393814,
-0.04608677327632904,
0.07959456741809845,
0.027579769492149353,
-0.015073085203766823,
0.01939259096980095,
-0.0046357871033251286,
-0.001446989132091403,
0.053641386330127716,
0.011033715680241585,
-0.0004780937742907554,
0.0332186222076416,
-0.031483590602874756,
0.02045891247689724,
0.024416953325271606,
0.012353062629699707,
0.012163293547928333,
0.022808434441685677,
0.018000951036810875,
-0.014937535859644413,
-0.05443660914897919,
-0.02483263798058033,
0.02663996070623398,
-0.08219711482524872,
-0.00834983866661787,
-0.03518860414624214,
0.002661285223439336,
-0.04608677327632904,
0.08610093593597412,
0.02528446912765503,
-0.02698335237801075,
0.07807641476392746,
0.039616551250219345,
0.008164588361978531,
-0.0474964864552021,
0.04239983111619949,
0.04207451269030571,
-0.004568012431263924,
-0.04695428907871246,
0.010012577287852764,
-0.042110659182071686,
-0.013970617204904556,
-0.020061301067471504,
0.041496168822050095,
-0.002656766911968589,
0.003637240268290043,
0.01606711372733116,
-0.070810966193676,
-0.037736933678388596,
0.03208000957965851,
0.04995444789528847,
0.027380963787436485,
0.0039309305138885975,
0.003682423382997513,
0.05870189517736435,
0.02877260372042656,
-0.0018558962037786841,
-0.04464091360569,
0.046303652226924896,
-0.033634308725595474,
0.02304338663816452,
0.04919537156820297,
0.0520147942006588,
-0.032821010798215866,
-0.028031600639224052,
-0.029676266014575958,
-0.061159856617450714,
0.021633673459291458,
-0.031772762537002563,
0.02430851384997368,
-0.015597209334373474,
0.006578660570085049,
0.07344966381788254,
0.020513132214546204,
-0.003892524866387248,
-0.014286899007856846,
-0.02714601159095764,
-0.05226781964302063,
-0.022320456802845,
-0.0012199439806863666,
0.012515721842646599,
0.009443270042538643,
-0.02920636162161827,
0.018904613330960274,
0.038459863513708115,
0.022031284868717194,
-0.01589541882276535,
-0.04894234612584114,
0.012804893776774406,
-0.020332399755716324,
-0.05335221439599991,
-0.0511111356317997,
-0.014079056680202484,
-0.033905405551195145,
-0.04688199609518051,
0.09730634838342667,
-0.018244938924908638,
0.019410664215683937,
-0.02349521778523922,
-0.0530630424618721,
-0.08292004466056824,
-0.038893621414899826,
-0.013347090221941471,
-0.03921893984079361,
-0.008001929149031639,
-0.006650953553617001,
0.042652856558561325,
0.06593119353055954,
0.06289488822221756,
0.03253183886408806,
0.041857633739709854,
0.002643211977556348,
-0.02313375286757946,
0.029188288375735283,
-0.04500237852334976,
0.008444723673164845,
-0.05324377492070198,
0.0015825384762138128,
-0.009479416534304619,
-0.08957099914550781,
-0.028537651523947716,
0.006931088864803314,
0.031772762537002563,
-0.00612231157720089,
0.03421265259385109,
0.010970459319651127,
0.02197706513106823,
0.0027177641168236732,
0.022284310311079025,
0.052123233675956726,
0.01635628566145897,
-0.018064206466078758,
0.009425196796655655,
-0.014359191991388798,
0.053207628428936005,
0.032640278339385986,
-0.04847244173288345,
-0.020928816869854927,
-0.022103577852249146,
0.01957332342863083,
0.060075461864471436,
0.006556069012731314,
-0.050424352288246155,
0.00991317443549633,
-0.028718383982777596,
-0.016491835936903954,
-0.024435026571154594,
0.04887005314230919,
0.028158113360404968,
0.004906885791569948,
-0.02063964493572712,
-0.019320297986268997,
0.013247687369585037,
0.0018005468882620335,
0.029152141883969307,
0.006090683396905661,
-0.06137673556804657,
0.038712888956069946,
-0.014811023138463497,
0.05432816967368126,
-0.06166590750217438,
-0.037483908236026764,
0.05385826528072357,
0.057219889014959335,
-0.017648521810770035,
-0.016826190054416656,
0.039255086332559586,
0.00015715250629000366,
0.04966527596116066,
-0.009524599649012089,
0.032025787979364395,
-0.0028736458625644445,
-0.011096972040832043,
-0.03251376748085022,
0.007595280651003122,
0.06506367772817612,
0.015434550121426582,
0.016735823825001717,
0.04424330219626427,
0.040953971445560455,
0.04850858822464943,
0.013473602943122387,
-0.011892194859683514,
0.047207314521074295,
0.054002851247787476,
-0.03063414804637432,
0.05349680036306381,
0.03549585118889809,
-0.005498784594237804,
-0.004893330857157707,
0.029097922146320343,
0.024543466046452522,
-0.027941234409809113,
0.03161010518670082,
0.06520826369524002,
-0.0053903451189398766,
0.011133118532598019,
0.011395180597901344,
-0.03611034154891968,
0.06571431457996368,
-0.011955451220273972,
0.0022828765213489532,
-0.029152141883969307,
-0.01705210655927658,
0.05870189517736435,
-0.03947196528315544,
-0.002293042838573456,
0.017531046643853188,
0.023422924801707268,
0.013735665008425713,
0.04124314337968826,
0.004159105475991964,
-0.033363208174705505,
-0.048291709274053574,
0.006275934167206287,
-0.01272356417030096,
0.03356201574206352,
-0.004231398459523916,
-0.028736457228660583,
-0.032640278339385986,
0.056496959179639816,
0.021507160738110542,
-0.08219711482524872,
0.002220749855041504,
-0.010491518303751945,
0.034628335386514664,
-0.018263012170791626,
0.009145061485469341,
0.09195666760206223,
-0.005950615741312504,
-0.016916556283831596,
-0.020169740542769432,
0.026658033952116966,
0.0652444139122963,
-0.043628811836242676,
-0.0236759502440691,
-0.024073561653494835,
-0.019139565527439117,
-0.009922211058437824,
0.026115836575627327,
-0.04746033996343613,
-0.04438788816332817,
-0.03316440433263779,
0.029007555916905403,
-0.10106558352708817,
0.006321117281913757,
-0.05555715039372444,
0.04080938547849655,
-0.029188288375735283,
0.019717909395694733,
-0.006655471865087748,
-0.03260413184762001,
0.014440521597862244,
-0.011087935417890549,
-0.03171854466199875,
0.0029775670263916254,
-0.03708629682660103,
-0.048110976815223694,
0.012072927318513393,
0.011377107352018356,
-0.05273772403597832,
0.0503520593047142,
-0.0008878480875864625,
-0.06199122592806816,
-0.02143486775457859,
0.04493008553981781,
-0.04171304777264595,
-0.014621254056692123,
-0.008291101083159447,
-0.06470221281051636,
0.002817166969180107,
0.017531046643853188,
-0.0512557215988636,
0.03341742977499962,
-0.05779823288321495,
-0.06090683117508888,
0.011458436958491802,
0.023440998047590256,
-0.008471833541989326,
0.0330740362405777,
-0.013085028156638145,
0.02439888007938862,
0.010780690237879753,
-0.03752005472779274,
-0.0004715987015515566,
0.02582666650414467,
0.02823040634393692,
0.00239922315813601,
-0.01850700192153454,
0.008639010600745678,
0.060979124158620834,
-0.04370110481977463,
-0.01679004356265068,
0.012334989383816719,
0.016229772940278053,
0.05317148193717003,
-0.0834260955452919,
-0.06184663996100426,
0.03358008712530136,
0.09325794130563736,
0.020675791427493095,
-0.0778595358133316,
0.03240532800555229,
-0.0016853299457579851,
-0.03092331998050213,
0.026513447985053062,
0.009542672894895077,
-0.026332715526223183,
0.00488881254568696,
0.02204935811460018,
0.02492300420999527,
-0.03491750732064247,
-0.0275074765086174,
-0.048183269798755646,
-0.002893978264182806,
-0.009280610829591751,
-0.02609776332974434,
-0.011241558007895947,
0.02902562916278839,
0.016401469707489014,
-0.00015348137822002172,
-0.03744776174426079,
0.014991755597293377,
0.018434708938002586,
0.0166093111038208,
0.005765364971011877,
0.055882468819618225,
0.00387445162050426,
0.032929450273513794,
-0.007690165191888809,
-0.04388183727860451,
-0.0062262327410280704,
0.03480906784534454,
0.08696845173835754,
-0.019410664215683937,
-0.022193944081664085,
-0.0179648045450449,
-0.013681445270776749,
0.02680261991918087,
-0.017747925594449043,
0.03367045521736145,
-0.006131348200142384,
-0.06871447712182999,
0.05541256442666054,
0.0046628969721496105,
-0.008191698230803013,
0.026874912902712822,
0.06672641634941101,
-0.010852983221411705,
-0.0033435500226914883,
-0.000531183963175863,
-0.019229931756854057,
0.010111980140209198,
0.04984600841999054,
-0.005015325266867876,
-0.03101368620991707,
0.06311176717281342,
0.02626042254269123,
0.0047216350212693214,
0.04030333459377289,
0.02474227175116539,
0.027742428705096245,
0.01027463935315609,
0.1041741743683815,
-0.027001425623893738,
0.027489403262734413,
-0.022663848474621773,
0.020242033526301384,
0.0012662566732615232,
0.039616551250219345,
-0.032567985355854034,
0.019808275625109673,
0.0074190665036439896,
0.0037953811697661877,
-0.005783438216894865,
0.010211382992565632,
0.10634296387434006,
-0.012163293547928333,
-0.021651746705174446,
0.013057918287813663,
0.05360523983836174,
-0.03885747492313385,
-0.0212722085416317,
-0.07193151116371155,
0.009967394173145294,
0.0634370893239975,
0.0275074765086174,
0.05628008022904396,
-0.060256194323301315,
0.0054536014795303345
]
|
40,799 | pyglove.core.object_utils.common_traits | Formattable | Interface for classes whose instances can be pretty-formatted.
This interface overrides the default ``__repr__`` and ``__str__`` method, thus
all ``Formattable`` objects can be printed nicely.
All symbolic types implement this interface.
| class Formattable(metaclass=abc.ABCMeta):
"""Interface for classes whose instances can be pretty-formatted.
This interface overrides the default ``__repr__`` and ``__str__`` method, thus
all ``Formattable`` objects can be printed nicely.
All symbolic types implement this interface.
"""
# Additional format keyword arguments for `__str__`.
__str_format_kwargs__ = dict(compact=False, verbose=True)
# Additional format keyword arguments for `__repr__`.
__repr_format_kwargs__ = dict(compact=True)
@abc.abstractmethod
def format(self,
compact: bool = False,
verbose: bool = True,
root_indent: int = 0,
**kwargs) -> str:
"""Formats this object into a string representation.
Args:
compact: If True, this object will be formatted into a single line.
verbose: If True, this object will be formatted with verbosity.
Subclasses should define `verbosity` on their own.
root_indent: The start indent level for this object if the output is a
multi-line string.
**kwargs: Subclass specific keyword arguments.
Returns:
A string of formatted 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)
def __repr__(self) -> str:
"""Returns a single-line representation of this object."""
kwargs = dict(self.__repr_format_kwargs__)
kwargs.update(thread_local.thread_local_kwargs(_TLS_REPR_FORMAT_KWARGS))
return self._maybe_quote(self.format(**kwargs), **kwargs)
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'
| () | [
0.021601591259241104,
-0.01630854792892933,
0.003568369895219803,
-0.001621986273676157,
0.02309521846473217,
-0.057093918323516846,
-0.020145302638411522,
-0.032561082392930984,
-0.017643477767705917,
-0.03312119469046593,
-0.0065206182189285755,
0.003689727047458291,
-0.005573098082095385,
0.03635116294026375,
-0.040439970791339874,
0.02645588107407093,
0.006623305380344391,
-0.048318855464458466,
0.04152284935116768,
0.012341098859906197,
0.03917038440704346,
0.022609788924455643,
0.040178585797548294,
-0.0068100085482001305,
0.005400397814810276,
0.02955515868961811,
0.03816218674182892,
-0.04645182192325592,
-0.01051140483468771,
-0.005685120355337858,
0.020854776725172997,
0.026362529024481773,
-0.04062667489051819,
0.058102115988731384,
0.013806721195578575,
-0.05018588900566101,
-0.02850961871445179,
0.024178098887205124,
-0.06153745949268341,
-0.00046763382852077484,
-0.012042373418807983,
0.014628215692937374,
0.03170224651694298,
-0.07285168766975403,
-0.030470004305243492,
-0.0002678027667570859,
0.02038801833987236,
0.05459209159016609,
-0.06538355350494385,
-0.05104472488164902,
0.028434937819838524,
-0.02526097744703293,
0.0034376773983240128,
-0.023319263011217117,
-0.046377141028642654,
0.01800754852592945,
0.028957705944776535,
-0.011444922536611557,
0.01741943322122097,
-0.04361392930150032,
-0.025690395385026932,
0.07277701050043106,
0.08117866516113281,
-0.006450604647397995,
-0.0735611617565155,
-0.06194821000099182,
-0.022665800526738167,
-0.011491597630083561,
-0.003482019528746605,
0.0017876856727525592,
-0.02938712388277054,
0.007589495740830898,
-0.0015379698015749454,
0.017344752326607704,
0.008429661393165588,
0.01949184201657772,
-0.05821413919329643,
-0.03758340701460838,
-0.001575310481712222,
-0.02555970288813114,
0.01741943322122097,
-0.00938651617616415,
-0.0240100659430027,
-0.02527964860200882,
0.018745027482509613,
-0.09633898735046387,
0.03345726057887077,
0.04223232343792915,
0.02567172609269619,
0.038647618144750595,
-0.023151230067014694,
0.013059906661510468,
0.02410341612994671,
0.01591647043824196,
-0.044323403388261795,
-0.011267554014921188,
0.004009456839412451,
-0.05858754739165306,
-0.028453607112169266,
-0.006305909249931574,
0.02811754122376442,
0.003976783715188503,
0.007841545157134533,
-0.054890818893909454,
-0.041597530245780945,
-0.012723840773105621,
-0.0495510995388031,
0.024308791384100914,
-0.007645506877452135,
0.009829937480390072,
-0.037452712655067444,
-0.0353616364300251,
-0.058251481503248215,
-0.029331114143133163,
0.05963308364152908,
0.0025625049602240324,
-0.04723597690463066,
-0.02916308119893074,
0.029573827981948853,
-0.04813215136528015,
-0.0242341086268425,
-0.002798218047246337,
0.002392138121649623,
-0.007752861361950636,
-0.024812890216708183,
-0.018978407606482506,
0.002877567196264863,
-0.01353600062429905,
0.05265037715435028,
-0.012630488723516464,
-0.022497767582535744,
0.056571148335933685,
-0.004210162907838821,
0.05328516662120819,
0.0720301941037178,
0.020332006737589836,
-0.021769624203443527,
0.017951536923646927,
-0.02709067240357399,
0.0901404321193695,
0.0541440024971962,
-0.060155853629112244,
-0.012854533270001411,
-0.0011995697859674692,
-0.05350921303033829,
-0.003785412758588791,
0.025578374043107033,
0.013283951207995415,
-0.017895527184009552,
0.04876694455742836,
0.04865492135286331,
0.006193887442350388,
0.025821087881922722,
0.02796817757189274,
0.032953161746263504,
0.027389397844672203,
0.0065346211194992065,
-0.03190762177109718,
0.014833590015769005,
0.0211721733212471,
-0.011370240710675716,
-0.04100007936358452,
0.0269599799066782,
0.01445084810256958,
0.009489203803241253,
0.0569818951189518,
-0.021974997594952583,
-0.07834076881408691,
-0.036425843834877014,
0.0021879312116652727,
-0.019659874960780144,
-0.002807553391903639,
0.012994560413062572,
0.06922964006662369,
0.014674891717731953,
0.0513061098754406,
-0.0034376773983240128,
0.06336715817451477,
-0.034129392355680466,
-0.06392726302146912,
0.005377059802412987,
-0.04592905193567276,
-0.06314311176538467,
0.008663040585815907,
0.005895162001252174,
0.018343614414334297,
0.00832697469741106,
-0.02938712388277054,
0.043016478419303894,
0.006109870970249176,
0.005442406050860882,
-0.03302784264087677,
0.006683983840048313,
-0.010716778226196766,
-0.012369104661047459,
-0.014460182748734951,
-0.023188570514321327,
-0.04757204279303551,
0.05944638326764107,
0.016616608947515488,
-0.04787076637148857,
0.03762074559926987,
-0.013153258711099625,
-0.035137590020895004,
0.05406932160258293,
-0.01923045702278614,
-0.00741212721914053,
-0.03272911533713341,
-0.08722785860300064,
0.02268446981906891,
-0.024439483880996704,
-0.040551990270614624,
-0.02449549362063408,
0.05332250893115997,
0.013900072313845158,
-0.061724163591861725,
0.09641366451978683,
0.03562302142381668,
-0.03304651379585266,
0.009218483231961727,
0.07371052354574203,
-0.021470898762345314,
-0.013134588487446308,
0.028472278267145157,
-0.021452227607369423,
-0.012313093058764935,
0.06706388294696808,
0.020612062886357307,
0.012677164748311043,
-0.055152203887701035,
0.028528288006782532,
-0.07714586704969406,
-0.020686743780970573,
0.04678788781166077,
0.013956083916127682,
-0.033083852380514145,
-0.008705048821866512,
-0.03648185729980469,
-0.04787076637148857,
0.01619652472436428,
-0.0127705167979002,
0.010390047915279865,
0.034502800554037094,
0.007939564995467663,
0.01728874072432518,
-0.07273966819047928,
0.005372392013669014,
0.00893842801451683,
-0.028939036652445793,
-0.021713612601161003,
-0.046526502817869186,
0.019398489966988564,
-0.0064832777716219425,
-0.03017127886414528,
-0.014469518326222897,
-0.031664907932281494,
-0.033214546740055084,
0.009885948151350021,
0.011323564685881138,
0.021601591259241104,
-0.005946505349129438,
-0.07654841989278793,
0.013545336201786995,
0.032337039709091187,
0.0770711898803711,
-0.026381198316812515,
-0.04477148875594139,
-0.02462618611752987,
0.021508239209651947,
0.05059663951396942,
0.03894634172320366,
-0.003278979565948248,
-0.004896298050880432,
0.01947317086160183,
-0.047796085476875305,
-0.02462618611752987,
-0.0030572691466659307,
0.012490461580455303,
0.002024565590545535,
-0.055040180683135986,
-0.010035310871899128,
-0.03420407325029373,
0.0012030703946948051,
-0.022908514365553856,
0.045331601053476334,
-0.008233622647821903,
-0.024719538167119026,
-0.017279405146837234,
0.031664907932281494,
0.0399545393884182,
0.057093918323516846,
-0.0027188691310584545,
0.011715642176568508,
-0.011463592760264874,
0.04253104701638222,
0.029704520478844643,
-0.011575615033507347,
0.014749573543667793,
0.013255945406854153,
-0.10335903614759445,
-0.046227775514125824,
-0.016737965866923332,
0.10029710084199905,
0.05055929720401764,
-0.02167627215385437,
-0.03868495672941208,
-0.03664989024400711,
-0.02038801833987236,
0.010352706536650658,
-0.009498538449406624,
0.028714992105960846,
0.03082474134862423,
0.01282652746886015,
0.029704520478844643,
0.011902345344424248,
0.04731065779924393,
-0.022255051881074905,
-0.01826893351972103,
0.010922152549028397,
0.03319587558507919,
-0.04787076637148857,
-0.009498538449406624,
-0.022161701694130898,
0.0042381687089800835,
0.04193359613418579,
-0.04615309461951256,
-0.006147211417555809,
-0.00027086588670499623,
0.03131017088890076,
0.04899098724126816,
-0.010968828573822975,
0.00854635052382946,
0.04447276517748833,
0.02759477123618126,
-0.0628817230463028,
-0.023636657744646072,
-0.0017970207845792174,
-0.045219577848911285,
-0.04051465168595314,
-0.0735611617565155,
0.07583894580602646,
0.013050572015345097,
0.0021820967085659504,
-0.023132558912038803,
-0.04787076637148857,
-0.0016861655749380589,
0.008452999405562878,
0.04697459191083908,
0.04697459191083908,
0.02167627215385437,
-0.0197532270103693,
0.01746610924601555,
-0.006207889877259731,
0.024271449074149132,
-0.03108612634241581,
-0.027408067137002945,
-0.005344386678189039,
-0.02746407873928547,
-0.040813375264406204,
-0.01842763088643551,
0.032953161746263504,
0.007626836188137531,
-0.011388910934329033,
0.016028491780161858,
-0.016037827357649803,
-0.015860458835959435,
0.0010892980499193072,
-0.007897556759417057,
0.042643070220947266,
0.013909407891333103,
-0.017036691308021545,
0.02231106348335743,
0.02371133863925934,
-0.08610763400793076,
-0.06183618679642677,
0.01753145456314087,
0.013059906661510468,
0.041597530245780945,
-0.07751927524805069,
-0.03676190972328186,
0.07326243817806244,
-0.04215764254331589,
0.01805422455072403,
0.006389925722032785,
-0.024588845670223236,
-0.013330627232789993,
0.010268690064549446,
0.02656790241599083,
-0.001816858071833849,
0.036052439361810684,
-0.03834889084100723,
-0.03482019528746605,
0.0035496994387358427,
-0.01045539416372776,
-0.03909570351243019,
0.01127688866108656,
0.004550897050648928,
0.019174445420503616,
-0.07610032707452774,
0.002241608453914523,
0.038386233150959015,
-0.017587466165423393,
0.01578577794134617,
-0.0412614643573761,
-0.03969315439462662,
0.008443663828074932,
0.08453932404518127,
0.000018478902347851545,
-0.02694130875170231,
0.09253023564815521,
0.04118678346276283,
-0.00987661350518465,
-0.06665313243865967,
-0.02555970288813114,
0.052837081253528595,
-0.025373000651597977,
-0.014945612289011478,
-0.019958600401878357,
-0.018371621146798134,
0.016821982339024544,
0.001609150436706841,
0.010632761754095554,
0.005344386678189039,
0.04872960224747658,
0.0005306462408043444,
0.0016068166587501764,
-0.0657196193933487,
0.02630651742219925,
0.044323403388261795,
-0.019659874960780144,
0.026493221521377563,
0.008140270598232746,
0.009587222710251808,
-0.0010000304318964481,
0.007864883169531822,
-0.03976783901453018,
0.011024839244782925,
-0.02320723980665207,
0.01879170350730419,
0.03519360348582268,
0.05776605010032654,
-0.014572205021977425,
-0.0033116526901721954,
0.032561082392930984,
0.004294179379940033,
0.034521471709012985,
0.007290770299732685,
0.01617785543203354,
-0.03750872611999512,
0.03569770231842995,
0.043912652879953384,
0.05589901655912399,
-0.015832453966140747,
-0.00916714034974575,
-0.0469372496008873,
-0.08633168041706085,
0.0820748433470726,
-0.02076142467558384,
-0.017774170264601707,
0.08364315330982208,
0.06295640766620636,
0.04492085427045822,
-0.0018506980268284678,
0.048169493675231934,
-0.02012663334608078,
-0.0611267127096653,
0.05171686038374901,
-0.005344386678189039,
-0.06403928995132446,
-0.03407338261604309,
0.03547365590929985,
0.01755012571811676,
-0.028957705944776535,
0.040290605276823044,
-0.030357982963323593,
0.06508482992649078,
-0.01198636181652546,
-0.057990096509456635,
-0.07729523628950119,
-0.019529182463884354,
0.008933760225772858,
-0.05026056990027428,
-0.004343189299106598,
-0.02126552350819111,
0.008737722411751747,
0.007701517548412085,
0.11769786477088928,
0.013069242238998413,
0.06881889700889587,
-0.010053981095552444,
-0.05955840274691582,
0.053845278918743134,
0.01374137494713068,
0.0004200827970635146,
-0.000990695203654468,
-0.0020654071122407913,
-0.032038312405347824,
-0.013003895990550518,
0.0001310570805799216,
-0.04226966202259064,
0.04555564373731613,
-0.04088805615901947,
0.037340693175792694,
0.01237843930721283,
0.08737722039222717,
-0.005251034628599882,
0.03659387677907944,
0.04226966202259064,
0.02268446981906891,
-0.0030222623609006405,
-0.003776077413931489,
0.011500933207571507,
0.017391426488757133,
-0.0064319344237446785,
-0.00505966367200017,
-0.03418540209531784,
-0.026399869471788406,
-0.06336715817451477,
0.04719863459467888,
-0.032038312405347824,
-0.019249126315116882,
0.02141488716006279,
-0.041336145251989365,
-0.02811754122376442,
-0.02580241858959198,
0.01879170350730419,
0.0539199598133564,
0.02940579503774643,
0.0006441269651986659,
-0.0256530549377203,
0.03138485178351402,
0.02464485727250576,
-0.013115918263792992,
-0.00722542405128479,
0.01258381363004446,
0.06784803420305252,
-0.05985713005065918,
0.020163973793387413,
0.02451416477560997,
-0.01611250825226307,
0.022628460079431534,
0.03894634172320366,
-0.02619449608027935,
-0.05627242475748062,
0.003876430680975318,
-0.009521876461803913,
0.030675377696752548,
-0.006973374169319868,
-0.008663040585815907,
-0.010679437778890133,
-0.015076304785907269,
-0.018726356327533722,
0.03196363151073456,
0.05328516662120819,
-0.030096597969532013,
0.019193116575479507,
0.02798684872686863,
0.035137590020895004,
0.06377790123224258,
0.026418540626764297,
-0.005643112119287252,
0.06280704587697983,
0.02667992375791073,
-0.05537624657154083,
0.04193359613418579,
-0.0026465216651558876,
0.049215033650398254,
0.04297913610935211,
-0.03327055647969246,
-0.017699487507343292,
-0.009708579629659653,
0.007048055529594421,
0.010483399033546448,
0.008817071095108986,
-0.0012124056229367852,
0.011202207766473293,
-0.03795681521296501,
0.03612712025642395,
0.0015858125407248735,
-0.005834483075886965,
-0.0008109931368380785,
0.002793550491333008,
0.01818491704761982,
-0.060940008610486984,
0.021732283756136894,
0.005265037529170513,
-0.021508239209651947,
-0.008719051256775856,
-0.00853701587766409,
-0.0071787480264902115,
-0.04940173402428627,
-0.01831560954451561,
0.030880752950906754,
-0.00916714034974575,
0.022161701694130898,
0.020593391731381416,
-0.002989589236676693,
-0.01772749423980713,
-0.005246367305517197,
0.03467083349823952,
-0.0410374216735363,
0.021750953048467636,
-0.022124359384179115,
0.010996833443641663,
0.05858754739165306,
0.013451984152197838,
0.051380790770053864,
-0.007976905442774296,
-0.01122087799012661,
-0.025727737694978714,
-0.025092944502830505,
0.05672051012516022,
0.0009854441741481423,
-0.07591363042593002,
-0.03741537407040596,
-0.035286955535411835,
-0.0312168188393116,
-0.017522118985652924,
0.0002192307001678273,
-0.01166896615177393,
0.005092336796224117,
0.05922233685851097,
-0.0338306687772274,
-0.005232364404946566,
0.007080728653818369,
0.060566604137420654,
-0.03478285297751427,
-0.04914035275578499,
0.014740237966179848,
-0.07266498357057571,
0.025485021993517876,
0.07057391107082367,
-0.011323564685881138,
-0.004602240398526192,
-0.028976377099752426,
-0.03917038440704346,
-0.018110236153006554,
0.022516436874866486,
-0.02178829349577427,
0.043539248406887054,
-0.0030432664789259434,
-0.0644126906991005,
-0.02386070229113102,
0.01826893351972103,
-0.014544199220836163,
-0.019510511308908463,
0.0017503449926152825,
-0.08670508861541748,
0.05040993541479111,
0.0072300913743674755,
-0.03530562296509743,
0.07326243817806244,
0.025485021993517876,
-0.03640717640519142,
-0.01704602688550949,
0.03691127523779869,
-0.03375598415732384,
0.005031658336520195,
-0.0036243810318410397,
0.004410869441926479,
0.019137104973196983,
-0.025970451533794403,
-0.049849823117256165,
0.032579753547906876,
0.004380529746413231,
-0.018156912177801132,
-0.04809481278061867,
0.040290605276823044,
0.04865492135286331,
-0.024700867012143135,
-0.018810372799634933,
0.06366588175296783,
0.04174689203500748,
-0.023300591856241226,
-0.041074760258197784,
0.028808344155550003,
0.04376329109072685,
0.012219741940498352,
0.0022077683825045824,
-0.049065668135881424,
0.07087263464927673,
0.012975890189409256,
-0.05059663951396942,
-0.004886962939053774,
-0.0554509274661541,
0.003421340836212039,
-0.00019326726032886654,
-0.00021573001868091524,
-0.02953648753464222,
-0.09917687624692917,
0.004702593199908733,
0.0011050511384382844,
0.005619774106889963,
-0.01803555339574814,
-0.005181021057069302,
-0.01555239874869585,
-0.014870930463075638,
-0.02992856502532959,
0.04357658699154854,
-0.05246367305517197,
0.019006412476301193,
-0.00416348734870553,
0.0318702794611454,
0.024028735235333443,
0.008527680300176144,
0.08080525696277618,
-0.011174201965332031,
0.024196768179535866,
0.02875233255326748,
-0.040327947586774826,
0.028416266664862633,
0.0875265821814537,
0.06430067121982574,
-0.01671929471194744,
0.030787400901317596,
-0.040029220283031464,
0.048804283142089844,
0.0022987863048911095,
0.02087344601750374,
0.025466352701187134,
-0.02307654730975628,
0.015897799283266068,
0.05149281397461891,
0.015832453966140747,
-0.048430878669023514,
0.043128497898578644,
-0.08326974511146545,
-0.00901777669787407,
0.011687636375427246,
-0.011734312400221825,
0.028957705944776535,
0.10007305443286896,
-0.06754931062459946,
0.031179478392004967,
0.022124359384179115,
-0.006212557666003704,
-0.042381685227155685,
-0.021340206265449524,
0.03368130326271057,
0.000049629572458798066,
-0.03935708850622177,
-0.002641853876411915,
-0.01787685602903366,
0.0198652483522892,
0.021452227607369423,
0.028341585770249367,
0.017886191606521606,
0.09118597209453583,
0.0019195450004190207,
0.035641688853502274,
0.01114619616419077,
-0.041074760258197784,
-0.08304569870233536,
0.00804225169122219,
0.1047779843211174,
-0.02268446981906891,
-0.018997076898813248,
-0.00906912051141262,
0.001609150436706841,
-0.04200827702879906,
-0.05776605010032654,
-0.05082068219780922,
0.0375460647046566,
0.061089374125003815,
0.003096943721175194,
0.014880266040563583,
-0.048804283142089844,
0.042568389326334
]
|
40,803 | pyglove.core.object_utils.common_traits | format | Formats this object into a string representation.
Args:
compact: If True, this object will be formatted into a single line.
verbose: If True, this object will be formatted with verbosity.
Subclasses should define `verbosity` on their own.
root_indent: The start indent level for this object if the output is a
multi-line string.
**kwargs: Subclass specific keyword arguments.
Returns:
A string of formatted object.
| @abc.abstractmethod
def format(self,
compact: bool = False,
verbose: bool = True,
root_indent: int = 0,
**kwargs) -> str:
"""Formats this object into a string representation.
Args:
compact: If True, this object will be formatted into a single line.
verbose: If True, this object will be formatted with verbosity.
Subclasses should define `verbosity` on their own.
root_indent: The start indent level for this object if the output is a
multi-line string.
**kwargs: Subclass specific keyword arguments.
Returns:
A string of formatted object.
"""
| (self, compact: bool = False, verbose: bool = True, root_indent: int = 0, **kwargs) -> str | [
-0.01631343364715576,
-0.041107434779405594,
0.008048766292631626,
-0.0015059051802381873,
0.015544828027486801,
-0.09547978639602661,
-0.02473354898393154,
-0.040831081569194794,
0.005501141771674156,
-0.045770883560180664,
-0.012660399079322815,
-0.0032212338410317898,
-0.009991870261728764,
0.046910837292671204,
-0.02122732624411583,
0.026771647855639458,
0.0019225929863750935,
-0.06936448067426682,
0.0373421311378479,
0.033749550580978394,
0.0664973184466362,
0.005928624887019396,
0.030606038868427277,
0.017997456714510918,
0.029604261741042137,
0.04621995612978935,
0.03962203860282898,
-0.01794563978910446,
0.009473709389567375,
0.0010471169371157885,
-0.02728980965912342,
-0.006183387245982885,
-0.003396113170310855,
0.08767282962799072,
-0.01910286583006382,
-0.011883157305419445,
-0.049985259771347046,
0.013938529416918755,
-0.08877824246883392,
0.006489965599030256,
-0.012116329744458199,
0.007051306776702404,
0.017030222341418266,
-0.04283463582396507,
-0.015631187707185745,
-0.01160680502653122,
0.05924306809902191,
0.047912612557411194,
-0.035442207008600235,
-0.022453639656305313,
0.023576322942972183,
-0.010501394979655743,
-0.026495296508073807,
-0.0329723060131073,
-0.05699770152568817,
0.02291998453438282,
0.04300735890865326,
-0.007517651654779911,
0.012755394913256168,
-0.005229107569903135,
-0.06967537105083466,
0.035856734961271286,
0.06639368832111359,
-0.02079552598297596,
-0.06936448067426682,
-0.04666902869939804,
-0.06432104110717773,
-0.0010557528585195541,
0.006947674322873354,
0.02279908023774624,
0.005777494516223669,
0.015389380045235157,
0.005889762658625841,
0.040658362209796906,
0.0031974846497178078,
0.05264515057206154,
-0.08815644681453705,
-0.007500379346311092,
0.02162458375096321,
-0.06825906783342361,
-0.02093370258808136,
-0.013480820693075657,
-0.012150873430073261,
-0.024837180972099304,
0.007301751058548689,
-0.07019353657960892,
0.021866390481591225,
0.013843532651662827,
0.027082545682787895,
0.058206744492053986,
-0.023369058966636658,
0.026426207274198532,
-0.005466597620397806,
0.03406044468283653,
-0.03478587046265602,
0.0026965958531945944,
-0.0009013841045089066,
-0.05844855308532715,
0.014698498882353306,
0.011477264575660229,
-0.030726943165063858,
-0.0068872226402163506,
-0.01307492796331644,
-0.06743001192808151,
-0.05634136497974396,
-0.04058927297592163,
-0.03879298269748688,
0.0351831279695034,
0.005505459848791361,
0.030053334310650826,
-0.030761487782001495,
-0.049432553350925446,
-0.04601269215345383,
-0.054406896233558655,
0.03509676828980446,
0.00021306669805198908,
-0.007206754758954048,
0.015199387446045876,
0.014836674556136131,
-0.06376834213733673,
0.004430275876075029,
-0.018032001331448555,
0.0178420078009367,
-0.00962915737181902,
0.013273555785417557,
-0.002785115037113428,
-0.0260289516299963,
0.01478485856205225,
0.047152645885944366,
-0.03976021707057953,
-0.00778105016797781,
0.024146299809217453,
0.007357885129749775,
-0.03775665909051895,
0.07558240741491318,
0.00019552478624973446,
0.004836168605834246,
-0.013618996366858482,
-0.04141832888126373,
0.08808735758066177,
0.04228193312883377,
-0.059208523482084274,
0.02307543344795704,
0.027531618252396584,
-0.04283463582396507,
-0.007539241574704647,
0.058344922959804535,
-0.019586483016610146,
-0.02459537237882614,
0.048292599618434906,
0.06632459908723831,
0.04121106490492821,
0.013057655654847622,
-0.025510789826512337,
0.013955800794064999,
-0.0294315405189991,
-0.000247205956839025,
-0.03254050761461258,
0.03409498929977417,
-0.02435356378555298,
-0.026961641386151314,
-0.041383787989616394,
0.03421589359641075,
0.013282191939651966,
0.0003046894271392375,
0.02644347958266735,
-0.0607975497841835,
-0.0376184843480587,
-0.01464668195694685,
0.0034436113201081753,
-0.0009526604553684592,
-0.0390002466738224,
-0.044941823929548264,
0.04345643147826195,
0.015242567285895348,
0.04991617053747177,
-0.011183639988303185,
0.05658317357301712,
-0.046910837292671204,
-0.009741425514221191,
0.02010464482009411,
-0.0531633123755455,
-0.04376732558012009,
0.04404367879033089,
0.04121106490492821,
-0.02601167932152748,
0.04141832888126373,
-0.028343403711915016,
0.03692760318517685,
0.006045211106538773,
0.018636520951986313,
-0.0049657090567052364,
-0.02799796313047409,
-0.02091643027961254,
-0.00277432007715106,
-0.032471418380737305,
0.017082039266824722,
-0.046599939465522766,
0.052679695188999176,
0.039829302579164505,
-0.04919074475765228,
0.01429260615259409,
-0.00203917920589447,
-0.04628904163837433,
0.052679695188999176,
0.005609092302620411,
-0.00918872095644474,
-0.05810311436653137,
-0.068708136677742,
0.00037296791560947895,
-0.0015695957699790597,
-0.025148076936602592,
-0.014111249707639217,
0.02601167932152748,
0.04777443781495094,
-0.05074522644281387,
0.08566927164793015,
0.025130804628133774,
-0.019189227372407913,
0.04722173139452934,
0.05164337158203125,
-0.03482041507959366,
0.0058638546615839005,
0.022177288308739662,
-0.025528062134981155,
-0.008437387645244598,
0.06501192599534988,
-0.02860248275101185,
0.010639571584761143,
-0.03737667575478554,
-0.0031694176141172647,
-0.09119632095098495,
-0.00879578199237585,
0.06932993233203888,
-0.017263395711779594,
0.00885191559791565,
-0.03057149425148964,
-0.043870959430933,
-0.07029716670513153,
-0.020018283277750015,
-0.011330452747642994,
0.012703578919172287,
0.013316735625267029,
0.03703123331069946,
0.01996646821498871,
-0.0902290940284729,
-0.0034371342044323683,
0.0220736563205719,
-0.0356840156018734,
0.012789938598871231,
-0.013100835494697094,
-0.005013206973671913,
-0.01868833787739277,
-0.009983234107494354,
-0.021607311442494392,
-0.012444498017430305,
-0.05102157965302467,
0.008066038601100445,
0.0026814828161150217,
0.014698498882353306,
-0.007668782025575638,
-0.06266292929649353,
-0.017997456714510918,
0.041521962732076645,
0.06608279049396515,
-0.0012824482982978225,
0.008290574885904789,
-0.03355955705046654,
-0.0038991610053926706,
0.07309523224830627,
0.027048001065850258,
0.01993192359805107,
-0.008541019633412361,
0.03879298269748688,
-0.0630083680152893,
-0.003644398646429181,
-0.022989073768258095,
-0.039552953094244,
-0.04131469875574112,
-0.06269747018814087,
0.022021839395165443,
0.0029254502151161432,
-0.007349249441176653,
-0.013290828093886375,
0.026512566953897476,
-0.04566724970936775,
-0.003957454115152359,
-0.03525221720337868,
-0.012358138337731361,
0.03737667575478554,
0.04770534858107567,
0.025718053802847862,
-0.015458467416465282,
0.003976885229349136,
0.06331926584243774,
-0.00455981632694602,
-0.0008063879795372486,
-0.001538290292955935,
-0.012565402314066887,
-0.08981455862522125,
-0.024837180972099304,
-0.045183632522821426,
0.043801870197057724,
0.00041776723810471594,
-0.015752092003822327,
-0.0038149598985910416,
-0.04473455995321274,
0.015069846995174885,
-0.015208023600280285,
0.01415442954748869,
0.009845057502388954,
0.027048001065850258,
0.024975357577204704,
0.029103372246026993,
-0.008251712657511234,
0.036167632788419724,
-0.006610869895666838,
0.0026534157805144787,
0.010285494849085808,
0.03737667575478554,
-0.07482244074344635,
-0.008260348811745644,
-0.016848865896463394,
-0.0013029588153585792,
0.058379463851451874,
-0.04570179432630539,
-0.033715005964040756,
0.027963418513536453,
0.016019808128476143,
0.047739893198013306,
-0.022021839395165443,
0.019068323075771332,
0.04318007826805115,
0.01867106556892395,
-0.07095350325107574,
-0.04034746438264847,
0.01012140978127718,
-0.05862127244472504,
-0.017772920429706573,
-0.017772920429706573,
0.09195629507303238,
0.03029514290392399,
-0.011010919697582722,
-0.006865632254630327,
-0.04314553365111351,
0.008562609553337097,
-0.00040346384048461914,
-0.0017563496949151158,
0.035027679055929184,
0.017082039266824722,
-0.025389885529875755,
-0.0299842469394207,
0.006969264708459377,
0.004309371579438448,
-0.024146299809217453,
-0.010510031133890152,
-0.004706628620624542,
-0.03112420067191124,
-0.018740152940154076,
-0.02459537237882614,
0.015026667155325413,
-0.01429260615259409,
0.0192237701267004,
0.035304032266139984,
-0.019154682755470276,
-0.010639571584761143,
0.015233931131660938,
-0.01095910370349884,
0.06656640768051147,
-0.011192276142537594,
-0.0384475402534008,
0.0008522667922079563,
0.020985517650842667,
-0.0863601565361023,
-0.056375909596681595,
0.04369824007153511,
0.006416559685021639,
0.01628752611577511,
-0.07309523224830627,
-0.01996646821498871,
0.0738552063703537,
-0.021400047466158867,
0.015294383279979229,
-0.008998728357255459,
-0.01837744191288948,
-0.03172872215509415,
0.03744576498866081,
0.045494530349969864,
-0.0349067747592926,
0.01810108870267868,
-0.03110692836344242,
0.00046904358896426857,
-0.045632705092430115,
-0.02518262155354023,
-0.03647853061556816,
-0.00828193873167038,
0.02884429134428501,
0.023282697424292564,
-0.0929926186800003,
0.001083820010535419,
0.04162559658288956,
-0.052265167236328125,
0.038378454744815826,
-0.04228193312883377,
-0.015078483149409294,
-0.02150367945432663,
0.08739648014307022,
-0.015018031001091003,
-0.01965557225048542,
0.06352653354406357,
0.06297382712364197,
-0.010570483282208443,
-0.08504748344421387,
0.00023627598420716822,
0.03716941177845001,
-0.020018283277750015,
-0.016658874228596687,
0.015147571451961994,
-0.04069290682673454,
0.007103122770786285,
0.00821285042911768,
0.06905358284711838,
-0.007517651654779911,
0.06266292929649353,
0.019759204238653183,
-0.028498850762844086,
-0.052852414548397064,
0.031314194202423096,
0.07682599127292633,
-0.019551938399672508,
0.0072715249843895435,
-0.0025109215639531612,
-0.03466496616601944,
0.023818131536245346,
0.017574291676282883,
-0.031003296375274658,
0.0260289516299963,
-0.031469639390707016,
0.0001327112695435062,
0.057066790759563446,
0.07420064508914948,
-0.05274878442287445,
-0.018325624987483025,
0.012280413880944252,
0.014517142437398434,
0.002862839261069894,
-0.01294538751244545,
0.00905054435133934,
-0.007116077002137899,
0.025959862396121025,
0.0607975497841835,
0.0871892124414444,
-0.026288030669093132,
-0.01103682816028595,
-0.022522728890180588,
-0.0921635553240776,
0.05951941758394241,
-0.010777747258543968,
-0.03300685063004494,
0.02899974025785923,
0.0178420078009367,
0.028619755059480667,
-0.0260289516299963,
0.019033778458833694,
-0.006230885162949562,
-0.02773888222873211,
0.001790893729776144,
0.019310131669044495,
-0.058379463851451874,
-0.03000151738524437,
0.037687573581933975,
-0.017297938466072083,
-0.0365130752325058,
0.04514908790588379,
0.0022302509751170874,
0.05036524310708046,
-0.0018664589151740074,
-0.026478024199604988,
-0.052679695188999176,
-0.007798322010785341,
-0.017738375812768936,
-0.024785364046692848,
-0.01953466795384884,
0.005306831561028957,
0.017876552417874336,
0.030485134571790695,
0.08394207060337067,
0.012530858628451824,
0.036133088171482086,
-0.016157984733581543,
-0.034164078533649445,
0.059484876692295074,
-0.024940812960267067,
-0.00410642521455884,
0.026391662657260895,
0.010216406546533108,
-0.03906933590769768,
-0.032454147934913635,
-0.02321361005306244,
-0.0025497835595160723,
0.029517902061343193,
-0.0063949692994356155,
0.0447000153362751,
-0.010544574819505215,
0.027635250240564346,
0.0005618807626888156,
0.03026059828698635,
0.034025900065898895,
0.013040383346378803,
0.0019128774292767048,
-0.009525525383651257,
0.021814575418829918,
0.008467613719403744,
0.028913380578160286,
-0.008113536983728409,
-0.034716781228780746,
-0.036409441381692886,
-0.018429256975650787,
0.042661916464567184,
0.0038235958199948072,
0.011434084735810757,
0.018636520951986313,
-0.04224738851189613,
-0.010518667288124561,
-0.04528726637363434,
0.03499313443899155,
0.050296153873205185,
0.011485900729894638,
-0.014033525250852108,
0.002223774092271924,
-0.007547877728939056,
0.027203448116779327,
0.019137410447001457,
0.03533857688307762,
-0.021140966564416885,
0.04117652401328087,
-0.07074624300003052,
0.04411276802420616,
0.0017800986533984542,
-0.027220720425248146,
0.047878071665763855,
-0.0013634109636768699,
-0.004736854694783688,
-0.08034949004650116,
-0.005980440881103277,
0.010700023733079433,
0.05081431567668915,
-0.018861057236790657,
0.00880441814661026,
0.0007491743308492005,
-0.01810108870267868,
-0.040831081569194794,
0.004905256908386946,
0.068708136677742,
0.04456184059381485,
0.027756154537200928,
0.01796291209757328,
0.017721103504300117,
0.026408934965729713,
0.014111249707639217,
-0.012755394913256168,
0.07730960845947266,
0.025666238740086555,
-0.023852674290537834,
0.028516123071312904,
0.03737667575478554,
0.03216052055358887,
0.04587451368570328,
-0.007578103803098202,
0.0012317117070779204,
-0.02034645341336727,
0.008601471781730652,
-0.006308609154075384,
0.007323340978473425,
-0.00890373159199953,
0.032765042036771774,
-0.021279143169522285,
0.02760070562362671,
-0.008268984965980053,
-0.002002476016059518,
-0.01491439901292324,
-0.022108199074864388,
0.05544321984052658,
-0.05188518017530441,
0.013394460082054138,
0.005172973498702049,
-0.005090930964797735,
-0.01753111183643341,
0.029379725456237793,
-0.009378712624311447,
-0.013463548384606838,
-0.021710943430662155,
0.04217829927802086,
-0.02841249108314514,
0.02036372385919094,
-0.01273812260478735,
0.028377946466207504,
-0.061902958899736404,
-0.004508000332862139,
0.007824230007827282,
-0.05492505803704262,
0.05102157965302467,
-0.007439927197992802,
0.07205891609191895,
0.025424430146813393,
0.029604261741042137,
0.0299842469394207,
0.030916934832930565,
-0.04642722010612488,
0.01243586279451847,
-0.009292352944612503,
0.050572507083415985,
0.009741425514221191,
-0.07295706123113632,
-0.04628904163837433,
-0.027514345943927765,
-0.030036062002182007,
0.006269747391343117,
-0.0042230114340782166,
-0.012746758759021759,
0.005596138071268797,
0.059761226177215576,
-0.06988263875246048,
0.023559050634503365,
-0.04735990986227989,
0.06570280343294144,
-0.03751485049724579,
-0.02927609346807003,
0.028498850762844086,
-0.08988364785909653,
0.038862068206071854,
0.02915518917143345,
-0.00039779648068360984,
-0.033594101667404175,
-0.04483819380402565,
-0.0607975497841835,
-0.025268981233239174,
0.06680821627378464,
-0.052990593016147614,
0.03425043821334839,
0.03312775492668152,
-0.014577594585716724,
-0.0016095374012365937,
-0.009896873496472836,
-0.015147571451961994,
-0.015752092003822327,
-0.03197053074836731,
-0.05119429901242256,
0.05730859935283661,
-0.0231790654361248,
-0.06501192599534988,
0.0444236658513546,
0.004097789525985718,
-0.00021536063286475837,
-0.013860804960131645,
0.04014020040631294,
0.017280668020248413,
0.034751325845718384,
-0.025372613221406937,
0.0063863336108624935,
-0.008428751491010189,
-0.010009141638875008,
-0.0064208777621388435,
0.012971295043826103,
0.02644347958266735,
-0.00891236774623394,
-0.06086663901805878,
-0.03796392306685448,
0.04653085023164749,
-0.05074522644281387,
-0.008782828226685524,
0.08055675029754639,
0.05077977105975151,
0.01748793199658394,
-0.05630682036280632,
0.003717804793268442,
0.03335229307413101,
0.019033778458833694,
0.03393954038619995,
-0.06477011740207672,
0.0749606117606163,
-0.006382015533745289,
-0.02801523357629776,
-0.02887883596122265,
-0.01012140978127718,
-0.019914651289582253,
-0.025856230407953262,
0.023023618385195732,
-0.025528062134981155,
-0.08345845341682434,
-0.0012209167471155524,
-0.02728980965912342,
-0.01748793199658394,
-0.003508381312713027,
0.05699770152568817,
0.009870965965092182,
-0.02024281956255436,
-0.0028045461513102055,
0.05689407140016556,
-0.04615086689591408,
0.027687065303325653,
0.005168655421584845,
0.007668782025575638,
0.05102157965302467,
0.03893115743994713,
0.045321810990571976,
-0.008821689523756504,
0.03083057515323162,
0.009197356179356575,
-0.0326959565281868,
0.034751325845718384,
0.10515212267637253,
0.032765042036771774,
-0.006667003966867924,
0.001117284526117146,
-0.044216398149728775,
0.07074624300003052,
0.019085593521595,
0.02293725684285164,
0.03278231620788574,
-0.07309523224830627,
0.017738375812768936,
0.007254253141582012,
-0.004732536617666483,
-0.015501648187637329,
0.04621995612978935,
-0.05986486002802849,
0.0013461388880386949,
0.019327402114868164,
0.005423417780548334,
-0.002138493349775672,
0.01855016127228737,
-0.03931114450097084,
-0.007509015500545502,
0.04708355665206909,
0.017185671254992485,
-0.04798170179128647,
-0.011900429613888264,
0.03494131937623024,
-0.006602233741432428,
0.015233931131660938,
0.013454912230372429,
0.008376935496926308,
0.008376935496926308,
-0.018636520951986313,
0.00899009220302105,
0.048016246408224106,
0.10556665062904358,
-0.04666902869939804,
0.026668015867471695,
0.011408176273107529,
-0.00911963265389204,
-0.015769364312291145,
0.026616200804710388,
0.10066139698028564,
-0.010535938665270805,
-0.019586483016610146,
0.006913130637258291,
0.05357784032821655,
-0.026478024199604988,
-0.057619497179985046,
-0.09734516590833664,
0.04767080768942833,
0.06490829586982727,
0.01780746318399906,
0.0673263743519783,
-0.024716276675462723,
0.041521962732076645
]
|
40,804 | pyglove.core.symbolic.functor | Functor | Symbolic functions (Functors).
A symbolic function is a symbolic class with a ``__call__`` method, whose
arguments can be bound partially, incrementally bound by attribute
assignment, or provided at call time.
Another useful trait is that a symbolic function is serializable, when
its definition is imported by the target program and its arguments are also
serializable. Therefore, it is very handy to move a symbolic function
around in distributed scenarios.
Symbolic functions can be created from regular function via
:func:`pyglove.functor`::
# Create a functor class using @pg.functor decorator.
@pg.functor([
('a', pg.typing.Int(), 'Argument a'),
# No field specification for 'b', which will be treated as any type.
])
def sum(a, b=1, *args, **kwargs):
return a + b + sum(args + kwargs.values())
sum(1)() # returns 2: prebind a=1, invoke with b=1 (default)
sum(a=1)() # returns 2: same as above.
sum()(1) # returns 2: bind a=1 at call time, b=1(default)
sum(b=2)(1) # returns 3: prebind b=2, invoke with a=1.
sum(b=2)() # wrong: `a` is not provided.
sum(1)(2) # wrong: 'a' is provided multiple times.
sum(1)(2, override_args=True) # ok: override `a` value with 2.
sum()(1, 2, 3, 4) # returns 10: a=1, b=2, *args=[3, 4]
sum(c=4)(1, 2, 3) # returns 10: a=1, b=2, *args=[3], **kwargs={'c': 4}
Or created by subclassing ``pg.Functor``::
class Sum(pg.Functor):
a: int
b: int = 1
def _call(self) -> int:
return self.a + self.b
Usage on subclassed functors is the same as functors created from functions.
| class Functor(pg_object.Object, object_utils.Functor):
"""Symbolic functions (Functors).
A symbolic function is a symbolic class with a ``__call__`` method, whose
arguments can be bound partially, incrementally bound by attribute
assignment, or provided at call time.
Another useful trait is that a symbolic function is serializable, when
its definition is imported by the target program and its arguments are also
serializable. Therefore, it is very handy to move a symbolic function
around in distributed scenarios.
Symbolic functions can be created from regular function via
:func:`pyglove.functor`::
# Create a functor class using @pg.functor decorator.
@pg.functor([
('a', pg.typing.Int(), 'Argument a'),
# No field specification for 'b', which will be treated as any type.
])
def sum(a, b=1, *args, **kwargs):
return a + b + sum(args + kwargs.values())
sum(1)() # returns 2: prebind a=1, invoke with b=1 (default)
sum(a=1)() # returns 2: same as above.
sum()(1) # returns 2: bind a=1 at call time, b=1(default)
sum(b=2)(1) # returns 3: prebind b=2, invoke with a=1.
sum(b=2)() # wrong: `a` is not provided.
sum(1)(2) # wrong: 'a' is provided multiple times.
sum(1)(2, override_args=True) # ok: override `a` value with 2.
sum()(1, 2, 3, 4) # returns 10: a=1, b=2, *args=[3, 4]
sum(c=4)(1, 2, 3) # returns 10: a=1, b=2, *args=[3], **kwargs={'c': 4}
Or created by subclassing ``pg.Functor``::
class Sum(pg.Functor):
a: int
b: int = 1
def _call(self) -> int:
return self.a + self.b
Usage on subclassed functors is the same as functors created from functions.
"""
# Allow assignment on symbolic attributes.
allow_symbolic_assignment = True
# Key for storing override members during call.
_TLS_OVERRIDE_MEMBERS_KEY = '__override_members__'
#
# Customizable class traits.
#
@classmethod
@property
def is_subclassed_functor(cls) -> bool:
"""Returns True if this class is a subclassed Functor."""
return cls.auto_schema
@classmethod
def _update_signatures_based_on_schema(cls):
# Update the return value of subclassed functors.
if cls.is_subclassed_functor: # pylint: disable=using-constant-test
private_call_signature = pg_typing.Signature.from_callable(
cls._call, auto_typing=True
)
if (
len(private_call_signature.args) > 1
or private_call_signature.kwonlyargs
):
raise TypeError(
'`_call` of a subclassed Functor should take no argument. '
f'Encountered: {cls._call}.'
)
cls.__schema__.metadata['returns'] = private_call_signature.return_value
# Update __init_ signature.
init_signature = pg_typing.Signature.from_schema(
cls.__schema__,
name='__init__',
module_name=cls.__module__,
qualname=cls.__qualname__,
)
pseudo_init = init_signature.make_function(['pass'])
# Save the original `Functor.__init__` before overriding it.
if not hasattr(cls, '__orig_init__'):
setattr(cls, '__orig_init__', cls.__init__)
@object_utils.explicit_method_override
@functools.wraps(pseudo_init)
def _init(self, *args, **kwargs):
self.__class__.__orig_init__(self, *args, **kwargs)
setattr(cls, '__init__', _init)
# Update __call__ signature.
call_signature = pg_typing.Signature.from_schema(
cls.__schema__,
name='__call__',
module_name=cls.__module__,
qualname=cls.__qualname__,
is_method=False,
)
setattr(cls, '__signature__', call_signature)
def __new__(cls, *args, **kwargs):
instance = object.__new__(cls)
if flags.should_call_functors_during_init():
instance.__init__(*args, **kwargs)
return instance()
return instance
@object_utils.explicit_method_override
def __init__(
self,
*args,
root_path: Optional[object_utils.KeyPath] = None,
override_args: bool = False,
ignore_extra_args: bool = False,
**kwargs):
"""Constructor.
Args:
*args: prebound positional arguments.
root_path: The symbolic path for current object.
override_args: If True, allows arguments provided during `__call__` to
override existing bound arguments.
ignore_extra_args: If True, unsupported arguments can be passed in
during `__call__` without using them. Otherwise, calling with
unsupported arguments will raise error.
**kwargs: prebound keyword arguments.
Raises:
KeyError: constructor got unexpected arguments.
"""
# NOTE(daiyip): Since Functor is usually late bound (until call time),
# we pass `allow_partial=True` during functor construction.
_ = kwargs.pop('allow_partial', None)
varargs = None
signature = self.__signature__
if len(args) > len(signature.args):
if signature.varargs:
varargs = list(args[len(signature.args) :])
args = args[: len(signature.args)]
else:
arg_phrase = object_utils.auto_plural(len(signature.args), 'argument')
was_phrase = object_utils.auto_plural(len(args), 'was', 'were')
raise TypeError(
f'{signature.id}() takes {len(signature.args)} '
f'positional {arg_phrase} but {len(args)} {was_phrase} given.'
)
bound_kwargs = dict()
for i, v in enumerate(args):
if pg_typing.MISSING_VALUE != v:
bound_kwargs[signature.args[i].name] = v
if varargs is not None:
bound_kwargs[signature.varargs.name] = varargs
for k, v in kwargs.items():
if pg_typing.MISSING_VALUE != v:
if k in bound_kwargs:
raise TypeError(
f'{signature.id}() got multiple values for keyword '
f'argument {k!r}.'
)
bound_kwargs[k] = v
default_args = set()
non_default_args = set(bound_kwargs)
for arg_spec in signature.named_args:
if not arg_spec.value_spec.has_default:
continue
arg_name = arg_spec.name
if arg_name not in non_default_args:
default_args.add(arg_name)
elif bound_kwargs[arg_name] == arg_spec.value_spec.default:
default_args.add(arg_name)
non_default_args.discard(arg_name)
if signature.varargs and not varargs:
default_args.add(signature.varargs.name)
super().__init__(allow_partial=True,
root_path=root_path,
**bound_kwargs)
self._non_default_args = non_default_args
self._default_args = default_args
self._specified_args = set(bound_kwargs)
self._override_args = override_args
self._ignore_extra_args = ignore_extra_args
# For subclassed Functor, we use thread-local storage for storing temporary
# member overrides from the arguments during functor call.
self._tls = threading.local() if self.is_subclassed_functor else None
def _sym_inferred(self, key: str, **kwargs: Any) -> Any:
"""Overrides method to allow member overrides during call."""
if self._tls is not None:
overrides = getattr(self._tls, Functor._TLS_OVERRIDE_MEMBERS_KEY, {})
v = overrides.get(key, pg_typing.MISSING_VALUE)
if pg_typing.MISSING_VALUE != v:
return overrides[key]
return super()._sym_inferred(key, **kwargs)
def _sym_clone(self, deep: bool, memo: Any = None) -> 'Functor':
"""Override to copy bound args."""
other = super()._sym_clone(deep, memo)
# pylint: disable=protected-access
other._non_default_args = set(self._non_default_args)
other._default_args = self._default_args
other._specified_args = self._specified_args
other._override_args = self._override_args
other._ignore_extra_args = self._ignore_extra_args
# pylint: enable=protected-access
return typing.cast(Functor, other)
def _on_change(
self, field_updates: Dict[object_utils.KeyPath, base.FieldUpdate]):
"""Custom handling field change to update bound args."""
for relative_path, update in field_updates.items():
assert relative_path
| null | [
-0.011102446354925632,
-0.052476730197668076,
0.03781900554895401,
0.04644731432199478,
-0.017298193648457527,
-0.010447526350617409,
-0.03528249263763428,
0.005101615563035011,
0.05251831188797951,
-0.056177545338869095,
-0.005078225862234831,
0.03555277734994888,
-0.015707675367593765,
0.035199329257011414,
-0.029856016859412193,
0.038484323769807816,
0.0006493969704024494,
0.015603719279170036,
0.0031914336141198874,
0.00389573210850358,
0.000659142795484513,
0.00272883172146976,
0.005161390174180269,
0.0140132000669837,
0.011092050932347775,
0.018348144367337227,
-0.01857684552669525,
0.02008420042693615,
0.025801751762628555,
-0.0031394558027386665,
-0.018462495878338814,
-0.022641506046056747,
-0.031041109934449196,
-0.008082539774477482,
0.060127854347229004,
-0.08337230235338211,
0.02763136848807335,
0.09854980558156967,
0.009828991256654263,
-0.011403917334973812,
0.020645560696721077,
-0.047985855489969254,
-0.03910805657505989,
-0.021414831280708313,
0.011393521912395954,
0.041395075619220734,
-0.008643899112939835,
0.07597067207098007,
-0.012256352230906487,
-0.047029465436935425,
-0.012599405832588673,
-0.057923998683691025,
0.06582461297512054,
0.0027548205107450485,
-0.01803627796471119,
0.02503248117864132,
0.03592701628804207,
0.02282862551510334,
-0.015271061100065708,
0.03197670727968216,
-0.00020839826902374625,
0.04312073811888695,
0.024055300280451775,
-0.05833981931209564,
-0.003194032469764352,
-0.05555381253361702,
-0.02862934209406376,
-0.03530328348278999,
-0.007349653169512749,
0.004085450898855925,
-0.07185403257608414,
-0.00821768119931221,
0.04732053726911545,
0.00014302002091426402,
0.01853526383638382,
-0.0014085968723520637,
0.007386037614196539,
-0.02503248117864132,
0.03162325918674469,
-0.021893026307225227,
-0.009626278653740883,
-0.06486822664737701,
-0.09480740875005722,
-0.014979986473917961,
-0.010624251328408718,
-0.001084385672584176,
-0.00008186494960682467,
0.02067674696445465,
0.006200945004820824,
-0.03353603929281235,
-0.0676126480102539,
0.01303601823747158,
0.028754089027643204,
0.04619782045483589,
-0.01697593182325363,
-0.065907783806324,
-0.017318984493613243,
-0.031851962208747864,
0.02596808224916458,
-0.01983470842242241,
0.014928008429706097,
0.012692965567111969,
-0.007240499835461378,
0.008342428132891655,
0.03151930496096611,
0.003212224692106247,
-0.019065435975790024,
-0.029585732147097588,
-0.027465039864182472,
-0.005473256576806307,
-0.046239402145147324,
-0.006403658073395491,
0.02667497843503952,
0.017163051292300224,
-0.037881381809711456,
-0.009688652120530605,
-0.005816309712827206,
-0.05189457908272743,
-0.008155308663845062,
0.02078070305287838,
-0.024304794147610664,
0.010338373482227325,
-0.004345339257270098,
0.00854514166712761,
-0.02898279018700123,
0.0032460102811455727,
0.03756951540708542,
0.030458958819508553,
0.010821766220033169,
0.012640987522900105,
0.06482664495706558,
0.001107775722630322,
-0.025905707851052284,
0.0552627369761467,
0.02731950208544731,
0.008825820870697498,
0.0476531982421875,
0.04120795801281929,
-0.08524350076913834,
0.08241591602563858,
0.023597896099090576,
-0.027236338704824448,
0.015478972345590591,
0.03838036581873894,
-0.024450331926345825,
0.02137324959039688,
0.007178126368671656,
-0.029835226014256477,
-0.009969331324100494,
-0.028858043253421783,
0.001206533401273191,
0.014273088425397873,
0.020759912207722664,
0.05734184756875038,
-0.02183065377175808,
0.021154941990971565,
-0.024949317798018456,
-0.049233321100473404,
-0.05430634692311287,
0.00629450473934412,
-0.05255989730358124,
-0.015343829989433289,
-0.03536565601825714,
-0.06125057488679886,
-0.01987629011273384,
-0.01031238492578268,
0.03910805657505989,
-0.10096157342195511,
-0.0034773112274706364,
0.06599094718694687,
-0.0038853364530950785,
-0.02642548643052578,
0.042039599269628525,
0.047486867755651474,
0.028234310448169708,
0.08823741972446442,
0.010509899817407131,
0.007016995456069708,
0.011008886620402336,
-0.0417485237121582,
0.06370392441749573,
-0.05060553178191185,
-0.08407919853925705,
-0.013742915354669094,
0.02752741426229477,
0.030895572155714035,
-0.030063927173614502,
-0.012599405832588673,
0.058630894869565964,
0.010863348841667175,
-0.015156710520386696,
-0.02262071520090103,
0.05426476523280144,
0.005675969645380974,
0.017412545159459114,
0.00633088918402791,
-0.026695769280195236,
0.03197670727968216,
-0.0008680283208377659,
0.02447112277150154,
-0.026508649811148643,
-0.003503300016745925,
0.0355735681951046,
-0.00904412753880024,
-0.039648622274398804,
-0.0034019434824585915,
0.03230936452746391,
0.06362076103687286,
-0.026487858965992928,
-0.0560528002679348,
0.025011690333485603,
-0.03405581787228584,
-0.028837252408266068,
0.05937937647104263,
-0.027194757014513016,
-0.06303860992193222,
0.05193616449832916,
-0.009111698716878891,
0.0030640880577266216,
0.013732519932091236,
0.09613803774118423,
0.017693225294351578,
-0.01898227259516716,
-0.004015280865132809,
0.026716560125350952,
-0.028858043253421783,
0.06312177330255508,
-0.0037787819746881723,
0.021414831280708313,
-0.030188674107193947,
0.011694992892444134,
-0.05214407294988632,
-0.0025209207087755203,
0.005686365533620119,
0.008867403492331505,
-0.04865116998553276,
0.04790268838405609,
0.005598003044724464,
-0.0071261487901210785,
0.0008764747180975974,
-0.0013605174608528614,
0.002279224107041955,
0.012173187918961048,
0.003212224692106247,
-0.04544933885335922,
-0.019606005400419235,
0.04064659774303436,
0.04632256552577019,
0.023909762501716614,
0.0043791248463094234,
-0.010509899817407131,
0.003596859984099865,
-0.03871302306652069,
0.016768019646406174,
-0.0355735681951046,
-0.028338266536593437,
-0.014876030385494232,
0.03815166652202606,
0.0023649875074625015,
0.017215028405189514,
0.01533343456685543,
0.00715733552351594,
-0.039648622274398804,
0.0643276572227478,
0.01907583326101303,
-0.031249020248651505,
-0.016508132219314575,
-0.04840167611837387,
-0.007438015192747116,
0.05285097286105156,
0.06565828621387482,
-0.027984818443655968,
-0.0010713912779465318,
0.020021827891469002,
-0.04565725103020668,
-0.015042359009385109,
-0.04170694202184677,
0.020645560696721077,
0.017173446714878082,
-0.04960756003856659,
0.0380684994161129,
-0.020167365670204163,
-0.021955398842692375,
-0.028192728757858276,
-0.03440926596522331,
0.04160298779606819,
-0.011694992892444134,
0.005946253892034292,
0.0015866206958889961,
-0.03632204979658127,
0.06715524941682816,
-0.017121469601988792,
0.06582461297512054,
0.03397265449166298,
0.03827641159296036,
0.014283484779298306,
-0.06827796250581741,
-0.01073860190808773,
0.012599405832588673,
-0.07875668257474899,
0.0025261184200644493,
-0.021414831280708313,
0.06777898222208023,
0.007354850880801678,
0.04981547221541405,
-0.057674504816532135,
0.014979986473917961,
-0.003230416914448142,
-0.006512811407446861,
0.02521960251033306,
-0.00697021558880806,
-0.004493475891649723,
-0.06208221986889839,
-0.014751284383237362,
0.0063516804948449135,
0.039482295513153076,
-0.012453868053853512,
-0.08732261508703232,
0.04395238310098648,
0.055720143020153046,
-0.01639378070831299,
0.01628982461988926,
-0.04711262881755829,
0.017869949340820312,
0.0011863920371979475,
0.023701852187514305,
0.014917613007128239,
-0.023701852187514305,
-0.004701387137174606,
0.027652161195874214,
-0.012329121120274067,
0.03985653445124626,
0.022745462134480476,
0.0626227855682373,
-0.031207438558340073,
0.0036748265847563744,
0.03393107280135155,
0.0014319869223982096,
-0.0208742618560791,
-0.04027235507965088,
0.02183065377175808,
0.027901653200387955,
-0.011227193288505077,
-0.01862882450222969,
0.0009953738190233707,
-0.01723582111299038,
0.02842143177986145,
0.009241643361747265,
0.10728206485509872,
-0.023098910227417946,
0.023660268634557724,
-0.032496485859155655,
-0.05430634692311287,
0.0030173081904649734,
0.06370392441749573,
-0.035199329257011414,
-0.026009663939476013,
-0.02856696955859661,
-0.012204374186694622,
-0.048734333366155624,
0.08058629930019379,
-0.04245542362332344,
-0.035843852907419205,
0.027735324576497078,
0.09721917659044266,
0.027444249019026756,
-0.024845361709594727,
0.006382867228239775,
-0.021893026307225227,
-0.034388475120067596,
0.02916990965604782,
-0.09089867770671844,
-0.021269293501973152,
-0.015894794836640358,
-0.00866988766938448,
0.0021843647118657827,
0.04532459378242493,
0.027610577642917633,
-0.07110555469989777,
0.03322417289018631,
0.03815166652202606,
-0.034887462854385376,
0.006440042518079281,
0.009891364723443985,
-0.02262071520090103,
0.017152655869722366,
-0.029045164585113525,
0.0022363425232470036,
0.09430842101573944,
-0.01833774894475937,
-0.024408748373389244,
-0.004202400799840689,
0.03981495276093483,
-0.00771869532763958,
0.017391754314303398,
-0.020271319895982742,
0.01659129559993744,
-0.009828991256654263,
-0.01768282800912857,
-0.024304794147610664,
0.015499763190746307,
-0.027714533731341362,
0.028234310448169708,
0.017246216535568237,
0.02218410186469555,
0.012713756412267685,
0.052435148507356644,
-0.0032148235477507114,
0.017797179520130157,
0.075346939265728,
0.03430531173944473,
0.00745360879227519,
-0.059919945895671844,
-0.01039035152643919,
0.02393055334687233,
0.016944745555520058,
0.013514213263988495,
-0.05056395009160042,
0.02652944065630436,
0.028587760403752327,
0.0493580661714077,
0.05626071244478226,
0.008046154864132404,
0.04561566933989525,
0.07384998351335526,
0.054930079728364944,
-0.029232284054160118,
-0.006388064939528704,
0.02707001008093357,
0.02492852695286274,
-0.008638701401650906,
-0.015094337053596973,
-0.04761161282658577,
0.02977285161614418,
-0.023119701072573662,
-0.02521960251033306,
-0.02927386574447155,
-0.020448045805096626,
-0.009704245254397392,
0.06823638081550598,
-0.011819738894701004,
0.003945110831409693,
0.00806694570928812,
-0.016726437956094742,
-0.0077031017281115055,
0.02788086235523224,
0.028359057381749153,
0.006965017877519131,
0.006507613696157932,
0.016404176130890846,
0.08682362735271454,
-0.008851810358464718,
0.034845881164073944,
0.01882633939385414,
-0.042995989322662354,
-0.028151147067546844,
-0.05663495138287544,
-0.05301729962229729,
-0.02627994865179062,
0.030646078288555145,
0.013919640332460403,
0.01073860190808773,
-0.012848898768424988,
-0.03233015909790993,
-0.05006496235728264,
0.016445757821202278,
0.06557512283325195,
-0.00012685818364843726,
-0.07202036678791046,
-0.007406828459352255,
0.07867351174354553,
-0.014491395093500614,
-0.016809603199362755,
-0.03657153993844986,
-0.028483804315328598,
0.060127854347229004,
-0.015343829989433289,
-0.04164456948637962,
-0.0476531982421875,
-0.045948326587677,
0.03854669630527496,
-0.012204374186694622,
0.02447112277150154,
0.01164301484823227,
0.025843335315585136,
0.009366389364004135,
0.033037055283784866,
0.027402667328715324,
0.030334211885929108,
0.032745979726314545,
-0.02752741426229477,
0.07343415915966034,
0.03950308635830879,
0.007853837683796883,
0.026966053992509842,
-0.010800975374877453,
0.010104473680257797,
0.015749257057905197,
0.03704973682761192,
-0.036945782601833344,
-0.05833981931209564,
-0.006268516182899475,
-0.003869743086397648,
0.029835226014256477,
0.027506623417139053,
-0.07251934707164764,
-0.01858724094927311,
0.020208947360515594,
-0.021643532440066338,
-0.02563542313873768,
0.014075573533773422,
-0.0552627369761467,
0.03555277734994888,
-0.0063568782061338425,
-0.005101615563035011,
-0.0006107385270297527,
0.030355002731084824,
-0.005112011451274157,
-0.09422525763511658,
-0.09755183011293411,
0.030708452686667442,
0.0021960597950965166,
-0.01807785965502262,
-0.028213519603013992,
0.034783508628606796,
-0.017672432586550713,
0.046031489968299866,
-0.03353603929281235,
0.07202036678791046,
-0.012173187918961048,
0.012900875881314278,
-0.00831643957644701,
-0.02147720381617546,
0.04382763430476189,
-0.03632204979658127,
0.039586249738931656,
-0.00786943081766367,
-0.013368676416575909,
0.017318984493613243,
-0.012370703741908073,
0.011154424399137497,
0.0626227855682373,
-0.02042725309729576,
0.04694629833102226,
-0.03282914310693741,
-0.014522582292556763,
0.009485938586294651,
-0.03316180035471916,
-0.0015268463175743818,
-0.049274902790784836,
-0.044077128171920776,
-0.008342428132891655,
0.05401527136564255,
0.015468576923012733,
-0.06965018063783646,
-0.03183117136359215,
0.02187223546206951,
0.025947289541363716,
-0.029939180240035057,
0.00411923648789525,
-0.026155201718211174,
0.03732002153992653,
0.09680335223674774,
-0.044326622039079666,
0.004295960534363985,
0.02442954108119011,
0.027465039864182472,
0.010790579952299595,
-0.043786052614450455,
-0.03297468274831772,
0.018670406192541122,
-0.001434585778042674,
-0.03667549788951874,
0.007167730946093798,
-0.044077128171920776,
0.014345857314765453,
-0.002548208925873041,
0.01962679624557495,
-0.033889491111040115,
-0.09264513105154037,
-0.007146940100938082,
-0.0015255467733368278,
-0.047528449445962906,
-0.02991838939487934,
-0.012505845166742802,
0.020104991272091866,
-0.0229741632938385,
0.06237329542636871,
-0.06636518239974976,
-0.019969848915934563,
-0.08590881526470184,
0.023701852187514305,
-0.04569883272051811,
-0.07513903081417084,
-0.04382763430476189,
0.037091318517923355,
-0.04010602831840515,
-0.00248453626409173,
0.044576115906238556,
-0.021248502656817436,
-0.06158323213458061,
0.03322417289018631,
-0.010260406881570816,
-0.02378501556813717,
-0.048276931047439575,
-0.018119441345334053,
-0.025365140289068222,
0.04549092426896095,
0.010577470995485783,
-0.025656215846538544,
-0.008212483488023281,
0.015478972345590591,
0.023618686944246292,
0.031103482469916344,
-0.03611413761973381,
-0.021497994661331177,
-0.0468631349503994,
0.04081292450428009,
0.07859034836292267,
0.026051245629787445,
-0.08445344120264053,
-0.03700815513730049,
-0.007406828459352255,
-0.004937885794788599,
-0.02103019505739212,
-0.020666351541876793,
0.004716980271041393,
-0.003732002107426524,
0.012193978764116764,
-0.0363636314868927,
-0.002063516527414322,
0.00245984666980803,
0.04445136711001396,
-0.011902903206646442,
0.060917917639017105,
-0.046987880021333694,
-0.02447112277150154,
0.019418885931372643,
-0.023410776630043983,
0.045574087649583817,
-0.024595869705080986,
-0.06208221986889839,
0.0075315753929317,
0.005262746475636959,
0.013753311708569527,
-0.0036046565510332584,
0.00941316969692707,
-0.027693742886185646,
0.08923539519309998,
0.012401890009641647,
0.017693225294351578,
0.024949317798018456,
-0.005462861154228449,
-0.01623784750699997,
0.009319609962403774,
0.014075573533773422,
0.017620455473661423,
-0.03401423618197441,
0.05534590408205986,
-0.018899107351899147,
-0.002936742501333356,
-0.02952335961163044,
0.01618587039411068,
0.010260406881570816,
-0.009366389364004135,
0.007583552971482277,
-0.006299702916294336,
-0.011258379556238651,
0.06108424440026283,
0.07048182189464569,
0.014335461892187595,
-0.0014839646173641086,
-0.015426994301378727,
-0.0173293799161911,
-0.009579498320817947,
-0.041395075619220734,
0.024512704461812973,
0.024762198328971863,
-0.004179010633379221,
-0.013815684244036674,
0.016747228801250458,
0.01260980125516653,
-0.0576329231262207,
-0.003446124494075775,
-0.025510678067803383,
-0.02082228474318981,
0.01953323744237423,
0.017620455473661423,
0.01171578373759985,
-0.06765422970056534,
0.023951344192028046,
-0.032745979726314545,
0.06470189988613129,
0.0380684994161129,
-0.041436657309532166,
-0.060211021453142166,
-0.08382970839738846,
-0.03640521317720413,
0.05584488809108734,
-0.021414831280708313,
0.03825562074780464,
0.048484839498996735,
-0.02472061477601528,
-0.0015632306458428502,
0.012183583341538906,
0.04690471664071083,
-0.03966941684484482,
-0.03528249263763428,
0.10944434255361557,
-0.0017828366253525019,
0.006310098338872194,
0.042185138911008835,
0.03451322391629219,
-0.02303653582930565,
0.04819376394152641,
0.0008296947344206274,
-0.004259576089680195,
0.018213002011179924,
-0.045989908277988434,
-0.009252038784325123,
-0.002216850873082876,
-0.02813035622239113,
0.06490980833768845,
0.002533914986997843,
0.04465927928686142,
-0.03091636300086975,
0.024304794147610664,
-0.0460730716586113,
0.011289565823972225,
0.0007653723005205393,
0.06994125247001648,
0.05039762333035469,
-0.009979726746678352,
-0.02977285161614418,
0.020053014159202576,
-0.034783508628606796,
0.024907736107707024,
-0.04199801757931709,
-0.0803368017077446,
0.023348402231931686,
-0.05289255455136299,
-0.01148708164691925,
-0.007739486172795296,
0.05326679348945618,
0.10437130928039551,
0.0006026169867254794,
0.0039633032865822315,
-0.00838920846581459,
0.055470649152994156,
0.0007790164672769606,
0.019408490508794785,
0.038193248212337494,
-0.02973126992583275,
-0.02916990965604782,
0.008342428132891655,
-0.016955140978097916,
-0.013555795885622501,
-0.013961222022771835,
-0.03276677057147026,
-0.09763499349355698,
-0.05925462767481804,
-0.03451322391629219,
0.016747228801250458,
-0.03251727670431137,
0.07434896379709244,
-0.001498258556239307,
-0.006710326764732599,
0.040085237473249435
]
|
40,806 | pyglove.core.symbolic.functor | __call__ | Call with late bound arguments.
Args:
*args: list arguments.
**kwargs: keyword arguments.
Returns:
Any.
Raises:
TypeError: got multiple values for arguments or extra argument name.
| def __call__(self, *args, **kwargs) -> Any:
"""Call with late bound arguments.
Args:
*args: list arguments.
**kwargs: keyword arguments.
Returns:
Any.
Raises:
TypeError: got multiple values for arguments or extra argument name.
"""
args, kwargs = self._parse_call_time_overrides(*args, **kwargs)
signature = self.__signature__
if self.is_subclassed_functor:
for arg_spec, arg_value in zip(signature.args, args):
kwargs[arg_spec.name] = arg_value
# Temporarily override members with argument values from the call.
with self._apply_call_time_overrides_to_members(**kwargs):
return_value = self._call()
else:
return_value = self._call(*args, **kwargs)
# Return value check.
if (
signature.return_value
and flags.is_type_check_enabled()
and return_value != pg_typing.MISSING_VALUE
):
return_value = signature.return_value.apply(
return_value, root_path=self.sym_path + 'returns'
)
if flags.is_tracking_origin() and isinstance(return_value, base.Symbolic):
return_value.sym_setorigin(self, 'return')
return return_value
| (self, *args, **kwargs) -> Any | [
-0.01877737045288086,
-0.10393937677145004,
0.061301473528146744,
0.07203681766986847,
-0.007055738940834999,
-0.019972292706370354,
-0.027293570339679718,
-0.005296546034514904,
0.05633210763335228,
-0.05879782512784004,
0.0064156013540923595,
0.03941350802779198,
-0.008601552806794643,
-0.01298293936997652,
-0.05644591152667999,
0.046279579401016235,
-0.007989865727722645,
0.04347245767712593,
0.004450141917914152,
0.008805448189377785,
0.0015138068702071905,
0.01587541215121746,
-0.007548882160335779,
-0.013950258493423462,
0.02651592157781124,
0.04138608276844025,
0.02780568040907383,
0.014557203277945518,
0.014045093208551407,
0.013096741400659084,
-0.002923295134678483,
0.0056948536075651646,
-0.03846515715122223,
0.013447631150484085,
0.039792850613594055,
-0.036170147359371185,
-0.002712286775931716,
0.0692676305770874,
0.00012758298544213176,
-0.0022641904652118683,
-0.05580103397369385,
-0.08702077716588974,
0.03302161768078804,
0.006297057494521141,
-0.039072103798389435,
-0.050983402878046036,
-0.0037270234897732735,
0.06649844348430634,
-0.018113523721694946,
-0.021944865584373474,
0.008326530456542969,
-0.047379665076732635,
0.05633210763335228,
-0.015192599035799503,
-0.014889126643538475,
0.061453208327293396,
0.024998558685183525,
0.037649575620889664,
-0.03137148544192314,
0.04552089795470238,
-0.0041371858678758144,
0.03664432093501091,
-0.013476082123816013,
-0.03696675971150398,
0.027881549671292305,
-0.049731578677892685,
-0.0267245601862669,
-0.028640231117606163,
-0.047379665076732635,
0.035297662019729614,
-0.05576309934258461,
-0.008445074781775475,
0.007582074496895075,
0.0010923829395323992,
0.022836316376924515,
-0.019801590591669083,
-0.019128259271383286,
-0.0010437798919156194,
0.030821440741419792,
-0.012148389592766762,
-0.014139928855001926,
-0.019080841913819313,
-0.04480014741420746,
-0.017297940328717232,
-0.034007903188467026,
-0.011825949884951115,
-0.039982520043849945,
0.017942819744348526,
-0.010242201387882233,
0.026212450116872787,
-0.03176979348063469,
0.011977685615420341,
-0.000957242795266211,
0.05105927214026451,
-0.00031651247991248965,
-0.04536915943026543,
0.021034447476267815,
-0.01761089637875557,
0.025415834039449692,
-0.0107353450730443,
0.019014457240700722,
0.029000604525208473,
0.028033284470438957,
-0.04271377623081207,
0.07988917082548141,
0.011228487826883793,
0.019460182636976242,
-0.04218269884586334,
-0.006159546319395304,
0.04878322780132294,
-0.03711849823594093,
-0.018701501190662384,
-0.02329152449965477,
0.00012913887621834874,
-0.05853228643536568,
-0.004888754803687334,
-0.04821421578526497,
-0.031181814149022102,
-0.04578643664717674,
0.07761313021183014,
-0.04407940059900284,
0.016283204779028893,
0.03252847492694855,
0.020844778046011925,
-0.03664432093501091,
0.04806248098611832,
0.0020875597838312387,
-0.002705174032598734,
0.015031379647552967,
0.010327553376555443,
0.0697607770562172,
-0.005732787773013115,
-0.02759704366326332,
0.002629305934533477,
0.009170563891530037,
0.06433620303869247,
0.07681651413440704,
0.017658313736319542,
-0.05951857194304466,
0.04571056738495827,
0.030726604163646698,
-0.010052531026303768,
0.05067992955446243,
0.01651080884039402,
0.008791223168373108,
0.05993584543466568,
0.0498453825712204,
0.011844916269183159,
-0.01947914995253086,
-0.005955650471150875,
-0.008070475421845913,
0.0014391242293640971,
0.025946911424398422,
0.04081707075238228,
-0.02888680249452591,
0.030555902048945427,
0.018729953095316887,
-0.029816187918186188,
-0.054397471249103546,
-0.01109571848064661,
-0.06619497388601303,
-0.045407094061374664,
-0.00975854229182005,
-0.05633210763335228,
0.004227279219776392,
-0.01985849067568779,
0.025358932092785835,
-0.05416986718773842,
0.011987169273197651,
0.04187922552227974,
0.00967319030314684,
0.005851332098245621,
0.04517949000000954,
-0.0020247315987944603,
0.010782762430608273,
0.05898749455809593,
-0.02092064544558525,
0.02331049181520939,
0.013447631150484085,
0.012100971303880215,
0.07108846306800842,
-0.0636533871293068,
-0.10833973437547684,
-0.007155315950512886,
0.05413193255662918,
0.063160240650177,
-0.005595277063548565,
-0.03156115487217903,
0.01784798502922058,
0.028640231117606163,
-0.01913774386048317,
0.017051368951797485,
0.06687778234481812,
-0.010156850330531597,
0.00662898039445281,
-0.006401375867426395,
-0.05049026012420654,
0.04366212710738182,
-0.014547719620168209,
0.007890288718044758,
-0.00465166661888361,
-0.02272251434624195,
0.020636139437556267,
-0.000710078573320061,
-0.03359062969684601,
-0.01659616082906723,
0.05428366735577583,
0.04957984387874603,
-0.028052251785993576,
-0.03911003842949867,
-0.003926177509129047,
-0.057508066296577454,
-0.026117613539099693,
0.05162828415632248,
-0.022419041022658348,
-0.05989791452884674,
0.03670122101902962,
-0.023348426446318626,
0.012546696700155735,
0.024505415931344032,
0.09354544430971146,
-0.03507005795836449,
0.008350239135324955,
-0.014661521650850773,
0.04039979726076126,
-0.009474036283791065,
0.03482348471879959,
-0.01028961967676878,
0.00686132675036788,
-0.026971131563186646,
-0.02331049181520939,
-0.04480014741420746,
0.0038597926031798124,
-0.006078936159610748,
-0.01932741329073906,
0.002062665531411767,
0.0692676305770874,
0.026743527501821518,
-0.006425085011869669,
0.023367393761873245,
-0.0018220213241875172,
0.034216541796922684,
0.024220909923315048,
0.009222723543643951,
-0.05219729617238045,
-0.047759007662534714,
0.05538375675678253,
0.06801580637693405,
0.006112128496170044,
0.016197852790355682,
-0.0028948443941771984,
-0.008302821777760983,
0.000576420221477747,
0.014557203277945518,
-0.027540141716599464,
-0.03723229840397835,
-0.0014284552307799459,
0.003167495597153902,
0.035126958042383194,
0.02295011840760708,
0.03929970785975456,
0.06630877405405045,
0.01417786255478859,
0.04787280783057213,
-0.0142632145434618,
-0.02780568040907383,
-0.026117613539099693,
-0.026098648086190224,
0.009175305254757404,
0.08982790261507034,
0.023007020354270935,
-0.05432160198688507,
-0.009630514308810234,
0.013106225058436394,
-0.06881242245435715,
0.019080841913819313,
-0.04134814813733101,
0.012594114989042282,
-0.0070936731062829494,
-0.02812812104821205,
0.041234344244003296,
-0.004997815005481243,
-0.03626498207449913,
-0.016747895628213882,
-0.07829593867063522,
0.016605643555521965,
0.010384454391896725,
-0.022703547030687332,
-0.0174401942640543,
-0.014234763570129871,
0.06592943519353867,
-0.010374970734119415,
0.04616577550768852,
0.043775927275419235,
0.033495791256427765,
0.01824629306793213,
-0.04480014741420746,
-0.03406480327248573,
0.038711730390787125,
-0.048290085047483444,
0.015344335697591305,
0.011427641846239567,
0.009459811262786388,
0.005348705220967531,
0.07981330156326294,
-0.03412170708179474,
0.0159133467823267,
0.010337037034332752,
-0.052955977618694305,
0.04381386190652847,
-0.007477755658328533,
-0.015192599035799503,
-0.05071786418557167,
-0.043965600430965424,
-0.0024123704060912132,
0.014386500231921673,
0.005054716020822525,
-0.04237236827611923,
0.033306121826171875,
0.04206889495253563,
-0.0326802097260952,
-0.013646785169839859,
-0.004424062091857195,
0.04407940059900284,
-0.009289108216762543,
0.0046279579401016235,
-0.027331504970788956,
0.01769624836742878,
-0.006657430902123451,
0.02685732953250408,
-0.012926037423312664,
-0.00010520780051592737,
0.03154218941926956,
0.058949559926986694,
0.012963972054421902,
-0.02596587873995304,
0.04442080855369568,
0.028621263802051544,
0.01949811726808548,
-0.011200036853551865,
0.012300125323235989,
0.03501315787434578,
-0.029854120686650276,
-0.00019381944730412215,
0.02818502113223076,
0.015846962109208107,
0.03334405645728111,
0.015676258131861687,
0.12935520708560944,
-0.024998558685183525,
-0.01235702633857727,
-0.0808754563331604,
-0.08489647507667542,
-0.005225419532507658,
0.04586230218410492,
0.0027502209413796663,
-0.036170147359371185,
0.008601552806794643,
0.0008209171937778592,
-0.07070912420749664,
0.07950983196496964,
-0.04419320449233055,
-0.022267304360866547,
0.032130166888237,
0.045558828860521317,
0.0061358376406133175,
-0.0634637176990509,
0.004537864588201046,
-0.0376875102519989,
-0.001400004606693983,
0.004860303830355406,
-0.06649844348430634,
0.0020567383617162704,
-0.018303193151950836,
-0.008250662125647068,
0.03983078524470329,
0.012963972054421902,
0.015420204028487206,
-0.02579517476260662,
0.012888103723526001,
0.002310422481968999,
-0.03994458541274071,
-0.014671005308628082,
-0.03569597005844116,
0.016643578186631203,
0.028374692425131798,
-0.048631489276885986,
-0.023348426446318626,
0.0570528581738472,
0.013457114808261395,
0.011674213223159313,
0.0034804518800228834,
-0.007857096381485462,
-0.02346222847700119,
-0.021205151453614235,
-0.007013062946498394,
0.049731578677892685,
-0.010668960399925709,
-0.03749783709645271,
-0.022305238991975784,
0.004860303830355406,
-0.0003541501937434077,
0.005524150561541319,
0.0015458137495443225,
0.005234903190284967,
0.006083677988499403,
0.04028599336743355,
-0.028659198433160782,
0.0000876484700711444,
0.043244849890470505,
-0.01551503874361515,
-0.024600250646471977,
-0.05709078907966614,
-0.009995630010962486,
0.006766491569578648,
0.08656556904315948,
-0.021167216822504997,
-0.007382920477539301,
0.03359062969684601,
0.010469806380569935,
0.01939379796385765,
0.024069173261523247,
-0.00690874457359314,
0.059101298451423645,
0.05944270268082619,
0.05709078907966614,
-0.02638315223157406,
0.0005618985742330551,
0.022817349061369896,
-0.00973957497626543,
0.002980196150019765,
-0.04571056738495827,
-0.05253870040178299,
0.034026868641376495,
0.010270652361214161,
-0.024808889254927635,
-0.034007903188467026,
-0.019166193902492523,
-0.005253870040178299,
0.04335865378379822,
-0.03668225556612015,
0.049010831862688065,
0.006334991194307804,
-0.006610013544559479,
0.007240667473524809,
-0.03085937350988388,
0.019422249868512154,
-0.00491246348246932,
-0.044686347246170044,
-0.026477988809347153,
0.062022220343351364,
0.013589884154498577,
0.0933937057852745,
-0.011200036853551865,
-0.030954210087656975,
-0.03321128711104393,
-0.08383432030677795,
-0.03068867139518261,
0.012508763000369072,
0.03343889117240906,
-0.0016181255923584104,
-0.017838500440120697,
-0.03252847492694855,
-0.06046692281961441,
-0.055307887494564056,
0.002923295134678483,
0.047189995646476746,
-0.0007474199519492686,
-0.09096592664718628,
-0.009881827980279922,
0.07252996414899826,
-0.029360977932810783,
-0.01478480827063322,
0.003928548190742731,
-0.022665612399578094,
0.052424900233745575,
-0.03607530891895294,
-0.011569894850254059,
-0.016984984278678894,
-0.034026868641376495,
0.0019038167083635926,
-0.00532025471329689,
0.01028013601899147,
0.026098648086190224,
0.009199014864861965,
0.025681372731924057,
0.04351038858294487,
0.034728650003671646,
0.021337920799851418,
0.01542968675494194,
-0.020996512845158577,
0.09187634289264679,
0.02634521946310997,
0.01019478403031826,
0.020484402775764465,
-0.04100674018263817,
0.015951281413435936,
-0.025074427947402,
0.03922383859753609,
-0.01282171905040741,
-0.042865511029958725,
-0.014822741970419884,
0.03137148544192314,
0.021394820883870125,
0.041613686829805374,
-0.025852074846625328,
0.05322151631116867,
0.02471405267715454,
-0.04836595058441162,
-0.0004611361655406654,
-0.05944270268082619,
0.005272837355732918,
0.012707917019724846,
-0.03622704744338989,
-0.021394820883870125,
-0.0029114405624568462,
0.04134814813733101,
-0.022115569561719894,
-0.09415239095687866,
-0.061301473528146744,
0.017838500440120697,
0.022494910284876823,
-0.02744530700147152,
-0.00012410075578372926,
0.0606565959751606,
-0.017174655571579933,
0.012935521081089973,
-0.008336014114320278,
0.032566409558057785,
-0.01657719351351261,
-0.004179861396551132,
-0.0318266935646534,
-0.030574869364500046,
0.01019478403031826,
0.023784669116139412,
-0.014727906323969364,
-0.07575435936450958,
0.02744530700147152,
-0.016738412901759148,
-0.013826971873641014,
0.032585375010967255,
0.04005838930606842,
-0.037459906190633774,
0.03429240733385086,
-0.04222062975168228,
-0.05257663503289223,
-0.022267304360866547,
-0.023860536515712738,
0.014955511316657066,
-0.013988192193210125,
-0.028090186417102814,
-0.02274148166179657,
0.07548882067203522,
0.0933937057852745,
-0.06080833077430725,
-0.017601413652300835,
0.00014729092072229832,
0.040513597428798676,
-0.05102133750915527,
-0.016140950843691826,
0.018701501190662384,
0.030821440741419792,
0.08155827224254608,
-0.022779414430260658,
-0.06399479508399963,
0.010631025768816471,
0.0184169951826334,
0.0675605982542038,
-0.02238110825419426,
-0.04290344566106796,
0.007624750025570393,
0.017193621024489403,
-0.07211268693208694,
-0.01319157611578703,
-0.014671005308628082,
0.0418412908911705,
0.03450104594230652,
0.009089954197406769,
-0.017961787059903145,
-0.051742084324359894,
-0.015183115378022194,
-0.04476221650838852,
-0.04817628115415573,
-0.02926614321768284,
-0.02221040427684784,
0.0004211275663692504,
-0.04885909706354141,
0.04055153205990791,
-0.03252847492694855,
-0.008193761110305786,
-0.08648969978094101,
0.00016314617823809385,
-0.036359816789627075,
-0.05432160198688507,
0.0038218586705625057,
0.01846441440284252,
-0.060163453221321106,
0.019080841913819313,
0.037421971559524536,
-0.06384305655956268,
-0.07875115424394608,
0.003781553590670228,
0.017459159716963768,
-0.026781460270285606,
-0.01822732575237751,
-0.017895402386784554,
-0.029323043301701546,
0.05159034952521324,
-0.018635116517543793,
0.003978336695581675,
0.006904002744704485,
0.0011510621989145875,
0.01877737045288086,
0.05022472143173218,
-0.006837618071585894,
0.00973957497626543,
-0.021963832899928093,
0.03759267181158066,
0.026098648086190224,
0.05257663503289223,
-0.07290930300951004,
-0.008298080414533615,
-0.02435367926955223,
0.0035397238098084927,
-0.012063037604093552,
-0.013106225058436394,
0.008776998147368431,
0.021034447476267815,
0.035639069974422455,
-0.03732713684439659,
-0.022874251008033752,
0.023063920438289642,
0.050793733447790146,
-0.03922383859753609,
0.011162103153765202,
-0.0689641609787941,
-0.01615043543279171,
0.04347245767712593,
-0.015401236712932587,
0.0007254892843775451,
0.05724252760410309,
-0.027710845693945885,
-0.02236214093863964,
-0.001762749277986586,
0.01725052297115326,
0.0032291386742144823,
-0.04605197533965111,
-0.0016347217606380582,
0.09802166372537613,
0.02782464772462845,
0.023177722468972206,
0.014813258312642574,
-0.002788154873996973,
0.011958719231188297,
0.0013964483514428139,
0.026591790840029716,
0.02795741707086563,
-0.0005918309325352311,
0.01761089637875557,
0.004710938781499863,
-0.034007903188467026,
-0.018274743109941483,
-0.045065686106681824,
-0.0013715540990233421,
0.030043791979551315,
-0.017203105613589287,
-0.055497560650110245,
0.007989865727722645,
0.05788740515708923,
0.024429548531770706,
0.022665612399578094,
-0.027559109032154083,
-0.0454450286924839,
0.006832876242697239,
-0.0348803885281086,
-0.0537525936961174,
-0.018729953095316887,
-0.0012624936643987894,
-0.001452164025977254,
0.006790200248360634,
-0.024486448615789413,
-0.022684579715132713,
-0.075868159532547,
0.0038194877561181784,
-0.06247743219137192,
-0.04370006173849106,
0.027748780325055122,
0.0548526793718338,
0.0019844265189021826,
-0.10902255028486252,
0.007638975512236357,
-0.03586667403578758,
0.0323767364025116,
0.044496677815914154,
-0.03550630062818527,
-0.03194049745798111,
-0.08664143830537796,
-0.051514480262994766,
0.04077913612127304,
0.010014597326517105,
0.032243967056274414,
0.04601404070854187,
-0.04237236827611923,
0.007439821492880583,
0.017288457602262497,
0.051552414894104004,
-0.011882850900292397,
-0.014509785920381546,
0.06369131803512573,
-0.0013573288451880217,
0.0004638034151867032,
0.039792850613594055,
0.019251545891165733,
-0.001176549238152802,
0.008587327785789967,
-0.02998689003288746,
-0.0017734182765707374,
0.03632188215851784,
-0.03121974878013134,
0.02295011840760708,
-0.04370006173849106,
-0.006576821208000183,
0.08254455775022507,
-0.03787717968225479,
0.04783487692475319,
0.03450104594230652,
0.05166621878743172,
-0.02040853537619114,
0.03535456210374832,
0.030100692063570023,
0.05542169138789177,
0.023746734485030174,
0.01822732575237751,
-0.018511831760406494,
-0.0038194877561181784,
0.002631676848977804,
-0.006538887042552233,
-0.01561935804784298,
-0.04206889495253563,
-0.02401227317750454,
-0.06532248854637146,
0.013466598466038704,
-0.02814708836376667,
0.0036487842444330454,
0.11759565025568008,
0.036018408834934235,
-0.014282180927693844,
0.01707981899380684,
0.0620601549744606,
-0.014500302262604237,
0.013514015823602676,
0.06380512565374374,
0.0040779137052595615,
-0.0036464135628193617,
0.06027725338935852,
-0.011162103153765202,
-0.02992998994886875,
-0.016378039494156837,
-0.021906930953264236,
-0.06380512565374374,
-0.04798661172389984,
0.004049463197588921,
-0.018729953095316887,
-0.012565664015710354,
0.02831779047846794,
-0.006562595721334219,
-0.011029333807528019,
0.06532248854637146
]
|
40,809 | pyglove.core.symbolic.functor | __delattr__ | Discard a previously bound argument and reset to its default value. | def __delattr__(self, name: str) -> None:
"""Discard a previously bound argument and reset to its default value."""
del self._sym_attributes[name]
if self.__signature__.get_value_spec(name).has_default:
self._default_args.add(name)
self._specified_args.discard(name)
self._non_default_args.discard(name)
| (self, name: str) -> NoneType | [
0.04293450713157654,
0.007408820558339357,
0.055745046585798264,
-0.003135004313662648,
-0.045203402638435364,
-0.028361208736896515,
-0.020228086039423943,
0.019896479323506355,
0.06768293678760529,
-0.0052620950154960155,
-0.034103263169527054,
0.010471831075847149,
-0.00903195422142744,
0.01657167263329029,
-0.012086238712072372,
0.00738700432702899,
0.02942584455013275,
0.057350728660821915,
-0.006466355640441179,
-0.015742652118206024,
0.04586661979556084,
0.014651836827397346,
-0.038641057908535004,
0.029827265068888664,
-0.0018958377186208963,
0.00711648166179657,
0.05050913244485855,
0.030874447897076607,
-0.02401539869606495,
-0.010925610549747944,
-0.03157256916165352,
0.010157676413655281,
0.011231038719415665,
0.02902442403137684,
0.04488924890756607,
-0.04708833247423172,
-0.0036629592068493366,
0.10262394696474075,
-0.0297225471585989,
-0.044644907116889954,
0.03165983408689499,
-0.012007699348032475,
0.02366633713245392,
-0.007513538934290409,
0.01602190174162388,
0.022950762882828712,
0.010244941338896751,
0.02916404977440834,
-0.0781896710395813,
0.03555186465382576,
0.044784530997276306,
0.03811746463179588,
0.05438371002674103,
0.05427899211645126,
-0.011239765211939812,
0.033632028847932816,
0.01783701963722706,
0.06234230101108551,
-0.014075886458158493,
0.04164298251271248,
-0.006928861606866121,
0.053895022720098495,
0.006435812916606665,
-0.11491089314222336,
-0.011091413907706738,
-0.05633845180273056,
-0.012234589084982872,
0.02893715910613537,
-0.012086238712072372,
0.009040680713951588,
-0.04265525937080383,
-0.03370184451341629,
-0.02302057482302189,
0.022584248334169388,
0.03490610420703888,
-0.03478393331170082,
0.01991393230855465,
0.020926209166646004,
0.03171219304203987,
-0.024504084140062332,
-0.014782735146582127,
0.017941737547516823,
-0.05958471819758415,
0.019931385293602943,
-0.04073542356491089,
-0.0028186677955091,
-0.015341232530772686,
-0.020769132301211357,
0.024032851681113243,
-0.018866749480366707,
-0.012042605318129063,
0.03331787511706352,
-0.006396543234586716,
0.051346879452466965,
0.01792428456246853,
-0.028972065076231956,
-0.0036040551494807005,
0.018849296495318413,
0.05249878019094467,
-0.04506377875804901,
-0.00781896710395813,
-0.025289472192525864,
0.011117594316601753,
0.007583350874483585,
-0.0031655472703278065,
-0.031869273632764816,
0.02954801730811596,
-0.07832929491996765,
-0.03429524600505829,
0.014337682165205479,
-0.018866749480366707,
-0.0031328226905316114,
-0.007862599566578865,
0.013657012954354286,
-0.003900757059454918,
0.0014071522746235132,
-0.07023108005523682,
-0.046110961586236954,
0.011929160915315151,
0.03115369752049446,
-0.04454018920660019,
0.027889976277947426,
-0.03302117437124252,
-0.01218223012983799,
0.018936561420559883,
0.02242717146873474,
-0.008643623441457748,
0.03727971762418747,
0.02916404977440834,
0.030682465061545372,
0.038082558661699295,
-0.014424947090446949,
-0.03961842879652977,
0.00137442781124264,
0.05703657120466232,
0.006300551816821098,
0.06230739504098892,
0.05399974063038826,
-0.022706421092152596,
0.06475082039833069,
0.006265645381063223,
-0.0036542327143251896,
0.031904179602861404,
0.04757701978087425,
0.03818727657198906,
-0.002639774000272155,
0.008853060193359852,
0.003966205753386021,
-0.0658678188920021,
0.01695564016699791,
-0.057734694331884384,
0.057734694331884384,
-0.0012991615803912282,
-0.021798862144351006,
0.005131197161972523,
0.04108448326587677,
-0.05888659507036209,
0.005820592865347862,
-0.09236154705286026,
-0.007705522235482931,
-0.00040605614776723087,
0.019041279330849648,
0.009634084068238735,
-0.10052957385778427,
0.006636522710323334,
-0.0445052832365036,
0.05923565849661827,
-0.020420070737600327,
0.016466954723000526,
0.04817042127251625,
-0.04185241833329201,
0.01389262918382883,
0.0685206800699234,
0.04474962502717972,
-0.0015871368814259768,
0.07428018748760223,
-0.010157676413655281,
-0.008333832025527954,
0.0029495656490325928,
-0.03745424747467041,
0.06216777116060257,
-0.05937528237700462,
-0.053022369742393494,
-0.02310783974826336,
0.07728211581707001,
-0.034277793020009995,
-0.04712323844432831,
0.023439448326826096,
-0.0005129561177454889,
0.03157256916165352,
0.011972793377935886,
0.0032877186313271523,
-0.0033968002535402775,
0.000526318559423089,
0.017810838297009468,
-0.002050733659416437,
-0.03853633627295494,
0.005454078782349825,
0.055745046585798264,
-0.008499636314809322,
0.008133121766149998,
-0.021571971476078033,
-0.01751413755118847,
-0.015035804361104965,
-0.02336963638663292,
-0.03478393331170082,
0.010201308876276016,
-0.02172905020415783,
-0.028012147173285484,
0.00024884234881028533,
0.031467851251363754,
0.01780211180448532,
0.062272489070892334,
0.0005606792983599007,
0.02134508267045021,
-0.07400093972682953,
0.03710518777370453,
0.004114557057619095,
0.02829139679670334,
0.043911878019571304,
0.03159002214670181,
-0.01607426069676876,
0.07832929491996765,
0.02146725356578827,
-0.01408461295068264,
-0.017007999122142792,
0.028396114706993103,
-0.028134319931268692,
0.018430422991514206,
-0.004865038208663464,
0.03176455572247505,
-0.044260937720537186,
0.008547632023692131,
-0.02579561062157154,
-0.012915258295834064,
0.017531590536236763,
-0.011676091700792313,
-0.020140821114182472,
-0.040630705654621124,
-0.007705522235482931,
-0.0058991312980651855,
0.034853745251894,
-0.004529066849499941,
0.09641065448522568,
0.030699918046593666,
0.018866749480366707,
0.019512511789798737,
0.06551875919103622,
0.014721648767590523,
-0.03490610420703888,
0.014782735146582127,
-0.005550070200115442,
-0.022217735648155212,
0.030176326632499695,
0.025219660252332687,
-0.009084313176572323,
-0.06548385322093964,
0.017522864043712616,
-0.006370363757014275,
-0.001430059433914721,
0.003911665175110102,
-0.04049107804894447,
-0.0225493423640728,
0.04995063319802284,
0.07267450541257858,
0.035359881818294525,
0.04740248993039131,
-0.023317277431488037,
-0.04286469519138336,
0.02514984831213951,
0.0430392250418663,
-0.07047542184591293,
0.03071737103164196,
-0.03300372138619423,
-0.03839671239256859,
0.019460152834653854,
-0.022915856912732124,
-0.028064506128430367,
0.025586172938346863,
0.015349959023296833,
0.10038994997739792,
-0.04911288619041443,
0.014320229180157185,
0.038606151938438416,
-0.03160747513175011,
0.07037070393562317,
0.013412670232355595,
-0.011021601967513561,
-0.0016307694604620337,
0.001418060390278697,
0.07511793076992035,
0.008015314117074013,
0.0565129816532135,
0.026231937110424042,
0.05005535110831261,
-0.04139863699674606,
-0.022008297964930534,
0.013526114635169506,
0.039688240736722946,
0.031031526625156403,
0.009625357575714588,
0.007234289776533842,
-0.021851221099495888,
0.010428198613226414,
0.022305000573396683,
-0.08272746205329895,
0.045726995915174484,
0.021763956174254417,
0.007740428205579519,
0.021798862144351006,
0.034539587795734406,
0.000481049733934924,
-0.06789237260818481,
-0.014224236831068993,
0.03349240496754646,
0.005598066374659538,
0.05731582269072533,
-0.04293450713157654,
-0.013814090751111507,
0.08209915459156036,
-0.025987593457102776,
-0.04820532724261284,
-0.11079197376966476,
-0.03314334526658058,
-0.019372887909412384,
0.02535928413271904,
-0.030787182971835136,
0.03183436766266823,
0.0221130158752203,
0.025935234501957893,
-0.022130468860268593,
0.005960217211395502,
-0.04056089371442795,
-0.002997561590746045,
-0.01604808121919632,
-0.04094485938549042,
0.020542241632938385,
0.038780681788921356,
-0.009983145631849766,
-0.040072206407785416,
-0.033806562423706055,
0.022322453558444977,
-0.034853745251894,
-0.014136971905827522,
-0.006649612449109554,
0.047193050384521484,
0.018884202465415,
0.002919022925198078,
0.10234469175338745,
-0.017234887927770615,
0.027401290833950043,
-0.0007782970205880702,
-0.03364948183298111,
0.027977241203188896,
0.08342558890581131,
-0.006095478311181068,
-0.040246736258268356,
0.04234110191464424,
0.004668691195547581,
-0.10178619623184204,
0.015035804361104965,
-0.035534411668777466,
-0.027506008744239807,
0.0003523334744386375,
0.04077032953500748,
-0.04160807654261589,
-0.03382401540875435,
-0.061923425644636154,
-0.009538092650473118,
-0.031729646027088165,
-0.02864045836031437,
-0.050439320504665375,
-0.016144072636961937,
-0.011676091700792313,
-0.004716687370091677,
0.0010957244085147977,
0.024591349065303802,
0.02293330989778042,
-0.012819266878068447,
-0.013683192431926727,
-0.008791974745690823,
-0.025202207267284393,
0.041189201176166534,
0.031136244535446167,
-0.0187445767223835,
-0.00993951316922903,
-0.0327942855656147,
-0.0094421012327075,
0.04649493098258972,
0.04000239446759224,
0.01049801055341959,
-0.032375410199165344,
-0.010271120816469193,
0.050264786928892136,
-0.02743619680404663,
-0.012252042070031166,
-0.010070410557091236,
-0.03206125646829605,
-0.08014441281557083,
-0.011396843008697033,
0.014931085519492626,
0.03986277058720589,
-0.013753004372119904,
0.001418060390278697,
0.01557684876024723,
0.04527321457862854,
-0.0162487905472517,
0.0007073939777910709,
0.026057405397295952,
-0.001391880912706256,
0.013604653999209404,
0.013299224898219109,
-0.011117594316601753,
-0.017295973375439644,
0.08545014262199402,
0.014267869293689728,
0.0430392250418663,
-0.017819564789533615,
0.09173323959112167,
-0.007478632498532534,
-0.024521537125110626,
0.002489241538569331,
0.0009680989314801991,
0.019582323729991913,
0.021973391994833946,
0.053895022720098495,
-0.005392992869019508,
-0.03361457586288452,
-0.014067159965634346,
0.013979894109070301,
-0.05529126897454262,
-0.007504811976104975,
0.011641185730695724,
-0.002115091774612665,
-0.004114557057619095,
0.003006288083270192,
-0.023788509890437126,
-0.04087504744529724,
-0.014180604368448257,
0.0031328226905316114,
-0.07047542184591293,
-0.03344004601240158,
-0.011955340392887592,
0.01199024636298418,
-0.015568122267723083,
-0.008168027736246586,
-0.02199084497988224,
0.04356281831860542,
0.031642381101846695,
-0.040805235505104065,
0.026162125170230865,
0.013918808661401272,
0.009773708879947662,
-0.06918389350175858,
-0.03996748849749565,
-0.08049347251653671,
-0.06373854726552963,
-0.033719297498464584,
-0.0037829489447176456,
-0.024818239733576775,
0.011929160915315151,
0.01155391987413168,
-0.01797664351761341,
-0.04345810040831566,
-0.016266243532299995,
0.10590511560440063,
0.0494968555867672,
-0.02942584455013275,
-0.054418615996837616,
-0.02673807553946972,
0.022846044972538948,
-0.031467851251363754,
0.007928048260509968,
-0.04111938923597336,
-0.0808425322175026,
0.05375539883971214,
-0.016056807711720467,
0.04495906084775925,
0.017077811062335968,
-0.026982417330145836,
0.026214484125375748,
0.00627437187358737,
0.031031526625156403,
0.014398767612874508,
0.0006119476165622473,
0.021240364760160446,
-0.02570834569633007,
-0.028657911345362663,
-0.007941138930618763,
0.042969413101673126,
-0.06600744277238846,
-0.018412970006465912,
-0.004044744651764631,
-0.0014191513182595372,
0.05707147717475891,
-0.00309355347417295,
0.01199024636298418,
-0.009564272128045559,
0.04377225413918495,
-0.0009495550766587257,
-0.04366753622889519,
-0.02035025879740715,
-0.012836719863116741,
-0.013220686465501785,
0.03794293478131294,
-0.051556315273046494,
-0.028832441195845604,
0.06359892338514328,
-0.04995063319802284,
-0.02778525836765766,
-0.028867347165942192,
-0.01589973084628582,
0.049880821257829666,
0.030822088941931725,
0.04436565563082695,
-0.028483379632234573,
-0.00513992365449667,
-0.005091927945613861,
-0.009136672131717205,
-0.021851221099495888,
0.011047781445086002,
0.08649732172489166,
-0.06255173683166504,
-0.025411643087863922,
-0.038082558661699295,
-0.04848457872867584,
-0.020664412528276443,
-0.03218342736363411,
0.06778765469789505,
0.007356461137533188,
0.08321615308523178,
0.012601103633642197,
-0.0218163151293993,
0.02398049272596836,
0.014704195782542229,
0.04356281831860542,
-0.06391307711601257,
0.01739196665585041,
-0.008360011503100395,
0.029181502759456635,
0.04167788848280907,
0.004489797633141279,
0.024940410628914833,
0.011885528452694416,
-0.09103512018918991,
0.02808196097612381,
-0.04090995341539383,
0.0474373959004879,
0.02216537483036518,
-0.005619882605969906,
-0.0779104232788086,
-0.007565897889435291,
-0.02462625503540039,
-0.05103272199630737,
-0.02738383784890175,
-0.020402617752552032,
0.015000897459685802,
0.0022558069322258234,
0.006226376164704561,
0.0037175000179558992,
-0.01505325734615326,
0.02699987031519413,
0.12105436623096466,
-0.03850143030285835,
0.014843820594251156,
0.02069931849837303,
0.03176455572247505,
-0.04419112578034401,
0.022828591987490654,
-0.009581725113093853,
-0.025027675554156303,
-0.07061504572629929,
-0.023753603920340538,
0.03344004601240158,
-0.032427769154310226,
0.06520459800958633,
0.04824023321270943,
-0.03815237060189247,
-0.04195713624358177,
-0.05728091672062874,
0.01788937859237194,
0.00604748260229826,
-0.08119159936904907,
-0.05658279359340668,
-0.040107112377882004,
0.0019634682685136795,
0.0305952001363039,
-0.021362535655498505,
-0.029617829248309135,
-0.017592675983905792,
-0.024696068838238716,
0.007051032967865467,
0.031345680356025696,
-0.03268956393003464,
-0.049182698130607605,
0.05326671525835991,
0.0047821360640227795,
-0.015219060704112053,
-0.01853514090180397,
0.0626564547419548,
0.03377165645360947,
-0.03439996391534805,
0.04087504744529724,
0.06105077639222145,
-0.03361457586288452,
0.046983614563941956,
-0.05965453013777733,
0.0072124735452234745,
-0.0459713377058506,
0.0010989968432113528,
-0.03616272285580635,
-0.014974717982113361,
-0.0027183128986507654,
0.07005655020475388,
-0.003368438920006156,
-0.0012566196965053678,
0.02647627890110016,
-0.0016558582428842783,
0.025603625923395157,
0.03909483551979065,
-0.06722915172576904,
-0.04761192575097084,
-0.03569149225950241,
-0.00781896710395813,
-0.02617957815527916,
-0.035150445997714996,
-0.028745176270604134,
0.06583291292190552,
-0.05232425034046173,
0.027488555759191513,
-0.03822218254208565,
-0.03885049372911453,
0.030822088941931725,
-0.02864045836031437,
-0.012382940389215946,
-0.018168626353144646,
-0.0011562646832317114,
-0.021537065505981445,
-0.039374083280563354,
-0.008085126057267189,
0.05996868386864662,
-0.011379390023648739,
0.023561619222164154,
0.024678615853190422,
-0.09138417989015579,
0.03167728707194328,
0.004402532242238522,
-0.012801812961697578,
0.04223638400435448,
-0.0267904344946146,
-0.02410266362130642,
-0.027052229270339012,
0.010873251594603062,
-0.047507207840681076,
0.0048388587310910225,
0.0009201030479744077,
-0.031258415430784225,
0.037489153444767,
0.0336843878030777,
-0.03473157435655594,
-0.05543089285492897,
-0.023317277431488037,
0.02898951806128025,
0.019495058804750443,
-0.011161226779222488,
-0.0178631991147995,
-0.05619882792234421,
-0.013028702698647976,
0.02834375575184822,
-0.005057021509855986,
-0.031520210206508636,
0.002073640702292323,
-0.02090875618159771,
-0.010384566150605679,
-0.04286469519138336,
-0.040630705654621124,
-0.008093852549791336,
-0.01900637336075306,
0.011030328460037708,
0.020926209166646004,
-0.06035265326499939,
0.017173802480101585,
-0.00825529359281063,
-0.00978243537247181,
0.030141420662403107,
0.041363731026649475,
-0.01604808121919632,
0.0111263208091259,
0.04764683172106743,
-0.007408820558339357,
-0.02432955428957939,
-0.029059331864118576,
0.020507335662841797,
0.01569901965558529,
-0.04342319071292877,
-0.06167908385396004,
-0.03857124596834183,
-0.05948000028729439,
0.05487239360809326,
0.006859049201011658,
0.0571063831448555,
0.03602309897542,
-0.034155622124671936,
0.025987593457102776,
-0.0037502243649214506,
-0.010384566150605679,
-0.0021270907018333673,
-0.021659236401319504,
0.036058004945516586,
0.011719724163413048,
0.03267211094498634,
0.006920135114341974,
-0.007788424380123615,
0.023788509890437126,
0.041014671325683594,
0.04202694818377495,
-0.041154295206069946,
-0.05005535110831261,
-0.033719297498464584,
0.022671513259410858,
-0.00037496790173463523,
0.023771056905388832,
0.034801386296749115,
-0.010812165215611458,
0.031729646027088165,
-0.03377165645360947,
-0.006143474020063877,
-0.0649951621890068,
0.029914529994130135,
0.020280446857213974,
-0.014616930857300758,
0.004764683078974485,
0.006531804800033569,
0.07225563377141953,
0.011248491704463959,
-0.009250117465853691,
0.03818727657198906,
0.0008432005415670574,
-0.026546090841293335,
0.06143474206328392,
-0.06614706665277481,
0.05323180928826332,
0.02017572708427906,
0.0430392250418663,
0.046285491436719894,
0.010681267827749252,
-0.02190358005464077,
0.07037070393562317,
0.030211232602596283,
-0.05197518691420555,
0.03961842879652977,
-0.008709073066711426,
-0.02509748749434948,
0.027052229270339012,
0.0004575971979647875,
-0.06331966817378998,
-0.009389741346240044,
-0.012199683114886284,
0.012513837777078152,
-0.04108448326587677,
-0.058991312980651855,
0.05131197348237038,
-0.023945586755871773,
-0.0052533685229718685,
0.0421665720641613,
0.00010240032861474901,
0.015934636816382408,
0.0035167899914085865
]
|
40,814 | pyglove.core.symbolic.functor | __init__ | null | @classmethod
def _update_signatures_based_on_schema(cls):
# Update the return value of subclassed functors.
if cls.is_subclassed_functor: # pylint: disable=using-constant-test
private_call_signature = pg_typing.Signature.from_callable(
cls._call, auto_typing=True
)
if (
len(private_call_signature.args) > 1
or private_call_signature.kwonlyargs
):
raise TypeError(
'`_call` of a subclassed Functor should take no argument. '
f'Encountered: {cls._call}.'
)
cls.__schema__.metadata['returns'] = private_call_signature.return_value
# Update __init_ signature.
init_signature = pg_typing.Signature.from_schema(
cls.__schema__,
name='__init__',
module_name=cls.__module__,
qualname=cls.__qualname__,
)
pseudo_init = init_signature.make_function(['pass'])
# Save the original `Functor.__init__` before overriding it.
if not hasattr(cls, '__orig_init__'):
setattr(cls, '__orig_init__', cls.__init__)
@object_utils.explicit_method_override
@functools.wraps(pseudo_init)
def _init(self, *args, **kwargs):
self.__class__.__orig_init__(self, *args, **kwargs)
setattr(cls, '__init__', _init)
# Update __call__ signature.
call_signature = pg_typing.Signature.from_schema(
cls.__schema__,
name='__call__',
module_name=cls.__module__,
qualname=cls.__qualname__,
is_method=False,
)
setattr(cls, '__signature__', call_signature)
| (self) -> Callable[[], NoneType] | [
-0.019962461665272713,
-0.06977804005146027,
0.053764596581459045,
0.05314869433641434,
-0.04927213862538338,
-0.027081560343503952,
-0.02054213359951973,
0.016122132539749146,
0.07158951461315155,
0.008174283429980278,
0.003611629595980048,
0.03785984218120575,
0.014355944469571114,
-0.001232935581356287,
-0.05622820183634758,
0.0024183199275285006,
0.00681114848703146,
0.03988869488239288,
-0.020922543480992317,
-0.015279796905815601,
0.008486763574182987,
0.008618094958364964,
-0.01967262476682663,
0.021375412121415138,
0.02186451107263565,
0.0639813169836998,
-0.0298168882727623,
0.01668369024991989,
0.06488705426454544,
-0.014428403228521347,
-0.01862196996808052,
0.028675658628344536,
-0.010896026156842709,
0.02162901870906353,
0.04220738261938095,
-0.07412558048963547,
0.05470656231045723,
0.06053951382637024,
0.027625003829598427,
0.05579344928264618,
0.013830616138875484,
-0.021321067586541176,
-0.05731508880853653,
-0.05564853176474571,
0.03653746470808983,
0.04988803714513779,
-0.01949147693812847,
0.0713721364736557,
-0.04862000420689583,
-0.04028721898794174,
-0.02789672464132309,
-0.04612017050385475,
0.04579410329461098,
0.025596151128411293,
0.012155001051723957,
0.008029365912079811,
0.03680918365716934,
0.010950369760394096,
-0.009338157251477242,
0.03412820026278496,
-0.005298566073179245,
0.03664615377783775,
0.0030681868083775043,
-0.008518463931977749,
0.010307296179234982,
-0.08593640476465225,
-0.025650495663285255,
-0.05909033492207527,
-0.017634715884923935,
0.026737380772829056,
-0.04485213756561279,
-0.007205144502222538,
0.01817815750837326,
0.022552872076630592,
0.03369344770908356,
0.009270226582884789,
0.005017787683755159,
-0.03691787272691727,
0.015243567526340485,
-0.0212123803794384,
0.019310330972075462,
-0.03507016971707344,
-0.025161396712064743,
-0.0015907019842416048,
0.02376656047999859,
-0.010850738734006882,
0.026791725307703018,
0.006068443413823843,
-0.03331303596496582,
0.016067788004875183,
-0.03662803769111633,
-0.004496988374739885,
0.0315559059381485,
0.015388485044240952,
-0.011937624774873257,
-0.01212782971560955,
-0.02657434716820717,
-0.05144590884447098,
-0.0028711888007819653,
-0.009492131881415844,
0.017209017649292946,
0.039707545191049576,
0.0024590780958533287,
-0.005986927077174187,
0.039924923330545425,
-0.03999738022685051,
0.0013699284754693508,
-0.055250007659196854,
-0.05448918789625168,
-0.0052215782925486565,
0.01817815750837326,
-0.0000160007784870686,
0.01796078123152256,
0.024146970361471176,
0.015578689984977245,
-0.055068857967853546,
0.028440168127417564,
-0.024581724777817726,
-0.008912459947168827,
0.001796757336705923,
-0.004777766764163971,
0.01481787022203207,
0.01123114861547947,
0.016819551587104797,
-0.04151901975274086,
-0.0030976233538240194,
0.05191688984632492,
0.05662672966718674,
0.043584104627370834,
-0.0005284413928166032,
0.04126541316509247,
-0.0030115782283246517,
-0.040975578129291534,
0.0068473778665065765,
0.020288527011871338,
-0.007467808201909065,
0.06651738286018372,
0.00023365205561276525,
-0.07470525801181793,
0.036465004086494446,
0.02532442845404148,
0.013051682151854038,
0.03778738155961037,
0.014999018050730228,
-0.04847508668899536,
0.07716885954141617,
-0.019998690113425255,
0.01903860829770565,
-0.0069968244060873985,
-0.029472708702087402,
-0.005701619666069746,
-0.04180885851383209,
0.006245062220841646,
0.04260590672492981,
-0.021936969831585884,
-0.02443680539727211,
-0.034526724368333817,
-0.04539557918906212,
-0.04492459446191788,
-0.008224098943173885,
-0.022860823199152946,
-0.01598627306520939,
-0.014491804875433445,
-0.06303935497999191,
-0.05532246455550194,
0.01178364921361208,
-0.007848218083381653,
-0.10687705874443054,
-0.02008926495909691,
0.022244920954108238,
0.0025541805662214756,
0.008074652403593063,
0.032570332288742065,
0.02074139565229416,
0.05046771094202995,
0.08695083111524582,
0.034725986421108246,
0.005348381586372852,
0.041192956268787384,
0.0012068956857547164,
0.050540171563625336,
-0.03238918259739876,
-0.04550426825881004,
0.044489841908216476,
0.019799428060650826,
0.0454680398106575,
-0.030324101448059082,
-0.007191558368504047,
0.0498155802488327,
0.010950369760394096,
-0.0017061836551874876,
0.0039354306645691395,
0.013604181818664074,
-0.0021239551715552807,
0.04818525165319443,
0.025251969695091248,
-0.058945417404174805,
0.0628582015633583,
-0.03963508829474449,
0.009637050330638885,
-0.008971333503723145,
0.01730865053832531,
0.028856806457042694,
-0.01667463406920433,
0.014238198287785053,
0.012598812580108643,
0.062206074595451355,
0.023205002769827843,
-0.07401689141988754,
-0.05669918656349182,
0.02811410091817379,
-0.03684541583061218,
-0.04992426931858063,
0.018504222854971886,
-0.02726270817220211,
-0.10361640900373459,
0.07216919213533401,
-0.023023854941129684,
-0.017915494740009308,
0.011747419834136963,
0.09339968115091324,
0.028929265215992928,
-0.031048692762851715,
0.002841752488166094,
0.023875249549746513,
0.014011763967573643,
0.04872869327664375,
-0.049199678003787994,
-0.019400903955101967,
-0.04753312095999718,
-0.013486435636878014,
-0.043620333075523376,
-0.023512953892350197,
-0.02014360949397087,
-0.03048713505268097,
-0.004392828326672316,
0.049199678003787994,
0.0019054459407925606,
0.006041271146386862,
-0.000637413002550602,
-0.00622241897508502,
-0.014192911796271801,
0.018540453165769577,
-0.004909099079668522,
-0.11347083002328873,
-0.036899760365486145,
0.027860494330525398,
0.013776272535324097,
-0.00653942720964551,
0.01461860816925764,
-0.022788362577557564,
-0.028657544404268265,
0.01775246113538742,
0.013160370290279388,
0.00009276736818719655,
-0.06039459630846977,
-0.04148279130458832,
0.02811410091817379,
0.029744429513812065,
0.0033489656634628773,
0.011104345321655273,
0.03436369448900223,
-0.010243894532322884,
0.044670987874269485,
-0.011330779641866684,
-0.04387393966317177,
-0.0005677844164893031,
0.010896026156842709,
-0.024545494467020035,
0.05361967906355858,
-0.006448853295296431,
-0.037062790244817734,
-0.037714920938014984,
0.01028918195515871,
-0.01795172318816185,
-0.00004291640652809292,
-0.04753312095999718,
0.004166394006460905,
0.01796078123152256,
-0.06999541819095612,
0.060068532824516296,
-0.03334926813840866,
0.008495820686221123,
0.019582051783800125,
-0.020723281428217888,
-0.005230635870248079,
-0.009591763839125633,
0.021049346774816513,
-0.024400576949119568,
-0.04028721898794174,
0.05608328431844711,
-0.027570659294724464,
0.0639813169836998,
0.030360331758856773,
0.015207338146865368,
0.019437134265899658,
-0.04387393966317177,
-0.023223116993904114,
0.009555533528327942,
-0.08035705983638763,
-0.019400903955101967,
0.02706344611942768,
0.015750780701637268,
0.017598485574126244,
0.0913708284497261,
-0.0498155802488327,
-0.003226690925657749,
-0.03941771015524864,
0.029744429513812065,
0.02054213359951973,
-0.04724328592419624,
0.045939020812511444,
-0.07521247118711472,
-0.018893690779805183,
-0.004073556046932936,
0.03026975691318512,
-0.022154346108436584,
-0.039055414497852325,
0.030034266412258148,
0.08332788199186325,
-0.01428348571062088,
0.0015805125003680587,
-0.0428595133125782,
0.04061328247189522,
-0.004426793660968542,
-0.015868525952100754,
-0.010959427803754807,
-0.023531068116426468,
-0.028929265215992928,
0.006562070455402136,
-0.026012789458036423,
0.016511600464582443,
0.053981974720954895,
0.041192956268787384,
-0.01427442766726017,
0.005565758794546127,
0.02052401937544346,
-0.03916410356760025,
-0.022824592888355255,
-0.021158035844564438,
0.027389511466026306,
0.011312665417790413,
0.009564591571688652,
-0.002656076103448868,
0.004084877669811249,
0.011321722529828548,
-0.0011333044385537505,
0.024545494467020035,
0.06293066591024399,
0.005606517195701599,
0.027806151658296585,
-0.09839935600757599,
-0.03287828341126442,
0.009899714030325413,
0.08861738443374634,
-0.039236560463905334,
-0.03898295387625694,
-0.031247954815626144,
0.001492203096859157,
-0.0528588593006134,
0.07948754727840424,
-0.025650495663285255,
-0.022806478664278984,
0.02226303517818451,
0.08470460027456284,
0.047496892511844635,
-0.05539492517709732,
-0.001399364904500544,
-0.04612017050385475,
-0.02856697142124176,
0.015506231226027012,
-0.06553918868303299,
-0.036664266139268875,
-0.044236235320568085,
0.013441149145364761,
0.031030576676130295,
0.023748446255922318,
0.04561295732855797,
-0.0498155802488327,
0.03130229935050011,
0.027190249413251877,
-0.0380772165954113,
0.011439468711614609,
-0.013857788406312466,
-0.0018578947056084871,
-0.0005077792447991669,
-0.04724328592419624,
-0.0011485887225717306,
0.07535738497972488,
0.023078199476003647,
-0.006892664823681116,
0.02901984006166458,
-0.03443615138530731,
-0.04782295599579811,
0.02443680539727211,
0.016611231490969658,
-0.009718567132949829,
-0.01596815697848797,
0.02834959328174591,
-0.02682795375585556,
-0.02054213359951973,
-0.060467056930065155,
0.04992426931858063,
0.01548811700195074,
0.03916410356760025,
-0.005316680762916803,
0.000036583314795279875,
-0.021465986967086792,
-0.020886313170194626,
0.041663940995931625,
0.019419018179178238,
-0.008128996938467026,
0.0018465729663148522,
-0.0009000769350677729,
0.05988738313317299,
0.023911477997899055,
0.028675658628344536,
-0.004863812122493982,
-0.004900041501969099,
0.06188000738620758,
0.0432942658662796,
0.08955935388803482,
0.028440168127417564,
0.07970492541790009,
0.03974377363920212,
0.052713941782712936,
-0.02853074111044407,
-0.008387132547795773,
0.026755494996905327,
0.03651934862136841,
0.024491149932146072,
0.00831920187920332,
-0.05840197578072548,
0.026067133992910385,
-0.035812873393297195,
-0.025433117523789406,
0.00842336192727089,
-0.00909813679754734,
-0.0424247607588768,
0.0761544331908226,
-0.008522992953658104,
0.0345991849899292,
-0.012354264035820961,
-0.013921190053224564,
0.017018813639879227,
0.00405544089153409,
0.03526943176984787,
0.025143282487988472,
-0.019799428060650826,
0.016357624903321266,
0.0670245960354805,
0.01362229697406292,
0.034055743366479874,
0.02202754281461239,
-0.013404919765889645,
-0.03177328407764435,
0.00026238092686980963,
-0.07514000684022903,
0.0008615831029601395,
0.02987123280763626,
0.011792706325650215,
0.012200288474559784,
-0.059199023991823196,
-0.040540825575590134,
-0.016176477074623108,
-0.038874268531799316,
0.03173705190420151,
0.007440635934472084,
-0.05709771066904068,
0.01243577990680933,
0.10347148776054382,
-0.04612017050385475,
0.025632379576563835,
-0.013042624108493328,
-0.04651869460940361,
0.008147112093865871,
-0.0005691996193490922,
-0.028838692232966423,
-0.0715532898902893,
-0.020161723718047142,
0.007934262976050377,
0.0074632796458899975,
-0.016176477074623108,
-0.0006289216689765453,
0.03577664494514465,
-0.020904429256916046,
-0.0194733627140522,
-0.01180176343768835,
0.011847050860524178,
0.011222091503441334,
0.0030002566054463387,
0.07187934964895248,
0.037135250866413116,
0.02769746258854866,
0.02182828076183796,
-0.06249590963125229,
0.036664266139268875,
0.0428595133125782,
0.03507016971707344,
-0.04420000687241554,
-0.03552303835749626,
-0.035830989480018616,
-0.009211353957653046,
0.0306863971054554,
0.032751478254795074,
-0.03651934862136841,
0.018332133069634438,
0.013359632343053818,
-0.007159857545047998,
-0.023512953892350197,
-0.016928240656852722,
-0.045757874846458435,
0.02161090448498726,
-0.017634715884923935,
-0.011720247566699982,
-0.02271590381860733,
0.01902049407362938,
0.01264410000294447,
-0.0415552519261837,
-0.03488902002573013,
0.005484242457896471,
-0.02050590328872204,
-0.020179837942123413,
0.03217180818319321,
0.030179183930158615,
-0.0018035504035651684,
0.05452541634440422,
-0.041120495647192,
0.0498155802488327,
-0.023857133463025093,
0.0014050258323550224,
-0.023839019238948822,
-0.03653746470808983,
0.016810493543744087,
-0.013604181818664074,
0.03952639922499657,
-0.016728976741433144,
-0.014265370555222034,
0.01748979650437832,
-0.029472708702087402,
0.0022405688650906086,
0.077023945748806,
-0.0463375449180603,
0.018748773261904716,
-0.012109714560210705,
0.011837992817163467,
-0.011086231097579002,
-0.019527707248926163,
-0.006136373616755009,
-0.04307689145207405,
-0.030849430710077286,
0.012426722794771194,
0.05706148222088814,
0.01178364921361208,
-0.08557410538196564,
-0.04514197260141373,
0.03334926813840866,
0.01157532911747694,
0.0046736071817576885,
-0.005506885703653097,
-0.03478033095598221,
0.024998363107442856,
0.0970226377248764,
-0.011511927470564842,
-0.015868525952100754,
0.014419346116483212,
0.01814192906022072,
0.05191688984632492,
-0.07053886353969574,
-0.017444510012865067,
0.030414676293730736,
0.028929265215992928,
-0.03843951225280762,
-0.022806478664278984,
-0.0192559864372015,
0.012716558761894703,
-0.010071804746985435,
0.04289574176073074,
-0.01841364987194538,
-0.08825509250164032,
-0.010108034126460552,
-0.014057050459086895,
-0.022679675370454788,
-0.028947381302714348,
-0.01578701101243496,
0.007843689061701298,
-0.04688099026679993,
0.04477967694401741,
-0.029291560873389244,
0.00844147615134716,
-0.10760165005922318,
0.04006984084844589,
-0.07644426822662354,
-0.08883476257324219,
-0.018712542951107025,
0.01755319908261299,
-0.020397216081619263,
-0.030233528465032578,
-0.0056563327088952065,
-0.03497959300875664,
-0.07970492541790009,
0.03682729974389076,
0.0013925718376412988,
-0.04264213517308235,
-0.022426068782806396,
-0.06191623583436012,
-0.029146643355488777,
0.0678941085934639,
0.008350902236998081,
-0.009637050330638885,
-0.013857788406312466,
0.05101115256547928,
0.065720334649086,
0.012689386494457722,
0.006136373616755009,
-0.03664615377783775,
-0.04651869460940361,
-0.024581724777817726,
0.06361902505159378,
-0.008695082738995552,
-0.07890787720680237,
-0.015931928530335426,
0.02188262529671192,
-0.006113730370998383,
-0.050105415284633636,
0.02680983953177929,
-0.006720574572682381,
0.016303280368447304,
0.03465352952480316,
-0.05238787457346916,
0.04517820104956627,
0.0034667113795876503,
0.04325803741812706,
-0.062206074595451355,
0.08108165115118027,
-0.049417056143283844,
-0.06249590963125229,
0.015687378123402596,
0.004340748302638531,
0.018712542951107025,
0.04046836495399475,
-0.046808529645204544,
0.019310330972075462,
-0.014799755997955799,
0.016393855214118958,
-0.030469020828604698,
0.00246360688470304,
-0.04260590672492981,
0.053981974720954895,
0.008418832905590534,
-0.0018295904155820608,
0.019618280231952667,
0.0059914556331932545,
0.022208690643310547,
0.03249787166714668,
-0.003915051929652691,
0.00023591639182996005,
-0.02403828129172325,
0.07158951461315155,
-0.01987188681960106,
0.010406927205622196,
-0.024762872606515884,
-0.022788362577557564,
0.015877583995461464,
0.02362164296209812,
0.030016150325536728,
-0.019147297367453575,
-0.012625984847545624,
0.023440495133399963,
0.023404264822602272,
0.028023527935147285,
0.04264213517308235,
-0.009809140115976334,
-0.012807132676243782,
-0.01776151917874813,
-0.04977935180068016,
0.0000091104484454263,
0.006838320288807154,
0.006634529680013657,
-0.006548484321683645,
0.017589427530765533,
0.0007608197629451752,
-0.058945417404174805,
-0.00406676298007369,
-0.05430803820490837,
-0.021248608827590942,
0.03660992160439491,
0.013278116472065449,
0.023911477997899055,
-0.08419738709926605,
0.01490844413638115,
-0.04130164533853531,
0.049634430557489395,
0.04477967694401741,
-0.041845086961984634,
-0.038004759699106216,
-0.07905279844999313,
-0.04061328247189522,
0.031012462452054024,
-0.0162127073854208,
0.07499509304761887,
0.050069186836481094,
-0.03749754652380943,
0.014772583730518818,
0.0061771320179104805,
0.04626508802175522,
-0.04630131646990776,
-0.01362229697406292,
0.07238656282424927,
0.018314018845558167,
0.005466127768158913,
0.032968856394290924,
-0.009474017657339573,
-0.06499574333429337,
0.056771647185087204,
-0.0027738220524042845,
0.016556886956095695,
0.006770390085875988,
0.008006722666323185,
-0.00031049823155626655,
-0.009754796512424946,
-0.01602250151336193,
0.038874268531799316,
0.02275213412940502,
0.006245062220841646,
0.008464120328426361,
0.04108426719903946,
-0.019817544147372246,
0.027371397241950035,
0.013595124706625938,
0.06351033598184586,
0.01212782971560955,
-0.03865689039230347,
0.002714949194341898,
0.04017852991819382,
-0.005751435179263353,
-0.012716558761894703,
-0.0402509868144989,
-0.037135250866413116,
0.0027964655309915543,
-0.060032300651073456,
-0.01818721555173397,
-0.00729571795091033,
0.07724132388830185,
0.07379952073097229,
-0.0008842265233397484,
0.026900412514805794,
0.031211724504828453,
0.04434492439031601,
0.005085717886686325,
-0.024817215278744698,
0.061300333589315414,
-0.021737707778811455,
-0.027842380106449127,
0.03287828341126442,
-0.0033308507408946753,
-0.017444510012865067,
-0.0015895698452368379,
-0.023023854941129684,
-0.05579344928264618,
0.0010331071680411696,
-0.03749754652380943,
0.015017133206129074,
-0.036193281412124634,
0.08035705983638763,
0.013685698620975018,
0.01427442766726017,
0.03445426747202873
]
|
40,816 | pyglove.core.symbolic.functor | __new__ | null | def __new__(cls, *args, **kwargs):
instance = object.__new__(cls)
if flags.should_call_functors_during_init():
instance.__init__(*args, **kwargs)
return instance()
return instance
| (cls, *args, **kwargs) | [
0.012161758728325367,
-0.054232437163591385,
0.07052018493413925,
-0.03291782736778259,
-0.07001569867134094,
0.026233363896608353,
-0.024846022948622704,
-0.0009684363612905145,
0.02041373774409294,
0.00711688119918108,
-0.0006553836865350604,
0.09664544463157654,
-0.05729539692401886,
0.0005740237538702786,
0.0021508296485990286,
0.026503626257181168,
-0.03935004770755768,
-0.001971781486645341,
0.005698009394109249,
-0.05960162729024887,
0.034359220415353775,
0.06461047381162643,
-0.005770078860223293,
0.028359420597553253,
0.06695273518562317,
0.039133839309215546,
-0.054592784494161606,
0.0018152551492676139,
0.03834107145667076,
-0.0026575694791972637,
0.005918722599744797,
0.0397103950381279,
-0.038917627185583115,
0.06875447928905487,
0.04291749745607376,
-0.03978246450424194,
0.012666246853768826,
0.057223327457904816,
-0.03264756500720978,
0.010071738623082638,
0.02217944525182247,
-0.0583404079079628,
-0.018404794856905937,
-0.03284575790166855,
-0.02354876883327961,
0.00913483276963234,
0.02268393337726593,
0.020089423283934593,
-0.023278508335351944,
-0.002756665460765362,
-0.012017619796097279,
-0.0075583080761134624,
0.041944555938243866,
0.004128241445869207,
0.003333222819492221,
0.0732228010892868,
0.04486337676644325,
0.02616129443049431,
-0.02533249370753765,
0.006053853314369917,
-0.06810585409402847,
0.06706084311008453,
0.024846022948622704,
-0.04551200568675995,
-0.03747623413801193,
-0.04356612265110016,
-0.04889927804470062,
-0.046160630881786346,
0.02162090502679348,
0.037584338337183,
-0.02635948732495308,
0.019927266985177994,
0.024359552189707756,
0.0241073090583086,
0.05293518304824829,
0.006634915247559547,
-0.024395586922764778,
-0.05628642067313194,
0.007661908399313688,
0.020341668277978897,
-0.00711688119918108,
-0.03515198826789856,
0.008094326592981815,
0.03722399100661278,
-0.0026012652087956667,
-0.01826966553926468,
-0.03744019940495491,
-0.061979927122592926,
0.04659305140376091,
0.017305731773376465,
-0.02073805034160614,
-0.00791415199637413,
-0.008495213463902473,
-0.06007008254528046,
-0.004346702713519335,
-0.03949418663978577,
0.004328685346990824,
0.05639452859759331,
0.022629881277680397,
0.03711588680744171,
0.013585135340690613,
0.035872682929039,
-0.050520848482847214,
-0.007166428957134485,
0.047205641865730286,
-0.009882555343210697,
0.0008704666397534311,
0.0024706388358026743,
-0.055817969143390656,
0.010882521979510784,
0.03486371040344238,
0.03848521038889885,
-0.005576391704380512,
0.05661073699593544,
-0.06644824892282486,
-0.011918524280190468,
-0.02142271399497986,
-0.020341668277978897,
0.016576027497649193,
-0.016666114330291748,
-0.05848454684019089,
0.00554035697132349,
-0.06706084311008453,
0.02918822132050991,
-0.01844082958996296,
-0.019909249618649483,
0.035440266132354736,
-0.07430384308099747,
0.05080912634730339,
0.025927068665623665,
0.04061126708984375,
0.02846752479672432,
-0.03643122315406799,
0.027854932472109795,
-0.029926935210824013,
-0.028431490063667297,
-0.01300857774913311,
0.02214341051876545,
-0.043349914252758026,
0.003574205795302987,
-0.020593911409378052,
0.0024706388358026743,
0.04115178808569908,
0.07088053226470947,
-0.016612062230706215,
0.016792235895991325,
-0.02446765825152397,
0.030881859362125397,
0.04846686124801636,
-0.015594077296555042,
0.021188486367464066,
-0.029620639979839325,
0.001883946591988206,
0.09361851960420609,
-0.005301625933498144,
-0.007774516940116882,
-0.014666180126369,
-0.03617898002266884,
-0.0022533037699759007,
0.01791832409799099,
0.010134799405932426,
0.036683470010757446,
-0.004468320403248072,
-0.07538488507270813,
-0.012981551699340343,
-0.005324147641658783,
-0.010251912288367748,
-0.08806915581226349,
0.014729241840541363,
0.02001735381782055,
-0.018882256001234055,
-0.02547663263976574,
0.02936839498579502,
0.04144006595015526,
-0.010450104251503944,
0.04169231280684471,
-0.005562878679484129,
0.010278938338160515,
0.013747291639447212,
0.018684064969420433,
0.053367599844932556,
-0.016999436542391777,
-0.03007107600569725,
-0.004652998875826597,
0.026305433362722397,
0.04731374606490135,
0.017161592841148376,
0.038593314588069916,
-0.010305964387953281,
0.02340462990105152,
-0.0035719536244869232,
-0.019044414162635803,
0.028089158236980438,
0.0018929552752524614,
0.0012454541865736246,
0.023152384907007217,
-0.04980015009641647,
0.03765640780329704,
-0.037908654659986496,
0.0674932599067688,
-0.017999403178691864,
0.08958261460065842,
0.027152253314852715,
-0.07070036232471466,
0.001271354267373681,
0.029638657346367836,
0.0242694653570652,
0.049295663833618164,
-0.042160764336586,
-0.04814254865050316,
0.04392646998167038,
-0.03509793430566788,
-0.01097260881215334,
0.07156519591808319,
-0.04785427078604698,
0.010738383047282696,
0.09008710086345673,
0.011927532963454723,
-0.03650329262018204,
0.023242473602294922,
0.04306163638830185,
0.03895366191864014,
-0.08958261460065842,
0.02920623868703842,
-0.008576292544603348,
0.03819693252444267,
-0.021729009225964546,
-0.046737190335989,
-0.04270128533244133,
-0.05909714102745056,
-0.030629614368081093,
0.014711224474012852,
0.0010675322264432907,
-0.0013659456744790077,
-0.011585201136767864,
-0.056142281740903854,
0.07617765665054321,
0.015071572735905647,
-0.07243002951145172,
0.01493644155561924,
0.06594376266002655,
0.02093624323606491,
0.04871910437941551,
0.008702414110302925,
-0.031386345624923706,
0.015323816798627377,
-0.06306096911430359,
0.019224587827920914,
0.008306031115353107,
-0.0050178514793515205,
0.000976318959146738,
-0.021206503733992577,
-0.01724267192184925,
-0.028179246932268143,
-0.030359353870153427,
-0.0046845292672514915,
-0.045800283551216125,
-0.024828005582094193,
-0.01949484832584858,
0.002544960705563426,
0.008842049166560173,
0.029980987310409546,
0.03468353673815727,
0.07826767861843109,
-0.012729307636618614,
-0.020629946142435074,
-0.02848554216325283,
-0.05462881922721863,
0.0017668333603069186,
0.07210572063922882,
0.04976411536335945,
-0.028431490063667297,
0.04785427078604698,
0.04925962910056114,
-0.034052927047014236,
-0.07459212094545364,
-0.0369357131421566,
-0.020179511979222298,
-0.00579710491001606,
-0.01705348864197731,
0.0012634716695174575,
0.04165627807378769,
0.02021554671227932,
0.011990593746304512,
-0.017828237265348434,
-0.0019042161293327808,
0.020990295335650444,
0.06028629094362259,
0.008080813102424145,
-0.048755139112472534,
-0.01126088760793209,
-0.012098697945475578,
0.054556749761104584,
0.006855628453195095,
0.0552414134144783,
-0.016612062230706215,
-0.03834107145667076,
-0.006860132794827223,
-0.0036575363483279943,
-0.037187956273555756,
0.012495080940425396,
-0.06208803132176399,
-0.03848521038889885,
0.029332360252738,
0.0268819909542799,
-0.030701685696840286,
-0.03322412446141243,
-0.020611928775906563,
0.02459377981722355,
0.03834107145667076,
0.00019847314979415387,
0.031386345624923706,
0.025620771571993828,
-0.018756134435534477,
0.007797038648277521,
0.022395653650164604,
0.03603484109044075,
-0.037007782608270645,
0.043494053184986115,
0.02354876883327961,
0.004909747280180454,
-0.010396052151918411,
-0.03711588680744171,
0.0008518861723132432,
-0.04698943346738815,
0.0026598216500133276,
-0.018900275230407715,
-0.06093491613864899,
-0.031566519290208817,
-0.011107739992439747,
-0.05437657609581947,
0.02057589404284954,
0.03895366191864014,
-0.04079144075512886,
-0.02408929169178009,
-0.021656939759850502,
0.021152451634407043,
-0.03486371040344238,
-0.034179046750068665,
-0.035260092467069626,
0.04147610068321228,
0.050376709550619125,
-0.03659338131546974,
0.01654900051653385,
-0.024557745084166527,
0.005981783848255873,
0.023656873032450676,
0.018044447526335716,
0.035260092467069626,
-0.06097095087170601,
0.06662841886281967,
-0.0650428906083107,
-0.026990097016096115,
0.012477063573896885,
0.056142281740903854,
-0.016801245510578156,
-0.006788063328713179,
0.03320610523223877,
-0.024125326424837112,
-0.07473625987768173,
-0.002700360957533121,
0.00020903022959828377,
-0.023296525701880455,
0.03862934932112694,
0.04468320310115814,
0.008067300543189049,
0.01353108324110508,
-0.03185480087995529,
-0.06659238785505295,
-0.022017288953065872,
-0.011008644476532936,
-0.04079144075512886,
-0.002894048113375902,
0.018404794856905937,
0.01899036206305027,
-0.033296193927526474,
0.005698009394109249,
0.01240499410778284,
0.026773886755108833,
0.07711455971002579,
0.0016012982232496142,
-0.003157553030177951,
0.008837545290589333,
-0.0011902758851647377,
0.032575495541095734,
0.018738117069005966,
-0.004846686031669378,
0.04940376803278923,
0.06302493810653687,
0.019566919654607773,
0.0031125093810260296,
-0.022053323686122894,
-0.02354876883327961,
-0.018008412793278694,
0.03434120491147041,
0.05152982473373413,
-0.01913450099527836,
0.01918855309486389,
0.05253879725933075,
0.008648362010717392,
0.0008164143655449152,
0.028179246932268143,
0.0044390419498085976,
-0.030719703063368797,
-0.02599913813173771,
0.008738448843359947,
0.05307932198047638,
-0.03201695531606674,
-0.008418640121817589,
0.012936508283019066,
0.003799423575401306,
-0.004788129590451717,
-0.01617063581943512,
-0.008202430792152882,
0.012414002791047096,
0.010720365680754185,
0.03953022137284279,
-0.03041340596973896,
-0.013314873911440372,
-0.013251813128590584,
0.03895366191864014,
0.031566519290208817,
-0.0004780246817972511,
-0.011035670526325703,
0.08835743367671967,
0.059169210493564606,
-0.0320349745452404,
0.008990692906081676,
0.0054322523064911366,
0.002019077306613326,
-0.04904342070221901,
0.004098962992429733,
-0.036845624446868896,
0.01353108324110508,
-0.0028535090386867523,
-0.03589070215821266,
-0.021188486367464066,
-0.005945748649537563,
-0.01020686887204647,
0.04605252668261528,
-0.026287415996193886,
-0.0488632433116436,
0.017990395426750183,
0.005130460485816002,
-0.03942211717367172,
-0.024053256958723068,
0.06615997105836868,
0.0052565825171768665,
0.031368330121040344,
0.003508892608806491,
0.06533116847276688,
0.048791173845529556,
0.03531414642930031,
0.04763805866241455,
0.04659305140376091,
-0.042989566922187805,
0.014269797131419182,
-0.023782994598150253,
-0.019765110686421394,
0.04846686124801636,
-0.019368726760149002,
-0.013287847861647606,
-0.04511561989784241,
-0.06579962372779846,
-0.0562143512070179,
-0.007274533621966839,
0.03673752024769783,
0.016089556738734245,
-0.04756598919630051,
-0.0120536545291543,
0.05271897464990616,
0.016422878950834274,
0.050196535885334015,
-0.05358380824327469,
-0.04709753766655922,
-0.0003856854164041579,
-0.013684230856597424,
-0.035079918801784515,
0.012125723995268345,
0.011477096937596798,
-0.0010365647030994296,
0.01844983920454979,
0.04165627807378769,
0.02848554216325283,
-0.051926206797361374,
0.01504454668611288,
0.027314409613609314,
-0.01985519751906395,
0.038593314588069916,
0.061223194003105164,
-0.02356678619980812,
0.0738714262843132,
0.058772824704647064,
0.004398502875119448,
-0.004621468484401703,
-0.0031170137226581573,
0.014071605168282986,
0.025728877633810043,
0.01090954802930355,
-0.01983718015253544,
0.0070673334412276745,
0.008810518309473991,
-0.04169231280684471,
-0.009603285230696201,
-0.007107872515916824,
-0.08648362010717392,
-0.011170800775289536,
0.026053190231323242,
-0.01900837942957878,
0.0012938759755343199,
0.018702082335948944,
-0.02652164362370968,
-0.03511595353484154,
-0.0033377271611243486,
-0.002648560795933008,
0.01135097537189722,
-0.021296590566635132,
-0.04954790696501732,
-0.03165660798549652,
-0.028233299031853676,
0.05030464008450508,
0.0805739089846611,
-0.030377371236681938,
-0.05044877901673317,
-0.0003502136096358299,
-0.028773820027709007,
0.029080117121338844,
-0.017179610207676888,
0.05895300209522247,
-0.007634881883859634,
0.020882191136479378,
-0.08720431476831436,
-0.04288146272301674,
0.007963700219988823,
0.005148477852344513,
-0.012918490916490555,
-0.04432285577058792,
-0.007008776534348726,
0.08597913384437561,
-0.03740416467189789,
0.013314873911440372,
-0.004202563315629959,
0.032052990049123764,
0.0537639819085598,
-0.03493577986955643,
-0.002736395690590143,
0.0233685951679945,
-0.0032566487789154053,
-0.03565647453069687,
-0.03653933107852936,
0.0187921691685915,
-0.01983718015253544,
0.012341933324933052,
0.02160288766026497,
-0.011477096937596798,
0.03271963447332382,
0.03289981186389923,
0.017467889934778214,
-0.030899876728653908,
0.02212539315223694,
0.02252177521586418,
0.053908124566078186,
0.043494053184986115,
-0.0032498922664672136,
-0.05437657609581947,
-0.007720464840531349,
0.04745788499712944,
0.06262855231761932,
-0.036467257887125015,
-0.05250276252627373,
0.022900141775608063,
0.005247573833912611,
-0.05062895268201828,
0.054736923426389694,
-0.03895366191864014,
0.04410664737224579,
0.02142271399497986,
-0.0007111250888556242,
0.005369191523641348,
-0.06223217025399208,
-0.03639518842101097,
-0.008387109264731407,
-0.11091524362564087,
-0.06450236588716507,
-0.04990825429558754,
-0.03916987404227257,
-0.015260755084455013,
-0.01690034009516239,
0.018215611577033997,
-0.038737453520298004,
0.00993660744279623,
0.06237630918622017,
-0.015612094663083553,
-0.03390878438949585,
-0.05016050115227699,
0.00009423955634701997,
-0.030341336503624916,
-0.006427715066820383,
0.017981385812163353,
0.018557943403720856,
-0.1031317189335823,
0.07545695453882217,
-0.03616096451878548,
-0.027332426980137825,
0.025368528440594673,
-0.028557611629366875,
-0.05679091066122055,
-0.020341668277978897,
-0.006445732433348894,
-0.019404761493206024,
-0.0003609114501159638,
-0.020990295335650444,
0.047926340252161026,
0.03165660798549652,
0.038737453520298004,
-0.002968369983136654,
-0.10406862199306488,
0.024323517456650734,
0.027152253314852715,
0.003508892608806491,
-0.06176371872425079,
-0.02686397358775139,
-0.0006137184100225568,
-0.002016825135797262,
-0.012954525649547577,
-0.03216109424829483,
0.046701155602931976,
-0.048791173845529556,
0.003607988590374589,
-0.031224189326167107,
-0.0021530818194150925,
-0.016233695670962334,
-0.014801311306655407,
-0.04381836578249931,
0.029836848378181458,
0.008125856518745422,
-0.005806114058941603,
0.060574568808078766,
0.041944555938243866,
0.03223316743969917,
-0.0583404079079628,
-0.02196323499083519,
0.03574656322598457,
-0.05837644264101982,
-0.019801145419478416,
-0.06450236588716507,
0.02304428070783615,
0.009657337330281734,
0.018864238634705544,
0.013495048508048058,
0.02216142788529396,
0.008923127315938473,
0.004184545949101448,
0.002124929567798972,
-0.04378233104944229,
-0.04724167659878731,
-0.004047163296490908,
0.01931467466056347,
0.09203298389911652,
0.0019751598592847586,
-0.011576192453503609,
0.015549033880233765,
0.02459377981722355,
0.013477031141519547,
0.04619666561484337,
0.027981054037809372,
-0.01754896715283394,
-0.039314012974500656,
-0.017467889934778214,
-0.0019402509788051248,
-0.004209320060908794,
0.04378233104944229,
-0.01933269202709198,
0.02828735113143921,
0.016792235895991325,
0.00010458549513714388,
-0.020702015608549118,
0.007986221462488174,
0.021206503733992577,
0.04345801845192909,
-0.024575762450695038,
0.025098267942667007,
0.012179776094853878,
-0.009013215079903603,
-0.0460885614156723,
-0.018395787104964256,
-0.007842082530260086,
-0.008815023116767406,
0.0028309873305261135,
-0.08915019780397415,
0.020647963508963585,
0.002684595761820674,
0.05250276252627373,
0.05592607334256172,
-0.03181876614689827,
-0.009963633492588997,
-0.09693372249603271,
-0.048070479184389114,
0.020611928775906563,
0.0032386314123868942,
0.04144006595015526,
0.00585115747526288,
-0.040683336555957794,
-0.0020956513471901417,
-0.01721564494073391,
0.04320577532052994,
-0.03461146354675293,
0.024737918749451637,
0.06205199658870697,
-0.04515165463089943,
-0.022251514717936516,
0.08662775903940201,
0.029584605246782303,
-0.00878799706697464,
0.0330079160630703,
-0.00030573311960324645,
0.05286311358213425,
-0.017810219898819923,
-0.014242771081626415,
-0.07160122692584991,
0.03960229083895683,
-0.05639452859759331,
0.016260722652077675,
-0.0057295397855341434,
-0.009522207081317902,
-0.01933269202709198,
-0.00019889543182216585,
-0.007229490205645561,
-0.022197462618350983,
-0.047205641865730286,
0.04785427078604698,
-0.007954691536724567,
-0.0488632433116436,
-0.04144006595015526,
0.013386943377554417,
-0.01685529761016369,
0.0005489682662300766,
-0.028539594262838364,
-0.025584736838936806,
0.02126055583357811,
-0.06742119044065475,
0.010233894921839237,
0.031548503786325455,
0.08035769313573837,
0.03126022592186928,
-0.00026702380273491144,
0.0668446272611618,
0.015900373458862305,
0.03230523690581322,
0.025746895000338554,
-0.020702015608549118,
0.008427648805081844,
0.032449375838041306,
0.04284542798995972,
0.014053587801754475,
-0.04360215738415718,
-0.05697108432650566,
-0.04756598919630051,
-0.05152982473373413,
-0.06219613552093506,
-0.033152054995298386,
-0.07826767861843109,
0.02918822132050991,
-0.014458980411291122,
-0.0033760142978280783,
0.026683799922466278,
0.062160100787878036,
0.03641320765018463
]
|
40,817 | pyglove.core.symbolic.functor | __init__ | Constructor.
Args:
*args: prebound positional arguments.
root_path: The symbolic path for current object.
override_args: If True, allows arguments provided during `__call__` to
override existing bound arguments.
ignore_extra_args: If True, unsupported arguments can be passed in
during `__call__` without using them. Otherwise, calling with
unsupported arguments will raise error.
**kwargs: prebound keyword arguments.
Raises:
KeyError: constructor got unexpected arguments.
| @object_utils.explicit_method_override
def __init__(
self,
*args,
root_path: Optional[object_utils.KeyPath] = None,
override_args: bool = False,
ignore_extra_args: bool = False,
**kwargs):
"""Constructor.
Args:
*args: prebound positional arguments.
root_path: The symbolic path for current object.
override_args: If True, allows arguments provided during `__call__` to
override existing bound arguments.
ignore_extra_args: If True, unsupported arguments can be passed in
during `__call__` without using them. Otherwise, calling with
unsupported arguments will raise error.
**kwargs: prebound keyword arguments.
Raises:
KeyError: constructor got unexpected arguments.
"""
# NOTE(daiyip): Since Functor is usually late bound (until call time),
# we pass `allow_partial=True` during functor construction.
_ = kwargs.pop('allow_partial', None)
varargs = None
signature = self.__signature__
if len(args) > len(signature.args):
if signature.varargs:
varargs = list(args[len(signature.args) :])
args = args[: len(signature.args)]
else:
arg_phrase = object_utils.auto_plural(len(signature.args), 'argument')
was_phrase = object_utils.auto_plural(len(args), 'was', 'were')
raise TypeError(
f'{signature.id}() takes {len(signature.args)} '
f'positional {arg_phrase} but {len(args)} {was_phrase} given.'
)
bound_kwargs = dict()
for i, v in enumerate(args):
if pg_typing.MISSING_VALUE != v:
bound_kwargs[signature.args[i].name] = v
if varargs is not None:
bound_kwargs[signature.varargs.name] = varargs
for k, v in kwargs.items():
if pg_typing.MISSING_VALUE != v:
if k in bound_kwargs:
raise TypeError(
f'{signature.id}() got multiple values for keyword '
f'argument {k!r}.'
)
bound_kwargs[k] = v
default_args = set()
non_default_args = set(bound_kwargs)
for arg_spec in signature.named_args:
if not arg_spec.value_spec.has_default:
continue
arg_name = arg_spec.name
if arg_name not in non_default_args:
default_args.add(arg_name)
elif bound_kwargs[arg_name] == arg_spec.value_spec.default:
default_args.add(arg_name)
non_default_args.discard(arg_name)
if signature.varargs and not varargs:
default_args.add(signature.varargs.name)
super().__init__(allow_partial=True,
root_path=root_path,
**bound_kwargs)
self._non_default_args = non_default_args
self._default_args = default_args
self._specified_args = set(bound_kwargs)
self._override_args = override_args
self._ignore_extra_args = ignore_extra_args
# For subclassed Functor, we use thread-local storage for storing temporary
# member overrides from the arguments during functor call.
self._tls = threading.local() if self.is_subclassed_functor else None
| (self, *args, root_path: Optional[pyglove.core.object_utils.value_location.KeyPath] = None, override_args: bool = False, ignore_extra_args: bool = False, **kwargs) | [
-0.016189461573958397,
-0.037866875529289246,
0.021363817155361176,
0.03722008317708969,
-0.0073744370602071285,
0.023167002946138382,
-0.014278477989137173,
0.03141853213310242,
0.07361697405576706,
-0.04907798022031784,
0.012524292804300785,
0.06648263335227966,
-0.052841149270534515,
0.0011600650614127517,
-0.034730903804302216,
0.050645966082811356,
0.03539729863405228,
0.03941526263952255,
0.017786847427487373,
0.01661085896193981,
0.0297133456915617,
0.011436502449214458,
0.0195116326212883,
0.04347242787480354,
0.018580641597509384,
0.007599835284054279,
-0.03361371159553528,
0.020266227424144745,
0.04433482140302658,
-0.0329081192612648,
-0.030399341136217117,
0.01362188346683979,
-0.02216741070151329,
0.05550672486424446,
0.04817638918757439,
-0.07937932014465332,
0.024774188175797462,
0.08718005567789078,
-0.01404327992349863,
-0.028302159160375595,
0.0318889282643795,
-0.04943077638745308,
-0.011446301825344563,
-0.02504858560860157,
0.027439765632152557,
0.033966511487960815,
0.02259860746562481,
0.05876029655337334,
-0.020364226773381233,
-0.011593300849199295,
0.011436502449214458,
-0.036690887063741684,
0.049195580184459686,
-0.023323800414800644,
-0.054526735097169876,
0.05570272356271744,
0.022637806832790375,
0.03155573084950447,
-0.039062466472387314,
0.03335891664028168,
-0.014200078323483467,
0.06805061548948288,
0.060132287442684174,
-0.030066143721342087,
-0.027557365596294403,
-0.0640130564570427,
-0.04731399565935135,
-0.039905257523059845,
0.005879949778318405,
0.025362184271216393,
-0.040846049785614014,
-0.013612084090709686,
0.0336725115776062,
0.02624417655169964,
0.05256675183773041,
0.011220904067158699,
-0.014268678613007069,
-0.028047360479831696,
0.039728861302137375,
-0.010642709210515022,
-0.026812570169568062,
-0.07785053551197052,
-0.0780465304851532,
-0.009946915321052074,
0.00923152081668377,
0.015111470595002174,
-0.026106977835297585,
0.03492690250277519,
0.0698930025100708,
-0.010417311452329159,
-0.07992811501026154,
0.03865087032318115,
0.015503467991948128,
0.03598529100418091,
-0.0031629230361431837,
-0.05742751061916351,
0.015376068651676178,
-0.024499790742993355,
0.0019171086605638266,
-0.010838707908987999,
-0.003924866672605276,
-0.010182113386690617,
0.01798284612596035,
0.0027660264167934656,
0.01763004995882511,
-0.004593710880726576,
-0.01353368442505598,
-0.02395099587738514,
-0.03624008968472481,
0.011789299547672272,
-0.045746009796857834,
-0.02216741070151329,
0.014543076045811176,
0.04433482140302658,
-0.061896272003650665,
-0.013788482174277306,
-0.002067782450467348,
-0.045393213629722595,
0.012455693446099758,
-0.000020422872694325633,
-0.015150670893490314,
0.02344140037894249,
-0.017816247418522835,
0.009329520165920258,
-0.026165775954723358,
-0.016748057678341866,
0.037102483212947845,
0.03518170118331909,
0.001832584384828806,
-0.008599426597356796,
0.08373048156499863,
0.004069415386766195,
-0.038200072944164276,
0.01653245836496353,
0.031359732151031494,
0.0005723763606511056,
0.04104204848408699,
0.028223758563399315,
-0.08004571497440338,
0.057074714452028275,
0.023833395913243294,
-0.06848181784152985,
0.03663208708167076,
0.035750094801187515,
-0.02328460104763508,
0.030850136652588844,
0.020442625507712364,
-0.05060676857829094,
0.015072271227836609,
0.003133523277938366,
-0.006678643170744181,
0.02734176628291607,
0.012347894720733166,
0.03441730514168739,
-0.032280925661325455,
-0.022794606164097786,
0.003910166677087545,
-0.056996311992406845,
-0.03251612186431885,
0.011906898580491543,
-0.038474470376968384,
-0.013229887001216412,
-0.0020236826967447996,
-0.07694894075393677,
-0.011946097947657108,
-0.002093507209792733,
-0.004079215228557587,
-0.09831275790929794,
0.011367903091013432,
0.06209227070212364,
0.0019171086605638266,
-0.01857084222137928,
0.0397876612842083,
0.036769285798072815,
0.024146994575858116,
0.037278883159160614,
-0.007678234484046698,
0.013073088601231575,
-0.014200078323483467,
-0.0246173907071352,
0.0653066411614418,
-0.05154756084084511,
-0.03976805880665779,
-0.03386851027607918,
0.0299681443721056,
0.043354831635951996,
-0.011279704049229622,
0.008922823704779148,
0.03631848841905594,
0.010240912437438965,
0.004809308797121048,
0.0070951394736766815,
0.04460921883583069,
0.016228660941123962,
0.024558590725064278,
0.021305019035935402,
0.008148630149662495,
0.00798203144222498,
-0.030673738569021225,
0.047431595623493195,
-0.02091302163898945,
-0.019070636481046677,
0.017336051911115646,
-0.037102483212947845,
-0.02487218752503395,
-0.016473660245537758,
0.027047768235206604,
0.05828990414738655,
-0.015376068651676178,
-0.04076765105128288,
0.02022702805697918,
-0.03916046395897865,
-0.024303792044520378,
0.040650054812431335,
-0.017100853845477104,
-0.043550826609134674,
0.04876438528299332,
-0.016140462830662727,
0.015170270577073097,
0.02606777660548687,
0.10497670620679855,
0.05440913513302803,
-0.009775416925549507,
0.014905672520399094,
0.005840749945491552,
-0.019884029403328896,
0.06793302297592163,
-0.019325435161590576,
0.02157941646873951,
-0.03114413470029831,
-0.012347894720733166,
-0.06914821267127991,
-0.012563493102788925,
0.014268678613007069,
-0.007913432084023952,
-0.05060676857829094,
0.050214771181344986,
-0.032868918031454086,
-0.016385460272431374,
-0.005032257176935673,
0.02589137852191925,
-0.0012776640942320228,
0.010779907926917076,
-0.01188729889690876,
-0.03281011804938316,
-0.028223758563399315,
0.000484483374748379,
0.015356468968093395,
0.07514575868844986,
0.01941363513469696,
-0.012142096646130085,
0.03298651799559593,
-0.041512444615364075,
0.012014697305858135,
-0.03224172443151474,
-0.03192812576889992,
-0.01844344288110733,
0.008246629498898983,
-0.023480599746108055,
0.023676598444581032,
-0.005551652517169714,
0.008663126267492771,
-0.009520619176328182,
0.09431439638137817,
-0.0033613713458180428,
-0.019276434555649757,
-0.02522498555481434,
-0.057662706822156906,
-0.021442217752337456,
0.04178684204816818,
0.040650054812431335,
-0.03563249483704567,
0.03790607675909996,
0.0336725115776062,
-0.038631271570920944,
-0.030399341136217117,
-0.05558512359857559,
0.012004897929728031,
-0.0246173907071352,
-0.005899549461901188,
0.04012085869908333,
-0.011318903416395187,
-0.00464271055534482,
-0.02369619719684124,
-0.031202932819724083,
0.04300203174352646,
-0.02175581455230713,
-0.020070228725671768,
-0.018659040331840515,
-0.045824408531188965,
0.05001877248287201,
0.005473253317177296,
0.03428010642528534,
0.04598120599985123,
0.024225393310189247,
-0.04135564714670181,
-0.07765454053878784,
-0.029164550825953484,
0.019021637737751007,
-0.07177458703517914,
0.013190687634050846,
-0.027302566915750504,
0.041434045881032944,
0.008795425295829773,
0.06628663092851639,
-0.045158013701438904,
-0.00933441985398531,
0.0013487135292962193,
0.009153122082352638,
0.01798284612596035,
0.000012182903446955606,
0.0015042871236801147,
-0.00602694833651185,
-0.02438219264149666,
-0.0025406284257769585,
0.03569129481911659,
0.0008287054370157421,
-0.09306000918149948,
0.022226210683584213,
0.03692608326673508,
-0.02775336243212223,
0.022226210683584213,
-0.06832502037286758,
0.002137606730684638,
-0.021442217752337456,
0.03716128319501877,
0.00046457728603854775,
-0.008393628522753716,
-0.011034705676138401,
0.0374944806098938,
-0.0214226171374321,
0.06436584889888763,
-0.0022368310019373894,
0.025616981089115143,
-0.06150427460670471,
-0.026440173387527466,
0.02226541005074978,
0.009412819519639015,
-0.012514493428170681,
-0.03782767802476883,
0.028400156646966934,
0.007913432084023952,
-0.023049402981996536,
-0.002670477144420147,
-0.00422131409868598,
0.0007552060415036976,
0.06307226419448853,
-0.008692525327205658,
0.09611757844686508,
-0.02734176628291607,
0.021363817155361176,
-0.030575739219784737,
-0.0543307363986969,
-0.017963247373700142,
0.06856021285057068,
-0.0339273102581501,
-0.026792971417307854,
-0.02048182487487793,
0.006717842537909746,
-0.05781950801610947,
0.07988891750574112,
-0.0482155866920948,
-0.03967006132006645,
0.013788482174277306,
0.07589054852724075,
0.005630051717162132,
-0.004926907829940319,
-0.006933440919965506,
-0.05299794673919678,
-0.019247036427259445,
0.025401383638381958,
-0.09031602740287781,
-0.02791016176342964,
0.005777050741016865,
0.0024377291556447744,
-0.0036872185301035643,
0.0030330740846693516,
0.029340948909521103,
-0.06765862554311752,
0.031947728246450424,
0.01897263713181019,
-0.03155573084950447,
0.012436093762516975,
0.0012972638942301273,
-0.03282972052693367,
-0.02336299978196621,
0.005042057018727064,
-0.00046243355609476566,
0.09117842465639114,
-0.013337685726583004,
-0.02530338428914547,
-0.012808490544557571,
0.049548376351594925,
-0.010466310195624828,
0.055467527359724045,
-0.019100036472082138,
0.03455450385808945,
0.002773376414552331,
-0.009280520491302013,
0.0017627599881961942,
0.019629232585430145,
-0.061229877173900604,
0.025499382987618446,
-0.011818699538707733,
0.03510329872369766,
0.017737848684191704,
0.058838699012994766,
-0.03586769476532936,
0.026675371453166008,
0.06828581541776657,
0.03047773987054825,
-0.000862392655108124,
-0.03794527426362038,
0.018492441624403,
0.008726825937628746,
0.002643527463078499,
0.016434459015727043,
-0.03377051278948784,
0.005164555739611387,
-0.004522661212831736,
0.017826048657298088,
0.05797630548477173,
0.0014969372423365712,
0.032614123076200485,
0.10787747800350189,
0.04296283423900604,
-0.0346917025744915,
-0.025577781721949577,
0.05476193130016327,
-0.0008268679375760257,
-0.0402972549200058,
-0.018306244164705276,
-0.04982277378439903,
0.026596972718834877,
-0.023421799764037132,
-0.003956716042011976,
-0.01219109632074833,
-0.03751407936215401,
0.004297263454645872,
0.04723559692502022,
-0.043629229068756104,
-0.004860758315771818,
0.009187421761453152,
0.0021327068097889423,
-0.0018142095068469644,
0.003731318050995469,
0.007869333028793335,
0.02606777660548687,
0.023578599095344543,
0.010064514353871346,
0.05311554670333862,
0.004966107662767172,
0.043629229068756104,
-0.007477336097508669,
-0.04272763431072235,
-0.052919548004865646,
-0.07655694335699081,
-0.004184564109891653,
-0.0423356369137764,
0.030928535386919975,
0.04221804067492485,
0.007781133521348238,
0.00265577738173306,
-0.051273163408041,
-0.030164143070578575,
0.020187826827168465,
0.06397385150194168,
-0.00697754044085741,
-0.07918332517147064,
-0.04170844331383705,
0.08796405047178268,
-0.011965697631239891,
-0.017002854496240616,
-0.038121674209833145,
-0.028713755309581757,
0.033143315464258194,
0.005532052833586931,
-0.03808247670531273,
-0.03680848702788353,
-0.030262142419815063,
0.031594932079315186,
-0.0017309102695435286,
0.034985702484846115,
0.00550265284255147,
-0.0016782357124611735,
-0.0022478557657450438,
0.0009285420528613031,
0.024734988808631897,
0.018835438415408134,
0.024342991411685944,
-0.03322171792387962,
0.08906164020299911,
0.009946915321052074,
0.019354835152626038,
0.050645966082811356,
-0.01815924420952797,
-0.0008017556392587721,
0.02938014827668667,
0.03657328709959984,
-0.043864425271749496,
-0.028125759214162827,
-0.02199101261794567,
0.029732946306467056,
0.03561289608478546,
0.015072271227836609,
-0.08474967628717422,
-0.044138822704553604,
0.02604817785322666,
0.00014875967463012785,
-0.016032662242650986,
0.007271538022905588,
-0.018218044191598892,
0.01808084547519684,
0.007345037069171667,
0.013700283132493496,
0.00265577738173306,
-0.032104525715112686,
-0.021638214588165283,
-0.05146916210651398,
-0.05476193130016327,
0.006992240436375141,
0.039728861302137375,
0.013984480872750282,
-0.02606777660548687,
0.02175581455230713,
-0.018815839663147926,
0.06389545649290085,
-0.02395099587738514,
0.08451447635889053,
0.025616981089115143,
0.011309103108942509,
-0.02283380553126335,
-0.02165781520307064,
0.06648263335227966,
-0.049195580184459686,
0.0502539724111557,
0.0030502239242196083,
-0.006497344467788935,
0.028713755309581757,
0.006394445430487394,
0.045314814895391464,
0.0704025998711586,
0.0010394036071375012,
0.016228660941123962,
-0.013886481523513794,
0.004003265872597694,
0.0028199260123074055,
-0.001939158421009779,
-0.0037337681278586388,
-0.02208901196718216,
-0.010946506634354591,
-0.021599015220999718,
0.04366842657327652,
0.06366025656461716,
-0.0594266913831234,
-0.02226541005074978,
0.012671291828155518,
0.012583092786371708,
-0.01879623904824257,
0.009123722091317177,
-0.012494893744587898,
0.05095956474542618,
0.04892118275165558,
-0.008957123383879662,
-0.03255532309412956,
0.017943646758794785,
0.009456919506192207,
-0.0012341769179329276,
-0.017375251278281212,
-0.01869823969900608,
-0.010368311777710915,
-0.01395508088171482,
-0.0349465012550354,
0.014288278296589851,
-0.06283706426620483,
0.028204159811139107,
-0.009020823054015636,
0.018345443531870842,
-0.03298651799559593,
-0.08106490969657898,
0.015268269926309586,
-0.01539566833525896,
0.000730093743186444,
-0.03141853213310242,
-0.002589627867564559,
0.004997957497835159,
-0.0030208241660147905,
0.019756631925702095,
-0.04884278401732445,
-0.041159648448228836,
-0.06812901794910431,
-0.0005922824493609369,
-0.010397710837423801,
-0.05523232743144035,
-0.049901172518730164,
0.036690887063741684,
-0.03208492696285248,
-0.03586769476532936,
0.06624743342399597,
-0.06828581541776657,
-0.046334005892276764,
0.041669245809316635,
-0.024166593328118324,
0.007918332703411579,
-0.050724368542432785,
-0.023892195895314217,
-0.03908206522464752,
0.03782767802476883,
-0.002920374972745776,
-0.0063552455976605415,
0.009109022095799446,
0.006859941408038139,
0.039905257523059845,
0.016307061538100243,
-0.042766835540533066,
-0.026165775954723358,
-0.03590689226984978,
0.026949770748615265,
0.0724409818649292,
0.016385460272431374,
-0.07534175366163254,
-0.028458956629037857,
-0.0016904855147004128,
-0.019531233236193657,
-0.033476512879133224,
-0.01164230052381754,
0.0071882386691868305,
-0.02336299978196621,
-0.005507552996277809,
-0.03157532960176468,
0.032966919243335724,
-0.0372396819293499,
0.009398119524121284,
-0.0031800728756934404,
0.020344626158475876,
-0.044726818799972534,
-0.008516127243638039,
-0.006467944942414761,
-0.01395508088171482,
0.06699223071336746,
-0.024852586910128593,
-0.07267618179321289,
-0.007869333028793335,
0.03831767290830612,
-0.01485667284578085,
-0.008947324007749557,
-0.0010412411065772176,
-0.0065414439886808395,
0.0800849199295044,
0.04417802393436432,
0.023049402981996536,
0.03155573084950447,
-0.013719882816076279,
-0.016522658988833427,
-0.014023680239915848,
0.03384891152381897,
0.02310820296406746,
-0.011769699864089489,
0.06311146169900894,
-0.006198447197675705,
-0.023343401029706,
-0.005536952521651983,
-0.009089422412216663,
0.01716945320367813,
-0.02208901196718216,
-0.025401383638381958,
-0.009412819519639015,
-0.050136372447013855,
0.05660431832075119,
0.07675294578075409,
0.006943240761756897,
-0.017032254487276077,
-0.02673417143523693,
-0.012240095064043999,
-0.01468027476221323,
-0.024813387542963028,
0.013700283132493496,
0.011593300849199295,
0.0126908915117383,
-0.030752137303352356,
0.014993871562182903,
-0.008795425295829773,
-0.06201387196779251,
0.008413228206336498,
-0.049195580184459686,
0.0011790524004027247,
0.011946097947657108,
0.0329081192612648,
0.04045405611395836,
-0.06801141798496246,
0.03733767941594124,
-0.01775744929909706,
0.05464433506131172,
0.07001060247421265,
-0.0517827570438385,
-0.06205306947231293,
-0.09141361713409424,
-0.05876029655337334,
0.04406042397022247,
-0.03923886641860008,
0.04492281749844551,
0.032026126980781555,
-0.03518170118331909,
0.003875866997987032,
-0.01790444739162922,
0.04147324711084366,
-0.03970926254987717,
-0.012553692795336246,
0.10231112688779831,
-0.002353204879909754,
0.006904040928930044,
0.057584308087825775,
0.05821150168776512,
-0.0502539724111557,
0.00034391580265946686,
0.02351979911327362,
0.04241403937339783,
0.008535726927220821,
-0.04907798022031784,
-0.02285340428352356,
-0.015748465433716774,
-0.030497340485453606,
0.044295620173215866,
-0.003229072317481041,
0.051743559539318085,
-0.02520538493990898,
0.002137606730684638,
-0.06385625153779984,
0.028968552127480507,
-0.005125356372445822,
0.0568787157535553,
0.030242541804909706,
-0.0075361356139183044,
-0.022226210683584213,
0.02514658495783806,
-0.03518170118331909,
0.02928215079009533,
-0.04543241113424301,
-0.06362105906009674,
0.0380040742456913,
-0.04331563040614128,
0.0058652497828006744,
-0.00840342789888382,
0.08090811222791672,
0.08286809176206589,
-0.0029546748846769333,
0.021030619740486145,
0.008712125942111015,
0.046412404626607895,
0.0012513268738985062,
0.018423842266201973,
0.04417802393436432,
-0.011475701816380024,
-0.023813797160983086,
-0.009011022746562958,
-0.015699466690421104,
-0.02124621905386448,
-0.04813718795776367,
-0.01946263387799263,
-0.08404408395290375,
-0.09149201959371567,
-0.06867781281471252,
0.01826704479753971,
-0.017963247373700142,
0.07036340236663818,
0.04637320339679718,
0.015199670568108559,
0.03968966007232666
]
|
40,822 | pyglove.core.symbolic.functor | _apply_call_time_overrides_to_members | Overrides member values within the scope. | def _on_change(
self, field_updates: Dict[object_utils.KeyPath, base.FieldUpdate]):
"""Custom handling field change to update bound args."""
for relative_path, update in field_updates.items():
assert relative_path
if len(relative_path) != 1:
continue
arg_name = str(relative_path)
if update.field.default_value == update.new_value:
if update.field.value.has_default:
self._default_args.add(arg_name)
self._non_default_args.discard(arg_name)
else:
self._default_args.discard(arg_name)
self._non_default_args.add(arg_name)
if update.new_value == pg_typing.MISSING_VALUE:
self._specified_args.discard(arg_name)
else:
self._specified_args.add(arg_name)
| (self, **kwargs) | [
0.034727394580841064,
-0.03366159275174141,
-0.045296601951122284,
0.0868273675441742,
-0.05808623135089874,
-0.06128363683819771,
0.024158187210559845,
0.05059008672833443,
0.0417439267039299,
-0.0472150482237339,
0.010160649195313454,
-0.024016080424189568,
0.06263365596532822,
-0.016928493976593018,
-0.011386322788894176,
0.003477180376648903,
-0.07094691693782806,
0.022293033078312874,
0.03996758908033371,
-0.0076604546047747135,
0.01843838207423687,
-0.027799678966403008,
0.023820683360099792,
0.056167785078287125,
0.0035482337698340416,
0.0007355146808549762,
0.04522554948925972,
0.014077473431825638,
0.048032160848379135,
-0.005488882306963205,
-0.010453744791448116,
-0.02357199601829052,
0.024584509432315826,
0.030322078615427017,
-0.005901881027966738,
-0.038546521216630936,
-0.014512675814330578,
0.09094846993684769,
-0.06337971985340118,
-0.04128208011388779,
0.025952288880944252,
-0.0057730963453650475,
-0.0067944903858006,
0.007145316805690527,
0.05950729921460152,
0.03408791497349739,
-0.0370543971657753,
0.008961621671915054,
-0.02135157398879528,
-0.00506700249388814,
0.015383081510663033,
-0.026733877137303352,
0.062171805649995804,
0.020729856565594673,
-0.012958381325006485,
0.042418934404850006,
0.03197407349944115,
0.06437446177005768,
0.011057700030505657,
-0.011679418385028839,
0.003061961382627487,
-0.003232934046536684,
-0.01543637178838253,
-0.04128208011388779,
-0.002560146152973175,
-0.06824687868356705,
0.06803371757268906,
0.003994538448750973,
-0.01831403747200966,
0.005999579560011625,
-0.04327157884836197,
-0.004622918087989092,
-0.016564344987273216,
-0.04160182178020477,
-0.03057076595723629,
0.02522399090230465,
-0.013766614720225334,
0.045687396079301834,
0.010213939473032951,
0.0026289792731404305,
-0.00489380955696106,
-0.027071380987763405,
0.0002695036819204688,
-0.0010441532358527184,
0.011057700030505657,
-0.03762282431125641,
-0.029345093294978142,
0.010489271953701973,
0.07524564862251282,
0.018038704991340637,
-0.0707692801952362,
-0.017825545743107796,
-0.011377440765500069,
0.040855757892131805,
-0.005626548547297716,
-0.00791358295828104,
-0.019628528505563736,
-0.02826152741909027,
-0.02747993916273117,
0.0434136837720871,
0.044159747660160065,
-0.05005718767642975,
0.07037848234176636,
0.019291022792458534,
0.03641491383314133,
-0.053894076496362686,
-0.01067578699439764,
-0.05549277737736702,
0.007949109189212322,
-0.023731866851449013,
0.02044564299285412,
-0.0638415664434433,
0.012603113427758217,
0.020587749779224396,
-0.07059164345264435,
0.01807423308491707,
-0.05730464309453964,
-0.021156176924705505,
0.026893747970461845,
-0.03005562722682953,
0.00017832760931923985,
0.027249014005064964,
-0.009139255620539188,
-0.013748850673437119,
0.024033844470977783,
-0.042987365275621414,
-0.013029434718191624,
0.06455209851264954,
0.0031552191358059645,
0.017496922984719276,
-0.01739034242928028,
-0.02492201328277588,
-0.024602271616458893,
0.023429889231920242,
0.04789005592465401,
-0.009210309013724327,
0.007367359008640051,
0.06352182477712631,
0.002664505969733,
0.004358687903732061,
0.00524907698854804,
0.017710084095597267,
0.06210075318813324,
-0.029629306867718697,
-0.0062793525867164135,
0.02138710208237171,
0.03263131529092789,
0.03224052116274834,
-0.06899294257164001,
0.009609985165297985,
-0.03883073478937149,
0.03726755827665329,
-0.017452513799071312,
-0.012079093605279922,
-0.024069370701909065,
0.02060551382601261,
-0.05780201777815819,
-0.047676894813776016,
0.03378593549132347,
0.05332564562559128,
0.016084734350442886,
-0.023589760065078735,
0.05023482069373131,
-0.06771397590637207,
0.025472678244113922,
0.06050204858183861,
-0.05169141665101051,
-0.051122989505529404,
-0.0030153326224535704,
0.07247456163167953,
0.02222198061645031,
0.037942565977573395,
0.012194556184113026,
0.012842918746173382,
0.07151534408330917,
0.07687988132238388,
-0.001423290348611772,
-0.04412421956658363,
0.01684856042265892,
0.006683469284325838,
-0.02183118648827076,
-0.025241753086447716,
0.06078626215457916,
0.048067688941955566,
0.036557022482156754,
0.05318354070186615,
-0.028385870158672333,
-0.005586580839008093,
-0.04792558029294014,
-0.006909952033311129,
-0.020552223548293114,
-0.0527927465736866,
0.030943796038627625,
-0.032684605568647385,
-0.014175171963870525,
0.02573912777006626,
0.0012778526870533824,
-0.032151706516742706,
0.025845708325505257,
0.026449663564562798,
-0.007047618273645639,
-0.08441155403852463,
-0.0023847329430282116,
0.05282827094197273,
-0.07453511655330658,
0.05019929260015488,
0.05567041411995888,
0.03495831787586212,
0.024975303560495377,
-0.05613226071000099,
-0.0024402434937655926,
0.011528429575264454,
-0.037978094071149826,
-0.011466257274150848,
-0.04128208011388779,
-0.006270471028983593,
0.01739034242928028,
-0.0009486751514486969,
-0.038510993123054504,
0.04749926179647446,
0.05265063792467117,
0.023678576573729515,
-0.02083643712103367,
-0.04987955093383789,
0.06714554876089096,
-0.023802921175956726,
0.014521557837724686,
0.03730308264493942,
0.020161429420113564,
0.002338103950023651,
-0.028385870158672333,
-0.02195552922785282,
-0.06565342843532562,
0.001768565853126347,
0.008473129011690617,
0.007100908551365137,
0.02930956520140171,
-0.03138788044452667,
0.023323308676481247,
-0.03222275897860527,
0.019841687753796577,
0.01865154132246971,
-0.033892516046762466,
0.010080714710056782,
0.02039235271513462,
-0.07766146957874298,
0.012363308109343052,
0.009476759470999241,
-0.015320909209549427,
-0.00937017984688282,
0.034638579934835434,
0.024548981338739395,
-0.015107749029994011,
0.06675475835800171,
-0.022932514548301697,
0.01010735984891653,
-0.02218645252287388,
0.027799678966403008,
0.03765835240483284,
-0.04458606615662575,
-0.0135889807716012,
-0.015169921331107616,
-0.05648752674460411,
0.024904249235987663,
-0.008455365896224976,
-0.014619256369769573,
0.06902846693992615,
-0.04980849847197533,
0.014841298572719097,
0.05083877593278885,
0.0472150482237339,
-0.006199417170137167,
-0.03954127058386803,
0.06057310476899147,
-0.019930504262447357,
0.007558315526694059,
0.026645060628652573,
-0.004622918087989092,
0.005226872395724058,
-0.006634620018303394,
0.07808779180049896,
-0.019717345014214516,
0.00908596534281969,
0.006514717359095812,
0.047428205609321594,
-0.015587360598146915,
0.009920843876898289,
0.0220976360142231,
-0.04479922726750374,
-0.014246225357055664,
0.06835345923900604,
0.028758902102708817,
0.03442541882395744,
0.01252317801117897,
-0.001177933649159968,
-0.015463016927242279,
0.004218801390379667,
0.0010102918604388833,
0.015320909209549427,
-0.031636569648981094,
0.012834037654101849,
0.0024935335386544466,
-0.03808467090129852,
-0.04813874140381813,
0.0311391931027174,
0.008113420568406582,
0.02522399090230465,
-0.04483475536108017,
0.023412127047777176,
-0.011031054891645908,
-0.019770635291934013,
0.034336600452661514,
-0.06565342843532562,
0.01672421582043171,
0.0239983182400465,
-0.006528039928525686,
0.0287944283336401,
0.013109369203448296,
-0.022666065022349358,
0.042809728533029556,
-0.02612992189824581,
0.03078392520546913,
-0.05940072238445282,
0.06213628128170967,
-0.052899327129125595,
0.01471695490181446,
0.03662807494401932,
0.044159747660160065,
0.022417377680540085,
-0.016946258023381233,
0.03257802501320839,
-0.02591676265001297,
0.04284525662660599,
0.003943468909710646,
0.015516306273639202,
-0.008988266810774803,
-0.01663539931178093,
-0.011865933425724506,
0.008535301312804222,
-0.0220976360142231,
0.013411346822977066,
-0.0165199376642704,
-0.018091995269060135,
0.0002861568355001509,
0.05996914952993393,
-0.010054069571197033,
0.04867164418101311,
0.0488848052918911,
0.07439300417900085,
-0.014983405359089375,
-0.030641818419098854,
-0.034549761563539505,
-0.09187217056751251,
-0.015409726649522781,
0.06568895280361176,
-0.05776648968458176,
-0.0005467788432724774,
-0.08881686627864838,
0.028456924483180046,
-0.024016080424189568,
0.031085902824997902,
-0.03417672961950302,
0.031423408538103104,
-0.004614036064594984,
0.047854527831077576,
-0.0051336148753762245,
0.010293874889612198,
-0.034514233469963074,
-0.01100440975278616,
-0.007154198829084635,
0.03936363384127617,
-0.007500584237277508,
0.047286100685596466,
0.0003286224091425538,
-0.017585739493370056,
-0.016075853258371353,
-0.011226451955735683,
0.03186749294400215,
-0.04352026432752609,
-0.01126197911798954,
0.0028199355583637953,
-0.012656403705477715,
-0.018971282988786697,
0.03804914653301239,
-0.008362107910215855,
-0.0042254626750946045,
0.040855757892131805,
-0.029238512739539146,
0.019557474181056023,
-0.024602271616458893,
-0.021689079701900482,
0.028279289603233337,
-0.025863472372293472,
-0.03017997182905674,
-0.009778737090528011,
-0.026716113090515137,
0.049026910215616226,
0.0005834157927893102,
0.002395835006609559,
-0.03488726541399956,
-0.027106907218694687,
-0.0441952720284462,
-0.05975598841905594,
0.01961076445877552,
-0.014503794722259045,
0.0037747167516499758,
-0.035544510930776596,
0.09485641121864319,
0.0013311428483575583,
0.06600869446992874,
0.0020716534927487373,
0.0386175736784935,
-0.011865933425724506,
-0.017310407012701035,
-0.020943017676472664,
-0.020161429420113564,
-0.019504183903336525,
-0.04458606615662575,
-0.005808623041957617,
-0.003750292118638754,
-0.033590540289878845,
0.03762282431125641,
-0.025632547214627266,
0.051336150616407394,
0.03957679495215416,
-0.05027034506201744,
0.003694781567901373,
-0.01802094280719757,
0.05666515976190567,
0.0568072684109211,
-0.0019850570242851973,
-0.0073318323120474815,
-0.037374138832092285,
0.012709693983197212,
0.007833647541701794,
0.013411346822977066,
0.02778191678225994,
0.01861601509153843,
0.019664054736495018,
-0.004809433128684759,
-0.06490736454725266,
-0.04696635901927948,
0.041033390909433365,
-0.04092681407928467,
-0.027462175115942955,
-0.02774638868868351,
-0.010489271953701973,
-0.011226451955735683,
-0.03293329477310181,
-0.027977313846349716,
-0.022559484466910362,
0.01597815379500389,
0.0014821314252912998,
0.024335822090506554,
-0.030997086316347122,
-0.06949031352996826,
-0.1087118461728096,
-0.016946258023381233,
0.02705361694097519,
-0.02348317950963974,
-0.030943796038627625,
0.010649142786860466,
-0.0019939385820180178,
-0.04074917733669281,
-0.016138024628162384,
0.0220443457365036,
0.04344921186566353,
-0.023145675659179688,
-0.06650607287883759,
0.013695561327040195,
0.055386196821928024,
-0.03440765291452408,
0.005626548547297716,
0.000064704472606536,
-0.0006677918136119843,
-0.018278511241078377,
0.013082724064588547,
-0.007775916717946529,
-0.057375695556402206,
-0.034514233469963074,
0.007709303870797157,
0.017701201140880585,
0.04057154431939125,
0.0009375730296596885,
0.03117472119629383,
-0.054604608565568924,
-0.01691073179244995,
-0.014983405359089375,
-0.020587749779224396,
0.025668075308203697,
-0.0056398711167275906,
-0.029949046671390533,
0.05176246911287308,
-0.008233323693275452,
-0.06544026732444763,
-0.06533368676900864,
0.021031834185123444,
0.02588123455643654,
0.04391105845570564,
-0.003002010053023696,
0.0010535900946706533,
0.02183118648827076,
0.025206226855516434,
-0.0004377006262075156,
-0.007362918462604284,
-0.06817582994699478,
0.0023603083100169897,
0.05204668268561363,
-0.03184972703456879,
-0.00021912786178290844,
-0.01705283857882023,
-0.0660797506570816,
0.0969880223274231,
-0.016502173617482185,
0.02396279014647007,
-0.03423001989722252,
-0.018633779138326645,
0.03005562722682953,
-0.012469887733459473,
-0.0008792869630269706,
0.01957523822784424,
-0.01246100664138794,
0.039470214396715164,
-0.020125901326537132,
0.017319289967417717,
0.006736759562045336,
-0.037160977721214294,
-0.028368107974529266,
0.02840363420546055,
-0.036770183593034744,
0.039896536618471146,
0.0011207578936591744,
0.060821790248155594,
-0.019646290689706802,
-0.018367327749729156,
0.06391261518001556,
0.025330569595098495,
-0.0032906648702919483,
-0.15262290835380554,
0.03765835240483284,
0.04003864526748657,
0.06494289636611938,
-0.021067360416054726,
0.01165277324616909,
-0.006892188917845488,
-0.03925705701112747,
0.007691540755331516,
-0.027852969244122505,
0.0496663935482502,
-0.027249014005064964,
-0.0645165741443634,
0.02239961363375187,
-0.0021660213824361563,
0.08888792246580124,
-0.03613070026040077,
-0.01861601509153843,
-0.045900557190179825,
0.017967652529478073,
-0.009006029926240444,
0.008450925350189209,
-0.0055510541424155235,
-0.05236642435193062,
0.053503282368183136,
0.053254593163728714,
-0.051726944744586945,
0.05570593848824501,
0.008370989933609962,
0.036770183593034744,
0.023856209591031075,
0.032595790922641754,
-0.011901460587978363,
0.02239961363375187,
-0.06387709081172943,
-0.04639793187379837,
-0.0008826176053844392,
-0.05535067245364189,
-0.022630536928772926,
-0.048991382122039795,
-0.04160182178020477,
-0.08021939545869827,
-0.014219580218195915,
-0.017123891040682793,
-0.034940555691719055,
-0.0011296395678073168,
0.0016619856469333172,
0.019255496561527252,
0.012718575075268745,
0.05297037959098816,
-0.004889368545264006,
0.047818999737501144,
-0.05556383356451988,
-0.04661109298467636,
-0.05194010213017464,
-0.014299515634775162,
-0.01991274207830429,
0.03614846616983414,
-0.07787463068962097,
-0.025206226855516434,
-0.004920454230159521,
-0.017274880781769753,
-0.05140720307826996,
-0.01739034242928028,
-0.013988656923174858,
-0.01840285398066044,
-0.03765835240483284,
-0.04057154431939125,
0.042525514960289,
0.00011421294038882479,
0.008735138922929764,
0.010400455445051193,
0.00902379397302866,
0.016502173617482185,
0.04479922726750374,
0.04352026432752609,
0.019202206283807755,
0.024726616218686104,
0.009183663874864578,
0.04867164418101311,
0.0702008530497551,
0.006981005892157555,
-0.0598270408809185,
0.011928104795515537,
-0.019202206283807755,
0.005018152762204409,
-0.04000311717391014,
-0.03462081402540207,
0.03504713624715805,
-0.005844149738550186,
-0.03597082942724228,
-0.017283761873841286,
0.007118671666830778,
0.02318120189011097,
0.04657556489109993,
-0.010622497648000717,
0.0639481469988823,
-0.06675475835800171,
0.0082599688321352,
-0.07012979686260223,
-0.03982548415660858,
-0.028776664286851883,
0.04366237297654152,
-0.018189694732427597,
0.041424185037612915,
-0.0008010171004571021,
0.028385870158672333,
0.05495987832546234,
-0.031636569648981094,
-0.04387553408741951,
0.03224052116274834,
-0.020196955651044846,
0.013864313252270222,
0.013473519124090672,
-0.10530127584934235,
0.0009248056448996067,
0.04771241918206215,
0.03840441256761551,
-0.030215498059988022,
-0.05630989372730255,
0.00897938571870327,
0.002366969594731927,
-0.04248999059200287,
0.01126197911798954,
0.06323760747909546,
-0.009618866257369518,
0.006798931397497654,
0.015312028117477894,
0.015214329585433006,
0.011972513981163502,
0.0922984853386879,
0.018580488860607147,
-0.011421849019825459,
-0.038333360105752945,
-0.017194945365190506,
0.03575767204165459,
0.010462626814842224,
-0.04469264671206474,
0.06288234144449234,
0.056771740317344666,
0.014956760220229626,
0.0008010171004571021,
0.019628528505563736,
-0.02222198061645031,
-0.028385870158672333,
0.014246225357055664,
0.06131916493177414,
0.008628558367490768,
0.03117472119629383,
0.0551375113427639,
0.09350639581680298,
0.03227604925632477,
-0.0010480390628799796,
-0.05304143205285072,
0.005311248824000359,
-0.048245321959257126,
-0.007789239287376404,
-0.08370101451873779,
-0.07251009345054626,
-0.029345093294978142,
-0.00628379313275218,
0.04192155972123146,
0.05666515976190567,
0.014379451051354408,
-0.051904577761888504,
0.012221201322972775,
0.026840457692742348,
-0.04739268124103546,
-0.029256276786327362,
-0.02597005106508732,
0.03865310177206993,
0.024602271616458893,
-0.05158483609557152,
-0.009627748280763626,
-0.03224052116274834,
-0.10380915552377701,
0.028670085594058037,
0.03353725001215935,
-0.012061330489814281,
-0.001710834912955761,
0.035153716802597046,
-0.028332579880952835,
-0.00911261048167944,
0.04870716854929924,
0.007505025248974562,
-0.03200959786772728,
0.014690309762954712,
-0.049595337361097336,
0.011102108284831047,
-0.053680915385484695,
-0.01580052077770233,
0.006852221209555864,
0.031814202666282654,
-0.01217679213732481,
0.01612026058137417,
-0.05265063792467117,
0.048245321959257126,
-0.028474686667323112,
0.023074621334671974,
-0.007709303870797157,
-0.06320208311080933,
0.01354457251727581,
-0.023198965936899185,
-0.026165448129177094,
0.04760584235191345,
0.007300746627151966,
0.021635789424180984,
0.021031834185123444,
-0.03186749294400215,
0.0006256038323044777,
0.0033261915668845177,
-0.03000233694911003,
0.0386175736784935,
0.04323605075478554,
0.020641040056943893,
-0.005813064053654671,
0.003941248636692762,
-0.009379060938954353,
-0.009343534708023071,
0.016901850700378418,
0.02039235271513462,
0.016795270144939423,
-0.020552223548293114,
0.049772974103689194,
0.00036137361894361675,
0.01744363270699978,
0.05453355610370636,
0.01564064994454384,
-0.012247845530509949,
0.038901787251234055
]
|
40,823 | pyglove.core.symbolic.functor | _call | Actual function logic. Subclasses should implement this method. | def _call(self, *args, **kwargs) -> Callable: # pylint: disable=g-bare-generic
"""Actual function logic. Subclasses should implement this method."""
raise NotImplementedError()
| (self, *args, **kwargs) -> Callable | [
-0.007224759086966515,
-0.09779521822929382,
0.004743251018226147,
0.04593078792095184,
-0.047469139099121094,
-0.0015658222837373614,
-0.02411915734410286,
-0.0009689097641967237,
0.024576999247074127,
-0.04893423616886139,
0.024998215958476067,
0.03728671371936798,
0.03410013020038605,
-0.04497847333550453,
-0.0540987029671669,
0.020841002464294434,
0.0004174953792244196,
0.006290759425610304,
0.011903911828994751,
-0.0383855365216732,
-0.034393150359392166,
0.011711617931723595,
0.025016529485583305,
-0.008424307219684124,
0.04131573066115379,
0.11830656975507736,
0.029356878250837326,
0.010255677625536919,
0.04358663037419319,
-0.015319419093430042,
-0.020529670640826225,
0.05087548866868019,
-0.040876202285289764,
0.05241383984684944,
0.00807176809757948,
0.006396063603460789,
-0.014907360076904297,
0.06794386357069016,
-0.10233701765537262,
-0.04245118051767349,
-0.05464811250567436,
-0.05212081968784332,
0.052523721009492874,
-0.030345818027853966,
-0.03660910949110985,
-0.03801926225423813,
0.014916517771780491,
0.07772339135408401,
0.0017798637272790074,
-0.028660956770181656,
-0.049410391598939896,
-0.0028340467251837254,
0.012892852537333965,
-0.007343797944486141,
-0.03684718534350395,
0.060618381947278976,
0.04428255185484886,
0.024870019406080246,
0.02118896320462227,
0.02805660478770733,
-0.043952904641628265,
0.06505030393600464,
-0.01262730360031128,
-0.02411915734410286,
0.020126767456531525,
-0.024430489167571068,
-0.03615126386284828,
-0.019137827679514885,
-0.028496133163571358,
0.05245046690106392,
0.02269068732857704,
0.034264951944351196,
0.019961943849921227,
-0.0017512486083433032,
0.03351408988237381,
-0.050216194242239,
-0.02759876288473606,
-0.02298370748758316,
0.03446640446782112,
-0.004729515872895718,
0.01366202812641859,
-0.030199309810996056,
-0.00679438654333353,
-0.013488047756254673,
-0.007499464321881533,
-0.025895586237311363,
-0.013826851733028889,
-0.011903911828994751,
-0.05299988016486168,
0.06834676861763,
-0.04204827919602394,
-0.016152692958712578,
-0.037946008145809174,
-0.009459031745791435,
0.014596027322113514,
0.013442263938486576,
0.011391128413379192,
-0.04585753008723259,
-0.004811927676200867,
-0.0005405406118370593,
0.021408727392554283,
0.05706552416086197,
0.002680669305846095,
-0.0774303674697876,
0.05845736339688301,
-0.03616957738995552,
0.009202639572322369,
0.01877155341207981,
-0.026664763689041138,
0.04007039964199066,
-0.023368295282125473,
0.017297299578785896,
-0.0006730288732796907,
0.02439386211335659,
-0.04333024099469185,
0.00462879054248333,
-0.04790866747498512,
-0.010951599106192589,
-0.03660910949110985,
0.040436673909425735,
-0.013826851733028889,
-0.019705552607774734,
-0.016436554491519928,
-0.013460577465593815,
-0.028551075607538223,
0.05050921440124512,
-0.006762337870895863,
0.004756986163556576,
0.04047330096364021,
-0.015026399865746498,
0.028825780376791954,
0.029521701857447624,
0.02943013235926628,
-0.012883695773780346,
-0.002891276963055134,
0.05929979681968689,
0.040729694068431854,
0.015557496808469296,
-0.060618381947278976,
0.016638007014989853,
0.009843619540333748,
-0.01711416244506836,
0.06164395064115524,
0.02118896320462227,
0.052780114114284515,
0.04094945639371872,
0.02340492233633995,
-0.029613269492983818,
0.005452907178550959,
-0.012902009300887585,
0.06647876650094986,
-0.011784872971475124,
0.000032353029382647946,
0.029833035543560982,
-0.042158160358667374,
0.03798263520002365,
0.040180280804634094,
-0.0249432735145092,
0.0024883754085749388,
0.00591990677639842,
-0.034997500479221344,
0.002244574250653386,
0.02565750852227211,
0.011757402680814266,
0.01837780885398388,
-0.02314853109419346,
-0.018304554745554924,
-0.08416981250047684,
-0.006492210552096367,
0.0001506588887423277,
0.017004281282424927,
0.0330379344522953,
-0.00014822659431956708,
-0.003898531198501587,
0.049153998494148254,
0.009852776303887367,
-0.011217148043215275,
0.049703411757946014,
-0.021958138793706894,
0.00511410366743803,
0.014147341251373291,
-0.04223141819238663,
-0.05929979681968689,
0.03323938325047493,
0.030583897605538368,
0.08351051807403564,
0.027855154126882553,
-0.018753239884972572,
-0.014385419897735119,
-0.00014822659431956708,
-0.05299988016486168,
-0.012663930654525757,
0.04948364570736885,
-0.042817454785108566,
0.028551075607538223,
-0.04706623777747154,
-0.011217148043215275,
0.04322035610675812,
0.0029828455299139023,
-0.017498750239610672,
0.025126410648226738,
0.01655559428036213,
0.07373099774122238,
-0.01260899007320404,
-0.017608633264899254,
0.03221381828188896,
0.036938752979040146,
0.056992266327142715,
-0.06655202805995941,
-0.04497847333550453,
-0.010402187705039978,
-0.0417918860912323,
-0.03856867551803589,
0.06442763656377792,
0.01358877308666706,
-0.014943988062441349,
0.027012722566723824,
-0.0417918860912323,
0.010823403485119343,
0.02957664243876934,
0.07830942422151566,
-0.0025295813102275133,
-0.029118800535798073,
-0.07464668154716492,
0.07860244810581207,
0.011006539687514305,
0.04234129935503006,
-0.05160803720355034,
-0.004578427877277136,
-0.034118443727493286,
-0.03521726652979851,
-0.0498865470290184,
0.01571316458284855,
0.0013380454620346427,
-0.054318465292453766,
-0.028422879055142403,
0.05157141014933586,
-0.02679295837879181,
-0.0373416543006897,
-0.02342323586344719,
0.017077535390853882,
-0.02003519982099533,
0.03186585754156113,
0.02076774835586548,
-0.03615126386284828,
-0.027232488617300987,
-0.0009620421333238482,
0.09493827819824219,
-0.007943572476506233,
0.027781900018453598,
0.003191163996234536,
-0.015795575454831123,
-0.04959352687001228,
-0.015145438723266125,
-0.04376976937055588,
-0.03970412537455559,
-0.03111499361693859,
-0.018194671720266342,
0.05120513588190079,
0.036517538130283356,
-0.008891306817531586,
0.012755499221384525,
0.007279700133949518,
0.03842216357588768,
-0.016344986855983734,
-0.028496133163571358,
-0.03908145800232887,
0.0007033609435893595,
0.0024929537903517485,
0.09493827819824219,
0.13061338663101196,
0.004255648702383041,
0.031755972653627396,
0.01723320223391056,
-0.06889618188142776,
-0.02732405625283718,
-0.04402615875005722,
0.027525506913661957,
-0.006675347685813904,
-0.029063858091831207,
0.058823637664318085,
-0.019522415474057198,
-0.03585824742913246,
0.013781066983938217,
-0.06186371296644211,
-0.013909263536334038,
0.06014222651720047,
0.021701747551560402,
-0.005645201541483402,
-0.019961943849921227,
0.007723807357251644,
0.0029187477193772793,
0.028404565528035164,
0.05065572261810303,
0.04860458895564079,
-0.0008361353538930416,
-0.03662742301821709,
-0.019833749160170555,
0.051534783095121384,
-0.04637031629681587,
-0.0077192289754748344,
-0.04040004685521126,
-0.04977666586637497,
-0.05402544513344765,
0.07765012979507446,
-0.005897014867514372,
-0.011455225758254528,
0.027250802144408226,
-0.06354857981204987,
0.04398953169584274,
-0.033166129142045975,
-0.004605898167937994,
-0.02020002342760563,
-0.03446640446782112,
0.038788437843322754,
0.04483196511864662,
0.02269068732857704,
0.031481269747018814,
0.036938752979040146,
0.05285336822271347,
-0.024503745138645172,
-0.008877571672201157,
0.000718813156709075,
0.04834819585084915,
0.010136638768017292,
-0.006615827791392803,
-0.006757759023457766,
-0.023624686524271965,
-0.011583422310650349,
0.045491255819797516,
-0.013561302796006203,
0.0029073015321046114,
0.0571754053235054,
-0.0131217734888196,
0.0011102687567472458,
-0.011464382521808147,
0.0319940522313118,
0.008918777108192444,
0.04054655507206917,
-0.025053156539797783,
-0.002591390162706375,
0.021958138793706894,
0.03113330900669098,
0.039740752428770065,
0.010145795531570911,
0.02173837460577488,
0.023789510130882263,
0.006510524079203606,
0.08622094988822937,
-0.000038129717722767964,
0.03298299387097359,
-0.06354857981204987,
-0.05157141014933586,
0.018844807520508766,
0.039301224052906036,
0.02089594304561615,
-0.0007983633549883962,
0.017315613105893135,
-0.0007955018081702292,
-0.1067323088645935,
0.07054441422224045,
-0.07204613834619522,
0.02410084381699562,
0.03605969622731209,
0.026976095512509346,
0.01213283371180296,
-0.02693946845829487,
0.0002820025256369263,
0.002584522357210517,
0.0037794921081513166,
0.00243572355248034,
-0.04849470779299736,
-0.03699369728565216,
-0.03351408988237381,
-0.03703032433986664,
0.023881079629063606,
0.016180163249373436,
0.03040076047182083,
-0.060471873730421066,
0.037762872874736786,
0.01766357384622097,
-0.024155784398317337,
0.01948578841984272,
-0.06039861962199211,
0.04040004685521126,
0.0012521999888122082,
-0.042963966727256775,
0.043110474944114685,
0.021280532702803612,
-0.0073392195627093315,
0.03446640446782112,
-0.026609821245074272,
-0.053073134273290634,
-0.04248780757188797,
-0.043366868048906326,
0.004099981859326363,
0.05190105736255646,
-0.005864965729415417,
-0.04552788659930229,
0.02005351334810257,
-0.012233559042215347,
-0.005196515470743179,
0.015392674133181572,
0.02424735389649868,
0.04516161233186722,
0.03787275403738022,
0.02595052868127823,
-0.01254489179700613,
-0.0024219881743192673,
0.03893494978547096,
-0.029485074803233147,
-0.017077535390853882,
-0.0563696026802063,
-0.0034269532188773155,
-0.014980615116655827,
0.055710308253765106,
-0.07380425184965134,
-0.006029789336025715,
-0.03433820605278015,
-0.032451894134283066,
0.003978653810918331,
0.015264477580785751,
0.02635343000292778,
0.08490236103534698,
0.03827565535902977,
0.047579020261764526,
-0.0029759779572486877,
-0.005938220769166946,
0.019650612026453018,
-0.03514401242136955,
-0.004212153609842062,
-0.0027699486818164587,
-0.0819721668958664,
0.03029087744653225,
0.01946747489273548,
-0.024192411452531815,
-0.05988583341240883,
-0.005796289537101984,
0.0049767508171498775,
0.04523486644029617,
0.008025983348488808,
0.04556451365351677,
0.02693946845829487,
-0.041572123765945435,
0.02789178118109703,
-0.03082197532057762,
-0.026536567136645317,
0.038348909467458725,
-0.03444809094071388,
-0.034576285630464554,
0.079701267182827,
0.10841716825962067,
0.06845664978027344,
-0.002202223753556609,
-0.028422879055142403,
-0.07006825506687164,
-0.061900343745946884,
-0.01429385133087635,
0.01946747489273548,
-0.0020248095970600843,
-0.004301432985812426,
0.016024496406316757,
-0.04483196511864662,
-0.082924485206604,
-0.0076047684997320175,
0.013378165662288666,
0.028239741921424866,
0.021335473284125328,
-0.06376834213733673,
-0.03177428990602493,
0.059519559144973755,
-0.051534783095121384,
-0.017874181270599365,
0.005617730785161257,
-0.03206730633974075,
0.04153549671173096,
-0.008918777108192444,
-0.009385776706039906,
0.020731121301651,
-0.014687595888972282,
0.00974289420992136,
-0.00855708122253418,
0.013057676143944263,
0.05270686000585556,
-0.016711261123418808,
-0.005169044714421034,
0.049703411757946014,
-0.012041265144944191,
0.032873108983039856,
-0.015639908611774445,
-0.07765012979507446,
0.07105720043182373,
0.05373242869973183,
-0.012444166466593742,
-0.014943988062441349,
-0.05050921440124512,
-0.03503412753343582,
0.0005070608458481729,
-0.008044297806918621,
-0.035235580056905746,
-0.01948578841984272,
0.0011062625562772155,
0.023899393156170845,
0.011207991279661655,
0.043366868048906326,
-0.032580092549324036,
0.048165060579776764,
0.01651896722614765,
-0.07153335213661194,
-0.04362325742840767,
-0.04303722083568573,
0.02455868571996689,
0.004562403075397015,
-0.017865024507045746,
0.014275537803769112,
-0.022947080433368683,
-0.009999286383390427,
-0.02693946845829487,
-0.07801640778779984,
-0.027855154126882553,
0.05915328487753868,
-0.014705909416079521,
-0.0037016586866229773,
0.02481507882475853,
0.06233987212181091,
-0.03177428990602493,
0.01976049318909645,
0.02496158704161644,
0.008351052179932594,
-0.002669223351404071,
-0.024503745138645172,
-0.021225590258836746,
-0.00624497514218092,
-0.025126410648226738,
0.037488166242837906,
-0.006505945697426796,
-0.07303507626056671,
0.007897787727415562,
-0.0011468961602076888,
0.018570102751255035,
-0.025053156539797783,
0.0037062373012304306,
-0.026023782789707184,
-0.012938636355102062,
-0.05611320957541466,
-0.05856724828481674,
-0.018405279144644737,
0.010539540089666843,
-0.02523629367351532,
-0.013689498417079449,
0.005805446300655603,
-0.02679295837879181,
0.03999714553356171,
0.07867570221424103,
0.039887260645627975,
-0.0025478950701653957,
-0.0008395691984333098,
0.05860387533903122,
-0.02214127592742443,
-0.00855708122253418,
-0.008950825780630112,
0.04120584949851036,
0.00798935629427433,
-0.01585051603615284,
-0.042817454785108566,
0.006487632170319557,
0.04948364570736885,
0.07552574574947357,
-0.03999714553356171,
-0.07845593988895416,
-0.013634557835757732,
0.016180163249373436,
0.004191550426185131,
-0.017993221059441566,
-0.000690770277287811,
0.04860458895564079,
0.014266381040215492,
-0.03745153918862343,
-0.029063858091831207,
-0.059666071087121964,
-0.05787132680416107,
-0.06259626150131226,
-0.0172515157610178,
-0.027855154126882553,
-0.013011891394853592,
-0.023056961596012115,
-0.046333689242601395,
-0.02131715975701809,
-0.023716256022453308,
0.000531383790075779,
-0.021536923944950104,
-0.030492328107357025,
-0.019394218921661377,
-0.022324413061141968,
-0.009069865569472313,
0.02146366983652115,
-0.055710308253765106,
-0.009211796335875988,
-0.006496788933873177,
-0.05072898045182228,
-0.06157069653272629,
0.050545841455459595,
0.01311261672526598,
0.013295753858983517,
0.04237792640924454,
0.02005351334810257,
-0.04457557201385498,
0.010402187705039978,
-0.034997500479221344,
0.0032392374705523252,
0.012224402278661728,
0.023331668227910995,
0.0429273396730423,
-0.00912480615079403,
0.011125579476356506,
0.007394160609692335,
-0.043550003319978714,
0.051095254719257355,
0.04175525903701782,
0.030180994421243668,
-0.04358663037419319,
-0.0023109614849090576,
-0.044795338064432144,
0.012499107979238033,
-0.020090140402317047,
-0.006277024280279875,
0.0395209863781929,
-0.04919062554836273,
0.017315613105893135,
0.006528838071972132,
0.011180520057678223,
0.02928362414240837,
0.02679295837879181,
-0.010264835320413113,
0.01698596589267254,
-0.05036270618438721,
-0.010695206932723522,
0.05611320957541466,
-0.017489593476057053,
-0.022342726588249207,
0.0602521076798439,
-0.028111545369029045,
-0.005576524883508682,
-0.051095254719257355,
0.035821616649627686,
0.00687221996486187,
-0.04029016196727753,
-0.01542014442384243,
0.05281674116849899,
0.0035253893584012985,
-0.016491496935486794,
0.04820168763399124,
0.011125579476356506,
0.018753239884972572,
-0.031334757804870605,
0.027946721762418747,
0.011528480798006058,
-0.05743179842829704,
0.021829944103956223,
-0.028422879055142403,
-0.028074918314814568,
-0.004793613683432341,
-0.0034796050749719143,
0.017077535390853882,
0.009889403358101845,
-0.0055719465017318726,
-0.0445389449596405,
-0.037762872874736786,
-0.015209536999464035,
-0.022397669032216072,
0.013826851733028889,
-0.013927577063441277,
-0.01444951817393303,
-0.02355143241584301,
0.00015695422189310193,
-0.0011686437064781785,
0.001344913151115179,
-0.002339576603844762,
-0.031334757804870605,
0.03444809094071388,
-0.017727671191096306,
-0.004985907580703497,
-0.08622094988822937,
-0.006052681244909763,
-0.04391627758741379,
-0.020236650481820107,
-0.0013964204117655754,
-0.010740991681814194,
0.010356402955949306,
-0.08651396632194519,
0.03514401242136955,
-0.0028294683434069157,
-0.019998572766780853,
0.02117064967751503,
-0.01435794960707426,
0.013277440331876278,
-0.07222927361726761,
-0.0678706094622612,
0.04047330096364021,
0.03534546121954918,
0.024320608004927635,
-0.013021048158407211,
-0.01891806349158287,
0.028349624946713448,
0.04461219906806946,
0.0115010105073452,
-0.030638838186860085,
0.0031842964235693216,
0.02296539396047592,
-0.04417267069220543,
0.0047112018801271915,
-0.009230109862983227,
0.022818883880972862,
0.006391485221683979,
-0.01976049318909645,
-0.04468545317649841,
0.023752883076667786,
0.038898322731256485,
0.01582304574549198,
-0.025913899764418602,
-0.04585753008723259,
-0.013927577063441277,
0.054611485451459885,
-0.04094945639371872,
0.044795338064432144,
-0.011244618333876133,
-0.00016696953389327973,
-0.01639992743730545,
0.04442906379699707,
0.04300059378147125,
0.08233844488859177,
0.017910808324813843,
-0.012462479993700981,
-0.024595312774181366,
0.03140801563858986,
-0.04186514392495155,
-0.011519324034452438,
0.009532286785542965,
-0.0285877026617527,
-0.04538137465715408,
-0.03842216357588768,
-0.044502317905426025,
-0.03602306917309761,
-0.010951599106192589,
0.11010202765464783,
0.011546794325113297,
0.033001307398080826,
0.05886026471853256,
0.07845593988895416,
0.0009059563744813204,
-0.012966107577085495,
0.05673587694764137,
0.014889046549797058,
0.03882506489753723,
0.05336615443229675,
-0.019266024231910706,
-0.00967879593372345,
0.019815435633063316,
-0.026976095512509346,
-0.03505244106054306,
-0.0075864545069634914,
0.024357235059142113,
0.0017409471329301596,
-0.02411915734410286,
0.016647163778543472,
-0.0038184085860848427,
0.033166129142045975,
0.08204542100429535
]
|
40,829 | pyglove.core.symbolic.functor | _on_change | Custom handling field change to update bound args. | def _on_change(
self, field_updates: Dict[object_utils.KeyPath, base.FieldUpdate]):
"""Custom handling field change to update bound args."""
for relative_path, update in field_updates.items():
assert relative_path
if len(relative_path) != 1:
continue
arg_name = str(relative_path)
if update.field.default_value == update.new_value:
if update.field.value.has_default:
self._default_args.add(arg_name)
self._non_default_args.discard(arg_name)
else:
self._default_args.discard(arg_name)
self._non_default_args.add(arg_name)
if update.new_value == pg_typing.MISSING_VALUE:
self._specified_args.discard(arg_name)
else:
self._specified_args.add(arg_name)
| (self, field_updates: Dict[pyglove.core.object_utils.value_location.KeyPath, pyglove.core.symbolic.base.FieldUpdate]) | [
0.03469228371977806,
-0.03367975726723671,
-0.04533267021179199,
0.08689945936203003,
-0.05808692425489426,
-0.061248842626810074,
0.024211766198277473,
0.05062621831893921,
0.041779953986406326,
-0.04718008264899254,
0.010160771198570728,
-0.023998603224754333,
0.06263440102338791,
-0.01698198728263378,
-0.011404221877455711,
0.003466119524091482,
-0.07094775885343552,
0.022328827530145645,
0.03993254154920578,
-0.007718277629464865,
0.018456365913152695,
-0.027835538610816002,
0.023785440251231194,
0.05623951181769371,
0.0036259919870644808,
0.0007355234702117741,
0.04526161402463913,
0.014095405116677284,
0.0480327345430851,
-0.005457861814647913,
-0.010533805936574936,
-0.02350122295320034,
0.024620329961180687,
0.030340204015374184,
-0.0058708651922643185,
-0.038546979427337646,
-0.014548376202583313,
0.09087850153446198,
-0.0634159967303276,
-0.041282571852207184,
0.026076942682266235,
-0.00571543350815773,
-0.006843421142548323,
0.007154284045100212,
0.05950801074504852,
0.03410608321428299,
-0.036983784288167953,
0.00897949282079935,
-0.02133406698703766,
-0.005080385599285364,
0.015365500934422016,
-0.026751959696412086,
0.062137022614479065,
0.020765630528330803,
-0.012931889854371548,
0.042383912950754166,
0.03193892538547516,
0.0643041804432869,
0.01098677795380354,
-0.011661794036626816,
0.0030597776640206575,
-0.003204106818884611,
-0.01543655525892973,
-0.041282571852207184,
-0.002571278950199485,
-0.06821216642856598,
0.06807006150484085,
0.004001247696578503,
-0.018314257264137268,
0.005964123643934727,
-0.04327209293842316,
-0.004667382221668959,
-0.016529016196727753,
-0.04160231724381447,
-0.030517838895320892,
0.02520652860403061,
-0.013704606331884861,
0.04565241560339928,
0.010205179452896118,
0.0026090266183018684,
-0.004942717496305704,
-0.027107231318950653,
0.000244665628997609,
-0.0010524924146011472,
0.011057832278311253,
-0.03758774697780609,
-0.02938096970319748,
0.010444988496601582,
0.07517549395561218,
0.018038921058177948,
-0.07080565392971039,
-0.017843522131443024,
-0.01141310390084982,
0.040891773998737335,
-0.005648820195347071,
-0.00790923647582531,
-0.01962876133620739,
-0.028279628604650497,
-0.027391448616981506,
0.04341420158743858,
0.04423132911324501,
-0.05019989237189293,
0.07034379988908768,
0.019255725666880608,
0.03645087778568268,
-0.05393024533987045,
-0.010658151470124722,
-0.055493440479040146,
0.007935881614685059,
-0.023732149973511696,
0.02039259672164917,
-0.06384232640266418,
0.012629909440875053,
0.020623521879315376,
-0.0705924853682518,
0.018038921058177948,
-0.05730532482266426,
-0.02112090215086937,
0.026929594576358795,
-0.03005598671734333,
0.00017430518346372992,
0.027213813737034798,
-0.009103837423026562,
-0.013740133494138718,
0.024034131318330765,
-0.043023403733968735,
-0.013029590249061584,
0.06458839774131775,
0.003179681720212102,
0.017506012693047523,
-0.017363904044032097,
-0.02486901916563511,
-0.02460256591439247,
0.023305824026465416,
0.04781957343220711,
-0.00923706404864788,
0.007363006006926298,
0.06348705291748047,
0.0026823014486581087,
0.004252158105373383,
0.00528910756111145,
0.017612595111131668,
0.062101494520902634,
-0.029647424817085266,
-0.006323836278170347,
0.021405121311545372,
0.03261394426226616,
0.03224090859293938,
-0.06899376213550568,
0.009547927416861057,
-0.0388311967253685,
0.03730352967977524,
-0.017488250508904457,
-0.012088119983673096,
-0.02414071187376976,
0.020587995648384094,
-0.05776717886328697,
-0.04764193668961525,
0.03371528536081314,
0.053326282650232315,
0.016076045110821724,
-0.023643331602215767,
0.05023542046546936,
-0.06775031238794327,
0.025472981855273247,
0.06046724319458008,
-0.051620978862047195,
-0.051159124821424484,
-0.0029953846242278814,
0.07240437716245651,
0.022240009158849716,
0.03794301673769951,
0.012247991748154163,
0.012949653901159763,
0.07158724963665009,
0.0768807977437973,
-0.0014155356911942363,
-0.04416027292609215,
0.01683099754154682,
0.006696871481835842,
-0.021778155118227005,
-0.02524205483496189,
0.06078698858618736,
0.0480327345430851,
0.03652193024754524,
0.053113121539354324,
-0.028368445113301277,
-0.00559997046366334,
-0.04799720644950867,
-0.006892271339893341,
-0.020552467554807663,
-0.05275784805417061,
0.03094416670501232,
-0.03268499672412872,
-0.014122050255537033,
0.0257571991533041,
0.0013100644573569298,
-0.03213432431221008,
0.02584601752460003,
0.026449978351593018,
-0.007029938977211714,
-0.08441255986690521,
-0.002398083917796612,
0.052864428609609604,
-0.07453600317239761,
0.0501643642783165,
0.055671077221632004,
0.03494097292423248,
0.025011127814650536,
-0.056132931262254715,
-0.0023914226330816746,
0.011528566479682922,
-0.03797854483127594,
-0.01141310390084982,
-0.041282571852207184,
-0.0061728460714221,
0.017381668090820312,
-0.0009303677943535149,
-0.03861803561449051,
0.04757088050246239,
0.05258021131157875,
0.023732149973511696,
-0.020854448899626732,
-0.049880146980285645,
0.0671108290553093,
-0.02380320429801941,
0.014601667411625385,
0.03730352967977524,
0.020161669701337814,
0.002362556755542755,
-0.02840397320687771,
-0.021955791860818863,
-0.06568974256515503,
0.0018607355887070298,
0.008553165942430496,
0.0071143158711493015,
0.029274389147758484,
-0.03137049078941345,
0.023359114304184914,
-0.032169852405786514,
0.01987745240330696,
0.01856294646859169,
-0.03392844647169113,
0.010027543641626835,
0.02048141323029995,
-0.077662393450737,
0.012354573234915733,
0.009494636207818985,
-0.01528556551784277,
-0.009352527558803558,
0.034674517810344696,
0.02456703782081604,
-0.01509016565978527,
0.06675555557012558,
-0.02303937077522278,
0.010098597966134548,
-0.022168954834342003,
0.027782248333096504,
0.037658799439668655,
-0.04462212696671486,
-0.013660197146236897,
-0.015099047683179379,
-0.0564526729285717,
0.02490454725921154,
-0.00847323052585125,
-0.014619430527091026,
0.06906481832265854,
-0.04980909451842308,
0.014823712408542633,
0.05080385506153107,
0.04718008264899254,
-0.006230577360838652,
-0.03954173997044563,
0.06050277128815651,
-0.01993074268102646,
0.007629459723830223,
0.026663141325116158,
-0.004645177628844976,
0.005213612224906683,
-0.006630258169025183,
0.07815977931022644,
-0.019735343754291534,
0.009103837423026562,
0.006474826950579882,
0.04746429994702339,
-0.01557866483926773,
0.009920962154865265,
0.02206237241625786,
-0.04479976370930672,
-0.014255276881158352,
0.0683542788028717,
0.028759244829416275,
0.03435477241873741,
0.012523327954113483,
-0.0011868295259773731,
-0.015489846467971802,
0.004181103780865669,
0.0009775522630661726,
0.01532997377216816,
-0.03163694590330124,
0.012798663228750229,
0.0024802405387163162,
-0.03801407292485237,
-0.048210371285676956,
0.031139565631747246,
0.008060227148234844,
0.02520652860403061,
-0.04479976370930672,
0.02341240644454956,
-0.01109335944056511,
-0.019735343754291534,
0.034337010234594345,
-0.06558315455913544,
0.016688888892531395,
0.023998603224754333,
-0.0065014720894396305,
0.02883029915392399,
0.013109525665640831,
-0.022666335105895996,
0.042810242623090744,
-0.026112470775842667,
0.03081982024013996,
-0.05940143018960953,
0.062172550708055496,
-0.052899956703186035,
0.014672721736133099,
0.03666403889656067,
0.04416027292609215,
0.02243540808558464,
-0.01698198728263378,
0.03256065025925636,
-0.025952598080039024,
0.042810242623090744,
0.003899106988683343,
0.015543137677013874,
-0.008966169320046902,
-0.016688888892531395,
-0.01191936619579792,
0.008535402826964855,
-0.02209790050983429,
0.013375979848206043,
-0.016466842964291573,
-0.018038921058177948,
0.00033167944638989866,
0.05989880859851837,
-0.01004530768841505,
0.04867222532629967,
0.04892091453075409,
0.07439389824867249,
-0.01490364782512188,
-0.030713239684700966,
-0.0346212275326252,
-0.09187326580286026,
-0.01540991012006998,
0.06568974256515503,
-0.057838235050439835,
-0.0005712102865800261,
-0.08881792426109314,
0.02840397320687771,
-0.023998603224754333,
0.031086275354027748,
-0.03423042967915535,
0.03149483725428581,
-0.004529714118689299,
0.04781957343220711,
-0.00518252607434988,
0.010347288101911545,
-0.03449688106775284,
-0.011075595393776894,
-0.007123197894543409,
0.03929305076599121,
-0.007442942354828119,
0.0472511388361454,
0.0002878255909308791,
-0.017603714019060135,
-0.01612045429646969,
-0.011191058903932571,
0.031903401017189026,
-0.043485257774591446,
-0.011253231205046177,
0.0027911034412682056,
-0.01266543660312891,
-0.018935982137918472,
0.03797854483127594,
-0.008357767015695572,
-0.00428990600630641,
0.04078519344329834,
-0.02920333482325077,
0.01953994482755661,
-0.02460256591439247,
-0.02170710079371929,
0.028332918882369995,
-0.025863779708743095,
-0.030198095366358757,
-0.009743326343595982,
-0.026645377278327942,
0.049027495086193085,
0.0006189499399624765,
0.0023781000636518,
-0.03490544483065605,
-0.027196049690246582,
-0.044302381575107574,
-0.059756699949502945,
0.019575471058487892,
-0.014486203901469707,
0.0037614391185343266,
-0.03554493561387062,
0.09485754370689392,
0.0013566937996074557,
0.06604500859975815,
0.0021049848292022943,
0.03865356370806694,
-0.01185719296336174,
-0.0173106137663126,
-0.02090773917734623,
-0.0200906153768301,
-0.019468890503048897,
-0.04448001831769943,
-0.00585310161113739,
-0.0037192506715655327,
-0.033608704805374146,
0.03762327507138252,
-0.025597326457500458,
0.05130123347043991,
0.039577268064022064,
-0.05027094855904579,
0.0036504168529063463,
-0.01807444728910923,
0.05659478157758713,
0.05680794641375542,
-0.0019839704036712646,
-0.007336360868066549,
-0.03741011023521423,
0.012763136066496372,
0.007860386744141579,
0.013447034172713757,
0.027782248333096504,
0.018616236746311188,
0.019646525382995605,
-0.0048538995906710625,
-0.0649791955947876,
-0.04700244590640068,
0.04099835455417633,
-0.040891773998737335,
-0.027426976710557938,
-0.02771119400858879,
-0.01047163363546133,
-0.011315403506159782,
-0.03291592374444008,
-0.027959883213043213,
-0.02264857105910778,
0.01600499078631401,
0.0014166459441184998,
0.0243538748472929,
-0.03099745698273182,
-0.06949114799499512,
-0.10871314257383347,
-0.016937578096985817,
0.027053941041231155,
-0.023483460769057274,
-0.03099745698273182,
0.010613742284476757,
-0.0019873010460287333,
-0.04074966534972191,
-0.016138216480612755,
0.022044610232114792,
0.04341420158743858,
-0.023128187283873558,
-0.06650686264038086,
0.013713488355278969,
0.05542238801717758,
-0.03440806642174721,
0.0056754653342068195,
0.00009006692562252283,
-0.0007144291885197163,
-0.018296493217349052,
0.013118407689034939,
-0.007767127826809883,
-0.05737638100981712,
-0.03449688106775284,
0.0076783099211752415,
0.017754703760147095,
0.04053650051355362,
0.0008720810292288661,
0.031175091862678528,
-0.054605260491371155,
-0.016964223235845566,
-0.0149835841730237,
-0.020587995648384094,
0.025686144828796387,
-0.00559997046366334,
-0.029949404299259186,
0.05176308751106262,
-0.008251185528934002,
-0.06540551781654358,
-0.06533446907997131,
0.02103208564221859,
0.025899307802319527,
0.043876055628061295,
-0.0029909436125308275,
0.0010286226170137525,
0.021831447258591652,
0.025259818881750107,
-0.00039385200943797827,
-0.007371888030320406,
-0.06817664206027985,
0.0024047454353421926,
0.052047304809093475,
-0.03179681673645973,
-0.00017499907698947936,
-0.01703527756035328,
-0.06608054041862488,
0.09698917716741562,
-0.01652013510465622,
0.02396307699382305,
-0.03419490158557892,
-0.018616236746311188,
0.030073750764131546,
-0.012549973092973232,
-0.0008365538669750094,
0.019610999152064323,
-0.012514445930719376,
0.039364106953144073,
-0.020108379423618317,
0.017301732674241066,
0.006767926272004843,
-0.03709036484360695,
-0.02835068292915821,
0.02843949943780899,
-0.03684167563915253,
0.039825957268476486,
0.0011479717213660479,
0.06078698858618736,
-0.01966428942978382,
-0.018403073772788048,
0.06405548751354218,
0.025366399437189102,
-0.0032662793528288603,
-0.1526247262954712,
0.03762327507138252,
0.040003594011068344,
0.06490813940763474,
-0.021067611873149872,
0.01159962173551321,
-0.006878948304802179,
-0.03929305076599121,
0.0076783099211752415,
-0.027835538610816002,
0.049666985869407654,
-0.027267104014754295,
-0.06444628536701202,
0.022417644038796425,
-0.0021793697960674763,
0.088888980448246,
-0.03598902374505997,
-0.01859847456216812,
-0.04586557671427727,
0.0179589856415987,
-0.009059428237378597,
0.008468789048492908,
-0.005546679720282555,
-0.05236705020070076,
0.05350391939282417,
0.05325523018836975,
-0.05176308751106262,
0.055671077221632004,
0.008362207561731339,
0.03677062317728996,
0.02383873239159584,
0.03268499672412872,
-0.011928247287869453,
0.02243540808558464,
-0.06387785077095032,
-0.04650506749749184,
-0.0008437702781520784,
-0.05538685992360115,
-0.02255975268781185,
-0.04899196699261665,
-0.04156678915023804,
-0.08029140532016754,
-0.014237513765692711,
-0.017150741070508957,
-0.03486991673707962,
-0.001083023613318801,
0.0017341700149700046,
0.01923796348273754,
0.012763136066496372,
0.0529710128903389,
-0.004818372428417206,
0.04781957343220711,
-0.05560002103447914,
-0.04661164805293083,
-0.05190519616007805,
-0.014299686066806316,
-0.019912978634238243,
0.03614889457821846,
-0.07787556201219559,
-0.02520652860403061,
-0.004920513369143009,
-0.01728396862745285,
-0.05137228965759277,
-0.017399432137608528,
-0.014042113907635212,
-0.018367547541856766,
-0.037658799439668655,
-0.04060755670070648,
0.04252602532505989,
0.00013621061225421727,
0.008726361207664013,
0.010418342426419258,
0.009037223644554615,
0.01652013510465622,
0.04487081617116928,
0.043485257774591446,
0.019220199435949326,
0.024762438610196114,
0.009254828095436096,
0.0487077496945858,
0.07023721933364868,
0.006981089245527983,
-0.059792228043079376,
0.011901602149009705,
-0.01923796348273754,
0.005018212832510471,
-0.03996806591749191,
-0.03460346534848213,
0.03501202538609505,
-0.0058175744488835335,
-0.035953495651483536,
-0.0172573234885931,
0.007123197894543409,
0.023181479424238205,
0.04654059559106827,
-0.01060486026108265,
0.06387785077095032,
-0.06668449938297272,
0.008251185528934002,
-0.07016616314649582,
-0.039825957268476486,
-0.02877700887620449,
0.04369841888546944,
-0.018181029707193375,
0.04142468050122261,
-0.0008054676000028849,
0.028386209160089493,
0.05496053397655487,
-0.03154812753200531,
-0.043876055628061295,
0.03225867077708244,
-0.020126141607761383,
0.013855597004294395,
0.013438152149319649,
-0.10530253499746323,
0.0009270370937883854,
0.04767746478319168,
0.03847592696547508,
-0.030251385644078255,
-0.056310564279556274,
0.008997255936264992,
0.0024003044236451387,
-0.04249049723148346,
0.011262113228440285,
0.06323836743831635,
-0.00961898174136877,
0.006741280667483807,
0.01532997377216816,
0.015267801471054554,
0.01196377445012331,
0.09229958802461624,
0.018509656190872192,
-0.011528566479682922,
-0.038333818316459656,
-0.017168505117297173,
0.035740334540605545,
0.010516042821109295,
-0.04469317942857742,
0.06288309395313263,
0.056772418320178986,
0.015027993358671665,
0.0007605035207234323,
0.01962876133620739,
-0.0222222451120615,
-0.02840397320687771,
0.014246395789086819,
0.06131989508867264,
0.008615339174866676,
0.03115732967853546,
0.05517369508743286,
0.09350751340389252,
0.032329726964235306,
-0.0010474964510649443,
-0.05300653725862503,
0.005369043909013271,
-0.04824589937925339,
-0.0077848914079368114,
-0.08370201289653778,
-0.07247542589902878,
-0.029274389147758484,
-0.006297191139310598,
0.04192206263542175,
0.05666583776473999,
0.014352977275848389,
-0.05194072425365448,
0.01223911065608263,
0.026876304298639297,
-0.04739324748516083,
-0.029274389147758484,
-0.025917071849107742,
0.03865356370806694,
0.024673620238900185,
-0.05154992640018463,
-0.009681154042482376,
-0.03222314268350601,
-0.1038103923201561,
0.02861713618040085,
0.033484358340501785,
-0.01202594768255949,
-0.0016875405563041568,
0.035189662128686905,
-0.028386209160089493,
-0.00919265579432249,
0.04874327778816223,
0.0074873510748147964,
-0.03197445347905159,
0.01469048485159874,
-0.04956040158867836,
0.011155531741678715,
-0.05368155613541603,
-0.015809591859579086,
0.0069544436410069466,
0.0318145826458931,
-0.012168056331574917,
0.01612045429646969,
-0.05265126749873161,
0.04828142374753952,
-0.028492791578173637,
0.023092661052942276,
-0.00770495506003499,
-0.06323836743831635,
0.013589142821729183,
-0.023128187283873558,
-0.026201289147138596,
0.04764193668961525,
0.0073052747175097466,
0.02170710079371929,
0.02103208564221859,
-0.03193892538547516,
0.0006417095428332686,
0.0033373336773365736,
-0.030002696439623833,
0.03861803561449051,
0.04330762103199959,
0.020587995648384094,
-0.005808692425489426,
0.003912429790943861,
-0.00943246390670538,
-0.009308118373155594,
0.01685764268040657,
0.020410358905792236,
0.016777707263827324,
-0.02057023160159588,
0.04973803833127022,
0.0003469450166448951,
0.01749713160097599,
0.05453420802950859,
0.01563195511698723,
-0.01223911065608263,
0.0388311967253685
]
|
40,833 | pyglove.core.symbolic.functor | _parse_call_time_overrides | Parses positional and keyword arguments from call-time overrides. | def _parse_call_time_overrides(
self, *args, **kwargs
) -> Tuple[List[Any], Dict[str, Any]]:
"""Parses positional and keyword arguments from call-time overrides."""
override_args = kwargs.pop('override_args', self._override_args)
ignore_extra_args = kwargs.pop('ignore_extra_args', self._ignore_extra_args)
signature = self.__signature__
if len(args) > len(signature.args) and not signature.has_varargs:
if ignore_extra_args:
args = args[: len(signature.args)]
else:
arg_phrase = object_utils.auto_plural(len(signature.args), 'argument')
was_phrase = object_utils.auto_plural(len(args), 'was', 'were')
raise TypeError(
f'{signature.id}() takes {len(signature.args)} '
f'positional {arg_phrase} but {len(args)} {was_phrase} given.'
)
keyword_args = {
k: v for k, v in self._sym_attributes.items()
if k in self._specified_args
}
assert len(keyword_args) == len(self._specified_args)
# Work out varargs when positional arguments are provided.
varargs = None
if signature.has_varargs:
varargs = list(args[len(signature.args) :])
if flags.is_type_check_enabled():
varargs = [
signature.varargs.value_spec.apply(
v, root_path=self.sym_path + signature.varargs.name
)
for v in varargs
]
args = args[: len(signature.args)]
# Convert positional arguments to keyword arguments so we can map them back
# later.
for i in range(len(args)):
arg_spec = signature.args[i]
arg_name = arg_spec.name
if arg_name in self._specified_args:
if not override_args:
raise TypeError(
f'{signature.id}() got new value for argument {arg_name!r} '
f"from position {i}, but 'override_args' is set to False. "
f'Old value: {keyword_args[arg_name]!r}, new value: {args[i]!r}.'
)
arg_value = args[i]
if flags.is_type_check_enabled():
arg_value = arg_spec.value_spec.apply(
arg_value, root_path=self.sym_path + arg_name)
keyword_args[arg_name] = arg_value
for arg_name, arg_value in kwargs.items():
if arg_name in self._specified_args:
if not override_args:
raise TypeError(
f'{signature.id}() got new value for argument {arg_name!r} '
"from keyword argument, while 'override_args' is set to "
f'False. Old value: {keyword_args[arg_name]!r}, '
f'new value: {arg_value!r}.'
)
arg_spec = signature.get_value_spec(arg_name)
if arg_spec and flags.is_type_check_enabled():
arg_value = arg_spec.apply(
arg_value, root_path=self.sym_path + arg_name)
keyword_args[arg_name] = arg_value
elif not ignore_extra_args:
raise TypeError(
f'{signature.id}() got an unexpected keyword argument {arg_name!r}.'
)
# Use positional arguments if possible. This allows us to handle varargs
# with simplicity.
list_args = []
missing_required_arg_names = []
for arg in signature.args:
if arg.name in keyword_args:
list_args.append(keyword_args[arg.name])
del keyword_args[arg.name]
elif arg.value_spec.default != pg_typing.MISSING_VALUE:
list_args.append(arg.value_spec.default)
else:
missing_required_arg_names.append(arg.name)
if missing_required_arg_names:
arg_phrase = object_utils.auto_plural(
len(missing_required_arg_names), 'argument')
args_str = object_utils.comma_delimited_str(missing_required_arg_names)
raise TypeError(
f'{signature.id}() missing {len(missing_required_arg_names)} '
f'required positional {arg_phrase}: {args_str}.'
)
if signature.has_varargs:
prebound_varargs = keyword_args.pop(signature.varargs.name, None)
varargs = varargs or prebound_varargs
if varargs:
list_args.extend(varargs)
return list_args, keyword_args
| (self, *args, **kwargs) -> Tuple[List[Any], Dict[str, Any]] | [
-0.003522422630339861,
-0.0501323863863945,
-0.02043657936155796,
0.051016129553318024,
-0.03163401782512665,
-0.03034857101738453,
-0.009143737144768238,
0.05302463844418526,
0.05021272599697113,
-0.0695747509598732,
-0.004790293984115124,
0.022836746647953987,
-0.06150054559111595,
-0.03320065513253212,
-0.043102603405714035,
0.04193766787648201,
0.018970368430018425,
0.07993865758180618,
-0.03155367821455002,
-0.01755436882376671,
0.022073514759540558,
-0.02347947098314762,
-0.05374770238995552,
0.0280789565294981,
0.02597002126276493,
0.012322203256189823,
0.03169427067041397,
-0.003437061095610261,
0.04744098335504532,
0.02029598318040371,
-0.011086969636380672,
-0.03018788993358612,
0.004403655882924795,
0.044147029519081116,
0.010926289483904839,
-0.05953220650553703,
-0.03350193053483963,
0.06133986636996269,
-0.011669437400996685,
-0.012091224081814289,
-0.009891906753182411,
-0.07387296110391617,
0.04165647551417351,
-0.025548234581947327,
-0.013346542604267597,
0.020828237757086754,
-0.01701207086443901,
0.04643672704696655,
-0.02823963761329651,
-0.06138003617525101,
0.06089799478650093,
-0.059652719646692276,
0.05189987272024155,
-0.009374715387821198,
-0.03804115951061249,
0.04691877216100693,
0.02100900374352932,
0.036775801330804825,
-0.03093103878200054,
0.026693085208535194,
0.042058177292346954,
0.06808845698833466,
0.004750123713165522,
-0.02831997722387314,
-0.023961512371897697,
-0.0605364628136158,
0.02183249220252037,
-0.051016129553318024,
-0.03996932879090309,
0.01585717871785164,
-0.05539467930793762,
-0.040471456944942474,
-0.0062414417043328285,
-0.02167181298136711,
0.028641339391469955,
-0.0006540207541547716,
-0.026291383430361748,
0.028119126334786415,
0.0048279534094035625,
-0.0020825727842748165,
0.011880330741405487,
0.013687988743185997,
-0.017383646219968796,
-0.0003241859085392207,
0.01234228815883398,
0.04599485546350479,
-0.029926784336566925,
0.05113663896918297,
0.06009459123015404,
0.017674880102276802,
-0.06001424789428711,
-0.015284753404557705,
0.01936202682554722,
0.049047790467739105,
-0.013577520847320557,
-0.035269416868686676,
-0.0002096381358569488,
-0.06740555912256241,
0.01764475181698799,
-0.011950628831982613,
-0.007225611247122288,
-0.004576889798045158,
-0.011659394949674606,
-0.04037103056907654,
0.026532404124736786,
-0.0391659252345562,
-0.001639445428736508,
-0.04233936965465546,
0.04599485546350479,
0.008511057123541832,
-0.02530721388757229,
-0.07238666713237762,
-0.014260414056479931,
0.013718117028474808,
-0.045593153685331345,
0.008365440182387829,
-0.015646284446120262,
-0.010484416969120502,
-0.009058375842869282,
0.045954685658216476,
-0.045070942491292953,
0.018498368561267853,
0.020948749035596848,
0.023379044607281685,
-0.005156846717000008,
-0.0025369978975504637,
-0.005247229710221291,
0.08198733627796173,
0.043263282626867294,
0.028179381042718887,
0.038904819637537,
-0.02823963761329651,
-0.010645098052918911,
-0.015254626050591469,
0.019351985305547714,
-0.005124208517372608,
0.0857231616973877,
0.029183635488152504,
-0.0391659252345562,
0.002947486937046051,
0.0657585859298706,
0.013728159479796886,
0.05431008338928223,
-0.03320065513253212,
-0.05828693136572838,
0.008139482699334621,
0.03235708177089691,
0.01223182026296854,
-0.0325981006026268,
0.023921342566609383,
-0.007567057851701975,
0.027837935835123062,
-0.02462431974709034,
0.011659394949674606,
0.009590630419552326,
-0.0594518668949604,
-0.005709186661988497,
-0.05848778411746025,
-0.04004966840147972,
0.03275878354907036,
-0.026150787249207497,
-0.08451806008815765,
0.028400316834449768,
-0.07768912613391876,
0.02709478698670864,
0.016620412468910217,
0.018618877977132797,
-0.020095132291316986,
-0.002135296119377017,
0.032256655395030975,
-0.010604927316308022,
0.07234649360179901,
0.05563569813966751,
-0.0031659123487770557,
0.03884456306695938,
0.05238191410899162,
-0.036635205149650574,
-0.015957603231072426,
0.032497674226760864,
-0.0014712328556925058,
0.029464827850461006,
-0.05760403722524643,
-0.04639655724167824,
-0.01775521971285343,
0.04900762066245079,
0.015154200606048107,
-0.015124073252081871,
0.00464969826862216,
-0.02823963761329651,
0.03303997218608856,
-0.0004836113075725734,
-0.008375482633709908,
0.0619022473692894,
0.028420401737093925,
-0.022234193980693817,
0.052221234887838364,
-0.042058177292346954,
0.03191520646214485,
0.0076423767022788525,
0.0005222123581916094,
0.023981597274541855,
-0.057041656225919724,
-0.010855991393327713,
0.000825999304652214,
-0.01714262366294861,
-0.015063817612826824,
0.04989136382937431,
-0.014782626181840897,
-0.05716216564178467,
-0.011719649657607079,
-0.029826359823346138,
-0.048445235937833786,
0.00957556627690792,
-0.02958533726632595,
-0.03364252671599388,
-0.04015009477734566,
0.06953458487987518,
0.01566637121140957,
-0.02416236326098442,
0.009043311700224876,
0.15184327960014343,
-0.01813683658838272,
-0.020888494327664375,
-0.00042586668860167265,
0.04635638743638992,
0.013828584924340248,
0.04563332349061966,
0.0013042755890637636,
0.0205470472574234,
0.005181953310966492,
0.00289727421477437,
-0.014953349716961384,
-0.0055334423668682575,
0.026371723040938377,
-0.016248837113380432,
-0.026753339916467667,
0.045593153685331345,
-0.03528950363397598,
0.017192836850881577,
-0.014772583730518818,
-0.004099869169294834,
0.033461760729551315,
0.01054467260837555,
0.06318769603967667,
-0.035430099815130234,
-0.054631445556879044,
0.0484854094684124,
0.04736064374446869,
0.034144654870033264,
0.012402542866766453,
0.007285866420716047,
0.051618680357933044,
-0.011237608268857002,
0.050775106996297836,
-0.03283912315964699,
0.02763708494603634,
0.04314277321100235,
0.0195829626172781,
0.03472712263464928,
-0.015194370411336422,
0.026632828637957573,
0.03364252671599388,
0.00010591746831778437,
0.010845948942005634,
-0.0023110406473279,
-0.01837785728275776,
0.04563332349061966,
-0.02498585171997547,
-0.058086082339286804,
0.062223609536886215,
0.016841348260641098,
-0.05543484911322594,
-0.03410448133945465,
0.0312323160469532,
-0.026532404124736786,
0.02116968482732773,
0.020095132291316986,
0.008074206300079823,
-0.0004221007111482322,
-0.004360975231975317,
0.08379499614238739,
0.017182795330882072,
0.0023085300344973803,
0.011880330741405487,
-0.00117623305413872,
0.010183140635490417,
0.004175188019871712,
0.023921342566609383,
-0.008174631744623184,
0.0015729136066511273,
0.03034857101738453,
-0.018638962879776955,
0.03528950363397598,
0.0031408059876412153,
0.044388048350811005,
0.03223656862974167,
-0.022234193980693817,
-0.024483725428581238,
0.05856812372803688,
-0.030388740822672844,
0.050252895802259445,
0.026331553235650063,
0.028259722515940666,
-0.011006629094481468,
0.08540180325508118,
-0.013738201931118965,
0.03763945773243904,
-0.019442366436123848,
-0.016449688002467155,
-0.014019393362104893,
-0.020828237757086754,
0.005844761151820421,
-0.053948551416397095,
-0.06808845698833466,
0.02257564105093479,
-0.003660507733002305,
-0.001203850144520402,
-0.01865904964506626,
0.021470962092280388,
0.07005679607391357,
-0.008656674064695835,
-0.03476729243993759,
-0.02347947098314762,
-0.0022344663739204407,
0.018588751554489136,
-0.02227436564862728,
-0.05531433969736099,
0.04495043307542801,
-0.0035274438560009003,
-0.00628663320094347,
-0.017765263095498085,
-0.009033269248902798,
-0.001295488327741623,
0.06387058645486832,
0.017895815894007683,
-0.0027667211834341288,
-0.037599287927150726,
0.025327298790216446,
0.010158034041523933,
-0.012713861651718616,
0.016781093552708626,
0.008365440182387829,
-0.041455626487731934,
0.02590976655483246,
0.024302959442138672,
-0.0022307003382593393,
0.06696368753910065,
0.00929939653724432,
0.11528841406106949,
-0.002480508526787162,
0.002049934584647417,
-0.03928643465042114,
-0.0514981709420681,
-0.0008278823224827647,
0.10363906621932983,
-0.04193766787648201,
-0.03251776099205017,
-0.08676759153604507,
0.007531908806413412,
-0.047923024743795395,
0.04856574907898903,
-0.03221648558974266,
0.023820916190743446,
0.03818175569176674,
0.05531433969736099,
-0.017895815894007683,
-0.040009498596191406,
-0.0010594885097816586,
-0.004280634690076113,
0.006427228916436434,
0.017905857414007187,
-0.06913287937641144,
0.005176932085305452,
-0.02243504486978054,
0.009922034107148647,
0.014471307396888733,
-0.0014172542141750455,
0.043182943016290665,
-0.058005739003419876,
-0.03771980106830597,
-0.012392500415444374,
-0.02410210855305195,
-0.02145087718963623,
-0.005603739991784096,
0.019844068214297295,
0.007225611247122288,
-0.02378074638545513,
-0.03048916719853878,
0.052140895277261734,
0.012924755923449993,
-0.013185861520469189,
-0.012623479589819908,
0.03056950680911541,
-0.05487246811389923,
0.018689176067709923,
-0.010474374517798424,
0.01693173125386238,
0.019060751423239708,
-0.031131889671087265,
-0.028259722515940666,
0.004745102487504482,
-0.05181953310966492,
0.016881518065929413,
-0.011980756185948849,
0.0008605205803178251,
-0.004182720091193914,
0.034445930272340775,
0.024423468858003616,
-0.011930543929338455,
0.05029306560754776,
-0.016058029606938362,
-0.038141585886478424,
-0.03703690692782402,
-0.031071634963154793,
0.012402542866766453,
0.04282141104340553,
-0.031131889671087265,
0.04599485546350479,
-0.002121487632393837,
0.0004829836543649435,
0.02319827862083912,
-0.02372049167752266,
-0.00912365224212408,
0.09110596776008606,
0.06005442142486572,
0.029384486377239227,
-0.08242920786142349,
-0.0021164664067327976,
0.02183249220252037,
-0.0017599560087546706,
0.019844068214297295,
-0.004345911554992199,
-0.026994360610842705,
0.03133274242281914,
-0.01657019928097725,
0.02506619319319725,
0.009259226731956005,
-0.02287691831588745,
0.04330345615744591,
0.027215296402573586,
-0.04161630570888519,
0.00979148130863905,
0.0059401653707027435,
0.016841348260641098,
0.018146878108382225,
-0.02440338395535946,
-0.031131889671087265,
0.016017859801650047,
0.04213852062821388,
-0.049047790467739105,
0.020275898277759552,
0.0037358268164098263,
0.06423211842775345,
-0.03167418763041496,
-0.05728267878293991,
-0.06724487990140915,
-0.10058613121509552,
-0.004996166098862886,
0.01799624040722847,
-0.01231215987354517,
0.06210310012102127,
0.002498083049431443,
-0.02974601835012436,
-0.039647966623306274,
-0.01585717871785164,
0.06286633014678955,
0.00401952862739563,
-0.06266548484563828,
-0.08837439864873886,
-0.005488250870257616,
0.07242683321237564,
-0.051016129553318024,
-0.0035324653144925833,
-0.018749430775642395,
-0.05081527680158615,
0.011127140372991562,
0.04647689685225487,
0.006211314350366592,
-0.04350430518388748,
0.006884164642542601,
0.05969288945198059,
-0.039647966623306274,
0.007185440976172686,
0.03637409955263138,
0.013085436075925827,
-0.019241515547037125,
0.005493272095918655,
-0.009645864367485046,
-0.04169664904475212,
0.015596072189509869,
-0.03524933382868767,
-0.027315722778439522,
0.05181953310966492,
-0.01328628696501255,
0.03553052619099617,
-0.05141783133149147,
0.05242208391427994,
-0.0012979989405721426,
0.031654100865125656,
-0.0037433586549013853,
-0.052582766860723495,
-0.0542297437787056,
0.05322548747062683,
0.0026612745132297277,
0.04828455671668053,
-0.047923024743795395,
0.023358959704637527,
0.03064984828233719,
-0.040692392736673355,
-0.020386366173624992,
-0.06262531131505966,
0.01501360535621643,
0.06812862306833267,
-0.019492579624056816,
-0.03187503665685654,
-0.0372578427195549,
-0.0005099729751236737,
0.008285099640488625,
-0.04330345615744591,
-0.04103383794426918,
0.025849511846899986,
0.007481696084141731,
0.006849015597254038,
-0.04033086076378822,
0.05398872122168541,
-0.007486717309802771,
0.008942886255681515,
-0.03629375621676445,
0.05218106508255005,
-0.05254259705543518,
0.006768675521016121,
-0.00014287089288700372,
0.004232932813465595,
0.0058096121065318584,
0.017684921622276306,
0.009711140766739845,
0.0013795946724712849,
0.020526962354779243,
-0.013698031194508076,
0.03569120541214943,
0.048967450857162476,
0.07929593324661255,
-0.09737251698970795,
0.01182007510215044,
-0.006783739197999239,
-0.0012641053181141615,
-0.037679627537727356,
-0.0029173593502491713,
-0.011428416706621647,
-0.03229682520031929,
-0.044829919934272766,
0.001315573463216424,
0.05358701944351196,
0.04824438691139221,
-0.0578048899769783,
-0.0605364628136158,
0.008511057123541832,
0.024142278358340263,
-0.005754378158599138,
-0.010735481046140194,
0.014973434619605541,
-0.0194524098187685,
-0.015375136397778988,
-0.038221925497055054,
-0.06857049465179443,
0.02958533726632595,
-0.02906312607228756,
0.043263282626867294,
-0.06583892554044724,
0.005181953310966492,
-0.004955995827913284,
-0.018839813768863678,
-0.034365590661764145,
-0.016530029475688934,
-0.01723300665616989,
0.01615845412015915,
0.040009498596191406,
-0.026231126859784126,
-0.009289354085922241,
-0.03273869678378105,
0.06150054559111595,
0.004745102487504482,
-0.02386108785867691,
-0.04651707038283348,
0.014089690521359444,
0.03382329270243645,
0.003718252293765545,
0.053346000611782074,
0.012784159742295742,
0.039105672389268875,
-0.08540180325508118,
0.051016129553318024,
-0.007732759695500135,
-0.07708657532930374,
-0.05362718924880028,
0.0712217316031456,
0.03549035266041756,
-0.003100635716691613,
0.013155734166502953,
-0.055233996361494064,
-0.0646338164806366,
0.026110617443919182,
-0.009048333391547203,
-0.011046799831092358,
-0.0212299395352602,
0.007607228122651577,
0.0173936877399683,
0.01065514050424099,
0.011277778074145317,
0.009610715322196484,
0.008852503262460232,
-0.03454635664820671,
0.015425349585711956,
-0.011267735622823238,
-0.0038211883511394262,
0.02506619319319725,
0.030288316309452057,
0.04133511707186699,
0.0457538366317749,
0.022796576842665672,
-0.08363431692123413,
-0.014591817744076252,
-0.00978143885731697,
-0.034968141466379166,
-0.035189077258110046,
-0.031131889671087265,
-0.05435025319457054,
0.019894281402230263,
0.006798802874982357,
-0.08021984994411469,
0.02416236326098442,
0.00023882427194621414,
0.05539467930793762,
-0.05953220650553703,
0.029484912753105164,
-0.02056713216006756,
-0.039788562804460526,
-0.041897498071193695,
-0.05310497805476189,
0.03404422849416733,
0.0761626586318016,
-0.033843375742435455,
-0.02076798304915428,
0.05226140469312668,
-0.03125239908695221,
0.04358464479446411,
-0.010715395212173462,
-0.021029088646173477,
0.08508044481277466,
0.050413575023412704,
0.039868902415037155,
0.0345061831176281,
-0.043263282626867294,
-0.012051054276525974,
-0.044388048350811005,
0.06234411895275116,
-0.021049175411462784,
-0.00737624941393733,
0.031573761254549026,
-0.039868902415037155,
-0.007948674261569977,
0.02922380529344082,
0.0004108028660994023,
-0.008034036494791508,
-0.01615845412015915,
-0.007300930097699165,
-0.045593153685331345,
0.058086082339286804,
0.12428653985261917,
0.036092907190322876,
0.0012929777149111032,
-0.04916829988360405,
-0.0005655208369717002,
0.05495280772447586,
-0.014170031063258648,
-0.06226377934217453,
0.01693173125386238,
0.029163550585508347,
-0.005367740523070097,
0.0013758286368101835,
-0.025628574192523956,
-0.044749580323696136,
-0.044990602880716324,
-0.02681359462440014,
-0.02860116772353649,
0.013858712278306484,
0.04736064374446869,
0.02169189788401127,
0.014320669695734978,
-0.030408825725317,
0.014260414056479931,
-0.08094291388988495,
-0.013848669826984406,
0.010896161198616028,
-0.0002786806144285947,
-0.038804393261671066,
-0.08925814181566238,
-0.018578708171844482,
0.06362956762313843,
-0.01834772899746895,
0.0035475289914757013,
0.03872405365109444,
-0.036032650619745255,
0.03773988410830498,
-0.00226961518637836,
0.012322203256189823,
-0.050333235412836075,
-0.0167107954621315,
0.05431008338928223,
0.002688891487196088,
-0.015977689996361732,
-0.021430790424346924,
-0.0009584354120306671,
-0.05290412902832031,
0.013677946291863918,
-0.030991293489933014,
0.009003141894936562,
0.014471307396888733,
0.024503810331225395,
0.019131047651171684,
-0.008234887383878231,
0.03350193053483963,
0.005955229047685862,
-0.02287691831588745,
-0.033461760729551315,
-0.003891486208885908,
-0.025126447901129723,
-0.026010191068053246,
0.047320473939180374,
-0.007426462136209011,
-0.001491317991167307,
0.013246117159724236,
0.013507222756743431,
-0.00978143885731697,
0.04059196636080742,
-0.029565252363681793,
0.008676758967339993,
-0.004855570383369923,
-0.022495301440358162,
0.021631641313433647,
-0.014481349848210812,
0.030207974836230278,
-0.05390838161110878,
0.03796081990003586,
0.056880977004766464,
0.03852320462465286,
-0.009490204975008965,
-0.015716582536697388,
0.020456664264202118,
-0.030690018087625504,
0.02468457631766796,
0.024885427206754684,
-0.025026021525263786,
-0.06423211842775345,
-0.017765263095498085,
-0.013828584924340248,
0.01427045650780201,
0.00006990553083596751,
0.00640212232246995,
-0.011277778074145317,
-0.04563332349061966,
-0.0033843377605080605,
0.013607648201286793,
0.023138023912906647,
0.05712199583649635,
0.026914021000266075,
-0.027878105640411377,
0.041294943541288376
]
|
40,838 | pyglove.core.symbolic.functor | _sym_clone | Override to copy bound args. | def _sym_clone(self, deep: bool, memo: Any = None) -> 'Functor':
"""Override to copy bound args."""
other = super()._sym_clone(deep, memo)
# pylint: disable=protected-access
other._non_default_args = set(self._non_default_args)
other._default_args = self._default_args
other._specified_args = self._specified_args
other._override_args = self._override_args
other._ignore_extra_args = self._ignore_extra_args
# pylint: enable=protected-access
return typing.cast(Functor, other)
| (self, deep: bool, memo: Optional[Any] = None) -> pyglove.core.symbolic.functor.Functor | [
-0.0034430951345711946,
-0.052811648696660995,
0.0967220664024353,
0.02675626613199711,
-0.09749303758144379,
0.015559636056423187,
-0.004354245029389858,
0.02635325863957405,
0.04573271423578262,
-0.004365196451544762,
-0.0005051296902820468,
0.014333088882267475,
-0.04555749520659447,
0.02428564801812172,
-0.02957732602953911,
0.0056158374063670635,
0.01441193837672472,
-0.005922474432736635,
-0.0404059924185276,
0.051515012979507446,
0.017364414408802986,
0.02495148964226246,
-0.016505829989910126,
-0.007100836373865604,
0.0015977977309376001,
0.04734474793076515,
-0.018590962514281273,
0.016383176669478416,
0.014849990606307983,
0.014683530665934086,
-0.029507238417863846,
0.01314158458262682,
-0.010057693347334862,
0.022761225700378418,
0.06928243488073349,
-0.06858155131340027,
0.00561145693063736,
0.12202399224042892,
-0.0019898549653589725,
-0.051444925367832184,
-0.03015555627644062,
-0.05961022898554802,
-0.010434417985379696,
0.01604149490594864,
0.02666865661740303,
0.022550959140062332,
-0.0005544106243178248,
0.040826521813869476,
0.0332920141518116,
-0.061818014830350876,
-0.03012051247060299,
-0.015603441745042801,
0.04450616613030434,
-0.013930079527199268,
-0.01930936798453331,
0.004244731739163399,
0.05438863858580589,
0.012931319884955883,
-0.06742509454488754,
0.03770758584141731,
-0.06970296800136566,
0.009558312594890594,
0.02796529233455658,
-0.06052137911319733,
-0.010303002782166004,
-0.05032350867986679,
-0.045101918280124664,
-0.008160924538969994,
0.04573271423578262,
0.0071665444411337376,
-0.07513482123613358,
-0.012721054255962372,
0.02749219536781311,
-0.01116158626973629,
-0.013465743511915207,
-0.0025144233368337154,
0.020500872284173965,
-0.044751476496458054,
0.013737336732447147,
-0.03541219234466553,
-0.07113978266716003,
-0.042123161256313324,
-0.08480703085660934,
0.04962262511253357,
-0.0681610181927681,
0.02850847877562046,
-0.022568481042981148,
0.009540790691971779,
0.04867643117904663,
-0.036130595952272415,
0.003302918281406164,
0.03160989284515381,
-0.010022648610174656,
0.014087778516113758,
-0.02447839267551899,
-0.0225159153342247,
-0.024145472794771194,
0.03513183817267418,
0.054844215512275696,
-0.03192529082298279,
-0.029314495623111725,
-0.015384415164589882,
-0.06108208745718002,
0.011906275525689125,
0.01214282400906086,
0.007547650020569563,
0.02400529570877552,
-0.05526474490761757,
-0.040791478008031845,
0.011739815585315228,
-0.05572031810879707,
0.042123161256313324,
0.0056026955135166645,
0.03160989284515381,
-0.04636351019144058,
0.032450951635837555,
-0.00657079229131341,
-0.05028846487402916,
0.0202029962092638,
0.02670370042324066,
-0.04751997068524361,
0.044436078518629074,
0.021412022411823273,
-0.025424586609005928,
-0.02581007219851017,
0.02067609317600727,
0.04306935518980026,
0.01513910572975874,
-0.0069475178606808186,
0.04100174456834793,
0.029542282223701477,
-0.013702291995286942,
0.007149022072553635,
0.05565023049712181,
0.004617076832801104,
0.01157335564494133,
0.0032656837720423937,
0.054809167981147766,
-0.059435006231069565,
0.0299628134816885,
0.007762296125292778,
-0.03728705644607544,
0.010145303793251514,
0.07436385005712509,
-0.027194319292902946,
0.004301678854972124,
-0.0018201095517724752,
-0.010925037786364555,
-0.013439460657536983,
0.022498393431305885,
-0.014963884837925434,
0.05806828290224075,
0.0015518021536991,
0.07057907432317734,
-0.01658467948436737,
0.06321978569030762,
-0.019747421145439148,
-0.033852722495794296,
-0.053442444652318954,
0.051795367151498795,
-0.021674854680895805,
-0.009251675568521023,
-0.018853792920708656,
-0.07047393918037415,
0.00943565834313631,
-0.01488503534346819,
0.06518226116895676,
-0.10211887210607529,
0.0036884048022329807,
0.039459798485040665,
-0.008892472833395004,
-0.032328300178050995,
0.06276421248912811,
0.034483518451452255,
0.016164150089025497,
0.051479969173669815,
-0.011739815585315228,
-0.007587074767798185,
-0.013956363312900066,
-0.05869907885789871,
0.01690007746219635,
-0.031084228307008743,
-0.06616350263357162,
-0.008358048275113106,
0.05323217809200287,
0.025985293090343475,
-0.01450830977410078,
-0.00260422402061522,
0.016724856570363045,
0.0037387809716165066,
-0.04005555063486099,
0.0005437330692075193,
0.032450951635837555,
-0.01711910404264927,
0.009549551643431187,
-0.04156245291233063,
-0.01880122721195221,
0.036516085267066956,
-0.010197869502007961,
0.06335996091365814,
-0.027947770431637764,
-0.010837427340447903,
-0.002577940933406353,
-0.0063911909237504005,
-0.01388627476990223,
-0.015997689217329025,
-0.0015079968143254519,
0.051795367151498795,
0.018923882395029068,
-0.026248125359416008,
0.05221589654684067,
-0.03288900479674339,
0.017381936311721802,
0.05600067228078842,
-0.03563997894525528,
0.011117780581116676,
0.012773620896041393,
-0.022270604968070984,
-0.013579637743532658,
0.038163162767887115,
0.041141919791698456,
-0.024460870772600174,
-0.06672420352697372,
-0.02001025341451168,
-0.0009396233363077044,
-0.012230435386300087,
0.03662121668457985,
-0.032450951635837555,
0.0005639930022880435,
-0.023759985342621803,
0.007175305392593145,
-0.06994827836751938,
-0.028105469420552254,
-0.005532607436180115,
0.03320440277457237,
-0.01492007914930582,
0.04794050008058548,
-0.01225671824067831,
0.008401853032410145,
0.04275395721197128,
-0.002002996625378728,
0.004411192145198584,
0.050463683903217316,
0.04107183218002319,
0.012878753244876862,
-0.02647591382265091,
0.001675552106462419,
0.037076789885759354,
0.07317234575748444,
0.029069185256958008,
-0.0036686924286186695,
-0.014972645789384842,
-0.03602546453475952,
0.02095644734799862,
0.02733449637889862,
0.009654683992266655,
-0.023795029148459435,
0.028999097645282745,
-0.032836440950632095,
-0.00486676674336195,
0.022025296464562416,
0.0578930601477623,
-0.0028122991789132357,
-0.0004536584601737559,
-0.010197869502007961,
-0.025599807500839233,
-0.026686178520321846,
-0.044821564108133316,
-0.055089522153139114,
0.05172527953982353,
0.0399504192173481,
-0.034518562257289886,
0.020781226456165314,
0.0639907568693161,
-0.024180516600608826,
-0.0070964558981359005,
-0.030751308426260948,
0.02545963041484356,
0.004494422115385532,
-0.05228598415851593,
0.034606173634529114,
0.01734689250588417,
-0.010276718996465206,
-0.07089447230100632,
-0.07345269620418549,
0.05274156108498573,
0.012134063057601452,
0.0052653951570391655,
-0.0040651303716003895,
-0.06882686167955399,
0.05239111930131912,
0.0332394503057003,
0.06921234726905823,
0.026738744229078293,
0.03576263412833214,
0.012011408805847168,
-0.05095430463552475,
0.024303171783685684,
0.017136625945568085,
0.00884866714477539,
-0.043805282562971115,
-0.029349539428949356,
-0.017145387828350067,
0.017416980117559433,
0.054283507168293,
-0.05694686621427536,
-0.005296058487147093,
0.009838666766881943,
0.019642289727926254,
0.04426085948944092,
0.02885892055928707,
-0.0001535922783659771,
-0.052145808935165405,
0.020886359736323357,
-0.017259281128644943,
0.010583356022834778,
0.0363408625125885,
-0.07047393918037415,
0.05368775501847267,
0.06059146672487259,
-0.031084228307008743,
-0.02248087152838707,
-0.07997092604637146,
-0.030453432351350784,
-0.017005210742354393,
0.016216715797781944,
0.0033138697035610676,
-0.023602286353707314,
0.013500788249075413,
0.03541219234466553,
0.004608315881341696,
0.04450616613030434,
0.01727680303156376,
0.05526474490761757,
0.0011827426496893167,
-0.010294241830706596,
0.02244582772254944,
-0.0019164810655638576,
-0.04755501449108124,
-0.06304456293582916,
-0.008853048086166382,
0.04983288794755936,
-0.010346807539463043,
-0.06125730648636818,
-0.019554678350687027,
-0.001730308635160327,
0.013071496039628983,
0.032801397144794464,
0.0634300485253334,
-0.02193768508732319,
0.006448137573897839,
-0.022182995453476906,
-0.03921448811888695,
-0.00989123247563839,
0.08256419748067856,
0.014105301350355148,
-0.06164279207587242,
0.0036927852779626846,
-0.020115386694669724,
-0.11017904430627823,
0.05351253226399422,
-0.014429460279643536,
0.015428220853209496,
0.0171804316341877,
0.11080984026193619,
0.027387062087655067,
-0.053827930241823196,
-0.00029650700162164867,
-0.04759005829691887,
-0.04874651879072189,
-0.021201757714152336,
-0.04885165020823479,
-0.0021376977674663067,
-0.06052137911319733,
-0.043104398995637894,
-0.0035898429341614246,
-0.042193248867988586,
-0.010285479947924614,
-0.026913965120911598,
0.009786100126802921,
0.07261163741350174,
-0.04121201112866402,
0.0049894219264388084,
-0.002453095745295286,
0.0011641253950074315,
0.007087694946676493,
0.008673446252942085,
0.02447839267551899,
0.13716310262680054,
0.0031605511903762817,
-0.03535962477326393,
0.004652121104300022,
0.030646175146102905,
0.038829002529382706,
0.010241675190627575,
-0.004181214142590761,
0.005558890290558338,
-0.0171804316341877,
-0.08368561416864395,
-0.028543522581458092,
0.011704771779477596,
0.026773788034915924,
-0.0067460136488080025,
-0.030961573123931885,
-0.016400698572397232,
0.0480806790292263,
0.0031517900060862303,
0.010267958045005798,
0.016479548066854477,
0.022533437237143517,
0.02137697860598564,
-0.009304242208600044,
0.008699729107320309,
0.01539317611604929,
0.03658617287874222,
0.009838666766881943,
0.04667890816926956,
-0.05904952064156532,
0.05235607549548149,
0.013404416851699352,
0.02600281499326229,
0.003272254718467593,
-0.03592033311724663,
0.029507238417863846,
0.08536773175001144,
0.054423682391643524,
-0.009803622029721737,
-0.0018255851464346051,
0.01734689250588417,
-0.019221758469939232,
-0.028526000678539276,
0.010548312216997147,
-0.02701909840106964,
0.045837849378585815,
0.014157867059111595,
-0.0243206936866045,
-0.02977007068693638,
-0.02859608829021454,
-0.012948841787874699,
0.06430615484714508,
-0.018766183406114578,
-0.01836317405104637,
0.009978843852877617,
-0.03255608677864075,
-0.015244238078594208,
0.03627077490091324,
0.04471643269062042,
0.013281761668622494,
-0.03320440277457237,
0.0004101269587408751,
0.06826615333557129,
0.011038931086659431,
0.02162228710949421,
-0.026493435725569725,
-0.020115386694669724,
0.005909332539886236,
-0.036831483244895935,
-0.025319453328847885,
-0.008287959732115269,
0.00838871207088232,
0.030768830329179764,
0.00036194114363752306,
0.00989123247563839,
-0.016216715797781944,
-0.036165639758110046,
0.004498802591115236,
0.056841734796762466,
-0.010425657033920288,
0.0018201095517724752,
-0.0014981406275182962,
0.08214366436004639,
-0.04892174154520035,
-0.0030510379001498222,
-0.04194793850183487,
-0.0034737589303404093,
0.03189024701714516,
-0.042158205062150955,
-0.0440155491232872,
-0.05253129452466965,
-0.03809307515621185,
-0.055089522153139114,
-0.003112365258857608,
0.008301100693643093,
-0.02381255105137825,
0.0027356399223208427,
0.0023151091299951077,
0.008139021694660187,
0.03809307515621185,
-0.023514674976468086,
0.06490190327167511,
-0.00989123247563839,
0.09335781633853912,
-0.03798794001340866,
0.015244238078594208,
0.0405111238360405,
0.003964378032833338,
-0.00906769372522831,
0.04320953041315079,
0.03826829418540001,
-0.03427325189113617,
-0.06833624094724655,
-0.01308025699108839,
0.008511366322636604,
0.0640958920121193,
0.000400544551666826,
-0.03304670378565788,
-0.03868882730603218,
-0.006093314848840237,
-0.04208811745047569,
-0.0005267585511319339,
0.04394546151161194,
-0.05859394744038582,
-0.0240929052233696,
0.01864352822303772,
0.016059016808867455,
-0.04569767042994499,
-0.010863710194826126,
-0.028526000678539276,
-0.05109448358416557,
-0.11697762459516525,
0.0522509403526783,
0.012230435386300087,
-0.06977305561304092,
-0.10197869688272476,
0.023759985342621803,
-0.05109448358416557,
0.02635325863957405,
0.01683874987065792,
0.07159535586833954,
-0.06325482577085495,
-0.008287959732115269,
-0.012992646545171738,
-0.029069185256958008,
0.05536987632513046,
-0.021552199497818947,
0.028105469420552254,
-0.004446236416697502,
0.010968842543661594,
0.015042734332382679,
0.0120464526116848,
-0.023392021656036377,
0.0003737138176802546,
0.001177266938611865,
0.0147273363545537,
-0.06293942779302597,
0.07821871340274811,
0.008358048275113106,
-0.013737336732447147,
0.0071577830240130424,
-0.0322757326066494,
-0.02913927473127842,
-0.006724110804498196,
0.005063890479505062,
0.0042250193655490875,
-0.03974015265703201,
-0.006640880834311247,
0.010977603495121002,
-0.004511944018304348,
-0.015086539089679718,
-0.010311763733625412,
0.026090426370501518,
0.017101582139730453,
0.07955039292573929,
-0.04622333496809006,
-0.012896275147795677,
-0.003022564575076103,
0.006312341429293156,
0.03371254727244377,
-0.00957583449780941,
0.0007994464249350131,
0.011853709816932678,
0.030909007415175438,
-0.00565964262932539,
0.024741223081946373,
0.007731632329523563,
0.03031325526535511,
0.04093165695667267,
0.007424995303153992,
-0.015559636056423187,
-0.041807763278484344,
-0.026563523337244987,
-0.0019340032013133168,
-0.027229363098740578,
-0.003539466764777899,
-0.03259113058447838,
-0.020150430500507355,
0.00015318159421440214,
0.0031386485788971186,
-0.03332705795764923,
-0.051444925367832184,
-0.027439629659056664,
0.03260865435004234,
-0.0435599721968174,
-0.04667890816926956,
-0.1019086092710495,
0.012274240143597126,
-0.07205092906951904,
0.017618484795093536,
0.012055213563144207,
0.00450318306684494,
-0.0383734293282032,
0.03066369704902172,
-0.013106540776789188,
-0.008090835995972157,
-0.05039359629154205,
-0.007490703370422125,
-0.03868882730603218,
0.04324457421898842,
0.023672373965382576,
0.009856188669800758,
-0.0034387146588414907,
0.001984379254281521,
0.04730970412492752,
-0.005633359309285879,
-0.005155881866812706,
0.029699981212615967,
-0.025722462683916092,
0.01231804583221674,
0.011993885971605778,
0.049412358552217484,
-0.10688488930463791,
-0.053477488458156586,
-0.03662121668457985,
-0.01398264616727829,
-0.059470053762197495,
-0.01915166899561882,
0.014902557246387005,
0.07765800505876541,
-0.014613442122936249,
-0.023164233192801476,
-0.022077862173318863,
0.008458799682557583,
0.02491644397377968,
0.00806893315166235,
0.022813791409134865,
-0.010583356022834778,
0.002602033782750368,
0.01598016731441021,
-0.018152909353375435,
0.060801733285188675,
0.011739815585315228,
-0.0399504192173481,
0.024390781298279762,
-0.00012559795868583024,
-0.047835368663072586,
-0.017522113397717476,
0.02964741550385952,
0.018047776073217392,
0.025512196123600006,
-0.0196948554366827,
-0.009742294438183308,
-0.002350153401494026,
-0.016225475817918777,
0.03192529082298279,
0.018818749114871025,
0.002404910046607256,
0.025862639769911766,
-0.007771057076752186,
0.0845266729593277,
-0.030646175146102905,
-0.038513604551553726,
-0.013386894017457962,
0.00984742771834135,
-0.014902557246387005,
0.017381936311721802,
0.02651095762848854,
-0.014333088882267475,
-0.017618484795093536,
0.04471643269062042,
0.01147698424756527,
-0.010723533108830452,
-0.01978246495127678,
-0.03658617287874222,
0.01899397000670433,
-0.020045297220349312,
-0.0011214152909815311,
0.02079874835908413,
0.04257873445749283,
0.000624225300271064,
0.011529550887644291,
-0.00215960037894547,
-0.006031987257301807,
-0.02013290859758854,
-0.019134147092700005,
-0.024425825104117393,
0.03276635333895683,
0.018853792920708656,
0.046398553997278214,
-0.018783705309033394,
-0.010303002782166004,
-0.0029765688814222813,
-0.013947602361440659,
0.06041624769568443,
0.049797844141721725,
-0.028368301689624786,
-0.006614597514271736,
-0.09188596159219742,
-0.0808119848370552,
0.06290438771247864,
0.017381936311721802,
0.028578566387295723,
0.03928457945585251,
-0.007381190080195665,
-0.011660966090857983,
0.042193248867988586,
-0.011704771779477596,
-0.03528953716158867,
-0.00897132232785225,
0.052180852741003036,
0.04836103320121765,
0.012125302106142044,
-0.011792382225394249,
0.03637590631842613,
0.034606173634529114,
0.038478560745716095,
-0.012580877169966698,
0.027264408767223358,
-0.04026581719517708,
-0.002755352295935154,
0.02600281499326229,
0.006557650864124298,
-0.05971536040306091,
0.043805282562971115,
0.03551732376217842,
0.04177271947264671,
0.02064104937016964,
0.020465828478336334,
-0.013369372114539146,
0.030330777168273926,
0.004060749895870686,
0.04797554388642311,
0.043174486607313156,
0.023830072954297066,
-0.012309284880757332,
-0.0010387328220531344,
0.00584362493827939,
0.04391041398048401,
-0.008809242397546768,
-0.07744774222373962,
0.0537227988243103,
-0.05424846336245537,
-0.000675696472171694,
0.03373006731271744,
0.10204878449440002,
0.011862470768392086,
-0.05323217809200287,
-0.0077973403967916965,
-0.009698489680886269,
0.044436078518629074,
-0.028105469420552254,
-0.015436981804668903,
0.03455360606312752,
0.03157484903931618,
-0.016698574647307396,
-0.034290775656700134,
-0.010898754000663757,
-0.04296422004699707,
-0.020763704553246498,
-0.021867597475647926,
-0.04636351019144058,
-0.008831145241856575,
-0.01082866545766592,
-0.010565834119915962,
0.03344971314072609,
0.015472025610506535,
-0.014184150844812393,
0.06290438771247864,
0.03500918298959732
]
|
40,840 | pyglove.core.symbolic.functor | _sym_inferred | Overrides method to allow member overrides during call. | def _sym_inferred(self, key: str, **kwargs: Any) -> Any:
"""Overrides method to allow member overrides during call."""
if self._tls is not None:
overrides = getattr(self._tls, Functor._TLS_OVERRIDE_MEMBERS_KEY, {})
v = overrides.get(key, pg_typing.MISSING_VALUE)
if pg_typing.MISSING_VALUE != v:
return overrides[key]
return super()._sym_inferred(key, **kwargs)
| (self, key: str, **kwargs: Any) -> Any | [
0.06849396973848343,
-0.09439505636692047,
0.06255830824375153,
0.0913013145327568,
-0.04054238647222519,
-0.03262816742062569,
0.03573989495635033,
-0.020612943917512894,
0.07194744795560837,
-0.04090212658047676,
0.005139745771884918,
-0.02325701341032982,
0.021152550354599953,
-0.020325154066085815,
-0.040074728429317474,
0.03255622088909149,
-0.03169285133481026,
0.059248726814985275,
0.019389837980270386,
-0.016251130029559135,
0.013652028515934944,
0.007509515155106783,
0.014884129166603088,
-0.010810104198753834,
-0.019641654565930367,
0.06101143732666969,
0.03169285133481026,
-0.01856244169175625,
0.03046974539756775,
-0.028671059757471085,
-0.03467867150902748,
0.008512282744050026,
-0.010909032076597214,
0.05565135180950165,
0.04406781494617462,
-0.06705502420663834,
-0.03892356902360916,
0.07863856106996536,
-0.05248566344380379,
-0.06442894041538239,
-0.002992564346641302,
-0.00507679209113121,
0.05421240255236626,
-0.0477011613547802,
0.011439644731581211,
0.04511105269193649,
-0.003846940118819475,
0.07313458621501923,
0.025127647444605827,
-0.04903218895196915,
0.03262816742062569,
-0.034193024039268494,
0.001591837382875383,
0.01617918349802494,
-0.028113465756177902,
0.014308549463748932,
-0.011889316141605377,
0.042844705283641815,
-0.049463871866464615,
0.08223593235015869,
0.0014580599963665009,
-0.04129783809185028,
-0.0334375761449337,
-0.04133380949497223,
-0.022267736494541168,
-0.055831220000982285,
-0.011250782757997513,
0.008602216839790344,
-0.0038784171920269728,
0.009074372239410877,
-0.024210317060351372,
-0.05313319340348244,
-0.06140714883804321,
-0.007599449250847101,
0.03611762076616287,
-0.031980641186237335,
-0.04485923424363136,
-0.030829481780529022,
0.021026642993092537,
-0.04021862521767616,
-0.018490495160222054,
-0.040074728429317474,
-0.055003825575113297,
-0.006048082374036312,
-0.012797652743756771,
0.018634390085935593,
0.023724671453237534,
-0.034157052636146545,
-0.0029003815725445747,
-0.025649266317486763,
-0.02984020486474037,
0.03131512925028801,
0.003073505125939846,
0.021062616258859634,
0.01264476403594017,
-0.018229685723781586,
-0.006236944813281298,
-0.03946317732334137,
-0.011808374896645546,
-0.027052240446209908,
0.03967902064323425,
-0.019893469288945198,
0.0403984934091568,
-0.006515740882605314,
0.06464478373527527,
-0.05525564029812813,
0.009667938575148582,
-0.03824007138609886,
-0.005791769828647375,
0.01575649157166481,
-0.05270150676369667,
-0.03895954415202141,
-0.014164654538035393,
0.02982221730053425,
0.005535456817597151,
0.002439468167722225,
-0.05414045602083206,
-0.027771715074777603,
0.008067107759416103,
0.06763060390949249,
-0.036819107830524445,
0.04611831530928612,
-0.03046974539756775,
-0.031530968844890594,
-0.004575408063828945,
-0.020037364214658737,
0.02721412293612957,
0.019623667001724243,
0.07173160463571548,
0.022933250293135643,
0.03397718444466591,
0.03235836699604988,
0.01841854676604271,
0.05867314711213112,
0.01876029744744301,
0.08187619596719742,
0.06219857186079025,
0.08122867345809937,
0.03586580231785774,
0.07302666455507278,
0.02656659670174122,
-0.0254873838275671,
0.0311172716319561,
-0.016457978636026382,
0.028473204001784325,
0.005530960392206907,
-0.023149091750383377,
0.06219857186079025,
-0.04903218895196915,
-0.016979597508907318,
-0.012446909211575985,
0.044031839817762375,
-0.0057198223657906055,
0.006425806786864996,
-0.019875483587384224,
0.060327935963869095,
-0.047233499586582184,
0.058205489069223404,
-0.049463871866464615,
-0.028527164831757545,
-0.017024565488100052,
-0.046693895012140274,
-0.02390453964471817,
-0.07863856106996536,
0.028617098927497864,
-0.008611210621893406,
0.029516441747546196,
-0.061227280646562576,
0.03270011767745018,
0.06629957258701324,
-0.058601196855306625,
-0.017474237829446793,
0.012581810355186462,
0.020325154066085815,
0.1006544828414917,
0.07245108485221863,
-0.02419232949614525,
-0.009344175457954407,
0.03863577917218208,
0.030253902077674866,
0.010063649155199528,
-0.03162090480327606,
-0.08979041874408722,
-0.007599449250847101,
0.030847469344735146,
0.08712836354970932,
0.016907650977373123,
-0.012105158530175686,
-0.029228651896119118,
0.02503771334886551,
-0.024624014273285866,
-0.001221982529386878,
0.047233499586582184,
0.03007403388619423,
-0.0284552164375782,
-0.005913181230425835,
-0.005517470184713602,
0.00502732815220952,
-0.0641411542892456,
0.04806089773774147,
-0.018256666138768196,
-0.061658963561058044,
-0.014803187921643257,
0.06525633484125137,
-0.03226843103766441,
0.004914910066872835,
0.030217928811907768,
0.009892774745821953,
-0.051838137209415436,
-0.013786930590867996,
-0.015549642965197563,
-0.04500313103199005,
0.0008993431110866368,
0.015495682135224342,
-0.024426158517599106,
-0.027178149670362473,
0.019173994660377502,
0.01158353965729475,
-0.03845591098070145,
0.06075962260365486,
0.11058323085308075,
-0.03734072670340538,
0.031135259196162224,
-0.025361476466059685,
0.07216329127550125,
-0.0008234610431827605,
0.01980353519320488,
-0.01847250759601593,
-0.0569104328751564,
-0.017860954627394676,
0.017123492434620857,
-0.017914915457367897,
0.01172743458300829,
0.034103091806173325,
0.030757535248994827,
-0.034300945699214935,
0.025865107774734497,
-0.014767213724553585,
0.04611831530928612,
0.041117966175079346,
-0.02464200183749199,
0.04277275875210762,
0.03097337670624256,
0.05968040972948074,
-0.02144034020602703,
-0.03367140516638756,
0.02370668575167656,
0.060723647475242615,
0.008925980888307095,
0.03442685678601265,
0.0509747676551342,
-0.01459633931517601,
-0.013939818367362022,
0.05187411233782768,
0.006295402068644762,
-0.047089606523513794,
-0.05007542669773102,
0.03752059489488602,
0.017321348190307617,
-0.004247148055583239,
-0.037664491683244705,
0.050003476440906525,
-0.06101143732666969,
0.01881425827741623,
0.013355245813727379,
0.019497759640216827,
0.008827053010463715,
0.02183605171740055,
-0.048924267292022705,
0.005261157173663378,
-0.05388864129781723,
-0.04313249513506889,
0.0054949866607785225,
0.047881029546260834,
-0.0016637847293168306,
0.032376352697610855,
-0.018508480861783028,
0.03471464291214943,
-0.002356278942897916,
-0.03046974539756775,
0.04342028498649597,
0.0097578726708889,
-0.003597372444346547,
-0.009667938575148582,
-0.06306193768978119,
0.01671878807246685,
-0.029444493353366852,
-0.05349292978644371,
-0.0311172716319561,
-0.028437228873372078,
0.03881565108895302,
-0.02509167417883873,
0.04978763684630394,
0.024426158517599106,
0.039139412343502045,
0.0014209621585905552,
-0.05816951394081116,
-0.01555863581597805,
0.0714438185095787,
0.0004929524729959667,
-0.010279491543769836,
0.03440886735916138,
-0.019443798810243607,
0.022933250293135643,
0.06399725377559662,
-0.021350406110286713,
0.013679008930921555,
0.007437567692250013,
0.001712124445475638,
0.011862335726618767,
-0.044931184500455856,
0.006178487092256546,
-0.04687376320362091,
-0.028509177267551422,
0.025001738220453262,
-0.0023472856264561415,
-0.030991364270448685,
0.02730405703186989,
0.03205258771777153,
0.10144590586423874,
-0.05313319340348244,
-0.013337258249521255,
-0.05640679970383644,
0.02534348890185356,
-0.012464895844459534,
0.010711176320910454,
0.014263582415878773,
-0.01760014519095421,
0.01991145685315132,
-0.00012063844769727439,
-0.028635084629058838,
-0.004869943019002676,
-0.008710138499736786,
0.012087171897292137,
-0.09223663061857224,
0.004161710385233164,
0.013894851319491863,
0.036027684807777405,
0.025703227147459984,
0.007095817476511002,
-0.015630584210157394,
-0.029642349109053612,
-0.035092368721961975,
-0.01867036335170269,
0.030613640323281288,
0.006111036520451307,
0.027196135371923447,
0.005490489769726992,
0.0793580412864685,
0.010675203055143356,
-0.045866500586271286,
-0.05680251121520996,
0.015990320593118668,
0.03564996272325516,
0.09820827096700668,
-0.030092021450400352,
-0.01785196177661419,
-0.03270011767745018,
-0.0005696776788681746,
-0.01742926985025406,
0.040182650089263916,
-0.0205050241202116,
-0.020217234268784523,
0.03160291910171509,
0.046801816672086716,
0.0005783900269307196,
-0.019245943054556847,
-0.016395024955272675,
-0.02305915765464306,
-0.05054308474063873,
-0.04885231703519821,
-0.07604845613241196,
-0.013265310786664486,
-0.033959195017814636,
-0.008390871807932854,
0.022681433707475662,
-0.011574545875191689,
0.03505639359354973,
-0.02242961712181568,
0.007657906506210566,
0.054356299340724945,
0.011889316141605377,
0.027969570830464363,
0.0913013145327568,
-0.004631617106497288,
0.027483925223350525,
-0.03136909008026123,
-0.016925638541579247,
0.08309930562973022,
0.036675211042165756,
0.009703912772238255,
-0.0010988848516717553,
0.004179697018116713,
0.008593223989009857,
-0.016646841540932655,
-0.01437150314450264,
-0.021026642993092537,
-0.06741476058959961,
-0.02868904545903206,
-0.04392391815781593,
0.06227051839232445,
-0.02888690121471882,
-0.03572190925478935,
0.030415784567594528,
-0.006758563686162233,
0.06968110799789429,
0.03502042219042778,
0.022393643856048584,
-0.002421481302008033,
0.014119687490165234,
-0.018832245841622353,
-0.00811657216399908,
-0.012347981333732605,
-0.05381669104099274,
-0.0034287457820028067,
0.0031364592723548412,
0.009344175457954407,
-0.001050545135512948,
0.029804231598973274,
0.0320705771446228,
0.020073339343070984,
-0.05705432966351509,
-0.004593395162373781,
0.016197169199585915,
0.04557871073484421,
-0.004323591943830252,
-0.03806019946932793,
-0.05187411233782768,
-0.01152957882732153,
0.020612943917512894,
0.02010931260883808,
0.02622484602034092,
0.026656530797481537,
0.0390314906835556,
0.06388933211565018,
-0.028904888778924942,
-0.006016605533659458,
-0.03559600189328194,
-0.029066769406199455,
-0.0090249078348279,
-0.02829333394765854,
0.013867870904505253,
-0.03349153697490692,
0.030092021450400352,
0.027735741809010506,
-0.011025946587324142,
-0.04874439910054207,
0.0496077686548233,
0.008044624701142311,
-0.03280803561210632,
0.007100313901901245,
-0.005895194131880999,
0.028922874480485916,
-0.0037839862052351236,
-0.06942928582429886,
-0.013454172760248184,
-0.00769388023763895,
-0.020666904747486115,
-0.001301799202337861,
0.0024282264057546854,
-0.006102043204009533,
0.01019855123013258,
-0.013553100638091564,
-0.007298169657588005,
-0.006344865541905165,
0.06101143732666969,
0.027681780979037285,
-0.049967505037784576,
-0.03672917187213898,
0.0018976139836013317,
0.04622623696923256,
-0.029606375843286514,
-0.022645460441708565,
-0.03867175430059433,
-0.044679366052150726,
0.05255761370062828,
-0.02537946216762066,
0.02732204459607601,
-0.049463871866464615,
-0.05406850948929787,
-0.01592736691236496,
0.016170188784599304,
0.018319619819521904,
-0.0051712230779230595,
0.0430605486035347,
-0.005661365110427141,
-0.028185414150357246,
0.04845660924911499,
0.0017818235792219639,
-0.017150472849607468,
-0.014677279628813267,
0.08036530017852783,
0.023832593113183975,
0.02577517367899418,
-0.020558983087539673,
0.010747150518000126,
0.013741962611675262,
-0.004753028508275747,
0.06273818016052246,
-0.0037749928887933493,
-0.03975096717476845,
-0.008224492892622948,
0.03694501519203186,
0.03935525566339493,
0.04104601964354515,
-0.03888759762048721,
-0.051586322486400604,
0.03534418344497681,
-0.009281220845878124,
0.010162577033042908,
0.03719683364033699,
0.01182636246085167,
0.04845660924911499,
-0.011439644731581211,
0.06809826195240021,
-0.0287969671189785,
-0.033563487231731415,
-0.027969570830464363,
-0.025901082903146744,
-0.05043516308069229,
0.02588309533894062,
-0.01736631616950035,
-0.0038986525032669306,
-0.008934973739087582,
0.04424768313765526,
0.014317542314529419,
-0.011205815710127354,
0.0032803539652377367,
0.0017649609362706542,
-0.014749227091670036,
-0.005418542306870222,
-0.022213775664567947,
-0.030110007151961327,
0.01019855123013258,
0.0031814263202250004,
0.04665791988372803,
-0.04860050231218338,
0.003541163634508848,
-0.06597581505775452,
-0.005045314785093069,
0.01015358418226242,
0.00408076960593462,
-0.013885857537388802,
-0.003453477518633008,
-0.013310277834534645,
-0.012518856674432755,
-0.08425046503543854,
-0.005463509354740381,
-0.0125728165730834,
-0.0007155398488976061,
-0.051694244146347046,
0.0042786248959600925,
0.004703564569354057,
0.006767557002604008,
-0.04942789673805237,
-0.05115463584661484,
-0.021746117621660233,
0.0068350075744092464,
-0.018508480861783028,
0.017069533467292786,
0.01400277204811573,
-0.011844349093735218,
0.09727295488119125,
-0.03304186835885048,
-0.013625048100948334,
-0.024911804124712944,
-0.036225542426109314,
0.04644208028912544,
-0.008494296111166477,
-0.00997371505945921,
-0.010989973321557045,
0.0008712386479601264,
0.056083038449287415,
0.022501565515995026,
-0.004013318568468094,
0.03126116842031479,
0.013831897638738155,
0.017672091722488403,
-0.027088215574622154,
-0.10000695288181305,
-0.03935525566339493,
0.043096523731946945,
0.03394120931625366,
0.00290263001807034,
-0.03352751210331917,
-0.05057905614376068,
-0.005530960392206907,
0.02277136780321598,
-0.02183605171740055,
-0.013031481765210629,
-0.11173439025878906,
-0.02967832237482071,
-0.004726048093289137,
-0.015351787209510803,
-0.026044977828860283,
0.030613640323281288,
-0.022213775664567947,
0.031243180856108665,
0.04975166171789169,
-0.0027677284087985754,
-0.005931167863309383,
0.002983570797368884,
0.06219857186079025,
0.00011255841673118994,
0.018229685723781586,
0.0003588941181078553,
0.0009488069918006659,
0.02449810691177845,
0.018409553915262222,
-0.02440817281603813,
-0.008755105547606945,
-0.008269459940493107,
0.0327540785074234,
0.003923384472727776,
0.01733933575451374,
0.006147010251879692,
-0.01412868034094572,
0.03516431525349617,
0.02232169732451439,
-0.03340160474181175,
-0.10281290858983994,
0.01155655924230814,
-0.06047183275222778,
0.01827465184032917,
-0.027897624298930168,
0.04313249513506889,
0.013301284983754158,
0.03624352812767029,
-0.025361476466059685,
-0.03140506148338318,
-0.042197179049253464,
0.01960567943751812,
0.06370946764945984,
0.0034961963538080454,
0.034642696380615234,
0.004341579042375088,
0.004006573464721441,
-0.007505018264055252,
-0.03347355127334595,
0.032915957272052765,
-0.006403323262929916,
-0.014821174554526806,
-0.0034692161716520786,
0.040470439940690994,
-0.06209065020084381,
0.04500313103199005,
-0.035631973296403885,
0.009721899405121803,
0.024318238720297813,
0.021404366940259933,
-0.05442824587225914,
0.004636113997548819,
-0.016053274273872375,
-0.01288758683949709,
0.009281220845878124,
-0.002819440793246031,
-0.023886553943157196,
-0.03502042219042778,
0.04154965281486511,
-0.060723647475242615,
-0.03975096717476845,
0.006214460823684931,
-0.05147840082645416,
-0.003572640474885702,
0.0543203242123127,
-0.008031134493649006,
-0.02786165103316307,
-0.017177453264594078,
0.083387091755867,
-0.0100996233522892,
0.028527164831757545,
-0.004382049199193716,
-0.046406105160713196,
-0.034354906529188156,
-0.04665791988372803,
-0.012401942163705826,
0.04158562794327736,
-0.03156694397330284,
-0.0047485316172242165,
-0.022483577951788902,
0.01994743011891842,
-0.046334158629179,
-0.03892356902360916,
0.0284911897033453,
-0.0682421550154686,
0.07126394659280777,
0.01836458593606949,
0.01424559485167265,
0.018688350915908813,
-0.0793580412864685,
0.02172813005745411,
-0.0589609369635582,
0.0016941375797614455,
0.033563487231731415,
-0.017186447978019714,
-0.07227121293544769,
-0.07849466800689697,
-0.027771715074777603,
0.025523357093334198,
-0.014956076629459858,
-0.008764098398387432,
0.0008487550658173859,
-0.019173994660377502,
-0.02958838827908039,
0.02178209088742733,
0.00915081612765789,
-0.00014333281433209777,
-0.018580429255962372,
-0.028617098927497864,
-0.004339330364018679,
0.01886821910738945,
-0.04093809798359871,
0.018490495160222054,
-0.004730544984340668,
0.028113465756177902,
-0.03723280504345894,
-0.042053285986185074,
-0.02192598581314087,
0.007986166514456272,
0.04158562794327736,
0.005638881586492062,
-0.0022135083563625813,
0.010162577033042908,
0.018436534330248833,
0.046298183500766754,
0.024570053443312645,
-0.000003996104624093277,
-0.021602222695946693,
0.008970947936177254,
0.06766657531261444,
0.07964582741260529,
0.06424907594919205,
0.007190248463302851,
0.031890708953142166,
0.046406105160713196,
0.0097578726708889,
-0.04262886568903923,
0.021764103323221207,
-0.0360996313393116,
0.0900062620639801,
-0.06050780415534973,
0.04198133572936058,
0.0028599111828953028,
0.04500313103199005,
0.05111866444349289,
0.031189220026135445,
-0.015153931453824043,
0.031477008014917374,
0.05881704017519951,
0.01856244169175625,
0.00363109796307981,
0.04780907928943634,
-0.006412316579371691,
-0.020864760503172874,
0.04014667868614197,
-0.04291665554046631,
-0.035146329551935196,
-0.029606375843286514,
0.0034849545918405056,
-0.011421658098697662,
-0.06306193768978119,
-0.01974957436323166,
-0.012752685695886612,
0.03816812112927437,
0.015234872698783875,
-0.013652028515934944,
0.013436186127364635,
0.05503980070352554
]
|
40,841 | pyglove.core.symbolic.functor | _sym_missing | Returns missing values for Functor.
Semantically unbound arguments are not missing, thus we only return partial
bound arguments in `sym_missing`. As a result, a functor is partial only
when any of its bound arguments is partial.
Returns:
A dict of missing key (or path) to missing value.
| def _sym_missing(self) -> Dict[str, Any]:
"""Returns missing values for Functor.
Semantically unbound arguments are not missing, thus we only return partial
bound arguments in `sym_missing`. As a result, a functor is partial only
when any of its bound arguments is partial.
Returns:
A dict of missing key (or path) to missing value.
"""
missing = dict()
for k, v in self._sym_attributes.items():
if pg_typing.MISSING_VALUE != v and isinstance(v, base.Symbolic):
missing_child = v.sym_missing(flatten=False)
if missing_child:
missing[k] = missing_child
return missing
| (self) -> Dict[str, Any] | [
0.030943311750888824,
-0.031619761139154434,
0.059701163321733475,
0.017986666411161423,
0.00718946335837245,
0.008451305329799652,
0.03184524551033974,
-0.041003357619047165,
0.06369049102067947,
-0.013268852606415749,
-0.0009073553956113756,
-0.0070290230214595795,
0.005602404475212097,
-0.02568780444562435,
-0.018593737855553627,
0.029711823910474777,
0.022062720730900764,
0.07735827565193176,
0.0016607746947556734,
-0.04121149703860283,
0.000797865679487586,
0.021819891408085823,
-0.05654439330101013,
0.03510608896613121,
-0.02730088122189045,
-0.029191475361585617,
0.015116085298359394,
-0.03316345810890198,
0.009973321110010147,
-0.006634426303207874,
-0.02145564742386341,
0.015150775201618671,
0.012219485826790333,
-0.05817481502890587,
0.02612142823636532,
-0.03559174761176109,
0.02917413040995598,
0.033076733350753784,
-0.022097408771514893,
-0.02225351333618164,
0.0185590498149395,
-0.021403612568974495,
-0.07569316774606705,
-0.01748366467654705,
0.01935691386461258,
0.010745168663561344,
0.017579061910510063,
0.02409207448363304,
-0.020310884341597557,
0.02690194919705391,
0.03363177180290222,
0.02145564742386341,
0.03559174761176109,
0.02214944362640381,
-0.011751173064112663,
0.04818414896726608,
-0.04582523927092552,
-0.0006553122075274587,
-0.030492344871163368,
0.04159308224916458,
-0.02069247141480446,
0.05154905840754509,
0.026797879487276077,
-0.06653505563735962,
0.009366248734295368,
-0.0000836756153148599,
0.01145630981773138,
-0.013771855272352695,
-0.020466988906264305,
0.004466313403099775,
-0.045651789754629135,
-0.0648699477314949,
-0.02320748381316662,
0.01515944767743349,
0.06223352253437042,
-0.06688195466995239,
0.02069247141480446,
-0.009834561496973038,
0.042217500507831573,
-0.053734518587589264,
-0.05009208619594574,
-0.03746499493718147,
-0.09005475044250488,
0.02360641583800316,
-0.034394945949316025,
0.06209476292133331,
0.024820560589432716,
0.02159440703690052,
0.01987726241350174,
0.02612142823636532,
-0.07992532104253769,
-0.0023328897077590227,
0.024334901943802834,
0.05418548360466957,
0.02900068275630474,
0.015523690730333328,
-0.003390928963199258,
-0.005715146195143461,
0.04138494282960892,
-0.05897267907857895,
0.06389863044023514,
-0.08825088292360306,
-0.03135959059000015,
0.041801221668720245,
0.026138773187994957,
-0.035973332822322845,
0.006651771254837513,
-0.09026288986206055,
0.008967315778136253,
0.0031719496473670006,
-0.05043898522853851,
-0.02426552213728428,
0.015445638447999954,
0.01371114794164896,
-0.0048565734177827835,
-0.019790537655353546,
-0.00927952490746975,
-0.0011859579244628549,
0.0014266184298321605,
-0.01093596313148737,
-0.02504604309797287,
0.04641496762633324,
-0.02003336511552334,
-0.03791596367955208,
0.04398668184876442,
0.0072718518786132336,
0.0066907973960042,
0.012436297722160816,
0.055711835622787476,
0.07590130716562271,
0.06268449127674103,
0.01213276106864214,
-0.012340900488197803,
0.03349301218986511,
-0.039962660521268845,
0.0062354933470487595,
0.026468325406312943,
-0.012193468399345875,
0.05203471705317497,
0.04152370244264603,
0.02214944362640381,
-0.0694836899638176,
-0.05179188773036003,
0.02303403429687023,
0.006803539115935564,
0.033475667238235474,
0.008867583237588406,
0.029503684490919113,
-0.005749836098402739,
-0.026450980454683304,
-0.0012238998897373676,
0.04138494282960892,
0.002510674996301532,
-0.007120083551853895,
-0.008711478672921658,
0.016902610659599304,
0.0349673293530941,
-0.013953976333141327,
-0.060741860419511795,
-0.054012034088373184,
-0.018507014960050583,
-0.04540896415710449,
-0.036250852048397064,
-0.05435893312096596,
-0.0027990341186523438,
-0.006651771254837513,
0.04995332658290863,
-0.04544365406036377,
0.041939981281757355,
0.053734518587589264,
-0.03156772628426552,
-0.01866311766207218,
0.004652770701795816,
-0.0071677821688354015,
0.02542763203382492,
0.036909960210323334,
-0.002165945013985038,
-0.030370930209755898,
0.003054871456697583,
-0.016677126288414,
0.07180790603160858,
-0.03534891828894615,
-0.10809344798326492,
-0.0234676580876112,
0.02981589175760746,
0.018905946984887123,
-0.036112092435359955,
-0.047767870128154755,
0.013893269002437592,
0.018749842420220375,
-0.016607746481895447,
0.011846570298075676,
0.03559174761176109,
0.11267250776290894,
0.03111676126718521,
-0.0013171287719160318,
0.004834892228245735,
0.0615050345659256,
-0.027595745399594307,
0.0029096079524606466,
-0.020310884341597557,
-0.06400270015001297,
-0.03288594260811806,
0.05845233052968979,
-0.0765257254242897,
-0.04589461907744408,
-0.04502737522125244,
-0.002751335734501481,
0.007111411076039076,
-0.035418298095464706,
0.0006336310761980712,
-0.01517679262906313,
0.02678053453564644,
-0.0006731991306878626,
-0.042321570217609406,
0.0049086082726716995,
0.024317556992173195,
0.014266184531152248,
-0.040760528296232224,
-0.003909108228981495,
-0.015428293496370316,
-0.026711154729127884,
0.05855640023946762,
0.002261342015117407,
-0.010823220945894718,
0.013476992025971413,
0.03552236780524254,
0.03512343391776085,
-0.03562643751502037,
0.008520685136318207,
0.02306872420012951,
-0.005988328717648983,
-0.010649772360920906,
0.013121421448886395,
0.021646441891789436,
-0.016737833619117737,
0.016902610659599304,
-0.011083394289016724,
0.06958775967359543,
-0.015263516455888748,
-0.013121421448886395,
-0.0071937995962798595,
-0.018767187371850014,
0.04839228466153145,
0.03673651069402695,
-0.04572116956114769,
0.02874050848186016,
0.06931024044752121,
-0.010675789788365364,
-0.0296771340072155,
0.012072054669260979,
-0.002406605752184987,
0.013364249840378761,
0.002809874713420868,
0.02754371054470539,
-0.09803340584039688,
-0.020623093470931053,
0.04204405099153519,
0.06289263069629669,
-0.016243504360318184,
0.00359256356023252,
0.040760528296232224,
-0.03189728036522865,
0.07215480506420135,
0.01456972025334835,
0.00556337833404541,
0.028462989255785942,
-0.011352241039276123,
-0.06816548109054565,
0.03267780318856239,
-0.01826418563723564,
-0.015341568738222122,
-0.012800539843738079,
-0.03403070569038391,
0.0024803215637803078,
0.048947323113679886,
0.034221500158309937,
-0.0025952314026653767,
0.046553727239370346,
-0.013546370901167393,
0.032400283962488174,
-0.07534626871347427,
-0.011690466664731503,
0.02449100650846958,
-0.050681814551353455,
0.08360244333744049,
-0.04759442061185837,
-0.059007368981838226,
0.018784532323479652,
-0.02900068275630474,
0.06369049102067947,
0.015593070536851883,
0.0030223499052226543,
0.015671122819185257,
0.039962660521268845,
0.025531701743602753,
-0.07846835255622864,
-0.04409075155854225,
0.03906072676181793,
0.01708473265171051,
0.013953976333141327,
0.020328229293227196,
0.03590395301580429,
0.005264178849756718,
0.007306541316211224,
-0.06986527889966965,
0.05210409685969353,
0.05442831292748451,
-0.051202159374952316,
-0.009973321110010147,
-0.026156118139624596,
0.0034928303211927414,
0.015410948544740677,
0.00011016725329682231,
-0.002510674996301532,
-0.011855242773890495,
-0.026017358526587486,
-0.039026036858558655,
0.04145432263612747,
0.055850595235824585,
-0.008299537003040314,
0.02013743482530117,
-0.06251104176044464,
0.02081388607621193,
-0.048426974564790726,
0.03392663598060608,
0.037118099629879,
-0.03035358525812626,
0.010693133808672428,
0.019547708332538605,
0.004579055123031139,
-0.0026104082353413105,
-0.02452569641172886,
0.035973332822322845,
-0.07229356467723846,
0.029867926612496376,
0.025670459493994713,
-0.02771715819835663,
0.032001350075006485,
0.0034754853695631027,
-0.03063110262155533,
-0.0027795210480690002,
-0.013450974598526955,
-0.013494336977601051,
-0.019547708332538605,
-0.043258193880319595,
-0.0018830063054338098,
-0.019530363380908966,
0.02620815299451351,
0.02622549794614315,
-0.019946642220020294,
0.03958107531070709,
-0.016243504360318184,
0.0021041538566350937,
0.07999470084905624,
0.005164445843547583,
-0.030492344871163368,
0.02917413040995598,
-0.005242497660219669,
0.01737959496676922,
0.11086863279342651,
0.019166121259331703,
-0.05349168926477432,
-0.004117247182875872,
0.07798269391059875,
-0.013598405756056309,
0.014951308257877827,
0.012783195823431015,
-0.06306608021259308,
-0.06143565475940704,
-0.01947832852602005,
-0.03840162232518196,
-0.021958651021122932,
-0.028150781989097595,
-0.012635763734579086,
0.0017171456711366773,
0.047767870128154755,
-0.003223984269425273,
-0.04318881407380104,
-0.019981330260634422,
-0.021039370447397232,
-0.04929422214627266,
-0.032122764736413956,
-0.010814548470079899,
-0.020987335592508316,
-0.022825894877314568,
-0.0034451319370418787,
-0.013893269002437592,
0.04211343079805374,
0.019443638622760773,
0.002019597450271249,
-0.05095933377742767,
0.011412947438657284,
0.05588528513908386,
0.01880187727510929,
-0.02941695973277092,
0.03826286271214485,
-0.0633435919880867,
-0.049606431275606155,
-0.04017079994082451,
0.04846166446805,
-0.06133158504962921,
-0.01237559039145708,
0.00003773871867451817,
0.03840162232518196,
-0.02716212160885334,
-0.020831231027841568,
-0.005199135281145573,
0.021282199770212173,
-0.017561716958880424,
0.025340907275676727,
-0.00021437219402287155,
-0.010537030175328255,
-0.05474052205681801,
0.022877929732203484,
0.008243165910243988,
0.014821222051978111,
-0.020310884341597557,
0.04481923580169678,
0.007362912409007549,
0.06025620177388191,
-0.06507808715105057,
0.004175785928964615,
0.039026036858558655,
0.021802546456456184,
0.03958107531070709,
-0.005311877466738224,
-0.04381323233246803,
0.03975452482700348,
0.08554507046937943,
-0.023883935064077377,
0.010649772360920906,
-0.04422950744628906,
-0.014231494627892971,
-0.03840162232518196,
-0.022756516933441162,
-0.003276019124314189,
-0.05772384628653526,
-0.007952638901770115,
0.0837412029504776,
-0.052659131586551666,
0.06476587802171707,
0.0005515138036571443,
0.04846166446805,
0.01013809721916914,
0.015315551310777664,
0.026936639100313187,
0.0227738618850708,
0.06188662350177765,
0.021507682278752327,
-0.024005349725484848,
-0.07548502832651138,
0.04925953224301338,
-0.04200936108827591,
-0.0028380602598190308,
0.02794264256954193,
-0.0325910784304142,
-0.04152370244264603,
-0.05356106907129288,
0.015298206359148026,
0.0015653776936233044,
0.04252970963716507,
-0.06743699312210083,
0.0033258856274187565,
-0.009071385487914085,
0.06632691621780396,
0.012887264601886272,
-0.03125552088022232,
-0.056613773107528687,
0.031168796122074127,
0.04759442061185837,
0.01631288416683674,
0.013156110420823097,
-0.03975452482700348,
-0.03184524551033974,
-0.0076881293207407,
-0.007727155461907387,
0.024994008243083954,
-0.009123420342803001,
-0.0874183252453804,
-0.01578386314213276,
0.003926453180611134,
-0.022236168384552002,
-0.03009341098368168,
0.024300212040543556,
0.052659131586551666,
-0.028965992853045464,
0.003002836834639311,
-0.000049189067794941366,
0.005936293862760067,
-0.023380933329463005,
-0.006725487299263477,
0.006005673669278622,
0.00751901650801301,
0.04200936108827591,
0.019391603767871857,
0.03394398093223572,
-0.0013572388561442494,
0.07416681945323944,
0.0019263685680925846,
-0.034256190061569214,
0.01987726241350174,
0.022184133529663086,
0.0575157068669796,
-0.017579061910510063,
-0.07978656888008118,
-0.019946642220020294,
0.002684124046936631,
-0.006833892781287432,
-0.0009219901403412223,
0.015202810056507587,
-0.025601079687476158,
0.06490463763475418,
0.011334896087646484,
0.024404281750321388,
0.006018682383000851,
0.027266191318631172,
-0.03063110262155533,
-0.007670784369111061,
0.003926453180611134,
0.014006011188030243,
0.006573718972504139,
0.009158110246062279,
-0.04284191504120827,
-0.05602404475212097,
0.019166121259331703,
0.006408942397683859,
-0.0572034977376461,
-0.011950640007853508,
-0.05071650445461273,
0.0347418449819088,
-0.00815644208341837,
0.009548370726406574,
0.03378787636756897,
-0.05404672399163246,
0.03460308536887169,
0.03600802272558212,
-0.0064913309179246426,
-0.07950904965400696,
0.013728492893278599,
0.038228172808885574,
0.02756105549633503,
0.051063403487205505,
0.0360427126288414,
0.05217347666621208,
0.005342231132090092,
-0.051861267536878586,
-0.030180135741829872,
0.009158110246062279,
-0.006317881867289543,
-0.05678722262382507,
-0.013529025949537754,
-0.00034445899655111134,
-0.018090736120939255,
-0.024057384580373764,
-0.009756509214639664,
0.054150793701410294,
0.040344249457120895,
-0.02993730641901493,
-0.004860909655690193,
0.021022025495767593,
-0.028306886553764343,
0.07326488196849823,
-0.09442566335201263,
-0.026173463091254234,
-0.030370930209755898,
-0.000646097760181874,
0.01816011592745781,
0.016269521787762642,
0.054671142250299454,
-0.035834573209285736,
0.03408274054527283,
-0.011412947438657284,
-0.007137428503483534,
0.012080727145075798,
-0.04905139282345772,
0.025340907275676727,
0.008711478672921658,
-0.02608673833310604,
-0.09192799776792526,
0.024438971653580666,
0.004678788129240274,
0.004349234979599714,
-0.00045015450450591743,
0.01658172905445099,
-0.011430292390286922,
-0.026468325406312943,
0.046553727239370346,
-0.009123420342803001,
-0.021091405302286148,
-0.051722507923841476,
-0.0654943659901619,
0.01773516647517681,
-0.05779322609305382,
0.004969315603375435,
0.02620815299451351,
-0.04239095002412796,
0.015090067870914936,
-0.02397065982222557,
-0.004037026781588793,
0.022981999441981316,
0.01987726241350174,
0.012869919650256634,
0.03170648589730263,
-0.019582398235797882,
0.00814343336969614,
0.018246840685606003,
0.048704493790864944,
-0.03951169550418854,
-0.05647501349449158,
-0.01750968210399151,
-0.008121752180159092,
0.02397065982222557,
0.02941695973277092,
0.007059376686811447,
0.006335226818919182,
0.025809219107031822,
0.005129755940288305,
0.0063915979117155075,
0.04794131964445114,
-0.08679390698671341,
-0.08207609504461288,
-0.06559843569993973,
0.016989335417747498,
0.020969990640878677,
0.002547533018514514,
0.017266852781176567,
0.08429624140262604,
-0.0429459847509861,
0.0021572725381702185,
-0.012193468399345875,
0.020605748519301414,
0.02861909382045269,
-0.013780527748167515,
-0.013693802990019321,
0.025080733001232147,
0.027630435302853584,
-0.009548370726406574,
-0.03524484857916832,
0.0845043808221817,
-0.06268449127674103,
-0.06313545256853104,
-0.04672717675566673,
0.03276452794671059,
0.006408942397683859,
0.04030955955386162,
-0.042078740894794464,
-0.022097408771514893,
0.0662575364112854,
0.0007756425184197724,
-0.0001071183432941325,
-0.03316345810890198,
0.005801870953291655,
-0.03722216561436653,
-0.006044699810445309,
0.02624284289777279,
-0.04176653176546097,
-0.007466981653124094,
-0.00033958072890527546,
-0.004696133080869913,
-0.04634558781981468,
-0.057064738124608994,
-0.03352770209312439,
0.024716490879654884,
0.019183466210961342,
0.007137428503483534,
0.0032673466484993696,
-0.06372518092393875,
0.02572249434888363,
-0.0004886385286226869,
-0.0036012360360473394,
0.02674584463238716,
0.0527632012963295,
-0.008967315778136253,
-0.08422686159610748,
0.011300206184387207,
-0.0028489006217569113,
0.0696224495768547,
0.02823750674724579,
-0.007510344032198191,
0.01987726241350174,
-0.020449643954634666,
-0.03326752781867981,
-0.005350903142243624,
-0.041142117232084274,
-0.01549767330288887,
-0.0006081557366997004,
0.017336232587695122,
0.010042699985206127,
-0.020588403567671776,
-0.012080727145075798,
-0.029191475361585617,
0.050924643874168396,
0.06650036573410034,
-0.0611928254365921,
-0.05179188773036003,
-0.0185590498149395,
0.010623754933476448,
0.07701138406991959,
0.0024998344015330076,
0.02201068587601185,
0.05036960542201996,
-0.024282867088913918,
-0.027613090351223946,
0.015879260376095772,
0.02383190020918846,
0.00036939227720722556,
-0.003054871456697583,
-0.027231501415371895,
0.03989328444004059,
-0.04214812070131302,
-0.003321549389511347,
-0.025202147662639618,
-0.02187192626297474,
-0.008629090152680874,
-0.015090067870914936,
0.0027881935238838196,
-0.014925290830433369,
-0.00440126983448863,
-0.003987160045653582,
0.04037893936038017,
0.013745837844908237,
0.03181055560708046,
0.050404295325279236,
0.02771715819835663,
0.0765257254242897,
-0.02015477977693081,
-0.0662575364112854,
0.002226652344688773,
0.04374385252594948,
0.05151436850428581,
0.09165047854185104,
-0.0247685257345438,
0.07826021313667297,
0.03179321065545082,
-0.012965316884219646,
-0.0180213563144207,
0.0113869309425354,
-0.037846583873033524,
0.05699535831809044,
0.0016998007195070386,
0.04069114848971367,
0.04450702667236328,
0.03999735042452812,
0.07860711216926575,
-0.014300874434411526,
-0.011638431809842587,
0.025635769590735435,
0.0002794155734591186,
-0.010164114646613598,
0.03562643751502037,
0.0344296358525753,
-0.02594797872006893,
0.004661443177610636,
-0.005957975052297115,
-0.008360244333744049,
0.01680721342563629,
-0.004065212327986956,
0.01304336916655302,
-0.03899134695529938,
-0.06480056792497635,
-0.04082990810275078,
0.00212041474878788,
0.07562378793954849,
0.029781203716993332,
0.01814277097582817,
-0.023086069151759148,
0.004195298999547958
]
|
40,884 | pyglove.core.symbolic.base | Inferential | Interface for values that could be dynamically inferred upon read.
Inferential values are objects whose values are not determined directly but
are instead derived from other sources, such as references (:class:`pg.Ref`)
to other objects or computed based on their context
(:class:`pg.symbolic.ValueFromParentChain`) such as the symbolic tree they
reside in.
When inferential values are utilized as symbolic attributes, we can obtain
their original definition by invoking :meth:`pg.Symbolic.sym_getattr`, and
their inferred values can be retrieved by calling
:meth:`pg.Symbolic.sym_inferred`. The values retrieved from :class:`pg.Dict`,
:class:`pg.List` and :class:`pg.Object` through `__getitem__` or
`__getattribute__` are all inferred values.
| class Inferential(TopologyAware, pg_typing.CustomTyping):
"""Interface for values that could be dynamically inferred upon read.
Inferential values are objects whose values are not determined directly but
are instead derived from other sources, such as references (:class:`pg.Ref`)
to other objects or computed based on their context
(:class:`pg.symbolic.ValueFromParentChain`) such as the symbolic tree they
reside in.
When inferential values are utilized as symbolic attributes, we can obtain
their original definition by invoking :meth:`pg.Symbolic.sym_getattr`, and
their inferred values can be retrieved by calling
:meth:`pg.Symbolic.sym_inferred`. The values retrieved from :class:`pg.Dict`,
:class:`pg.List` and :class:`pg.Object` through `__getitem__` or
`__getattribute__` are all inferred values.
"""
@abc.abstractmethod
def infer(self, **kwargs) -> Any:
"""Returns the inferred value.
Args:
**kwargs: Optional keyword arguments for inference, which are usually
inferential subclass specific.
Returns:
Inferred value.
Raises:
AttributeError: If the value cannot be inferred.
"""
| () | [
0.07866198569536209,
-0.08171200007200241,
0.009203239344060421,
0.024612901732325554,
0.03495103120803833,
0.026652155444025993,
0.00530649209395051,
-0.07153346389532089,
-0.020800385624170303,
-0.0442606657743454,
0.00013147089339327067,
0.03631644323468208,
-0.0462467223405838,
0.03454317897558212,
-0.04504090175032616,
0.017989762127399445,
-0.05419094115495682,
0.0712852030992508,
0.018007494509220123,
0.020516661927103996,
-0.009495828300714493,
-0.03777052089571953,
-0.026528026908636093,
0.018211418762803078,
0.004916374105960131,
-0.04794905334711075,
0.008059483952820301,
-0.04727521538734436,
-0.032610323280096054,
-0.004326763562858105,
-0.0256945937871933,
-0.05365896224975586,
-0.00594486715272069,
-0.015932776033878326,
0.011668075807392597,
-0.07334218919277191,
-0.014088581316173077,
0.09263530373573303,
-0.0531269833445549,
0.00562124652788043,
-0.03255712240934372,
-0.017262723296880722,
-0.007084188982844353,
-0.017954295501112938,
-0.024683833122253418,
0.017244990915060043,
0.0020525529980659485,
-0.06128399819135666,
0.014248174615204334,
-0.02847861684858799,
0.03509289026260376,
-0.0595107339322567,
0.001252367626875639,
0.04007576406002045,
-0.0035930757876485586,
0.038728080689907074,
-0.03039374202489853,
0.011277957819402218,
-0.0009027021005749702,
0.0060113645158708096,
-0.015471726655960083,
0.006614273879677057,
0.03175915405154228,
-0.048090916126966476,
0.014398902654647827,
0.012022729031741619,
0.00010951289732474834,
-0.013423607684671879,
-0.04713335260748863,
-0.026332968845963478,
-0.04858743026852608,
-0.06259621679782867,
0.015551524236798286,
0.006751702167093754,
0.057382818311452866,
-0.02314109355211258,
-0.020693989470601082,
-0.002868254203349352,
0.046991489827632904,
-0.033621083945035934,
-0.024506505578756332,
-0.042912986129522324,
-0.052559539675712585,
-0.033479221165180206,
-0.027875708416104317,
0.001454076380468905,
0.012324183247983456,
-0.02746785618364811,
0.021917540580034256,
0.0037593194283545017,
-0.006383749656379223,
0.00486760912463069,
-0.015480592846870422,
0.07958408445119858,
0.021296897903084755,
-0.017377985641360283,
0.01984282210469246,
-0.06692297756671906,
-0.0023939062375575304,
-0.009815014898777008,
0.00883085373789072,
0.022538183256983757,
-0.036174580454826355,
-0.0027928906492888927,
-0.0046326518058776855,
-0.014097447507083416,
0.007975254207849503,
-0.015232336707413197,
0.03200741112232208,
-0.036139115691185,
-0.07852011919021606,
0.030305078253149986,
-0.05564501881599426,
0.015312133356928825,
-0.014647159725427628,
0.011224759742617607,
-0.004012009594589472,
0.0016879255417734385,
0.0010356969432905316,
0.026279769837856293,
-0.012173456139862537,
0.025996048003435135,
0.0048232777044177055,
0.04128158092498779,
0.0021301330998539925,
0.016562284901738167,
0.04004029557108879,
-0.034312654286623,
-0.013485671021044254,
-0.027503322809934616,
0.033355094492435455,
0.0016679762629792094,
-0.022431787103414536,
0.08057710528373718,
-0.016118967905640602,
0.08291781693696976,
0.012164589948952198,
0.009628823027014732,
0.00871115829795599,
0.014381169341504574,
0.01194293238222599,
-0.009744084440171719,
0.025605930015444756,
-0.04794905334711075,
-0.04642404615879059,
0.03390480577945709,
-0.0007320254808291793,
0.009061378426849842,
-0.03979204222559929,
-0.014053115621209145,
-0.03179461881518364,
-0.009628823027014732,
0.0011282390914857388,
0.0008483959245495498,
-0.013804858550429344,
0.024311447516083717,
-0.018885260447859764,
-0.0059936316683888435,
-0.028407687321305275,
-0.04589206725358963,
-0.0727747455239296,
-0.010338128544390202,
-0.014576228335499763,
-0.005847337655723095,
-0.03269898518919945,
0.03468504175543785,
0.010852375067770481,
-0.1008632481098175,
-0.008932816796004772,
0.026332968845963478,
-0.031705956906080246,
-0.049757782369852066,
-0.02682948112487793,
0.01895618997514248,
0.043515894562006,
0.07951314747333527,
0.025517266243696213,
0.04333856701850891,
0.04727521538734436,
0.05067988112568855,
0.03346148878335953,
-0.05330431088805199,
-0.11235399544239044,
-0.023194290697574615,
0.0350574254989624,
0.05844677612185478,
-0.008298874832689762,
-0.025889651849865913,
0.08809574693441391,
0.030340544879436493,
0.023602141067385674,
0.0001773263793438673,
0.04865835979580879,
0.03268125280737877,
0.021261433139443398,
-0.04128158092498779,
-0.002160056959837675,
0.04560834541916847,
-0.0910039022564888,
0.08845040202140808,
-0.010329261422157288,
-0.05468745529651642,
0.028443152084946632,
0.04511183127760887,
-0.05330431088805199,
0.02133236452937126,
0.006711803842335939,
-0.05564501881599426,
-0.004395477939397097,
-0.030464673414826393,
-0.034631840884685516,
-0.036919351667165756,
0.031581830233335495,
0.03229113295674324,
0.02429371513426304,
-0.029418446123600006,
-0.007895457558333874,
-0.0005461098626255989,
0.018122756853699684,
0.02252045087516308,
0.08972714841365814,
0.007367911282926798,
-0.011082898825407028,
-0.005900535266846418,
0.06596541404724121,
-0.06908635795116425,
-0.02095997892320156,
-0.025712326169013977,
-0.025747790932655334,
-0.038834478706121445,
0.04184902831912041,
-0.039969366043806076,
0.0030500139109790325,
-0.03915366530418396,
0.06238342076539993,
0.0607520192861557,
-0.010027807205915451,
-0.0015571473632007837,
0.004561721347272396,
0.04571474343538284,
-0.035802196711301804,
0.043409500271081924,
-0.057382818311452866,
-0.043515894562006,
-0.04908394441008568,
-0.026740819215774536,
0.04043041542172432,
0.03610365092754364,
-0.021137304604053497,
-0.025588197633624077,
0.04418973624706268,
-0.07908757030963898,
-0.0036994717083871365,
0.01817595399916172,
0.023105626925826073,
-0.00883971992880106,
-0.06603634357452393,
-0.023353883996605873,
0.03448998183012009,
-0.015028410591185093,
-0.0043976944871246815,
0.010692780837416649,
-0.01883206143975258,
0.11157376319169998,
-0.005576914642006159,
-0.02058759331703186,
-0.05748921260237694,
-0.02771611325442791,
-0.02757425233721733,
-0.023105626925826073,
-0.029542574658989906,
0.022662311792373657,
-0.00563011271879077,
0.008795388974249363,
-0.027751579880714417,
-0.014407768845558167,
-0.01842421106994152,
0.060964811593294144,
-0.008795388974249363,
-0.044792644679546356,
-0.04858743026852608,
-0.028815537691116333,
0.0013931203866377473,
-0.0350574254989624,
-0.04067867249250412,
0.0012534759007394314,
-0.04943859577178955,
-0.04433159530162811,
0.017510980367660522,
-0.03420625999569893,
0.07717244327068329,
-0.01074597891420126,
0.036280978471040726,
0.0021988472435623407,
0.07362591475248337,
0.04777172952890396,
-0.062347956001758575,
0.003426832379773259,
-0.0032118242233991623,
-0.033248696476221085,
0.09596903622150421,
-0.02415185421705246,
-0.00820577796548605,
0.04702695831656456,
0.003322653006762266,
-0.010905572213232517,
0.013184216804802418,
0.009992341510951519,
-0.02440011128783226,
-0.005146898329257965,
-0.012049327604472637,
0.004681416321545839,
-0.07894570380449295,
0.04564381018280983,
-0.027255065739154816,
-0.052559539675712585,
-0.054226409643888474,
-0.02963123843073845,
0.025730058550834656,
0.039472851902246475,
-0.03051787056028843,
0.05018336698412895,
-0.014168377965688705,
0.006459113676100969,
-0.05007696896791458,
0.020410267636179924,
0.02060532569885254,
0.016101235523819923,
-0.0005885019199922681,
0.002932535018771887,
-0.0031253774650394917,
0.005341957323253155,
0.03358561545610428,
0.048268239945173264,
-0.03798331320285797,
0.0015216820174828172,
0.04915487393736839,
0.02124370075762272,
0.024382377043366432,
-0.014718090184032917,
0.0356426015496254,
0.017590777948498726,
0.030198683962225914,
0.007128520403057337,
0.019381774589419365,
-0.001888526021502912,
-0.0227509755641222,
-0.028283558785915375,
0.09327367693185806,
0.037947844713926315,
-0.04433159530162811,
0.012873895466327667,
-0.043019380420446396,
0.003619674826040864,
0.010515454225242138,
-0.02998589165508747,
-0.016101235523819923,
0.011747872456908226,
-0.03516382351517677,
-0.02909925952553749,
0.011535081081092358,
-0.02897513099014759,
-0.007039857562631369,
0.007758029270917177,
0.008555998094379902,
-0.018007494509220123,
-0.025747790932655334,
0.044792644679546356,
0.013113286346197128,
0.016482487320899963,
-0.028141697868704796,
-0.07362591475248337,
-0.026847215369343758,
-0.015285533852875233,
-0.008161447010934353,
-0.0025202513206750154,
-0.020623058080673218,
0.017608510330319405,
-0.008755490183830261,
0.054864782840013504,
0.044296130537986755,
0.015533790923655033,
0.0012423929292708635,
0.024134119972586632,
-0.002897069789469242,
-0.014523031190037727,
-0.0021168338134884834,
0.009123442694544792,
0.022555915638804436,
0.011579412966966629,
-0.016677547246217728,
-0.006015797611325979,
-0.02110183984041214,
-0.01066618226468563,
0.015985973179340363,
-0.03816063702106476,
0.0039521618746221066,
-0.0020558778196573257,
-0.017200659960508347,
0.014682624489068985,
0.0045883203856647015,
-0.033762942999601364,
0.02236085757613182,
0.021385561674833298,
-0.014780154451727867,
-0.033514685928821564,
0.07468987256288528,
0.010276064276695251,
-0.0022487202659249306,
0.00594486715272069,
0.050147902220487595,
0.018778864294290543,
-0.025730058550834656,
0.012510376051068306,
-0.0003560381301213056,
-0.0007176176877692342,
0.03532341495156288,
-0.03112078085541725,
0.004031958524137735,
0.04145890846848488,
0.05106999725103378,
0.03950831666588783,
-0.00435779569670558,
0.05465199053287506,
0.00846290122717619,
0.015001812018454075,
-0.013813725672662258,
0.02631523460149765,
0.0007203884306363761,
0.05532583221793175,
0.013414740562438965,
-0.02273324318230152,
-0.011614877730607986,
-0.03943738713860512,
0.0028527381364256144,
-0.014132913202047348,
0.013751661404967308,
-0.02773384563624859,
-0.005718776024878025,
0.004876475781202316,
0.00400092639029026,
0.05025429651141167,
0.03099665232002735,
-0.001851952401921153,
0.00019492048886604607,
-0.0457502081990242,
-0.020800385624170303,
0.03372747823596001,
-0.03420625999569893,
-0.019630029797554016,
0.04528915882110596,
-0.07632127404212952,
0.05894329026341438,
0.04206181690096855,
-0.04894208163022995,
-0.0027640750631690025,
0.049367666244506836,
0.0003743249108083546,
-0.026244305074214935,
0.05631886050105095,
-0.022307658568024635,
-0.005714342929422855,
-0.003983194008469582,
-0.09667834639549255,
0.013033488765358925,
-0.016730744391679764,
-0.014904282987117767,
0.00023412624432239681,
-0.08433642983436584,
-0.02745012380182743,
0.05429733917117119,
0.02771611325442791,
-0.00208358489908278,
-0.023194290697574615,
0.013255147263407707,
0.02998589165508747,
-0.04046588018536568,
-0.024258248507976532,
-0.027272798120975494,
-0.05862410366535187,
0.026155641302466393,
-0.027645183727145195,
0.0020525529980659485,
-0.0006904646288603544,
0.05862410366535187,
0.022148065268993378,
0.031067581847310066,
0.01054205372929573,
-0.017138594761490822,
-0.0169080700725317,
-0.034241724759340286,
0.1003667339682579,
0.055857811123132706,
0.013051222078502178,
0.008795388974249363,
0.024683833122253418,
0.014691490679979324,
0.020658522844314575,
0.08788295835256577,
0.0031608426943421364,
0.00895941536873579,
-0.026794016361236572,
-0.011676941998302937,
0.028655944392085075,
0.021687015891075134,
-0.0094692287966609,
0.024506505578756332,
0.020658522844314575,
-0.0009996774606406689,
0.054864782840013504,
0.023868130519986153,
-0.0095933573320508,
0.07188811898231506,
0.007421109359711409,
0.020126543939113617,
-0.007988553494215012,
0.06089387834072113,
-0.018761131912469864,
-0.048516497015953064,
-0.05376536026597023,
-0.011455284431576729,
-0.045076366513967514,
-0.028797805309295654,
0.016571151092648506,
0.019293110817670822,
-0.0000028832853331550723,
-0.018902992829680443,
-0.018388746306300163,
0.04294845089316368,
-0.0037748354952782393,
0.06706483662128448,
-0.01214685756713152,
0.008165880106389523,
0.030677463859319687,
0.008024019189178944,
0.0054261875338852406,
0.03801877796649933,
-0.007802360691130161,
-0.023814933374524117,
-0.01743118278682232,
0.008821987546980381,
0.03631644323468208,
-0.013095553033053875,
0.0811445564031601,
0.06202876940369606,
-0.05504211038351059,
-0.030677463859319687,
-0.010772577486932278,
0.016704145818948746,
0.016331760212779045,
-0.05965259671211243,
-0.038976337760686874,
0.0225027184933424,
0.026332968845963478,
-0.042877521365880966,
-0.027130937203764915,
0.02810623124241829,
0.014230442233383656,
-0.020623058080673218,
0.028407687321305275,
0.023424815386533737,
-0.009877079166471958,
0.09703299403190613,
0.012998024001717567,
0.04933220148086548,
0.03062426671385765,
0.01188973430544138,
0.052311282604932785,
-0.006410348694771528,
-0.04489903897047043,
0.046849630773067474,
-0.006086728069931269,
0.0368838869035244,
-0.0044242930598556995,
-0.009309635497629642,
0.018778864294290543,
-0.03968564420938492,
0.03808970749378204,
0.0030411474872380495,
-0.0742642879486084,
-0.028797805309295654,
0.008915083482861519,
-0.007625034544616938,
-0.003717204323038459,
0.016118967905640602,
0.01689920388162136,
-0.022041669115424156,
0.09866440296173096,
-0.028762338683009148,
-0.017200659960508347,
-0.026758551597595215,
-0.060432832688093185,
-0.008618062362074852,
0.026279769837856293,
0.00030699631315656006,
-0.015134806744754314,
-0.04209728166460991,
-0.007979687303304672,
0.03635190799832344,
-0.1101551502943039,
-0.08681900054216385,
0.027113204821944237,
-0.00852496549487114,
-0.05493571236729622,
-0.014877683483064175,
-0.028443152084946632,
0.005107000004500151,
0.004501873627305031,
0.018229153007268906,
-0.040253087878227234,
0.030606534332036972,
0.005674444139003754,
-0.020498929545283318,
-0.014789020642638206,
-0.011676941998302937,
0.021172769367694855,
-0.04628218710422516,
0.05021883174777031,
-0.028265826404094696,
-0.025623662397265434,
-0.015294400975108147,
-0.0017887798603624105,
-0.008032885380089283,
0.004597186576575041,
0.013281745836138725,
0.07355498522520065,
0.03190101683139801,
-0.03823156654834747,
0.0005023324047215283,
-0.02975536696612835,
0.033124569803476334,
0.005603513680398464,
0.005723209120333195,
0.020782651379704475,
0.015374197624623775,
-0.08242130279541016,
-0.0008301091147586703,
-0.004182686097919941,
-0.01689033769071102,
0.0391182005405426,
-0.07064682990312576,
0.010462257079780102,
-0.026102444157004356,
0.0169080700725317,
0.02721959911286831,
-0.05341070517897606,
-0.03078386001288891,
-0.035802196711301804,
0.040749602019786835,
0.0683770552277565,
0.014327972196042538,
0.046565908938646317,
0.0190625861287117,
-0.005138032138347626,
0.01259017363190651,
0.05475838854908943,
-0.009247571229934692,
-0.015578122809529305,
0.01652681827545166,
0.0526304692029953,
-0.04394147917628288,
0.01867246814072132,
-0.049899645149707794,
0.022786440327763557,
0.08050617575645447,
0.04241647198796272,
-0.059936318546533585,
-0.02198847196996212,
0.06809332966804504,
0.021687015891075134,
-0.007434408646076918,
0.025198079645633698,
0.05582234635949135,
-0.03993390128016472,
-0.0189384575933218,
-0.0452536940574646,
0.040501344949007034,
-0.006707370281219482,
-0.001011314569041133,
-0.025446336716413498,
0.021704750135540962,
-0.01201386284083128,
0.03741586580872536,
-0.007004392333328724,
-0.052559539675712585,
-0.07837826013565063,
0.0116237448528409,
0.023921329528093338,
0.016358358785510063,
-0.07121427357196808,
-0.03472050651907921,
0.0044287266209721565,
0.04028855264186859,
0.014301372691988945,
-0.0020237374119460583,
-0.09213878959417343,
-0.027148669585585594,
-0.007775762118399143,
0.034649576991796494,
-0.02019747532904148,
0.0445089228451252,
0.016837140545248985,
-0.005257727112621069,
-0.01994921825826168,
0.061603184789419174,
0.07617941498756409,
0.0027352594770491123,
-0.013813725672662258,
0.004164953250437975,
-0.023070162162184715,
-0.01061298418790102,
0.04731068015098572,
-0.010914439335465431,
-0.03291177749633789,
0.062347956001758575,
0.023087894544005394,
-0.003894530702382326,
0.07965501397848129,
-0.05195663124322891,
0.023424815386533737,
0.00271752686239779,
-0.03026961348950863,
0.0607520192861557,
0.0393664576113224,
-0.03417079523205757,
0.07901663333177567,
0.022538183256983757,
-0.024985287338495255,
0.017989762127399445,
0.04982871562242508,
0.0629863291978836,
0.06741949170827866,
-0.018849793821573257,
0.0174045842140913,
-0.01227098610252142,
0.004433159716427326,
-0.01692580245435238,
-0.03674202784895897,
-0.023673072457313538,
0.028407687321305275,
-0.03291177749633789,
0.0027529920917004347,
-0.051566511392593384,
0.012022729031741619,
0.017138594761490822,
-0.01817595399916172,
0.021509690210223198,
0.023194290697574615,
0.014531897380948067,
0.04131704568862915,
0.010018941015005112,
0.06990206241607666,
0.008821987546980381,
-0.011029700748622417,
0.04865835979580879,
0.019381774589419365,
0.04986418038606644,
-0.0658944845199585,
-0.04007576406002045,
-0.07004392147064209,
-0.09398297965526581,
-0.030039088800549507,
-0.01730705425143242,
-0.010914439335465431,
-0.03346148878335953,
-0.011597145348787308,
-0.024595169350504875,
0.04855196550488472
]
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.